2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.6.2.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.6.2'
274 PACKAGE_STRING
='wxWidgets 2.6.2'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.6.2 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.6.2:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-std_string use standard C
++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf
()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support
in wxProtocol
945 --enable-protocol-ftp FTP support
in wxProtocol
946 --enable-protocol-file FILE support
in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use
help subsystem
950 --enable-mshtmlhelp use MS HTML Help
(win32
)
951 --enable-html use wxHTML sub
-library
952 --enable-htmlhelp use wxHTML
-based help
953 --enable-xrc use XRC resources sub
-library
954 --enable-constraints use layout
-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl
(Mac
)
962 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
963 --enable-prologio not available
; see contrib
964 --enable-resources not available
; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag
'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile
(Windows only
)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-palette use wxPalette class
1036 --enable-image use wxImage class
1037 --enable-gif use gif images
(GIF
file format
)
1038 --enable-pcx use pcx images
(PCX
file format
)
1039 --enable-iff use iff images
(IFF
file format
)
1040 --enable-pnm use pnm images
(PNM
file format
)
1041 --enable-xpm use xpm images
(XPM
file format
)
1042 --enable-icocur use Windows ICO and CUR formats
1043 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1044 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1045 --disable-largefile omit support
for large files
1046 --disable-gtktest do not try to compile and run a
test GTK
+ program
1047 --disable-gtktest Do not try to compile and run a
test GTK program
1048 --disable-sdltest Do not try to compile and run a
test SDL program
1049 --enable-omf use OMF object format
(OS
/2)
1050 --disable-precomp-headers
1051 don
't use precompiled headers even if compiler can
1054 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1055 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1056 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1057 --with-motif use Motif/Lesstif
1058 --with-mac use Mac OS X
1059 --with-cocoa use Cocoa
1060 --with-wine use Wine
1061 --with-msw use MS-Windows
1062 --with-pm use OS/2 Presentation Manager
1063 --with-mgl use SciTech MGL
1064 --with-microwin use MicroWindows
1066 --with-libpng use libpng (PNG image format)
1067 --with-libjpeg use libjpeg (JPEG file format)
1068 --with-libtiff use libtiff (TIFF file format)
1069 --with-libxpm use libxpm (XPM file format)
1070 --with-libmspack use libmspack (CHM help files loading)
1071 --with-sdl use SDL for audio on Unix
1072 --with-gnomeprint use GNOME print for printing under Unix
1073 --with-opengl use OpenGL (or Mesa)
1074 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1075 --with-regex enable support for wxRegEx class
1076 --with-zlib use zlib for LZW compression
1077 --with-odbc use the IODBC and wxODBC classes
1078 --with-expat enable XML support using expat parser
1079 --with-flavour=NAME specify a name to identify this build
1080 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1081 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1082 --with-x use the X Window System
1083 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1084 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1085 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1086 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1087 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1089 Some influential environment variables:
1090 CC C compiler command
1091 CFLAGS C compiler flags
1092 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1093 nonstandard directory <lib dir>
1094 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1095 headers in a nonstandard directory <include dir>
1097 CXX C++ compiler command
1098 CXXFLAGS C++ compiler flags
1099 CXXCPP C++ preprocessor
1101 Use these variables to override the choices made by `configure' or to
help
1102 it to
find libraries and programs with nonstandard names
/locations.
1104 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1108 if test "$ac_init_help" = "recursive"; then
1109 # If there are subdirs, report their specific --help.
1111 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1112 test -d $ac_dir || continue
1115 if test "$ac_dir" != .
; then
1116 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1117 # A "../" for each directory in $ac_dir_suffix.
1118 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1120 ac_dir_suffix
= ac_top_builddir
=
1124 .
) # No --srcdir option. We are building in place.
1126 if test -z "$ac_top_builddir"; then
1129 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1131 [\\/]* | ?
:[\\/]* ) # Absolute path.
1132 ac_srcdir
=$srcdir$ac_dir_suffix;
1133 ac_top_srcdir
=$srcdir ;;
1135 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1136 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1139 # Do not use `cd foo && pwd` to compute absolute paths, because
1140 # the directories may not exist.
1142 .
) ac_abs_builddir
="$ac_dir";;
1145 .
) ac_abs_builddir
=`pwd`;;
1146 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1147 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1150 case $ac_abs_builddir in
1151 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1153 case ${ac_top_builddir}.
in
1154 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1155 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1156 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1159 case $ac_abs_builddir in
1160 .
) ac_abs_srcdir
=$ac_srcdir;;
1163 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1164 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1165 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1168 case $ac_abs_builddir in
1169 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1171 case $ac_top_srcdir in
1172 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1173 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1174 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1179 # Check for guested configure; otherwise get Cygnus style configure.
1180 if test -f $ac_srcdir/configure.gnu
; then
1182 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1183 elif test -f $ac_srcdir/configure
; then
1185 $SHELL $ac_srcdir/configure
--help=recursive
1186 elif test -f $ac_srcdir/configure.ac
||
1187 test -f $ac_srcdir/configure.
in; then
1189 $ac_configure --help
1191 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1197 test -n "$ac_init_help" && exit 0
1198 if $ac_init_version; then
1200 wxWidgets configure
2.6.2
1201 generated by GNU Autoconf
2.59
1203 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1204 This configure
script is free software
; the Free Software Foundation
1205 gives unlimited permission to copy
, distribute and modify it.
1211 This file contains any messages produced by compilers while
1212 running configure, to aid debugging if configure makes a mistake.
1214 It was created by wxWidgets $as_me 2.6.2, which was
1215 generated by GNU Autoconf 2.59. Invocation command line was
1226 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1227 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1228 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1229 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1230 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1232 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1233 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1235 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1236 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1237 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1238 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1239 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1240 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1241 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1249 test -z "$as_dir" && as_dir
=.
1250 echo "PATH: $as_dir"
1265 # Keep a trace of the command line.
1266 # Strip out --no-create and --no-recursion so they do not pile up.
1267 # Strip out --silent because we don't want to record it for future runs.
1268 # Also quote any args containing shell meta-characters.
1269 # Make two passes to allow for proper duplicate-argument suppression.
1274 ac_must_keep_next
=false
1280 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1282 | -silent | --silent | --silen | --sile | --sil)
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1288 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1290 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1291 if test $ac_must_keep_next = true
; then
1292 ac_must_keep_next
=false
# Got value, back to normal.
1295 *=* | --config-cache | -C | -disable-* | --disable-* \
1296 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1297 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1298 | -with-* | --with-* | -without-* | --without-* | --x)
1299 case "$ac_configure_args0 " in
1300 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1303 -* ) ac_must_keep_next
=true
;;
1306 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1307 # Get rid of the leading space.
1313 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1314 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1316 # When interrupted or exit'd, cleanup temporary files, and complete
1317 # config.log. We remove comments because anyway the quotes in there
1318 # would cause problems or look ugly.
1319 # WARNING: Be sure not to use single quotes in there, as some shells,
1320 # such as our DU 5.0 friend, will then `close' the trap.
1321 trap 'exit_status=$?
1322 # Save into config.log some information that might help in debugging.
1327 ## ---------------- ##
1328 ## Cache variables. ##
1329 ## ---------------- ##
1332 # The following way of writing the cache mishandles newlines in values,
1335 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1338 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1350 ## ----------------- ##
1351 ## Output variables. ##
1352 ## ----------------- ##
1355 for ac_var in $ac_subst_vars
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1362 if test -n "$ac_subst_files"; then
1369 for ac_var in $ac_subst_files
1371 eval ac_val=$`echo $ac_var`
1372 echo "$ac_var='"'"'$ac_val'"'"'"
1377 if test -s confdefs.h; then
1384 sed "/^$/d" confdefs.h | sort
1387 test "$ac_signal" != 0 &&
1388 echo "$as_me: caught signal $ac_signal"
1389 echo "$as_me: exit $exit_status"
1391 rm -f core *.core &&
1392 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1395 for ac_signal
in 1 2 13 15; do
1396 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1400 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1401 rm -rf conftest
* confdefs.h
1402 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1405 # Predefined preprocessor variables.
1407 cat >>confdefs.h
<<_ACEOF
1408 #define PACKAGE_NAME "$PACKAGE_NAME"
1412 cat >>confdefs.h
<<_ACEOF
1413 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1417 cat >>confdefs.h
<<_ACEOF
1418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1422 cat >>confdefs.h
<<_ACEOF
1423 #define PACKAGE_STRING "$PACKAGE_STRING"
1427 cat >>confdefs.h
<<_ACEOF
1428 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1432 # Let the site file select an alternate cache file if it wants to.
1433 # Prefer explicitly selected file to automatically selected ones.
1434 if test -z "$CONFIG_SITE"; then
1435 if test "x$prefix" != xNONE
; then
1436 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1438 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1441 for ac_site_file
in $CONFIG_SITE; do
1442 if test -r "$ac_site_file"; then
1443 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1444 echo "$as_me: loading site script $ac_site_file" >&6;}
1445 sed 's/^/| /' "$ac_site_file" >&5
1450 if test -r "$cache_file"; then
1451 # Some versions of bash will fail to source /dev/null (special
1452 # files actually), so we avoid doing that.
1453 if test -f "$cache_file"; then
1454 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1455 echo "$as_me: loading cache $cache_file" >&6;}
1457 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1458 *) . .
/$cache_file;;
1462 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1463 echo "$as_me: creating cache $cache_file" >&6;}
1467 # Check that the precious variables saved in the cache have kept the same
1469 ac_cache_corrupted
=false
1470 for ac_var
in `(set) 2>&1 |
1471 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1472 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1473 eval ac_new_set
=\
$ac_env_${ac_var}_set
1474 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1475 eval ac_new_val
="\$ac_env_${ac_var}_value"
1476 case $ac_old_set,$ac_new_set in
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1480 ac_cache_corrupted
=: ;;
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1484 ac_cache_corrupted
=: ;;
1487 if test "x$ac_old_val" != "x$ac_new_val"; then
1488 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1489 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1490 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1491 echo "$as_me: former value: $ac_old_val" >&2;}
1492 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1493 echo "$as_me: current value: $ac_new_val" >&2;}
1494 ac_cache_corrupted
=:
1497 # Pass precious variables to config.status.
1498 if test "$ac_new_set" = set; then
1500 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 *) ac_arg
=$ac_var=$ac_new_val ;;
1504 case " $ac_configure_args " in
1505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1506 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1510 if $ac_cache_corrupted; then
1511 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515 { (exit 1); exit 1; }; }
1519 ac_cpp
='$CPP $CPPFLAGS'
1520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1554 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1555 if test -f $ac_dir/install-sh; then
1557 ac_install_sh
="$ac_aux_dir/install-sh -c"
1559 elif test -f $ac_dir/install.sh
; then
1561 ac_install_sh
="$ac_aux_dir/install.sh -c"
1563 elif test -f $ac_dir/shtool
; then
1565 ac_install_sh
="$ac_aux_dir/shtool install -c"
1569 if test -z "$ac_aux_dir"; then
1570 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1571 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1572 { (exit 1); exit 1; }; }
1574 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1575 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1576 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1578 # Make sure we can run config.sub.
1579 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1580 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1581 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1582 { (exit 1); exit 1; }; }
1584 echo "$as_me:$LINENO: checking build system type" >&5
1585 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1586 if test "${ac_cv_build+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 ac_cv_build_alias
=$build_alias
1590 test -z "$ac_cv_build_alias" &&
1591 ac_cv_build_alias
=`$ac_config_guess`
1592 test -z "$ac_cv_build_alias" &&
1593 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1594 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1595 { (exit 1); exit 1; }; }
1596 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1597 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1598 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1599 { (exit 1); exit 1; }; }
1602 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1603 echo "${ECHO_T}$ac_cv_build" >&6
1605 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1610 echo "$as_me:$LINENO: checking host system type" >&5
1611 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1612 if test "${ac_cv_host+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 ac_cv_host_alias
=$host_alias
1616 test -z "$ac_cv_host_alias" &&
1617 ac_cv_host_alias
=$ac_cv_build_alias
1618 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1624 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1625 echo "${ECHO_T}$ac_cv_host" >&6
1627 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1632 echo "$as_me:$LINENO: checking target system type" >&5
1633 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1634 if test "${ac_cv_target+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 ac_cv_target_alias
=$target_alias
1638 test "x$ac_cv_target_alias" = "x" &&
1639 ac_cv_target_alias
=$ac_cv_host_alias
1640 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1641 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1642 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1643 { (exit 1); exit 1; }; }
1646 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1647 echo "${ECHO_T}$ac_cv_target" >&6
1648 target
=$ac_cv_target
1649 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1650 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1651 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1654 # The aliases save the names the user supplied, while $host etc.
1655 # will get canonicalized.
1656 test -n "$target_alias" &&
1657 test "$program_prefix$program_suffix$program_transform_name" = \
1659 program_prefix
=${target_alias}-
1663 wx_major_version_number
=2
1664 wx_minor_version_number
=6
1666 wx_subrelease_number
=1
1668 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1669 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1670 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1672 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1685 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1691 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1697 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1699 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1701 DEFAULT_wxUSE_COCOA
=0
1705 DEFAULT_wxUSE_MICROWIN
=0
1706 DEFAULT_wxUSE_MOTIF
=0
1711 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1712 DEFAULT_DEFAULT_wxUSE_GTK
=0
1713 DEFAULT_DEFAULT_wxUSE_MAC
=0
1714 DEFAULT_DEFAULT_wxUSE_MGL
=0
1715 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1716 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1717 DEFAULT_DEFAULT_wxUSE_MSW
=0
1718 DEFAULT_DEFAULT_wxUSE_PM
=0
1719 DEFAULT_DEFAULT_wxUSE_X11
=0
1724 SAMPLES_RPATH_POSTLINK
=
1726 DEFAULT_STD_FLAG
=yes
1731 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1732 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1734 cat >>confdefs.h
<<\_ACEOF
1741 cat >>confdefs.h
<<\_ACEOF
1746 if test "x$TMP" = "xalpha"; then
1748 cat >>confdefs.h
<<\_ACEOF
1753 DEFAULT_DEFAULT_wxUSE_GTK
=1
1755 *-*-gnu* | *-*-k*bsd
*-gnu )
1758 if test "x$TMP" = "xalpha"; then
1760 cat >>confdefs.h
<<\_ACEOF
1765 DEFAULT_DEFAULT_wxUSE_GTK
=1
1767 *-*-irix5* | *-*-irix6* )
1770 cat >>confdefs.h
<<\_ACEOF
1774 cat >>confdefs.h
<<\_ACEOF
1778 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1784 cat >>confdefs.h
<<\_ACEOF
1788 cat >>confdefs.h
<<\_ACEOF
1789 #define __SOLARIS__ 1
1792 cat >>confdefs.h
<<\_ACEOF
1796 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1797 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1803 cat >>confdefs.h
<<\_ACEOF
1807 cat >>confdefs.h
<<\_ACEOF
1811 cat >>confdefs.h
<<\_ACEOF
1815 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1820 cat >>confdefs.h
<<\_ACEOF
1821 #define __FREEBSD__ 1
1824 cat >>confdefs.h
<<\_ACEOF
1828 DEFAULT_DEFAULT_wxUSE_GTK
=1
1833 cat >>confdefs.h
<<\_ACEOF
1834 #define __OPENBSD__ 1
1837 cat >>confdefs.h
<<\_ACEOF
1841 DEFAULT_DEFAULT_wxUSE_GTK
=1
1846 cat >>confdefs.h
<<\_ACEOF
1847 #define __NETBSD__ 1
1850 cat >>confdefs.h
<<\_ACEOF
1854 DEFAULT_DEFAULT_wxUSE_GTK
=1
1859 cat >>confdefs.h
<<\_ACEOF
1863 cat >>confdefs.h
<<\_ACEOF
1867 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1868 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1873 cat >>confdefs.h
<<\_ACEOF
1877 cat >>confdefs.h
<<\_ACEOF
1881 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1886 cat >>confdefs.h
<<\_ACEOF
1890 cat >>confdefs.h
<<\_ACEOF
1894 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1901 cat >>confdefs.h
<<\_ACEOF
1905 cat >>confdefs.h
<<\_ACEOF
1909 cat >>confdefs.h
<<\_ACEOF
1913 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1920 cat >>confdefs.h
<<\_ACEOF
1921 #define __UNIXWARE__ 1
1926 *-*-cygwin* | *-*-mingw32* )
1930 DEFAULT_DEFAULT_wxUSE_MSW
=1
1937 cat >>confdefs.h
<<\_ACEOF
1942 DEFAULT_DEFAULT_wxUSE_MGL
=1
1945 *-pc-os2_emx | *-pc-os2-emx )
1946 cat >>confdefs.h
<<\_ACEOF
1951 cat >>confdefs.h
<<\_ACEOF
1956 DEFAULT_DEFAULT_wxUSE_PM
=1
1958 LDFLAGS
="$LDFLAGS -Zcrtdll"
1959 ac_executable_extensions
=".exe"
1960 export ac_executable_extensions
1964 for ac_dir
in $PATH; do
1966 if test -z "$ac_TEMP_PATH"; then
1967 ac_TEMP_PATH
="$ac_dir"
1969 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1972 export PATH
="$ac_TEMP_PATH"
1981 cat >>confdefs.h
<<\_ACEOF
1985 cat >>confdefs.h
<<\_ACEOF
1986 #define __DARWIN__ 1
1989 cat >>confdefs.h
<<\_ACEOF
1990 #define TARGET_CARBON 1
1993 DEFAULT_DEFAULT_wxUSE_MAC
=1
1996 powerpc
-apple-macos* )
1998 ac_cv_c_bigendian
=yes
2000 DEFAULT_DEFAULT_wxUSE_MAC
=1
2006 cat >>confdefs.h
<<\_ACEOF
2013 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2014 echo "$as_me: error: unknown system type ${host}." >&2;}
2015 { (exit 1); exit 1; }; }
2021 wx_arg_cache_file
="configarg.cache"
2022 echo "loading argument cache $wx_arg_cache_file"
2023 rm -f ${wx_arg_cache_file}.tmp
2024 touch ${wx_arg_cache_file}.tmp
2025 touch ${wx_arg_cache_file}
2029 if test $DEBUG_CONFIGURE = 1; then
2030 DEFAULT_wxUSE_UNIVERSAL
=no
2031 DEFAULT_wxUSE_STL
=no
2033 DEFAULT_wxUSE_NANOX
=no
2035 DEFAULT_wxUSE_THREADS
=yes
2037 DEFAULT_wxUSE_SHARED
=yes
2038 DEFAULT_wxUSE_OPTIMISE
=no
2039 DEFAULT_wxUSE_PROFILE
=no
2040 DEFAULT_wxUSE_NO_DEPS
=no
2041 DEFAULT_wxUSE_NO_RTTI
=no
2042 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2043 DEFAULT_wxUSE_RPATH
=yes
2044 DEFAULT_wxUSE_PERMISSIVE
=no
2045 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2046 DEFAULT_wxUSE_DEBUG_INFO
=yes
2047 DEFAULT_wxUSE_DEBUG_GDB
=yes
2048 DEFAULT_wxUSE_MEM_TRACING
=no
2049 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2050 DEFAULT_wxUSE_DMALLOC
=no
2051 DEFAULT_wxUSE_APPLE_IEEE
=no
2053 DEFAULT_wxUSE_EXCEPTIONS
=no
2054 DEFAULT_wxUSE_LOG
=yes
2055 DEFAULT_wxUSE_LOGWINDOW
=no
2056 DEFAULT_wxUSE_LOGGUI
=no
2057 DEFAULT_wxUSE_LOGDIALOG
=no
2059 DEFAULT_wxUSE_GUI
=yes
2060 DEFAULT_wxUSE_CONTROLS
=no
2062 DEFAULT_wxUSE_REGEX
=no
2063 DEFAULT_wxUSE_XML
=no
2064 DEFAULT_wxUSE_EXPAT
=no
2065 DEFAULT_wxUSE_ZLIB
=no
2066 DEFAULT_wxUSE_LIBPNG
=no
2067 DEFAULT_wxUSE_LIBJPEG
=no
2068 DEFAULT_wxUSE_LIBTIFF
=no
2069 DEFAULT_wxUSE_LIBXPM
=no
2070 DEFAULT_wxUSE_LIBMSPACK
=no
2071 DEFAULT_wxUSE_LIBSDL
=no
2072 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2073 DEFAULT_wxUSE_ODBC
=no
2074 DEFAULT_wxUSE_OPENGL
=no
2076 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2077 DEFAULT_wxUSE_STACKWALKER
=no
2078 DEFAULT_wxUSE_DEBUGREPORT
=no
2079 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2080 DEFAULT_wxUSE_STD_IOSTREAM
=no
2081 DEFAULT_wxUSE_STD_STRING
=no
2082 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2083 DEFAULT_wxUSE_DATETIME
=no
2084 DEFAULT_wxUSE_TIMER
=no
2085 DEFAULT_wxUSE_STOPWATCH
=no
2086 DEFAULT_wxUSE_FILE
=no
2087 DEFAULT_wxUSE_FFILE
=no
2088 DEFAULT_wxUSE_STDPATHS
=no
2089 DEFAULT_wxUSE_TEXTBUFFER
=no
2090 DEFAULT_wxUSE_TEXTFILE
=no
2091 DEFAULT_wxUSE_SOUND
=no
2092 DEFAULT_wxUSE_MEDIACTRL
=no
2093 DEFAULT_wxUSE_INTL
=no
2094 DEFAULT_wxUSE_CONFIG
=no
2095 DEFAULT_wxUSE_FONTMAP
=no
2096 DEFAULT_wxUSE_STREAMS
=no
2097 DEFAULT_wxUSE_SOCKETS
=no
2098 DEFAULT_wxUSE_OLE
=no
2099 DEFAULT_wxUSE_DATAOBJ
=no
2100 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2101 DEFAULT_wxUSE_JOYSTICK
=no
2102 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2103 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2104 DEFAULT_wxUSE_LONGLONG
=no
2105 DEFAULT_wxUSE_GEOMETRY
=no
2107 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2108 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2109 DEFAULT_wxUSE_POSTSCRIPT
=no
2111 DEFAULT_wxUSE_CLIPBOARD
=no
2112 DEFAULT_wxUSE_TOOLTIPS
=no
2113 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2114 DEFAULT_wxUSE_DRAGIMAGE
=no
2115 DEFAULT_wxUSE_SPLINES
=no
2116 DEFAULT_wxUSE_MOUSEWHEEL
=no
2118 DEFAULT_wxUSE_MDI
=no
2119 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2120 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2121 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2123 DEFAULT_wxUSE_RESOURCES
=no
2124 DEFAULT_wxUSE_CONSTRAINTS
=no
2125 DEFAULT_wxUSE_IPC
=no
2126 DEFAULT_wxUSE_HELP
=no
2127 DEFAULT_wxUSE_MS_HTML_HELP
=no
2128 DEFAULT_wxUSE_WXHTML_HELP
=no
2129 DEFAULT_wxUSE_TREELAYOUT
=no
2130 DEFAULT_wxUSE_METAFILE
=no
2131 DEFAULT_wxUSE_MIMETYPE
=no
2132 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2133 DEFAULT_wxUSE_PROTOCOL
=no
2134 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2135 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2136 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2137 DEFAULT_wxUSE_URL
=no
2139 DEFAULT_wxUSE_COMMONDLGS
=no
2140 DEFAULT_wxUSE_CHOICEDLG
=no
2141 DEFAULT_wxUSE_COLOURDLG
=no
2142 DEFAULT_wxUSE_DIRDLG
=no
2143 DEFAULT_wxUSE_FILEDLG
=no
2144 DEFAULT_wxUSE_FINDREPLDLG
=no
2145 DEFAULT_wxUSE_FONTDLG
=no
2146 DEFAULT_wxUSE_MSGDLG
=no
2147 DEFAULT_wxUSE_NUMBERDLG
=no
2148 DEFAULT_wxUSE_TEXTDLG
=no
2149 DEFAULT_wxUSE_SPLASH
=no
2150 DEFAULT_wxUSE_STARTUP_TIPS
=no
2151 DEFAULT_wxUSE_PROGRESSDLG
=no
2152 DEFAULT_wxUSE_WIZARDDLG
=no
2154 DEFAULT_wxUSE_MENUS
=no
2155 DEFAULT_wxUSE_MINIFRAME
=no
2156 DEFAULT_wxUSE_HTML
=no
2157 DEFAULT_wxUSE_XRC
=no
2158 DEFAULT_wxUSE_WEBKIT
=no
2159 DEFAULT_wxUSE_FILESYSTEM
=no
2160 DEFAULT_wxUSE_FS_INET
=no
2161 DEFAULT_wxUSE_FS_ZIP
=no
2162 DEFAULT_wxUSE_BUSYINFO
=no
2163 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2164 DEFAULT_wxUSE_ZIPSTREAM
=no
2165 DEFAULT_wxUSE_VALIDATORS
=no
2167 DEFAULT_wxUSE_ACCEL
=no
2168 DEFAULT_wxUSE_BUTTON
=no
2169 DEFAULT_wxUSE_BMPBUTTON
=no
2170 DEFAULT_wxUSE_CALCTRL
=no
2171 DEFAULT_wxUSE_CARET
=no
2172 DEFAULT_wxUSE_CHECKBOX
=no
2173 DEFAULT_wxUSE_CHECKLST
=no
2174 DEFAULT_wxUSE_CHOICE
=no
2175 DEFAULT_wxUSE_CHOICEBOOK
=no
2176 DEFAULT_wxUSE_COMBOBOX
=no
2177 DEFAULT_wxUSE_DATEPICKCTRL
=no
2178 DEFAULT_wxUSE_DISPLAY
=no
2179 DEFAULT_wxUSE_GAUGE
=no
2180 DEFAULT_wxUSE_GRID
=no
2181 DEFAULT_wxUSE_IMAGLIST
=no
2182 DEFAULT_wxUSE_LISTBOOK
=no
2183 DEFAULT_wxUSE_LISTBOX
=no
2184 DEFAULT_wxUSE_LISTCTRL
=no
2185 DEFAULT_wxUSE_NOTEBOOK
=no
2186 DEFAULT_wxUSE_RADIOBOX
=no
2187 DEFAULT_wxUSE_RADIOBTN
=no
2188 DEFAULT_wxUSE_SASH
=no
2189 DEFAULT_wxUSE_SCROLLBAR
=no
2190 DEFAULT_wxUSE_SLIDER
=no
2191 DEFAULT_wxUSE_SPINBTN
=no
2192 DEFAULT_wxUSE_SPINCTRL
=no
2193 DEFAULT_wxUSE_SPLITTER
=no
2194 DEFAULT_wxUSE_STATBMP
=no
2195 DEFAULT_wxUSE_STATBOX
=no
2196 DEFAULT_wxUSE_STATLINE
=no
2197 DEFAULT_wxUSE_STATTEXT
=no
2198 DEFAULT_wxUSE_STATUSBAR
=yes
2199 DEFAULT_wxUSE_TABDIALOG
=no
2200 DEFAULT_wxUSE_TEXTCTRL
=no
2201 DEFAULT_wxUSE_TOGGLEBTN
=no
2202 DEFAULT_wxUSE_TOOLBAR
=no
2203 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2204 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2205 DEFAULT_wxUSE_TREECTRL
=no
2206 DEFAULT_wxUSE_POPUPWIN
=no
2207 DEFAULT_wxUSE_TIPWINDOW
=no
2209 DEFAULT_wxUSE_UNICODE
=no
2210 DEFAULT_wxUSE_UNICODE_MSLU
=no
2211 DEFAULT_wxUSE_WCSRTOMBS
=no
2213 DEFAULT_wxUSE_PALETTE
=no
2214 DEFAULT_wxUSE_IMAGE
=no
2215 DEFAULT_wxUSE_GIF
=no
2216 DEFAULT_wxUSE_PCX
=no
2217 DEFAULT_wxUSE_PNM
=no
2218 DEFAULT_wxUSE_IFF
=no
2219 DEFAULT_wxUSE_XPM
=no
2220 DEFAULT_wxUSE_ICO_CUR
=no
2221 DEFAULT_wxUSE_ACCESSIBILITY
=no
2223 DEFAULT_wxUSE_MONOLITHIC
=no
2224 DEFAULT_wxUSE_PLUGINS
=no
2225 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2227 DEFAULT_wxUSE_UNIVERSAL
=no
2228 DEFAULT_wxUSE_STL
=no
2230 DEFAULT_wxUSE_NANOX
=no
2232 DEFAULT_wxUSE_THREADS
=yes
2234 DEFAULT_wxUSE_SHARED
=yes
2235 DEFAULT_wxUSE_OPTIMISE
=yes
2236 DEFAULT_wxUSE_PROFILE
=no
2237 DEFAULT_wxUSE_NO_DEPS
=no
2238 DEFAULT_wxUSE_NO_RTTI
=no
2239 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2240 DEFAULT_wxUSE_RPATH
=yes
2241 DEFAULT_wxUSE_PERMISSIVE
=no
2242 DEFAULT_wxUSE_DEBUG_FLAG
=no
2243 DEFAULT_wxUSE_DEBUG_INFO
=no
2244 DEFAULT_wxUSE_DEBUG_GDB
=no
2245 DEFAULT_wxUSE_MEM_TRACING
=no
2246 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2247 DEFAULT_wxUSE_DMALLOC
=no
2248 DEFAULT_wxUSE_APPLE_IEEE
=yes
2250 DEFAULT_wxUSE_EXCEPTIONS
=yes
2251 DEFAULT_wxUSE_LOG
=yes
2252 DEFAULT_wxUSE_LOGWINDOW
=yes
2253 DEFAULT_wxUSE_LOGGUI
=yes
2254 DEFAULT_wxUSE_LOGDIALOG
=yes
2256 DEFAULT_wxUSE_GUI
=yes
2258 DEFAULT_wxUSE_REGEX
=yes
2259 DEFAULT_wxUSE_XML
=yes
2260 DEFAULT_wxUSE_EXPAT
=yes
2261 DEFAULT_wxUSE_ZLIB
=yes
2262 DEFAULT_wxUSE_LIBPNG
=yes
2263 DEFAULT_wxUSE_LIBJPEG
=yes
2264 DEFAULT_wxUSE_LIBTIFF
=yes
2265 DEFAULT_wxUSE_LIBXPM
=yes
2266 DEFAULT_wxUSE_LIBMSPACK
=yes
2267 DEFAULT_wxUSE_LIBSDL
=no
2268 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2269 DEFAULT_wxUSE_ODBC
=no
2270 DEFAULT_wxUSE_OPENGL
=no
2272 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2273 DEFAULT_wxUSE_STACKWALKER
=yes
2274 DEFAULT_wxUSE_DEBUGREPORT
=yes
2275 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2276 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2277 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2278 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2279 DEFAULT_wxUSE_DATETIME
=yes
2280 DEFAULT_wxUSE_TIMER
=yes
2281 DEFAULT_wxUSE_STOPWATCH
=yes
2282 DEFAULT_wxUSE_FILE
=yes
2283 DEFAULT_wxUSE_FFILE
=yes
2284 DEFAULT_wxUSE_STDPATHS
=yes
2285 DEFAULT_wxUSE_TEXTBUFFER
=yes
2286 DEFAULT_wxUSE_TEXTFILE
=yes
2287 DEFAULT_wxUSE_SOUND
=yes
2288 DEFAULT_wxUSE_MEDIACTRL
=no
2289 DEFAULT_wxUSE_INTL
=yes
2290 DEFAULT_wxUSE_CONFIG
=yes
2291 DEFAULT_wxUSE_FONTMAP
=yes
2292 DEFAULT_wxUSE_STREAMS
=yes
2293 DEFAULT_wxUSE_SOCKETS
=yes
2294 DEFAULT_wxUSE_OLE
=yes
2295 DEFAULT_wxUSE_DATAOBJ
=yes
2296 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2297 DEFAULT_wxUSE_JOYSTICK
=yes
2298 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2299 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2300 DEFAULT_wxUSE_LONGLONG
=yes
2301 DEFAULT_wxUSE_GEOMETRY
=yes
2303 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2304 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2305 DEFAULT_wxUSE_POSTSCRIPT
=yes
2307 DEFAULT_wxUSE_CLIPBOARD
=yes
2308 DEFAULT_wxUSE_TOOLTIPS
=yes
2309 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2310 DEFAULT_wxUSE_DRAGIMAGE
=yes
2311 DEFAULT_wxUSE_SPLINES
=yes
2312 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2314 DEFAULT_wxUSE_MDI
=yes
2315 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2316 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2317 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2319 DEFAULT_wxUSE_RESOURCES
=no
2320 DEFAULT_wxUSE_CONSTRAINTS
=yes
2321 DEFAULT_wxUSE_IPC
=yes
2322 DEFAULT_wxUSE_HELP
=yes
2323 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2324 DEFAULT_wxUSE_WXHTML_HELP
=yes
2325 DEFAULT_wxUSE_TREELAYOUT
=yes
2326 DEFAULT_wxUSE_METAFILE
=yes
2327 DEFAULT_wxUSE_MIMETYPE
=yes
2328 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2329 DEFAULT_wxUSE_PROTOCOL
=yes
2330 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2331 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2332 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2333 DEFAULT_wxUSE_URL
=yes
2335 DEFAULT_wxUSE_COMMONDLGS
=yes
2336 DEFAULT_wxUSE_CHOICEDLG
=yes
2337 DEFAULT_wxUSE_COLOURDLG
=yes
2338 DEFAULT_wxUSE_DIRDLG
=yes
2339 DEFAULT_wxUSE_FILEDLG
=yes
2340 DEFAULT_wxUSE_FINDREPLDLG
=yes
2341 DEFAULT_wxUSE_FONTDLG
=yes
2342 DEFAULT_wxUSE_MSGDLG
=yes
2343 DEFAULT_wxUSE_NUMBERDLG
=yes
2344 DEFAULT_wxUSE_TEXTDLG
=yes
2345 DEFAULT_wxUSE_SPLASH
=yes
2346 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2347 DEFAULT_wxUSE_PROGRESSDLG
=yes
2348 DEFAULT_wxUSE_WIZARDDLG
=yes
2350 DEFAULT_wxUSE_MENUS
=yes
2351 DEFAULT_wxUSE_MINIFRAME
=yes
2352 DEFAULT_wxUSE_HTML
=yes
2353 DEFAULT_wxUSE_XRC
=yes
2354 DEFAULT_wxUSE_WEBKIT
=yes
2355 DEFAULT_wxUSE_FILESYSTEM
=yes
2356 DEFAULT_wxUSE_FS_INET
=yes
2357 DEFAULT_wxUSE_FS_ZIP
=yes
2358 DEFAULT_wxUSE_BUSYINFO
=yes
2359 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2360 DEFAULT_wxUSE_ZIPSTREAM
=yes
2361 DEFAULT_wxUSE_VALIDATORS
=yes
2363 DEFAULT_wxUSE_ACCEL
=yes
2364 DEFAULT_wxUSE_BUTTON
=yes
2365 DEFAULT_wxUSE_BMPBUTTON
=yes
2366 DEFAULT_wxUSE_CALCTRL
=yes
2367 DEFAULT_wxUSE_CARET
=yes
2368 DEFAULT_wxUSE_CHECKBOX
=yes
2369 DEFAULT_wxUSE_CHECKLST
=yes
2370 DEFAULT_wxUSE_CHOICE
=yes
2371 DEFAULT_wxUSE_CHOICEBOOK
=yes
2372 DEFAULT_wxUSE_COMBOBOX
=yes
2373 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2374 DEFAULT_wxUSE_DISPLAY
=yes
2375 DEFAULT_wxUSE_GAUGE
=yes
2376 DEFAULT_wxUSE_GRID
=yes
2377 DEFAULT_wxUSE_IMAGLIST
=yes
2378 DEFAULT_wxUSE_LISTBOOK
=yes
2379 DEFAULT_wxUSE_LISTBOX
=yes
2380 DEFAULT_wxUSE_LISTCTRL
=yes
2381 DEFAULT_wxUSE_NOTEBOOK
=yes
2382 DEFAULT_wxUSE_RADIOBOX
=yes
2383 DEFAULT_wxUSE_RADIOBTN
=yes
2384 DEFAULT_wxUSE_SASH
=yes
2385 DEFAULT_wxUSE_SCROLLBAR
=yes
2386 DEFAULT_wxUSE_SLIDER
=yes
2387 DEFAULT_wxUSE_SPINBTN
=yes
2388 DEFAULT_wxUSE_SPINCTRL
=yes
2389 DEFAULT_wxUSE_SPLITTER
=yes
2390 DEFAULT_wxUSE_STATBMP
=yes
2391 DEFAULT_wxUSE_STATBOX
=yes
2392 DEFAULT_wxUSE_STATLINE
=yes
2393 DEFAULT_wxUSE_STATTEXT
=yes
2394 DEFAULT_wxUSE_STATUSBAR
=yes
2395 DEFAULT_wxUSE_TABDIALOG
=no
2396 DEFAULT_wxUSE_TEXTCTRL
=yes
2397 DEFAULT_wxUSE_TOGGLEBTN
=yes
2398 DEFAULT_wxUSE_TOOLBAR
=yes
2399 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2400 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2401 DEFAULT_wxUSE_TREECTRL
=yes
2402 DEFAULT_wxUSE_POPUPWIN
=yes
2403 DEFAULT_wxUSE_TIPWINDOW
=yes
2405 DEFAULT_wxUSE_UNICODE
=no
2406 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2407 DEFAULT_wxUSE_WCSRTOMBS
=no
2409 DEFAULT_wxUSE_PALETTE
=yes
2410 DEFAULT_wxUSE_IMAGE
=yes
2411 DEFAULT_wxUSE_GIF
=yes
2412 DEFAULT_wxUSE_PCX
=yes
2413 DEFAULT_wxUSE_IFF
=no
2414 DEFAULT_wxUSE_PNM
=yes
2415 DEFAULT_wxUSE_XPM
=yes
2416 DEFAULT_wxUSE_ICO_CUR
=yes
2417 DEFAULT_wxUSE_ACCESSIBILITY
=no
2419 DEFAULT_wxUSE_MONOLITHIC
=no
2420 DEFAULT_wxUSE_PLUGINS
=no
2421 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2423 DEFAULT_wxUSE_GTK2
=yes
2429 for toolkit
in `echo $ALL_TOOLKITS`; do
2430 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2431 if test "x$LINE" != "x" ; then
2432 has_toolkit_in_cache
=1
2433 eval "DEFAULT_$LINE"
2434 eval "CACHE_$toolkit=1"
2436 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2437 if test "x$LINE" != "x" ; then
2438 eval "DEFAULT_$LINE"
2446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2447 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2449 # Check whether --enable-gui or --disable-gui was given.
2450 if test "${enable_gui+set}" = set; then
2451 enableval
="$enable_gui"
2453 if test "$enableval" = yes; then
2454 ac_cv_use_gui
='wxUSE_GUI=yes'
2456 ac_cv_use_gui
='wxUSE_GUI=no'
2461 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2462 if test "x$LINE" != x
; then
2463 eval "DEFAULT_$LINE"
2468 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2472 eval "$ac_cv_use_gui"
2473 if test "$no_cache" != 1; then
2474 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2477 if test "$wxUSE_GUI" = yes; then
2478 echo "$as_me:$LINENO: result: yes" >&5
2479 echo "${ECHO_T}yes" >&6
2481 echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6
2487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2488 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2490 # Check whether --enable-monolithic or --disable-monolithic was given.
2491 if test "${enable_monolithic+set}" = set; then
2492 enableval
="$enable_monolithic"
2494 if test "$enableval" = yes; then
2495 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2497 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2502 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x
; then
2504 eval "DEFAULT_$LINE"
2509 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2513 eval "$ac_cv_use_monolithic"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2518 if test "$wxUSE_MONOLITHIC" = yes; then
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2522 echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6
2528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2529 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2531 # Check whether --enable-plugins or --disable-plugins was given.
2532 if test "${enable_plugins+set}" = set; then
2533 enableval
="$enable_plugins"
2535 if test "$enableval" = yes; then
2536 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2538 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2543 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x
; then
2545 eval "DEFAULT_$LINE"
2550 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2554 eval "$ac_cv_use_plugins"
2555 if test "$no_cache" != 1; then
2556 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2559 if test "$wxUSE_PLUGINS" = yes; then
2560 echo "$as_me:$LINENO: result: yes" >&5
2561 echo "${ECHO_T}yes" >&6
2563 echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6
2568 if test "$wxUSE_GUI" = "yes"; then
2572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2573 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2575 # Check whether --enable-universal or --disable-universal was given.
2576 if test "${enable_universal+set}" = set; then
2577 enableval
="$enable_universal"
2579 if test "$enableval" = yes; then
2580 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2582 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2587 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2588 if test "x$LINE" != x
; then
2589 eval "DEFAULT_$LINE"
2594 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2598 eval "$ac_cv_use_universal"
2599 if test "$no_cache" != 1; then
2600 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2603 if test "$wxUSE_UNIVERSAL" = yes; then
2604 echo "$as_me:$LINENO: result: yes" >&5
2605 echo "${ECHO_T}yes" >&6
2607 echo "$as_me:$LINENO: result: no" >&5
2608 echo "${ECHO_T}no" >&6
2612 # Check whether --with-gtk or --without-gtk was given.
2613 if test "${with_gtk+set}" = set; then
2615 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2618 # Check whether --with-motif or --without-motif was given.
2619 if test "${with_motif+set}" = set; then
2620 withval
="$with_motif"
2621 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2624 # Check whether --with-mac or --without-mac was given.
2625 if test "${with_mac+set}" = set; then
2627 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2630 # Check whether --with-cocoa or --without-cocoa was given.
2631 if test "${with_cocoa+set}" = set; then
2632 withval
="$with_cocoa"
2633 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2636 # Check whether --with-wine or --without-wine was given.
2637 if test "${with_wine+set}" = set; then
2638 withval
="$with_wine"
2639 wxUSE_WINE
="$withval" CACHE_WINE
=1
2642 # Check whether --with-msw or --without-msw was given.
2643 if test "${with_msw+set}" = set; then
2645 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2648 # Check whether --with-pm or --without-pm was given.
2649 if test "${with_pm+set}" = set; then
2651 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2654 # Check whether --with-mgl or --without-mgl was given.
2655 if test "${with_mgl+set}" = set; then
2657 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2660 # Check whether --with-microwin or --without-microwin was given.
2661 if test "${with_microwin+set}" = set; then
2662 withval
="$with_microwin"
2663 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2666 # Check whether --with-x11 or --without-x11 was given.
2667 if test "${with_x11+set}" = set; then
2669 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2674 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2676 # Check whether --enable-nanox or --disable-nanox was given.
2677 if test "${enable_nanox+set}" = set; then
2678 enableval
="$enable_nanox"
2680 if test "$enableval" = yes; then
2681 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2683 ac_cv_use_nanox
='wxUSE_NANOX=no'
2688 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2689 if test "x$LINE" != x
; then
2690 eval "DEFAULT_$LINE"
2695 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2699 eval "$ac_cv_use_nanox"
2700 if test "$no_cache" != 1; then
2701 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2704 if test "$wxUSE_NANOX" = yes; then
2705 echo "$as_me:$LINENO: result: yes" >&5
2706 echo "${ECHO_T}yes" >&6
2708 echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6
2713 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2714 if test "${enable_gtk2+set}" = set; then
2715 enableval
="$enable_gtk2"
2716 wxUSE_GTK2
="$enableval"
2720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2721 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2723 # Check whether --enable-gpe or --disable-gpe was given.
2724 if test "${enable_gpe+set}" = set; then
2725 enableval
="$enable_gpe"
2727 if test "$enableval" = yes; then
2728 ac_cv_use_gpe
='wxUSE_GPE=yes'
2730 ac_cv_use_gpe
='wxUSE_GPE=no'
2735 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2736 if test "x$LINE" != x
; then
2737 eval "DEFAULT_$LINE"
2742 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2746 eval "$ac_cv_use_gpe"
2747 if test "$no_cache" != 1; then
2748 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2751 if test "$wxUSE_GPE" = yes; then
2752 echo "$as_me:$LINENO: result: yes" >&5
2753 echo "${ECHO_T}yes" >&6
2755 echo "$as_me:$LINENO: result: no" >&5
2756 echo "${ECHO_T}no" >&6
2761 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2762 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2765 # Check whether --with-libpng or --without-libpng was given.
2766 if test "${with_libpng+set}" = set; then
2767 withval
="$with_libpng"
2769 if test "$withval" = yes; then
2770 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2771 elif test "$withval" = no
; then
2772 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2773 elif test "$withval" = sys
; then
2774 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2775 elif test "$withval" = builtin; then
2776 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2779 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2780 { (exit 1); exit 1; }; }
2785 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2796 eval "$ac_cv_use_libpng"
2797 if test "$no_cache" != 1; then
2798 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2801 if test "$wxUSE_LIBPNG" = yes; then
2802 echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6
2804 elif test "$wxUSE_LIBPNG" = no
; then
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2807 elif test "$wxUSE_LIBPNG" = sys
; then
2808 echo "$as_me:$LINENO: result: system version" >&5
2809 echo "${ECHO_T}system version" >&6
2810 elif test "$wxUSE_LIBPNG" = builtin; then
2811 echo "$as_me:$LINENO: result: builtin version" >&5
2812 echo "${ECHO_T}builtin version" >&6
2814 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2815 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2816 { (exit 1); exit 1; }; }
2820 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2821 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2824 # Check whether --with-libjpeg or --without-libjpeg was given.
2825 if test "${with_libjpeg+set}" = set; then
2826 withval
="$with_libjpeg"
2828 if test "$withval" = yes; then
2829 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2830 elif test "$withval" = no
; then
2831 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2832 elif test "$withval" = sys
; then
2833 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2834 elif test "$withval" = builtin; then
2835 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2837 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2838 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2839 { (exit 1); exit 1; }; }
2844 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2845 if test "x$LINE" != x
; then
2846 eval "DEFAULT_$LINE"
2851 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2855 eval "$ac_cv_use_libjpeg"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2860 if test "$wxUSE_LIBJPEG" = yes; then
2861 echo "$as_me:$LINENO: result: yes" >&5
2862 echo "${ECHO_T}yes" >&6
2863 elif test "$wxUSE_LIBJPEG" = no
; then
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2866 elif test "$wxUSE_LIBJPEG" = sys
; then
2867 echo "$as_me:$LINENO: result: system version" >&5
2868 echo "${ECHO_T}system version" >&6
2869 elif test "$wxUSE_LIBJPEG" = builtin; then
2870 echo "$as_me:$LINENO: result: builtin version" >&5
2871 echo "${ECHO_T}builtin version" >&6
2873 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2874 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2875 { (exit 1); exit 1; }; }
2879 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2880 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2883 # Check whether --with-libtiff or --without-libtiff was given.
2884 if test "${with_libtiff+set}" = set; then
2885 withval
="$with_libtiff"
2887 if test "$withval" = yes; then
2888 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2889 elif test "$withval" = no
; then
2890 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2891 elif test "$withval" = sys
; then
2892 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2893 elif test "$withval" = builtin; then
2894 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2896 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2897 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2898 { (exit 1); exit 1; }; }
2903 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2904 if test "x$LINE" != x
; then
2905 eval "DEFAULT_$LINE"
2910 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2914 eval "$ac_cv_use_libtiff"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2919 if test "$wxUSE_LIBTIFF" = yes; then
2920 echo "$as_me:$LINENO: result: yes" >&5
2921 echo "${ECHO_T}yes" >&6
2922 elif test "$wxUSE_LIBTIFF" = no
; then
2923 echo "$as_me:$LINENO: result: no" >&5
2924 echo "${ECHO_T}no" >&6
2925 elif test "$wxUSE_LIBTIFF" = sys
; then
2926 echo "$as_me:$LINENO: result: system version" >&5
2927 echo "${ECHO_T}system version" >&6
2928 elif test "$wxUSE_LIBTIFF" = builtin; then
2929 echo "$as_me:$LINENO: result: builtin version" >&5
2930 echo "${ECHO_T}builtin version" >&6
2932 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2933 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2934 { (exit 1); exit 1; }; }
2938 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2939 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2942 # Check whether --with-libxpm or --without-libxpm was given.
2943 if test "${with_libxpm+set}" = set; then
2944 withval
="$with_libxpm"
2946 if test "$withval" = yes; then
2947 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2948 elif test "$withval" = no
; then
2949 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2950 elif test "$withval" = sys
; then
2951 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2952 elif test "$withval" = builtin; then
2953 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2955 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2956 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2957 { (exit 1); exit 1; }; }
2962 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2963 if test "x$LINE" != x
; then
2964 eval "DEFAULT_$LINE"
2969 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2973 eval "$ac_cv_use_libxpm"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2978 if test "$wxUSE_LIBXPM" = yes; then
2979 echo "$as_me:$LINENO: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6
2981 elif test "$wxUSE_LIBXPM" = no
; then
2982 echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2984 elif test "$wxUSE_LIBXPM" = sys
; then
2985 echo "$as_me:$LINENO: result: system version" >&5
2986 echo "${ECHO_T}system version" >&6
2987 elif test "$wxUSE_LIBXPM" = builtin; then
2988 echo "$as_me:$LINENO: result: builtin version" >&5
2989 echo "${ECHO_T}builtin version" >&6
2991 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2992 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2993 { (exit 1); exit 1; }; }
2997 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2998 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3001 # Check whether --with-libmspack or --without-libmspack was given.
3002 if test "${with_libmspack+set}" = set; then
3003 withval
="$with_libmspack"
3005 if test "$withval" = yes; then
3006 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3008 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3013 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3014 if test "x$LINE" != x
; then
3015 eval "DEFAULT_$LINE"
3020 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3024 eval "$ac_cv_use_libmspack"
3025 if test "$no_cache" != 1; then
3026 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3029 if test "$wxUSE_LIBMSPACK" = yes; then
3030 echo "$as_me:$LINENO: result: yes" >&5
3031 echo "${ECHO_T}yes" >&6
3033 echo "$as_me:$LINENO: result: no" >&5
3034 echo "${ECHO_T}no" >&6
3038 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3039 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3042 # Check whether --with-sdl or --without-sdl was given.
3043 if test "${with_sdl+set}" = set; then
3046 if test "$withval" = yes; then
3047 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3049 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3054 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3055 if test "x$LINE" != x
; then
3056 eval "DEFAULT_$LINE"
3061 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3065 eval "$ac_cv_use_sdl"
3066 if test "$no_cache" != 1; then
3067 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3070 if test "$wxUSE_LIBSDL" = yes; then
3071 echo "$as_me:$LINENO: result: yes" >&5
3072 echo "${ECHO_T}yes" >&6
3074 echo "$as_me:$LINENO: result: no" >&5
3075 echo "${ECHO_T}no" >&6
3079 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3080 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3083 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3084 if test "${with_gnomeprint+set}" = set; then
3085 withval
="$with_gnomeprint"
3087 if test "$withval" = yes; then
3088 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3090 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3095 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3106 eval "$ac_cv_use_gnomeprint"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3111 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3120 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3121 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3124 # Check whether --with-opengl or --without-opengl was given.
3125 if test "${with_opengl+set}" = set; then
3126 withval
="$with_opengl"
3128 if test "$withval" = yes; then
3129 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3131 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3136 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3137 if test "x$LINE" != x
; then
3138 eval "DEFAULT_$LINE"
3143 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3147 eval "$ac_cv_use_opengl"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3152 if test "$wxUSE_OPENGL" = yes; then
3153 echo "$as_me:$LINENO: result: yes" >&5
3154 echo "${ECHO_T}yes" >&6
3156 echo "$as_me:$LINENO: result: no" >&5
3157 echo "${ECHO_T}no" >&6
3164 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3165 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3168 # Check whether --with-dmalloc or --without-dmalloc was given.
3169 if test "${with_dmalloc+set}" = set; then
3170 withval
="$with_dmalloc"
3172 if test "$withval" = yes; then
3173 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3175 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3180 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x
; then
3182 eval "DEFAULT_$LINE"
3187 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3191 eval "$ac_cv_use_dmalloc"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_DMALLOC" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3205 echo "$as_me:$LINENO: checking for --with-regex" >&5
3206 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3209 # Check whether --with-regex or --without-regex was given.
3210 if test "${with_regex+set}" = set; then
3211 withval
="$with_regex"
3213 if test "$withval" = yes; then
3214 ac_cv_use_regex
='wxUSE_REGEX=yes'
3215 elif test "$withval" = no
; then
3216 ac_cv_use_regex
='wxUSE_REGEX=no'
3217 elif test "$withval" = sys
; then
3218 ac_cv_use_regex
='wxUSE_REGEX=sys'
3219 elif test "$withval" = builtin; then
3220 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3222 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3223 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3224 { (exit 1); exit 1; }; }
3229 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x
; then
3231 eval "DEFAULT_$LINE"
3236 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3240 eval "$ac_cv_use_regex"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3245 if test "$wxUSE_REGEX" = yes; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247 echo "${ECHO_T}yes" >&6
3248 elif test "$wxUSE_REGEX" = no
; then
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3251 elif test "$wxUSE_REGEX" = sys
; then
3252 echo "$as_me:$LINENO: result: system version" >&5
3253 echo "${ECHO_T}system version" >&6
3254 elif test "$wxUSE_REGEX" = builtin; then
3255 echo "$as_me:$LINENO: result: builtin version" >&5
3256 echo "${ECHO_T}builtin version" >&6
3258 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3259 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3260 { (exit 1); exit 1; }; }
3264 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3265 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3268 # Check whether --with-zlib or --without-zlib was given.
3269 if test "${with_zlib+set}" = set; then
3270 withval
="$with_zlib"
3272 if test "$withval" = yes; then
3273 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3274 elif test "$withval" = no
; then
3275 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3276 elif test "$withval" = sys
; then
3277 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3278 elif test "$withval" = builtin; then
3279 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3281 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3282 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3283 { (exit 1); exit 1; }; }
3288 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x
; then
3290 eval "DEFAULT_$LINE"
3295 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3299 eval "$ac_cv_use_zlib"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3304 if test "$wxUSE_ZLIB" = yes; then
3305 echo "$as_me:$LINENO: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3307 elif test "$wxUSE_ZLIB" = no
; then
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3310 elif test "$wxUSE_ZLIB" = sys
; then
3311 echo "$as_me:$LINENO: result: system version" >&5
3312 echo "${ECHO_T}system version" >&6
3313 elif test "$wxUSE_ZLIB" = builtin; then
3314 echo "$as_me:$LINENO: result: builtin version" >&5
3315 echo "${ECHO_T}builtin version" >&6
3317 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3318 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3319 { (exit 1); exit 1; }; }
3323 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3324 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3327 # Check whether --with-odbc or --without-odbc was given.
3328 if test "${with_odbc+set}" = set; then
3329 withval
="$with_odbc"
3331 if test "$withval" = yes; then
3332 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3333 elif test "$withval" = no
; then
3334 ac_cv_use_odbc
='wxUSE_ODBC=no'
3335 elif test "$withval" = sys
; then
3336 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3337 elif test "$withval" = builtin; then
3338 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3340 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3341 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3342 { (exit 1); exit 1; }; }
3347 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x
; then
3349 eval "DEFAULT_$LINE"
3354 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3358 eval "$ac_cv_use_odbc"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3363 if test "$wxUSE_ODBC" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365 echo "${ECHO_T}yes" >&6
3366 elif test "$wxUSE_ODBC" = no
; then
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3369 elif test "$wxUSE_ODBC" = sys
; then
3370 echo "$as_me:$LINENO: result: system version" >&5
3371 echo "${ECHO_T}system version" >&6
3372 elif test "$wxUSE_ODBC" = builtin; then
3373 echo "$as_me:$LINENO: result: builtin version" >&5
3374 echo "${ECHO_T}builtin version" >&6
3376 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3377 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3378 { (exit 1); exit 1; }; }
3382 echo "$as_me:$LINENO: checking for --with-expat" >&5
3383 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3386 # Check whether --with-expat or --without-expat was given.
3387 if test "${with_expat+set}" = set; then
3388 withval
="$with_expat"
3390 if test "$withval" = yes; then
3391 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3392 elif test "$withval" = no
; then
3393 ac_cv_use_expat
='wxUSE_EXPAT=no'
3394 elif test "$withval" = sys
; then
3395 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3396 elif test "$withval" = builtin; then
3397 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3399 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3400 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3401 { (exit 1); exit 1; }; }
3406 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x
; then
3408 eval "DEFAULT_$LINE"
3413 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3417 eval "$ac_cv_use_expat"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_EXPAT" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3425 elif test "$wxUSE_EXPAT" = no
; then
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 elif test "$wxUSE_EXPAT" = sys
; then
3429 echo "$as_me:$LINENO: result: system version" >&5
3430 echo "${ECHO_T}system version" >&6
3431 elif test "$wxUSE_EXPAT" = builtin; then
3432 echo "$as_me:$LINENO: result: builtin version" >&5
3433 echo "${ECHO_T}builtin version" >&6
3435 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3436 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3437 { (exit 1); exit 1; }; }
3444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3445 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3447 # Check whether --enable-shared or --disable-shared was given.
3448 if test "${enable_shared+set}" = set; then
3449 enableval
="$enable_shared"
3451 if test "$enableval" = yes; then
3452 ac_cv_use_shared
='wxUSE_SHARED=yes'
3454 ac_cv_use_shared
='wxUSE_SHARED=no'
3459 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x
; then
3461 eval "DEFAULT_$LINE"
3466 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3470 eval "$ac_cv_use_shared"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3475 if test "$wxUSE_SHARED" = yes; then
3476 echo "$as_me:$LINENO: result: yes" >&5
3477 echo "${ECHO_T}yes" >&6
3479 echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3486 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3488 # Check whether --enable-optimise or --disable-optimise was given.
3489 if test "${enable_optimise+set}" = set; then
3490 enableval
="$enable_optimise"
3492 if test "$enableval" = yes; then
3493 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3495 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3500 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3501 if test "x$LINE" != x
; then
3502 eval "DEFAULT_$LINE"
3507 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3511 eval "$ac_cv_use_optimise"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3516 if test "$wxUSE_OPTIMISE" = yes; then
3517 echo "$as_me:$LINENO: result: yes" >&5
3518 echo "${ECHO_T}yes" >&6
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3527 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3529 # Check whether --enable-debug or --disable-debug was given.
3530 if test "${enable_debug+set}" = set; then
3531 enableval
="$enable_debug"
3533 if test "$enableval" = yes; then
3534 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3536 ac_cv_use_debug
='wxUSE_DEBUG=no'
3541 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x
; then
3543 eval "DEFAULT_$LINE"
3548 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3552 eval "$ac_cv_use_debug"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3557 if test "$wxUSE_DEBUG" = yes; then
3558 echo "$as_me:$LINENO: result: yes" >&5
3559 echo "${ECHO_T}yes" >&6
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3568 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3570 # Check whether --enable-stl or --disable-stl was given.
3571 if test "${enable_stl+set}" = set; then
3572 enableval
="$enable_stl"
3574 if test "$enableval" = yes; then
3575 ac_cv_use_stl
='wxUSE_STL=yes'
3577 ac_cv_use_stl
='wxUSE_STL=no'
3582 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x
; then
3584 eval "DEFAULT_$LINE"
3589 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3593 eval "$ac_cv_use_stl"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3598 if test "$wxUSE_STL" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3606 if test "$USE_OS2" = "1"; then
3607 DEFAULT_wxUSE_OMF
=no
3610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3611 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3613 # Check whether --enable-omf or --disable-omf was given.
3614 if test "${enable_omf+set}" = set; then
3615 enableval
="$enable_omf"
3617 if test "$enableval" = yes; then
3618 ac_cv_use_omf
='wxUSE_OMF=yes'
3620 ac_cv_use_omf
='wxUSE_OMF=no'
3625 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3626 if test "x$LINE" != x
; then
3627 eval "DEFAULT_$LINE"
3632 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3636 eval "$ac_cv_use_omf"
3637 if test "$no_cache" != 1; then
3638 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3641 if test "$wxUSE_OMF" = yes; then
3642 echo "$as_me:$LINENO: result: yes" >&5
3643 echo "${ECHO_T}yes" >&6
3645 echo "$as_me:$LINENO: result: no" >&5
3646 echo "${ECHO_T}no" >&6
3651 if test "$wxUSE_DEBUG" = "yes"; then
3652 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3653 DEFAULT_wxUSE_DEBUG_INFO
=yes
3655 elif test "$wxUSE_DEBUG" = "no"; then
3656 DEFAULT_wxUSE_DEBUG_FLAG
=no
3657 DEFAULT_wxUSE_DEBUG_INFO
=no
3663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3664 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3666 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3667 if test "${enable_debug_flag+set}" = set; then
3668 enableval
="$enable_debug_flag"
3670 if test "$enableval" = yes; then
3671 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3673 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3678 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3679 if test "x$LINE" != x
; then
3680 eval "DEFAULT_$LINE"
3685 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3689 eval "$ac_cv_use_debug_flag"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3694 if test "$wxUSE_DEBUG_FLAG" = yes; then
3695 echo "$as_me:$LINENO: result: yes" >&5
3696 echo "${ECHO_T}yes" >&6
3698 echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6
3704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3705 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3707 # Check whether --enable-debug_info or --disable-debug_info was given.
3708 if test "${enable_debug_info+set}" = set; then
3709 enableval
="$enable_debug_info"
3711 if test "$enableval" = yes; then
3712 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3714 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3719 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3720 if test "x$LINE" != x
; then
3721 eval "DEFAULT_$LINE"
3726 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3730 eval "$ac_cv_use_debug_info"
3731 if test "$no_cache" != 1; then
3732 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3735 if test "$wxUSE_DEBUG_INFO" = yes; then
3736 echo "$as_me:$LINENO: result: yes" >&5
3737 echo "${ECHO_T}yes" >&6
3739 echo "$as_me:$LINENO: result: no" >&5
3740 echo "${ECHO_T}no" >&6
3745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3746 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3748 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3749 if test "${enable_debug_gdb+set}" = set; then
3750 enableval
="$enable_debug_gdb"
3752 if test "$enableval" = yes; then
3753 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3755 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3760 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x
; then
3762 eval "DEFAULT_$LINE"
3767 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3771 eval "$ac_cv_use_debug_gdb"
3772 if test "$no_cache" != 1; then
3773 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3776 if test "$wxUSE_DEBUG_GDB" = yes; then
3777 echo "$as_me:$LINENO: result: yes" >&5
3778 echo "${ECHO_T}yes" >&6
3780 echo "$as_me:$LINENO: result: no" >&5
3781 echo "${ECHO_T}no" >&6
3786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3787 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3789 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3790 if test "${enable_debug_cntxt+set}" = set; then
3791 enableval
="$enable_debug_cntxt"
3793 if test "$enableval" = yes; then
3794 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3796 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3801 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x
; then
3803 eval "DEFAULT_$LINE"
3808 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3812 eval "$ac_cv_use_debug_cntxt"
3813 if test "$no_cache" != 1; then
3814 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3817 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3818 echo "$as_me:$LINENO: result: yes" >&5
3819 echo "${ECHO_T}yes" >&6
3821 echo "$as_me:$LINENO: result: no" >&5
3822 echo "${ECHO_T}no" >&6
3827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3828 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3830 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3831 if test "${enable_mem_tracing+set}" = set; then
3832 enableval
="$enable_mem_tracing"
3834 if test "$enableval" = yes; then
3835 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3837 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3842 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3843 if test "x$LINE" != x
; then
3844 eval "DEFAULT_$LINE"
3849 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3853 eval "$ac_cv_use_mem_tracing"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3858 if test "$wxUSE_MEM_TRACING" = yes; then
3859 echo "$as_me:$LINENO: result: yes" >&5
3860 echo "${ECHO_T}yes" >&6
3862 echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6
3868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3869 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3871 # Check whether --enable-profile or --disable-profile was given.
3872 if test "${enable_profile+set}" = set; then
3873 enableval
="$enable_profile"
3875 if test "$enableval" = yes; then
3876 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3878 ac_cv_use_profile
='wxUSE_PROFILE=no'
3883 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x
; then
3885 eval "DEFAULT_$LINE"
3890 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3894 eval "$ac_cv_use_profile"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3899 if test "$wxUSE_PROFILE" = yes; then
3900 echo "$as_me:$LINENO: result: yes" >&5
3901 echo "${ECHO_T}yes" >&6
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3910 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3912 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3913 if test "${enable_no_rtti+set}" = set; then
3914 enableval
="$enable_no_rtti"
3916 if test "$enableval" = yes; then
3917 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3919 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3924 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x
; then
3926 eval "DEFAULT_$LINE"
3931 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3935 eval "$ac_cv_use_no_rtti"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3940 if test "$wxUSE_NO_RTTI" = yes; then
3941 echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6
3944 echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6
3950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3951 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3953 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3954 if test "${enable_no_exceptions+set}" = set; then
3955 enableval
="$enable_no_exceptions"
3957 if test "$enableval" = yes; then
3958 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3960 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3965 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3966 if test "x$LINE" != x
; then
3967 eval "DEFAULT_$LINE"
3972 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3976 eval "$ac_cv_use_no_exceptions"
3977 if test "$no_cache" != 1; then
3978 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3981 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3982 echo "$as_me:$LINENO: result: yes" >&5
3983 echo "${ECHO_T}yes" >&6
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3992 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3994 # Check whether --enable-permissive or --disable-permissive was given.
3995 if test "${enable_permissive+set}" = set; then
3996 enableval
="$enable_permissive"
3998 if test "$enableval" = yes; then
3999 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4001 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4006 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x
; then
4008 eval "DEFAULT_$LINE"
4013 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4017 eval "$ac_cv_use_permissive"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4022 if test "$wxUSE_PERMISSIVE" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4033 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4035 # Check whether --enable-no_deps or --disable-no_deps was given.
4036 if test "${enable_no_deps+set}" = set; then
4037 enableval
="$enable_no_deps"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4042 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4047 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x
; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4058 eval "$ac_cv_use_no_deps"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4063 if test "$wxUSE_NO_DEPS" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4075 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4077 # Check whether --enable-compat22 or --disable-compat22 was given.
4078 if test "${enable_compat22+set}" = set; then
4079 enableval
="$enable_compat22"
4081 if test "$enableval" = yes; then
4082 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4084 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4089 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4090 if test "x$LINE" != x
; then
4091 eval "DEFAULT_$LINE"
4096 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4100 eval "$ac_cv_use_compat22"
4101 if test "$no_cache" != 1; then
4102 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4105 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4106 echo "$as_me:$LINENO: result: yes" >&5
4107 echo "${ECHO_T}yes" >&6
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4114 enablestring
=disable
4115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4116 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4118 # Check whether --enable-compat24 or --disable-compat24 was given.
4119 if test "${enable_compat24+set}" = set; then
4120 enableval
="$enable_compat24"
4122 if test "$enableval" = yes; then
4123 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4125 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4130 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4131 if test "x$LINE" != x
; then
4132 eval "DEFAULT_$LINE"
4137 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4141 eval "$ac_cv_use_compat24"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4146 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4147 echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4158 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4160 # Check whether --enable-rpath or --disable-rpath was given.
4161 if test "${enable_rpath+set}" = set; then
4162 enableval
="$enable_rpath"
4164 if test "$enableval" = yes; then
4165 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4167 ac_cv_use_rpath
='wxUSE_RPATH=no'
4172 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x
; then
4174 eval "DEFAULT_$LINE"
4179 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4183 eval "$ac_cv_use_rpath"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4188 if test "$wxUSE_RPATH" = yes; then
4189 echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6
4192 echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6
4201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4202 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4204 # Check whether --enable-intl or --disable-intl was given.
4205 if test "${enable_intl+set}" = set; then
4206 enableval
="$enable_intl"
4208 if test "$enableval" = yes; then
4209 ac_cv_use_intl
='wxUSE_INTL=yes'
4211 ac_cv_use_intl
='wxUSE_INTL=no'
4216 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4217 if test "x$LINE" != x
; then
4218 eval "DEFAULT_$LINE"
4223 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4227 eval "$ac_cv_use_intl"
4228 if test "$no_cache" != 1; then
4229 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4232 if test "$wxUSE_INTL" = yes; then
4233 echo "$as_me:$LINENO: result: yes" >&5
4234 echo "${ECHO_T}yes" >&6
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4243 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4245 # Check whether --enable-config or --disable-config was given.
4246 if test "${enable_config+set}" = set; then
4247 enableval
="$enable_config"
4249 if test "$enableval" = yes; then
4250 ac_cv_use_config
='wxUSE_CONFIG=yes'
4252 ac_cv_use_config
='wxUSE_CONFIG=no'
4257 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x
; then
4259 eval "DEFAULT_$LINE"
4264 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4268 eval "$ac_cv_use_config"
4269 if test "$no_cache" != 1; then
4270 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4273 if test "$wxUSE_CONFIG" = yes; then
4274 echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4285 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4287 # Check whether --enable-protocols or --disable-protocols was given.
4288 if test "${enable_protocols+set}" = set; then
4289 enableval
="$enable_protocols"
4291 if test "$enableval" = yes; then
4292 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4294 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4299 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x
; then
4301 eval "DEFAULT_$LINE"
4306 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4310 eval "$ac_cv_use_protocols"
4311 if test "$no_cache" != 1; then
4312 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4315 if test "$wxUSE_PROTOCOL" = yes; then
4316 echo "$as_me:$LINENO: result: yes" >&5
4317 echo "${ECHO_T}yes" >&6
4319 echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6
4325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4326 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4328 # Check whether --enable-ftp or --disable-ftp was given.
4329 if test "${enable_ftp+set}" = set; then
4330 enableval
="$enable_ftp"
4332 if test "$enableval" = yes; then
4333 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4335 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4340 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4341 if test "x$LINE" != x
; then
4342 eval "DEFAULT_$LINE"
4347 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4351 eval "$ac_cv_use_ftp"
4352 if test "$no_cache" != 1; then
4353 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4356 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4357 echo "$as_me:$LINENO: result: yes" >&5
4358 echo "${ECHO_T}yes" >&6
4360 echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4367 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4369 # Check whether --enable-http or --disable-http was given.
4370 if test "${enable_http+set}" = set; then
4371 enableval
="$enable_http"
4373 if test "$enableval" = yes; then
4374 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4376 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4381 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4382 if test "x$LINE" != x
; then
4383 eval "DEFAULT_$LINE"
4388 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4392 eval "$ac_cv_use_http"
4393 if test "$no_cache" != 1; then
4394 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4397 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4398 echo "$as_me:$LINENO: result: yes" >&5
4399 echo "${ECHO_T}yes" >&6
4401 echo "$as_me:$LINENO: result: no" >&5
4402 echo "${ECHO_T}no" >&6
4407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4408 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4410 # Check whether --enable-fileproto or --disable-fileproto was given.
4411 if test "${enable_fileproto+set}" = set; then
4412 enableval
="$enable_fileproto"
4414 if test "$enableval" = yes; then
4415 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4417 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4422 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x
; then
4424 eval "DEFAULT_$LINE"
4429 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4433 eval "$ac_cv_use_fileproto"
4434 if test "$no_cache" != 1; then
4435 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4438 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4439 echo "$as_me:$LINENO: result: yes" >&5
4440 echo "${ECHO_T}yes" >&6
4442 echo "$as_me:$LINENO: result: no" >&5
4443 echo "${ECHO_T}no" >&6
4448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4449 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4451 # Check whether --enable-sockets or --disable-sockets was given.
4452 if test "${enable_sockets+set}" = set; then
4453 enableval
="$enable_sockets"
4455 if test "$enableval" = yes; then
4456 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4458 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4463 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4464 if test "x$LINE" != x
; then
4465 eval "DEFAULT_$LINE"
4470 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4474 eval "$ac_cv_use_sockets"
4475 if test "$no_cache" != 1; then
4476 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4479 if test "$wxUSE_SOCKETS" = yes; then
4480 echo "$as_me:$LINENO: result: yes" >&5
4481 echo "${ECHO_T}yes" >&6
4483 echo "$as_me:$LINENO: result: no" >&5
4484 echo "${ECHO_T}no" >&6
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4492 # Check whether --enable-ole or --disable-ole was given.
4493 if test "${enable_ole+set}" = set; then
4494 enableval
="$enable_ole"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_ole
='wxUSE_OLE=yes'
4499 ac_cv_use_ole
='wxUSE_OLE=no'
4504 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x
; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4515 eval "$ac_cv_use_ole"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4520 if test "$wxUSE_OLE" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4533 # Check whether --enable-dataobj or --disable-dataobj was given.
4534 if test "${enable_dataobj+set}" = set; then
4535 enableval
="$enable_dataobj"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4540 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4545 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4556 eval "$ac_cv_use_dataobj"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_DATAOBJ" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4573 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4575 # Check whether --enable-ipc or --disable-ipc was given.
4576 if test "${enable_ipc+set}" = set; then
4577 enableval
="$enable_ipc"
4579 if test "$enableval" = yes; then
4580 ac_cv_use_ipc
='wxUSE_IPC=yes'
4582 ac_cv_use_ipc
='wxUSE_IPC=no'
4587 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4588 if test "x$LINE" != x
; then
4589 eval "DEFAULT_$LINE"
4594 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4598 eval "$ac_cv_use_ipc"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4603 if test "$wxUSE_IPC" = yes; then
4604 echo "$as_me:$LINENO: result: yes" >&5
4605 echo "${ECHO_T}yes" >&6
4607 echo "$as_me:$LINENO: result: no" >&5
4608 echo "${ECHO_T}no" >&6
4614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4617 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4618 if test "${enable_apple_ieee+set}" = set; then
4619 enableval
="$enable_apple_ieee"
4621 if test "$enableval" = yes; then
4622 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4624 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4629 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4630 if test "x$LINE" != x
; then
4631 eval "DEFAULT_$LINE"
4636 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4640 eval "$ac_cv_use_apple_ieee"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4645 if test "$wxUSE_APPLE_IEEE" = yes; then
4646 echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6
4649 echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6
4655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4658 # Check whether --enable-arcstream or --disable-arcstream was given.
4659 if test "${enable_arcstream+set}" = set; then
4660 enableval
="$enable_arcstream"
4662 if test "$enableval" = yes; then
4663 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4665 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4670 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x
; then
4672 eval "DEFAULT_$LINE"
4677 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4681 eval "$ac_cv_use_arcstream"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4686 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4687 echo "$as_me:$LINENO: result: yes" >&5
4688 echo "${ECHO_T}yes" >&6
4690 echo "$as_me:$LINENO: result: no" >&5
4691 echo "${ECHO_T}no" >&6
4696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4699 # Check whether --enable-backtrace or --disable-backtrace was given.
4700 if test "${enable_backtrace+set}" = set; then
4701 enableval
="$enable_backtrace"
4703 if test "$enableval" = yes; then
4704 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4706 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4711 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4712 if test "x$LINE" != x
; then
4713 eval "DEFAULT_$LINE"
4718 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4722 eval "$ac_cv_use_backtrace"
4723 if test "$no_cache" != 1; then
4724 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4727 if test "$wxUSE_STACKWALKER" = yes; then
4728 echo "$as_me:$LINENO: result: yes" >&5
4729 echo "${ECHO_T}yes" >&6
4731 echo "$as_me:$LINENO: result: no" >&5
4732 echo "${ECHO_T}no" >&6
4737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4738 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4740 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4741 if test "${enable_catch_segvs+set}" = set; then
4742 enableval
="$enable_catch_segvs"
4744 if test "$enableval" = yes; then
4745 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4747 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4752 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4753 if test "x$LINE" != x
; then
4754 eval "DEFAULT_$LINE"
4759 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4763 eval "$ac_cv_use_catch_segvs"
4764 if test "$no_cache" != 1; then
4765 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4768 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4769 echo "$as_me:$LINENO: result: yes" >&5
4770 echo "${ECHO_T}yes" >&6
4772 echo "$as_me:$LINENO: result: no" >&5
4773 echo "${ECHO_T}no" >&6
4778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4779 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4781 # Check whether --enable-cmdline or --disable-cmdline was given.
4782 if test "${enable_cmdline+set}" = set; then
4783 enableval
="$enable_cmdline"
4785 if test "$enableval" = yes; then
4786 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4788 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4793 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4794 if test "x$LINE" != x
; then
4795 eval "DEFAULT_$LINE"
4800 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4804 eval "$ac_cv_use_cmdline"
4805 if test "$no_cache" != 1; then
4806 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4809 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4810 echo "$as_me:$LINENO: result: yes" >&5
4811 echo "${ECHO_T}yes" >&6
4813 echo "$as_me:$LINENO: result: no" >&5
4814 echo "${ECHO_T}no" >&6
4819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4820 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4822 # Check whether --enable-datetime or --disable-datetime was given.
4823 if test "${enable_datetime+set}" = set; then
4824 enableval
="$enable_datetime"
4826 if test "$enableval" = yes; then
4827 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4829 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4834 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x
; then
4836 eval "DEFAULT_$LINE"
4841 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4845 eval "$ac_cv_use_datetime"
4846 if test "$no_cache" != 1; then
4847 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4850 if test "$wxUSE_DATETIME" = yes; then
4851 echo "$as_me:$LINENO: result: yes" >&5
4852 echo "${ECHO_T}yes" >&6
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4863 # Check whether --enable-debugreport or --disable-debugreport was given.
4864 if test "${enable_debugreport+set}" = set; then
4865 enableval
="$enable_debugreport"
4867 if test "$enableval" = yes; then
4868 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4870 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4875 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x
; then
4877 eval "DEFAULT_$LINE"
4882 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4886 eval "$ac_cv_use_debugreport"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4891 if test "$wxUSE_DEBUGREPORT" = yes; then
4892 echo "$as_me:$LINENO: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4904 # Check whether --enable-dialupman or --disable-dialupman was given.
4905 if test "${enable_dialupman+set}" = set; then
4906 enableval
="$enable_dialupman"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4911 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4916 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4927 eval "$ac_cv_use_dialupman"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4932 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4945 # Check whether --enable-dynlib or --disable-dynlib was given.
4946 if test "${enable_dynlib+set}" = set; then
4947 enableval
="$enable_dynlib"
4949 if test "$enableval" = yes; then
4950 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4952 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4957 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x
; then
4959 eval "DEFAULT_$LINE"
4964 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4968 eval "$ac_cv_use_dynlib"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4973 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4974 echo "$as_me:$LINENO: result: yes" >&5
4975 echo "${ECHO_T}yes" >&6
4977 echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6
4983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4986 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4987 if test "${enable_dynamicloader+set}" = set; then
4988 enableval
="$enable_dynamicloader"
4990 if test "$enableval" = yes; then
4991 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4993 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4998 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x
; then
5000 eval "DEFAULT_$LINE"
5005 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5009 eval "$ac_cv_use_dynamicloader"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5014 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5015 echo "$as_me:$LINENO: result: yes" >&5
5016 echo "${ECHO_T}yes" >&6
5018 echo "$as_me:$LINENO: result: no" >&5
5019 echo "${ECHO_T}no" >&6
5024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5027 # Check whether --enable-exceptions or --disable-exceptions was given.
5028 if test "${enable_exceptions+set}" = set; then
5029 enableval
="$enable_exceptions"
5031 if test "$enableval" = yes; then
5032 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5034 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5039 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x
; then
5041 eval "DEFAULT_$LINE"
5046 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5050 eval "$ac_cv_use_exceptions"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5055 if test "$wxUSE_EXCEPTIONS" = yes; then
5056 echo "$as_me:$LINENO: result: yes" >&5
5057 echo "${ECHO_T}yes" >&6
5059 echo "$as_me:$LINENO: result: no" >&5
5060 echo "${ECHO_T}no" >&6
5065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5068 # Check whether --enable-ffile or --disable-ffile was given.
5069 if test "${enable_ffile+set}" = set; then
5070 enableval
="$enable_ffile"
5072 if test "$enableval" = yes; then
5073 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5075 ac_cv_use_ffile
='wxUSE_FFILE=no'
5080 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x
; then
5082 eval "DEFAULT_$LINE"
5087 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5091 eval "$ac_cv_use_ffile"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5096 if test "$wxUSE_FFILE" = yes; then
5097 echo "$as_me:$LINENO: result: yes" >&5
5098 echo "${ECHO_T}yes" >&6
5100 echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6
5106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5109 # Check whether --enable-file or --disable-file was given.
5110 if test "${enable_file+set}" = set; then
5111 enableval
="$enable_file"
5113 if test "$enableval" = yes; then
5114 ac_cv_use_file
='wxUSE_FILE=yes'
5116 ac_cv_use_file
='wxUSE_FILE=no'
5121 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x
; then
5123 eval "DEFAULT_$LINE"
5128 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5132 eval "$ac_cv_use_file"
5133 if test "$no_cache" != 1; then
5134 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5137 if test "$wxUSE_FILE" = yes; then
5138 echo "$as_me:$LINENO: result: yes" >&5
5139 echo "${ECHO_T}yes" >&6
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5148 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5150 # Check whether --enable-filesystem or --disable-filesystem was given.
5151 if test "${enable_filesystem+set}" = set; then
5152 enableval
="$enable_filesystem"
5154 if test "$enableval" = yes; then
5155 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5157 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5162 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x
; then
5164 eval "DEFAULT_$LINE"
5169 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5173 eval "$ac_cv_use_filesystem"
5174 if test "$no_cache" != 1; then
5175 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5178 if test "$wxUSE_FILESYSTEM" = yes; then
5179 echo "$as_me:$LINENO: result: yes" >&5
5180 echo "${ECHO_T}yes" >&6
5182 echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6
5188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5189 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5191 # Check whether --enable-fontmap or --disable-fontmap was given.
5192 if test "${enable_fontmap+set}" = set; then
5193 enableval
="$enable_fontmap"
5195 if test "$enableval" = yes; then
5196 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5198 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5203 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x
; then
5205 eval "DEFAULT_$LINE"
5210 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5214 eval "$ac_cv_use_fontmap"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5219 if test "$wxUSE_FONTMAP" = yes; then
5220 echo "$as_me:$LINENO: result: yes" >&5
5221 echo "${ECHO_T}yes" >&6
5223 echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6
5229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5230 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5232 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5233 if test "${enable_fs_inet+set}" = set; then
5234 enableval
="$enable_fs_inet"
5236 if test "$enableval" = yes; then
5237 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5239 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5244 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x
; then
5246 eval "DEFAULT_$LINE"
5251 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5255 eval "$ac_cv_use_fs_inet"
5256 if test "$no_cache" != 1; then
5257 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5260 if test "$wxUSE_FS_INET" = yes; then
5261 echo "$as_me:$LINENO: result: yes" >&5
5262 echo "${ECHO_T}yes" >&6
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5273 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5274 if test "${enable_fs_zip+set}" = set; then
5275 enableval
="$enable_fs_zip"
5277 if test "$enableval" = yes; then
5278 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5280 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5285 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x
; then
5287 eval "DEFAULT_$LINE"
5292 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5296 eval "$ac_cv_use_fs_zip"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5301 if test "$wxUSE_FS_ZIP" = yes; then
5302 echo "$as_me:$LINENO: result: yes" >&5
5303 echo "${ECHO_T}yes" >&6
5305 echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6
5311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5314 # Check whether --enable-geometry or --disable-geometry was given.
5315 if test "${enable_geometry+set}" = set; then
5316 enableval
="$enable_geometry"
5318 if test "$enableval" = yes; then
5319 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5321 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5326 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x
; then
5328 eval "DEFAULT_$LINE"
5333 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5337 eval "$ac_cv_use_geometry"
5338 if test "$no_cache" != 1; then
5339 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5342 if test "$wxUSE_GEOMETRY" = yes; then
5343 echo "$as_me:$LINENO: result: yes" >&5
5344 echo "${ECHO_T}yes" >&6
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5355 # Check whether --enable-log or --disable-log was given.
5356 if test "${enable_log+set}" = set; then
5357 enableval
="$enable_log"
5359 if test "$enableval" = yes; then
5360 ac_cv_use_log
='wxUSE_LOG=yes'
5362 ac_cv_use_log
='wxUSE_LOG=no'
5367 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5368 if test "x$LINE" != x
; then
5369 eval "DEFAULT_$LINE"
5374 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5378 eval "$ac_cv_use_log"
5379 if test "$no_cache" != 1; then
5380 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5383 if test "$wxUSE_LOG" = yes; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5396 # Check whether --enable-longlong or --disable-longlong was given.
5397 if test "${enable_longlong+set}" = set; then
5398 enableval
="$enable_longlong"
5400 if test "$enableval" = yes; then
5401 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5403 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5408 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x
; then
5410 eval "DEFAULT_$LINE"
5415 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5419 eval "$ac_cv_use_longlong"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5424 if test "$wxUSE_LONGLONG" = yes; then
5425 echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6
5428 echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6
5434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5437 # Check whether --enable-mimetype or --disable-mimetype was given.
5438 if test "${enable_mimetype+set}" = set; then
5439 enableval
="$enable_mimetype"
5441 if test "$enableval" = yes; then
5442 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5444 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5449 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x
; then
5451 eval "DEFAULT_$LINE"
5456 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5460 eval "$ac_cv_use_mimetype"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5465 if test "$wxUSE_MIMETYPE" = yes; then
5466 echo "$as_me:$LINENO: result: yes" >&5
5467 echo "${ECHO_T}yes" >&6
5469 echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6
5475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5478 # Check whether --enable-mslu or --disable-mslu was given.
5479 if test "${enable_mslu+set}" = set; then
5480 enableval
="$enable_mslu"
5482 if test "$enableval" = yes; then
5483 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5485 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5490 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x
; then
5492 eval "DEFAULT_$LINE"
5497 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5501 eval "$ac_cv_use_mslu"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5506 if test "$wxUSE_UNICODE_MSLU" = yes; then
5507 echo "$as_me:$LINENO: result: yes" >&5
5508 echo "${ECHO_T}yes" >&6
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5519 # Check whether --enable-snglinst or --disable-snglinst was given.
5520 if test "${enable_snglinst+set}" = set; then
5521 enableval
="$enable_snglinst"
5523 if test "$enableval" = yes; then
5524 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5526 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5531 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x
; then
5533 eval "DEFAULT_$LINE"
5538 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5542 eval "$ac_cv_use_snglinst"
5543 if test "$no_cache" != 1; then
5544 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5547 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5548 echo "$as_me:$LINENO: result: yes" >&5
5549 echo "${ECHO_T}yes" >&6
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5558 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5560 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5561 if test "${enable_std_iostreams+set}" = set; then
5562 enableval
="$enable_std_iostreams"
5564 if test "$enableval" = yes; then
5565 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5567 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5572 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x
; then
5574 eval "DEFAULT_$LINE"
5579 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5583 eval "$ac_cv_use_std_iostreams"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5588 if test "$wxUSE_STD_IOSTREAM" = yes; then
5589 echo "$as_me:$LINENO: result: yes" >&5
5590 echo "${ECHO_T}yes" >&6
5592 echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6
5598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5601 # Check whether --enable-std_string or --disable-std_string was given.
5602 if test "${enable_std_string+set}" = set; then
5603 enableval
="$enable_std_string"
5605 if test "$enableval" = yes; then
5606 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5608 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5613 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x
; then
5615 eval "DEFAULT_$LINE"
5620 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5624 eval "$ac_cv_use_std_string"
5625 if test "$no_cache" != 1; then
5626 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5629 if test "$wxUSE_STD_STRING" = yes; then
5630 echo "$as_me:$LINENO: result: yes" >&5
5631 echo "${ECHO_T}yes" >&6
5633 echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6
5639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5642 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5643 if test "${enable_stdpaths+set}" = set; then
5644 enableval
="$enable_stdpaths"
5646 if test "$enableval" = yes; then
5647 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5649 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5654 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x
; then
5656 eval "DEFAULT_$LINE"
5661 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5665 eval "$ac_cv_use_stdpaths"
5666 if test "$no_cache" != 1; then
5667 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5670 if test "$wxUSE_STDPATHS" = yes; then
5671 echo "$as_me:$LINENO: result: yes" >&5
5672 echo "${ECHO_T}yes" >&6
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5683 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5684 if test "${enable_stopwatch+set}" = set; then
5685 enableval
="$enable_stopwatch"
5687 if test "$enableval" = yes; then
5688 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5690 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5695 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x
; then
5697 eval "DEFAULT_$LINE"
5702 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5706 eval "$ac_cv_use_stopwatch"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5711 if test "$wxUSE_STOPWATCH" = yes; then
5712 echo "$as_me:$LINENO: result: yes" >&5
5713 echo "${ECHO_T}yes" >&6
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5724 # Check whether --enable-streams or --disable-streams was given.
5725 if test "${enable_streams+set}" = set; then
5726 enableval
="$enable_streams"
5728 if test "$enableval" = yes; then
5729 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5731 ac_cv_use_streams
='wxUSE_STREAMS=no'
5736 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x
; then
5738 eval "DEFAULT_$LINE"
5743 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5747 eval "$ac_cv_use_streams"
5748 if test "$no_cache" != 1; then
5749 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5752 if test "$wxUSE_STREAMS" = yes; then
5753 echo "$as_me:$LINENO: result: yes" >&5
5754 echo "${ECHO_T}yes" >&6
5756 echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6
5762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5765 # Check whether --enable-system_options or --disable-system_options was given.
5766 if test "${enable_system_options+set}" = set; then
5767 enableval
="$enable_system_options"
5769 if test "$enableval" = yes; then
5770 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5772 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5777 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5778 if test "x$LINE" != x
; then
5779 eval "DEFAULT_$LINE"
5784 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5788 eval "$ac_cv_use_system_options"
5789 if test "$no_cache" != 1; then
5790 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5793 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5794 echo "$as_me:$LINENO: result: yes" >&5
5795 echo "${ECHO_T}yes" >&6
5797 echo "$as_me:$LINENO: result: no" >&5
5798 echo "${ECHO_T}no" >&6
5803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5806 # Check whether --enable-textbuf or --disable-textbuf was given.
5807 if test "${enable_textbuf+set}" = set; then
5808 enableval
="$enable_textbuf"
5810 if test "$enableval" = yes; then
5811 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5813 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5818 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5819 if test "x$LINE" != x
; then
5820 eval "DEFAULT_$LINE"
5825 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5829 eval "$ac_cv_use_textbuf"
5830 if test "$no_cache" != 1; then
5831 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5834 if test "$wxUSE_TEXTBUFFER" = yes; then
5835 echo "$as_me:$LINENO: result: yes" >&5
5836 echo "${ECHO_T}yes" >&6
5838 echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6
5844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5847 # Check whether --enable-textfile or --disable-textfile was given.
5848 if test "${enable_textfile+set}" = set; then
5849 enableval
="$enable_textfile"
5851 if test "$enableval" = yes; then
5852 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5854 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5859 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x
; then
5861 eval "DEFAULT_$LINE"
5866 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5870 eval "$ac_cv_use_textfile"
5871 if test "$no_cache" != 1; then
5872 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5875 if test "$wxUSE_TEXTFILE" = yes; then
5876 echo "$as_me:$LINENO: result: yes" >&5
5877 echo "${ECHO_T}yes" >&6
5879 echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6
5885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5888 # Check whether --enable-timer or --disable-timer was given.
5889 if test "${enable_timer+set}" = set; then
5890 enableval
="$enable_timer"
5892 if test "$enableval" = yes; then
5893 ac_cv_use_timer
='wxUSE_TIMER=yes'
5895 ac_cv_use_timer
='wxUSE_TIMER=no'
5900 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5901 if test "x$LINE" != x
; then
5902 eval "DEFAULT_$LINE"
5907 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5911 eval "$ac_cv_use_timer"
5912 if test "$no_cache" != 1; then
5913 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5916 if test "$wxUSE_TIMER" = yes; then
5917 echo "$as_me:$LINENO: result: yes" >&5
5918 echo "${ECHO_T}yes" >&6
5920 echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6
5926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5927 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5929 # Check whether --enable-unicode or --disable-unicode was given.
5930 if test "${enable_unicode+set}" = set; then
5931 enableval
="$enable_unicode"
5933 if test "$enableval" = yes; then
5934 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5936 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5941 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5942 if test "x$LINE" != x
; then
5943 eval "DEFAULT_$LINE"
5948 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5952 eval "$ac_cv_use_unicode"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5957 if test "$wxUSE_UNICODE" = yes; then
5958 echo "$as_me:$LINENO: result: yes" >&5
5959 echo "${ECHO_T}yes" >&6
5961 echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6
5967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5970 # Check whether --enable-sound or --disable-sound was given.
5971 if test "${enable_sound+set}" = set; then
5972 enableval
="$enable_sound"
5974 if test "$enableval" = yes; then
5975 ac_cv_use_sound
='wxUSE_SOUND=yes'
5977 ac_cv_use_sound
='wxUSE_SOUND=no'
5982 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x
; then
5984 eval "DEFAULT_$LINE"
5989 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5993 eval "$ac_cv_use_sound"
5994 if test "$no_cache" != 1; then
5995 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5998 if test "$wxUSE_SOUND" = yes; then
5999 echo "$as_me:$LINENO: result: yes" >&5
6000 echo "${ECHO_T}yes" >&6
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6011 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6012 if test "${enable_mediactrl+set}" = set; then
6013 enableval
="$enable_mediactrl"
6015 if test "$enableval" = yes; then
6016 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6018 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6023 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x
; then
6025 eval "DEFAULT_$LINE"
6030 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6034 eval "$ac_cv_use_mediactrl"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6039 if test "$wxUSE_MEDIACTRL" = yes; then
6040 echo "$as_me:$LINENO: result: yes" >&5
6041 echo "${ECHO_T}yes" >&6
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6050 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6052 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6053 if test "${enable_wxprintfv+set}" = set; then
6054 enableval
="$enable_wxprintfv"
6056 if test "$enableval" = yes; then
6057 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6059 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6064 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x
; then
6066 eval "DEFAULT_$LINE"
6071 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6075 eval "$ac_cv_use_wxprintfv"
6076 if test "$no_cache" != 1; then
6077 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6080 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6081 echo "$as_me:$LINENO: result: yes" >&5
6082 echo "${ECHO_T}yes" >&6
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6091 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6093 # Check whether --enable-zipstream or --disable-zipstream was given.
6094 if test "${enable_zipstream+set}" = set; then
6095 enableval
="$enable_zipstream"
6097 if test "$enableval" = yes; then
6098 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6100 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6105 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6106 if test "x$LINE" != x
; then
6107 eval "DEFAULT_$LINE"
6112 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6116 eval "$ac_cv_use_zipstream"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6121 if test "$wxUSE_ZIPSTREAM" = yes; then
6122 echo "$as_me:$LINENO: result: yes" >&5
6123 echo "${ECHO_T}yes" >&6
6125 echo "$as_me:$LINENO: result: no" >&5
6126 echo "${ECHO_T}no" >&6
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6135 # Check whether --enable-url or --disable-url was given.
6136 if test "${enable_url+set}" = set; then
6137 enableval
="$enable_url"
6139 if test "$enableval" = yes; then
6140 ac_cv_use_url
='wxUSE_URL=yes'
6142 ac_cv_use_url
='wxUSE_URL=no'
6147 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x
; then
6149 eval "DEFAULT_$LINE"
6154 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6158 eval "$ac_cv_use_url"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6163 if test "$wxUSE_URL" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6176 # Check whether --enable-protocol or --disable-protocol was given.
6177 if test "${enable_protocol+set}" = set; then
6178 enableval
="$enable_protocol"
6180 if test "$enableval" = yes; then
6181 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6183 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6188 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x
; then
6190 eval "DEFAULT_$LINE"
6195 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6199 eval "$ac_cv_use_protocol"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6204 if test "$wxUSE_PROTOCOL" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6217 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6218 if test "${enable_protocol_http+set}" = set; then
6219 enableval
="$enable_protocol_http"
6221 if test "$enableval" = yes; then
6222 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6224 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6229 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x
; then
6231 eval "DEFAULT_$LINE"
6236 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6240 eval "$ac_cv_use_protocol_http"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6245 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6258 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6259 if test "${enable_protocol_ftp+set}" = set; then
6260 enableval
="$enable_protocol_ftp"
6262 if test "$enableval" = yes; then
6263 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6265 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6270 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x
; then
6272 eval "DEFAULT_$LINE"
6277 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6281 eval "$ac_cv_use_protocol_ftp"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6286 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6299 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6300 if test "${enable_protocol_file+set}" = set; then
6301 enableval
="$enable_protocol_file"
6303 if test "$enableval" = yes; then
6304 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6306 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6311 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x
; then
6313 eval "DEFAULT_$LINE"
6318 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6322 eval "$ac_cv_use_protocol_file"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6327 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6343 # Check whether --enable-threads or --disable-threads was given.
6344 if test "${enable_threads+set}" = set; then
6345 enableval
="$enable_threads"
6347 if test "$enableval" = yes; then
6348 ac_cv_use_threads
='wxUSE_THREADS=yes'
6350 ac_cv_use_threads
='wxUSE_THREADS=no'
6355 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x
; then
6357 eval "DEFAULT_$LINE"
6362 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6366 eval "$ac_cv_use_threads"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6371 if test "$wxUSE_THREADS" = yes; then
6372 echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6380 if test "$wxUSE_GUI" = "yes"; then
6385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6386 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6388 # Check whether --enable-docview or --disable-docview was given.
6389 if test "${enable_docview+set}" = set; then
6390 enableval
="$enable_docview"
6392 if test "$enableval" = yes; then
6393 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6395 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6400 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x
; then
6402 eval "DEFAULT_$LINE"
6407 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6411 eval "$ac_cv_use_docview"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6416 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6417 echo "$as_me:$LINENO: result: yes" >&5
6418 echo "${ECHO_T}yes" >&6
6420 echo "$as_me:$LINENO: result: no" >&5
6421 echo "${ECHO_T}no" >&6
6426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6429 # Check whether --enable-help or --disable-help was given.
6430 if test "${enable_help+set}" = set; then
6431 enableval
="$enable_help"
6433 if test "$enableval" = yes; then
6434 ac_cv_use_help
='wxUSE_HELP=yes'
6436 ac_cv_use_help
='wxUSE_HELP=no'
6441 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x
; then
6443 eval "DEFAULT_$LINE"
6448 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6452 eval "$ac_cv_use_help"
6453 if test "$no_cache" != 1; then
6454 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6457 if test "$wxUSE_HELP" = yes; then
6458 echo "$as_me:$LINENO: result: yes" >&5
6459 echo "${ECHO_T}yes" >&6
6461 echo "$as_me:$LINENO: result: no" >&5
6462 echo "${ECHO_T}no" >&6
6467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6468 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6470 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6471 if test "${enable_mshtmlhelp+set}" = set; then
6472 enableval
="$enable_mshtmlhelp"
6474 if test "$enableval" = yes; then
6475 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6477 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6482 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6483 if test "x$LINE" != x
; then
6484 eval "DEFAULT_$LINE"
6489 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6493 eval "$ac_cv_use_mshtmlhelp"
6494 if test "$no_cache" != 1; then
6495 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6498 if test "$wxUSE_MS_HTML_HELP" = yes; then
6499 echo "$as_me:$LINENO: result: yes" >&5
6500 echo "${ECHO_T}yes" >&6
6502 echo "$as_me:$LINENO: result: no" >&5
6503 echo "${ECHO_T}no" >&6
6508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6511 # Check whether --enable-html or --disable-html was given.
6512 if test "${enable_html+set}" = set; then
6513 enableval
="$enable_html"
6515 if test "$enableval" = yes; then
6516 ac_cv_use_html
='wxUSE_HTML=yes'
6518 ac_cv_use_html
='wxUSE_HTML=no'
6523 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6524 if test "x$LINE" != x
; then
6525 eval "DEFAULT_$LINE"
6530 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6534 eval "$ac_cv_use_html"
6535 if test "$no_cache" != 1; then
6536 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6539 if test "$wxUSE_HTML" = yes; then
6540 echo "$as_me:$LINENO: result: yes" >&5
6541 echo "${ECHO_T}yes" >&6
6543 echo "$as_me:$LINENO: result: no" >&5
6544 echo "${ECHO_T}no" >&6
6549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6550 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6552 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6553 if test "${enable_htmlhelp+set}" = set; then
6554 enableval
="$enable_htmlhelp"
6556 if test "$enableval" = yes; then
6557 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6559 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6564 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x
; then
6566 eval "DEFAULT_$LINE"
6571 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6575 eval "$ac_cv_use_htmlhelp"
6576 if test "$no_cache" != 1; then
6577 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6580 if test "$wxUSE_WXHTML_HELP" = yes; then
6581 echo "$as_me:$LINENO: result: yes" >&5
6582 echo "${ECHO_T}yes" >&6
6584 echo "$as_me:$LINENO: result: no" >&5
6585 echo "${ECHO_T}no" >&6
6590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6591 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6593 # Check whether --enable-xrc or --disable-xrc was given.
6594 if test "${enable_xrc+set}" = set; then
6595 enableval
="$enable_xrc"
6597 if test "$enableval" = yes; then
6598 ac_cv_use_xrc
='wxUSE_XRC=yes'
6600 ac_cv_use_xrc
='wxUSE_XRC=no'
6605 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6606 if test "x$LINE" != x
; then
6607 eval "DEFAULT_$LINE"
6612 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6616 eval "$ac_cv_use_xrc"
6617 if test "$no_cache" != 1; then
6618 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6621 if test "$wxUSE_XRC" = yes; then
6622 echo "$as_me:$LINENO: result: yes" >&5
6623 echo "${ECHO_T}yes" >&6
6625 echo "$as_me:$LINENO: result: no" >&5
6626 echo "${ECHO_T}no" >&6
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6634 # Check whether --enable-constraints or --disable-constraints was given.
6635 if test "${enable_constraints+set}" = set; then
6636 enableval
="$enable_constraints"
6638 if test "$enableval" = yes; then
6639 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6641 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6646 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x
; then
6648 eval "DEFAULT_$LINE"
6653 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6657 eval "$ac_cv_use_constraints"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6662 if test "$wxUSE_CONSTRAINTS" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6675 # Check whether --enable-printarch or --disable-printarch was given.
6676 if test "${enable_printarch+set}" = set; then
6677 enableval
="$enable_printarch"
6679 if test "$enableval" = yes; then
6680 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6682 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6687 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x
; then
6689 eval "DEFAULT_$LINE"
6694 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6698 eval "$ac_cv_use_printarch"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6703 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6716 # Check whether --enable-mdi or --disable-mdi was given.
6717 if test "${enable_mdi+set}" = set; then
6718 enableval
="$enable_mdi"
6720 if test "$enableval" = yes; then
6721 ac_cv_use_mdi
='wxUSE_MDI=yes'
6723 ac_cv_use_mdi
='wxUSE_MDI=no'
6728 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x
; then
6730 eval "DEFAULT_$LINE"
6735 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6739 eval "$ac_cv_use_mdi"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6744 if test "$wxUSE_MDI" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6757 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6758 if test "${enable_mdidoc+set}" = set; then
6759 enableval
="$enable_mdidoc"
6761 if test "$enableval" = yes; then
6762 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6764 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6769 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x
; then
6771 eval "DEFAULT_$LINE"
6776 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6780 eval "$ac_cv_use_mdidoc"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6785 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6798 # Check whether --enable-loggui or --disable-loggui was given.
6799 if test "${enable_loggui+set}" = set; then
6800 enableval
="$enable_loggui"
6802 if test "$enableval" = yes; then
6803 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6805 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6810 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x
; then
6812 eval "DEFAULT_$LINE"
6817 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6821 eval "$ac_cv_use_loggui"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6826 if test "$wxUSE_LOGGUI" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6839 # Check whether --enable-logwin or --disable-logwin was given.
6840 if test "${enable_logwin+set}" = set; then
6841 enableval
="$enable_logwin"
6843 if test "$enableval" = yes; then
6844 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6846 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6851 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x
; then
6853 eval "DEFAULT_$LINE"
6858 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6862 eval "$ac_cv_use_logwin"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6867 if test "$wxUSE_LOGWINDOW" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6880 # Check whether --enable-logdialog or --disable-logdialog was given.
6881 if test "${enable_logdialog+set}" = set; then
6882 enableval
="$enable_logdialog"
6884 if test "$enableval" = yes; then
6885 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6887 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6892 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x
; then
6894 eval "DEFAULT_$LINE"
6899 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6903 eval "$ac_cv_use_logdialog"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6908 if test "$wxUSE_LOGDIALOG" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6921 # Check whether --enable-webkit or --disable-webkit was given.
6922 if test "${enable_webkit+set}" = set; then
6923 enableval
="$enable_webkit"
6925 if test "$enableval" = yes; then
6926 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6928 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6933 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x
; then
6935 eval "DEFAULT_$LINE"
6940 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6944 eval "$ac_cv_use_webkit"
6945 if test "$no_cache" != 1; then
6946 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6949 if test "$wxUSE_WEBKIT" = yes; then
6950 echo "$as_me:$LINENO: result: yes" >&5
6951 echo "${ECHO_T}yes" >&6
6953 echo "$as_me:$LINENO: result: no" >&5
6954 echo "${ECHO_T}no" >&6
6960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6963 # Check whether --enable-postscript or --disable-postscript was given.
6964 if test "${enable_postscript+set}" = set; then
6965 enableval
="$enable_postscript"
6967 if test "$enableval" = yes; then
6968 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6970 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6975 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x
; then
6977 eval "DEFAULT_$LINE"
6982 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6986 eval "$ac_cv_use_postscript"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6991 if test "$wxUSE_POSTSCRIPT" = yes; then
6992 echo "$as_me:$LINENO: result: yes" >&5
6993 echo "${ECHO_T}yes" >&6
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7007 # Check whether --enable-prologio or --disable-prologio was given.
7008 if test "${enable_prologio+set}" = set; then
7009 enableval
="$enable_prologio"
7011 if test "$enableval" = yes; then
7012 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7014 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7019 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x
; then
7021 eval "DEFAULT_$LINE"
7026 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7030 eval "$ac_cv_use_prologio"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7035 if test "$wxUSE_PROLOGIO" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7048 # Check whether --enable-resources or --disable-resources was given.
7049 if test "${enable_resources+set}" = set; then
7050 enableval
="$enable_resources"
7052 if test "$enableval" = yes; then
7053 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7055 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7060 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x
; then
7062 eval "DEFAULT_$LINE"
7067 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7071 eval "$ac_cv_use_resources"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7076 if test "$wxUSE_RESOURCES" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7091 # Check whether --enable-clipboard or --disable-clipboard was given.
7092 if test "${enable_clipboard+set}" = set; then
7093 enableval
="$enable_clipboard"
7095 if test "$enableval" = yes; then
7096 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7098 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7103 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x
; then
7105 eval "DEFAULT_$LINE"
7110 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7114 eval "$ac_cv_use_clipboard"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7119 if test "$wxUSE_CLIPBOARD" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7132 # Check whether --enable-dnd or --disable-dnd was given.
7133 if test "${enable_dnd+set}" = set; then
7134 enableval
="$enable_dnd"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7139 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7144 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7155 eval "$ac_cv_use_dnd"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7160 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7173 # Check whether --enable-metafile or --disable-metafile was given.
7174 if test "${enable_metafile+set}" = set; then
7175 enableval
="$enable_metafile"
7177 if test "$enableval" = yes; then
7178 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7180 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7185 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x
; then
7187 eval "DEFAULT_$LINE"
7192 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7196 eval "$ac_cv_use_metafile"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_METAFILE" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7217 # Check whether --enable-controls or --disable-controls was given.
7218 if test "${enable_controls+set}" = set; then
7219 enableval
="$enable_controls"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7224 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7229 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7240 eval "$ac_cv_use_controls"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_CONTROLS" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7254 if test "$wxUSE_CONTROLS" = "yes"; then
7255 DEFAULT_wxUSE_ACCEL
=yes
7256 DEFAULT_wxUSE_BMPBUTTON
=yes
7257 DEFAULT_wxUSE_BUTTON
=yes
7258 DEFAULT_wxUSE_CALCTRL
=yes
7259 DEFAULT_wxUSE_CARET
=yes
7260 DEFAULT_wxUSE_COMBOBOX
=yes
7261 DEFAULT_wxUSE_CHECKBOX
=yes
7262 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7263 DEFAULT_wxUSE_CHOICE
=yes
7264 DEFAULT_wxUSE_CHOICEBOOK
=yes
7265 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7266 DEFAULT_wxUSE_GAUGE
=yes
7267 DEFAULT_wxUSE_GRID
=yes
7268 DEFAULT_wxUSE_IMAGLIST
=yes
7269 DEFAULT_wxUSE_LISTBOOK
=yes
7270 DEFAULT_wxUSE_LISTBOX
=yes
7271 DEFAULT_wxUSE_LISTCTRL
=yes
7272 DEFAULT_wxUSE_NOTEBOOK
=yes
7273 DEFAULT_wxUSE_RADIOBOX
=yes
7274 DEFAULT_wxUSE_RADIOBTN
=yes
7275 DEFAULT_wxUSE_SASH
=yes
7276 DEFAULT_wxUSE_SCROLLBAR
=yes
7277 DEFAULT_wxUSE_SLIDER
=yes
7278 DEFAULT_wxUSE_SPINBTN
=yes
7279 DEFAULT_wxUSE_SPINCTRL
=yes
7280 DEFAULT_wxUSE_SPLITTER
=yes
7281 DEFAULT_wxUSE_STATBMP
=yes
7282 DEFAULT_wxUSE_STATBOX
=yes
7283 DEFAULT_wxUSE_STATLINE
=yes
7284 DEFAULT_wxUSE_STATUSBAR
=yes
7285 DEFAULT_wxUSE_TAB_DIALOG
=yes
7286 DEFAULT_wxUSE_TOGGLEBTN
=yes
7287 DEFAULT_wxUSE_TOOLBAR
=yes
7288 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7289 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7290 DEFAULT_wxUSE_TOOLTIPS
=yes
7291 DEFAULT_wxUSE_TREECTRL
=yes
7292 DEFAULT_wxUSE_POPUPWIN
=yes
7293 DEFAULT_wxUSE_TIPWINDOW
=yes
7294 elif test "$wxUSE_CONTROLS" = "no"; then
7295 DEFAULT_wxUSE_ACCEL
=no
7296 DEFAULT_wxUSE_BMPBUTTON
=no
7297 DEFAULT_wxUSE_BUTTON
=no
7298 DEFAULT_wxUSE_CALCTRL
=no
7299 DEFAULT_wxUSE_CARET
=no
7300 DEFAULT_wxUSE_COMBOBOX
=no
7301 DEFAULT_wxUSE_CHECKBOX
=no
7302 DEFAULT_wxUSE_CHECKLISTBOX
=no
7303 DEFAULT_wxUSE_CHOICE
=no
7304 DEFAULT_wxUSE_CHOICEBOOK
=no
7305 DEFAULT_wxUSE_DATEPICKCTRL
=no
7306 DEFAULT_wxUSE_GAUGE
=no
7307 DEFAULT_wxUSE_GRID
=no
7308 DEFAULT_wxUSE_IMAGLIST
=no
7309 DEFAULT_wxUSE_LISTBOOK
=no
7310 DEFAULT_wxUSE_LISTBOX
=no
7311 DEFAULT_wxUSE_LISTCTRL
=no
7312 DEFAULT_wxUSE_NOTEBOOK
=no
7313 DEFAULT_wxUSE_RADIOBOX
=no
7314 DEFAULT_wxUSE_RADIOBTN
=no
7315 DEFAULT_wxUSE_SASH
=no
7316 DEFAULT_wxUSE_SCROLLBAR
=no
7317 DEFAULT_wxUSE_SLIDER
=no
7318 DEFAULT_wxUSE_SPINBTN
=no
7319 DEFAULT_wxUSE_SPINCTRL
=no
7320 DEFAULT_wxUSE_SPLITTER
=no
7321 DEFAULT_wxUSE_STATBMP
=no
7322 DEFAULT_wxUSE_STATBOX
=no
7323 DEFAULT_wxUSE_STATLINE
=no
7324 DEFAULT_wxUSE_STATUSBAR
=no
7325 DEFAULT_wxUSE_TAB_DIALOG
=no
7326 DEFAULT_wxUSE_TOGGLEBTN
=no
7327 DEFAULT_wxUSE_TOOLBAR
=no
7328 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7329 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7330 DEFAULT_wxUSE_TOOLTIPS
=no
7331 DEFAULT_wxUSE_TREECTRL
=no
7332 DEFAULT_wxUSE_POPUPWIN
=no
7333 DEFAULT_wxUSE_TIPWINDOW
=no
7338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7341 # Check whether --enable-accel or --disable-accel was given.
7342 if test "${enable_accel+set}" = set; then
7343 enableval
="$enable_accel"
7345 if test "$enableval" = yes; then
7346 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7348 ac_cv_use_accel
='wxUSE_ACCEL=no'
7353 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7354 if test "x$LINE" != x
; then
7355 eval "DEFAULT_$LINE"
7360 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7364 eval "$ac_cv_use_accel"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7369 if test "$wxUSE_ACCEL" = yes; then
7370 echo "$as_me:$LINENO: result: yes" >&5
7371 echo "${ECHO_T}yes" >&6
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7380 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7382 # Check whether --enable-button or --disable-button was given.
7383 if test "${enable_button+set}" = set; then
7384 enableval
="$enable_button"
7386 if test "$enableval" = yes; then
7387 ac_cv_use_button
='wxUSE_BUTTON=yes'
7389 ac_cv_use_button
='wxUSE_BUTTON=no'
7394 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7395 if test "x$LINE" != x
; then
7396 eval "DEFAULT_$LINE"
7401 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7405 eval "$ac_cv_use_button"
7406 if test "$no_cache" != 1; then
7407 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7410 if test "$wxUSE_BUTTON" = yes; then
7411 echo "$as_me:$LINENO: result: yes" >&5
7412 echo "${ECHO_T}yes" >&6
7414 echo "$as_me:$LINENO: result: no" >&5
7415 echo "${ECHO_T}no" >&6
7420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7421 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7423 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7424 if test "${enable_bmpbutton+set}" = set; then
7425 enableval
="$enable_bmpbutton"
7427 if test "$enableval" = yes; then
7428 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7430 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7435 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x
; then
7437 eval "DEFAULT_$LINE"
7442 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7446 eval "$ac_cv_use_bmpbutton"
7447 if test "$no_cache" != 1; then
7448 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7451 if test "$wxUSE_BMPBUTTON" = yes; then
7452 echo "$as_me:$LINENO: result: yes" >&5
7453 echo "${ECHO_T}yes" >&6
7455 echo "$as_me:$LINENO: result: no" >&5
7456 echo "${ECHO_T}no" >&6
7461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7462 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7464 # Check whether --enable-calendar or --disable-calendar was given.
7465 if test "${enable_calendar+set}" = set; then
7466 enableval
="$enable_calendar"
7468 if test "$enableval" = yes; then
7469 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7471 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7476 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7477 if test "x$LINE" != x
; then
7478 eval "DEFAULT_$LINE"
7483 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7487 eval "$ac_cv_use_calendar"
7488 if test "$no_cache" != 1; then
7489 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7492 if test "$wxUSE_CALCTRL" = yes; then
7493 echo "$as_me:$LINENO: result: yes" >&5
7494 echo "${ECHO_T}yes" >&6
7496 echo "$as_me:$LINENO: result: no" >&5
7497 echo "${ECHO_T}no" >&6
7502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7503 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7505 # Check whether --enable-caret or --disable-caret was given.
7506 if test "${enable_caret+set}" = set; then
7507 enableval
="$enable_caret"
7509 if test "$enableval" = yes; then
7510 ac_cv_use_caret
='wxUSE_CARET=yes'
7512 ac_cv_use_caret
='wxUSE_CARET=no'
7517 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7518 if test "x$LINE" != x
; then
7519 eval "DEFAULT_$LINE"
7524 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7528 eval "$ac_cv_use_caret"
7529 if test "$no_cache" != 1; then
7530 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7533 if test "$wxUSE_CARET" = yes; then
7534 echo "$as_me:$LINENO: result: yes" >&5
7535 echo "${ECHO_T}yes" >&6
7537 echo "$as_me:$LINENO: result: no" >&5
7538 echo "${ECHO_T}no" >&6
7543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7544 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7546 # Check whether --enable-checkbox or --disable-checkbox was given.
7547 if test "${enable_checkbox+set}" = set; then
7548 enableval
="$enable_checkbox"
7550 if test "$enableval" = yes; then
7551 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7553 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7558 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7559 if test "x$LINE" != x
; then
7560 eval "DEFAULT_$LINE"
7565 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7569 eval "$ac_cv_use_checkbox"
7570 if test "$no_cache" != 1; then
7571 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7574 if test "$wxUSE_CHECKBOX" = yes; then
7575 echo "$as_me:$LINENO: result: yes" >&5
7576 echo "${ECHO_T}yes" >&6
7578 echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6
7584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7585 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7587 # Check whether --enable-checklst or --disable-checklst was given.
7588 if test "${enable_checklst+set}" = set; then
7589 enableval
="$enable_checklst"
7591 if test "$enableval" = yes; then
7592 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7594 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7599 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x
; then
7601 eval "DEFAULT_$LINE"
7606 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7610 eval "$ac_cv_use_checklst"
7611 if test "$no_cache" != 1; then
7612 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7615 if test "$wxUSE_CHECKLST" = yes; then
7616 echo "$as_me:$LINENO: result: yes" >&5
7617 echo "${ECHO_T}yes" >&6
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7628 # Check whether --enable-choice or --disable-choice was given.
7629 if test "${enable_choice+set}" = set; then
7630 enableval
="$enable_choice"
7632 if test "$enableval" = yes; then
7633 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7635 ac_cv_use_choice
='wxUSE_CHOICE=no'
7640 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x
; then
7642 eval "DEFAULT_$LINE"
7647 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7651 eval "$ac_cv_use_choice"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7656 if test "$wxUSE_CHOICE" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7669 # Check whether --enable-choicebook or --disable-choicebook was given.
7670 if test "${enable_choicebook+set}" = set; then
7671 enableval
="$enable_choicebook"
7673 if test "$enableval" = yes; then
7674 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7676 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7681 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x
; then
7683 eval "DEFAULT_$LINE"
7688 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7692 eval "$ac_cv_use_choicebook"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7697 if test "$wxUSE_CHOICEBOOK" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7710 # Check whether --enable-combobox or --disable-combobox was given.
7711 if test "${enable_combobox+set}" = set; then
7712 enableval
="$enable_combobox"
7714 if test "$enableval" = yes; then
7715 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7717 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7722 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x
; then
7724 eval "DEFAULT_$LINE"
7729 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7733 eval "$ac_cv_use_combobox"
7734 if test "$no_cache" != 1; then
7735 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7738 if test "$wxUSE_COMBOBOX" = yes; then
7739 echo "$as_me:$LINENO: result: yes" >&5
7740 echo "${ECHO_T}yes" >&6
7742 echo "$as_me:$LINENO: result: no" >&5
7743 echo "${ECHO_T}no" >&6
7748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7751 # Check whether --enable-datepick or --disable-datepick was given.
7752 if test "${enable_datepick+set}" = set; then
7753 enableval
="$enable_datepick"
7755 if test "$enableval" = yes; then
7756 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7758 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7763 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x
; then
7765 eval "DEFAULT_$LINE"
7770 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7774 eval "$ac_cv_use_datepick"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7779 if test "$wxUSE_DATEPICKCTRL" = yes; then
7780 echo "$as_me:$LINENO: result: yes" >&5
7781 echo "${ECHO_T}yes" >&6
7783 echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7792 # Check whether --enable-display or --disable-display was given.
7793 if test "${enable_display+set}" = set; then
7794 enableval
="$enable_display"
7796 if test "$enableval" = yes; then
7797 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7799 ac_cv_use_display
='wxUSE_DISPLAY=no'
7804 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x
; then
7806 eval "DEFAULT_$LINE"
7811 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7815 eval "$ac_cv_use_display"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7820 if test "$wxUSE_DISPLAY" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7833 # Check whether --enable-gauge or --disable-gauge was given.
7834 if test "${enable_gauge+set}" = set; then
7835 enableval
="$enable_gauge"
7837 if test "$enableval" = yes; then
7838 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7840 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7845 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x
; then
7847 eval "DEFAULT_$LINE"
7852 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7856 eval "$ac_cv_use_gauge"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7861 if test "$wxUSE_GAUGE" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7874 # Check whether --enable-grid or --disable-grid was given.
7875 if test "${enable_grid+set}" = set; then
7876 enableval
="$enable_grid"
7878 if test "$enableval" = yes; then
7879 ac_cv_use_grid
='wxUSE_GRID=yes'
7881 ac_cv_use_grid
='wxUSE_GRID=no'
7886 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7887 if test "x$LINE" != x
; then
7888 eval "DEFAULT_$LINE"
7893 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7897 eval "$ac_cv_use_grid"
7898 if test "$no_cache" != 1; then
7899 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7902 if test "$wxUSE_GRID" = yes; then
7903 echo "$as_me:$LINENO: result: yes" >&5
7904 echo "${ECHO_T}yes" >&6
7906 echo "$as_me:$LINENO: result: no" >&5
7907 echo "${ECHO_T}no" >&6
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7915 # Check whether --enable-imaglist or --disable-imaglist was given.
7916 if test "${enable_imaglist+set}" = set; then
7917 enableval
="$enable_imaglist"
7919 if test "$enableval" = yes; then
7920 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7922 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7927 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x
; then
7929 eval "DEFAULT_$LINE"
7934 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7938 eval "$ac_cv_use_imaglist"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7943 if test "$wxUSE_IMAGLIST" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7956 # Check whether --enable-listbook or --disable-listbook was given.
7957 if test "${enable_listbook+set}" = set; then
7958 enableval
="$enable_listbook"
7960 if test "$enableval" = yes; then
7961 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7963 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7968 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x
; then
7970 eval "DEFAULT_$LINE"
7975 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7979 eval "$ac_cv_use_listbook"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7984 if test "$wxUSE_LISTBOOK" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7997 # Check whether --enable-listbox or --disable-listbox was given.
7998 if test "${enable_listbox+set}" = set; then
7999 enableval
="$enable_listbox"
8001 if test "$enableval" = yes; then
8002 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8004 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8009 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x
; then
8011 eval "DEFAULT_$LINE"
8016 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8020 eval "$ac_cv_use_listbox"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8025 if test "$wxUSE_LISTBOX" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8038 # Check whether --enable-listctrl or --disable-listctrl was given.
8039 if test "${enable_listctrl+set}" = set; then
8040 enableval
="$enable_listctrl"
8042 if test "$enableval" = yes; then
8043 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8045 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8050 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x
; then
8052 eval "DEFAULT_$LINE"
8057 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8061 eval "$ac_cv_use_listctrl"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8066 if test "$wxUSE_LISTCTRL" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8079 # Check whether --enable-notebook or --disable-notebook was given.
8080 if test "${enable_notebook+set}" = set; then
8081 enableval
="$enable_notebook"
8083 if test "$enableval" = yes; then
8084 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8086 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8091 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x
; then
8093 eval "DEFAULT_$LINE"
8098 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8102 eval "$ac_cv_use_notebook"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8107 if test "$wxUSE_NOTEBOOK" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8120 # Check whether --enable-radiobox or --disable-radiobox was given.
8121 if test "${enable_radiobox+set}" = set; then
8122 enableval
="$enable_radiobox"
8124 if test "$enableval" = yes; then
8125 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8127 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8132 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x
; then
8134 eval "DEFAULT_$LINE"
8139 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8143 eval "$ac_cv_use_radiobox"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8148 if test "$wxUSE_RADIOBOX" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8161 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8162 if test "${enable_radiobtn+set}" = set; then
8163 enableval
="$enable_radiobtn"
8165 if test "$enableval" = yes; then
8166 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8168 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8173 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x
; then
8175 eval "DEFAULT_$LINE"
8180 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8184 eval "$ac_cv_use_radiobtn"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8189 if test "$wxUSE_RADIOBTN" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8202 # Check whether --enable-sash or --disable-sash was given.
8203 if test "${enable_sash+set}" = set; then
8204 enableval
="$enable_sash"
8206 if test "$enableval" = yes; then
8207 ac_cv_use_sash
='wxUSE_SASH=yes'
8209 ac_cv_use_sash
='wxUSE_SASH=no'
8214 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x
; then
8216 eval "DEFAULT_$LINE"
8221 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8225 eval "$ac_cv_use_sash"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8230 if test "$wxUSE_SASH" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8243 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8244 if test "${enable_scrollbar+set}" = set; then
8245 enableval
="$enable_scrollbar"
8247 if test "$enableval" = yes; then
8248 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8250 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8255 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x
; then
8257 eval "DEFAULT_$LINE"
8262 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8266 eval "$ac_cv_use_scrollbar"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8271 if test "$wxUSE_SCROLLBAR" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8284 # Check whether --enable-slider or --disable-slider was given.
8285 if test "${enable_slider+set}" = set; then
8286 enableval
="$enable_slider"
8288 if test "$enableval" = yes; then
8289 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8291 ac_cv_use_slider
='wxUSE_SLIDER=no'
8296 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x
; then
8298 eval "DEFAULT_$LINE"
8303 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8307 eval "$ac_cv_use_slider"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8312 if test "$wxUSE_SLIDER" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8325 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8326 if test "${enable_spinbtn+set}" = set; then
8327 enableval
="$enable_spinbtn"
8329 if test "$enableval" = yes; then
8330 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8332 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8337 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x
; then
8339 eval "DEFAULT_$LINE"
8344 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8348 eval "$ac_cv_use_spinbtn"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8353 if test "$wxUSE_SPINBTN" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8366 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8367 if test "${enable_spinctrl+set}" = set; then
8368 enableval
="$enable_spinctrl"
8370 if test "$enableval" = yes; then
8371 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8373 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8378 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x
; then
8380 eval "DEFAULT_$LINE"
8385 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8389 eval "$ac_cv_use_spinctrl"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8394 if test "$wxUSE_SPINCTRL" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8407 # Check whether --enable-splitter or --disable-splitter was given.
8408 if test "${enable_splitter+set}" = set; then
8409 enableval
="$enable_splitter"
8411 if test "$enableval" = yes; then
8412 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8414 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8419 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x
; then
8421 eval "DEFAULT_$LINE"
8426 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8430 eval "$ac_cv_use_splitter"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8435 if test "$wxUSE_SPLITTER" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8448 # Check whether --enable-statbmp or --disable-statbmp was given.
8449 if test "${enable_statbmp+set}" = set; then
8450 enableval
="$enable_statbmp"
8452 if test "$enableval" = yes; then
8453 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8455 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8460 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x
; then
8462 eval "DEFAULT_$LINE"
8467 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8471 eval "$ac_cv_use_statbmp"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8476 if test "$wxUSE_STATBMP" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8489 # Check whether --enable-statbox or --disable-statbox was given.
8490 if test "${enable_statbox+set}" = set; then
8491 enableval
="$enable_statbox"
8493 if test "$enableval" = yes; then
8494 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8496 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8501 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x
; then
8503 eval "DEFAULT_$LINE"
8508 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8512 eval "$ac_cv_use_statbox"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8517 if test "$wxUSE_STATBOX" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8530 # Check whether --enable-statline or --disable-statline was given.
8531 if test "${enable_statline+set}" = set; then
8532 enableval
="$enable_statline"
8534 if test "$enableval" = yes; then
8535 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8537 ac_cv_use_statline
='wxUSE_STATLINE=no'
8542 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x
; then
8544 eval "DEFAULT_$LINE"
8549 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8553 eval "$ac_cv_use_statline"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8558 if test "$wxUSE_STATLINE" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8571 # Check whether --enable-stattext or --disable-stattext was given.
8572 if test "${enable_stattext+set}" = set; then
8573 enableval
="$enable_stattext"
8575 if test "$enableval" = yes; then
8576 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8578 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8583 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x
; then
8585 eval "DEFAULT_$LINE"
8590 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8594 eval "$ac_cv_use_stattext"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8599 if test "$wxUSE_STATTEXT" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8612 # Check whether --enable-statusbar or --disable-statusbar was given.
8613 if test "${enable_statusbar+set}" = set; then
8614 enableval
="$enable_statusbar"
8616 if test "$enableval" = yes; then
8617 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8619 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8624 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x
; then
8626 eval "DEFAULT_$LINE"
8631 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8635 eval "$ac_cv_use_statusbar"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8640 if test "$wxUSE_STATUSBAR" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8653 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8654 if test "${enable_tabdialog+set}" = set; then
8655 enableval
="$enable_tabdialog"
8657 if test "$enableval" = yes; then
8658 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8660 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8665 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x
; then
8667 eval "DEFAULT_$LINE"
8672 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8676 eval "$ac_cv_use_tabdialog"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8681 if test "$wxUSE_TABDIALOG" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8694 # Check whether --enable-textctrl or --disable-textctrl was given.
8695 if test "${enable_textctrl+set}" = set; then
8696 enableval
="$enable_textctrl"
8698 if test "$enableval" = yes; then
8699 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8701 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8706 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x
; then
8708 eval "DEFAULT_$LINE"
8713 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8717 eval "$ac_cv_use_textctrl"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8722 if test "$wxUSE_TEXTCTRL" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8735 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8736 if test "${enable_togglebtn+set}" = set; then
8737 enableval
="$enable_togglebtn"
8739 if test "$enableval" = yes; then
8740 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8742 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8747 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x
; then
8749 eval "DEFAULT_$LINE"
8754 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8758 eval "$ac_cv_use_togglebtn"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8763 if test "$wxUSE_TOGGLEBTN" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8776 # Check whether --enable-toolbar or --disable-toolbar was given.
8777 if test "${enable_toolbar+set}" = set; then
8778 enableval
="$enable_toolbar"
8780 if test "$enableval" = yes; then
8781 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8783 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8788 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x
; then
8790 eval "DEFAULT_$LINE"
8795 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8799 eval "$ac_cv_use_toolbar"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8804 if test "$wxUSE_TOOLBAR" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8817 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8818 if test "${enable_tbarnative+set}" = set; then
8819 enableval
="$enable_tbarnative"
8821 if test "$enableval" = yes; then
8822 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8824 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8829 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x
; then
8831 eval "DEFAULT_$LINE"
8836 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8840 eval "$ac_cv_use_tbarnative"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8845 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8858 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8859 if test "${enable_tbarsmpl+set}" = set; then
8860 enableval
="$enable_tbarsmpl"
8862 if test "$enableval" = yes; then
8863 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8865 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8870 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x
; then
8872 eval "DEFAULT_$LINE"
8877 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8881 eval "$ac_cv_use_tbarsmpl"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8886 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8899 # Check whether --enable-treectrl or --disable-treectrl was given.
8900 if test "${enable_treectrl+set}" = set; then
8901 enableval
="$enable_treectrl"
8903 if test "$enableval" = yes; then
8904 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8906 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8911 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x
; then
8913 eval "DEFAULT_$LINE"
8918 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8922 eval "$ac_cv_use_treectrl"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8927 if test "$wxUSE_TREECTRL" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8940 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8941 if test "${enable_tipwindow+set}" = set; then
8942 enableval
="$enable_tipwindow"
8944 if test "$enableval" = yes; then
8945 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8947 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8952 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x
; then
8954 eval "DEFAULT_$LINE"
8959 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8963 eval "$ac_cv_use_tipwindow"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8968 if test "$wxUSE_TIPWINDOW" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8981 # Check whether --enable-popupwin or --disable-popupwin was given.
8982 if test "${enable_popupwin+set}" = set; then
8983 enableval
="$enable_popupwin"
8985 if test "$enableval" = yes; then
8986 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8988 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8993 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x
; then
8995 eval "DEFAULT_$LINE"
9000 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9004 eval "$ac_cv_use_popupwin"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9009 if test "$wxUSE_POPUPWIN" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9024 # Check whether --enable-commondlg or --disable-commondlg was given.
9025 if test "${enable_commondlg+set}" = set; then
9026 enableval
="$enable_commondlg"
9028 if test "$enableval" = yes; then
9029 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9031 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9036 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9037 if test "x$LINE" != x
; then
9038 eval "DEFAULT_$LINE"
9043 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9047 eval "$ac_cv_use_commondlg"
9048 if test "$no_cache" != 1; then
9049 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9052 if test "$wxUSE_COMMONDLGS" = yes; then
9053 echo "$as_me:$LINENO: result: yes" >&5
9054 echo "${ECHO_T}yes" >&6
9056 echo "$as_me:$LINENO: result: no" >&5
9057 echo "${ECHO_T}no" >&6
9062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9063 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9065 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9066 if test "${enable_choicedlg+set}" = set; then
9067 enableval
="$enable_choicedlg"
9069 if test "$enableval" = yes; then
9070 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9072 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9077 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9078 if test "x$LINE" != x
; then
9079 eval "DEFAULT_$LINE"
9084 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9088 eval "$ac_cv_use_choicedlg"
9089 if test "$no_cache" != 1; then
9090 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9093 if test "$wxUSE_CHOICEDLG" = yes; then
9094 echo "$as_me:$LINENO: result: yes" >&5
9095 echo "${ECHO_T}yes" >&6
9097 echo "$as_me:$LINENO: result: no" >&5
9098 echo "${ECHO_T}no" >&6
9103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9106 # Check whether --enable-coldlg or --disable-coldlg was given.
9107 if test "${enable_coldlg+set}" = set; then
9108 enableval
="$enable_coldlg"
9110 if test "$enableval" = yes; then
9111 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9113 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9118 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9119 if test "x$LINE" != x
; then
9120 eval "DEFAULT_$LINE"
9125 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9129 eval "$ac_cv_use_coldlg"
9130 if test "$no_cache" != 1; then
9131 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9134 if test "$wxUSE_COLOURDLG" = yes; then
9135 echo "$as_me:$LINENO: result: yes" >&5
9136 echo "${ECHO_T}yes" >&6
9138 echo "$as_me:$LINENO: result: no" >&5
9139 echo "${ECHO_T}no" >&6
9144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9145 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9147 # Check whether --enable-filedlg or --disable-filedlg was given.
9148 if test "${enable_filedlg+set}" = set; then
9149 enableval
="$enable_filedlg"
9151 if test "$enableval" = yes; then
9152 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9154 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9159 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9160 if test "x$LINE" != x
; then
9161 eval "DEFAULT_$LINE"
9166 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9170 eval "$ac_cv_use_filedlg"
9171 if test "$no_cache" != 1; then
9172 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9175 if test "$wxUSE_FILEDLG" = yes; then
9176 echo "$as_me:$LINENO: result: yes" >&5
9177 echo "${ECHO_T}yes" >&6
9179 echo "$as_me:$LINENO: result: no" >&5
9180 echo "${ECHO_T}no" >&6
9185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9186 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9188 # Check whether --enable-finddlg or --disable-finddlg was given.
9189 if test "${enable_finddlg+set}" = set; then
9190 enableval
="$enable_finddlg"
9192 if test "$enableval" = yes; then
9193 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9195 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9200 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9201 if test "x$LINE" != x
; then
9202 eval "DEFAULT_$LINE"
9207 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9211 eval "$ac_cv_use_finddlg"
9212 if test "$no_cache" != 1; then
9213 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9216 if test "$wxUSE_FINDREPLDLG" = yes; then
9217 echo "$as_me:$LINENO: result: yes" >&5
9218 echo "${ECHO_T}yes" >&6
9220 echo "$as_me:$LINENO: result: no" >&5
9221 echo "${ECHO_T}no" >&6
9226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9227 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9229 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9230 if test "${enable_fontdlg+set}" = set; then
9231 enableval
="$enable_fontdlg"
9233 if test "$enableval" = yes; then
9234 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9236 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9241 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9242 if test "x$LINE" != x
; then
9243 eval "DEFAULT_$LINE"
9248 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9252 eval "$ac_cv_use_fontdlg"
9253 if test "$no_cache" != 1; then
9254 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9257 if test "$wxUSE_FONTDLG" = yes; then
9258 echo "$as_me:$LINENO: result: yes" >&5
9259 echo "${ECHO_T}yes" >&6
9261 echo "$as_me:$LINENO: result: no" >&5
9262 echo "${ECHO_T}no" >&6
9267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9268 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9270 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9271 if test "${enable_dirdlg+set}" = set; then
9272 enableval
="$enable_dirdlg"
9274 if test "$enableval" = yes; then
9275 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9277 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9282 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9283 if test "x$LINE" != x
; then
9284 eval "DEFAULT_$LINE"
9289 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9293 eval "$ac_cv_use_dirdlg"
9294 if test "$no_cache" != 1; then
9295 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9298 if test "$wxUSE_DIRDLG" = yes; then
9299 echo "$as_me:$LINENO: result: yes" >&5
9300 echo "${ECHO_T}yes" >&6
9302 echo "$as_me:$LINENO: result: no" >&5
9303 echo "${ECHO_T}no" >&6
9308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9309 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9311 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9312 if test "${enable_msgdlg+set}" = set; then
9313 enableval
="$enable_msgdlg"
9315 if test "$enableval" = yes; then
9316 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9318 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9323 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9324 if test "x$LINE" != x
; then
9325 eval "DEFAULT_$LINE"
9330 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9334 eval "$ac_cv_use_msgdlg"
9335 if test "$no_cache" != 1; then
9336 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9339 if test "$wxUSE_MSGDLG" = yes; then
9340 echo "$as_me:$LINENO: result: yes" >&5
9341 echo "${ECHO_T}yes" >&6
9343 echo "$as_me:$LINENO: result: no" >&5
9344 echo "${ECHO_T}no" >&6
9349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9350 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9352 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9353 if test "${enable_numberdlg+set}" = set; then
9354 enableval
="$enable_numberdlg"
9356 if test "$enableval" = yes; then
9357 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9359 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9364 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9365 if test "x$LINE" != x
; then
9366 eval "DEFAULT_$LINE"
9371 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9375 eval "$ac_cv_use_numberdlg"
9376 if test "$no_cache" != 1; then
9377 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9380 if test "$wxUSE_NUMBERDLG" = yes; then
9381 echo "$as_me:$LINENO: result: yes" >&5
9382 echo "${ECHO_T}yes" >&6
9384 echo "$as_me:$LINENO: result: no" >&5
9385 echo "${ECHO_T}no" >&6
9390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9393 # Check whether --enable-splash or --disable-splash was given.
9394 if test "${enable_splash+set}" = set; then
9395 enableval
="$enable_splash"
9397 if test "$enableval" = yes; then
9398 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9400 ac_cv_use_splash
='wxUSE_SPLASH=no'
9405 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9406 if test "x$LINE" != x
; then
9407 eval "DEFAULT_$LINE"
9412 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9416 eval "$ac_cv_use_splash"
9417 if test "$no_cache" != 1; then
9418 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9421 if test "$wxUSE_SPLASH" = yes; then
9422 echo "$as_me:$LINENO: result: yes" >&5
9423 echo "${ECHO_T}yes" >&6
9425 echo "$as_me:$LINENO: result: no" >&5
9426 echo "${ECHO_T}no" >&6
9431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9432 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9434 # Check whether --enable-textdlg or --disable-textdlg was given.
9435 if test "${enable_textdlg+set}" = set; then
9436 enableval
="$enable_textdlg"
9438 if test "$enableval" = yes; then
9439 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9441 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9446 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9447 if test "x$LINE" != x
; then
9448 eval "DEFAULT_$LINE"
9453 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9457 eval "$ac_cv_use_textdlg"
9458 if test "$no_cache" != 1; then
9459 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9462 if test "$wxUSE_TEXTDLG" = yes; then
9463 echo "$as_me:$LINENO: result: yes" >&5
9464 echo "${ECHO_T}yes" >&6
9466 echo "$as_me:$LINENO: result: no" >&5
9467 echo "${ECHO_T}no" >&6
9472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9473 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9475 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9476 if test "${enable_tipdlg+set}" = set; then
9477 enableval
="$enable_tipdlg"
9479 if test "$enableval" = yes; then
9480 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9482 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9487 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9488 if test "x$LINE" != x
; then
9489 eval "DEFAULT_$LINE"
9494 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9498 eval "$ac_cv_use_tipdlg"
9499 if test "$no_cache" != 1; then
9500 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9503 if test "$wxUSE_STARTUP_TIPS" = yes; then
9504 echo "$as_me:$LINENO: result: yes" >&5
9505 echo "${ECHO_T}yes" >&6
9507 echo "$as_me:$LINENO: result: no" >&5
9508 echo "${ECHO_T}no" >&6
9513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9514 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9516 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9517 if test "${enable_progressdlg+set}" = set; then
9518 enableval
="$enable_progressdlg"
9520 if test "$enableval" = yes; then
9521 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9523 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9528 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9529 if test "x$LINE" != x
; then
9530 eval "DEFAULT_$LINE"
9535 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9539 eval "$ac_cv_use_progressdlg"
9540 if test "$no_cache" != 1; then
9541 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9544 if test "$wxUSE_PROGRESSDLG" = yes; then
9545 echo "$as_me:$LINENO: result: yes" >&5
9546 echo "${ECHO_T}yes" >&6
9548 echo "$as_me:$LINENO: result: no" >&5
9549 echo "${ECHO_T}no" >&6
9554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9555 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9557 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9558 if test "${enable_wizarddlg+set}" = set; then
9559 enableval
="$enable_wizarddlg"
9561 if test "$enableval" = yes; then
9562 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9564 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9569 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9570 if test "x$LINE" != x
; then
9571 eval "DEFAULT_$LINE"
9576 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9580 eval "$ac_cv_use_wizarddlg"
9581 if test "$no_cache" != 1; then
9582 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9585 if test "$wxUSE_WIZARDDLG" = yes; then
9586 echo "$as_me:$LINENO: result: yes" >&5
9587 echo "${ECHO_T}yes" >&6
9589 echo "$as_me:$LINENO: result: no" >&5
9590 echo "${ECHO_T}no" >&6
9597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9598 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9600 # Check whether --enable-menus or --disable-menus was given.
9601 if test "${enable_menus+set}" = set; then
9602 enableval
="$enable_menus"
9604 if test "$enableval" = yes; then
9605 ac_cv_use_menus
='wxUSE_MENUS=yes'
9607 ac_cv_use_menus
='wxUSE_MENUS=no'
9612 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9613 if test "x$LINE" != x
; then
9614 eval "DEFAULT_$LINE"
9619 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9623 eval "$ac_cv_use_menus"
9624 if test "$no_cache" != 1; then
9625 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9628 if test "$wxUSE_MENUS" = yes; then
9629 echo "$as_me:$LINENO: result: yes" >&5
9630 echo "${ECHO_T}yes" >&6
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9641 # Check whether --enable-miniframe or --disable-miniframe was given.
9642 if test "${enable_miniframe+set}" = set; then
9643 enableval
="$enable_miniframe"
9645 if test "$enableval" = yes; then
9646 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9648 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9653 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9654 if test "x$LINE" != x
; then
9655 eval "DEFAULT_$LINE"
9660 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9664 eval "$ac_cv_use_miniframe"
9665 if test "$no_cache" != 1; then
9666 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9669 if test "$wxUSE_MINIFRAME" = yes; then
9670 echo "$as_me:$LINENO: result: yes" >&5
9671 echo "${ECHO_T}yes" >&6
9673 echo "$as_me:$LINENO: result: no" >&5
9674 echo "${ECHO_T}no" >&6
9679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9682 # Check whether --enable-tooltips or --disable-tooltips was given.
9683 if test "${enable_tooltips+set}" = set; then
9684 enableval
="$enable_tooltips"
9686 if test "$enableval" = yes; then
9687 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9689 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9694 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9695 if test "x$LINE" != x
; then
9696 eval "DEFAULT_$LINE"
9701 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9705 eval "$ac_cv_use_tooltips"
9706 if test "$no_cache" != 1; then
9707 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9710 if test "$wxUSE_TOOLTIPS" = yes; then
9711 echo "$as_me:$LINENO: result: yes" >&5
9712 echo "${ECHO_T}yes" >&6
9714 echo "$as_me:$LINENO: result: no" >&5
9715 echo "${ECHO_T}no" >&6
9720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9723 # Check whether --enable-splines or --disable-splines was given.
9724 if test "${enable_splines+set}" = set; then
9725 enableval
="$enable_splines"
9727 if test "$enableval" = yes; then
9728 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9730 ac_cv_use_splines
='wxUSE_SPLINES=no'
9735 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9736 if test "x$LINE" != x
; then
9737 eval "DEFAULT_$LINE"
9742 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9746 eval "$ac_cv_use_splines"
9747 if test "$no_cache" != 1; then
9748 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9751 if test "$wxUSE_SPLINES" = yes; then
9752 echo "$as_me:$LINENO: result: yes" >&5
9753 echo "${ECHO_T}yes" >&6
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9764 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9765 if test "${enable_mousewheel+set}" = set; then
9766 enableval
="$enable_mousewheel"
9768 if test "$enableval" = yes; then
9769 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
9771 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
9776 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x
; then
9778 eval "DEFAULT_$LINE"
9783 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9787 eval "$ac_cv_use_mousewheel"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9792 if test "$wxUSE_MOUSEWHEEL" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9805 # Check whether --enable-validators or --disable-validators was given.
9806 if test "${enable_validators+set}" = set; then
9807 enableval
="$enable_validators"
9809 if test "$enableval" = yes; then
9810 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9812 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9817 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x
; then
9819 eval "DEFAULT_$LINE"
9824 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9828 eval "$ac_cv_use_validators"
9829 if test "$no_cache" != 1; then
9830 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9833 if test "$wxUSE_VALIDATORS" = yes; then
9834 echo "$as_me:$LINENO: result: yes" >&5
9835 echo "${ECHO_T}yes" >&6
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9846 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9847 if test "${enable_busyinfo+set}" = set; then
9848 enableval
="$enable_busyinfo"
9850 if test "$enableval" = yes; then
9851 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9853 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9858 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9859 if test "x$LINE" != x
; then
9860 eval "DEFAULT_$LINE"
9865 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9869 eval "$ac_cv_use_busyinfo"
9870 if test "$no_cache" != 1; then
9871 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9874 if test "$wxUSE_BUSYINFO" = yes; then
9875 echo "$as_me:$LINENO: result: yes" >&5
9876 echo "${ECHO_T}yes" >&6
9878 echo "$as_me:$LINENO: result: no" >&5
9879 echo "${ECHO_T}no" >&6
9884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9885 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9887 # Check whether --enable-joystick or --disable-joystick was given.
9888 if test "${enable_joystick+set}" = set; then
9889 enableval
="$enable_joystick"
9891 if test "$enableval" = yes; then
9892 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9894 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9899 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x
; then
9901 eval "DEFAULT_$LINE"
9906 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9910 eval "$ac_cv_use_joystick"
9911 if test "$no_cache" != 1; then
9912 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9915 if test "$wxUSE_JOYSTICK" = yes; then
9916 echo "$as_me:$LINENO: result: yes" >&5
9917 echo "${ECHO_T}yes" >&6
9919 echo "$as_me:$LINENO: result: no" >&5
9920 echo "${ECHO_T}no" >&6
9925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9926 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9928 # Check whether --enable-metafile or --disable-metafile was given.
9929 if test "${enable_metafile+set}" = set; then
9930 enableval
="$enable_metafile"
9932 if test "$enableval" = yes; then
9933 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9935 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9940 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9941 if test "x$LINE" != x
; then
9942 eval "DEFAULT_$LINE"
9947 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9951 eval "$ac_cv_use_metafile"
9952 if test "$no_cache" != 1; then
9953 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9956 if test "$wxUSE_METAFILE" = yes; then
9957 echo "$as_me:$LINENO: result: yes" >&5
9958 echo "${ECHO_T}yes" >&6
9960 echo "$as_me:$LINENO: result: no" >&5
9961 echo "${ECHO_T}no" >&6
9966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9967 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9969 # Check whether --enable-dragimage or --disable-dragimage was given.
9970 if test "${enable_dragimage+set}" = set; then
9971 enableval
="$enable_dragimage"
9973 if test "$enableval" = yes; then
9974 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9976 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9981 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9982 if test "x$LINE" != x
; then
9983 eval "DEFAULT_$LINE"
9988 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9992 eval "$ac_cv_use_dragimage"
9993 if test "$no_cache" != 1; then
9994 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9997 if test "$wxUSE_DRAGIMAGE" = yes; then
9998 echo "$as_me:$LINENO: result: yes" >&5
9999 echo "${ECHO_T}yes" >&6
10001 echo "$as_me:$LINENO: result: no" >&5
10002 echo "${ECHO_T}no" >&6
10007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10010 # Check whether --enable-accessibility or --disable-accessibility was given.
10011 if test "${enable_accessibility+set}" = set; then
10012 enableval
="$enable_accessibility"
10014 if test "$enableval" = yes; then
10015 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10017 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10022 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10023 if test "x$LINE" != x
; then
10024 eval "DEFAULT_$LINE"
10029 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10033 eval "$ac_cv_use_accessibility"
10034 if test "$no_cache" != 1; then
10035 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10038 if test "$wxUSE_ACCESSIBILITY" = yes; then
10039 echo "$as_me:$LINENO: result: yes" >&5
10040 echo "${ECHO_T}yes" >&6
10042 echo "$as_me:$LINENO: result: no" >&5
10043 echo "${ECHO_T}no" >&6
10050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10051 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10053 # Check whether --enable-palette or --disable-palette was given.
10054 if test "${enable_palette+set}" = set; then
10055 enableval
="$enable_palette"
10057 if test "$enableval" = yes; then
10058 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10060 ac_cv_use_palette
='wxUSE_PALETTE=no'
10065 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10066 if test "x$LINE" != x
; then
10067 eval "DEFAULT_$LINE"
10072 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10076 eval "$ac_cv_use_palette"
10077 if test "$no_cache" != 1; then
10078 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10081 if test "$wxUSE_PALETTE" = yes; then
10082 echo "$as_me:$LINENO: result: yes" >&5
10083 echo "${ECHO_T}yes" >&6
10085 echo "$as_me:$LINENO: result: no" >&5
10086 echo "${ECHO_T}no" >&6
10091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10092 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10094 # Check whether --enable-image or --disable-image was given.
10095 if test "${enable_image+set}" = set; then
10096 enableval
="$enable_image"
10098 if test "$enableval" = yes; then
10099 ac_cv_use_image
='wxUSE_IMAGE=yes'
10101 ac_cv_use_image
='wxUSE_IMAGE=no'
10106 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10107 if test "x$LINE" != x
; then
10108 eval "DEFAULT_$LINE"
10113 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10117 eval "$ac_cv_use_image"
10118 if test "$no_cache" != 1; then
10119 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10122 if test "$wxUSE_IMAGE" = yes; then
10123 echo "$as_me:$LINENO: result: yes" >&5
10124 echo "${ECHO_T}yes" >&6
10126 echo "$as_me:$LINENO: result: no" >&5
10127 echo "${ECHO_T}no" >&6
10132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10133 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10135 # Check whether --enable-gif or --disable-gif was given.
10136 if test "${enable_gif+set}" = set; then
10137 enableval
="$enable_gif"
10139 if test "$enableval" = yes; then
10140 ac_cv_use_gif
='wxUSE_GIF=yes'
10142 ac_cv_use_gif
='wxUSE_GIF=no'
10147 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10148 if test "x$LINE" != x
; then
10149 eval "DEFAULT_$LINE"
10154 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10158 eval "$ac_cv_use_gif"
10159 if test "$no_cache" != 1; then
10160 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10163 if test "$wxUSE_GIF" = yes; then
10164 echo "$as_me:$LINENO: result: yes" >&5
10165 echo "${ECHO_T}yes" >&6
10167 echo "$as_me:$LINENO: result: no" >&5
10168 echo "${ECHO_T}no" >&6
10173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10174 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10176 # Check whether --enable-pcx or --disable-pcx was given.
10177 if test "${enable_pcx+set}" = set; then
10178 enableval
="$enable_pcx"
10180 if test "$enableval" = yes; then
10181 ac_cv_use_pcx
='wxUSE_PCX=yes'
10183 ac_cv_use_pcx
='wxUSE_PCX=no'
10188 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10189 if test "x$LINE" != x
; then
10190 eval "DEFAULT_$LINE"
10195 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10199 eval "$ac_cv_use_pcx"
10200 if test "$no_cache" != 1; then
10201 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10204 if test "$wxUSE_PCX" = yes; then
10205 echo "$as_me:$LINENO: result: yes" >&5
10206 echo "${ECHO_T}yes" >&6
10208 echo "$as_me:$LINENO: result: no" >&5
10209 echo "${ECHO_T}no" >&6
10214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10215 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10217 # Check whether --enable-iff or --disable-iff was given.
10218 if test "${enable_iff+set}" = set; then
10219 enableval
="$enable_iff"
10221 if test "$enableval" = yes; then
10222 ac_cv_use_iff
='wxUSE_IFF=yes'
10224 ac_cv_use_iff
='wxUSE_IFF=no'
10229 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10230 if test "x$LINE" != x
; then
10231 eval "DEFAULT_$LINE"
10236 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10240 eval "$ac_cv_use_iff"
10241 if test "$no_cache" != 1; then
10242 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10245 if test "$wxUSE_IFF" = yes; then
10246 echo "$as_me:$LINENO: result: yes" >&5
10247 echo "${ECHO_T}yes" >&6
10249 echo "$as_me:$LINENO: result: no" >&5
10250 echo "${ECHO_T}no" >&6
10255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10256 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10258 # Check whether --enable-pnm or --disable-pnm was given.
10259 if test "${enable_pnm+set}" = set; then
10260 enableval
="$enable_pnm"
10262 if test "$enableval" = yes; then
10263 ac_cv_use_pnm
='wxUSE_PNM=yes'
10265 ac_cv_use_pnm
='wxUSE_PNM=no'
10270 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10271 if test "x$LINE" != x
; then
10272 eval "DEFAULT_$LINE"
10277 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10281 eval "$ac_cv_use_pnm"
10282 if test "$no_cache" != 1; then
10283 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10286 if test "$wxUSE_PNM" = yes; then
10287 echo "$as_me:$LINENO: result: yes" >&5
10288 echo "${ECHO_T}yes" >&6
10290 echo "$as_me:$LINENO: result: no" >&5
10291 echo "${ECHO_T}no" >&6
10296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10297 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10299 # Check whether --enable-xpm or --disable-xpm was given.
10300 if test "${enable_xpm+set}" = set; then
10301 enableval
="$enable_xpm"
10303 if test "$enableval" = yes; then
10304 ac_cv_use_xpm
='wxUSE_XPM=yes'
10306 ac_cv_use_xpm
='wxUSE_XPM=no'
10311 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10312 if test "x$LINE" != x
; then
10313 eval "DEFAULT_$LINE"
10318 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10322 eval "$ac_cv_use_xpm"
10323 if test "$no_cache" != 1; then
10324 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10327 if test "$wxUSE_XPM" = yes; then
10328 echo "$as_me:$LINENO: result: yes" >&5
10329 echo "${ECHO_T}yes" >&6
10331 echo "$as_me:$LINENO: result: no" >&5
10332 echo "${ECHO_T}no" >&6
10337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10338 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10340 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10341 if test "${enable_ico_cur+set}" = set; then
10342 enableval
="$enable_ico_cur"
10344 if test "$enableval" = yes; then
10345 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10347 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10352 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10353 if test "x$LINE" != x
; then
10354 eval "DEFAULT_$LINE"
10359 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10363 eval "$ac_cv_use_ico_cur"
10364 if test "$no_cache" != 1; then
10365 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10368 if test "$wxUSE_ICO_CUR" = yes; then
10369 echo "$as_me:$LINENO: result: yes" >&5
10370 echo "${ECHO_T}yes" >&6
10372 echo "$as_me:$LINENO: result: no" >&5
10373 echo "${ECHO_T}no" >&6
10381 # Check whether --with-flavour or --without-flavour was given.
10382 if test "${with_flavour+set}" = set; then
10383 withval
="$with_flavour"
10384 WX_FLAVOUR
="$withval"
10390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10391 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10393 # Check whether --enable-official_build or --disable-official_build was given.
10394 if test "${enable_official_build+set}" = set; then
10395 enableval
="$enable_official_build"
10397 if test "$enableval" = yes; then
10398 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10400 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10405 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10406 if test "x$LINE" != x
; then
10407 eval "DEFAULT_$LINE"
10412 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10416 eval "$ac_cv_use_official_build"
10417 if test "$no_cache" != 1; then
10418 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10421 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10422 echo "$as_me:$LINENO: result: yes" >&5
10423 echo "${ECHO_T}yes" >&6
10425 echo "$as_me:$LINENO: result: no" >&5
10426 echo "${ECHO_T}no" >&6
10429 # Check whether --enable-vendor or --disable-vendor was given.
10430 if test "${enable_vendor+set}" = set; then
10431 enableval
="$enable_vendor"
10432 VENDOR
="$enableval"
10434 if test "x$VENDOR" = "x"; then
10441 echo "saving argument cache $wx_arg_cache_file"
10442 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10446 echo "$as_me:$LINENO: checking for toolkit" >&5
10447 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10449 # In Wine, we need to default to MSW, not GTK or MOTIF
10450 if test "$wxUSE_WINE" = "yes"; then
10451 DEFAULT_DEFAULT_wxUSE_GTK
=0
10452 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10453 DEFAULT_DEFAULT_wxUSE_MSW
=1
10458 if test "$wxUSE_GUI" = "yes"; then
10460 if test "$USE_BEOS" = 1; then
10461 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10462 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10463 { (exit 1); exit 1; }; }
10466 if test "$TOOLKIT_GIVEN" = 1; then
10467 for toolkit
in `echo $ALL_TOOLKITS`; do
10469 eval "value=\$${var}"
10470 if test "x$value" = "xno"; then
10472 elif test "x$value" != "x"; then
10476 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10477 eval "wx${toolkit}_VERSION=$value"
10481 for toolkit
in `echo $ALL_TOOLKITS`; do
10482 if test "$has_toolkit_in_cache" != 1; then
10483 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10485 var
=DEFAULT_wxUSE_
$toolkit
10487 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10488 if test "x$version" != "x"; then
10489 eval "wx${toolkit}_VERSION=$version"
10492 eval "wxUSE_$toolkit=\$${var}"
10496 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10497 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10498 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10501 *-pc-os2_emx | *-pc-os2-emx )
10502 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10505 case "$NUM_TOOLKITS" in
10509 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10510 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10511 { (exit 1); exit 1; }; }
10514 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10515 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10516 { (exit 1); exit 1; }; }
10519 # to be removed when --disable-gtk2 isn't needed
10520 if test "x$wxUSE_GTK2" = "xyes"; then
10522 elif test "x$wxUSE_GTK2" = "xno"; then
10526 for toolkit
in `echo $ALL_TOOLKITS`; do
10528 eval "value=\$${var}"
10529 if test "x$value" != x
; then
10530 cache_var
=CACHE_
$toolkit
10531 eval "cache=\$${cache_var}"
10532 if test "$cache" = 1; then
10533 echo "$var=$value" >> ${wx_arg_cache_file}
10534 eval "version=\$wx${toolkit}_VERSION"
10535 if test "x$version" != "x"; then
10536 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10539 if test "$value" = 1; then
10540 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10541 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10542 echo "${ECHO_T}$toolkit_echo" >&6
10547 if test "x$host_alias" != "x"; then
10548 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10549 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10551 echo "$as_me:$LINENO: result: base only" >&5
10552 echo "${ECHO_T}base only" >&6
10557 doesnt_want_win32
=0
10560 if test "$wxUSE_MSW" = 1 ; then
10562 BAKEFILE_FORCE_PLATFORM
=win32
10564 doesnt_want_win32
=1
10572 if test "$wxUSE_WINE" = "yes"; then
10577 LDFLAGS_GUI
="-mwindows"
10580 if test "$wants_win32" = 1 ; then
10583 cat >>confdefs.h
<<\_ACEOF
10584 #define __WIN32__ 1
10587 cat >>confdefs.h
<<\_ACEOF
10588 #define __WIN95__ 1
10591 cat >>confdefs.h
<<\_ACEOF
10592 #define __WINDOWS__ 1
10595 cat >>confdefs.h
<<\_ACEOF
10596 #define __GNUWIN32__ 1
10599 cat >>confdefs.h
<<\_ACEOF
10603 cat >>confdefs.h
<<\_ACEOF
10604 #define WINVER 0x0400
10608 if test "$doesnt_want_win32" = 1 ; then
10613 if test "$USE_UNIX" = 1 ; then
10615 cat >>confdefs.h
<<\_ACEOF
10622 cat >confcache
<<\_ACEOF
10623 # This file is a shell script that caches the results of configure
10624 # tests run on this system so they can be shared between configure
10625 # scripts and configure runs, see configure's option --config-cache.
10626 # It is not useful on other systems. If it contains results you don't
10627 # want to keep, you may remove or edit it.
10629 # config.status only pays attention to the cache file if you give it
10630 # the --recheck option to rerun configure.
10632 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10633 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10634 # following values.
10638 # The following way of writing the cache mishandles newlines in values,
10639 # but we know of no workaround that is simple, portable, and efficient.
10640 # So, don't put newlines in cache variables' values.
10641 # Ultrix sh set writes to stderr and can't be redirected directly,
10642 # and sets the high bit in the cache file unless we assign to the vars.
10645 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10647 # `set' does not quote correctly, so add quotes (double-quote
10648 # substitution turns \\\\ into \\, and sed turns \\ into \).
10651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10654 # `set' quotes correctly as required by POSIX, so do not add quotes.
10656 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10663 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10665 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10667 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10668 if test -w $cache_file; then
10669 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10670 cat confcache
>$cache_file
10672 echo "not updating unwritable cache $cache_file"
10677 if test "$build" != "$host" ; then
10678 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10680 CXX
=$host_alias-c++
10682 RANLIB
=$host_alias-ranlib
10683 DLLTOOL
=$host_alias-dlltool
10684 RESCOMP
=$host_alias-windres
10685 STRIP
=$host_alias-strip
10686 elif test "x$CC" '!=' "x"; then
10687 echo "You set CC, I assume you know what you are doing."
10689 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10690 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10691 { (exit 1); exit 1; }; }
10699 ac_cpp
='$CPP $CPPFLAGS'
10700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10703 if test -n "$ac_tool_prefix"; then
10704 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10705 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10706 echo "$as_me:$LINENO: checking for $ac_word" >&5
10707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10708 if test "${ac_cv_prog_CC+set}" = set; then
10709 echo $ECHO_N "(cached) $ECHO_C" >&6
10711 if test -n "$CC"; then
10712 ac_cv_prog_CC
="$CC" # Let the user override the test.
10714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10715 for as_dir
in $PATH
10718 test -z "$as_dir" && as_dir
=.
10719 for ac_exec_ext
in '' $ac_executable_extensions; do
10720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10721 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10731 if test -n "$CC"; then
10732 echo "$as_me:$LINENO: result: $CC" >&5
10733 echo "${ECHO_T}$CC" >&6
10735 echo "$as_me:$LINENO: result: no" >&5
10736 echo "${ECHO_T}no" >&6
10740 if test -z "$ac_cv_prog_CC"; then
10742 # Extract the first word of "gcc", so it can be a program name with args.
10743 set dummy gcc
; ac_word
=$2
10744 echo "$as_me:$LINENO: checking for $ac_word" >&5
10745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10746 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10747 echo $ECHO_N "(cached) $ECHO_C" >&6
10749 if test -n "$ac_ct_CC"; then
10750 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10753 for as_dir
in $PATH
10756 test -z "$as_dir" && as_dir
=.
10757 for ac_exec_ext
in '' $ac_executable_extensions; do
10758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10759 ac_cv_prog_ac_ct_CC
="gcc"
10760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10768 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10769 if test -n "$ac_ct_CC"; then
10770 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10771 echo "${ECHO_T}$ac_ct_CC" >&6
10773 echo "$as_me:$LINENO: result: no" >&5
10774 echo "${ECHO_T}no" >&6
10779 CC
="$ac_cv_prog_CC"
10782 if test -z "$CC"; then
10783 if test -n "$ac_tool_prefix"; then
10784 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10785 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10786 echo "$as_me:$LINENO: checking for $ac_word" >&5
10787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10788 if test "${ac_cv_prog_CC+set}" = set; then
10789 echo $ECHO_N "(cached) $ECHO_C" >&6
10791 if test -n "$CC"; then
10792 ac_cv_prog_CC
="$CC" # Let the user override the test.
10794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10795 for as_dir
in $PATH
10798 test -z "$as_dir" && as_dir
=.
10799 for ac_exec_ext
in '' $ac_executable_extensions; do
10800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10801 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10811 if test -n "$CC"; then
10812 echo "$as_me:$LINENO: result: $CC" >&5
10813 echo "${ECHO_T}$CC" >&6
10815 echo "$as_me:$LINENO: result: no" >&5
10816 echo "${ECHO_T}no" >&6
10820 if test -z "$ac_cv_prog_CC"; then
10822 # Extract the first word of "cc", so it can be a program name with args.
10823 set dummy cc
; ac_word
=$2
10824 echo "$as_me:$LINENO: checking for $ac_word" >&5
10825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10826 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10827 echo $ECHO_N "(cached) $ECHO_C" >&6
10829 if test -n "$ac_ct_CC"; then
10830 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10833 for as_dir
in $PATH
10836 test -z "$as_dir" && as_dir
=.
10837 for ac_exec_ext
in '' $ac_executable_extensions; do
10838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10839 ac_cv_prog_ac_ct_CC
="cc"
10840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10848 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10849 if test -n "$ac_ct_CC"; then
10850 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10851 echo "${ECHO_T}$ac_ct_CC" >&6
10853 echo "$as_me:$LINENO: result: no" >&5
10854 echo "${ECHO_T}no" >&6
10859 CC
="$ac_cv_prog_CC"
10863 if test -z "$CC"; then
10864 # Extract the first word of "cc", so it can be a program name with args.
10865 set dummy cc
; ac_word
=$2
10866 echo "$as_me:$LINENO: checking for $ac_word" >&5
10867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10868 if test "${ac_cv_prog_CC+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 if test -n "$CC"; then
10872 ac_cv_prog_CC
="$CC" # Let the user override the test.
10874 ac_prog_rejected
=no
10875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10876 for as_dir
in $PATH
10879 test -z "$as_dir" && as_dir
=.
10880 for ac_exec_ext
in '' $ac_executable_extensions; do
10881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10882 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10883 ac_prog_rejected
=yes
10887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10893 if test $ac_prog_rejected = yes; then
10894 # We found a bogon in the path, so make sure we never use it.
10895 set dummy
$ac_cv_prog_CC
10897 if test $# != 0; then
10898 # We chose a different compiler from the bogus one.
10899 # However, it has the same basename, so the bogon will be chosen
10900 # first if we set CC to just the basename; use the full file name.
10902 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10908 if test -n "$CC"; then
10909 echo "$as_me:$LINENO: result: $CC" >&5
10910 echo "${ECHO_T}$CC" >&6
10912 echo "$as_me:$LINENO: result: no" >&5
10913 echo "${ECHO_T}no" >&6
10917 if test -z "$CC"; then
10918 if test -n "$ac_tool_prefix"; then
10921 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10922 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10923 echo "$as_me:$LINENO: checking for $ac_word" >&5
10924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10925 if test "${ac_cv_prog_CC+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10928 if test -n "$CC"; then
10929 ac_cv_prog_CC
="$CC" # Let the user override the test.
10931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10932 for as_dir
in $PATH
10935 test -z "$as_dir" && as_dir
=.
10936 for ac_exec_ext
in '' $ac_executable_extensions; do
10937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10938 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10948 if test -n "$CC"; then
10949 echo "$as_me:$LINENO: result: $CC" >&5
10950 echo "${ECHO_T}$CC" >&6
10952 echo "$as_me:$LINENO: result: no" >&5
10953 echo "${ECHO_T}no" >&6
10956 test -n "$CC" && break
10959 if test -z "$CC"; then
10963 # Extract the first word of "$ac_prog", so it can be a program name with args.
10964 set dummy
$ac_prog; ac_word
=$2
10965 echo "$as_me:$LINENO: checking for $ac_word" >&5
10966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10967 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10968 echo $ECHO_N "(cached) $ECHO_C" >&6
10970 if test -n "$ac_ct_CC"; then
10971 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10974 for as_dir
in $PATH
10977 test -z "$as_dir" && as_dir
=.
10978 for ac_exec_ext
in '' $ac_executable_extensions; do
10979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10980 ac_cv_prog_ac_ct_CC
="$ac_prog"
10981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10989 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10990 if test -n "$ac_ct_CC"; then
10991 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10992 echo "${ECHO_T}$ac_ct_CC" >&6
10994 echo "$as_me:$LINENO: result: no" >&5
10995 echo "${ECHO_T}no" >&6
10998 test -n "$ac_ct_CC" && break
11007 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11008 See \`config.log' for more details." >&5
11009 echo "$as_me: error: no acceptable C compiler found in \$PATH
11010 See \`config.log' for more details." >&2;}
11011 { (exit 1); exit 1; }; }
11013 # Provide some information about the compiler.
11014 echo "$as_me:$LINENO:" \
11015 "checking for C compiler version" >&5
11016 ac_compiler
=`set X $ac_compile; echo $2`
11017 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11018 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); }
11022 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11023 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); }
11027 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11028 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); }
11033 cat >conftest.
$ac_ext <<_ACEOF
11036 cat confdefs.h
>>conftest.
$ac_ext
11037 cat >>conftest.
$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11048 ac_clean_files_save
=$ac_clean_files
11049 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11050 # Try to create an executable without -o first, disregard a.out.
11051 # It will help us diagnose broken compilers, and finding out an intuition
11053 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11054 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11055 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11056 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11057 (eval $ac_link_default) 2>&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); }; then
11061 # Find the output, starting from the most likely. This scheme is
11062 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11065 # Be careful to initialize this variable, since it used to be cached.
11066 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11068 # b.out is created by i960 compilers.
11069 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11071 test -f "$ac_file" || continue
11073 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11076 # This is the source file.
11079 # We found the default executable, but exeext='' is most
11083 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11084 # FIXME: I believe we export ac_cv_exeext for Libtool,
11085 # but it would be cool to find out if it's true. Does anybody
11086 # maintain Libtool? --akim.
11087 export ac_cv_exeext
11094 echo "$as_me: failed program was:" >&5
11095 sed 's/^/| /' conftest.
$ac_ext >&5
11097 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11098 See \`config.log' for more details." >&5
11099 echo "$as_me: error: C compiler cannot create executables
11100 See \`config.log' for more details." >&2;}
11101 { (exit 77); exit 77; }; }
11104 ac_exeext
=$ac_cv_exeext
11105 echo "$as_me:$LINENO: result: $ac_file" >&5
11106 echo "${ECHO_T}$ac_file" >&6
11108 # Check the compiler produces executables we can run. If not, either
11109 # the compiler is broken, or we cross compile.
11110 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11111 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11112 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11113 # If not cross compiling, check that we can run a simple program.
11114 if test "$cross_compiling" != yes; then
11115 if { ac_try
='./$ac_file'
11116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11117 (eval $ac_try) 2>&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); }; }; then
11123 if test "$cross_compiling" = maybe
; then
11124 cross_compiling
=yes
11126 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11127 If you meant to cross compile, use \`--host'.
11128 See \`config.log' for more details." >&5
11129 echo "$as_me: error: cannot run C compiled programs.
11130 If you meant to cross compile, use \`--host'.
11131 See \`config.log' for more details." >&2;}
11132 { (exit 1); exit 1; }; }
11136 echo "$as_me:$LINENO: result: yes" >&5
11137 echo "${ECHO_T}yes" >&6
11139 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11140 ac_clean_files
=$ac_clean_files_save
11141 # Check the compiler produces executables we can run. If not, either
11142 # the compiler is broken, or we cross compile.
11143 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11144 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11145 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11146 echo "${ECHO_T}$cross_compiling" >&6
11148 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11149 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11151 (eval $ac_link) 2>&5
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); }; then
11155 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11156 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11157 # work properly (i.e., refer to `conftest.exe'), while it won't with
11159 for ac_file
in conftest.exe conftest conftest.
*; do
11160 test -f "$ac_file" || continue
11162 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11163 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11164 export ac_cv_exeext
11170 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11171 See \`config.log' for more details." >&5
11172 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11173 See \`config.log' for more details." >&2;}
11174 { (exit 1); exit 1; }; }
11177 rm -f conftest
$ac_cv_exeext
11178 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11179 echo "${ECHO_T}$ac_cv_exeext" >&6
11181 rm -f conftest.
$ac_ext
11182 EXEEXT
=$ac_cv_exeext
11184 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11185 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11186 if test "${ac_cv_objext+set}" = set; then
11187 echo $ECHO_N "(cached) $ECHO_C" >&6
11189 cat >conftest.
$ac_ext <<_ACEOF
11192 cat confdefs.h
>>conftest.
$ac_ext
11193 cat >>conftest.
$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11204 rm -f conftest.o conftest.obj
11205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11206 (eval $ac_compile) 2>&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; then
11210 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11212 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11213 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11218 echo "$as_me: failed program was:" >&5
11219 sed 's/^/| /' conftest.
$ac_ext >&5
11221 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11222 See \`config.log' for more details." >&5
11223 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11224 See \`config.log' for more details." >&2;}
11225 { (exit 1); exit 1; }; }
11228 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11230 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11231 echo "${ECHO_T}$ac_cv_objext" >&6
11232 OBJEXT
=$ac_cv_objext
11234 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11235 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11236 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11237 echo $ECHO_N "(cached) $ECHO_C" >&6
11239 cat >conftest.
$ac_ext <<_ACEOF
11242 cat confdefs.h
>>conftest.
$ac_ext
11243 cat >>conftest.
$ac_ext <<_ACEOF
11244 /* end confdefs.h. */
11257 rm -f conftest.
$ac_objext
11258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11259 (eval $ac_compile) 2>conftest.er1
11261 grep -v '^ *+' conftest.er1
>conftest.err
11263 cat conftest.err
>&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); } &&
11266 { ac_try
='test -z "$ac_c_werror_flag"
11267 || test ! -s conftest.err'
11268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11269 (eval $ac_try) 2>&5
11271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); }; } &&
11273 { ac_try
='test -s conftest.$ac_objext'
11274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11275 (eval $ac_try) 2>&5
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); }; }; then
11279 ac_compiler_gnu
=yes
11281 echo "$as_me: failed program was:" >&5
11282 sed 's/^/| /' conftest.
$ac_ext >&5
11286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11287 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11290 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11291 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11292 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11293 ac_test_CFLAGS
=${CFLAGS+set}
11294 ac_save_CFLAGS
=$CFLAGS
11296 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11297 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11298 if test "${ac_cv_prog_cc_g+set}" = set; then
11299 echo $ECHO_N "(cached) $ECHO_C" >&6
11301 cat >conftest.
$ac_ext <<_ACEOF
11304 cat confdefs.h
>>conftest.
$ac_ext
11305 cat >>conftest.
$ac_ext <<_ACEOF
11306 /* end confdefs.h. */
11316 rm -f conftest.
$ac_objext
11317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11318 (eval $ac_compile) 2>conftest.er1
11320 grep -v '^ *+' conftest.er1
>conftest.err
11322 cat conftest.err
>&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); } &&
11325 { ac_try
='test -z "$ac_c_werror_flag"
11326 || test ! -s conftest.err'
11327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11328 (eval $ac_try) 2>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); }; } &&
11332 { ac_try
='test -s conftest.$ac_objext'
11333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11334 (eval $ac_try) 2>&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); }; }; then
11338 ac_cv_prog_cc_g
=yes
11340 echo "$as_me: failed program was:" >&5
11341 sed 's/^/| /' conftest.
$ac_ext >&5
11345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11347 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11348 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11349 if test "$ac_test_CFLAGS" = set; then
11350 CFLAGS
=$ac_save_CFLAGS
11351 elif test $ac_cv_prog_cc_g = yes; then
11352 if test "$GCC" = yes; then
11358 if test "$GCC" = yes; then
11364 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11365 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11366 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11367 echo $ECHO_N "(cached) $ECHO_C" >&6
11369 ac_cv_prog_cc_stdc
=no
11371 cat >conftest.
$ac_ext <<_ACEOF
11374 cat confdefs.h
>>conftest.
$ac_ext
11375 cat >>conftest.
$ac_ext <<_ACEOF
11376 /* end confdefs.h. */
11377 #include <stdarg.h>
11379 #include <sys/types.h>
11380 #include <sys/stat.h>
11381 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11382 struct buf { int x; };
11383 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11384 static char *e (p, i)
11390 static char *f (char * (*g) (char **, int), char **p, ...)
11395 s = g (p, va_arg (v,int));
11400 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11401 function prototypes and stuff, but not '\xHH' hex character constants.
11402 These don't provoke an error unfortunately, instead are silently treated
11403 as 'x'. The following induces an error, until -std1 is added to get
11404 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11405 array size at least. It's necessary to write '\x00'==0 to get something
11406 that's true only with -std1. */
11407 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11409 int test (int i, double x);
11410 struct s1 {int (*f) (int a);};
11411 struct s2 {int (*f) (double a);};
11412 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11418 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11423 # Don't try gcc -ansi; that turns off useful extensions and
11424 # breaks some systems' header files.
11425 # AIX -qlanglvl=ansi
11426 # Ultrix and OSF/1 -std1
11427 # HP-UX 10.20 and later -Ae
11428 # HP-UX older versions -Aa -D_HPUX_SOURCE
11429 # SVR4 -Xc -D__EXTENSIONS__
11430 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11432 CC
="$ac_save_CC $ac_arg"
11433 rm -f conftest.
$ac_objext
11434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11435 (eval $ac_compile) 2>conftest.er1
11437 grep -v '^ *+' conftest.er1
>conftest.err
11439 cat conftest.err
>&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); } &&
11442 { ac_try
='test -z "$ac_c_werror_flag"
11443 || test ! -s conftest.err'
11444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11445 (eval $ac_try) 2>&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; } &&
11449 { ac_try
='test -s conftest.$ac_objext'
11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11451 (eval $ac_try) 2>&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); }; }; then
11455 ac_cv_prog_cc_stdc
=$ac_arg
11458 echo "$as_me: failed program was:" >&5
11459 sed 's/^/| /' conftest.
$ac_ext >&5
11462 rm -f conftest.err conftest.
$ac_objext
11464 rm -f conftest.
$ac_ext conftest.
$ac_objext
11469 case "x$ac_cv_prog_cc_stdc" in
11471 echo "$as_me:$LINENO: result: none needed" >&5
11472 echo "${ECHO_T}none needed" >&6 ;;
11474 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11475 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11476 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11479 # Some people use a C++ compiler to compile C. Since we use `exit',
11480 # in C++ we need to declare it. In case someone uses the same compiler
11481 # for both compiling C and C++ we need to have the C++ compiler decide
11482 # the declaration of exit, since it's the most demanding environment.
11483 cat >conftest.
$ac_ext <<_ACEOF
11484 #ifndef __cplusplus
11488 rm -f conftest.
$ac_objext
11489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11490 (eval $ac_compile) 2>conftest.er1
11492 grep -v '^ *+' conftest.er1
>conftest.err
11494 cat conftest.err
>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); } &&
11497 { ac_try
='test -z "$ac_c_werror_flag"
11498 || test ! -s conftest.err'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; } &&
11504 { ac_try
='test -s conftest.$ac_objext'
11505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11506 (eval $ac_try) 2>&5
11508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509 (exit $ac_status); }; }; then
11510 for ac_declaration
in \
11512 'extern "C" void std::exit (int) throw (); using std::exit;' \
11513 'extern "C" void std::exit (int); using std::exit;' \
11514 'extern "C" void exit (int) throw ();' \
11515 'extern "C" void exit (int);' \
11518 cat >conftest.
$ac_ext <<_ACEOF
11521 cat confdefs.h
>>conftest.
$ac_ext
11522 cat >>conftest.
$ac_ext <<_ACEOF
11523 /* end confdefs.h. */
11525 #include <stdlib.h>
11534 rm -f conftest.
$ac_objext
11535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11536 (eval $ac_compile) 2>conftest.er1
11538 grep -v '^ *+' conftest.er1
>conftest.err
11540 cat conftest.err
>&5
11541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11542 (exit $ac_status); } &&
11543 { ac_try
='test -z "$ac_c_werror_flag"
11544 || test ! -s conftest.err'
11545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11546 (eval $ac_try) 2>&5
11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 (exit $ac_status); }; } &&
11550 { ac_try
='test -s conftest.$ac_objext'
11551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11552 (eval $ac_try) 2>&5
11554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11555 (exit $ac_status); }; }; then
11558 echo "$as_me: failed program was:" >&5
11559 sed 's/^/| /' conftest.
$ac_ext >&5
11563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11564 cat >conftest.
$ac_ext <<_ACEOF
11567 cat confdefs.h
>>conftest.
$ac_ext
11568 cat >>conftest.
$ac_ext <<_ACEOF
11569 /* end confdefs.h. */
11579 rm -f conftest.
$ac_objext
11580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11581 (eval $ac_compile) 2>conftest.er1
11583 grep -v '^ *+' conftest.er1
>conftest.err
11585 cat conftest.err
>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); } &&
11588 { ac_try
='test -z "$ac_c_werror_flag"
11589 || test ! -s conftest.err'
11590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11591 (eval $ac_try) 2>&5
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); }; } &&
11595 { ac_try
='test -s conftest.$ac_objext'
11596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11597 (eval $ac_try) 2>&5
11599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11600 (exit $ac_status); }; }; then
11603 echo "$as_me: failed program was:" >&5
11604 sed 's/^/| /' conftest.
$ac_ext >&5
11607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11610 if test -n "$ac_declaration"; then
11611 echo '#ifdef __cplusplus' >>confdefs.h
11612 echo $ac_declaration >>confdefs.h
11613 echo '#endif' >>confdefs.h
11617 echo "$as_me: failed program was:" >&5
11618 sed 's/^/| /' conftest.
$ac_ext >&5
11621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11623 ac_cpp
='$CPP $CPPFLAGS'
11624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11628 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11629 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11630 if test "${wx_cv_c_exto+set}" = set; then
11631 echo $ECHO_N "(cached) $ECHO_C" >&6
11633 cat >conftest.
$ac_ext <<_ACEOF
11636 cat confdefs.h
>>conftest.
$ac_ext
11637 cat >>conftest.
$ac_ext <<_ACEOF
11638 /* end confdefs.h. */
11648 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11650 (eval $ac_compile) 2>&5
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); }; then
11654 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11656 conftest.
$ac_ext.o
)
11657 wx_cv_c_exto
="-ext o"
11664 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11665 See \`config.log' for more details." >&5
11666 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11667 See \`config.log' for more details." >&2;}
11668 { (exit 1); exit 1; }; }
11672 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11675 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11676 echo "${ECHO_T}$wx_cv_c_exto" >&6
11677 if test "x$wx_cv_c_exto" '!=' "x"; then
11678 if test "c" = "c"; then
11679 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11681 if test "c" = "cxx"; then
11682 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11686 if test "x$wx_cv_c_exto" '!=' "x"; then
11687 unset ac_cv_prog_cc_g
11688 ac_test_CFLAGS
=${CFLAGS+set}
11689 ac_save_CFLAGS
=$CFLAGS
11691 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11692 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11693 if test "${ac_cv_prog_cc_g+set}" = set; then
11694 echo $ECHO_N "(cached) $ECHO_C" >&6
11696 cat >conftest.
$ac_ext <<_ACEOF
11699 cat confdefs.h
>>conftest.
$ac_ext
11700 cat >>conftest.
$ac_ext <<_ACEOF
11701 /* end confdefs.h. */
11711 rm -f conftest.
$ac_objext
11712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11713 (eval $ac_compile) 2>conftest.er1
11715 grep -v '^ *+' conftest.er1
>conftest.err
11717 cat conftest.err
>&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); } &&
11720 { ac_try
='test -z "$ac_c_werror_flag"
11721 || test ! -s conftest.err'
11722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11723 (eval $ac_try) 2>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); }; } &&
11727 { ac_try
='test -s conftest.$ac_objext'
11728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729 (eval $ac_try) 2>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); }; }; then
11733 ac_cv_prog_cc_g
=yes
11735 echo "$as_me: failed program was:" >&5
11736 sed 's/^/| /' conftest.
$ac_ext >&5
11740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11742 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11743 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11744 if test "$ac_test_CFLAGS" = set; then
11745 CFLAGS
=$ac_save_CFLAGS
11746 elif test $ac_cv_prog_cc_g = yes; then
11747 if test "$GCC" = yes; then
11753 if test "$GCC" = yes; then
11761 ac_cpp
='$CPP $CPPFLAGS'
11762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11766 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11767 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11768 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11769 echo $ECHO_N "(cached) $ECHO_C" >&6
11771 cat >conftest.
$ac_ext <<_ACEOF
11774 cat confdefs.h
>>conftest.
$ac_ext
11775 cat >>conftest.
$ac_ext <<_ACEOF
11776 /* end confdefs.h. */
11789 rm -f conftest.
$ac_objext
11790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11791 (eval $ac_compile) 2>conftest.er1
11793 grep -v '^ *+' conftest.er1
>conftest.err
11795 cat conftest.err
>&5
11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797 (exit $ac_status); } &&
11798 { ac_try
='test -z "$ac_c_werror_flag"
11799 || test ! -s conftest.err'
11800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11801 (eval $ac_try) 2>&5
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); }; } &&
11805 { ac_try
='test -s conftest.$ac_objext'
11806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11807 (eval $ac_try) 2>&5
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 (exit $ac_status); }; }; then
11811 bakefile_compiler_mwerks
=yes
11813 echo "$as_me: failed program was:" >&5
11814 sed 's/^/| /' conftest.
$ac_ext >&5
11816 bakefile_compiler_mwerks
=no
11818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11819 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11822 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11823 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11825 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11827 ac_cpp
='$CPP $CPPFLAGS'
11828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11834 ac_cpp
='$CPP $CPPFLAGS'
11835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11839 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11840 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11841 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11842 echo $ECHO_N "(cached) $ECHO_C" >&6
11844 cat >conftest.
$ac_ext <<_ACEOF
11847 cat confdefs.h
>>conftest.
$ac_ext
11848 cat >>conftest.
$ac_ext <<_ACEOF
11849 /* end confdefs.h. */
11862 rm -f conftest.
$ac_objext
11863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11864 (eval $ac_compile) 2>conftest.er1
11866 grep -v '^ *+' conftest.er1
>conftest.err
11868 cat conftest.err
>&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); } &&
11871 { ac_try
='test -z "$ac_c_werror_flag"
11872 || test ! -s conftest.err'
11873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11874 (eval $ac_try) 2>&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }; } &&
11878 { ac_try
='test -s conftest.$ac_objext'
11879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11880 (eval $ac_try) 2>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); }; }; then
11884 wx_compiler_xlc
=yes
11886 echo "$as_me: failed program was:" >&5
11887 sed 's/^/| /' conftest.
$ac_ext >&5
11891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11892 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11895 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11896 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11898 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11900 ac_cpp
='$CPP $CPPFLAGS'
11901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11909 ac_cpp
='$CPP $CPPFLAGS'
11910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11914 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11915 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11916 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11919 cat >conftest.
$ac_ext <<_ACEOF
11922 cat confdefs.h
>>conftest.
$ac_ext
11923 cat >>conftest.
$ac_ext <<_ACEOF
11924 /* end confdefs.h. */
11938 rm -f conftest.
$ac_objext
11939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11940 (eval $ac_compile) 2>conftest.er1
11942 grep -v '^ *+' conftest.er1
>conftest.err
11944 cat conftest.err
>&5
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); } &&
11947 { ac_try
='test -z "$ac_c_werror_flag"
11948 || test ! -s conftest.err'
11949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11950 (eval $ac_try) 2>&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); }; } &&
11954 { ac_try
='test -s conftest.$ac_objext'
11955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11956 (eval $ac_try) 2>&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); }; }; then
11960 bakefile_cv_c_compiler___SUNPRO_C
=yes
11962 echo "$as_me: failed program was:" >&5
11963 sed 's/^/| /' conftest.
$ac_ext >&5
11965 bakefile_cv_c_compiler___SUNPRO_C
=no
11968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11972 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
11973 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
11975 ac_cpp
='$CPP $CPPFLAGS'
11976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11980 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
11990 ac_cpp
='$CPP $CPPFLAGS'
11991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11994 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11995 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11996 # On Suns, sometimes $CPP names a directory.
11997 if test -n "$CPP" && test -d "$CPP"; then
12000 if test -z "$CPP"; then
12001 if test "${ac_cv_prog_CPP+set}" = set; then
12002 echo $ECHO_N "(cached) $ECHO_C" >&6
12004 # Double quotes because CPP needs to be expanded
12005 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12007 ac_preproc_ok
=false
12008 for ac_c_preproc_warn_flag
in '' yes
12010 # Use a header file that comes with gcc, so configuring glibc
12011 # with a fresh cross-compiler works.
12012 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12013 # <limits.h> exists even on freestanding compilers.
12014 # On the NeXT, cc -E runs the code through the compiler's parser,
12015 # not just through cpp. "Syntax error" is here to catch this case.
12016 cat >conftest.
$ac_ext <<_ACEOF
12019 cat confdefs.h
>>conftest.
$ac_ext
12020 cat >>conftest.
$ac_ext <<_ACEOF
12021 /* end confdefs.h. */
12023 # include <limits.h>
12025 # include <assert.h>
12029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12030 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12032 grep -v '^ *+' conftest.er1
>conftest.err
12034 cat conftest.err
>&5
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); } >/dev
/null
; then
12037 if test -s conftest.err
; then
12038 ac_cpp_err
=$ac_c_preproc_warn_flag
12039 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12046 if test -z "$ac_cpp_err"; then
12049 echo "$as_me: failed program was:" >&5
12050 sed 's/^/| /' conftest.
$ac_ext >&5
12052 # Broken: fails on valid input.
12055 rm -f conftest.err conftest.
$ac_ext
12057 # OK, works on sane cases. Now check whether non-existent headers
12058 # can be detected and how.
12059 cat >conftest.
$ac_ext <<_ACEOF
12062 cat confdefs.h
>>conftest.
$ac_ext
12063 cat >>conftest.
$ac_ext <<_ACEOF
12064 /* end confdefs.h. */
12065 #include <ac_nonexistent.h>
12067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12068 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12070 grep -v '^ *+' conftest.er1
>conftest.err
12072 cat conftest.err
>&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); } >/dev
/null
; then
12075 if test -s conftest.err
; then
12076 ac_cpp_err
=$ac_c_preproc_warn_flag
12077 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12084 if test -z "$ac_cpp_err"; then
12085 # Broken: success on invalid input.
12088 echo "$as_me: failed program was:" >&5
12089 sed 's/^/| /' conftest.
$ac_ext >&5
12091 # Passes both tests.
12095 rm -f conftest.err conftest.
$ac_ext
12098 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12099 rm -f conftest.err conftest.
$ac_ext
12100 if $ac_preproc_ok; then
12105 ac_cv_prog_CPP
=$CPP
12108 CPP
=$ac_cv_prog_CPP
12110 ac_cv_prog_CPP
=$CPP
12112 echo "$as_me:$LINENO: result: $CPP" >&5
12113 echo "${ECHO_T}$CPP" >&6
12114 ac_preproc_ok
=false
12115 for ac_c_preproc_warn_flag
in '' yes
12117 # Use a header file that comes with gcc, so configuring glibc
12118 # with a fresh cross-compiler works.
12119 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12120 # <limits.h> exists even on freestanding compilers.
12121 # On the NeXT, cc -E runs the code through the compiler's parser,
12122 # not just through cpp. "Syntax error" is here to catch this case.
12123 cat >conftest.
$ac_ext <<_ACEOF
12126 cat confdefs.h
>>conftest.
$ac_ext
12127 cat >>conftest.
$ac_ext <<_ACEOF
12128 /* end confdefs.h. */
12130 # include <limits.h>
12132 # include <assert.h>
12136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12137 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12139 grep -v '^ *+' conftest.er1
>conftest.err
12141 cat conftest.err
>&5
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); } >/dev
/null
; then
12144 if test -s conftest.err
; then
12145 ac_cpp_err
=$ac_c_preproc_warn_flag
12146 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12153 if test -z "$ac_cpp_err"; then
12156 echo "$as_me: failed program was:" >&5
12157 sed 's/^/| /' conftest.
$ac_ext >&5
12159 # Broken: fails on valid input.
12162 rm -f conftest.err conftest.
$ac_ext
12164 # OK, works on sane cases. Now check whether non-existent headers
12165 # can be detected and how.
12166 cat >conftest.
$ac_ext <<_ACEOF
12169 cat confdefs.h
>>conftest.
$ac_ext
12170 cat >>conftest.
$ac_ext <<_ACEOF
12171 /* end confdefs.h. */
12172 #include <ac_nonexistent.h>
12174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12175 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12177 grep -v '^ *+' conftest.er1
>conftest.err
12179 cat conftest.err
>&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); } >/dev
/null
; then
12182 if test -s conftest.err
; then
12183 ac_cpp_err
=$ac_c_preproc_warn_flag
12184 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12191 if test -z "$ac_cpp_err"; then
12192 # Broken: success on invalid input.
12195 echo "$as_me: failed program was:" >&5
12196 sed 's/^/| /' conftest.
$ac_ext >&5
12198 # Passes both tests.
12202 rm -f conftest.err conftest.
$ac_ext
12205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12206 rm -f conftest.err conftest.
$ac_ext
12207 if $ac_preproc_ok; then
12210 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12211 See \`config.log' for more details." >&5
12212 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12213 See \`config.log' for more details." >&2;}
12214 { (exit 1); exit 1; }; }
12218 ac_cpp
='$CPP $CPPFLAGS'
12219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12224 echo "$as_me:$LINENO: checking for egrep" >&5
12225 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12226 if test "${ac_cv_prog_egrep+set}" = set; then
12227 echo $ECHO_N "(cached) $ECHO_C" >&6
12229 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12230 then ac_cv_prog_egrep
='grep -E'
12231 else ac_cv_prog_egrep
='egrep'
12234 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12235 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12236 EGREP
=$ac_cv_prog_egrep
12239 if test $ac_cv_c_compiler_gnu = yes; then
12240 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12241 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12242 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12245 ac_pattern
="Autoconf.*'x'"
12246 cat >conftest.
$ac_ext <<_ACEOF
12249 cat confdefs.h
>>conftest.
$ac_ext
12250 cat >>conftest.
$ac_ext <<_ACEOF
12251 /* end confdefs.h. */
12255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12256 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12257 ac_cv_prog_gcc_traditional
=yes
12259 ac_cv_prog_gcc_traditional
=no
12264 if test $ac_cv_prog_gcc_traditional = no
; then
12265 cat >conftest.
$ac_ext <<_ACEOF
12268 cat confdefs.h
>>conftest.
$ac_ext
12269 cat >>conftest.
$ac_ext <<_ACEOF
12270 /* end confdefs.h. */
12271 #include <termio.h>
12274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12275 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12276 ac_cv_prog_gcc_traditional
=yes
12282 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12283 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12284 if test $ac_cv_prog_gcc_traditional = yes; then
12285 CC
="$CC -traditional"
12293 ac_cpp
='$CXXCPP $CPPFLAGS'
12294 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12295 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12296 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12299 CXXFLAGS
=${CXXFLAGS:=}
12303 ac_cpp
='$CXXCPP $CPPFLAGS'
12304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12307 if test -n "$ac_tool_prefix"; then
12308 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12311 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12312 echo "$as_me:$LINENO: checking for $ac_word" >&5
12313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12314 if test "${ac_cv_prog_CXX+set}" = set; then
12315 echo $ECHO_N "(cached) $ECHO_C" >&6
12317 if test -n "$CXX"; then
12318 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12321 for as_dir
in $PATH
12324 test -z "$as_dir" && as_dir
=.
12325 for ac_exec_ext
in '' $ac_executable_extensions; do
12326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12327 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12336 CXX
=$ac_cv_prog_CXX
12337 if test -n "$CXX"; then
12338 echo "$as_me:$LINENO: result: $CXX" >&5
12339 echo "${ECHO_T}$CXX" >&6
12341 echo "$as_me:$LINENO: result: no" >&5
12342 echo "${ECHO_T}no" >&6
12345 test -n "$CXX" && break
12348 if test -z "$CXX"; then
12350 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12352 # Extract the first word of "$ac_prog", so it can be a program name with args.
12353 set dummy
$ac_prog; ac_word
=$2
12354 echo "$as_me:$LINENO: checking for $ac_word" >&5
12355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12356 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12359 if test -n "$ac_ct_CXX"; then
12360 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12363 for as_dir
in $PATH
12366 test -z "$as_dir" && as_dir
=.
12367 for ac_exec_ext
in '' $ac_executable_extensions; do
12368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12369 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12378 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12379 if test -n "$ac_ct_CXX"; then
12380 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12381 echo "${ECHO_T}$ac_ct_CXX" >&6
12383 echo "$as_me:$LINENO: result: no" >&5
12384 echo "${ECHO_T}no" >&6
12387 test -n "$ac_ct_CXX" && break
12389 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12395 # Provide some information about the compiler.
12396 echo "$as_me:$LINENO:" \
12397 "checking for C++ compiler version" >&5
12398 ac_compiler
=`set X $ac_compile; echo $2`
12399 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12400 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); }
12404 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12405 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); }
12409 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12410 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); }
12415 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12416 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12417 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12418 echo $ECHO_N "(cached) $ECHO_C" >&6
12420 cat >conftest.
$ac_ext <<_ACEOF
12423 cat confdefs.h
>>conftest.
$ac_ext
12424 cat >>conftest.
$ac_ext <<_ACEOF
12425 /* end confdefs.h. */
12438 rm -f conftest.
$ac_objext
12439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12440 (eval $ac_compile) 2>conftest.er1
12442 grep -v '^ *+' conftest.er1
>conftest.err
12444 cat conftest.err
>&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); } &&
12447 { ac_try
='test -z "$ac_cxx_werror_flag"
12448 || test ! -s conftest.err'
12449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12450 (eval $ac_try) 2>&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); }; } &&
12454 { ac_try
='test -s conftest.$ac_objext'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; }; then
12460 ac_compiler_gnu
=yes
12462 echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.
$ac_ext >&5
12467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12468 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12471 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12472 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12473 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12474 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12475 ac_save_CXXFLAGS
=$CXXFLAGS
12477 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12478 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12479 if test "${ac_cv_prog_cxx_g+set}" = set; then
12480 echo $ECHO_N "(cached) $ECHO_C" >&6
12482 cat >conftest.
$ac_ext <<_ACEOF
12485 cat confdefs.h
>>conftest.
$ac_ext
12486 cat >>conftest.
$ac_ext <<_ACEOF
12487 /* end confdefs.h. */
12497 rm -f conftest.
$ac_objext
12498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12499 (eval $ac_compile) 2>conftest.er1
12501 grep -v '^ *+' conftest.er1
>conftest.err
12503 cat conftest.err
>&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); } &&
12506 { ac_try
='test -z "$ac_cxx_werror_flag"
12507 || test ! -s conftest.err'
12508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12509 (eval $ac_try) 2>&5
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); }; } &&
12513 { ac_try
='test -s conftest.$ac_objext'
12514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12515 (eval $ac_try) 2>&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); }; }; then
12519 ac_cv_prog_cxx_g
=yes
12521 echo "$as_me: failed program was:" >&5
12522 sed 's/^/| /' conftest.
$ac_ext >&5
12524 ac_cv_prog_cxx_g
=no
12526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12528 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12529 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12530 if test "$ac_test_CXXFLAGS" = set; then
12531 CXXFLAGS
=$ac_save_CXXFLAGS
12532 elif test $ac_cv_prog_cxx_g = yes; then
12533 if test "$GXX" = yes; then
12539 if test "$GXX" = yes; then
12545 for ac_declaration
in \
12547 'extern "C" void std::exit (int) throw (); using std::exit;' \
12548 'extern "C" void std::exit (int); using std::exit;' \
12549 'extern "C" void exit (int) throw ();' \
12550 'extern "C" void exit (int);' \
12553 cat >conftest.
$ac_ext <<_ACEOF
12556 cat confdefs.h
>>conftest.
$ac_ext
12557 cat >>conftest.
$ac_ext <<_ACEOF
12558 /* end confdefs.h. */
12560 #include <stdlib.h>
12569 rm -f conftest.
$ac_objext
12570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12571 (eval $ac_compile) 2>conftest.er1
12573 grep -v '^ *+' conftest.er1
>conftest.err
12575 cat conftest.err
>&5
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); } &&
12578 { ac_try
='test -z "$ac_cxx_werror_flag"
12579 || test ! -s conftest.err'
12580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12581 (eval $ac_try) 2>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); }; } &&
12585 { ac_try
='test -s conftest.$ac_objext'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; }; then
12593 echo "$as_me: failed program was:" >&5
12594 sed 's/^/| /' conftest.
$ac_ext >&5
12598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12599 cat >conftest.
$ac_ext <<_ACEOF
12602 cat confdefs.h
>>conftest.
$ac_ext
12603 cat >>conftest.
$ac_ext <<_ACEOF
12604 /* end confdefs.h. */
12614 rm -f conftest.
$ac_objext
12615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12616 (eval $ac_compile) 2>conftest.er1
12618 grep -v '^ *+' conftest.er1
>conftest.err
12620 cat conftest.err
>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); } &&
12623 { ac_try
='test -z "$ac_cxx_werror_flag"
12624 || test ! -s conftest.err'
12625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12626 (eval $ac_try) 2>&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); }; } &&
12630 { ac_try
='test -s conftest.$ac_objext'
12631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12632 (eval $ac_try) 2>&5
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); }; }; then
12638 echo "$as_me: failed program was:" >&5
12639 sed 's/^/| /' conftest.
$ac_ext >&5
12642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12645 if test -n "$ac_declaration"; then
12646 echo '#ifdef __cplusplus' >>confdefs.h
12647 echo $ac_declaration >>confdefs.h
12648 echo '#endif' >>confdefs.h
12652 ac_cpp
='$CXXCPP $CPPFLAGS'
12653 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12654 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12655 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12657 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12658 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12659 if test "${wx_cv_cxx_exto+set}" = set; then
12660 echo $ECHO_N "(cached) $ECHO_C" >&6
12662 cat >conftest.
$ac_ext <<_ACEOF
12665 cat confdefs.h
>>conftest.
$ac_ext
12666 cat >>conftest.
$ac_ext <<_ACEOF
12667 /* end confdefs.h. */
12677 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12679 (eval $ac_compile) 2>&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); }; then
12683 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12685 conftest.
$ac_ext.o
)
12686 wx_cv_cxx_exto
="-ext o"
12693 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12694 See \`config.log' for more details." >&5
12695 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12696 See \`config.log' for more details." >&2;}
12697 { (exit 1); exit 1; }; }
12701 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12704 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12705 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12706 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12707 if test "cxx" = "c"; then
12708 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12710 if test "cxx" = "cxx"; then
12711 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12715 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12716 unset ac_cv_prog_cxx_g
12717 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12718 ac_save_CXXFLAGS
=$CXXFLAGS
12720 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12721 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12722 if test "${ac_cv_prog_cxx_g+set}" = set; then
12723 echo $ECHO_N "(cached) $ECHO_C" >&6
12725 cat >conftest.
$ac_ext <<_ACEOF
12728 cat confdefs.h
>>conftest.
$ac_ext
12729 cat >>conftest.
$ac_ext <<_ACEOF
12730 /* end confdefs.h. */
12740 rm -f conftest.
$ac_objext
12741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12742 (eval $ac_compile) 2>conftest.er1
12744 grep -v '^ *+' conftest.er1
>conftest.err
12746 cat conftest.err
>&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); } &&
12749 { ac_try
='test -z "$ac_cxx_werror_flag"
12750 || test ! -s conftest.err'
12751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12752 (eval $ac_try) 2>&5
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); }; } &&
12756 { ac_try
='test -s conftest.$ac_objext'
12757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12758 (eval $ac_try) 2>&5
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12761 (exit $ac_status); }; }; then
12762 ac_cv_prog_cxx_g
=yes
12764 echo "$as_me: failed program was:" >&5
12765 sed 's/^/| /' conftest.
$ac_ext >&5
12767 ac_cv_prog_cxx_g
=no
12769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12771 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12772 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12773 if test "$ac_test_CXXFLAGS" = set; then
12774 CXXFLAGS
=$ac_save_CXXFLAGS
12775 elif test $ac_cv_prog_cxx_g = yes; then
12776 if test "$GXX" = yes; then
12782 if test "$GXX" = yes; then
12790 ac_cpp
='$CXXCPP $CPPFLAGS'
12791 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12792 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12795 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12796 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12797 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12798 echo $ECHO_N "(cached) $ECHO_C" >&6
12800 cat >conftest.
$ac_ext <<_ACEOF
12803 cat confdefs.h
>>conftest.
$ac_ext
12804 cat >>conftest.
$ac_ext <<_ACEOF
12805 /* end confdefs.h. */
12818 rm -f conftest.
$ac_objext
12819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12820 (eval $ac_compile) 2>conftest.er1
12822 grep -v '^ *+' conftest.er1
>conftest.err
12824 cat conftest.err
>&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); } &&
12827 { ac_try
='test -z "$ac_cxx_werror_flag"
12828 || test ! -s conftest.err'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; } &&
12834 { ac_try
='test -s conftest.$ac_objext'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12840 bakefile_compiler_mwerks
=yes
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.
$ac_ext >&5
12845 bakefile_compiler_mwerks
=no
12847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12848 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12851 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12852 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12854 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12856 ac_cpp
='$CXXCPP $CPPFLAGS'
12857 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12858 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12859 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12863 ac_cpp
='$CXXCPP $CPPFLAGS'
12864 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12865 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12866 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12868 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12869 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12870 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12871 echo $ECHO_N "(cached) $ECHO_C" >&6
12873 cat >conftest.
$ac_ext <<_ACEOF
12876 cat confdefs.h
>>conftest.
$ac_ext
12877 cat >>conftest.
$ac_ext <<_ACEOF
12878 /* end confdefs.h. */
12891 rm -f conftest.
$ac_objext
12892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12893 (eval $ac_compile) 2>conftest.er1
12895 grep -v '^ *+' conftest.er1
>conftest.err
12897 cat conftest.err
>&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } &&
12900 { ac_try
='test -z "$ac_cxx_werror_flag"
12901 || test ! -s conftest.err'
12902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12903 (eval $ac_try) 2>&5
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); }; } &&
12907 { ac_try
='test -s conftest.$ac_objext'
12908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12909 (eval $ac_try) 2>&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); }; }; then
12913 wx_compiler_xlc
=yes
12915 echo "$as_me: failed program was:" >&5
12916 sed 's/^/| /' conftest.
$ac_ext >&5
12920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12921 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12924 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12925 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12927 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12929 ac_cpp
='$CXXCPP $CPPFLAGS'
12930 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12931 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12932 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12938 ac_cpp
='$CXXCPP $CPPFLAGS'
12939 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12940 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12941 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12943 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12944 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12945 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 cat >conftest.
$ac_ext <<_ACEOF
12951 cat confdefs.h
>>conftest.
$ac_ext
12952 cat >>conftest.
$ac_ext <<_ACEOF
12953 /* end confdefs.h. */
12959 #ifndef __SUNPRO_CC
12967 rm -f conftest.
$ac_objext
12968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12969 (eval $ac_compile) 2>conftest.er1
12971 grep -v '^ *+' conftest.er1
>conftest.err
12973 cat conftest.err
>&5
12974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975 (exit $ac_status); } &&
12976 { ac_try
='test -z "$ac_cxx_werror_flag"
12977 || test ! -s conftest.err'
12978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12979 (eval $ac_try) 2>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; } &&
12983 { ac_try
='test -s conftest.$ac_objext'
12984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12985 (eval $ac_try) 2>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); }; }; then
12989 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
12991 echo "$as_me: failed program was:" >&5
12992 sed 's/^/| /' conftest.
$ac_ext >&5
12994 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
12997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13001 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13002 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13004 ac_cpp
='$CXXCPP $CPPFLAGS'
13005 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13006 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13007 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13009 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13019 ac_cpp
='$CPP $CPPFLAGS'
13020 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13021 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13022 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13025 if test -n "$ac_tool_prefix"; then
13026 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13027 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
13028 echo "$as_me:$LINENO: checking for $ac_word" >&5
13029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13030 if test "${ac_cv_prog_RANLIB+set}" = set; then
13031 echo $ECHO_N "(cached) $ECHO_C" >&6
13033 if test -n "$RANLIB"; then
13034 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
13036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13037 for as_dir
in $PATH
13040 test -z "$as_dir" && as_dir
=.
13041 for ac_exec_ext
in '' $ac_executable_extensions; do
13042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13043 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
13044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13052 RANLIB
=$ac_cv_prog_RANLIB
13053 if test -n "$RANLIB"; then
13054 echo "$as_me:$LINENO: result: $RANLIB" >&5
13055 echo "${ECHO_T}$RANLIB" >&6
13057 echo "$as_me:$LINENO: result: no" >&5
13058 echo "${ECHO_T}no" >&6
13062 if test -z "$ac_cv_prog_RANLIB"; then
13063 ac_ct_RANLIB
=$RANLIB
13064 # Extract the first word of "ranlib", so it can be a program name with args.
13065 set dummy ranlib
; ac_word
=$2
13066 echo "$as_me:$LINENO: checking for $ac_word" >&5
13067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13068 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13071 if test -n "$ac_ct_RANLIB"; then
13072 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
13074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13075 for as_dir
in $PATH
13078 test -z "$as_dir" && as_dir
=.
13079 for ac_exec_ext
in '' $ac_executable_extensions; do
13080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13081 ac_cv_prog_ac_ct_RANLIB
="ranlib"
13082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13088 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
13091 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
13092 if test -n "$ac_ct_RANLIB"; then
13093 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13094 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13096 echo "$as_me:$LINENO: result: no" >&5
13097 echo "${ECHO_T}no" >&6
13100 RANLIB
=$ac_ct_RANLIB
13102 RANLIB
="$ac_cv_prog_RANLIB"
13106 # Extract the first word of "ar", so it can be a program name with args.
13107 set dummy
ar; ac_word
=$2
13108 echo "$as_me:$LINENO: checking for $ac_word" >&5
13109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13110 if test "${ac_cv_prog_AR+set}" = set; then
13111 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 if test -n "$AR"; then
13114 ac_cv_prog_AR
="$AR" # Let the user override the test.
13116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13117 for as_dir
in $PATH
13120 test -z "$as_dir" && as_dir
=.
13121 for ac_exec_ext
in '' $ac_executable_extensions; do
13122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13133 if test -n "$AR"; then
13134 echo "$as_me:$LINENO: result: $AR" >&5
13135 echo "${ECHO_T}$AR" >&6
13137 echo "$as_me:$LINENO: result: no" >&5
13138 echo "${ECHO_T}no" >&6
13141 if test "x$AR" = "x" ; then
13142 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13143 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13144 { (exit 1); exit 1; }; }
13147 # Find a good install program. We prefer a C program (faster),
13148 # so one script is as good as another. But avoid the broken or
13149 # incompatible versions:
13150 # SysV /etc/install, /usr/sbin/install
13151 # SunOS /usr/etc/install
13152 # IRIX /sbin/install
13154 # AmigaOS /C/install, which installs bootblocks on floppy discs
13155 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13156 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13157 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13158 # OS/2's system install, which has a completely different semantic
13159 # ./install, which can be erroneously created by make from ./install.sh.
13160 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13161 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13162 if test -z "$INSTALL"; then
13163 if test "${ac_cv_path_install+set}" = set; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13167 for as_dir
in $PATH
13170 test -z "$as_dir" && as_dir
=.
13171 # Account for people who put trailing slashes in PATH elements.
13173 .
/ | .
// | /cC
/* | \
13174 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13175 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13178 # OSF1 and SCO ODT 3.0 have their own names for install.
13179 # Don't use installbsd from OSF since it installs stuff as root
13181 for ac_prog
in ginstall scoinst
install; do
13182 for ac_exec_ext
in '' $ac_executable_extensions; do
13183 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13184 if test $ac_prog = install &&
13185 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13186 # AIX install. It has an incompatible calling convention.
13188 elif test $ac_prog = install &&
13189 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13190 # program-specific install script used by HP pwplus--don't use.
13193 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13205 if test "${ac_cv_path_install+set}" = set; then
13206 INSTALL
=$ac_cv_path_install
13208 # As a last resort, use the slow shell script. We don't cache a
13209 # path for INSTALL within a source directory, because that will
13210 # break other packages using the cache if that directory is
13211 # removed, or if the path is relative.
13212 INSTALL
=$ac_install_sh
13215 echo "$as_me:$LINENO: result: $INSTALL" >&5
13216 echo "${ECHO_T}$INSTALL" >&6
13218 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13219 # It thinks the first close brace ends the variable substitution.
13220 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13222 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13224 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13230 ?
:* ) # Drive letter, considered as absolute.
13233 INSTALL
=`pwd`/${INSTALL} ;;
13239 powerpc
-*-darwin* )
13240 INSTALL_PROGRAM
="cp -fp"
13241 INSTALL_DATA
="cp -fp"
13247 # Extract the first word of "strip", so it can be a program name with args.
13248 set dummy strip
; ac_word
=$2
13249 echo "$as_me:$LINENO: checking for $ac_word" >&5
13250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13251 if test "${ac_cv_prog_STRIP+set}" = set; then
13252 echo $ECHO_N "(cached) $ECHO_C" >&6
13254 if test -n "$STRIP"; then
13255 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13258 for as_dir
in $PATH
13261 test -z "$as_dir" && as_dir
=.
13262 for ac_exec_ext
in '' $ac_executable_extensions; do
13263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13264 ac_cv_prog_STRIP
="strip"
13265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13271 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13274 STRIP
=$ac_cv_prog_STRIP
13275 if test -n "$STRIP"; then
13276 echo "$as_me:$LINENO: result: $STRIP" >&5
13277 echo "${ECHO_T}$STRIP" >&6
13279 echo "$as_me:$LINENO: result: no" >&5
13280 echo "${ECHO_T}no" >&6
13284 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13285 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13286 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13287 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13291 egrep -s GNU
> /dev
/null
); then
13292 wx_cv_prog_makeisgnu
="yes"
13294 wx_cv_prog_makeisgnu
="no"
13298 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13299 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13301 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13309 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13310 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13311 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13312 if test "${wx_cv_prog_makevpath+set}" = set; then
13313 echo $ECHO_N "(cached) $ECHO_C" >&6
13316 cat - << EOF > confMake
13322 if test ! -d sub
; then
13325 echo dummy
> sub
/file
13326 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13328 rm -f sub
/file check final_file confMake
13330 if test "$RESULT" = 0; then
13331 wx_cv_prog_makevpath
="yes"
13333 wx_cv_prog_makevpath
="no"
13337 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13338 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13340 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13341 { { echo "$as_me:$LINENO: error:
13342 You need a make-utility that is able to use the variable
13344 If your version of make does not support VPATH correctly,
13345 please install GNU-make (possibly as gmake), and start
13346 configure with the following command:
13347 export MAKE=gmake; ./configure for sh-type shells
13348 setenv MAKE gmake; ./configure for csh-type shells
13349 Also please do remember to use gmake in this case every time
13350 you are trying to compile.
13352 echo "$as_me: error:
13353 You need a make-utility that is able to use the variable
13355 If your version of make does not support VPATH correctly,
13356 please install GNU-make (possibly as gmake), and start
13357 configure with the following command:
13358 export MAKE=gmake; ./configure for sh-type shells
13359 setenv MAKE gmake; ./configure for csh-type shells
13360 Also please do remember to use gmake in this case every time
13361 you are trying to compile.
13363 { (exit 1); exit 1; }; }
13365 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13366 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13368 if test "$LN_S" = "ln -s"; then
13369 echo "$as_me:$LINENO: result: yes" >&5
13370 echo "${ECHO_T}yes" >&6
13372 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13373 echo "${ECHO_T}no, using $LN_S" >&6
13378 if test "x$XLCXX" = "xyes"; then
13379 CXXFLAGS
="$CXXFLAGS -qunique"
13384 powerpc
-*-darwin* )
13385 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13386 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13387 cat >conftest.
$ac_ext <<_ACEOF
13390 cat confdefs.h
>>conftest.
$ac_ext
13391 cat >>conftest.
$ac_ext <<_ACEOF
13392 /* end confdefs.h. */
13397 #ifndef __POWERPC__
13398 choke me for lack of PowerPC
13405 rm -f conftest.
$ac_objext
13406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13407 (eval $ac_compile) 2>conftest.er1
13409 grep -v '^ *+' conftest.er1
>conftest.err
13411 cat conftest.err
>&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); } &&
13414 { ac_try
='test -z "$ac_c_werror_flag"
13415 || test ! -s conftest.err'
13416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13417 (eval $ac_try) 2>&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); }; } &&
13421 { ac_try
='test -s conftest.$ac_objext'
13422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13423 (eval $ac_try) 2>&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); }; }; then
13427 echo "$as_me:$LINENO: result: yes" >&5
13428 echo "${ECHO_T}yes" >&6
13430 echo "$as_me: failed program was:" >&5
13431 sed 's/^/| /' conftest.
$ac_ext >&5
13433 echo "$as_me:$LINENO: result: no" >&5
13434 echo "${ECHO_T}no" >&6
13435 cat >>confdefs.h
<<\_ACEOF
13436 #define __POWERPC__ 1
13441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13442 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13443 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13444 cat >conftest.
$ac_ext <<_ACEOF
13447 cat confdefs.h
>>conftest.
$ac_ext
13448 cat >>conftest.
$ac_ext <<_ACEOF
13449 /* end confdefs.h. */
13450 #include <CoreFoundation/CFBase.h>
13460 rm -f conftest.
$ac_objext
13461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13462 (eval $ac_compile) 2>conftest.er1
13464 grep -v '^ *+' conftest.er1
>conftest.err
13466 cat conftest.err
>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } &&
13469 { ac_try
='test -z "$ac_c_werror_flag"
13470 || test ! -s conftest.err'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; } &&
13476 { ac_try
='test -s conftest.$ac_objext'
13477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13478 (eval $ac_try) 2>&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); }; }; then
13482 echo "$as_me:$LINENO: result: yes" >&5
13483 echo "${ECHO_T}yes" >&6
13485 echo "$as_me: failed program was:" >&5
13486 sed 's/^/| /' conftest.
$ac_ext >&5
13488 echo "$as_me:$LINENO: result: no" >&5
13489 echo "${ECHO_T}no" >&6
13490 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13491 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13492 cat >conftest.
$ac_ext <<_ACEOF
13495 cat confdefs.h
>>conftest.
$ac_ext
13496 cat >>conftest.
$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13498 #define __CF_USE_FRAMEWORK_INCLUDES__
13499 #include <CoreFoundation/CFBase.h>
13509 rm -f conftest.
$ac_objext
13510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13511 (eval $ac_compile) 2>conftest.er1
13513 grep -v '^ *+' conftest.er1
>conftest.err
13515 cat conftest.err
>&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); } &&
13518 { ac_try
='test -z "$ac_c_werror_flag"
13519 || test ! -s conftest.err'
13520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13521 (eval $ac_try) 2>&5
13523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13524 (exit $ac_status); }; } &&
13525 { ac_try
='test -s conftest.$ac_objext'
13526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13527 (eval $ac_try) 2>&5
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); }; }; then
13531 echo "$as_me:$LINENO: result: yes" >&5
13532 echo "${ECHO_T}yes" >&6
13533 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13535 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.
$ac_ext >&5
13538 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13539 See \`config.log' for more details." >&5
13540 echo "$as_me: error: no. CoreFoundation not available.
13541 See \`config.log' for more details." >&2;}
13542 { (exit 1); exit 1; }; }
13545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13554 *-pc-os2_emx | *-pc-os2-emx )
13555 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13556 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13557 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13558 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13559 echo $ECHO_N "(cached) $ECHO_C" >&6
13561 ac_check_lib_save_LIBS
=$LIBS
13562 LIBS
="-lcExt $LIBS"
13563 cat >conftest.
$ac_ext <<_ACEOF
13566 cat confdefs.h
>>conftest.
$ac_ext
13567 cat >>conftest.
$ac_ext <<_ACEOF
13568 /* end confdefs.h. */
13570 /* Override any gcc2 internal prototype to avoid an error. */
13574 /* We use char because int might match the return type of a gcc2
13575 builtin and then its argument prototype would still apply. */
13585 rm -f conftest.
$ac_objext conftest
$ac_exeext
13586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13587 (eval $ac_link) 2>conftest.er1
13589 grep -v '^ *+' conftest.er1
>conftest.err
13591 cat conftest.err
>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); } &&
13594 { ac_try
='test -z "$ac_c_werror_flag"
13595 || test ! -s conftest.err'
13596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13597 (eval $ac_try) 2>&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); }; } &&
13601 { ac_try
='test -s conftest$ac_exeext'
13602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13603 (eval $ac_try) 2>&5
13605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13606 (exit $ac_status); }; }; then
13607 ac_cv_lib_cExt_drand48
=yes
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.
$ac_ext >&5
13612 ac_cv_lib_cExt_drand48
=no
13614 rm -f conftest.err conftest.
$ac_objext \
13615 conftest
$ac_exeext conftest.
$ac_ext
13616 LIBS
=$ac_check_lib_save_LIBS
13618 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13619 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13620 if test $ac_cv_lib_cExt_drand48 = yes; then
13621 LIBS
="$LIBS -lcExt"
13625 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13627 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13628 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13629 if test "${wx_cv_gccversion+set}" = set; then
13630 echo $ECHO_N "(cached) $ECHO_C" >&6
13633 if test "$cross_compiling" = yes; then
13634 wx_cv_gccversion
="EMX2"
13637 cat >conftest.
$ac_ext <<_ACEOF
13640 cat confdefs.h
>>conftest.
$ac_ext
13641 cat >>conftest.
$ac_ext <<_ACEOF
13642 /* end confdefs.h. */
13648 FILE *f=fopen("conftestval", "w");
13653 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13655 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13665 rm -f conftest
$ac_exeext
13666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13667 (eval $ac_link) 2>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672 (eval $ac_try) 2>&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); }; }; then
13676 wx_cv_gccversion
=`cat conftestval`
13678 echo "$as_me: program exited with status $ac_status" >&5
13679 echo "$as_me: failed program was:" >&5
13680 sed 's/^/| /' conftest.
$ac_ext >&5
13682 ( exit $ac_status )
13683 wx_cv_gccversion
="EMX2"
13685 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13689 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13690 echo "${ECHO_T}$wx_cv_gccversion" >&6
13691 if test "$wx_cv_gccversion" = "EMX2"; then
13692 LIBS
="$LIBS -lstdcpp"
13693 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13695 if test "$wx_cv_gccversion" = "EMX3"; then
13696 LIBS
="$LIBS -lstdcxx -lgcc"
13697 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13699 LIBS
="$LIBS -lstdc++"
13702 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13703 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13704 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13714 ac_cpp
='$CXXCPP $CPPFLAGS'
13715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13720 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13721 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13722 if test "${ac_cv_string_strcasecmp+set}" = set; then
13723 echo $ECHO_N "(cached) $ECHO_C" >&6
13726 cat >conftest.
$ac_ext <<_ACEOF
13729 cat confdefs.h
>>conftest.
$ac_ext
13730 cat >>conftest.
$ac_ext <<_ACEOF
13731 /* end confdefs.h. */
13733 #include <string.h>
13739 strcasecmp("foo", "bar");
13745 rm -f conftest.
$ac_objext conftest
$ac_exeext
13746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13747 (eval $ac_link) 2>conftest.er1
13749 grep -v '^ *+' conftest.er1
>conftest.err
13751 cat conftest.err
>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); } &&
13754 { ac_try
='test -z "$ac_cxx_werror_flag"
13755 || test ! -s conftest.err'
13756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13757 (eval $ac_try) 2>&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); }; } &&
13761 { ac_try
='test -s conftest$ac_exeext'
13762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13763 (eval $ac_try) 2>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); }; }; then
13767 ac_cv_string_strcasecmp
=yes
13769 echo "$as_me: failed program was:" >&5
13770 sed 's/^/| /' conftest.
$ac_ext >&5
13772 ac_cv_string_strcasecmp
=no
13775 rm -f conftest.err conftest.
$ac_objext \
13776 conftest
$ac_exeext conftest.
$ac_ext
13779 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13780 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13782 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13783 cat >>confdefs.h
<<\_ACEOF
13784 #define HAVE_STRCASECMP_IN_STRING_H 1
13788 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13789 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13790 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13791 echo $ECHO_N "(cached) $ECHO_C" >&6
13794 cat >conftest.
$ac_ext <<_ACEOF
13797 cat confdefs.h
>>conftest.
$ac_ext
13798 cat >>conftest.
$ac_ext <<_ACEOF
13799 /* end confdefs.h. */
13801 #include <strings.h>
13807 strcasecmp("foo", "bar");
13813 rm -f conftest.
$ac_objext conftest
$ac_exeext
13814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13815 (eval $ac_link) 2>conftest.er1
13817 grep -v '^ *+' conftest.er1
>conftest.err
13819 cat conftest.err
>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); } &&
13822 { ac_try
='test -z "$ac_cxx_werror_flag"
13823 || test ! -s conftest.err'
13824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13825 (eval $ac_try) 2>&5
13827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828 (exit $ac_status); }; } &&
13829 { ac_try
='test -s conftest$ac_exeext'
13830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831 (eval $ac_try) 2>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); }; }; then
13835 ac_cv_strings_strcasecmp
=yes
13837 echo "$as_me: failed program was:" >&5
13838 sed 's/^/| /' conftest.
$ac_ext >&5
13840 ac_cv_strings_strcasecmp
=no
13843 rm -f conftest.err conftest.
$ac_objext \
13844 conftest
$ac_exeext conftest.
$ac_ext
13847 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13848 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13850 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13851 cat >>confdefs.h
<<\_ACEOF
13852 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13856 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13857 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13858 { (exit 1); exit 1; }; }
13863 ac_cpp
='$CPP $CPPFLAGS'
13864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13872 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13873 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13874 if test "${ac_cv_header_stdc+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 cat >conftest.
$ac_ext <<_ACEOF
13880 cat confdefs.h
>>conftest.
$ac_ext
13881 cat >>conftest.
$ac_ext <<_ACEOF
13882 /* end confdefs.h. */
13883 #include <stdlib.h>
13884 #include <stdarg.h>
13885 #include <string.h>
13896 rm -f conftest.
$ac_objext
13897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13898 (eval $ac_compile) 2>conftest.er1
13900 grep -v '^ *+' conftest.er1
>conftest.err
13902 cat conftest.err
>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); } &&
13905 { ac_try
='test -z "$ac_c_werror_flag"
13906 || test ! -s conftest.err'
13907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13908 (eval $ac_try) 2>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }; } &&
13912 { ac_try
='test -s conftest.$ac_objext'
13913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13914 (eval $ac_try) 2>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }; }; then
13918 ac_cv_header_stdc
=yes
13920 echo "$as_me: failed program was:" >&5
13921 sed 's/^/| /' conftest.
$ac_ext >&5
13923 ac_cv_header_stdc
=no
13925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13927 if test $ac_cv_header_stdc = yes; then
13928 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13929 cat >conftest.
$ac_ext <<_ACEOF
13932 cat confdefs.h
>>conftest.
$ac_ext
13933 cat >>conftest.
$ac_ext <<_ACEOF
13934 /* end confdefs.h. */
13935 #include <string.h>
13938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13939 $EGREP "memchr" >/dev
/null
2>&1; then
13942 ac_cv_header_stdc
=no
13948 if test $ac_cv_header_stdc = yes; then
13949 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13950 cat >conftest.
$ac_ext <<_ACEOF
13953 cat confdefs.h
>>conftest.
$ac_ext
13954 cat >>conftest.
$ac_ext <<_ACEOF
13955 /* end confdefs.h. */
13956 #include <stdlib.h>
13959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13960 $EGREP "free" >/dev
/null
2>&1; then
13963 ac_cv_header_stdc
=no
13969 if test $ac_cv_header_stdc = yes; then
13970 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13971 if test "$cross_compiling" = yes; then
13974 cat >conftest.
$ac_ext <<_ACEOF
13977 cat confdefs.h
>>conftest.
$ac_ext
13978 cat >>conftest.
$ac_ext <<_ACEOF
13979 /* end confdefs.h. */
13981 #if ((' ' & 0x0FF) == 0x020)
13982 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13983 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13985 # define ISLOWER(c) \
13986 (('a' <= (c) && (c) <= 'i') \
13987 || ('j' <= (c) && (c) <= 'r') \
13988 || ('s' <= (c) && (c) <= 'z'))
13989 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13992 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13997 for (i = 0; i < 256; i++)
13998 if (XOR (islower (i), ISLOWER (i))
13999 || toupper (i) != TOUPPER (i))
14004 rm -f conftest
$ac_exeext
14005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14006 (eval $ac_link) 2>&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14011 (eval $ac_try) 2>&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); }; }; then
14017 echo "$as_me: program exited with status $ac_status" >&5
14018 echo "$as_me: failed program was:" >&5
14019 sed 's/^/| /' conftest.
$ac_ext >&5
14021 ( exit $ac_status )
14022 ac_cv_header_stdc
=no
14024 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14028 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14029 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14030 if test $ac_cv_header_stdc = yes; then
14032 cat >>confdefs.h
<<\_ACEOF
14033 #define STDC_HEADERS 1
14038 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14048 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
14049 inttypes.h stdint.h unistd.h
14051 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14052 echo "$as_me:$LINENO: checking for $ac_header" >&5
14053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14055 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 cat >conftest.
$ac_ext <<_ACEOF
14060 cat confdefs.h
>>conftest.
$ac_ext
14061 cat >>conftest.
$ac_ext <<_ACEOF
14062 /* end confdefs.h. */
14063 $ac_includes_default
14065 #include <$ac_header>
14067 rm -f conftest.
$ac_objext
14068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14069 (eval $ac_compile) 2>conftest.er1
14071 grep -v '^ *+' conftest.er1
>conftest.err
14073 cat conftest.err
>&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); } &&
14076 { ac_try
='test -z "$ac_c_werror_flag"
14077 || test ! -s conftest.err'
14078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14079 (eval $ac_try) 2>&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); }; } &&
14083 { ac_try
='test -s conftest.$ac_objext'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; }; then
14089 eval "$as_ac_Header=yes"
14091 echo "$as_me: failed program was:" >&5
14092 sed 's/^/| /' conftest.
$ac_ext >&5
14094 eval "$as_ac_Header=no"
14096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14101 cat >>confdefs.h
<<_ACEOF
14102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14111 for ac_header
in stdlib.h
14113 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14115 echo "$as_me:$LINENO: checking for $ac_header" >&5
14116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14123 # Is the header compilable?
14124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14126 cat >conftest.
$ac_ext <<_ACEOF
14129 cat confdefs.h
>>conftest.
$ac_ext
14130 cat >>conftest.
$ac_ext <<_ACEOF
14131 /* end confdefs.h. */
14132 $ac_includes_default
14133 #include <$ac_header>
14135 rm -f conftest.
$ac_objext
14136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14137 (eval $ac_compile) 2>conftest.er1
14139 grep -v '^ *+' conftest.er1
>conftest.err
14141 cat conftest.err
>&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); } &&
14144 { ac_try
='test -z "$ac_c_werror_flag"
14145 || test ! -s conftest.err'
14146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14147 (eval $ac_try) 2>&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }; } &&
14151 { ac_try
='test -s conftest.$ac_objext'
14152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14153 (eval $ac_try) 2>&5
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); }; }; then
14157 ac_header_compiler
=yes
14159 echo "$as_me: failed program was:" >&5
14160 sed 's/^/| /' conftest.
$ac_ext >&5
14162 ac_header_compiler
=no
14164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14166 echo "${ECHO_T}$ac_header_compiler" >&6
14168 # Is the header present?
14169 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14170 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14171 cat >conftest.
$ac_ext <<_ACEOF
14174 cat confdefs.h
>>conftest.
$ac_ext
14175 cat >>conftest.
$ac_ext <<_ACEOF
14176 /* end confdefs.h. */
14177 #include <$ac_header>
14179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14180 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14182 grep -v '^ *+' conftest.er1
>conftest.err
14184 cat conftest.err
>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); } >/dev
/null
; then
14187 if test -s conftest.err
; then
14188 ac_cpp_err
=$ac_c_preproc_warn_flag
14189 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14196 if test -z "$ac_cpp_err"; then
14197 ac_header_preproc
=yes
14199 echo "$as_me: failed program was:" >&5
14200 sed 's/^/| /' conftest.
$ac_ext >&5
14202 ac_header_preproc
=no
14204 rm -f conftest.err conftest.
$ac_ext
14205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14206 echo "${ECHO_T}$ac_header_preproc" >&6
14208 # So? What about this header?
14209 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14215 ac_header_preproc
=yes
14218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14232 ## ----------------------------------------- ##
14233 ## Report this to wx-dev@lists.wxwidgets.org ##
14234 ## ----------------------------------------- ##
14237 sed "s/^/$as_me: WARNING: /" >&2
14240 echo "$as_me:$LINENO: checking for $ac_header" >&5
14241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14243 echo $ECHO_N "(cached) $ECHO_C" >&6
14245 eval "$as_ac_Header=\$ac_header_preproc"
14247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14252 cat >>confdefs.h
<<_ACEOF
14253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14261 for ac_header
in malloc.h
14263 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14265 echo "$as_me:$LINENO: checking for $ac_header" >&5
14266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14268 echo $ECHO_N "(cached) $ECHO_C" >&6
14270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14273 # Is the header compilable?
14274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14276 cat >conftest.
$ac_ext <<_ACEOF
14279 cat confdefs.h
>>conftest.
$ac_ext
14280 cat >>conftest.
$ac_ext <<_ACEOF
14281 /* end confdefs.h. */
14282 $ac_includes_default
14283 #include <$ac_header>
14285 rm -f conftest.
$ac_objext
14286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14287 (eval $ac_compile) 2>conftest.er1
14289 grep -v '^ *+' conftest.er1
>conftest.err
14291 cat conftest.err
>&5
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); } &&
14294 { ac_try
='test -z "$ac_c_werror_flag"
14295 || test ! -s conftest.err'
14296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14297 (eval $ac_try) 2>&5
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); }; } &&
14301 { ac_try
='test -s conftest.$ac_objext'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; }; then
14307 ac_header_compiler
=yes
14309 echo "$as_me: failed program was:" >&5
14310 sed 's/^/| /' conftest.
$ac_ext >&5
14312 ac_header_compiler
=no
14314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14316 echo "${ECHO_T}$ac_header_compiler" >&6
14318 # Is the header present?
14319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14321 cat >conftest.
$ac_ext <<_ACEOF
14324 cat confdefs.h
>>conftest.
$ac_ext
14325 cat >>conftest.
$ac_ext <<_ACEOF
14326 /* end confdefs.h. */
14327 #include <$ac_header>
14329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14330 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14332 grep -v '^ *+' conftest.er1
>conftest.err
14334 cat conftest.err
>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); } >/dev
/null
; then
14337 if test -s conftest.err
; then
14338 ac_cpp_err
=$ac_c_preproc_warn_flag
14339 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14346 if test -z "$ac_cpp_err"; then
14347 ac_header_preproc
=yes
14349 echo "$as_me: failed program was:" >&5
14350 sed 's/^/| /' conftest.
$ac_ext >&5
14352 ac_header_preproc
=no
14354 rm -f conftest.err conftest.
$ac_ext
14355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14356 echo "${ECHO_T}$ac_header_preproc" >&6
14358 # So? What about this header?
14359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14365 ac_header_preproc
=yes
14368 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14370 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14371 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14372 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14374 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14375 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14378 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14382 ## ----------------------------------------- ##
14383 ## Report this to wx-dev@lists.wxwidgets.org ##
14384 ## ----------------------------------------- ##
14387 sed "s/^/$as_me: WARNING: /" >&2
14390 echo "$as_me:$LINENO: checking for $ac_header" >&5
14391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14395 eval "$as_ac_Header=\$ac_header_preproc"
14397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14402 cat >>confdefs.h
<<_ACEOF
14403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14411 for ac_header
in unistd.h
14413 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14415 echo "$as_me:$LINENO: checking for $ac_header" >&5
14416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14423 # Is the header compilable?
14424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14426 cat >conftest.
$ac_ext <<_ACEOF
14429 cat confdefs.h
>>conftest.
$ac_ext
14430 cat >>conftest.
$ac_ext <<_ACEOF
14431 /* end confdefs.h. */
14432 $ac_includes_default
14433 #include <$ac_header>
14435 rm -f conftest.
$ac_objext
14436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14437 (eval $ac_compile) 2>conftest.er1
14439 grep -v '^ *+' conftest.er1
>conftest.err
14441 cat conftest.err
>&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } &&
14444 { ac_try
='test -z "$ac_c_werror_flag"
14445 || test ! -s conftest.err'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; } &&
14451 { ac_try
='test -s conftest.$ac_objext'
14452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; }; then
14457 ac_header_compiler
=yes
14459 echo "$as_me: failed program was:" >&5
14460 sed 's/^/| /' conftest.
$ac_ext >&5
14462 ac_header_compiler
=no
14464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14466 echo "${ECHO_T}$ac_header_compiler" >&6
14468 # Is the header present?
14469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14471 cat >conftest.
$ac_ext <<_ACEOF
14474 cat confdefs.h
>>conftest.
$ac_ext
14475 cat >>conftest.
$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477 #include <$ac_header>
14479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14480 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14482 grep -v '^ *+' conftest.er1
>conftest.err
14484 cat conftest.err
>&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); } >/dev
/null
; then
14487 if test -s conftest.err
; then
14488 ac_cpp_err
=$ac_c_preproc_warn_flag
14489 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14496 if test -z "$ac_cpp_err"; then
14497 ac_header_preproc
=yes
14499 echo "$as_me: failed program was:" >&5
14500 sed 's/^/| /' conftest.
$ac_ext >&5
14502 ac_header_preproc
=no
14504 rm -f conftest.err conftest.
$ac_ext
14505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14506 echo "${ECHO_T}$ac_header_preproc" >&6
14508 # So? What about this header?
14509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14515 ac_header_preproc
=yes
14518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14522 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14524 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14525 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14528 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14532 ## ----------------------------------------- ##
14533 ## Report this to wx-dev@lists.wxwidgets.org ##
14534 ## ----------------------------------------- ##
14537 sed "s/^/$as_me: WARNING: /" >&2
14540 echo "$as_me:$LINENO: checking for $ac_header" >&5
14541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14543 echo $ECHO_N "(cached) $ECHO_C" >&6
14545 eval "$as_ac_Header=\$ac_header_preproc"
14547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14552 cat >>confdefs.h
<<_ACEOF
14553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14561 for ac_header
in wchar.h
14563 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14565 echo "$as_me:$LINENO: checking for $ac_header" >&5
14566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14568 echo $ECHO_N "(cached) $ECHO_C" >&6
14570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14573 # Is the header compilable?
14574 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14576 cat >conftest.
$ac_ext <<_ACEOF
14579 cat confdefs.h
>>conftest.
$ac_ext
14580 cat >>conftest.
$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14582 $ac_includes_default
14583 #include <$ac_header>
14585 rm -f conftest.
$ac_objext
14586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14587 (eval $ac_compile) 2>conftest.er1
14589 grep -v '^ *+' conftest.er1
>conftest.err
14591 cat conftest.err
>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } &&
14594 { ac_try
='test -z "$ac_c_werror_flag"
14595 || test ! -s conftest.err'
14596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; } &&
14601 { ac_try
='test -s conftest.$ac_objext'
14602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14603 (eval $ac_try) 2>&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); }; }; then
14607 ac_header_compiler
=yes
14609 echo "$as_me: failed program was:" >&5
14610 sed 's/^/| /' conftest.
$ac_ext >&5
14612 ac_header_compiler
=no
14614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14616 echo "${ECHO_T}$ac_header_compiler" >&6
14618 # Is the header present?
14619 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14621 cat >conftest.
$ac_ext <<_ACEOF
14624 cat confdefs.h
>>conftest.
$ac_ext
14625 cat >>conftest.
$ac_ext <<_ACEOF
14626 /* end confdefs.h. */
14627 #include <$ac_header>
14629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14630 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14632 grep -v '^ *+' conftest.er1
>conftest.err
14634 cat conftest.err
>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); } >/dev
/null
; then
14637 if test -s conftest.err
; then
14638 ac_cpp_err
=$ac_c_preproc_warn_flag
14639 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14646 if test -z "$ac_cpp_err"; then
14647 ac_header_preproc
=yes
14649 echo "$as_me: failed program was:" >&5
14650 sed 's/^/| /' conftest.
$ac_ext >&5
14652 ac_header_preproc
=no
14654 rm -f conftest.err conftest.
$ac_ext
14655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14656 echo "${ECHO_T}$ac_header_preproc" >&6
14658 # So? What about this header?
14659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14664 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14665 ac_header_preproc
=yes
14668 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14669 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14670 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14671 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14672 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14673 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14674 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14675 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14678 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14679 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14682 ## ----------------------------------------- ##
14683 ## Report this to wx-dev@lists.wxwidgets.org ##
14684 ## ----------------------------------------- ##
14687 sed "s/^/$as_me: WARNING: /" >&2
14690 echo "$as_me:$LINENO: checking for $ac_header" >&5
14691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14693 echo $ECHO_N "(cached) $ECHO_C" >&6
14695 eval "$as_ac_Header=\$ac_header_preproc"
14697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14702 cat >>confdefs.h
<<_ACEOF
14703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14711 if test "$ac_cv_header_wchar_h" != "yes"; then
14713 for ac_header
in wcstr.h
14715 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14717 echo "$as_me:$LINENO: checking for $ac_header" >&5
14718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14720 echo $ECHO_N "(cached) $ECHO_C" >&6
14722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14725 # Is the header compilable?
14726 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14727 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14728 cat >conftest.
$ac_ext <<_ACEOF
14731 cat confdefs.h
>>conftest.
$ac_ext
14732 cat >>conftest.
$ac_ext <<_ACEOF
14733 /* end confdefs.h. */
14734 $ac_includes_default
14735 #include <$ac_header>
14737 rm -f conftest.
$ac_objext
14738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14739 (eval $ac_compile) 2>conftest.er1
14741 grep -v '^ *+' conftest.er1
>conftest.err
14743 cat conftest.err
>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } &&
14746 { ac_try
='test -z "$ac_c_werror_flag"
14747 || test ! -s conftest.err'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; } &&
14753 { ac_try
='test -s conftest.$ac_objext'
14754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14755 (eval $ac_try) 2>&5
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); }; }; then
14759 ac_header_compiler
=yes
14761 echo "$as_me: failed program was:" >&5
14762 sed 's/^/| /' conftest.
$ac_ext >&5
14764 ac_header_compiler
=no
14766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14767 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14768 echo "${ECHO_T}$ac_header_compiler" >&6
14770 # Is the header present?
14771 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14772 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14773 cat >conftest.
$ac_ext <<_ACEOF
14776 cat confdefs.h
>>conftest.
$ac_ext
14777 cat >>conftest.
$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14779 #include <$ac_header>
14781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14782 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14784 grep -v '^ *+' conftest.er1
>conftest.err
14786 cat conftest.err
>&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); } >/dev
/null
; then
14789 if test -s conftest.err
; then
14790 ac_cpp_err
=$ac_c_preproc_warn_flag
14791 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14798 if test -z "$ac_cpp_err"; then
14799 ac_header_preproc
=yes
14801 echo "$as_me: failed program was:" >&5
14802 sed 's/^/| /' conftest.
$ac_ext >&5
14804 ac_header_preproc
=no
14806 rm -f conftest.err conftest.
$ac_ext
14807 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14808 echo "${ECHO_T}$ac_header_preproc" >&6
14810 # So? What about this header?
14811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14813 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14814 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14816 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14817 ac_header_preproc
=yes
14820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14824 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14825 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14826 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14827 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14830 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14831 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14834 ## ----------------------------------------- ##
14835 ## Report this to wx-dev@lists.wxwidgets.org ##
14836 ## ----------------------------------------- ##
14839 sed "s/^/$as_me: WARNING: /" >&2
14842 echo "$as_me:$LINENO: checking for $ac_header" >&5
14843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 eval "$as_ac_Header=\$ac_header_preproc"
14849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14854 cat >>confdefs.h
<<_ACEOF
14855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14865 for ac_header
in fnmatch.h
14867 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14869 echo "$as_me:$LINENO: checking for $ac_header" >&5
14870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14872 echo $ECHO_N "(cached) $ECHO_C" >&6
14874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14877 # Is the header compilable?
14878 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14879 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14880 cat >conftest.
$ac_ext <<_ACEOF
14883 cat confdefs.h
>>conftest.
$ac_ext
14884 cat >>conftest.
$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886 $ac_includes_default
14887 #include <$ac_header>
14889 rm -f conftest.
$ac_objext
14890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14891 (eval $ac_compile) 2>conftest.er1
14893 grep -v '^ *+' conftest.er1
>conftest.err
14895 cat conftest.err
>&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } &&
14898 { ac_try
='test -z "$ac_c_werror_flag"
14899 || test ! -s conftest.err'
14900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14901 (eval $ac_try) 2>&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); }; } &&
14905 { ac_try
='test -s conftest.$ac_objext'
14906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14907 (eval $ac_try) 2>&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; }; then
14911 ac_header_compiler
=yes
14913 echo "$as_me: failed program was:" >&5
14914 sed 's/^/| /' conftest.
$ac_ext >&5
14916 ac_header_compiler
=no
14918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14920 echo "${ECHO_T}$ac_header_compiler" >&6
14922 # Is the header present?
14923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14925 cat >conftest.
$ac_ext <<_ACEOF
14928 cat confdefs.h
>>conftest.
$ac_ext
14929 cat >>conftest.
$ac_ext <<_ACEOF
14930 /* end confdefs.h. */
14931 #include <$ac_header>
14933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14934 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14936 grep -v '^ *+' conftest.er1
>conftest.err
14938 cat conftest.err
>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); } >/dev
/null
; then
14941 if test -s conftest.err
; then
14942 ac_cpp_err
=$ac_c_preproc_warn_flag
14943 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14950 if test -z "$ac_cpp_err"; then
14951 ac_header_preproc
=yes
14953 echo "$as_me: failed program was:" >&5
14954 sed 's/^/| /' conftest.
$ac_ext >&5
14956 ac_header_preproc
=no
14958 rm -f conftest.err conftest.
$ac_ext
14959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14960 echo "${ECHO_T}$ac_header_preproc" >&6
14962 # So? What about this header?
14963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14968 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14969 ac_header_preproc
=yes
14972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14975 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14976 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14977 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14978 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14979 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14982 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14983 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14986 ## ----------------------------------------- ##
14987 ## Report this to wx-dev@lists.wxwidgets.org ##
14988 ## ----------------------------------------- ##
14991 sed "s/^/$as_me: WARNING: /" >&2
14994 echo "$as_me:$LINENO: checking for $ac_header" >&5
14995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14997 echo $ECHO_N "(cached) $ECHO_C" >&6
14999 eval "$as_ac_Header=\$ac_header_preproc"
15001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15006 cat >>confdefs.h
<<_ACEOF
15007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15015 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
15017 for ac_func
in fnmatch
15019 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15020 echo "$as_me:$LINENO: checking for $ac_func" >&5
15021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15022 if eval "test \"\${$as_ac_var+set}\" = set"; then
15023 echo $ECHO_N "(cached) $ECHO_C" >&6
15025 cat >conftest.
$ac_ext <<_ACEOF
15028 cat confdefs.h
>>conftest.
$ac_ext
15029 cat >>conftest.
$ac_ext <<_ACEOF
15030 /* end confdefs.h. */
15031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15033 #define $ac_func innocuous_$ac_func
15035 /* System header to define __stub macros and hopefully few prototypes,
15036 which can conflict with char $ac_func (); below.
15037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15038 <limits.h> exists even on freestanding compilers. */
15041 # include <limits.h>
15043 # include <assert.h>
15048 /* Override any gcc2 internal prototype to avoid an error. */
15053 /* We use char because int might match the return type of a gcc2
15054 builtin and then its argument prototype would still apply. */
15056 /* The GNU C library defines this for functions which it implements
15057 to always fail with ENOSYS. Some functions are actually named
15058 something starting with __ and the normal name is an alias. */
15059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15062 char (*f) () = $ac_func;
15071 return f != $ac_func;
15076 rm -f conftest.
$ac_objext conftest
$ac_exeext
15077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15078 (eval $ac_link) 2>conftest.er1
15080 grep -v '^ *+' conftest.er1
>conftest.err
15082 cat conftest.err
>&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); } &&
15085 { ac_try
='test -z "$ac_c_werror_flag"
15086 || test ! -s conftest.err'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; } &&
15092 { ac_try
='test -s conftest$ac_exeext'
15093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094 (eval $ac_try) 2>&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }; }; then
15098 eval "$as_ac_var=yes"
15100 echo "$as_me: failed program was:" >&5
15101 sed 's/^/| /' conftest.
$ac_ext >&5
15103 eval "$as_ac_var=no"
15105 rm -f conftest.err conftest.
$ac_objext \
15106 conftest
$ac_exeext conftest.
$ac_ext
15108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15110 if test `eval echo '${'$as_ac_var'}'` = yes; then
15111 cat >>confdefs.h
<<_ACEOF
15112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15121 for ac_header
in langinfo.h
15123 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15125 echo "$as_me:$LINENO: checking for $ac_header" >&5
15126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15128 echo $ECHO_N "(cached) $ECHO_C" >&6
15130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15133 # Is the header compilable?
15134 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15136 cat >conftest.
$ac_ext <<_ACEOF
15139 cat confdefs.h
>>conftest.
$ac_ext
15140 cat >>conftest.
$ac_ext <<_ACEOF
15141 /* end confdefs.h. */
15142 $ac_includes_default
15143 #include <$ac_header>
15145 rm -f conftest.
$ac_objext
15146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15147 (eval $ac_compile) 2>conftest.er1
15149 grep -v '^ *+' conftest.er1
>conftest.err
15151 cat conftest.err
>&5
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); } &&
15154 { ac_try
='test -z "$ac_c_werror_flag"
15155 || test ! -s conftest.err'
15156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15157 (eval $ac_try) 2>&5
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); }; } &&
15161 { ac_try
='test -s conftest.$ac_objext'
15162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15163 (eval $ac_try) 2>&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); }; }; then
15167 ac_header_compiler
=yes
15169 echo "$as_me: failed program was:" >&5
15170 sed 's/^/| /' conftest.
$ac_ext >&5
15172 ac_header_compiler
=no
15174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15176 echo "${ECHO_T}$ac_header_compiler" >&6
15178 # Is the header present?
15179 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15181 cat >conftest.
$ac_ext <<_ACEOF
15184 cat confdefs.h
>>conftest.
$ac_ext
15185 cat >>conftest.
$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15187 #include <$ac_header>
15189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15190 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15192 grep -v '^ *+' conftest.er1
>conftest.err
15194 cat conftest.err
>&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); } >/dev
/null
; then
15197 if test -s conftest.err
; then
15198 ac_cpp_err
=$ac_c_preproc_warn_flag
15199 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15206 if test -z "$ac_cpp_err"; then
15207 ac_header_preproc
=yes
15209 echo "$as_me: failed program was:" >&5
15210 sed 's/^/| /' conftest.
$ac_ext >&5
15212 ac_header_preproc
=no
15214 rm -f conftest.err conftest.
$ac_ext
15215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15216 echo "${ECHO_T}$ac_header_preproc" >&6
15218 # So? What about this header?
15219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15221 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15222 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15224 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15225 ac_header_preproc
=yes
15228 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15229 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15230 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15231 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15232 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15233 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15234 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15235 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15238 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15239 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15242 ## ----------------------------------------- ##
15243 ## Report this to wx-dev@lists.wxwidgets.org ##
15244 ## ----------------------------------------- ##
15247 sed "s/^/$as_me: WARNING: /" >&2
15250 echo "$as_me:$LINENO: checking for $ac_header" >&5
15251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15255 eval "$as_ac_Header=\$ac_header_preproc"
15257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15262 cat >>confdefs.h
<<_ACEOF
15263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15272 *-pc-os2_emx | *-pc-os2-emx )
15273 if test $ac_cv_header_langinfo_h = "yes" \
15274 -a \
( "$wx_cv_gccversion" = "EMX2" \
15275 -o "$wx_cv_gccversion" = "EMX3" \
15276 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15277 LIBS
="$LIBS -lintl"
15282 if test "$wxUSE_GUI" = "yes"; then
15283 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15285 for ac_header
in X
11/Xlib.h
15287 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15289 echo "$as_me:$LINENO: checking for $ac_header" >&5
15290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15292 echo $ECHO_N "(cached) $ECHO_C" >&6
15294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15297 # Is the header compilable?
15298 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15299 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15300 cat >conftest.
$ac_ext <<_ACEOF
15303 cat confdefs.h
>>conftest.
$ac_ext
15304 cat >>conftest.
$ac_ext <<_ACEOF
15305 /* end confdefs.h. */
15306 $ac_includes_default
15307 #include <$ac_header>
15309 rm -f conftest.
$ac_objext
15310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15311 (eval $ac_compile) 2>conftest.er1
15313 grep -v '^ *+' conftest.er1
>conftest.err
15315 cat conftest.err
>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } &&
15318 { ac_try
='test -z "$ac_c_werror_flag"
15319 || test ! -s conftest.err'
15320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15321 (eval $ac_try) 2>&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); }; } &&
15325 { ac_try
='test -s conftest.$ac_objext'
15326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15327 (eval $ac_try) 2>&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; }; then
15331 ac_header_compiler
=yes
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.
$ac_ext >&5
15336 ac_header_compiler
=no
15338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15340 echo "${ECHO_T}$ac_header_compiler" >&6
15342 # Is the header present?
15343 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15345 cat >conftest.
$ac_ext <<_ACEOF
15348 cat confdefs.h
>>conftest.
$ac_ext
15349 cat >>conftest.
$ac_ext <<_ACEOF
15350 /* end confdefs.h. */
15351 #include <$ac_header>
15353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15356 grep -v '^ *+' conftest.er1
>conftest.err
15358 cat conftest.err
>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); } >/dev
/null
; then
15361 if test -s conftest.err
; then
15362 ac_cpp_err
=$ac_c_preproc_warn_flag
15363 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15370 if test -z "$ac_cpp_err"; then
15371 ac_header_preproc
=yes
15373 echo "$as_me: failed program was:" >&5
15374 sed 's/^/| /' conftest.
$ac_ext >&5
15376 ac_header_preproc
=no
15378 rm -f conftest.err conftest.
$ac_ext
15379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15380 echo "${ECHO_T}$ac_header_preproc" >&6
15382 # So? What about this header?
15383 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15389 ac_header_preproc
=yes
15392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15406 ## ----------------------------------------- ##
15407 ## Report this to wx-dev@lists.wxwidgets.org ##
15408 ## ----------------------------------------- ##
15411 sed "s/^/$as_me: WARNING: /" >&2
15414 echo "$as_me:$LINENO: checking for $ac_header" >&5
15415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15417 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 eval "$as_ac_Header=\$ac_header_preproc"
15421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15426 cat >>confdefs.h
<<_ACEOF
15427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15435 for ac_header
in X
11/XKBlib.h
15437 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15438 echo "$as_me:$LINENO: checking for $ac_header" >&5
15439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15441 echo $ECHO_N "(cached) $ECHO_C" >&6
15443 cat >conftest.
$ac_ext <<_ACEOF
15446 cat confdefs.h
>>conftest.
$ac_ext
15447 cat >>conftest.
$ac_ext <<_ACEOF
15448 /* end confdefs.h. */
15450 #if HAVE_X11_XLIB_H
15451 #include <X11/Xlib.h>
15455 #include <$ac_header>
15457 rm -f conftest.
$ac_objext
15458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15459 (eval $ac_compile) 2>conftest.er1
15461 grep -v '^ *+' conftest.er1
>conftest.err
15463 cat conftest.err
>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } &&
15466 { ac_try
='test -z "$ac_c_werror_flag"
15467 || test ! -s conftest.err'
15468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15469 (eval $ac_try) 2>&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); }; } &&
15473 { ac_try
='test -s conftest.$ac_objext'
15474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15475 (eval $ac_try) 2>&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); }; }; then
15479 eval "$as_ac_Header=yes"
15481 echo "$as_me: failed program was:" >&5
15482 sed 's/^/| /' conftest.
$ac_ext >&5
15484 eval "$as_ac_Header=no"
15486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15491 cat >>confdefs.h
<<_ACEOF
15492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15503 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15504 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15505 if test "${ac_cv_c_const+set}" = set; then
15506 echo $ECHO_N "(cached) $ECHO_C" >&6
15508 cat >conftest.
$ac_ext <<_ACEOF
15511 cat confdefs.h
>>conftest.
$ac_ext
15512 cat >>conftest.
$ac_ext <<_ACEOF
15513 /* end confdefs.h. */
15518 /* FIXME: Include the comments suggested by Paul. */
15519 #ifndef __cplusplus
15520 /* Ultrix mips cc rejects this. */
15521 typedef int charset[2];
15523 /* SunOS 4.1.1 cc rejects this. */
15524 char const *const *ccp;
15526 /* NEC SVR4.0.2 mips cc rejects this. */
15527 struct point {int x, y;};
15528 static struct point const zero = {0,0};
15529 /* AIX XL C 1.02.0.0 rejects this.
15530 It does not let you subtract one const X* pointer from another in
15531 an arm of an if-expression whose if-part is not a constant
15533 const char *g = "string";
15534 ccp = &g + (g ? g-g : 0);
15535 /* HPUX 7.0 cc rejects these. */
15538 ccp = (char const *const *) p;
15539 { /* SCO 3.2v4 cc rejects this. */
15541 char const *s = 0 ? (char *) 0 : (char const *) 0;
15545 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15546 int x[] = {25, 17};
15547 const int *foo = &x[0];
15550 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15551 typedef const int *iptr;
15555 { /* AIX XL C 1.02.0.0 rejects this saying
15556 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15557 struct s { int j; const int *ap[3]; };
15558 struct s *b; b->j = 5;
15560 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15561 const int foo = 10;
15569 rm -f conftest.
$ac_objext
15570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15571 (eval $ac_compile) 2>conftest.er1
15573 grep -v '^ *+' conftest.er1
>conftest.err
15575 cat conftest.err
>&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } &&
15578 { ac_try
='test -z "$ac_c_werror_flag"
15579 || test ! -s conftest.err'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; } &&
15585 { ac_try
='test -s conftest.$ac_objext'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; }; then
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.
$ac_ext >&5
15598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15600 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15601 echo "${ECHO_T}$ac_cv_c_const" >&6
15602 if test $ac_cv_c_const = no
; then
15604 cat >>confdefs.h
<<\_ACEOF
15610 echo "$as_me:$LINENO: checking for inline" >&5
15611 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15612 if test "${ac_cv_c_inline+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15616 for ac_kw
in inline __inline__ __inline
; do
15617 cat >conftest.
$ac_ext <<_ACEOF
15620 cat confdefs.h
>>conftest.
$ac_ext
15621 cat >>conftest.
$ac_ext <<_ACEOF
15622 /* end confdefs.h. */
15623 #ifndef __cplusplus
15625 static $ac_kw foo_t static_foo () {return 0; }
15626 $ac_kw foo_t foo () {return 0; }
15630 rm -f conftest.
$ac_objext
15631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15632 (eval $ac_compile) 2>conftest.er1
15634 grep -v '^ *+' conftest.er1
>conftest.err
15636 cat conftest.err
>&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); } &&
15639 { ac_try
='test -z "$ac_c_werror_flag"
15640 || test ! -s conftest.err'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); }; } &&
15646 { ac_try
='test -s conftest.$ac_objext'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; }; then
15652 ac_cv_c_inline
=$ac_kw; break
15654 echo "$as_me: failed program was:" >&5
15655 sed 's/^/| /' conftest.
$ac_ext >&5
15658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15662 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15663 echo "${ECHO_T}$ac_cv_c_inline" >&6
15666 case $ac_cv_c_inline in
15669 case $ac_cv_c_inline in
15671 *) ac_val
=$ac_cv_c_inline;;
15673 cat >>confdefs.h
<<_ACEOF
15674 #ifndef __cplusplus
15675 #define inline $ac_val
15682 echo "$as_me:$LINENO: checking for char" >&5
15683 echo $ECHO_N "checking for char... $ECHO_C" >&6
15684 if test "${ac_cv_type_char+set}" = set; then
15685 echo $ECHO_N "(cached) $ECHO_C" >&6
15687 cat >conftest.
$ac_ext <<_ACEOF
15690 cat confdefs.h
>>conftest.
$ac_ext
15691 cat >>conftest.
$ac_ext <<_ACEOF
15692 /* end confdefs.h. */
15693 $ac_includes_default
15705 rm -f conftest.
$ac_objext
15706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15707 (eval $ac_compile) 2>conftest.er1
15709 grep -v '^ *+' conftest.er1
>conftest.err
15711 cat conftest.err
>&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); } &&
15714 { ac_try
='test -z "$ac_c_werror_flag"
15715 || test ! -s conftest.err'
15716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15717 (eval $ac_try) 2>&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); }; } &&
15721 { ac_try
='test -s conftest.$ac_objext'
15722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15723 (eval $ac_try) 2>&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); }; }; then
15727 ac_cv_type_char
=yes
15729 echo "$as_me: failed program was:" >&5
15730 sed 's/^/| /' conftest.
$ac_ext >&5
15734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15736 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15737 echo "${ECHO_T}$ac_cv_type_char" >&6
15739 echo "$as_me:$LINENO: checking size of char" >&5
15740 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15741 if test "${ac_cv_sizeof_char+set}" = set; then
15742 echo $ECHO_N "(cached) $ECHO_C" >&6
15744 if test "$ac_cv_type_char" = yes; then
15745 # The cast to unsigned long works around a bug in the HP C Compiler
15746 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15747 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15748 # This bug is HP SR number 8606223364.
15749 if test "$cross_compiling" = yes; then
15750 # Depending upon the size, compute the lo and hi bounds.
15751 cat >conftest.
$ac_ext <<_ACEOF
15754 cat confdefs.h
>>conftest.
$ac_ext
15755 cat >>conftest.
$ac_ext <<_ACEOF
15756 /* end confdefs.h. */
15757 $ac_includes_default
15761 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15768 rm -f conftest.
$ac_objext
15769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15770 (eval $ac_compile) 2>conftest.er1
15772 grep -v '^ *+' conftest.er1
>conftest.err
15774 cat conftest.err
>&5
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); } &&
15777 { ac_try
='test -z "$ac_c_werror_flag"
15778 || test ! -s conftest.err'
15779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15780 (eval $ac_try) 2>&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); }; } &&
15784 { ac_try
='test -s conftest.$ac_objext'
15785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15786 (eval $ac_try) 2>&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); }; }; then
15792 cat >conftest.
$ac_ext <<_ACEOF
15795 cat confdefs.h
>>conftest.
$ac_ext
15796 cat >>conftest.
$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15798 $ac_includes_default
15802 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15809 rm -f conftest.
$ac_objext
15810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15811 (eval $ac_compile) 2>conftest.er1
15813 grep -v '^ *+' conftest.er1
>conftest.err
15815 cat conftest.err
>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } &&
15818 { ac_try
='test -z "$ac_c_werror_flag"
15819 || test ! -s conftest.err'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; } &&
15825 { ac_try
='test -s conftest.$ac_objext'
15826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15827 (eval $ac_try) 2>&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); }; }; then
15831 ac_hi
=$ac_mid; break
15833 echo "$as_me: failed program was:" >&5
15834 sed 's/^/| /' conftest.
$ac_ext >&5
15836 ac_lo
=`expr $ac_mid + 1`
15837 if test $ac_lo -le $ac_mid; then
15841 ac_mid
=`expr 2 '*' $ac_mid + 1`
15843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15846 echo "$as_me: failed program was:" >&5
15847 sed 's/^/| /' conftest.
$ac_ext >&5
15849 cat >conftest.
$ac_ext <<_ACEOF
15852 cat confdefs.h
>>conftest.
$ac_ext
15853 cat >>conftest.
$ac_ext <<_ACEOF
15854 /* end confdefs.h. */
15855 $ac_includes_default
15859 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15866 rm -f conftest.
$ac_objext
15867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15868 (eval $ac_compile) 2>conftest.er1
15870 grep -v '^ *+' conftest.er1
>conftest.err
15872 cat conftest.err
>&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); } &&
15875 { ac_try
='test -z "$ac_c_werror_flag"
15876 || test ! -s conftest.err'
15877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15878 (eval $ac_try) 2>&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }; } &&
15882 { ac_try
='test -s conftest.$ac_objext'
15883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15884 (eval $ac_try) 2>&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); }; }; then
15890 cat >conftest.
$ac_ext <<_ACEOF
15893 cat confdefs.h
>>conftest.
$ac_ext
15894 cat >>conftest.
$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15896 $ac_includes_default
15900 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15907 rm -f conftest.
$ac_objext
15908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15909 (eval $ac_compile) 2>conftest.er1
15911 grep -v '^ *+' conftest.er1
>conftest.err
15913 cat conftest.err
>&5
15914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15915 (exit $ac_status); } &&
15916 { ac_try
='test -z "$ac_c_werror_flag"
15917 || test ! -s conftest.err'
15918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15919 (eval $ac_try) 2>&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); }; } &&
15923 { ac_try
='test -s conftest.$ac_objext'
15924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15925 (eval $ac_try) 2>&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); }; }; then
15929 ac_lo
=$ac_mid; break
15931 echo "$as_me: failed program was:" >&5
15932 sed 's/^/| /' conftest.
$ac_ext >&5
15934 ac_hi
=`expr '(' $ac_mid ')' - 1`
15935 if test $ac_mid -le $ac_hi; then
15939 ac_mid
=`expr 2 '*' $ac_mid`
15941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15944 echo "$as_me: failed program was:" >&5
15945 sed 's/^/| /' conftest.
$ac_ext >&5
15949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15952 # Binary search between lo and hi bounds.
15953 while test "x$ac_lo" != "x$ac_hi"; do
15954 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15955 cat >conftest.
$ac_ext <<_ACEOF
15958 cat confdefs.h
>>conftest.
$ac_ext
15959 cat >>conftest.
$ac_ext <<_ACEOF
15960 /* end confdefs.h. */
15961 $ac_includes_default
15965 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15972 rm -f conftest.
$ac_objext
15973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15974 (eval $ac_compile) 2>conftest.er1
15976 grep -v '^ *+' conftest.er1
>conftest.err
15978 cat conftest.err
>&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); } &&
15981 { ac_try
='test -z "$ac_c_werror_flag"
15982 || test ! -s conftest.err'
15983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15984 (eval $ac_try) 2>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }; } &&
15988 { ac_try
='test -s conftest.$ac_objext'
15989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15990 (eval $ac_try) 2>&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); }; }; then
15996 echo "$as_me: failed program was:" >&5
15997 sed 's/^/| /' conftest.
$ac_ext >&5
15999 ac_lo
=`expr '(' $ac_mid ')' + 1`
16001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16004 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16005 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16006 See \`config.log' for more details." >&5
16007 echo "$as_me: error: cannot compute sizeof (char), 77
16008 See \`config.log' for more details." >&2;}
16009 { (exit 1); exit 1; }; } ;;
16012 if test "$cross_compiling" = yes; then
16013 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16014 See \`config.log' for more details." >&5
16015 echo "$as_me: error: cannot run test program while cross compiling
16016 See \`config.log' for more details." >&2;}
16017 { (exit 1); exit 1; }; }
16019 cat >conftest.
$ac_ext <<_ACEOF
16022 cat confdefs.h
>>conftest.
$ac_ext
16023 cat >>conftest.
$ac_ext <<_ACEOF
16024 /* end confdefs.h. */
16025 $ac_includes_default
16026 long longval () { return (long) (sizeof (char)); }
16027 unsigned long ulongval () { return (long) (sizeof (char)); }
16029 #include <stdlib.h>
16034 FILE *f = fopen ("conftest.val", "w");
16037 if (((long) (sizeof (char))) < 0)
16039 long i = longval ();
16040 if (i != ((long) (sizeof (char))))
16042 fprintf (f, "%ld\n", i);
16046 unsigned long i = ulongval ();
16047 if (i != ((long) (sizeof (char))))
16049 fprintf (f, "%lu\n", i);
16051 exit (ferror (f) || fclose (f) != 0);
16057 rm -f conftest
$ac_exeext
16058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16059 (eval $ac_link) 2>&5
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16064 (eval $ac_try) 2>&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); }; }; then
16068 ac_cv_sizeof_char
=`cat conftest.val`
16070 echo "$as_me: program exited with status $ac_status" >&5
16071 echo "$as_me: failed program was:" >&5
16072 sed 's/^/| /' conftest.
$ac_ext >&5
16074 ( exit $ac_status )
16075 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16076 See \`config.log' for more details." >&5
16077 echo "$as_me: error: cannot compute sizeof (char), 77
16078 See \`config.log' for more details." >&2;}
16079 { (exit 1); exit 1; }; }
16081 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16086 ac_cv_sizeof_char
=0
16089 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16090 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16091 cat >>confdefs.h
<<_ACEOF
16092 #define SIZEOF_CHAR $ac_cv_sizeof_char
16096 echo "$as_me:$LINENO: checking for short" >&5
16097 echo $ECHO_N "checking for short... $ECHO_C" >&6
16098 if test "${ac_cv_type_short+set}" = set; then
16099 echo $ECHO_N "(cached) $ECHO_C" >&6
16101 cat >conftest.
$ac_ext <<_ACEOF
16104 cat confdefs.h
>>conftest.
$ac_ext
16105 cat >>conftest.
$ac_ext <<_ACEOF
16106 /* end confdefs.h. */
16107 $ac_includes_default
16113 if (sizeof (short))
16119 rm -f conftest.
$ac_objext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16121 (eval $ac_compile) 2>conftest.er1
16123 grep -v '^ *+' conftest.er1
>conftest.err
16125 cat conftest.err
>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try
='test -z "$ac_c_werror_flag"
16129 || test ! -s conftest.err'
16130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16131 (eval $ac_try) 2>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); }; } &&
16135 { ac_try
='test -s conftest.$ac_objext'
16136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16137 (eval $ac_try) 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); }; }; then
16141 ac_cv_type_short
=yes
16143 echo "$as_me: failed program was:" >&5
16144 sed 's/^/| /' conftest.
$ac_ext >&5
16146 ac_cv_type_short
=no
16148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16150 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16151 echo "${ECHO_T}$ac_cv_type_short" >&6
16153 echo "$as_me:$LINENO: checking size of short" >&5
16154 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16155 if test "${ac_cv_sizeof_short+set}" = set; then
16156 echo $ECHO_N "(cached) $ECHO_C" >&6
16158 if test "$ac_cv_type_short" = yes; then
16159 # The cast to unsigned long works around a bug in the HP C Compiler
16160 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16161 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16162 # This bug is HP SR number 8606223364.
16163 if test "$cross_compiling" = yes; then
16164 # Depending upon the size, compute the lo and hi bounds.
16165 cat >conftest.
$ac_ext <<_ACEOF
16168 cat confdefs.h
>>conftest.
$ac_ext
16169 cat >>conftest.
$ac_ext <<_ACEOF
16170 /* end confdefs.h. */
16171 $ac_includes_default
16175 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16182 rm -f conftest.
$ac_objext
16183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16184 (eval $ac_compile) 2>conftest.er1
16186 grep -v '^ *+' conftest.er1
>conftest.err
16188 cat conftest.err
>&5
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); } &&
16191 { ac_try
='test -z "$ac_c_werror_flag"
16192 || test ! -s conftest.err'
16193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16194 (eval $ac_try) 2>&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); }; } &&
16198 { ac_try
='test -s conftest.$ac_objext'
16199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16200 (eval $ac_try) 2>&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); }; }; then
16206 cat >conftest.
$ac_ext <<_ACEOF
16209 cat confdefs.h
>>conftest.
$ac_ext
16210 cat >>conftest.
$ac_ext <<_ACEOF
16211 /* end confdefs.h. */
16212 $ac_includes_default
16216 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16223 rm -f conftest.
$ac_objext
16224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16225 (eval $ac_compile) 2>conftest.er1
16227 grep -v '^ *+' conftest.er1
>conftest.err
16229 cat conftest.err
>&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); } &&
16232 { ac_try
='test -z "$ac_c_werror_flag"
16233 || test ! -s conftest.err'
16234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235 (eval $ac_try) 2>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }; } &&
16239 { ac_try
='test -s conftest.$ac_objext'
16240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16241 (eval $ac_try) 2>&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); }; }; then
16245 ac_hi
=$ac_mid; break
16247 echo "$as_me: failed program was:" >&5
16248 sed 's/^/| /' conftest.
$ac_ext >&5
16250 ac_lo
=`expr $ac_mid + 1`
16251 if test $ac_lo -le $ac_mid; then
16255 ac_mid
=`expr 2 '*' $ac_mid + 1`
16257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.
$ac_ext >&5
16263 cat >conftest.
$ac_ext <<_ACEOF
16266 cat confdefs.h
>>conftest.
$ac_ext
16267 cat >>conftest.
$ac_ext <<_ACEOF
16268 /* end confdefs.h. */
16269 $ac_includes_default
16273 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16280 rm -f conftest.
$ac_objext
16281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16282 (eval $ac_compile) 2>conftest.er1
16284 grep -v '^ *+' conftest.er1
>conftest.err
16286 cat conftest.err
>&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } &&
16289 { ac_try
='test -z "$ac_c_werror_flag"
16290 || test ! -s conftest.err'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; } &&
16296 { ac_try
='test -s conftest.$ac_objext'
16297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16298 (eval $ac_try) 2>&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); }; }; then
16304 cat >conftest.
$ac_ext <<_ACEOF
16307 cat confdefs.h
>>conftest.
$ac_ext
16308 cat >>conftest.
$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16310 $ac_includes_default
16314 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16321 rm -f conftest.
$ac_objext
16322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16323 (eval $ac_compile) 2>conftest.er1
16325 grep -v '^ *+' conftest.er1
>conftest.err
16327 cat conftest.err
>&5
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); } &&
16330 { ac_try
='test -z "$ac_c_werror_flag"
16331 || test ! -s conftest.err'
16332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16333 (eval $ac_try) 2>&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); }; } &&
16337 { ac_try
='test -s conftest.$ac_objext'
16338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16339 (eval $ac_try) 2>&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); }; }; then
16343 ac_lo
=$ac_mid; break
16345 echo "$as_me: failed program was:" >&5
16346 sed 's/^/| /' conftest.
$ac_ext >&5
16348 ac_hi
=`expr '(' $ac_mid ')' - 1`
16349 if test $ac_mid -le $ac_hi; then
16353 ac_mid
=`expr 2 '*' $ac_mid`
16355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.
$ac_ext >&5
16363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16366 # Binary search between lo and hi bounds.
16367 while test "x$ac_lo" != "x$ac_hi"; do
16368 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16369 cat >conftest.
$ac_ext <<_ACEOF
16372 cat confdefs.h
>>conftest.
$ac_ext
16373 cat >>conftest.
$ac_ext <<_ACEOF
16374 /* end confdefs.h. */
16375 $ac_includes_default
16379 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16386 rm -f conftest.
$ac_objext
16387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16388 (eval $ac_compile) 2>conftest.er1
16390 grep -v '^ *+' conftest.er1
>conftest.err
16392 cat conftest.err
>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); } &&
16395 { ac_try
='test -z "$ac_c_werror_flag"
16396 || test ! -s conftest.err'
16397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16398 (eval $ac_try) 2>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); }; } &&
16402 { ac_try
='test -s conftest.$ac_objext'
16403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16404 (eval $ac_try) 2>&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); }; }; then
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.
$ac_ext >&5
16413 ac_lo
=`expr '(' $ac_mid ')' + 1`
16415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16418 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16419 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16420 See \`config.log' for more details." >&5
16421 echo "$as_me: error: cannot compute sizeof (short), 77
16422 See \`config.log' for more details." >&2;}
16423 { (exit 1); exit 1; }; } ;;
16426 if test "$cross_compiling" = yes; then
16427 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16428 See \`config.log' for more details." >&5
16429 echo "$as_me: error: cannot run test program while cross compiling
16430 See \`config.log' for more details." >&2;}
16431 { (exit 1); exit 1; }; }
16433 cat >conftest.
$ac_ext <<_ACEOF
16436 cat confdefs.h
>>conftest.
$ac_ext
16437 cat >>conftest.
$ac_ext <<_ACEOF
16438 /* end confdefs.h. */
16439 $ac_includes_default
16440 long longval () { return (long) (sizeof (short)); }
16441 unsigned long ulongval () { return (long) (sizeof (short)); }
16443 #include <stdlib.h>
16448 FILE *f = fopen ("conftest.val", "w");
16451 if (((long) (sizeof (short))) < 0)
16453 long i = longval ();
16454 if (i != ((long) (sizeof (short))))
16456 fprintf (f, "%ld\n", i);
16460 unsigned long i = ulongval ();
16461 if (i != ((long) (sizeof (short))))
16463 fprintf (f, "%lu\n", i);
16465 exit (ferror (f) || fclose (f) != 0);
16471 rm -f conftest
$ac_exeext
16472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16473 (eval $ac_link) 2>&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16478 (eval $ac_try) 2>&5
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); }; }; then
16482 ac_cv_sizeof_short
=`cat conftest.val`
16484 echo "$as_me: program exited with status $ac_status" >&5
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.
$ac_ext >&5
16488 ( exit $ac_status )
16489 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16490 See \`config.log' for more details." >&5
16491 echo "$as_me: error: cannot compute sizeof (short), 77
16492 See \`config.log' for more details." >&2;}
16493 { (exit 1); exit 1; }; }
16495 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16500 ac_cv_sizeof_short
=0
16503 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16504 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16505 cat >>confdefs.h
<<_ACEOF
16506 #define SIZEOF_SHORT $ac_cv_sizeof_short
16510 echo "$as_me:$LINENO: checking for void *" >&5
16511 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16512 if test "${ac_cv_type_void_p+set}" = set; then
16513 echo $ECHO_N "(cached) $ECHO_C" >&6
16515 cat >conftest.
$ac_ext <<_ACEOF
16518 cat confdefs.h
>>conftest.
$ac_ext
16519 cat >>conftest.
$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16521 $ac_includes_default
16527 if (sizeof (void *))
16533 rm -f conftest.
$ac_objext
16534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16535 (eval $ac_compile) 2>conftest.er1
16537 grep -v '^ *+' conftest.er1
>conftest.err
16539 cat conftest.err
>&5
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); } &&
16542 { ac_try
='test -z "$ac_c_werror_flag"
16543 || test ! -s conftest.err'
16544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16545 (eval $ac_try) 2>&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); }; } &&
16549 { ac_try
='test -s conftest.$ac_objext'
16550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16551 (eval $ac_try) 2>&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); }; }; then
16555 ac_cv_type_void_p
=yes
16557 echo "$as_me: failed program was:" >&5
16558 sed 's/^/| /' conftest.
$ac_ext >&5
16560 ac_cv_type_void_p
=no
16562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16564 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16565 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16567 echo "$as_me:$LINENO: checking size of void *" >&5
16568 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16569 if test "${ac_cv_sizeof_void_p+set}" = set; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 if test "$ac_cv_type_void_p" = yes; then
16573 # The cast to unsigned long works around a bug in the HP C Compiler
16574 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16575 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16576 # This bug is HP SR number 8606223364.
16577 if test "$cross_compiling" = yes; then
16578 # Depending upon the size, compute the lo and hi bounds.
16579 cat >conftest.
$ac_ext <<_ACEOF
16582 cat confdefs.h
>>conftest.
$ac_ext
16583 cat >>conftest.
$ac_ext <<_ACEOF
16584 /* end confdefs.h. */
16585 $ac_includes_default
16589 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16596 rm -f conftest.
$ac_objext
16597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16598 (eval $ac_compile) 2>conftest.er1
16600 grep -v '^ *+' conftest.er1
>conftest.err
16602 cat conftest.err
>&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } &&
16605 { ac_try
='test -z "$ac_c_werror_flag"
16606 || test ! -s conftest.err'
16607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608 (eval $ac_try) 2>&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; } &&
16612 { ac_try
='test -s conftest.$ac_objext'
16613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16614 (eval $ac_try) 2>&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); }; }; then
16620 cat >conftest.
$ac_ext <<_ACEOF
16623 cat confdefs.h
>>conftest.
$ac_ext
16624 cat >>conftest.
$ac_ext <<_ACEOF
16625 /* end confdefs.h. */
16626 $ac_includes_default
16630 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16637 rm -f conftest.
$ac_objext
16638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16639 (eval $ac_compile) 2>conftest.er1
16641 grep -v '^ *+' conftest.er1
>conftest.err
16643 cat conftest.err
>&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); } &&
16646 { ac_try
='test -z "$ac_c_werror_flag"
16647 || test ! -s conftest.err'
16648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16649 (eval $ac_try) 2>&5
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); }; } &&
16653 { ac_try
='test -s conftest.$ac_objext'
16654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655 (eval $ac_try) 2>&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; }; then
16659 ac_hi
=$ac_mid; break
16661 echo "$as_me: failed program was:" >&5
16662 sed 's/^/| /' conftest.
$ac_ext >&5
16664 ac_lo
=`expr $ac_mid + 1`
16665 if test $ac_lo -le $ac_mid; then
16669 ac_mid
=`expr 2 '*' $ac_mid + 1`
16671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16674 echo "$as_me: failed program was:" >&5
16675 sed 's/^/| /' conftest.
$ac_ext >&5
16677 cat >conftest.
$ac_ext <<_ACEOF
16680 cat confdefs.h
>>conftest.
$ac_ext
16681 cat >>conftest.
$ac_ext <<_ACEOF
16682 /* end confdefs.h. */
16683 $ac_includes_default
16687 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16694 rm -f conftest.
$ac_objext
16695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16696 (eval $ac_compile) 2>conftest.er1
16698 grep -v '^ *+' conftest.er1
>conftest.err
16700 cat conftest.err
>&5
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); } &&
16703 { ac_try
='test -z "$ac_c_werror_flag"
16704 || test ! -s conftest.err'
16705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16706 (eval $ac_try) 2>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); }; } &&
16710 { ac_try
='test -s conftest.$ac_objext'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; }; then
16718 cat >conftest.
$ac_ext <<_ACEOF
16721 cat confdefs.h
>>conftest.
$ac_ext
16722 cat >>conftest.
$ac_ext <<_ACEOF
16723 /* end confdefs.h. */
16724 $ac_includes_default
16728 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16735 rm -f conftest.
$ac_objext
16736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16737 (eval $ac_compile) 2>conftest.er1
16739 grep -v '^ *+' conftest.er1
>conftest.err
16741 cat conftest.err
>&5
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); } &&
16744 { ac_try
='test -z "$ac_c_werror_flag"
16745 || test ! -s conftest.err'
16746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747 (eval $ac_try) 2>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; } &&
16751 { ac_try
='test -s conftest.$ac_objext'
16752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16753 (eval $ac_try) 2>&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); }; }; then
16757 ac_lo
=$ac_mid; break
16759 echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.
$ac_ext >&5
16762 ac_hi
=`expr '(' $ac_mid ')' - 1`
16763 if test $ac_mid -le $ac_hi; then
16767 ac_mid
=`expr 2 '*' $ac_mid`
16769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16772 echo "$as_me: failed program was:" >&5
16773 sed 's/^/| /' conftest.
$ac_ext >&5
16777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16780 # Binary search between lo and hi bounds.
16781 while test "x$ac_lo" != "x$ac_hi"; do
16782 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16783 cat >conftest.
$ac_ext <<_ACEOF
16786 cat confdefs.h
>>conftest.
$ac_ext
16787 cat >>conftest.
$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16789 $ac_includes_default
16793 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16800 rm -f conftest.
$ac_objext
16801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16802 (eval $ac_compile) 2>conftest.er1
16804 grep -v '^ *+' conftest.er1
>conftest.err
16806 cat conftest.err
>&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } &&
16809 { ac_try
='test -z "$ac_c_werror_flag"
16810 || test ! -s conftest.err'
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; } &&
16816 { ac_try
='test -s conftest.$ac_objext'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; }; then
16824 echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.
$ac_ext >&5
16827 ac_lo
=`expr '(' $ac_mid ')' + 1`
16829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16832 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16833 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16834 See \`config.log' for more details." >&5
16835 echo "$as_me: error: cannot compute sizeof (void *), 77
16836 See \`config.log' for more details." >&2;}
16837 { (exit 1); exit 1; }; } ;;
16840 if test "$cross_compiling" = yes; then
16841 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16842 See \`config.log' for more details." >&5
16843 echo "$as_me: error: cannot run test program while cross compiling
16844 See \`config.log' for more details." >&2;}
16845 { (exit 1); exit 1; }; }
16847 cat >conftest.
$ac_ext <<_ACEOF
16850 cat confdefs.h
>>conftest.
$ac_ext
16851 cat >>conftest.
$ac_ext <<_ACEOF
16852 /* end confdefs.h. */
16853 $ac_includes_default
16854 long longval () { return (long) (sizeof (void *)); }
16855 unsigned long ulongval () { return (long) (sizeof (void *)); }
16857 #include <stdlib.h>
16862 FILE *f = fopen ("conftest.val", "w");
16865 if (((long) (sizeof (void *))) < 0)
16867 long i = longval ();
16868 if (i != ((long) (sizeof (void *))))
16870 fprintf (f, "%ld\n", i);
16874 unsigned long i = ulongval ();
16875 if (i != ((long) (sizeof (void *))))
16877 fprintf (f, "%lu\n", i);
16879 exit (ferror (f) || fclose (f) != 0);
16885 rm -f conftest
$ac_exeext
16886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16887 (eval $ac_link) 2>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16892 (eval $ac_try) 2>&5
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895 (exit $ac_status); }; }; then
16896 ac_cv_sizeof_void_p
=`cat conftest.val`
16898 echo "$as_me: program exited with status $ac_status" >&5
16899 echo "$as_me: failed program was:" >&5
16900 sed 's/^/| /' conftest.
$ac_ext >&5
16902 ( exit $ac_status )
16903 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16904 See \`config.log' for more details." >&5
16905 echo "$as_me: error: cannot compute sizeof (void *), 77
16906 See \`config.log' for more details." >&2;}
16907 { (exit 1); exit 1; }; }
16909 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16914 ac_cv_sizeof_void_p
=0
16917 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16918 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16919 cat >>confdefs.h
<<_ACEOF
16920 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16924 echo "$as_me:$LINENO: checking for int" >&5
16925 echo $ECHO_N "checking for int... $ECHO_C" >&6
16926 if test "${ac_cv_type_int+set}" = set; then
16927 echo $ECHO_N "(cached) $ECHO_C" >&6
16929 cat >conftest.
$ac_ext <<_ACEOF
16932 cat confdefs.h
>>conftest.
$ac_ext
16933 cat >>conftest.
$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16935 $ac_includes_default
16947 rm -f conftest.
$ac_objext
16948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16949 (eval $ac_compile) 2>conftest.er1
16951 grep -v '^ *+' conftest.er1
>conftest.err
16953 cat conftest.err
>&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } &&
16956 { ac_try
='test -z "$ac_c_werror_flag"
16957 || test ! -s conftest.err'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; } &&
16963 { ac_try
='test -s conftest.$ac_objext'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; }; then
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.
$ac_ext >&5
16976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16978 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16979 echo "${ECHO_T}$ac_cv_type_int" >&6
16981 echo "$as_me:$LINENO: checking size of int" >&5
16982 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16983 if test "${ac_cv_sizeof_int+set}" = set; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16986 if test "$ac_cv_type_int" = yes; then
16987 # The cast to unsigned long works around a bug in the HP C Compiler
16988 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16989 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16990 # This bug is HP SR number 8606223364.
16991 if test "$cross_compiling" = yes; then
16992 # Depending upon the size, compute the lo and hi bounds.
16993 cat >conftest.
$ac_ext <<_ACEOF
16996 cat confdefs.h
>>conftest.
$ac_ext
16997 cat >>conftest.
$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999 $ac_includes_default
17003 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17010 rm -f conftest.
$ac_objext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17012 (eval $ac_compile) 2>conftest.er1
17014 grep -v '^ *+' conftest.er1
>conftest.err
17016 cat conftest.err
>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } &&
17019 { ac_try
='test -z "$ac_c_werror_flag"
17020 || test ! -s conftest.err'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; } &&
17026 { ac_try
='test -s conftest.$ac_objext'
17027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028 (eval $ac_try) 2>&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); }; }; then
17034 cat >conftest.
$ac_ext <<_ACEOF
17037 cat confdefs.h
>>conftest.
$ac_ext
17038 cat >>conftest.
$ac_ext <<_ACEOF
17039 /* end confdefs.h. */
17040 $ac_includes_default
17044 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17051 rm -f conftest.
$ac_objext
17052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17053 (eval $ac_compile) 2>conftest.er1
17055 grep -v '^ *+' conftest.er1
>conftest.err
17057 cat conftest.err
>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); } &&
17060 { ac_try
='test -z "$ac_c_werror_flag"
17061 || test ! -s conftest.err'
17062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17063 (eval $ac_try) 2>&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; } &&
17067 { ac_try
='test -s conftest.$ac_objext'
17068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17069 (eval $ac_try) 2>&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); }; }; then
17073 ac_hi
=$ac_mid; break
17075 echo "$as_me: failed program was:" >&5
17076 sed 's/^/| /' conftest.
$ac_ext >&5
17078 ac_lo
=`expr $ac_mid + 1`
17079 if test $ac_lo -le $ac_mid; then
17083 ac_mid
=`expr 2 '*' $ac_mid + 1`
17085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17088 echo "$as_me: failed program was:" >&5
17089 sed 's/^/| /' conftest.
$ac_ext >&5
17091 cat >conftest.
$ac_ext <<_ACEOF
17094 cat confdefs.h
>>conftest.
$ac_ext
17095 cat >>conftest.
$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097 $ac_includes_default
17101 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17108 rm -f conftest.
$ac_objext
17109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17110 (eval $ac_compile) 2>conftest.er1
17112 grep -v '^ *+' conftest.er1
>conftest.err
17114 cat conftest.err
>&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } &&
17117 { ac_try
='test -z "$ac_c_werror_flag"
17118 || test ! -s conftest.err'
17119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17120 (eval $ac_try) 2>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); }; } &&
17124 { ac_try
='test -s conftest.$ac_objext'
17125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17126 (eval $ac_try) 2>&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); }; }; then
17132 cat >conftest.
$ac_ext <<_ACEOF
17135 cat confdefs.h
>>conftest.
$ac_ext
17136 cat >>conftest.
$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 $ac_includes_default
17142 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17149 rm -f conftest.
$ac_objext
17150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17151 (eval $ac_compile) 2>conftest.er1
17153 grep -v '^ *+' conftest.er1
>conftest.err
17155 cat conftest.err
>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } &&
17158 { ac_try
='test -z "$ac_c_werror_flag"
17159 || test ! -s conftest.err'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; } &&
17165 { ac_try
='test -s conftest.$ac_objext'
17166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17167 (eval $ac_try) 2>&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); }; }; then
17171 ac_lo
=$ac_mid; break
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.
$ac_ext >&5
17176 ac_hi
=`expr '(' $ac_mid ')' - 1`
17177 if test $ac_mid -le $ac_hi; then
17181 ac_mid
=`expr 2 '*' $ac_mid`
17183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.
$ac_ext >&5
17191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17194 # Binary search between lo and hi bounds.
17195 while test "x$ac_lo" != "x$ac_hi"; do
17196 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17197 cat >conftest.
$ac_ext <<_ACEOF
17200 cat confdefs.h
>>conftest.
$ac_ext
17201 cat >>conftest.
$ac_ext <<_ACEOF
17202 /* end confdefs.h. */
17203 $ac_includes_default
17207 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17214 rm -f conftest.
$ac_objext
17215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17216 (eval $ac_compile) 2>conftest.er1
17218 grep -v '^ *+' conftest.er1
>conftest.err
17220 cat conftest.err
>&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); } &&
17223 { ac_try
='test -z "$ac_c_werror_flag"
17224 || test ! -s conftest.err'
17225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17226 (eval $ac_try) 2>&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); }; } &&
17230 { ac_try
='test -s conftest.$ac_objext'
17231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17232 (eval $ac_try) 2>&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); }; }; then
17238 echo "$as_me: failed program was:" >&5
17239 sed 's/^/| /' conftest.
$ac_ext >&5
17241 ac_lo
=`expr '(' $ac_mid ')' + 1`
17243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17246 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17247 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17248 See \`config.log' for more details." >&5
17249 echo "$as_me: error: cannot compute sizeof (int), 77
17250 See \`config.log' for more details." >&2;}
17251 { (exit 1); exit 1; }; } ;;
17254 if test "$cross_compiling" = yes; then
17255 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17256 See \`config.log' for more details." >&5
17257 echo "$as_me: error: cannot run test program while cross compiling
17258 See \`config.log' for more details." >&2;}
17259 { (exit 1); exit 1; }; }
17261 cat >conftest.
$ac_ext <<_ACEOF
17264 cat confdefs.h
>>conftest.
$ac_ext
17265 cat >>conftest.
$ac_ext <<_ACEOF
17266 /* end confdefs.h. */
17267 $ac_includes_default
17268 long longval () { return (long) (sizeof (int)); }
17269 unsigned long ulongval () { return (long) (sizeof (int)); }
17271 #include <stdlib.h>
17276 FILE *f = fopen ("conftest.val", "w");
17279 if (((long) (sizeof (int))) < 0)
17281 long i = longval ();
17282 if (i != ((long) (sizeof (int))))
17284 fprintf (f, "%ld\n", i);
17288 unsigned long i = ulongval ();
17289 if (i != ((long) (sizeof (int))))
17291 fprintf (f, "%lu\n", i);
17293 exit (ferror (f) || fclose (f) != 0);
17299 rm -f conftest
$ac_exeext
17300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17301 (eval $ac_link) 2>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; }; then
17310 ac_cv_sizeof_int
=`cat conftest.val`
17312 echo "$as_me: program exited with status $ac_status" >&5
17313 echo "$as_me: failed program was:" >&5
17314 sed 's/^/| /' conftest.
$ac_ext >&5
17316 ( exit $ac_status )
17317 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17318 See \`config.log' for more details." >&5
17319 echo "$as_me: error: cannot compute sizeof (int), 77
17320 See \`config.log' for more details." >&2;}
17321 { (exit 1); exit 1; }; }
17323 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17331 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17332 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17333 cat >>confdefs.h
<<_ACEOF
17334 #define SIZEOF_INT $ac_cv_sizeof_int
17338 echo "$as_me:$LINENO: checking for long" >&5
17339 echo $ECHO_N "checking for long... $ECHO_C" >&6
17340 if test "${ac_cv_type_long+set}" = set; then
17341 echo $ECHO_N "(cached) $ECHO_C" >&6
17343 cat >conftest.
$ac_ext <<_ACEOF
17346 cat confdefs.h
>>conftest.
$ac_ext
17347 cat >>conftest.
$ac_ext <<_ACEOF
17348 /* end confdefs.h. */
17349 $ac_includes_default
17361 rm -f conftest.
$ac_objext
17362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17363 (eval $ac_compile) 2>conftest.er1
17365 grep -v '^ *+' conftest.er1
>conftest.err
17367 cat conftest.err
>&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); } &&
17370 { ac_try
='test -z "$ac_c_werror_flag"
17371 || test ! -s conftest.err'
17372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373 (eval $ac_try) 2>&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); }; } &&
17377 { ac_try
='test -s conftest.$ac_objext'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; }; then
17383 ac_cv_type_long
=yes
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.
$ac_ext >&5
17390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17392 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17393 echo "${ECHO_T}$ac_cv_type_long" >&6
17395 echo "$as_me:$LINENO: checking size of long" >&5
17396 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17397 if test "${ac_cv_sizeof_long+set}" = set; then
17398 echo $ECHO_N "(cached) $ECHO_C" >&6
17400 if test "$ac_cv_type_long" = yes; then
17401 # The cast to unsigned long works around a bug in the HP C Compiler
17402 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17403 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17404 # This bug is HP SR number 8606223364.
17405 if test "$cross_compiling" = yes; then
17406 # Depending upon the size, compute the lo and hi bounds.
17407 cat >conftest.
$ac_ext <<_ACEOF
17410 cat confdefs.h
>>conftest.
$ac_ext
17411 cat >>conftest.
$ac_ext <<_ACEOF
17412 /* end confdefs.h. */
17413 $ac_includes_default
17417 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17424 rm -f conftest.
$ac_objext
17425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17426 (eval $ac_compile) 2>conftest.er1
17428 grep -v '^ *+' conftest.er1
>conftest.err
17430 cat conftest.err
>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); } &&
17433 { ac_try
='test -z "$ac_c_werror_flag"
17434 || test ! -s conftest.err'
17435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17436 (eval $ac_try) 2>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); }; } &&
17440 { ac_try
='test -s conftest.$ac_objext'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; }; then
17448 cat >conftest.
$ac_ext <<_ACEOF
17451 cat confdefs.h
>>conftest.
$ac_ext
17452 cat >>conftest.
$ac_ext <<_ACEOF
17453 /* end confdefs.h. */
17454 $ac_includes_default
17458 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17465 rm -f conftest.
$ac_objext
17466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17467 (eval $ac_compile) 2>conftest.er1
17469 grep -v '^ *+' conftest.er1
>conftest.err
17471 cat conftest.err
>&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); } &&
17474 { ac_try
='test -z "$ac_c_werror_flag"
17475 || test ! -s conftest.err'
17476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17477 (eval $ac_try) 2>&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); }; } &&
17481 { ac_try
='test -s conftest.$ac_objext'
17482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17483 (eval $ac_try) 2>&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); }; }; then
17487 ac_hi
=$ac_mid; break
17489 echo "$as_me: failed program was:" >&5
17490 sed 's/^/| /' conftest.
$ac_ext >&5
17492 ac_lo
=`expr $ac_mid + 1`
17493 if test $ac_lo -le $ac_mid; then
17497 ac_mid
=`expr 2 '*' $ac_mid + 1`
17499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.
$ac_ext >&5
17505 cat >conftest.
$ac_ext <<_ACEOF
17508 cat confdefs.h
>>conftest.
$ac_ext
17509 cat >>conftest.
$ac_ext <<_ACEOF
17510 /* end confdefs.h. */
17511 $ac_includes_default
17515 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17522 rm -f conftest.
$ac_objext
17523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17524 (eval $ac_compile) 2>conftest.er1
17526 grep -v '^ *+' conftest.er1
>conftest.err
17528 cat conftest.err
>&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); } &&
17531 { ac_try
='test -z "$ac_c_werror_flag"
17532 || test ! -s conftest.err'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; } &&
17538 { ac_try
='test -s conftest.$ac_objext'
17539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540 (eval $ac_try) 2>&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); }; }; then
17546 cat >conftest.
$ac_ext <<_ACEOF
17549 cat confdefs.h
>>conftest.
$ac_ext
17550 cat >>conftest.
$ac_ext <<_ACEOF
17551 /* end confdefs.h. */
17552 $ac_includes_default
17556 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17563 rm -f conftest.
$ac_objext
17564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17565 (eval $ac_compile) 2>conftest.er1
17567 grep -v '^ *+' conftest.er1
>conftest.err
17569 cat conftest.err
>&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); } &&
17572 { ac_try
='test -z "$ac_c_werror_flag"
17573 || test ! -s conftest.err'
17574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17575 (eval $ac_try) 2>&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); }; } &&
17579 { ac_try
='test -s conftest.$ac_objext'
17580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17581 (eval $ac_try) 2>&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); }; }; then
17585 ac_lo
=$ac_mid; break
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.
$ac_ext >&5
17590 ac_hi
=`expr '(' $ac_mid ')' - 1`
17591 if test $ac_mid -le $ac_hi; then
17595 ac_mid
=`expr 2 '*' $ac_mid`
17597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.
$ac_ext >&5
17605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17608 # Binary search between lo and hi bounds.
17609 while test "x$ac_lo" != "x$ac_hi"; do
17610 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17611 cat >conftest.
$ac_ext <<_ACEOF
17614 cat confdefs.h
>>conftest.
$ac_ext
17615 cat >>conftest.
$ac_ext <<_ACEOF
17616 /* end confdefs.h. */
17617 $ac_includes_default
17621 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17628 rm -f conftest.
$ac_objext
17629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17630 (eval $ac_compile) 2>conftest.er1
17632 grep -v '^ *+' conftest.er1
>conftest.err
17634 cat conftest.err
>&5
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); } &&
17637 { ac_try
='test -z "$ac_c_werror_flag"
17638 || test ! -s conftest.err'
17639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17640 (eval $ac_try) 2>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; } &&
17644 { ac_try
='test -s conftest.$ac_objext'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; }; then
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.
$ac_ext >&5
17655 ac_lo
=`expr '(' $ac_mid ')' + 1`
17657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17660 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17661 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17662 See \`config.log' for more details." >&5
17663 echo "$as_me: error: cannot compute sizeof (long), 77
17664 See \`config.log' for more details." >&2;}
17665 { (exit 1); exit 1; }; } ;;
17668 if test "$cross_compiling" = yes; then
17669 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17670 See \`config.log' for more details." >&5
17671 echo "$as_me: error: cannot run test program while cross compiling
17672 See \`config.log' for more details." >&2;}
17673 { (exit 1); exit 1; }; }
17675 cat >conftest.
$ac_ext <<_ACEOF
17678 cat confdefs.h
>>conftest.
$ac_ext
17679 cat >>conftest.
$ac_ext <<_ACEOF
17680 /* end confdefs.h. */
17681 $ac_includes_default
17682 long longval () { return (long) (sizeof (long)); }
17683 unsigned long ulongval () { return (long) (sizeof (long)); }
17685 #include <stdlib.h>
17690 FILE *f = fopen ("conftest.val", "w");
17693 if (((long) (sizeof (long))) < 0)
17695 long i = longval ();
17696 if (i != ((long) (sizeof (long))))
17698 fprintf (f, "%ld\n", i);
17702 unsigned long i = ulongval ();
17703 if (i != ((long) (sizeof (long))))
17705 fprintf (f, "%lu\n", i);
17707 exit (ferror (f) || fclose (f) != 0);
17713 rm -f conftest
$ac_exeext
17714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17715 (eval $ac_link) 2>&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17720 (eval $ac_try) 2>&5
17722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 (exit $ac_status); }; }; then
17724 ac_cv_sizeof_long
=`cat conftest.val`
17726 echo "$as_me: program exited with status $ac_status" >&5
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.
$ac_ext >&5
17730 ( exit $ac_status )
17731 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17732 See \`config.log' for more details." >&5
17733 echo "$as_me: error: cannot compute sizeof (long), 77
17734 See \`config.log' for more details." >&2;}
17735 { (exit 1); exit 1; }; }
17737 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17742 ac_cv_sizeof_long
=0
17745 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17746 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17747 cat >>confdefs.h
<<_ACEOF
17748 #define SIZEOF_LONG $ac_cv_sizeof_long
17752 echo "$as_me:$LINENO: checking for size_t" >&5
17753 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17754 if test "${ac_cv_type_size_t+set}" = set; then
17755 echo $ECHO_N "(cached) $ECHO_C" >&6
17757 cat >conftest.
$ac_ext <<_ACEOF
17760 cat confdefs.h
>>conftest.
$ac_ext
17761 cat >>conftest.
$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17763 $ac_includes_default
17769 if (sizeof (size_t))
17775 rm -f conftest.
$ac_objext
17776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17777 (eval $ac_compile) 2>conftest.er1
17779 grep -v '^ *+' conftest.er1
>conftest.err
17781 cat conftest.err
>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); } &&
17784 { ac_try
='test -z "$ac_c_werror_flag"
17785 || test ! -s conftest.err'
17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787 (eval $ac_try) 2>&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; } &&
17791 { ac_try
='test -s conftest.$ac_objext'
17792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17793 (eval $ac_try) 2>&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); }; }; then
17797 ac_cv_type_size_t
=yes
17799 echo "$as_me: failed program was:" >&5
17800 sed 's/^/| /' conftest.
$ac_ext >&5
17802 ac_cv_type_size_t
=no
17804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17806 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17807 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17809 echo "$as_me:$LINENO: checking size of size_t" >&5
17810 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17811 if test "${ac_cv_sizeof_size_t+set}" = set; then
17812 echo $ECHO_N "(cached) $ECHO_C" >&6
17814 if test "$ac_cv_type_size_t" = yes; then
17815 # The cast to unsigned long works around a bug in the HP C Compiler
17816 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17817 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17818 # This bug is HP SR number 8606223364.
17819 if test "$cross_compiling" = yes; then
17820 # Depending upon the size, compute the lo and hi bounds.
17821 cat >conftest.
$ac_ext <<_ACEOF
17824 cat confdefs.h
>>conftest.
$ac_ext
17825 cat >>conftest.
$ac_ext <<_ACEOF
17826 /* end confdefs.h. */
17827 $ac_includes_default
17831 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17838 rm -f conftest.
$ac_objext
17839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17840 (eval $ac_compile) 2>conftest.er1
17842 grep -v '^ *+' conftest.er1
>conftest.err
17844 cat conftest.err
>&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); } &&
17847 { ac_try
='test -z "$ac_c_werror_flag"
17848 || test ! -s conftest.err'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 2>&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; } &&
17854 { ac_try
='test -s conftest.$ac_objext'
17855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17856 (eval $ac_try) 2>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); }; }; then
17862 cat >conftest.
$ac_ext <<_ACEOF
17865 cat confdefs.h
>>conftest.
$ac_ext
17866 cat >>conftest.
$ac_ext <<_ACEOF
17867 /* end confdefs.h. */
17868 $ac_includes_default
17872 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17879 rm -f conftest.
$ac_objext
17880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17881 (eval $ac_compile) 2>conftest.er1
17883 grep -v '^ *+' conftest.er1
>conftest.err
17885 cat conftest.err
>&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); } &&
17888 { ac_try
='test -z "$ac_c_werror_flag"
17889 || test ! -s conftest.err'
17890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17891 (eval $ac_try) 2>&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); }; } &&
17895 { ac_try
='test -s conftest.$ac_objext'
17896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17897 (eval $ac_try) 2>&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); }; }; then
17901 ac_hi
=$ac_mid; break
17903 echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.
$ac_ext >&5
17906 ac_lo
=`expr $ac_mid + 1`
17907 if test $ac_lo -le $ac_mid; then
17911 ac_mid
=`expr 2 '*' $ac_mid + 1`
17913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.
$ac_ext >&5
17919 cat >conftest.
$ac_ext <<_ACEOF
17922 cat confdefs.h
>>conftest.
$ac_ext
17923 cat >>conftest.
$ac_ext <<_ACEOF
17924 /* end confdefs.h. */
17925 $ac_includes_default
17929 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17936 rm -f conftest.
$ac_objext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17938 (eval $ac_compile) 2>conftest.er1
17940 grep -v '^ *+' conftest.er1
>conftest.err
17942 cat conftest.err
>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } &&
17945 { ac_try
='test -z "$ac_c_werror_flag"
17946 || test ! -s conftest.err'
17947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17948 (eval $ac_try) 2>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); }; } &&
17952 { ac_try
='test -s conftest.$ac_objext'
17953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954 (eval $ac_try) 2>&5
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; }; then
17960 cat >conftest.
$ac_ext <<_ACEOF
17963 cat confdefs.h
>>conftest.
$ac_ext
17964 cat >>conftest.
$ac_ext <<_ACEOF
17965 /* end confdefs.h. */
17966 $ac_includes_default
17970 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17977 rm -f conftest.
$ac_objext
17978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17979 (eval $ac_compile) 2>conftest.er1
17981 grep -v '^ *+' conftest.er1
>conftest.err
17983 cat conftest.err
>&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); } &&
17986 { ac_try
='test -z "$ac_c_werror_flag"
17987 || test ! -s conftest.err'
17988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989 (eval $ac_try) 2>&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); }; } &&
17993 { ac_try
='test -s conftest.$ac_objext'
17994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17995 (eval $ac_try) 2>&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); }; }; then
17999 ac_lo
=$ac_mid; break
18001 echo "$as_me: failed program was:" >&5
18002 sed 's/^/| /' conftest.
$ac_ext >&5
18004 ac_hi
=`expr '(' $ac_mid ')' - 1`
18005 if test $ac_mid -le $ac_hi; then
18009 ac_mid
=`expr 2 '*' $ac_mid`
18011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.
$ac_ext >&5
18019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18022 # Binary search between lo and hi bounds.
18023 while test "x$ac_lo" != "x$ac_hi"; do
18024 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18025 cat >conftest.
$ac_ext <<_ACEOF
18028 cat confdefs.h
>>conftest.
$ac_ext
18029 cat >>conftest.
$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18031 $ac_includes_default
18035 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18042 rm -f conftest.
$ac_objext
18043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18044 (eval $ac_compile) 2>conftest.er1
18046 grep -v '^ *+' conftest.er1
>conftest.err
18048 cat conftest.err
>&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } &&
18051 { ac_try
='test -z "$ac_c_werror_flag"
18052 || test ! -s conftest.err'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; } &&
18058 { ac_try
='test -s conftest.$ac_objext'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; }; then
18066 echo "$as_me: failed program was:" >&5
18067 sed 's/^/| /' conftest.
$ac_ext >&5
18069 ac_lo
=`expr '(' $ac_mid ')' + 1`
18071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18074 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
18075 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18076 See \`config.log' for more details." >&5
18077 echo "$as_me: error: cannot compute sizeof (size_t), 77
18078 See \`config.log' for more details." >&2;}
18079 { (exit 1); exit 1; }; } ;;
18082 if test "$cross_compiling" = yes; then
18083 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18084 See \`config.log' for more details." >&5
18085 echo "$as_me: error: cannot run test program while cross compiling
18086 See \`config.log' for more details." >&2;}
18087 { (exit 1); exit 1; }; }
18089 cat >conftest.
$ac_ext <<_ACEOF
18092 cat confdefs.h
>>conftest.
$ac_ext
18093 cat >>conftest.
$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 $ac_includes_default
18096 long longval () { return (long) (sizeof (size_t)); }
18097 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18099 #include <stdlib.h>
18104 FILE *f = fopen ("conftest.val", "w");
18107 if (((long) (sizeof (size_t))) < 0)
18109 long i = longval ();
18110 if (i != ((long) (sizeof (size_t))))
18112 fprintf (f, "%ld\n", i);
18116 unsigned long i = ulongval ();
18117 if (i != ((long) (sizeof (size_t))))
18119 fprintf (f, "%lu\n", i);
18121 exit (ferror (f) || fclose (f) != 0);
18127 rm -f conftest
$ac_exeext
18128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18129 (eval $ac_link) 2>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18134 (eval $ac_try) 2>&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); }; }; then
18138 ac_cv_sizeof_size_t
=`cat conftest.val`
18140 echo "$as_me: program exited with status $ac_status" >&5
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.
$ac_ext >&5
18144 ( exit $ac_status )
18145 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18146 See \`config.log' for more details." >&5
18147 echo "$as_me: error: cannot compute sizeof (size_t), 77
18148 See \`config.log' for more details." >&2;}
18149 { (exit 1); exit 1; }; }
18151 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18156 ac_cv_sizeof_size_t
=0
18159 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18160 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18161 cat >>confdefs.h
<<_ACEOF
18162 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18169 echo "$as_me:$LINENO: checking for long long" >&5
18170 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18171 if test "${ac_cv_type_long_long+set}" = set; then
18172 echo $ECHO_N "(cached) $ECHO_C" >&6
18174 cat >conftest.
$ac_ext <<_ACEOF
18177 cat confdefs.h
>>conftest.
$ac_ext
18178 cat >>conftest.
$ac_ext <<_ACEOF
18179 /* end confdefs.h. */
18180 $ac_includes_default
18184 if ((long long *) 0)
18186 if (sizeof (long long))
18192 rm -f conftest.
$ac_objext
18193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18194 (eval $ac_compile) 2>conftest.er1
18196 grep -v '^ *+' conftest.er1
>conftest.err
18198 cat conftest.err
>&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); } &&
18201 { ac_try
='test -z "$ac_c_werror_flag"
18202 || test ! -s conftest.err'
18203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18204 (eval $ac_try) 2>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); }; } &&
18208 { ac_try
='test -s conftest.$ac_objext'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; }; then
18214 ac_cv_type_long_long
=yes
18216 echo "$as_me: failed program was:" >&5
18217 sed 's/^/| /' conftest.
$ac_ext >&5
18219 ac_cv_type_long_long
=no
18221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18223 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18224 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18226 echo "$as_me:$LINENO: checking size of long long" >&5
18227 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18228 if test "${ac_cv_sizeof_long_long+set}" = set; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18231 if test "$ac_cv_type_long_long" = yes; then
18232 # The cast to unsigned long works around a bug in the HP C Compiler
18233 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18234 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18235 # This bug is HP SR number 8606223364.
18236 if test "$cross_compiling" = yes; then
18237 # Depending upon the size, compute the lo and hi bounds.
18238 cat >conftest.
$ac_ext <<_ACEOF
18241 cat confdefs.h
>>conftest.
$ac_ext
18242 cat >>conftest.
$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244 $ac_includes_default
18248 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18255 rm -f conftest.
$ac_objext
18256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18257 (eval $ac_compile) 2>conftest.er1
18259 grep -v '^ *+' conftest.er1
>conftest.err
18261 cat conftest.err
>&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); } &&
18264 { ac_try
='test -z "$ac_c_werror_flag"
18265 || test ! -s conftest.err'
18266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18267 (eval $ac_try) 2>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; } &&
18271 { ac_try
='test -s conftest.$ac_objext'
18272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18273 (eval $ac_try) 2>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); }; }; then
18279 cat >conftest.
$ac_ext <<_ACEOF
18282 cat confdefs.h
>>conftest.
$ac_ext
18283 cat >>conftest.
$ac_ext <<_ACEOF
18284 /* end confdefs.h. */
18285 $ac_includes_default
18289 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18296 rm -f conftest.
$ac_objext
18297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18298 (eval $ac_compile) 2>conftest.er1
18300 grep -v '^ *+' conftest.er1
>conftest.err
18302 cat conftest.err
>&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); } &&
18305 { ac_try
='test -z "$ac_c_werror_flag"
18306 || test ! -s conftest.err'
18307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18308 (eval $ac_try) 2>&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); }; } &&
18312 { ac_try
='test -s conftest.$ac_objext'
18313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18314 (eval $ac_try) 2>&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); }; }; then
18318 ac_hi
=$ac_mid; break
18320 echo "$as_me: failed program was:" >&5
18321 sed 's/^/| /' conftest.
$ac_ext >&5
18323 ac_lo
=`expr $ac_mid + 1`
18324 if test $ac_lo -le $ac_mid; then
18328 ac_mid
=`expr 2 '*' $ac_mid + 1`
18330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.
$ac_ext >&5
18336 cat >conftest.
$ac_ext <<_ACEOF
18339 cat confdefs.h
>>conftest.
$ac_ext
18340 cat >>conftest.
$ac_ext <<_ACEOF
18341 /* end confdefs.h. */
18342 $ac_includes_default
18346 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18353 rm -f conftest.
$ac_objext
18354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18355 (eval $ac_compile) 2>conftest.er1
18357 grep -v '^ *+' conftest.er1
>conftest.err
18359 cat conftest.err
>&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } &&
18362 { ac_try
='test -z "$ac_c_werror_flag"
18363 || test ! -s conftest.err'
18364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365 (eval $ac_try) 2>&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); }; } &&
18369 { ac_try
='test -s conftest.$ac_objext'
18370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18371 (eval $ac_try) 2>&5
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); }; }; then
18377 cat >conftest.
$ac_ext <<_ACEOF
18380 cat confdefs.h
>>conftest.
$ac_ext
18381 cat >>conftest.
$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383 $ac_includes_default
18387 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18394 rm -f conftest.
$ac_objext
18395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18396 (eval $ac_compile) 2>conftest.er1
18398 grep -v '^ *+' conftest.er1
>conftest.err
18400 cat conftest.err
>&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); } &&
18403 { ac_try
='test -z "$ac_c_werror_flag"
18404 || test ! -s conftest.err'
18405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18406 (eval $ac_try) 2>&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); }; } &&
18410 { ac_try
='test -s conftest.$ac_objext'
18411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18412 (eval $ac_try) 2>&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); }; }; then
18416 ac_lo
=$ac_mid; break
18418 echo "$as_me: failed program was:" >&5
18419 sed 's/^/| /' conftest.
$ac_ext >&5
18421 ac_hi
=`expr '(' $ac_mid ')' - 1`
18422 if test $ac_mid -le $ac_hi; then
18426 ac_mid
=`expr 2 '*' $ac_mid`
18428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18431 echo "$as_me: failed program was:" >&5
18432 sed 's/^/| /' conftest.
$ac_ext >&5
18436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18439 # Binary search between lo and hi bounds.
18440 while test "x$ac_lo" != "x$ac_hi"; do
18441 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18442 cat >conftest.
$ac_ext <<_ACEOF
18445 cat confdefs.h
>>conftest.
$ac_ext
18446 cat >>conftest.
$ac_ext <<_ACEOF
18447 /* end confdefs.h. */
18448 $ac_includes_default
18452 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18459 rm -f conftest.
$ac_objext
18460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18461 (eval $ac_compile) 2>conftest.er1
18463 grep -v '^ *+' conftest.er1
>conftest.err
18465 cat conftest.err
>&5
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); } &&
18468 { ac_try
='test -z "$ac_c_werror_flag"
18469 || test ! -s conftest.err'
18470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18471 (eval $ac_try) 2>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); }; } &&
18475 { ac_try
='test -s conftest.$ac_objext'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; }; then
18483 echo "$as_me: failed program was:" >&5
18484 sed 's/^/| /' conftest.
$ac_ext >&5
18486 ac_lo
=`expr '(' $ac_mid ')' + 1`
18488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18491 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18492 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18493 See \`config.log' for more details." >&5
18494 echo "$as_me: error: cannot compute sizeof (long long), 77
18495 See \`config.log' for more details." >&2;}
18496 { (exit 1); exit 1; }; } ;;
18499 if test "$cross_compiling" = yes; then
18500 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18501 See \`config.log' for more details." >&5
18502 echo "$as_me: error: cannot run test program while cross compiling
18503 See \`config.log' for more details." >&2;}
18504 { (exit 1); exit 1; }; }
18506 cat >conftest.
$ac_ext <<_ACEOF
18509 cat confdefs.h
>>conftest.
$ac_ext
18510 cat >>conftest.
$ac_ext <<_ACEOF
18511 /* end confdefs.h. */
18512 $ac_includes_default
18513 long longval () { return (long) (sizeof (long long)); }
18514 unsigned long ulongval () { return (long) (sizeof (long long)); }
18516 #include <stdlib.h>
18521 FILE *f = fopen ("conftest.val", "w");
18524 if (((long) (sizeof (long long))) < 0)
18526 long i = longval ();
18527 if (i != ((long) (sizeof (long long))))
18529 fprintf (f, "%ld\n", i);
18533 unsigned long i = ulongval ();
18534 if (i != ((long) (sizeof (long long))))
18536 fprintf (f, "%lu\n", i);
18538 exit (ferror (f) || fclose (f) != 0);
18544 rm -f conftest
$ac_exeext
18545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18546 (eval $ac_link) 2>&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18551 (eval $ac_try) 2>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); }; }; then
18555 ac_cv_sizeof_long_long
=`cat conftest.val`
18557 echo "$as_me: program exited with status $ac_status" >&5
18558 echo "$as_me: failed program was:" >&5
18559 sed 's/^/| /' conftest.
$ac_ext >&5
18561 ( exit $ac_status )
18562 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18563 See \`config.log' for more details." >&5
18564 echo "$as_me: error: cannot compute sizeof (long long), 77
18565 See \`config.log' for more details." >&2;}
18566 { (exit 1); exit 1; }; }
18568 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18573 ac_cv_sizeof_long_long
=0
18576 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18577 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18578 cat >>confdefs.h
<<_ACEOF
18579 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18585 echo "$as_me:$LINENO: checking for long long" >&5
18586 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18587 if test "${ac_cv_type_long_long+set}" = set; then
18588 echo $ECHO_N "(cached) $ECHO_C" >&6
18590 cat >conftest.
$ac_ext <<_ACEOF
18593 cat confdefs.h
>>conftest.
$ac_ext
18594 cat >>conftest.
$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596 $ac_includes_default
18600 if ((long long *) 0)
18602 if (sizeof (long long))
18608 rm -f conftest.
$ac_objext
18609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18610 (eval $ac_compile) 2>conftest.er1
18612 grep -v '^ *+' conftest.er1
>conftest.err
18614 cat conftest.err
>&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); } &&
18617 { ac_try
='test -z "$ac_c_werror_flag"
18618 || test ! -s conftest.err'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; } &&
18624 { ac_try
='test -s conftest.$ac_objext'
18625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18626 (eval $ac_try) 2>&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); }; }; then
18630 ac_cv_type_long_long
=yes
18632 echo "$as_me: failed program was:" >&5
18633 sed 's/^/| /' conftest.
$ac_ext >&5
18635 ac_cv_type_long_long
=no
18637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18639 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18640 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18642 echo "$as_me:$LINENO: checking size of long long" >&5
18643 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18644 if test "${ac_cv_sizeof_long_long+set}" = set; then
18645 echo $ECHO_N "(cached) $ECHO_C" >&6
18647 if test "$ac_cv_type_long_long" = yes; then
18648 # The cast to unsigned long works around a bug in the HP C Compiler
18649 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18650 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18651 # This bug is HP SR number 8606223364.
18652 if test "$cross_compiling" = yes; then
18653 # Depending upon the size, compute the lo and hi bounds.
18654 cat >conftest.
$ac_ext <<_ACEOF
18657 cat confdefs.h
>>conftest.
$ac_ext
18658 cat >>conftest.
$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 $ac_includes_default
18664 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18671 rm -f conftest.
$ac_objext
18672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18673 (eval $ac_compile) 2>conftest.er1
18675 grep -v '^ *+' conftest.er1
>conftest.err
18677 cat conftest.err
>&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } &&
18680 { ac_try
='test -z "$ac_c_werror_flag"
18681 || test ! -s conftest.err'
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; } &&
18687 { ac_try
='test -s conftest.$ac_objext'
18688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689 (eval $ac_try) 2>&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; }; then
18695 cat >conftest.
$ac_ext <<_ACEOF
18698 cat confdefs.h
>>conftest.
$ac_ext
18699 cat >>conftest.
$ac_ext <<_ACEOF
18700 /* end confdefs.h. */
18701 $ac_includes_default
18705 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18712 rm -f conftest.
$ac_objext
18713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18714 (eval $ac_compile) 2>conftest.er1
18716 grep -v '^ *+' conftest.er1
>conftest.err
18718 cat conftest.err
>&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); } &&
18721 { ac_try
='test -z "$ac_c_werror_flag"
18722 || test ! -s conftest.err'
18723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18724 (eval $ac_try) 2>&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); }; } &&
18728 { ac_try
='test -s conftest.$ac_objext'
18729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18730 (eval $ac_try) 2>&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); }; }; then
18734 ac_hi
=$ac_mid; break
18736 echo "$as_me: failed program was:" >&5
18737 sed 's/^/| /' conftest.
$ac_ext >&5
18739 ac_lo
=`expr $ac_mid + 1`
18740 if test $ac_lo -le $ac_mid; then
18744 ac_mid
=`expr 2 '*' $ac_mid + 1`
18746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18749 echo "$as_me: failed program was:" >&5
18750 sed 's/^/| /' conftest.
$ac_ext >&5
18752 cat >conftest.
$ac_ext <<_ACEOF
18755 cat confdefs.h
>>conftest.
$ac_ext
18756 cat >>conftest.
$ac_ext <<_ACEOF
18757 /* end confdefs.h. */
18758 $ac_includes_default
18762 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18769 rm -f conftest.
$ac_objext
18770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18771 (eval $ac_compile) 2>conftest.er1
18773 grep -v '^ *+' conftest.er1
>conftest.err
18775 cat conftest.err
>&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } &&
18778 { ac_try
='test -z "$ac_c_werror_flag"
18779 || test ! -s conftest.err'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; } &&
18785 { ac_try
='test -s conftest.$ac_objext'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18793 cat >conftest.
$ac_ext <<_ACEOF
18796 cat confdefs.h
>>conftest.
$ac_ext
18797 cat >>conftest.
$ac_ext <<_ACEOF
18798 /* end confdefs.h. */
18799 $ac_includes_default
18803 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18810 rm -f conftest.
$ac_objext
18811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18812 (eval $ac_compile) 2>conftest.er1
18814 grep -v '^ *+' conftest.er1
>conftest.err
18816 cat conftest.err
>&5
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); } &&
18819 { ac_try
='test -z "$ac_c_werror_flag"
18820 || test ! -s conftest.err'
18821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18822 (eval $ac_try) 2>&5
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); }; } &&
18826 { ac_try
='test -s conftest.$ac_objext'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; }; then
18832 ac_lo
=$ac_mid; break
18834 echo "$as_me: failed program was:" >&5
18835 sed 's/^/| /' conftest.
$ac_ext >&5
18837 ac_hi
=`expr '(' $ac_mid ')' - 1`
18838 if test $ac_mid -le $ac_hi; then
18842 ac_mid
=`expr 2 '*' $ac_mid`
18844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18847 echo "$as_me: failed program was:" >&5
18848 sed 's/^/| /' conftest.
$ac_ext >&5
18852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18855 # Binary search between lo and hi bounds.
18856 while test "x$ac_lo" != "x$ac_hi"; do
18857 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18858 cat >conftest.
$ac_ext <<_ACEOF
18861 cat confdefs.h
>>conftest.
$ac_ext
18862 cat >>conftest.
$ac_ext <<_ACEOF
18863 /* end confdefs.h. */
18864 $ac_includes_default
18868 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18875 rm -f conftest.
$ac_objext
18876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18877 (eval $ac_compile) 2>conftest.er1
18879 grep -v '^ *+' conftest.er1
>conftest.err
18881 cat conftest.err
>&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); } &&
18884 { ac_try
='test -z "$ac_c_werror_flag"
18885 || test ! -s conftest.err'
18886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18887 (eval $ac_try) 2>&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); }; } &&
18891 { ac_try
='test -s conftest.$ac_objext'
18892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18893 (eval $ac_try) 2>&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); }; }; then
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.
$ac_ext >&5
18902 ac_lo
=`expr '(' $ac_mid ')' + 1`
18904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18907 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18908 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18909 See \`config.log' for more details." >&5
18910 echo "$as_me: error: cannot compute sizeof (long long), 77
18911 See \`config.log' for more details." >&2;}
18912 { (exit 1); exit 1; }; } ;;
18915 if test "$cross_compiling" = yes; then
18916 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18917 See \`config.log' for more details." >&5
18918 echo "$as_me: error: cannot run test program while cross compiling
18919 See \`config.log' for more details." >&2;}
18920 { (exit 1); exit 1; }; }
18922 cat >conftest.
$ac_ext <<_ACEOF
18925 cat confdefs.h
>>conftest.
$ac_ext
18926 cat >>conftest.
$ac_ext <<_ACEOF
18927 /* end confdefs.h. */
18928 $ac_includes_default
18929 long longval () { return (long) (sizeof (long long)); }
18930 unsigned long ulongval () { return (long) (sizeof (long long)); }
18932 #include <stdlib.h>
18937 FILE *f = fopen ("conftest.val", "w");
18940 if (((long) (sizeof (long long))) < 0)
18942 long i = longval ();
18943 if (i != ((long) (sizeof (long long))))
18945 fprintf (f, "%ld\n", i);
18949 unsigned long i = ulongval ();
18950 if (i != ((long) (sizeof (long long))))
18952 fprintf (f, "%lu\n", i);
18954 exit (ferror (f) || fclose (f) != 0);
18960 rm -f conftest
$ac_exeext
18961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18962 (eval $ac_link) 2>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18967 (eval $ac_try) 2>&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); }; }; then
18971 ac_cv_sizeof_long_long
=`cat conftest.val`
18973 echo "$as_me: program exited with status $ac_status" >&5
18974 echo "$as_me: failed program was:" >&5
18975 sed 's/^/| /' conftest.
$ac_ext >&5
18977 ( exit $ac_status )
18978 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18979 See \`config.log' for more details." >&5
18980 echo "$as_me: error: cannot compute sizeof (long long), 77
18981 See \`config.log' for more details." >&2;}
18982 { (exit 1); exit 1; }; }
18984 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18989 ac_cv_sizeof_long_long
=0
18992 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18993 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18994 cat >>confdefs.h
<<_ACEOF
18995 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18999 if test "$ac_cv_sizeof_long_long" != "0"; then
19000 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
19004 echo "$as_me:$LINENO: checking for long long" >&5
19005 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19006 if test "${ac_cv_type_long_long+set}" = set; then
19007 echo $ECHO_N "(cached) $ECHO_C" >&6
19009 cat >conftest.
$ac_ext <<_ACEOF
19012 cat confdefs.h
>>conftest.
$ac_ext
19013 cat >>conftest.
$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19015 $ac_includes_default
19019 if ((long long *) 0)
19021 if (sizeof (long long))
19027 rm -f conftest.
$ac_objext
19028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19029 (eval $ac_compile) 2>conftest.er1
19031 grep -v '^ *+' conftest.er1
>conftest.err
19033 cat conftest.err
>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); } &&
19036 { ac_try
='test -z "$ac_c_werror_flag"
19037 || test ! -s conftest.err'
19038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039 (eval $ac_try) 2>&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); }; } &&
19043 { ac_try
='test -s conftest.$ac_objext'
19044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19045 (eval $ac_try) 2>&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); }; }; then
19049 ac_cv_type_long_long
=yes
19051 echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.
$ac_ext >&5
19054 ac_cv_type_long_long
=no
19056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19058 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19059 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19061 echo "$as_me:$LINENO: checking size of long long" >&5
19062 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19063 if test "${ac_cv_sizeof_long_long+set}" = set; then
19064 echo $ECHO_N "(cached) $ECHO_C" >&6
19066 if test "$ac_cv_type_long_long" = yes; then
19067 # The cast to unsigned long works around a bug in the HP C Compiler
19068 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19069 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19070 # This bug is HP SR number 8606223364.
19071 if test "$cross_compiling" = yes; then
19072 # Depending upon the size, compute the lo and hi bounds.
19073 cat >conftest.
$ac_ext <<_ACEOF
19076 cat confdefs.h
>>conftest.
$ac_ext
19077 cat >>conftest.
$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 $ac_includes_default
19083 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19090 rm -f conftest.
$ac_objext
19091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19092 (eval $ac_compile) 2>conftest.er1
19094 grep -v '^ *+' conftest.er1
>conftest.err
19096 cat conftest.err
>&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); } &&
19099 { ac_try
='test -z "$ac_c_werror_flag"
19100 || test ! -s conftest.err'
19101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19102 (eval $ac_try) 2>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); }; } &&
19106 { ac_try
='test -s conftest.$ac_objext'
19107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19108 (eval $ac_try) 2>&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); }; }; then
19114 cat >conftest.
$ac_ext <<_ACEOF
19117 cat confdefs.h
>>conftest.
$ac_ext
19118 cat >>conftest.
$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 $ac_includes_default
19124 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19131 rm -f conftest.
$ac_objext
19132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19133 (eval $ac_compile) 2>conftest.er1
19135 grep -v '^ *+' conftest.er1
>conftest.err
19137 cat conftest.err
>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } &&
19140 { ac_try
='test -z "$ac_c_werror_flag"
19141 || test ! -s conftest.err'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; } &&
19147 { ac_try
='test -s conftest.$ac_objext'
19148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19149 (eval $ac_try) 2>&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); }; }; then
19153 ac_hi
=$ac_mid; break
19155 echo "$as_me: failed program was:" >&5
19156 sed 's/^/| /' conftest.
$ac_ext >&5
19158 ac_lo
=`expr $ac_mid + 1`
19159 if test $ac_lo -le $ac_mid; then
19163 ac_mid
=`expr 2 '*' $ac_mid + 1`
19165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19168 echo "$as_me: failed program was:" >&5
19169 sed 's/^/| /' conftest.
$ac_ext >&5
19171 cat >conftest.
$ac_ext <<_ACEOF
19174 cat confdefs.h
>>conftest.
$ac_ext
19175 cat >>conftest.
$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 $ac_includes_default
19181 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19188 rm -f conftest.
$ac_objext
19189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&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 { ac_try
='test -z "$ac_c_werror_flag"
19198 || test ! -s conftest.err'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; } &&
19204 { ac_try
='test -s conftest.$ac_objext'
19205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206 (eval $ac_try) 2>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); }; }; then
19212 cat >conftest.
$ac_ext <<_ACEOF
19215 cat confdefs.h
>>conftest.
$ac_ext
19216 cat >>conftest.
$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19218 $ac_includes_default
19222 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19229 rm -f conftest.
$ac_objext
19230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19231 (eval $ac_compile) 2>conftest.er1
19233 grep -v '^ *+' conftest.er1
>conftest.err
19235 cat conftest.err
>&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } &&
19238 { ac_try
='test -z "$ac_c_werror_flag"
19239 || test ! -s conftest.err'
19240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19241 (eval $ac_try) 2>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); }; } &&
19245 { ac_try
='test -s conftest.$ac_objext'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; }; then
19251 ac_lo
=$ac_mid; break
19253 echo "$as_me: failed program was:" >&5
19254 sed 's/^/| /' conftest.
$ac_ext >&5
19256 ac_hi
=`expr '(' $ac_mid ')' - 1`
19257 if test $ac_mid -le $ac_hi; then
19261 ac_mid
=`expr 2 '*' $ac_mid`
19263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19266 echo "$as_me: failed program was:" >&5
19267 sed 's/^/| /' conftest.
$ac_ext >&5
19271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19274 # Binary search between lo and hi bounds.
19275 while test "x$ac_lo" != "x$ac_hi"; do
19276 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19277 cat >conftest.
$ac_ext <<_ACEOF
19280 cat confdefs.h
>>conftest.
$ac_ext
19281 cat >>conftest.
$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 $ac_includes_default
19287 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19294 rm -f conftest.
$ac_objext
19295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19296 (eval $ac_compile) 2>conftest.er1
19298 grep -v '^ *+' conftest.er1
>conftest.err
19300 cat conftest.err
>&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } &&
19303 { ac_try
='test -z "$ac_c_werror_flag"
19304 || test ! -s conftest.err'
19305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19306 (eval $ac_try) 2>&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; } &&
19310 { ac_try
='test -s conftest.$ac_objext'
19311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19312 (eval $ac_try) 2>&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); }; }; then
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.
$ac_ext >&5
19321 ac_lo
=`expr '(' $ac_mid ')' + 1`
19323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19326 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19327 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19328 See \`config.log' for more details." >&5
19329 echo "$as_me: error: cannot compute sizeof (long long), 77
19330 See \`config.log' for more details." >&2;}
19331 { (exit 1); exit 1; }; } ;;
19334 if test "$cross_compiling" = yes; then
19335 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19336 See \`config.log' for more details." >&5
19337 echo "$as_me: error: cannot run test program while cross compiling
19338 See \`config.log' for more details." >&2;}
19339 { (exit 1); exit 1; }; }
19341 cat >conftest.
$ac_ext <<_ACEOF
19344 cat confdefs.h
>>conftest.
$ac_ext
19345 cat >>conftest.
$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 $ac_includes_default
19348 long longval () { return (long) (sizeof (long long)); }
19349 unsigned long ulongval () { return (long) (sizeof (long long)); }
19351 #include <stdlib.h>
19356 FILE *f = fopen ("conftest.val", "w");
19359 if (((long) (sizeof (long long))) < 0)
19361 long i = longval ();
19362 if (i != ((long) (sizeof (long long))))
19364 fprintf (f, "%ld\n", i);
19368 unsigned long i = ulongval ();
19369 if (i != ((long) (sizeof (long long))))
19371 fprintf (f, "%lu\n", i);
19373 exit (ferror (f) || fclose (f) != 0);
19379 rm -f conftest
$ac_exeext
19380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19381 (eval $ac_link) 2>&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; }; then
19390 ac_cv_sizeof_long_long
=`cat conftest.val`
19392 echo "$as_me: program exited with status $ac_status" >&5
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.
$ac_ext >&5
19396 ( exit $ac_status )
19397 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19398 See \`config.log' for more details." >&5
19399 echo "$as_me: error: cannot compute sizeof (long long), 77
19400 See \`config.log' for more details." >&2;}
19401 { (exit 1); exit 1; }; }
19403 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19408 ac_cv_sizeof_long_long
=0
19411 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19412 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19413 cat >>confdefs.h
<<_ACEOF
19414 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19420 echo "$as_me:$LINENO: checking for wchar_t" >&5
19421 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19422 if test "${ac_cv_type_wchar_t+set}" = set; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19425 cat >conftest.
$ac_ext <<_ACEOF
19428 cat confdefs.h
>>conftest.
$ac_ext
19429 cat >>conftest.
$ac_ext <<_ACEOF
19430 /* end confdefs.h. */
19432 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19433 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19434 # error "fake wchar_t"
19436 #ifdef HAVE_WCHAR_H
19438 # include <stddef.h>
19440 # include <wchar.h>
19442 #ifdef HAVE_STDLIB_H
19443 # include <stdlib.h>
19454 if (sizeof (wchar_t))
19460 rm -f conftest.
$ac_objext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19462 (eval $ac_compile) 2>conftest.er1
19464 grep -v '^ *+' conftest.er1
>conftest.err
19466 cat conftest.err
>&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); } &&
19469 { ac_try
='test -z "$ac_c_werror_flag"
19470 || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try
='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_cv_type_wchar_t
=yes
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 ac_cv_type_wchar_t
=no
19489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19491 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19492 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19494 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19495 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19496 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19497 echo $ECHO_N "(cached) $ECHO_C" >&6
19499 if test "$ac_cv_type_wchar_t" = yes; then
19500 # The cast to unsigned long works around a bug in the HP C Compiler
19501 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19502 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19503 # This bug is HP SR number 8606223364.
19504 if test "$cross_compiling" = yes; then
19505 # Depending upon the size, compute the lo and hi bounds.
19506 cat >conftest.
$ac_ext <<_ACEOF
19509 cat confdefs.h
>>conftest.
$ac_ext
19510 cat >>conftest.
$ac_ext <<_ACEOF
19511 /* end confdefs.h. */
19513 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19514 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19515 # error "fake wchar_t"
19517 #ifdef HAVE_WCHAR_H
19519 # include <stddef.h>
19521 # include <wchar.h>
19523 #ifdef HAVE_STDLIB_H
19524 # include <stdlib.h>
19533 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19540 rm -f conftest.
$ac_objext
19541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19542 (eval $ac_compile) 2>conftest.er1
19544 grep -v '^ *+' conftest.er1
>conftest.err
19546 cat conftest.err
>&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } &&
19549 { ac_try
='test -z "$ac_c_werror_flag"
19550 || test ! -s conftest.err'
19551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 (eval $ac_try) 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; } &&
19556 { ac_try
='test -s conftest.$ac_objext'
19557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19558 (eval $ac_try) 2>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); }; }; then
19564 cat >conftest.
$ac_ext <<_ACEOF
19567 cat confdefs.h
>>conftest.
$ac_ext
19568 cat >>conftest.
$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19571 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19572 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19573 # error "fake wchar_t"
19575 #ifdef HAVE_WCHAR_H
19577 # include <stddef.h>
19579 # include <wchar.h>
19581 #ifdef HAVE_STDLIB_H
19582 # include <stdlib.h>
19591 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19598 rm -f conftest.
$ac_objext
19599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19600 (eval $ac_compile) 2>conftest.er1
19602 grep -v '^ *+' conftest.er1
>conftest.err
19604 cat conftest.err
>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); } &&
19607 { ac_try
='test -z "$ac_c_werror_flag"
19608 || test ! -s conftest.err'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; } &&
19614 { ac_try
='test -s conftest.$ac_objext'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; }; then
19620 ac_hi
=$ac_mid; break
19622 echo "$as_me: failed program was:" >&5
19623 sed 's/^/| /' conftest.
$ac_ext >&5
19625 ac_lo
=`expr $ac_mid + 1`
19626 if test $ac_lo -le $ac_mid; then
19630 ac_mid
=`expr 2 '*' $ac_mid + 1`
19632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.
$ac_ext >&5
19638 cat >conftest.
$ac_ext <<_ACEOF
19641 cat confdefs.h
>>conftest.
$ac_ext
19642 cat >>conftest.
$ac_ext <<_ACEOF
19643 /* end confdefs.h. */
19645 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19646 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19647 # error "fake wchar_t"
19649 #ifdef HAVE_WCHAR_H
19651 # include <stddef.h>
19653 # include <wchar.h>
19655 #ifdef HAVE_STDLIB_H
19656 # include <stdlib.h>
19665 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19672 rm -f conftest.
$ac_objext
19673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19674 (eval $ac_compile) 2>conftest.er1
19676 grep -v '^ *+' conftest.er1
>conftest.err
19678 cat conftest.err
>&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); } &&
19681 { ac_try
='test -z "$ac_c_werror_flag"
19682 || test ! -s conftest.err'
19683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19684 (eval $ac_try) 2>&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); }; } &&
19688 { ac_try
='test -s conftest.$ac_objext'
19689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690 (eval $ac_try) 2>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; }; then
19696 cat >conftest.
$ac_ext <<_ACEOF
19699 cat confdefs.h
>>conftest.
$ac_ext
19700 cat >>conftest.
$ac_ext <<_ACEOF
19701 /* end confdefs.h. */
19703 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19704 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19705 # error "fake wchar_t"
19707 #ifdef HAVE_WCHAR_H
19709 # include <stddef.h>
19711 # include <wchar.h>
19713 #ifdef HAVE_STDLIB_H
19714 # include <stdlib.h>
19723 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19730 rm -f conftest.
$ac_objext
19731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19732 (eval $ac_compile) 2>conftest.er1
19734 grep -v '^ *+' conftest.er1
>conftest.err
19736 cat conftest.err
>&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); } &&
19739 { ac_try
='test -z "$ac_c_werror_flag"
19740 || test ! -s conftest.err'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; } &&
19746 { ac_try
='test -s conftest.$ac_objext'
19747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19748 (eval $ac_try) 2>&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); }; }; then
19752 ac_lo
=$ac_mid; break
19754 echo "$as_me: failed program was:" >&5
19755 sed 's/^/| /' conftest.
$ac_ext >&5
19757 ac_hi
=`expr '(' $ac_mid ')' - 1`
19758 if test $ac_mid -le $ac_hi; then
19762 ac_mid
=`expr 2 '*' $ac_mid`
19764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19767 echo "$as_me: failed program was:" >&5
19768 sed 's/^/| /' conftest.
$ac_ext >&5
19772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19775 # Binary search between lo and hi bounds.
19776 while test "x$ac_lo" != "x$ac_hi"; do
19777 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19778 cat >conftest.
$ac_ext <<_ACEOF
19781 cat confdefs.h
>>conftest.
$ac_ext
19782 cat >>conftest.
$ac_ext <<_ACEOF
19783 /* end confdefs.h. */
19785 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19786 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19787 # error "fake wchar_t"
19789 #ifdef HAVE_WCHAR_H
19791 # include <stddef.h>
19793 # include <wchar.h>
19795 #ifdef HAVE_STDLIB_H
19796 # include <stdlib.h>
19805 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19812 rm -f conftest.
$ac_objext
19813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19814 (eval $ac_compile) 2>conftest.er1
19816 grep -v '^ *+' conftest.er1
>conftest.err
19818 cat conftest.err
>&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); } &&
19821 { ac_try
='test -z "$ac_c_werror_flag"
19822 || test ! -s conftest.err'
19823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19824 (eval $ac_try) 2>&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); }; } &&
19828 { ac_try
='test -s conftest.$ac_objext'
19829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19830 (eval $ac_try) 2>&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); }; }; then
19836 echo "$as_me: failed program was:" >&5
19837 sed 's/^/| /' conftest.
$ac_ext >&5
19839 ac_lo
=`expr '(' $ac_mid ')' + 1`
19841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19844 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19845 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19846 See \`config.log' for more details." >&5
19847 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19848 See \`config.log' for more details." >&2;}
19849 { (exit 1); exit 1; }; } ;;
19852 if test "$cross_compiling" = yes; then
19853 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19854 See \`config.log' for more details." >&5
19855 echo "$as_me: error: cannot run test program while cross compiling
19856 See \`config.log' for more details." >&2;}
19857 { (exit 1); exit 1; }; }
19859 cat >conftest.
$ac_ext <<_ACEOF
19862 cat confdefs.h
>>conftest.
$ac_ext
19863 cat >>conftest.
$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19866 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19867 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19868 # error "fake wchar_t"
19870 #ifdef HAVE_WCHAR_H
19872 # include <stddef.h>
19874 # include <wchar.h>
19876 #ifdef HAVE_STDLIB_H
19877 # include <stdlib.h>
19883 long longval () { return (long) (sizeof (wchar_t)); }
19884 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19886 #include <stdlib.h>
19891 FILE *f = fopen ("conftest.val", "w");
19894 if (((long) (sizeof (wchar_t))) < 0)
19896 long i = longval ();
19897 if (i != ((long) (sizeof (wchar_t))))
19899 fprintf (f, "%ld\n", i);
19903 unsigned long i = ulongval ();
19904 if (i != ((long) (sizeof (wchar_t))))
19906 fprintf (f, "%lu\n", i);
19908 exit (ferror (f) || fclose (f) != 0);
19914 rm -f conftest
$ac_exeext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19916 (eval $ac_link) 2>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; }; then
19925 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19927 echo "$as_me: program exited with status $ac_status" >&5
19928 echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.
$ac_ext >&5
19931 ( exit $ac_status )
19932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19933 See \`config.log' for more details." >&5
19934 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19935 See \`config.log' for more details." >&2;}
19936 { (exit 1); exit 1; }; }
19938 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19943 ac_cv_sizeof_wchar_t
=0
19946 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19947 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19948 cat >>confdefs.h
<<_ACEOF
19949 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19953 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19959 echo "$as_me:$LINENO: checking for va_copy" >&5
19960 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19961 if test "${wx_cv_func_va_copy+set}" = set; then
19962 echo $ECHO_N "(cached) $ECHO_C" >&6
19965 cat >conftest.
$ac_ext <<_ACEOF
19967 #include <stdarg.h>
19968 void foo(char *f, ...)
19982 rm -f conftest.
$ac_objext conftest
$ac_exeext
19983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19984 (eval $ac_link) 2>conftest.er1
19986 grep -v '^ *+' conftest.er1
>conftest.err
19988 cat conftest.err
>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); } &&
19991 { ac_try
='test -z "$ac_c_werror_flag"
19992 || test ! -s conftest.err'
19993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19994 (eval $ac_try) 2>&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); }; } &&
19998 { ac_try
='test -s conftest$ac_exeext'
19999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20000 (eval $ac_try) 2>&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); }; }; then
20004 wx_cv_func_va_copy
=yes
20006 echo "$as_me: failed program was:" >&5
20007 sed 's/^/| /' conftest.
$ac_ext >&5
20009 wx_cv_func_va_copy
=no
20012 rm -f conftest.err conftest.
$ac_objext \
20013 conftest
$ac_exeext conftest.
$ac_ext
20017 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20018 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20020 if test $wx_cv_func_va_copy = "yes"; then
20021 cat >>confdefs.h
<<\_ACEOF
20022 #define HAVE_VA_COPY 1
20026 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20027 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20028 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20029 echo $ECHO_N "(cached) $ECHO_C" >&6
20032 if test "$cross_compiling" = yes; then
20033 wx_cv_type_va_list_lvalue
=yes
20036 cat >conftest.
$ac_ext <<_ACEOF
20038 #include <stdarg.h>
20039 int foo(char *f, ...)
20044 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20052 return foo("hi", 17);
20055 rm -f conftest
$ac_exeext
20056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20057 (eval $ac_link) 2>&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20062 (eval $ac_try) 2>&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); }; }; then
20066 wx_cv_type_va_list_lvalue
=yes
20068 echo "$as_me: program exited with status $ac_status" >&5
20069 echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.
$ac_ext >&5
20072 ( exit $ac_status )
20073 wx_cv_type_va_list_lvalue
=no
20075 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20080 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20081 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20083 if test $wx_cv_type_va_list_lvalue != "yes"; then
20084 cat >>confdefs.h
<<\_ACEOF
20085 #define VA_LIST_IS_ARRAY 1
20091 # Check whether --enable-largefile or --disable-largefile was given.
20092 if test "${enable_largefile+set}" = set; then
20093 enableval
="$enable_largefile"
20096 if test "$enable_largefile" != no
; then
20099 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20100 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20101 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20105 cat >conftest.
$ac_ext <<_ACEOF
20108 cat confdefs.h
>>conftest.
$ac_ext
20109 cat >>conftest.
$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20111 #define _FILE_OFFSET_BITS 64
20112 #include <sys/types.h>
20117 unsigned int field: sizeof(off_t) == 8;
20124 rm -f conftest.
$ac_objext
20125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20126 (eval $ac_compile) 2>conftest.er1
20128 grep -v '^ *+' conftest.er1
>conftest.err
20130 cat conftest.err
>&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); } &&
20133 { ac_try
='test -z "$ac_c_werror_flag"
20134 || test ! -s conftest.err'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; } &&
20140 { ac_try
='test -s conftest.$ac_objext'
20141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20142 (eval $ac_try) 2>&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); }; }; then
20146 ac_cv_sys_file_offset_bits
=64
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.
$ac_ext >&5
20151 ac_cv_sys_file_offset_bits
=no
20153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20157 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20158 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20160 if test "$ac_cv_sys_file_offset_bits" != no
; then
20162 cat >>confdefs.h
<<_ACEOF
20163 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20168 if test "x$wx_largefile" != "xyes"; then
20170 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20171 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20172 if test "${ac_cv_sys_large_files+set}" = set; then
20173 echo $ECHO_N "(cached) $ECHO_C" >&6
20176 cat >conftest.
$ac_ext <<_ACEOF
20179 cat confdefs.h
>>conftest.
$ac_ext
20180 cat >>conftest.
$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20182 #define _LARGE_FILES 1
20183 #include <sys/types.h>
20188 unsigned int field: sizeof(off_t) == 8;
20195 rm -f conftest.
$ac_objext
20196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20197 (eval $ac_compile) 2>conftest.er1
20199 grep -v '^ *+' conftest.er1
>conftest.err
20201 cat conftest.err
>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } &&
20204 { ac_try
='test -z "$ac_c_werror_flag"
20205 || test ! -s conftest.err'
20206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20207 (eval $ac_try) 2>&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); }; } &&
20211 { ac_try
='test -s conftest.$ac_objext'
20212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20213 (eval $ac_try) 2>&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); }; }; then
20217 ac_cv_sys_large_files
=1
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.
$ac_ext >&5
20222 ac_cv_sys_large_files
=no
20224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20228 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20229 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20231 if test "$ac_cv_sys_large_files" != no
; then
20233 cat >>confdefs.h
<<_ACEOF
20234 #define _LARGE_FILES $ac_cv_sys_large_files
20241 echo "$as_me:$LINENO: checking if large file support is available" >&5
20242 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20243 if test "x$wx_largefile" = "xyes"; then
20244 cat >>confdefs.h
<<\_ACEOF
20245 #define HAVE_LARGEFILE_SUPPORT 1
20249 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20250 echo "${ECHO_T}$wx_largefile" >&6
20254 if test "x$wx_largefile" = "xyes"; then
20255 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20256 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20258 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
20260 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20261 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20262 if test "${ac_cv_sys_largefile_source+set}" = set; then
20263 echo $ECHO_N "(cached) $ECHO_C" >&6
20266 ac_cv_sys_largefile_source
=no
20267 cat >conftest.
$ac_ext <<_ACEOF
20270 cat confdefs.h
>>conftest.
$ac_ext
20271 cat >>conftest.
$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20282 rm -f conftest.
$ac_objext
20283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20284 (eval $ac_compile) 2>conftest.er1
20286 grep -v '^ *+' conftest.er1
>conftest.err
20288 cat conftest.err
>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } &&
20291 { ac_try
='test -z "$ac_c_werror_flag"
20292 || test ! -s conftest.err'
20293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20294 (eval $ac_try) 2>&5
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); }; } &&
20298 { ac_try
='test -s conftest.$ac_objext'
20299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20300 (eval $ac_try) 2>&5
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); }; }; then
20306 echo "$as_me: failed program was:" >&5
20307 sed 's/^/| /' conftest.
$ac_ext >&5
20310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20311 cat >conftest.
$ac_ext <<_ACEOF
20314 cat confdefs.h
>>conftest.
$ac_ext
20315 cat >>conftest.
$ac_ext <<_ACEOF
20316 /* end confdefs.h. */
20317 #define _LARGEFILE_SOURCE 1
20327 rm -f conftest.
$ac_objext
20328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20329 (eval $ac_compile) 2>conftest.er1
20331 grep -v '^ *+' conftest.er1
>conftest.err
20333 cat conftest.err
>&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); } &&
20336 { ac_try
='test -z "$ac_c_werror_flag"
20337 || test ! -s conftest.err'
20338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20339 (eval $ac_try) 2>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); }; } &&
20343 { ac_try
='test -s conftest.$ac_objext'
20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20345 (eval $ac_try) 2>&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; }; then
20349 ac_cv_sys_largefile_source
=1; break
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.
$ac_ext >&5
20355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20359 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20360 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20361 if test "$ac_cv_sys_largefile_source" != no
; then
20363 cat >>confdefs.h
<<_ACEOF
20364 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20370 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20371 # in glibc 2.1.3, but that breaks too many other things.
20372 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20373 echo "$as_me:$LINENO: checking for fseeko" >&5
20374 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20375 if test "${ac_cv_func_fseeko+set}" = set; then
20376 echo $ECHO_N "(cached) $ECHO_C" >&6
20378 cat >conftest.
$ac_ext <<_ACEOF
20381 cat confdefs.h
>>conftest.
$ac_ext
20382 cat >>conftest.
$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20388 return fseeko && fseeko (stdin, 0, 0);
20393 rm -f conftest.
$ac_objext conftest
$ac_exeext
20394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20395 (eval $ac_link) 2>conftest.er1
20397 grep -v '^ *+' conftest.er1
>conftest.err
20399 cat conftest.err
>&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } &&
20402 { ac_try
='test -z "$ac_c_werror_flag"
20403 || test ! -s conftest.err'
20404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20405 (eval $ac_try) 2>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; } &&
20409 { ac_try
='test -s conftest$ac_exeext'
20410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20411 (eval $ac_try) 2>&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); }; }; then
20415 ac_cv_func_fseeko
=yes
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.
$ac_ext >&5
20420 ac_cv_func_fseeko
=no
20422 rm -f conftest.err conftest.
$ac_objext \
20423 conftest
$ac_exeext conftest.
$ac_ext
20425 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20426 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20427 if test $ac_cv_func_fseeko = yes; then
20429 cat >>confdefs.h
<<\_ACEOF
20430 #define HAVE_FSEEKO 1
20435 if test "$ac_cv_sys_largefile_source" != no
; then
20436 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20438 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20441 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20442 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20443 if test "${ac_cv_c_bigendian+set}" = set; then
20444 echo $ECHO_N "(cached) $ECHO_C" >&6
20446 ac_cv_c_bigendian
=unknown
20447 # See if sys/param.h defines the BYTE_ORDER macro.
20448 cat >conftest.
$ac_ext <<_ACEOF
20451 cat confdefs.h
>>conftest.
$ac_ext
20452 cat >>conftest.
$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20454 #include <sys/types.h>
20455 #include <sys/param.h>
20460 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20461 bogus endian macros
20467 rm -f conftest.
$ac_objext
20468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&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 { ac_try
='test -z "$ac_c_werror_flag"
20477 || test ! -s conftest.err'
20478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20479 (eval $ac_try) 2>&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); }; } &&
20483 { ac_try
='test -s conftest.$ac_objext'
20484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485 (eval $ac_try) 2>&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; }; then
20489 # It does; now see whether it defined to BIG_ENDIAN or not.
20490 cat >conftest.
$ac_ext <<_ACEOF
20493 cat confdefs.h
>>conftest.
$ac_ext
20494 cat >>conftest.
$ac_ext <<_ACEOF
20495 /* end confdefs.h. */
20496 #include <sys/types.h>
20497 #include <sys/param.h>
20502 #if BYTE_ORDER != BIG_ENDIAN
20509 rm -f conftest.
$ac_objext
20510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20511 (eval $ac_compile) 2>conftest.er1
20513 grep -v '^ *+' conftest.er1
>conftest.err
20515 cat conftest.err
>&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); } &&
20518 { ac_try
='test -z "$ac_c_werror_flag"
20519 || test ! -s conftest.err'
20520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20521 (eval $ac_try) 2>&5
20523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 (exit $ac_status); }; } &&
20525 { ac_try
='test -s conftest.$ac_objext'
20526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20527 (eval $ac_try) 2>&5
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); }; }; then
20531 ac_cv_c_bigendian
=yes
20533 echo "$as_me: failed program was:" >&5
20534 sed 's/^/| /' conftest.
$ac_ext >&5
20536 ac_cv_c_bigendian
=no
20538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20540 echo "$as_me: failed program was:" >&5
20541 sed 's/^/| /' conftest.
$ac_ext >&5
20544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20545 if test $ac_cv_c_bigendian = unknown
; then
20546 if test "$cross_compiling" = yes; then
20547 ac_cv_c_bigendian
=unknown
20549 cat >conftest.
$ac_ext <<_ACEOF
20552 cat confdefs.h
>>conftest.
$ac_ext
20553 cat >>conftest.
$ac_ext <<_ACEOF
20554 /* end confdefs.h. */
20556 /* Are we little or big endian? From Harbison&Steele. */
20560 char c[sizeof (long)];
20563 exit (u.c[sizeof (long) - 1] == 1);
20566 rm -f conftest
$ac_exeext
20567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20568 (eval $ac_link) 2>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20573 (eval $ac_try) 2>&5
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576 (exit $ac_status); }; }; then
20577 ac_cv_c_bigendian
=no
20579 echo "$as_me: program exited with status $ac_status" >&5
20580 echo "$as_me: failed program was:" >&5
20581 sed 's/^/| /' conftest.
$ac_ext >&5
20583 ( exit $ac_status )
20584 ac_cv_c_bigendian
=yes
20586 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20590 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20591 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20592 if test $ac_cv_c_bigendian = unknown
; then
20593 { 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
20594 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;}
20596 if test $ac_cv_c_bigendian = yes; then
20597 cat >>confdefs.h
<<\_ACEOF
20598 #define WORDS_BIGENDIAN 1
20605 ac_cpp
='$CXXCPP $CPPFLAGS'
20606 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20607 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20608 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20609 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20610 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20611 if test -z "$CXXCPP"; then
20612 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20613 echo $ECHO_N "(cached) $ECHO_C" >&6
20615 # Double quotes because CXXCPP needs to be expanded
20616 for CXXCPP
in "$CXX -E" "/lib/cpp"
20618 ac_preproc_ok
=false
20619 for ac_cxx_preproc_warn_flag
in '' yes
20621 # Use a header file that comes with gcc, so configuring glibc
20622 # with a fresh cross-compiler works.
20623 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20624 # <limits.h> exists even on freestanding compilers.
20625 # On the NeXT, cc -E runs the code through the compiler's parser,
20626 # not just through cpp. "Syntax error" is here to catch this case.
20627 cat >conftest.
$ac_ext <<_ACEOF
20630 cat confdefs.h
>>conftest.
$ac_ext
20631 cat >>conftest.
$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20634 # include <limits.h>
20636 # include <assert.h>
20640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20643 grep -v '^ *+' conftest.er1
>conftest.err
20645 cat conftest.err
>&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } >/dev
/null
; then
20648 if test -s conftest.err
; then
20649 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20650 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20657 if test -z "$ac_cpp_err"; then
20660 echo "$as_me: failed program was:" >&5
20661 sed 's/^/| /' conftest.
$ac_ext >&5
20663 # Broken: fails on valid input.
20666 rm -f conftest.err conftest.
$ac_ext
20668 # OK, works on sane cases. Now check whether non-existent headers
20669 # can be detected and how.
20670 cat >conftest.
$ac_ext <<_ACEOF
20673 cat confdefs.h
>>conftest.
$ac_ext
20674 cat >>conftest.
$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20676 #include <ac_nonexistent.h>
20678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20679 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20681 grep -v '^ *+' conftest.er1
>conftest.err
20683 cat conftest.err
>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } >/dev
/null
; then
20686 if test -s conftest.err
; then
20687 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20688 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20695 if test -z "$ac_cpp_err"; then
20696 # Broken: success on invalid input.
20699 echo "$as_me: failed program was:" >&5
20700 sed 's/^/| /' conftest.
$ac_ext >&5
20702 # Passes both tests.
20706 rm -f conftest.err conftest.
$ac_ext
20709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20710 rm -f conftest.err conftest.
$ac_ext
20711 if $ac_preproc_ok; then
20716 ac_cv_prog_CXXCPP
=$CXXCPP
20719 CXXCPP
=$ac_cv_prog_CXXCPP
20721 ac_cv_prog_CXXCPP
=$CXXCPP
20723 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20724 echo "${ECHO_T}$CXXCPP" >&6
20725 ac_preproc_ok
=false
20726 for ac_cxx_preproc_warn_flag
in '' yes
20728 # Use a header file that comes with gcc, so configuring glibc
20729 # with a fresh cross-compiler works.
20730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20731 # <limits.h> exists even on freestanding compilers.
20732 # On the NeXT, cc -E runs the code through the compiler's parser,
20733 # not just through cpp. "Syntax error" is here to catch this case.
20734 cat >conftest.
$ac_ext <<_ACEOF
20737 cat confdefs.h
>>conftest.
$ac_ext
20738 cat >>conftest.
$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20741 # include <limits.h>
20743 # include <assert.h>
20747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20748 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20750 grep -v '^ *+' conftest.er1
>conftest.err
20752 cat conftest.err
>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } >/dev
/null
; then
20755 if test -s conftest.err
; then
20756 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20757 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20764 if test -z "$ac_cpp_err"; then
20767 echo "$as_me: failed program was:" >&5
20768 sed 's/^/| /' conftest.
$ac_ext >&5
20770 # Broken: fails on valid input.
20773 rm -f conftest.err conftest.
$ac_ext
20775 # OK, works on sane cases. Now check whether non-existent headers
20776 # can be detected and how.
20777 cat >conftest.
$ac_ext <<_ACEOF
20780 cat confdefs.h
>>conftest.
$ac_ext
20781 cat >>conftest.
$ac_ext <<_ACEOF
20782 /* end confdefs.h. */
20783 #include <ac_nonexistent.h>
20785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20786 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20788 grep -v '^ *+' conftest.er1
>conftest.err
20790 cat conftest.err
>&5
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); } >/dev
/null
; then
20793 if test -s conftest.err
; then
20794 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20795 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20802 if test -z "$ac_cpp_err"; then
20803 # Broken: success on invalid input.
20806 echo "$as_me: failed program was:" >&5
20807 sed 's/^/| /' conftest.
$ac_ext >&5
20809 # Passes both tests.
20813 rm -f conftest.err conftest.
$ac_ext
20816 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20817 rm -f conftest.err conftest.
$ac_ext
20818 if $ac_preproc_ok; then
20821 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20822 See \`config.log' for more details." >&5
20823 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20824 See \`config.log' for more details." >&2;}
20825 { (exit 1); exit 1; }; }
20829 ac_cpp
='$CXXCPP $CPPFLAGS'
20830 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20831 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20832 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20839 ac_cpp
='$CXXCPP $CPPFLAGS'
20840 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20841 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20842 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20846 for ac_header
in iostream
20848 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20850 echo "$as_me:$LINENO: checking for $ac_header" >&5
20851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20858 # Is the header compilable?
20859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20861 cat >conftest.
$ac_ext <<_ACEOF
20864 cat confdefs.h
>>conftest.
$ac_ext
20865 cat >>conftest.
$ac_ext <<_ACEOF
20866 /* end confdefs.h. */
20867 $ac_includes_default
20868 #include <$ac_header>
20870 rm -f conftest.
$ac_objext
20871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20872 (eval $ac_compile) 2>conftest.er1
20874 grep -v '^ *+' conftest.er1
>conftest.err
20876 cat conftest.err
>&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } &&
20879 { ac_try
='test -z "$ac_cxx_werror_flag"
20880 || test ! -s conftest.err'
20881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20882 (eval $ac_try) 2>&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); }; } &&
20886 { ac_try
='test -s conftest.$ac_objext'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; }; then
20892 ac_header_compiler
=yes
20894 echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.
$ac_ext >&5
20897 ac_header_compiler
=no
20899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20901 echo "${ECHO_T}$ac_header_compiler" >&6
20903 # Is the header present?
20904 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20906 cat >conftest.
$ac_ext <<_ACEOF
20909 cat confdefs.h
>>conftest.
$ac_ext
20910 cat >>conftest.
$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912 #include <$ac_header>
20914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20915 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20917 grep -v '^ *+' conftest.er1
>conftest.err
20919 cat conftest.err
>&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } >/dev
/null
; then
20922 if test -s conftest.err
; then
20923 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20924 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20931 if test -z "$ac_cpp_err"; then
20932 ac_header_preproc
=yes
20934 echo "$as_me: failed program was:" >&5
20935 sed 's/^/| /' conftest.
$ac_ext >&5
20937 ac_header_preproc
=no
20939 rm -f conftest.err conftest.
$ac_ext
20940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20941 echo "${ECHO_T}$ac_header_preproc" >&6
20943 # So? What about this header?
20944 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20950 ac_header_preproc
=yes
20953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20967 ## ----------------------------------------- ##
20968 ## Report this to wx-dev@lists.wxwidgets.org ##
20969 ## ----------------------------------------- ##
20972 sed "s/^/$as_me: WARNING: /" >&2
20975 echo "$as_me:$LINENO: checking for $ac_header" >&5
20976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20978 echo $ECHO_N "(cached) $ECHO_C" >&6
20980 eval "$as_ac_Header=\$ac_header_preproc"
20982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20987 cat >>confdefs.h
<<_ACEOF
20988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20996 if test "$ac_cv_header_iostream" = "yes" ; then
20999 cat >>confdefs.h
<<\_ACEOF
21000 #define wxUSE_IOSTREAMH 1
21006 ac_cpp
='$CPP $CPPFLAGS'
21007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21014 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21015 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21016 if test "${wx_cv_cpp_bool+set}" = set; then
21017 echo $ECHO_N "(cached) $ECHO_C" >&6
21023 ac_cpp
='$CXXCPP $CPPFLAGS'
21024 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21025 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21026 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21029 cat >conftest.
$ac_ext <<_ACEOF
21032 cat confdefs.h
>>conftest.
$ac_ext
21033 cat >>conftest.
$ac_ext <<_ACEOF
21034 /* end confdefs.h. */
21049 rm -f conftest.
$ac_objext
21050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21051 (eval $ac_compile) 2>conftest.er1
21053 grep -v '^ *+' conftest.er1
>conftest.err
21055 cat conftest.err
>&5
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); } &&
21058 { ac_try
='test -z "$ac_cxx_werror_flag"
21059 || test ! -s conftest.err'
21060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21061 (eval $ac_try) 2>&5
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); }; } &&
21065 { ac_try
='test -s conftest.$ac_objext'
21066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21067 (eval $ac_try) 2>&5
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); }; }; then
21075 echo "$as_me: failed program was:" >&5
21076 sed 's/^/| /' conftest.
$ac_ext >&5
21083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21086 ac_cpp
='$CPP $CPPFLAGS'
21087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21093 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
21094 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21096 if test "$wx_cv_cpp_bool" = "yes"; then
21097 cat >>confdefs.h
<<\_ACEOF
21098 #define HAVE_BOOL 1
21105 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21106 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21107 if test "${wx_cv_explicit+set}" = set; then
21108 echo $ECHO_N "(cached) $ECHO_C" >&6
21114 ac_cpp
='$CXXCPP $CPPFLAGS'
21115 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21116 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21117 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21120 cat >conftest.
$ac_ext <<_ACEOF
21123 cat confdefs.h
>>conftest.
$ac_ext
21124 cat >>conftest.
$ac_ext <<_ACEOF
21125 /* end confdefs.h. */
21127 class Foo { public: explicit Foo(int) {} };
21139 rm -f conftest.
$ac_objext
21140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21141 (eval $ac_compile) 2>conftest.er1
21143 grep -v '^ *+' conftest.er1
>conftest.err
21145 cat conftest.err
>&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); } &&
21148 { ac_try
='test -z "$ac_cxx_werror_flag"
21149 || test ! -s conftest.err'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; } &&
21155 { ac_try
='test -s conftest.$ac_objext'
21156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21157 (eval $ac_try) 2>&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); }; }; then
21162 cat >conftest.
$ac_ext <<_ACEOF
21165 cat confdefs.h
>>conftest.
$ac_ext
21166 cat >>conftest.
$ac_ext <<_ACEOF
21167 /* end confdefs.h. */
21169 class Foo { public: explicit Foo(int) {} };
21170 static void TakeFoo(const Foo& foo) { }
21183 rm -f conftest.
$ac_objext
21184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21185 (eval $ac_compile) 2>conftest.er1
21187 grep -v '^ *+' conftest.er1
>conftest.err
21189 cat conftest.err
>&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } &&
21192 { ac_try
='test -z "$ac_cxx_werror_flag"
21193 || test ! -s conftest.err'
21194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21195 (eval $ac_try) 2>&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); }; } &&
21199 { ac_try
='test -s conftest.$ac_objext'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; }; then
21207 echo "$as_me: failed program was:" >&5
21208 sed 's/^/| /' conftest.
$ac_ext >&5
21213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.
$ac_ext >&5
21222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21225 ac_cpp
='$CPP $CPPFLAGS'
21226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21232 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21233 echo "${ECHO_T}$wx_cv_explicit" >&6
21235 if test "$wx_cv_explicit" = "yes"; then
21236 cat >>confdefs.h
<<\_ACEOF
21237 #define HAVE_EXPLICIT 1
21243 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21244 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21245 if test "${ac_cv_cxx_const_cast+set}" = set; then
21246 echo $ECHO_N "(cached) $ECHO_C" >&6
21251 ac_cpp
='$CXXCPP $CPPFLAGS'
21252 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21256 cat >conftest.
$ac_ext <<_ACEOF
21259 cat confdefs.h
>>conftest.
$ac_ext
21260 cat >>conftest.
$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21266 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21271 rm -f conftest.
$ac_objext
21272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21273 (eval $ac_compile) 2>conftest.er1
21275 grep -v '^ *+' conftest.er1
>conftest.err
21277 cat conftest.err
>&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); } &&
21280 { ac_try
='test -z "$ac_cxx_werror_flag"
21281 || test ! -s conftest.err'
21282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21283 (eval $ac_try) 2>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); }; } &&
21287 { ac_try
='test -s conftest.$ac_objext'
21288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21289 (eval $ac_try) 2>&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); }; }; then
21293 ac_cv_cxx_const_cast
=yes
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.
$ac_ext >&5
21298 ac_cv_cxx_const_cast
=no
21300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21302 ac_cpp
='$CPP $CPPFLAGS'
21303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21309 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21310 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21311 if test "$ac_cv_cxx_const_cast" = yes; then
21313 cat >>confdefs.h
<<\_ACEOF
21314 #define HAVE_CONST_CAST
21319 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21320 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21321 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21322 echo $ECHO_N "(cached) $ECHO_C" >&6
21327 ac_cpp
='$CXXCPP $CPPFLAGS'
21328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21332 cat >conftest.
$ac_ext <<_ACEOF
21335 cat confdefs.h
>>conftest.
$ac_ext
21336 cat >>conftest.
$ac_ext <<_ACEOF
21337 /* end confdefs.h. */
21338 #include <typeinfo>
21339 class Base { public : Base () {} virtual void f () = 0;};
21340 class Derived : public Base { public : Derived () {} virtual void f () {} };
21341 class Unrelated { public : Unrelated () {} };
21342 int g (Unrelated&) { return 0; }
21347 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21352 rm -f conftest.
$ac_objext
21353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21354 (eval $ac_compile) 2>conftest.er1
21356 grep -v '^ *+' conftest.er1
>conftest.err
21358 cat conftest.err
>&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); } &&
21361 { ac_try
='test -z "$ac_cxx_werror_flag"
21362 || test ! -s conftest.err'
21363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21364 (eval $ac_try) 2>&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); }; } &&
21368 { ac_try
='test -s conftest.$ac_objext'
21369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21370 (eval $ac_try) 2>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; }; then
21374 ac_cv_cxx_reinterpret_cast
=yes
21376 echo "$as_me: failed program was:" >&5
21377 sed 's/^/| /' conftest.
$ac_ext >&5
21379 ac_cv_cxx_reinterpret_cast
=no
21381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21383 ac_cpp
='$CPP $CPPFLAGS'
21384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21390 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21391 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21392 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21394 cat >>confdefs.h
<<\_ACEOF
21395 #define HAVE_REINTERPRET_CAST
21400 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21401 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21402 if test "${ac_cv_cxx_static_cast+set}" = set; then
21403 echo $ECHO_N "(cached) $ECHO_C" >&6
21408 ac_cpp
='$CXXCPP $CPPFLAGS'
21409 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21410 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21411 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21413 cat >conftest.
$ac_ext <<_ACEOF
21416 cat confdefs.h
>>conftest.
$ac_ext
21417 cat >>conftest.
$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21419 #include <typeinfo>
21420 class Base { public : Base () {} virtual void f () = 0; };
21421 class Derived : public Base { public : Derived () {} virtual void f () {} };
21422 int g (Derived&) { return 0; }
21427 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21432 rm -f conftest.
$ac_objext
21433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21434 (eval $ac_compile) 2>conftest.er1
21436 grep -v '^ *+' conftest.er1
>conftest.err
21438 cat conftest.err
>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); } &&
21441 { ac_try
='test -z "$ac_cxx_werror_flag"
21442 || test ! -s conftest.err'
21443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21444 (eval $ac_try) 2>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; } &&
21448 { ac_try
='test -s conftest.$ac_objext'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; }; then
21454 ac_cv_cxx_static_cast
=yes
21456 echo "$as_me: failed program was:" >&5
21457 sed 's/^/| /' conftest.
$ac_ext >&5
21459 ac_cv_cxx_static_cast
=no
21461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21463 ac_cpp
='$CPP $CPPFLAGS'
21464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21470 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21471 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21472 if test "$ac_cv_cxx_static_cast" = yes; then
21474 cat >>confdefs.h
<<\_ACEOF
21475 #define HAVE_STATIC_CAST
21481 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21483 ac_cpp
='$CXXCPP $CPPFLAGS'
21484 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21485 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21486 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21489 if test "$wxUSE_UNICODE" = "yes"; then
21490 std_string
="std::wstring"
21491 char_type
="wchar_t"
21493 std_string
="std::string"
21497 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21498 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21499 cat >conftest.
$ac_ext <<_ACEOF
21502 cat confdefs.h
>>conftest.
$ac_ext
21503 cat >>conftest.
$ac_ext <<_ACEOF
21504 /* end confdefs.h. */
21514 rm -f conftest.
$ac_objext
21515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21516 (eval $ac_compile) 2>conftest.er1
21518 grep -v '^ *+' conftest.er1
>conftest.err
21520 cat conftest.err
>&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); } &&
21523 { ac_try
='test -z "$ac_cxx_werror_flag"
21524 || test ! -s conftest.err'
21525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21526 (eval $ac_try) 2>&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); }; } &&
21530 { ac_try
='test -s conftest.$ac_objext'
21531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21532 (eval $ac_try) 2>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; }; then
21536 echo "$as_me:$LINENO: result: yes" >&5
21537 echo "${ECHO_T}yes" >&6
21538 cat >>confdefs.h
<<\_ACEOF
21539 #define HAVE_STD_WSTRING 1
21543 echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.
$ac_ext >&5
21546 echo "$as_me:$LINENO: result: no" >&5
21547 echo "${ECHO_T}no" >&6
21548 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21549 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21550 cat >conftest.
$ac_ext <<_ACEOF
21553 cat confdefs.h
>>conftest.
$ac_ext
21554 cat >>conftest.
$ac_ext <<_ACEOF
21555 /* end confdefs.h. */
21557 #ifdef HAVE_WCHAR_H
21559 # include <stddef.h>
21561 # include <wchar.h>
21563 #ifdef HAVE_STDLIB_H
21564 # include <stdlib.h>
21572 std::basic_string<$char_type> foo;
21573 const $char_type* dummy = foo.c_str();
21578 rm -f conftest.
$ac_objext
21579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21580 (eval $ac_compile) 2>conftest.er1
21582 grep -v '^ *+' conftest.er1
>conftest.err
21584 cat conftest.err
>&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } &&
21587 { ac_try
='test -z "$ac_cxx_werror_flag"
21588 || test ! -s conftest.err'
21589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21590 (eval $ac_try) 2>&5
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); }; } &&
21594 { ac_try
='test -s conftest.$ac_objext'
21595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21596 (eval $ac_try) 2>&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); }; }; then
21600 echo "$as_me:$LINENO: result: yes" >&5
21601 echo "${ECHO_T}yes" >&6
21603 echo "$as_me: failed program was:" >&5
21604 sed 's/^/| /' conftest.
$ac_ext >&5
21606 echo "$as_me:$LINENO: result: no" >&5
21607 echo "${ECHO_T}no" >&6
21608 if test "$wxUSE_STL" = "yes"; then
21609 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21610 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21611 { (exit 1); exit 1; }; }
21612 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
21613 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21614 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21615 { (exit 1); exit 1; }; }
21617 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21618 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21619 wxUSE_STD_STRING
=no
21624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21630 ac_cpp
='$CPP $CPPFLAGS'
21631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21637 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21639 ac_cpp
='$CXXCPP $CPPFLAGS'
21640 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21645 echo "$as_me:$LINENO: checking for std::istream" >&5
21646 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21647 if test "${ac_cv_type_std__istream+set}" = set; then
21648 echo $ECHO_N "(cached) $ECHO_C" >&6
21650 cat >conftest.
$ac_ext <<_ACEOF
21653 cat confdefs.h
>>conftest.
$ac_ext
21654 cat >>conftest.
$ac_ext <<_ACEOF
21655 /* end confdefs.h. */
21656 #include <iostream>
21661 if ((std::istream *) 0)
21663 if (sizeof (std::istream))
21669 rm -f conftest.
$ac_objext
21670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21671 (eval $ac_compile) 2>conftest.er1
21673 grep -v '^ *+' conftest.er1
>conftest.err
21675 cat conftest.err
>&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); } &&
21678 { ac_try
='test -z "$ac_cxx_werror_flag"
21679 || test ! -s conftest.err'
21680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21681 (eval $ac_try) 2>&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); }; } &&
21685 { ac_try
='test -s conftest.$ac_objext'
21686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687 (eval $ac_try) 2>&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); }; }; then
21691 ac_cv_type_std__istream
=yes
21693 echo "$as_me: failed program was:" >&5
21694 sed 's/^/| /' conftest.
$ac_ext >&5
21696 ac_cv_type_std__istream
=no
21698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21700 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21701 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21702 if test $ac_cv_type_std__istream = yes; then
21704 cat >>confdefs.h
<<_ACEOF
21705 #define HAVE_STD__ISTREAM 1
21710 wxUSE_STD_IOSTREAM
=no
21712 echo "$as_me:$LINENO: checking for std::ostream" >&5
21713 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21714 if test "${ac_cv_type_std__ostream+set}" = set; then
21715 echo $ECHO_N "(cached) $ECHO_C" >&6
21717 cat >conftest.
$ac_ext <<_ACEOF
21720 cat confdefs.h
>>conftest.
$ac_ext
21721 cat >>conftest.
$ac_ext <<_ACEOF
21722 /* end confdefs.h. */
21723 #include <iostream>
21728 if ((std::ostream *) 0)
21730 if (sizeof (std::ostream))
21736 rm -f conftest.
$ac_objext
21737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21738 (eval $ac_compile) 2>conftest.er1
21740 grep -v '^ *+' conftest.er1
>conftest.err
21742 cat conftest.err
>&5
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); } &&
21745 { ac_try
='test -z "$ac_cxx_werror_flag"
21746 || test ! -s conftest.err'
21747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21748 (eval $ac_try) 2>&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); }; } &&
21752 { ac_try
='test -s conftest.$ac_objext'
21753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21754 (eval $ac_try) 2>&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); }; }; then
21758 ac_cv_type_std__ostream
=yes
21760 echo "$as_me: failed program was:" >&5
21761 sed 's/^/| /' conftest.
$ac_ext >&5
21763 ac_cv_type_std__ostream
=no
21765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21767 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21768 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21769 if test $ac_cv_type_std__ostream = yes; then
21771 cat >>confdefs.h
<<_ACEOF
21772 #define HAVE_STD__OSTREAM 1
21777 wxUSE_STD_IOSTREAM
=no
21781 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21782 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
21783 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21784 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21785 { (exit 1); exit 1; }; }
21787 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21788 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21793 ac_cpp
='$CPP $CPPFLAGS'
21794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21800 if test "$wxUSE_STL" = "yes"; then
21802 ac_cpp
='$CXXCPP $CPPFLAGS'
21803 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21804 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21805 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21808 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21809 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21810 cat >conftest.
$ac_ext <<_ACEOF
21813 cat confdefs.h
>>conftest.
$ac_ext
21814 cat >>conftest.
$ac_ext <<_ACEOF
21815 /* end confdefs.h. */
21817 #include <functional>
21818 #include <algorithm>
21824 std::vector<int> moo;
21825 std::list<int> foo;
21826 std::vector<int>::iterator it =
21827 std::find_if(moo.begin(), moo.end(),
21828 std::bind2nd(std::less<int>(), 3));
21833 rm -f conftest.
$ac_objext
21834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21835 (eval $ac_compile) 2>conftest.er1
21837 grep -v '^ *+' conftest.er1
>conftest.err
21839 cat conftest.err
>&5
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); } &&
21842 { ac_try
='test -z "$ac_cxx_werror_flag"
21843 || test ! -s conftest.err'
21844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21845 (eval $ac_try) 2>&5
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); }; } &&
21849 { ac_try
='test -s conftest.$ac_objext'
21850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21851 (eval $ac_try) 2>&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); }; }; then
21855 echo "$as_me:$LINENO: result: yes" >&5
21856 echo "${ECHO_T}yes" >&6
21858 echo "$as_me: failed program was:" >&5
21859 sed 's/^/| /' conftest.
$ac_ext >&5
21861 echo "$as_me:$LINENO: result: no" >&5
21862 echo "${ECHO_T}no" >&6
21863 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21864 echo "$as_me: error: Basic STL functionality missing" >&2;}
21865 { (exit 1); exit 1; }; }
21867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21869 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21870 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21871 cat >conftest.
$ac_ext <<_ACEOF
21874 cat confdefs.h
>>conftest.
$ac_ext
21875 cat >>conftest.
$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21881 std::string foo, bar;
21883 foo.compare(1, 1, bar);
21884 foo.compare(1, 1, bar, 1, 1);
21886 foo.compare(1, 1, "");
21887 foo.compare(1, 1, "", 2);
21892 rm -f conftest.
$ac_objext
21893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21894 (eval $ac_compile) 2>conftest.er1
21896 grep -v '^ *+' conftest.er1
>conftest.err
21898 cat conftest.err
>&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); } &&
21901 { ac_try
='test -z "$ac_cxx_werror_flag"
21902 || test ! -s conftest.err'
21903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21904 (eval $ac_try) 2>&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); }; } &&
21908 { ac_try
='test -s conftest.$ac_objext'
21909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21910 (eval $ac_try) 2>&5
21912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913 (exit $ac_status); }; }; then
21914 echo "$as_me:$LINENO: result: yes" >&5
21915 echo "${ECHO_T}yes" >&6
21916 cat >>confdefs.h
<<\_ACEOF
21917 #define HAVE_STD_STRING_COMPARE 1
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.
$ac_ext >&5
21924 echo "$as_me:$LINENO: result: no" >&5
21925 echo "${ECHO_T}no" >&6
21927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21929 if test "${ac_cv_header_hash_map+set}" = set; then
21930 echo "$as_me:$LINENO: checking for hash_map" >&5
21931 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21932 if test "${ac_cv_header_hash_map+set}" = set; then
21933 echo $ECHO_N "(cached) $ECHO_C" >&6
21935 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21936 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21938 # Is the header compilable?
21939 echo "$as_me:$LINENO: checking hash_map usability" >&5
21940 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21941 cat >conftest.
$ac_ext <<_ACEOF
21944 cat confdefs.h
>>conftest.
$ac_ext
21945 cat >>conftest.
$ac_ext <<_ACEOF
21946 /* end confdefs.h. */
21947 $ac_includes_default
21948 #include <hash_map>
21950 rm -f conftest.
$ac_objext
21951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21952 (eval $ac_compile) 2>conftest.er1
21954 grep -v '^ *+' conftest.er1
>conftest.err
21956 cat conftest.err
>&5
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); } &&
21959 { ac_try
='test -z "$ac_cxx_werror_flag"
21960 || test ! -s conftest.err'
21961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21962 (eval $ac_try) 2>&5
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); }; } &&
21966 { ac_try
='test -s conftest.$ac_objext'
21967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21968 (eval $ac_try) 2>&5
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); }; }; then
21972 ac_header_compiler
=yes
21974 echo "$as_me: failed program was:" >&5
21975 sed 's/^/| /' conftest.
$ac_ext >&5
21977 ac_header_compiler
=no
21979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21981 echo "${ECHO_T}$ac_header_compiler" >&6
21983 # Is the header present?
21984 echo "$as_me:$LINENO: checking hash_map presence" >&5
21985 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21986 cat >conftest.
$ac_ext <<_ACEOF
21989 cat confdefs.h
>>conftest.
$ac_ext
21990 cat >>conftest.
$ac_ext <<_ACEOF
21991 /* end confdefs.h. */
21992 #include <hash_map>
21994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21997 grep -v '^ *+' conftest.er1
>conftest.err
21999 cat conftest.err
>&5
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); } >/dev
/null
; then
22002 if test -s conftest.err
; then
22003 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22004 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22011 if test -z "$ac_cpp_err"; then
22012 ac_header_preproc
=yes
22014 echo "$as_me: failed program was:" >&5
22015 sed 's/^/| /' conftest.
$ac_ext >&5
22017 ac_header_preproc
=no
22019 rm -f conftest.err conftest.
$ac_ext
22020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22021 echo "${ECHO_T}$ac_header_preproc" >&6
22023 # So? What about this header?
22024 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22026 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22027 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22028 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22029 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22030 ac_header_preproc
=yes
22033 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22034 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22035 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22036 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22037 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22038 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22039 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22040 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22041 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22042 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22043 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22044 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22047 ## ----------------------------------------- ##
22048 ## Report this to wx-dev@lists.wxwidgets.org ##
22049 ## ----------------------------------------- ##
22052 sed "s/^/$as_me: WARNING: /" >&2
22055 echo "$as_me:$LINENO: checking for hash_map" >&5
22056 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22057 if test "${ac_cv_header_hash_map+set}" = set; then
22058 echo $ECHO_N "(cached) $ECHO_C" >&6
22060 ac_cv_header_hash_map
=$ac_header_preproc
22062 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22063 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22066 if test $ac_cv_header_hash_map = yes; then
22067 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22068 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22069 cat >conftest.
$ac_ext <<_ACEOF
22072 cat confdefs.h
>>conftest.
$ac_ext
22073 cat >>conftest.
$ac_ext <<_ACEOF
22074 /* end confdefs.h. */
22075 #include <hash_map>
22076 #include <hash_set>
22080 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22081 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22086 rm -f conftest.
$ac_objext
22087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22088 (eval $ac_compile) 2>conftest.er1
22090 grep -v '^ *+' conftest.er1
>conftest.err
22092 cat conftest.err
>&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); } &&
22095 { ac_try
='test -z "$ac_cxx_werror_flag"
22096 || test ! -s conftest.err'
22097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22098 (eval $ac_try) 2>&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); }; } &&
22102 { ac_try
='test -s conftest.$ac_objext'
22103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22104 (eval $ac_try) 2>&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); }; }; then
22108 echo "$as_me:$LINENO: result: yes" >&5
22109 echo "${ECHO_T}yes" >&6
22110 cat >>confdefs.h
<<\_ACEOF
22111 #define HAVE_HASH_MAP 1
22114 cat >>confdefs.h
<<\_ACEOF
22115 #define HAVE_STD_HASH_MAP 1
22119 echo "$as_me: failed program was:" >&5
22120 sed 's/^/| /' conftest.
$ac_ext >&5
22122 echo "$as_me:$LINENO: result: no" >&5
22123 echo "${ECHO_T}no" >&6
22125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22131 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22132 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22133 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22134 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22135 echo $ECHO_N "(cached) $ECHO_C" >&6
22137 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22138 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22140 # Is the header compilable?
22141 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
22142 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
22143 cat >conftest.
$ac_ext <<_ACEOF
22146 cat confdefs.h
>>conftest.
$ac_ext
22147 cat >>conftest.
$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22149 $ac_includes_default
22150 #include <ext/hash_map>
22152 rm -f conftest.
$ac_objext
22153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22154 (eval $ac_compile) 2>conftest.er1
22156 grep -v '^ *+' conftest.er1
>conftest.err
22158 cat conftest.err
>&5
22159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160 (exit $ac_status); } &&
22161 { ac_try
='test -z "$ac_cxx_werror_flag"
22162 || test ! -s conftest.err'
22163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22164 (eval $ac_try) 2>&5
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); }; } &&
22168 { ac_try
='test -s conftest.$ac_objext'
22169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22170 (eval $ac_try) 2>&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); }; }; then
22174 ac_header_compiler
=yes
22176 echo "$as_me: failed program was:" >&5
22177 sed 's/^/| /' conftest.
$ac_ext >&5
22179 ac_header_compiler
=no
22181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22183 echo "${ECHO_T}$ac_header_compiler" >&6
22185 # Is the header present?
22186 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22187 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22188 cat >conftest.
$ac_ext <<_ACEOF
22191 cat confdefs.h
>>conftest.
$ac_ext
22192 cat >>conftest.
$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194 #include <ext/hash_map>
22196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22197 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22199 grep -v '^ *+' conftest.er1
>conftest.err
22201 cat conftest.err
>&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); } >/dev
/null
; then
22204 if test -s conftest.err
; then
22205 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22206 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22213 if test -z "$ac_cpp_err"; then
22214 ac_header_preproc
=yes
22216 echo "$as_me: failed program was:" >&5
22217 sed 's/^/| /' conftest.
$ac_ext >&5
22219 ac_header_preproc
=no
22221 rm -f conftest.err conftest.
$ac_ext
22222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22223 echo "${ECHO_T}$ac_header_preproc" >&6
22225 # So? What about this header?
22226 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22228 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22229 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22230 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22231 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22232 ac_header_preproc
=yes
22235 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22236 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22237 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22238 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22239 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22240 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22241 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22242 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22243 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22244 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22245 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22246 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22249 ## ----------------------------------------- ##
22250 ## Report this to wx-dev@lists.wxwidgets.org ##
22251 ## ----------------------------------------- ##
22254 sed "s/^/$as_me: WARNING: /" >&2
22257 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22258 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22259 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22260 echo $ECHO_N "(cached) $ECHO_C" >&6
22262 ac_cv_header_ext_hash_map
=$ac_header_preproc
22264 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22265 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22268 if test $ac_cv_header_ext_hash_map = yes; then
22269 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22270 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22271 cat >conftest.
$ac_ext <<_ACEOF
22274 cat confdefs.h
>>conftest.
$ac_ext
22275 cat >>conftest.
$ac_ext <<_ACEOF
22276 /* end confdefs.h. */
22277 #include <ext/hash_map>
22278 #include <ext/hash_set>
22282 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22283 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22288 rm -f conftest.
$ac_objext
22289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22290 (eval $ac_compile) 2>conftest.er1
22292 grep -v '^ *+' conftest.er1
>conftest.err
22294 cat conftest.err
>&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); } &&
22297 { ac_try
='test -z "$ac_cxx_werror_flag"
22298 || test ! -s conftest.err'
22299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22300 (eval $ac_try) 2>&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); }; } &&
22304 { ac_try
='test -s conftest.$ac_objext'
22305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22306 (eval $ac_try) 2>&5
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); }; }; then
22310 echo "$as_me:$LINENO: result: yes" >&5
22311 echo "${ECHO_T}yes" >&6
22312 cat >>confdefs.h
<<\_ACEOF
22313 #define HAVE_EXT_HASH_MAP 1
22316 cat >>confdefs.h
<<\_ACEOF
22317 #define HAVE_GNU_CXX_HASH_MAP 1
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.
$ac_ext >&5
22324 echo "$as_me:$LINENO: result: no" >&5
22325 echo "${ECHO_T}no" >&6
22327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22334 ac_cpp
='$CPP $CPPFLAGS'
22335 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22336 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22337 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22343 /usr/local/include \
22345 /usr/Motif-2.1/include \
22346 /usr/Motif-1.2/include \
22347 /usr/include/Motif1.2 \
22348 /opt/xpm/include/X11 \
22349 /opt/GBxpm/include/ \
22350 /opt/GBxpm/X11/include/ \
22353 /usr/openwin/include \
22357 /usr/X11R6/include \
22358 /usr/X11R6.4/include \
22359 /usr/X11R5/include \
22360 /usr/X11R4/include \
22362 /usr/include/X11R6 \
22363 /usr/include/X11R5 \
22364 /usr/include/X11R4 \
22366 /usr/local/X11R6/include \
22367 /usr/local/X11R5/include \
22368 /usr/local/X11R4/include \
22370 /usr/local/include/X11R6 \
22371 /usr/local/include/X11R5 \
22372 /usr/local/include/X11R4 \
22376 /usr/local/X11/include \
22377 /usr/local/include/X11 \
22379 /usr/X386/include \
22380 /usr/x386/include \
22381 /usr/XFree86/include/X11 \
22383 X:/XFree86/include \
22384 X:/XFree86/include/X11 \
22387 /usr/local/include/gtk \
22388 /usr/include/glib \
22389 /usr/local/include/glib \
22392 /usr/local/include/qt \
22394 /usr/local/arm/3.3.2/include \
22396 /usr/include/windows \
22397 /usr/include/wine \
22398 /usr/local/include/wine \
22400 /usr/unsupported/include \
22401 /usr/athena/include \
22402 /usr/local/x11r5/include \
22403 /usr/lpp/Xamples/include \
22405 /usr/openwin/share/include"
22407 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22409 if test "$build" != "$host" -a "$GCC" = yes; then
22410 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22411 cross_root
=`dirname $cross_root`
22412 cross_root
=`dirname $cross_root`
22414 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22415 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22417 if test -z "$PKG_CONFIG_PATH"; then
22418 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22419 export PKG_CONFIG_PATH
22422 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22425 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
22427 if test -f "$ac_dir/X11/Intrinsic.h"; then
22428 ac_find_includes
=$ac_dir
22433 x_includes
=$ac_find_includes
22435 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22438 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22440 for ac_extension
in a so sl dylib dll.a
; do
22441 if test -f "$ac_dir/libXt.$ac_extension"; then
22442 ac_find_libraries
=$ac_dir
22448 x_libraries
=$ac_find_libraries
22454 cat >confcache
<<\_ACEOF
22455 # This file is a shell script that caches the results of configure
22456 # tests run on this system so they can be shared between configure
22457 # scripts and configure runs, see configure's option --config-cache.
22458 # It is not useful on other systems. If it contains results you don't
22459 # want to keep, you may remove or edit it.
22461 # config.status only pays attention to the cache file if you give it
22462 # the --recheck option to rerun configure.
22464 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22465 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22466 # following values.
22470 # The following way of writing the cache mishandles newlines in values,
22471 # but we know of no workaround that is simple, portable, and efficient.
22472 # So, don't put newlines in cache variables' values.
22473 # Ultrix sh set writes to stderr and can't be redirected directly,
22474 # and sets the high bit in the cache file unless we assign to the vars.
22477 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22479 # `set' does not quote correctly, so add quotes (double-quote
22480 # substitution turns \\\\ into \\, and sed turns \\ into \).
22483 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22486 # `set' quotes correctly as required by POSIX, so do not add quotes.
22488 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22495 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22497 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22499 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22500 if test -w $cache_file; then
22501 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22502 cat confcache
>$cache_file
22504 echo "not updating unwritable cache $cache_file"
22509 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22510 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22511 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22512 if test "${wx_cv_lib_glibc21+set}" = set; then
22513 echo $ECHO_N "(cached) $ECHO_C" >&6
22516 cat >conftest.
$ac_ext <<_ACEOF
22519 cat confdefs.h
>>conftest.
$ac_ext
22520 cat >>conftest.
$ac_ext <<_ACEOF
22521 /* end confdefs.h. */
22522 #include <features.h>
22527 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22528 #error not glibc2.1
22535 rm -f conftest.
$ac_objext
22536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22537 (eval $ac_compile) 2>conftest.er1
22539 grep -v '^ *+' conftest.er1
>conftest.err
22541 cat conftest.err
>&5
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); } &&
22544 { ac_try
='test -z "$ac_c_werror_flag"
22545 || test ! -s conftest.err'
22546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22547 (eval $ac_try) 2>&5
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); }; } &&
22551 { ac_try
='test -s conftest.$ac_objext'
22552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22553 (eval $ac_try) 2>&5
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); }; }; then
22558 wx_cv_lib_glibc21
=yes
22561 echo "$as_me: failed program was:" >&5
22562 sed 's/^/| /' conftest.
$ac_ext >&5
22565 wx_cv_lib_glibc21
=no
22569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22572 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22573 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22574 if test "$wx_cv_lib_glibc21" = "yes"; then
22575 cat >>confdefs.h
<<\_ACEOF
22576 #define wxHAVE_GLIBC2 1
22582 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22583 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22584 cat >>confdefs.h
<<\_ACEOF
22585 #define _GNU_SOURCE 1
22593 if test "$wxUSE_REGEX" != "no"; then
22594 cat >>confdefs.h
<<\_ACEOF
22595 #define wxUSE_REGEX 1
22599 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22600 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22601 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22602 wxUSE_REGEX
=builtin
22605 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22606 if test "${ac_cv_header_regex_h+set}" = set; then
22607 echo "$as_me:$LINENO: checking for regex.h" >&5
22608 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22609 if test "${ac_cv_header_regex_h+set}" = set; then
22610 echo $ECHO_N "(cached) $ECHO_C" >&6
22612 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22613 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22615 # Is the header compilable?
22616 echo "$as_me:$LINENO: checking regex.h usability" >&5
22617 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22618 cat >conftest.
$ac_ext <<_ACEOF
22621 cat confdefs.h
>>conftest.
$ac_ext
22622 cat >>conftest.
$ac_ext <<_ACEOF
22623 /* end confdefs.h. */
22624 $ac_includes_default
22627 rm -f conftest.
$ac_objext
22628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22629 (eval $ac_compile) 2>conftest.er1
22631 grep -v '^ *+' conftest.er1
>conftest.err
22633 cat conftest.err
>&5
22634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22635 (exit $ac_status); } &&
22636 { ac_try
='test -z "$ac_c_werror_flag"
22637 || test ! -s conftest.err'
22638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22639 (eval $ac_try) 2>&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); }; } &&
22643 { ac_try
='test -s conftest.$ac_objext'
22644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22645 (eval $ac_try) 2>&5
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); }; }; then
22649 ac_header_compiler
=yes
22651 echo "$as_me: failed program was:" >&5
22652 sed 's/^/| /' conftest.
$ac_ext >&5
22654 ac_header_compiler
=no
22656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22658 echo "${ECHO_T}$ac_header_compiler" >&6
22660 # Is the header present?
22661 echo "$as_me:$LINENO: checking regex.h presence" >&5
22662 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22663 cat >conftest.
$ac_ext <<_ACEOF
22666 cat confdefs.h
>>conftest.
$ac_ext
22667 cat >>conftest.
$ac_ext <<_ACEOF
22668 /* end confdefs.h. */
22671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22674 grep -v '^ *+' conftest.er1
>conftest.err
22676 cat conftest.err
>&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); } >/dev
/null
; then
22679 if test -s conftest.err
; then
22680 ac_cpp_err
=$ac_c_preproc_warn_flag
22681 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22688 if test -z "$ac_cpp_err"; then
22689 ac_header_preproc
=yes
22691 echo "$as_me: failed program was:" >&5
22692 sed 's/^/| /' conftest.
$ac_ext >&5
22694 ac_header_preproc
=no
22696 rm -f conftest.err conftest.
$ac_ext
22697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22698 echo "${ECHO_T}$ac_header_preproc" >&6
22700 # So? What about this header?
22701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22703 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22704 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22705 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22706 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22707 ac_header_preproc
=yes
22710 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22711 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22712 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22713 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22714 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22715 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22716 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22717 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22718 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22719 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22720 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22721 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22724 ## ----------------------------------------- ##
22725 ## Report this to wx-dev@lists.wxwidgets.org ##
22726 ## ----------------------------------------- ##
22729 sed "s/^/$as_me: WARNING: /" >&2
22732 echo "$as_me:$LINENO: checking for regex.h" >&5
22733 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22734 if test "${ac_cv_header_regex_h+set}" = set; then
22735 echo $ECHO_N "(cached) $ECHO_C" >&6
22737 ac_cv_header_regex_h
=$ac_header_preproc
22739 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22740 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22743 if test $ac_cv_header_regex_h = yes; then
22745 for ac_func
in regcomp
22747 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22748 echo "$as_me:$LINENO: checking for $ac_func" >&5
22749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22750 if eval "test \"\${$as_ac_var+set}\" = set"; then
22751 echo $ECHO_N "(cached) $ECHO_C" >&6
22753 cat >conftest.
$ac_ext <<_ACEOF
22756 cat confdefs.h
>>conftest.
$ac_ext
22757 cat >>conftest.
$ac_ext <<_ACEOF
22758 /* end confdefs.h. */
22759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22761 #define $ac_func innocuous_$ac_func
22763 /* System header to define __stub macros and hopefully few prototypes,
22764 which can conflict with char $ac_func (); below.
22765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22766 <limits.h> exists even on freestanding compilers. */
22769 # include <limits.h>
22771 # include <assert.h>
22776 /* Override any gcc2 internal prototype to avoid an error. */
22781 /* We use char because int might match the return type of a gcc2
22782 builtin and then its argument prototype would still apply. */
22784 /* The GNU C library defines this for functions which it implements
22785 to always fail with ENOSYS. Some functions are actually named
22786 something starting with __ and the normal name is an alias. */
22787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22790 char (*f) () = $ac_func;
22799 return f != $ac_func;
22804 rm -f conftest.
$ac_objext conftest
$ac_exeext
22805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22806 (eval $ac_link) 2>conftest.er1
22808 grep -v '^ *+' conftest.er1
>conftest.err
22810 cat conftest.err
>&5
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); } &&
22813 { ac_try
='test -z "$ac_c_werror_flag"
22814 || test ! -s conftest.err'
22815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816 (eval $ac_try) 2>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; } &&
22820 { ac_try
='test -s conftest$ac_exeext'
22821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22822 (eval $ac_try) 2>&5
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); }; }; then
22826 eval "$as_ac_var=yes"
22828 echo "$as_me: failed program was:" >&5
22829 sed 's/^/| /' conftest.
$ac_ext >&5
22831 eval "$as_ac_var=no"
22833 rm -f conftest.err conftest.
$ac_objext \
22834 conftest
$ac_exeext conftest.
$ac_ext
22836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22838 if test `eval echo '${'$as_ac_var'}'` = yes; then
22839 cat >>confdefs.h
<<_ACEOF
22840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22850 if test "x$ac_cv_func_regcomp" != "xyes"; then
22851 if test "$wxUSE_REGEX" = "sys" ; then
22852 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22853 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22854 { (exit 1); exit 1; }; }
22856 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22857 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22858 wxUSE_REGEX
=builtin
22862 cat >>confdefs.h
<<\_ACEOF
22863 #define WX_NO_REGEX_ADVANCED 1
22872 if test "$wxUSE_ZLIB" != "no" ; then
22873 cat >>confdefs.h
<<\_ACEOF
22874 #define wxUSE_ZLIB 1
22878 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22879 if test "$USE_DARWIN" = 1; then
22880 system_zlib_h_ok
="yes"
22882 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22883 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22884 if test "${ac_cv_header_zlib_h+set}" = set; then
22885 echo $ECHO_N "(cached) $ECHO_C" >&6
22887 if test "$cross_compiling" = yes; then
22888 unset ac_cv_header_zlib_h
22891 cat >conftest.
$ac_ext <<_ACEOF
22894 cat confdefs.h
>>conftest.
$ac_ext
22895 cat >>conftest.
$ac_ext <<_ACEOF
22896 /* end confdefs.h. */
22903 FILE *f=fopen("conftestval", "w");
22906 ZLIB_VERSION[0] == '1' &&
22907 (ZLIB_VERSION[2] > '1' ||
22908 (ZLIB_VERSION[2] == '1' &&
22909 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22914 rm -f conftest
$ac_exeext
22915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22916 (eval $ac_link) 2>&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22921 (eval $ac_try) 2>&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); }; }; then
22925 ac_cv_header_zlib_h
=`cat conftestval`
22927 echo "$as_me: program exited with status $ac_status" >&5
22928 echo "$as_me: failed program was:" >&5
22929 sed 's/^/| /' conftest.
$ac_ext >&5
22931 ( exit $ac_status )
22932 ac_cv_header_zlib_h
=no
22934 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22938 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22939 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22940 if test "${ac_cv_header_zlib_h+set}" = set; then
22941 echo "$as_me:$LINENO: checking for zlib.h" >&5
22942 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22943 if test "${ac_cv_header_zlib_h+set}" = set; then
22944 echo $ECHO_N "(cached) $ECHO_C" >&6
22946 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22947 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22949 # Is the header compilable?
22950 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22951 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22952 cat >conftest.
$ac_ext <<_ACEOF
22955 cat confdefs.h
>>conftest.
$ac_ext
22956 cat >>conftest.
$ac_ext <<_ACEOF
22957 /* end confdefs.h. */
22958 $ac_includes_default
22961 rm -f conftest.
$ac_objext
22962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22963 (eval $ac_compile) 2>conftest.er1
22965 grep -v '^ *+' conftest.er1
>conftest.err
22967 cat conftest.err
>&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); } &&
22970 { ac_try
='test -z "$ac_c_werror_flag"
22971 || test ! -s conftest.err'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; } &&
22977 { ac_try
='test -s conftest.$ac_objext'
22978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22979 (eval $ac_try) 2>&5
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); }; }; then
22983 ac_header_compiler
=yes
22985 echo "$as_me: failed program was:" >&5
22986 sed 's/^/| /' conftest.
$ac_ext >&5
22988 ac_header_compiler
=no
22990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22992 echo "${ECHO_T}$ac_header_compiler" >&6
22994 # Is the header present?
22995 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22996 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22997 cat >conftest.
$ac_ext <<_ACEOF
23000 cat confdefs.h
>>conftest.
$ac_ext
23001 cat >>conftest.
$ac_ext <<_ACEOF
23002 /* end confdefs.h. */
23005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23008 grep -v '^ *+' conftest.er1
>conftest.err
23010 cat conftest.err
>&5
23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012 (exit $ac_status); } >/dev
/null
; then
23013 if test -s conftest.err
; then
23014 ac_cpp_err
=$ac_c_preproc_warn_flag
23015 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23022 if test -z "$ac_cpp_err"; then
23023 ac_header_preproc
=yes
23025 echo "$as_me: failed program was:" >&5
23026 sed 's/^/| /' conftest.
$ac_ext >&5
23028 ac_header_preproc
=no
23030 rm -f conftest.err conftest.
$ac_ext
23031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23032 echo "${ECHO_T}$ac_header_preproc" >&6
23034 # So? What about this header?
23035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23037 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
23038 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23039 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
23040 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
23041 ac_header_preproc
=yes
23044 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23045 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23046 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23047 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23048 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23049 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23050 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23051 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23052 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
23053 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
23054 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
23055 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
23058 ## ----------------------------------------- ##
23059 ## Report this to wx-dev@lists.wxwidgets.org ##
23060 ## ----------------------------------------- ##
23063 sed "s/^/$as_me: WARNING: /" >&2
23066 echo "$as_me:$LINENO: checking for zlib.h" >&5
23067 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23068 if test "${ac_cv_header_zlib_h+set}" = set; then
23069 echo $ECHO_N "(cached) $ECHO_C" >&6
23071 ac_cv_header_zlib_h
=$ac_header_preproc
23073 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23074 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23080 system_zlib_h_ok
=$ac_cv_header_zlib_h
23083 if test "$system_zlib_h_ok" = "yes"; then
23084 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
23085 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
23086 if test "${ac_cv_lib_z_deflate+set}" = set; then
23087 echo $ECHO_N "(cached) $ECHO_C" >&6
23089 ac_check_lib_save_LIBS
=$LIBS
23091 cat >conftest.
$ac_ext <<_ACEOF
23094 cat confdefs.h
>>conftest.
$ac_ext
23095 cat >>conftest.
$ac_ext <<_ACEOF
23096 /* end confdefs.h. */
23098 /* Override any gcc2 internal prototype to avoid an error. */
23102 /* We use char because int might match the return type of a gcc2
23103 builtin and then its argument prototype would still apply. */
23113 rm -f conftest.
$ac_objext conftest
$ac_exeext
23114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23115 (eval $ac_link) 2>conftest.er1
23117 grep -v '^ *+' conftest.er1
>conftest.err
23119 cat conftest.err
>&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); } &&
23122 { ac_try
='test -z "$ac_c_werror_flag"
23123 || test ! -s conftest.err'
23124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23125 (eval $ac_try) 2>&5
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); }; } &&
23129 { ac_try
='test -s conftest$ac_exeext'
23130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23131 (eval $ac_try) 2>&5
23133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23134 (exit $ac_status); }; }; then
23135 ac_cv_lib_z_deflate
=yes
23137 echo "$as_me: failed program was:" >&5
23138 sed 's/^/| /' conftest.
$ac_ext >&5
23140 ac_cv_lib_z_deflate
=no
23142 rm -f conftest.err conftest.
$ac_objext \
23143 conftest
$ac_exeext conftest.
$ac_ext
23144 LIBS
=$ac_check_lib_save_LIBS
23146 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
23147 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
23148 if test $ac_cv_lib_z_deflate = yes; then
23154 if test "x$ZLIB_LINK" = "x" ; then
23155 if test "$wxUSE_ZLIB" = "sys" ; then
23156 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
23157 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
23158 { (exit 1); exit 1; }; }
23160 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
23161 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
23172 if test "$wxUSE_LIBPNG" != "no" ; then
23173 cat >>confdefs.h
<<\_ACEOF
23174 #define wxUSE_LIBPNG 1
23178 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
23179 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
23180 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
23184 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
23185 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
23186 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
23187 wxUSE_LIBPNG
=builtin
23190 if test "$wxUSE_MGL" != 1 ; then
23191 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
23192 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
23193 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23194 if test "${ac_cv_header_png_h+set}" = set; then
23195 echo $ECHO_N "(cached) $ECHO_C" >&6
23197 if test "$cross_compiling" = yes; then
23198 unset ac_cv_header_png_h
23201 cat >conftest.
$ac_ext <<_ACEOF
23204 cat confdefs.h
>>conftest.
$ac_ext
23205 cat >>conftest.
$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23213 FILE *f=fopen("conftestval", "w");
23216 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23221 rm -f conftest
$ac_exeext
23222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23223 (eval $ac_link) 2>&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23228 (eval $ac_try) 2>&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); }; }; then
23232 ac_cv_header_png_h
=`cat conftestval`
23234 echo "$as_me: program exited with status $ac_status" >&5
23235 echo "$as_me: failed program was:" >&5
23236 sed 's/^/| /' conftest.
$ac_ext >&5
23238 ( exit $ac_status )
23239 ac_cv_header_png_h
=no
23241 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23245 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23246 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23247 if test "${ac_cv_header_png_h+set}" = set; then
23248 echo "$as_me:$LINENO: checking for png.h" >&5
23249 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23250 if test "${ac_cv_header_png_h+set}" = set; then
23251 echo $ECHO_N "(cached) $ECHO_C" >&6
23253 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23254 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23256 # Is the header compilable?
23257 echo "$as_me:$LINENO: checking png.h usability" >&5
23258 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23259 cat >conftest.
$ac_ext <<_ACEOF
23262 cat confdefs.h
>>conftest.
$ac_ext
23263 cat >>conftest.
$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23265 $ac_includes_default
23268 rm -f conftest.
$ac_objext
23269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23270 (eval $ac_compile) 2>conftest.er1
23272 grep -v '^ *+' conftest.er1
>conftest.err
23274 cat conftest.err
>&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); } &&
23277 { ac_try
='test -z "$ac_c_werror_flag"
23278 || test ! -s conftest.err'
23279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23280 (eval $ac_try) 2>&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); }; } &&
23284 { ac_try
='test -s conftest.$ac_objext'
23285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23286 (eval $ac_try) 2>&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); }; }; then
23290 ac_header_compiler
=yes
23292 echo "$as_me: failed program was:" >&5
23293 sed 's/^/| /' conftest.
$ac_ext >&5
23295 ac_header_compiler
=no
23297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23299 echo "${ECHO_T}$ac_header_compiler" >&6
23301 # Is the header present?
23302 echo "$as_me:$LINENO: checking png.h presence" >&5
23303 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23304 cat >conftest.
$ac_ext <<_ACEOF
23307 cat confdefs.h
>>conftest.
$ac_ext
23308 cat >>conftest.
$ac_ext <<_ACEOF
23309 /* end confdefs.h. */
23312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23315 grep -v '^ *+' conftest.er1
>conftest.err
23317 cat conftest.err
>&5
23318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23319 (exit $ac_status); } >/dev
/null
; then
23320 if test -s conftest.err
; then
23321 ac_cpp_err
=$ac_c_preproc_warn_flag
23322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23329 if test -z "$ac_cpp_err"; then
23330 ac_header_preproc
=yes
23332 echo "$as_me: failed program was:" >&5
23333 sed 's/^/| /' conftest.
$ac_ext >&5
23335 ac_header_preproc
=no
23337 rm -f conftest.err conftest.
$ac_ext
23338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23339 echo "${ECHO_T}$ac_header_preproc" >&6
23341 # So? What about this header?
23342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23344 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23345 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23346 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23347 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23348 ac_header_preproc
=yes
23351 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23352 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23353 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23354 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23355 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23356 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23357 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23358 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23359 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23360 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23361 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23362 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23365 ## ----------------------------------------- ##
23366 ## Report this to wx-dev@lists.wxwidgets.org ##
23367 ## ----------------------------------------- ##
23370 sed "s/^/$as_me: WARNING: /" >&2
23373 echo "$as_me:$LINENO: checking for png.h" >&5
23374 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23375 if test "${ac_cv_header_png_h+set}" = set; then
23376 echo $ECHO_N "(cached) $ECHO_C" >&6
23378 ac_cv_header_png_h
=$ac_header_preproc
23380 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23381 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23387 if test "$ac_cv_header_png_h" = "yes"; then
23388 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23389 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23390 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23393 ac_check_lib_save_LIBS
=$LIBS
23394 LIBS
="-lpng -lz -lm $LIBS"
23395 cat >conftest.
$ac_ext <<_ACEOF
23398 cat confdefs.h
>>conftest.
$ac_ext
23399 cat >>conftest.
$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23402 /* Override any gcc2 internal prototype to avoid an error. */
23406 /* We use char because int might match the return type of a gcc2
23407 builtin and then its argument prototype would still apply. */
23408 char png_check_sig ();
23417 rm -f conftest.
$ac_objext conftest
$ac_exeext
23418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23419 (eval $ac_link) 2>conftest.er1
23421 grep -v '^ *+' conftest.er1
>conftest.err
23423 cat conftest.err
>&5
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); } &&
23426 { ac_try
='test -z "$ac_c_werror_flag"
23427 || test ! -s conftest.err'
23428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23429 (eval $ac_try) 2>&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); }; } &&
23433 { ac_try
='test -s conftest$ac_exeext'
23434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23435 (eval $ac_try) 2>&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; }; then
23439 ac_cv_lib_png_png_check_sig
=yes
23441 echo "$as_me: failed program was:" >&5
23442 sed 's/^/| /' conftest.
$ac_ext >&5
23444 ac_cv_lib_png_png_check_sig
=no
23446 rm -f conftest.err conftest.
$ac_objext \
23447 conftest
$ac_exeext conftest.
$ac_ext
23448 LIBS
=$ac_check_lib_save_LIBS
23450 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23451 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23452 if test $ac_cv_lib_png_png_check_sig = yes; then
23453 PNG_LINK
=" -lpng -lz"
23458 if test "x$PNG_LINK" = "x" ; then
23459 if test "$wxUSE_LIBPNG" = "sys" ; then
23460 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23461 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23462 { (exit 1); exit 1; }; }
23464 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23465 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23466 wxUSE_LIBPNG
=builtin
23474 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
23479 if test "$wxUSE_LIBJPEG" != "no" ; then
23480 cat >>confdefs.h
<<\_ACEOF
23481 #define wxUSE_LIBJPEG 1
23485 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23486 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23487 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23491 if test "$wxUSE_MGL" != 1 ; then
23492 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23493 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23494 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23495 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23496 echo $ECHO_N "(cached) $ECHO_C" >&6
23498 cat >conftest.
$ac_ext <<_ACEOF
23501 cat confdefs.h
>>conftest.
$ac_ext
23502 cat >>conftest.
$ac_ext <<_ACEOF
23503 /* end confdefs.h. */
23505 #undef HAVE_STDLIB_H
23507 #include <jpeglib.h>
23518 rm -f conftest.
$ac_objext
23519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23520 (eval $ac_compile) 2>conftest.er1
23522 grep -v '^ *+' conftest.er1
>conftest.err
23524 cat conftest.err
>&5
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); } &&
23527 { ac_try
='test -z "$ac_c_werror_flag"
23528 || test ! -s conftest.err'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; } &&
23534 { ac_try
='test -s conftest.$ac_objext'
23535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23536 (eval $ac_try) 2>&5
23538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23539 (exit $ac_status); }; }; then
23540 ac_cv_header_jpeglib_h
=yes
23542 echo "$as_me: failed program was:" >&5
23543 sed 's/^/| /' conftest.
$ac_ext >&5
23545 ac_cv_header_jpeglib_h
=no
23548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23552 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23553 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23555 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23556 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23557 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23558 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23559 echo $ECHO_N "(cached) $ECHO_C" >&6
23561 ac_check_lib_save_LIBS
=$LIBS
23562 LIBS
="-ljpeg $LIBS"
23563 cat >conftest.
$ac_ext <<_ACEOF
23566 cat confdefs.h
>>conftest.
$ac_ext
23567 cat >>conftest.
$ac_ext <<_ACEOF
23568 /* end confdefs.h. */
23570 /* Override any gcc2 internal prototype to avoid an error. */
23574 /* We use char because int might match the return type of a gcc2
23575 builtin and then its argument prototype would still apply. */
23576 char jpeg_read_header ();
23580 jpeg_read_header ();
23585 rm -f conftest.
$ac_objext conftest
$ac_exeext
23586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23587 (eval $ac_link) 2>conftest.er1
23589 grep -v '^ *+' conftest.er1
>conftest.err
23591 cat conftest.err
>&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); } &&
23594 { ac_try
='test -z "$ac_c_werror_flag"
23595 || test ! -s conftest.err'
23596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23597 (eval $ac_try) 2>&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); }; } &&
23601 { ac_try
='test -s conftest$ac_exeext'
23602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23603 (eval $ac_try) 2>&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); }; }; then
23607 ac_cv_lib_jpeg_jpeg_read_header
=yes
23609 echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.
$ac_ext >&5
23612 ac_cv_lib_jpeg_jpeg_read_header
=no
23614 rm -f conftest.err conftest.
$ac_objext \
23615 conftest
$ac_exeext conftest.
$ac_ext
23616 LIBS
=$ac_check_lib_save_LIBS
23618 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23619 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23620 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23621 JPEG_LINK
=" -ljpeg"
23626 if test "x$JPEG_LINK" = "x" ; then
23627 if test "$wxUSE_LIBJPEG" = "sys" ; then
23628 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23629 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23630 { (exit 1); exit 1; }; }
23632 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23633 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23634 wxUSE_LIBJPEG
=builtin
23645 TIFF_PREREQ_LINKS
=-lm
23646 if test "$wxUSE_LIBTIFF" != "no" ; then
23647 cat >>confdefs.h
<<\_ACEOF
23648 #define wxUSE_LIBTIFF 1
23652 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23653 if test "$wxUSE_LIBJPEG" = "sys"; then
23654 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23656 if test "$wxUSE_ZLIB" = "sys"; then
23657 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23659 if test "${ac_cv_header_tiffio_h+set}" = set; then
23660 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23661 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23662 if test "${ac_cv_header_tiffio_h+set}" = set; then
23663 echo $ECHO_N "(cached) $ECHO_C" >&6
23665 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23666 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23668 # Is the header compilable?
23669 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23670 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23671 cat >conftest.
$ac_ext <<_ACEOF
23674 cat confdefs.h
>>conftest.
$ac_ext
23675 cat >>conftest.
$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23677 $ac_includes_default
23678 #include <tiffio.h>
23680 rm -f conftest.
$ac_objext
23681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23682 (eval $ac_compile) 2>conftest.er1
23684 grep -v '^ *+' conftest.er1
>conftest.err
23686 cat conftest.err
>&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); } &&
23689 { ac_try
='test -z "$ac_c_werror_flag"
23690 || test ! -s conftest.err'
23691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23692 (eval $ac_try) 2>&5
23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695 (exit $ac_status); }; } &&
23696 { ac_try
='test -s conftest.$ac_objext'
23697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23698 (eval $ac_try) 2>&5
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); }; }; then
23702 ac_header_compiler
=yes
23704 echo "$as_me: failed program was:" >&5
23705 sed 's/^/| /' conftest.
$ac_ext >&5
23707 ac_header_compiler
=no
23709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23710 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23711 echo "${ECHO_T}$ac_header_compiler" >&6
23713 # Is the header present?
23714 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23715 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23716 cat >conftest.
$ac_ext <<_ACEOF
23719 cat confdefs.h
>>conftest.
$ac_ext
23720 cat >>conftest.
$ac_ext <<_ACEOF
23721 /* end confdefs.h. */
23722 #include <tiffio.h>
23724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23725 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23727 grep -v '^ *+' conftest.er1
>conftest.err
23729 cat conftest.err
>&5
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); } >/dev
/null
; then
23732 if test -s conftest.err
; then
23733 ac_cpp_err
=$ac_c_preproc_warn_flag
23734 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23741 if test -z "$ac_cpp_err"; then
23742 ac_header_preproc
=yes
23744 echo "$as_me: failed program was:" >&5
23745 sed 's/^/| /' conftest.
$ac_ext >&5
23747 ac_header_preproc
=no
23749 rm -f conftest.err conftest.
$ac_ext
23750 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23751 echo "${ECHO_T}$ac_header_preproc" >&6
23753 # So? What about this header?
23754 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23756 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23757 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23758 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23759 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23760 ac_header_preproc
=yes
23763 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23764 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23765 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23766 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23767 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23768 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23769 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23770 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23771 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23772 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23773 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23774 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23777 ## ----------------------------------------- ##
23778 ## Report this to wx-dev@lists.wxwidgets.org ##
23779 ## ----------------------------------------- ##
23782 sed "s/^/$as_me: WARNING: /" >&2
23785 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23786 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23787 if test "${ac_cv_header_tiffio_h+set}" = set; then
23788 echo $ECHO_N "(cached) $ECHO_C" >&6
23790 ac_cv_header_tiffio_h
=$ac_header_preproc
23792 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23793 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23796 if test $ac_cv_header_tiffio_h = yes; then
23798 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23799 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23800 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23801 echo $ECHO_N "(cached) $ECHO_C" >&6
23803 ac_check_lib_save_LIBS
=$LIBS
23804 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23805 cat >conftest.
$ac_ext <<_ACEOF
23808 cat confdefs.h
>>conftest.
$ac_ext
23809 cat >>conftest.
$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23812 /* Override any gcc2 internal prototype to avoid an error. */
23816 /* We use char because int might match the return type of a gcc2
23817 builtin and then its argument prototype would still apply. */
23827 rm -f conftest.
$ac_objext conftest
$ac_exeext
23828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23829 (eval $ac_link) 2>conftest.er1
23831 grep -v '^ *+' conftest.er1
>conftest.err
23833 cat conftest.err
>&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } &&
23836 { ac_try
='test -z "$ac_c_werror_flag"
23837 || test ! -s conftest.err'
23838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23839 (eval $ac_try) 2>&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); }; } &&
23843 { ac_try
='test -s conftest$ac_exeext'
23844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845 (eval $ac_try) 2>&5
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); }; }; then
23849 ac_cv_lib_tiff_TIFFError
=yes
23851 echo "$as_me: failed program was:" >&5
23852 sed 's/^/| /' conftest.
$ac_ext >&5
23854 ac_cv_lib_tiff_TIFFError
=no
23856 rm -f conftest.err conftest.
$ac_objext \
23857 conftest
$ac_exeext conftest.
$ac_ext
23858 LIBS
=$ac_check_lib_save_LIBS
23860 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23861 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23862 if test $ac_cv_lib_tiff_TIFFError = yes; then
23863 TIFF_LINK
=" -ltiff"
23872 if test "x$TIFF_LINK" = "x" ; then
23873 if test "$wxUSE_LIBTIFF" = "sys" ; then
23874 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23875 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23876 { (exit 1); exit 1; }; }
23878 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23879 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23880 wxUSE_LIBTIFF
=builtin
23889 if test "$wxUSE_WCHAR_T" != "yes"; then
23890 if test "$wxUSE_EXPAT" != "no"; then
23891 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23892 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23895 if test "$wxUSE_XML" != "no"; then
23896 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23897 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23902 if test "$wxUSE_EXPAT" != "no"; then
23904 cat >>confdefs.h
<<\_ACEOF
23905 #define wxUSE_EXPAT 1
23908 cat >>confdefs.h
<<\_ACEOF
23909 #define wxUSE_XML 1
23913 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23914 if test "${ac_cv_header_expat_h+set}" = set; then
23915 echo "$as_me:$LINENO: checking for expat.h" >&5
23916 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23917 if test "${ac_cv_header_expat_h+set}" = set; then
23918 echo $ECHO_N "(cached) $ECHO_C" >&6
23920 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23921 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23923 # Is the header compilable?
23924 echo "$as_me:$LINENO: checking expat.h usability" >&5
23925 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23926 cat >conftest.
$ac_ext <<_ACEOF
23929 cat confdefs.h
>>conftest.
$ac_ext
23930 cat >>conftest.
$ac_ext <<_ACEOF
23931 /* end confdefs.h. */
23932 $ac_includes_default
23935 rm -f conftest.
$ac_objext
23936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23937 (eval $ac_compile) 2>conftest.er1
23939 grep -v '^ *+' conftest.er1
>conftest.err
23941 cat conftest.err
>&5
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); } &&
23944 { ac_try
='test -z "$ac_c_werror_flag"
23945 || test ! -s conftest.err'
23946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23947 (eval $ac_try) 2>&5
23949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950 (exit $ac_status); }; } &&
23951 { ac_try
='test -s conftest.$ac_objext'
23952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23953 (eval $ac_try) 2>&5
23955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23956 (exit $ac_status); }; }; then
23957 ac_header_compiler
=yes
23959 echo "$as_me: failed program was:" >&5
23960 sed 's/^/| /' conftest.
$ac_ext >&5
23962 ac_header_compiler
=no
23964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23965 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23966 echo "${ECHO_T}$ac_header_compiler" >&6
23968 # Is the header present?
23969 echo "$as_me:$LINENO: checking expat.h presence" >&5
23970 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23971 cat >conftest.
$ac_ext <<_ACEOF
23974 cat confdefs.h
>>conftest.
$ac_ext
23975 cat >>conftest.
$ac_ext <<_ACEOF
23976 /* end confdefs.h. */
23979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23980 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23982 grep -v '^ *+' conftest.er1
>conftest.err
23984 cat conftest.err
>&5
23985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); } >/dev
/null
; then
23987 if test -s conftest.err
; then
23988 ac_cpp_err
=$ac_c_preproc_warn_flag
23989 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23996 if test -z "$ac_cpp_err"; then
23997 ac_header_preproc
=yes
23999 echo "$as_me: failed program was:" >&5
24000 sed 's/^/| /' conftest.
$ac_ext >&5
24002 ac_header_preproc
=no
24004 rm -f conftest.err conftest.
$ac_ext
24005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24006 echo "${ECHO_T}$ac_header_preproc" >&6
24008 # So? What about this header?
24009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24011 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
24012 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24013 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
24014 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
24015 ac_header_preproc
=yes
24018 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
24019 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
24020 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
24021 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
24022 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
24023 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
24024 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
24025 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
24026 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
24027 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
24028 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
24029 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
24032 ## ----------------------------------------- ##
24033 ## Report this to wx-dev@lists.wxwidgets.org ##
24034 ## ----------------------------------------- ##
24037 sed "s/^/$as_me: WARNING: /" >&2
24040 echo "$as_me:$LINENO: checking for expat.h" >&5
24041 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24042 if test "${ac_cv_header_expat_h+set}" = set; then
24043 echo $ECHO_N "(cached) $ECHO_C" >&6
24045 ac_cv_header_expat_h
=$ac_header_preproc
24047 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24048 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24051 if test $ac_cv_header_expat_h = yes; then
24056 if test "x$found_expat_h" = "x1"; then
24057 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24058 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24059 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24060 echo $ECHO_N "(cached) $ECHO_C" >&6
24066 ac_cpp
='$CXXCPP $CPPFLAGS'
24067 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24068 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24069 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24071 cat >conftest.
$ac_ext <<_ACEOF
24074 cat confdefs.h
>>conftest.
$ac_ext
24075 cat >>conftest.
$ac_ext <<_ACEOF
24076 /* end confdefs.h. */
24086 rm -f conftest.
$ac_objext
24087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24088 (eval $ac_compile) 2>conftest.er1
24090 grep -v '^ *+' conftest.er1
>conftest.err
24092 cat conftest.err
>&5
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); } &&
24095 { ac_try
='test -z "$ac_cxx_werror_flag"
24096 || test ! -s conftest.err'
24097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24098 (eval $ac_try) 2>&5
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); }; } &&
24102 { ac_try
='test -s conftest.$ac_objext'
24103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24104 (eval $ac_try) 2>&5
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); }; }; then
24108 wx_cv_expat_is_not_broken
=yes
24110 echo "$as_me: failed program was:" >&5
24111 sed 's/^/| /' conftest.
$ac_ext >&5
24113 wx_cv_expat_is_not_broken
=no
24116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24118 ac_cpp
='$CPP $CPPFLAGS'
24119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24126 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
24127 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
24128 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
24129 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
24130 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
24131 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
24132 echo $ECHO_N "(cached) $ECHO_C" >&6
24134 ac_check_lib_save_LIBS
=$LIBS
24135 LIBS
="-lexpat $LIBS"
24136 cat >conftest.
$ac_ext <<_ACEOF
24139 cat confdefs.h
>>conftest.
$ac_ext
24140 cat >>conftest.
$ac_ext <<_ACEOF
24141 /* end confdefs.h. */
24143 /* Override any gcc2 internal prototype to avoid an error. */
24147 /* We use char because int might match the return type of a gcc2
24148 builtin and then its argument prototype would still apply. */
24149 char XML_ParserCreate ();
24153 XML_ParserCreate ();
24158 rm -f conftest.
$ac_objext conftest
$ac_exeext
24159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24160 (eval $ac_link) 2>conftest.er1
24162 grep -v '^ *+' conftest.er1
>conftest.err
24164 cat conftest.err
>&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); } &&
24167 { ac_try
='test -z "$ac_c_werror_flag"
24168 || test ! -s conftest.err'
24169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24170 (eval $ac_try) 2>&5
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); }; } &&
24174 { ac_try
='test -s conftest$ac_exeext'
24175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24176 (eval $ac_try) 2>&5
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); }; }; then
24180 ac_cv_lib_expat_XML_ParserCreate
=yes
24182 echo "$as_me: failed program was:" >&5
24183 sed 's/^/| /' conftest.
$ac_ext >&5
24185 ac_cv_lib_expat_XML_ParserCreate
=no
24187 rm -f conftest.err conftest.
$ac_objext \
24188 conftest
$ac_exeext conftest.
$ac_ext
24189 LIBS
=$ac_check_lib_save_LIBS
24191 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
24192 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
24193 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
24194 EXPAT_LINK
=" -lexpat"
24199 if test "x$EXPAT_LINK" = "x" ; then
24200 if test "$wxUSE_EXPAT" = "sys" ; then
24201 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24202 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24203 { (exit 1); exit 1; }; }
24205 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24206 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24207 wxUSE_EXPAT
=builtin
24213 if test "$wxUSE_EXPAT" = "builtin" ; then
24216 subdirs
="$subdirs src/expat"
24223 if test "$wxUSE_LIBMSPACK" != "no"; then
24224 if test "${ac_cv_header_mspack_h+set}" = set; then
24225 echo "$as_me:$LINENO: checking for mspack.h" >&5
24226 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24227 if test "${ac_cv_header_mspack_h+set}" = set; then
24228 echo $ECHO_N "(cached) $ECHO_C" >&6
24230 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24231 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24233 # Is the header compilable?
24234 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24235 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24236 cat >conftest.
$ac_ext <<_ACEOF
24239 cat confdefs.h
>>conftest.
$ac_ext
24240 cat >>conftest.
$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242 $ac_includes_default
24243 #include <mspack.h>
24245 rm -f conftest.
$ac_objext
24246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24247 (eval $ac_compile) 2>conftest.er1
24249 grep -v '^ *+' conftest.er1
>conftest.err
24251 cat conftest.err
>&5
24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); } &&
24254 { ac_try
='test -z "$ac_c_werror_flag"
24255 || test ! -s conftest.err'
24256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24257 (eval $ac_try) 2>&5
24259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24260 (exit $ac_status); }; } &&
24261 { ac_try
='test -s conftest.$ac_objext'
24262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24263 (eval $ac_try) 2>&5
24265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266 (exit $ac_status); }; }; then
24267 ac_header_compiler
=yes
24269 echo "$as_me: failed program was:" >&5
24270 sed 's/^/| /' conftest.
$ac_ext >&5
24272 ac_header_compiler
=no
24274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24276 echo "${ECHO_T}$ac_header_compiler" >&6
24278 # Is the header present?
24279 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24280 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24281 cat >conftest.
$ac_ext <<_ACEOF
24284 cat confdefs.h
>>conftest.
$ac_ext
24285 cat >>conftest.
$ac_ext <<_ACEOF
24286 /* end confdefs.h. */
24287 #include <mspack.h>
24289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24290 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24292 grep -v '^ *+' conftest.er1
>conftest.err
24294 cat conftest.err
>&5
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); } >/dev
/null
; then
24297 if test -s conftest.err
; then
24298 ac_cpp_err
=$ac_c_preproc_warn_flag
24299 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24306 if test -z "$ac_cpp_err"; then
24307 ac_header_preproc
=yes
24309 echo "$as_me: failed program was:" >&5
24310 sed 's/^/| /' conftest.
$ac_ext >&5
24312 ac_header_preproc
=no
24314 rm -f conftest.err conftest.
$ac_ext
24315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24316 echo "${ECHO_T}$ac_header_preproc" >&6
24318 # So? What about this header?
24319 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24321 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24322 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24323 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24324 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24325 ac_header_preproc
=yes
24328 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24329 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24330 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24331 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24332 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24333 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24334 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24335 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24336 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24337 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24338 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24339 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24342 ## ----------------------------------------- ##
24343 ## Report this to wx-dev@lists.wxwidgets.org ##
24344 ## ----------------------------------------- ##
24347 sed "s/^/$as_me: WARNING: /" >&2
24350 echo "$as_me:$LINENO: checking for mspack.h" >&5
24351 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24352 if test "${ac_cv_header_mspack_h+set}" = set; then
24353 echo $ECHO_N "(cached) $ECHO_C" >&6
24355 ac_cv_header_mspack_h
=$ac_header_preproc
24357 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24358 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24361 if test $ac_cv_header_mspack_h = yes; then
24366 if test "x$found_mspack_h" = "x1"; then
24367 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24368 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24369 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24370 echo $ECHO_N "(cached) $ECHO_C" >&6
24372 ac_check_lib_save_LIBS
=$LIBS
24373 LIBS
="-lmspack $LIBS"
24374 cat >conftest.
$ac_ext <<_ACEOF
24377 cat confdefs.h
>>conftest.
$ac_ext
24378 cat >>conftest.
$ac_ext <<_ACEOF
24379 /* end confdefs.h. */
24381 /* Override any gcc2 internal prototype to avoid an error. */
24385 /* We use char because int might match the return type of a gcc2
24386 builtin and then its argument prototype would still apply. */
24387 char mspack_create_chm_decompressor ();
24391 mspack_create_chm_decompressor ();
24396 rm -f conftest.
$ac_objext conftest
$ac_exeext
24397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24398 (eval $ac_link) 2>conftest.er1
24400 grep -v '^ *+' conftest.er1
>conftest.err
24402 cat conftest.err
>&5
24403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24404 (exit $ac_status); } &&
24405 { ac_try
='test -z "$ac_c_werror_flag"
24406 || test ! -s conftest.err'
24407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24408 (eval $ac_try) 2>&5
24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411 (exit $ac_status); }; } &&
24412 { ac_try
='test -s conftest$ac_exeext'
24413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24414 (eval $ac_try) 2>&5
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); }; }; then
24418 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
24420 echo "$as_me: failed program was:" >&5
24421 sed 's/^/| /' conftest.
$ac_ext >&5
24423 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
24425 rm -f conftest.err conftest.
$ac_objext \
24426 conftest
$ac_exeext conftest.
$ac_ext
24427 LIBS
=$ac_check_lib_save_LIBS
24429 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24430 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24431 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24432 MSPACK_LINK
=" -lmspack"
24436 if test "x$MSPACK_LINK" = "x" ; then
24441 if test "$wxUSE_LIBMSPACK" != "no"; then
24442 cat >>confdefs.h
<<\_ACEOF
24443 #define wxUSE_LIBMSPACK 1
24457 if test "$USE_WIN32" = 1 ; then
24459 for ac_header
in w32api.h
24461 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24463 echo "$as_me:$LINENO: checking for $ac_header" >&5
24464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24466 echo $ECHO_N "(cached) $ECHO_C" >&6
24468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24471 # Is the header compilable?
24472 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24473 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24474 cat >conftest.
$ac_ext <<_ACEOF
24477 cat confdefs.h
>>conftest.
$ac_ext
24478 cat >>conftest.
$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24480 $ac_includes_default
24481 #include <$ac_header>
24483 rm -f conftest.
$ac_objext
24484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24485 (eval $ac_compile) 2>conftest.er1
24487 grep -v '^ *+' conftest.er1
>conftest.err
24489 cat conftest.err
>&5
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); } &&
24492 { ac_try
='test -z "$ac_c_werror_flag"
24493 || test ! -s conftest.err'
24494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24495 (eval $ac_try) 2>&5
24497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24498 (exit $ac_status); }; } &&
24499 { ac_try
='test -s conftest.$ac_objext'
24500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24501 (eval $ac_try) 2>&5
24503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24504 (exit $ac_status); }; }; then
24505 ac_header_compiler
=yes
24507 echo "$as_me: failed program was:" >&5
24508 sed 's/^/| /' conftest.
$ac_ext >&5
24510 ac_header_compiler
=no
24512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24514 echo "${ECHO_T}$ac_header_compiler" >&6
24516 # Is the header present?
24517 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24518 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24519 cat >conftest.
$ac_ext <<_ACEOF
24522 cat confdefs.h
>>conftest.
$ac_ext
24523 cat >>conftest.
$ac_ext <<_ACEOF
24524 /* end confdefs.h. */
24525 #include <$ac_header>
24527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24528 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24530 grep -v '^ *+' conftest.er1
>conftest.err
24532 cat conftest.err
>&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); } >/dev
/null
; then
24535 if test -s conftest.err
; then
24536 ac_cpp_err
=$ac_c_preproc_warn_flag
24537 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24544 if test -z "$ac_cpp_err"; then
24545 ac_header_preproc
=yes
24547 echo "$as_me: failed program was:" >&5
24548 sed 's/^/| /' conftest.
$ac_ext >&5
24550 ac_header_preproc
=no
24552 rm -f conftest.err conftest.
$ac_ext
24553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24554 echo "${ECHO_T}$ac_header_preproc" >&6
24556 # So? What about this header?
24557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24559 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24560 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24562 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24563 ac_header_preproc
=yes
24566 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24568 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24569 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24570 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24571 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24572 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24573 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24576 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24577 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24580 ## ----------------------------------------- ##
24581 ## Report this to wx-dev@lists.wxwidgets.org ##
24582 ## ----------------------------------------- ##
24585 sed "s/^/$as_me: WARNING: /" >&2
24588 echo "$as_me:$LINENO: checking for $ac_header" >&5
24589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24591 echo $ECHO_N "(cached) $ECHO_C" >&6
24593 eval "$as_ac_Header=\$ac_header_preproc"
24595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24600 cat >>confdefs.h
<<_ACEOF
24601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24608 if test "${ac_cv_header_windows_h+set}" = set; then
24609 echo "$as_me:$LINENO: checking for windows.h" >&5
24610 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24611 if test "${ac_cv_header_windows_h+set}" = set; then
24612 echo $ECHO_N "(cached) $ECHO_C" >&6
24614 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24615 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24617 # Is the header compilable?
24618 echo "$as_me:$LINENO: checking windows.h usability" >&5
24619 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24620 cat >conftest.
$ac_ext <<_ACEOF
24623 cat confdefs.h
>>conftest.
$ac_ext
24624 cat >>conftest.
$ac_ext <<_ACEOF
24625 /* end confdefs.h. */
24626 $ac_includes_default
24627 #include <windows.h>
24629 rm -f conftest.
$ac_objext
24630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24631 (eval $ac_compile) 2>conftest.er1
24633 grep -v '^ *+' conftest.er1
>conftest.err
24635 cat conftest.err
>&5
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); } &&
24638 { ac_try
='test -z "$ac_c_werror_flag"
24639 || test ! -s conftest.err'
24640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24641 (eval $ac_try) 2>&5
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); }; } &&
24645 { ac_try
='test -s conftest.$ac_objext'
24646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24647 (eval $ac_try) 2>&5
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); }; }; then
24651 ac_header_compiler
=yes
24653 echo "$as_me: failed program was:" >&5
24654 sed 's/^/| /' conftest.
$ac_ext >&5
24656 ac_header_compiler
=no
24658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24659 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24660 echo "${ECHO_T}$ac_header_compiler" >&6
24662 # Is the header present?
24663 echo "$as_me:$LINENO: checking windows.h presence" >&5
24664 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24665 cat >conftest.
$ac_ext <<_ACEOF
24668 cat confdefs.h
>>conftest.
$ac_ext
24669 cat >>conftest.
$ac_ext <<_ACEOF
24670 /* end confdefs.h. */
24671 #include <windows.h>
24673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24674 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24676 grep -v '^ *+' conftest.er1
>conftest.err
24678 cat conftest.err
>&5
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); } >/dev
/null
; then
24681 if test -s conftest.err
; then
24682 ac_cpp_err
=$ac_c_preproc_warn_flag
24683 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24690 if test -z "$ac_cpp_err"; then
24691 ac_header_preproc
=yes
24693 echo "$as_me: failed program was:" >&5
24694 sed 's/^/| /' conftest.
$ac_ext >&5
24696 ac_header_preproc
=no
24698 rm -f conftest.err conftest.
$ac_ext
24699 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24700 echo "${ECHO_T}$ac_header_preproc" >&6
24702 # So? What about this header?
24703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24705 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24706 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24707 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24708 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24709 ac_header_preproc
=yes
24712 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24713 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24714 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24715 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24716 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24717 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24718 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24719 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24720 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24721 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24722 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24723 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24726 ## ----------------------------------------- ##
24727 ## Report this to wx-dev@lists.wxwidgets.org ##
24728 ## ----------------------------------------- ##
24731 sed "s/^/$as_me: WARNING: /" >&2
24734 echo "$as_me:$LINENO: checking for windows.h" >&5
24735 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24736 if test "${ac_cv_header_windows_h+set}" = set; then
24737 echo $ECHO_N "(cached) $ECHO_C" >&6
24739 ac_cv_header_windows_h
=$ac_header_preproc
24741 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24742 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24745 if test $ac_cv_header_windows_h = yes; then
24749 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24750 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24751 { (exit 1); exit 1; }; }
24757 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24759 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24760 LIBS
="$LIBS -loleacc"
24765 LIBS
="$LIBS -lkernel32 -luser32"
24766 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24769 if test "$wxUSE_ODBC" = "sys" ; then
24772 if test "$wxUSE_ODBC" = "yes" ; then
24773 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24774 cat >>confdefs.h
<<\_ACEOF
24775 #define wxUSE_ODBC 1
24780 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24781 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24783 WIN32INSTALL
=win32install
24786 if test "$wxUSE_GUI" = "yes"; then
24796 if test "$wxUSE_COCOA" = 1 ; then
24797 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24798 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24799 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24800 wxUSE_PRINTING_ARCHITECTURE
=no
24802 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24803 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24804 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24805 wxUSE_DRAG_AND_DROP
=no
24807 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24808 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24809 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24814 if test "$wxUSE_MSW" = 1 ; then
24820 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24824 if test "$wxUSE_GTK" = 1; then
24825 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24826 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24828 gtk_version_cached
=1
24829 if test "${wx_cv_lib_gtk+set}" = set; then
24830 echo $ECHO_N "(cached) $ECHO_C" >&6
24833 gtk_version_cached
=0
24834 echo "$as_me:$LINENO: result: " >&5
24835 echo "${ECHO_T}" >&6
24838 if test "$wxUSE_THREADS" = "yes"; then
24839 GTK_MODULES
=gthread
24843 if test "x$wxGTK_VERSION" != "x1"; then
24844 # Check whether --enable-gtktest or --disable-gtktest was given.
24845 if test "${enable_gtktest+set}" = set; then
24846 enableval
="$enable_gtktest"
24852 pkg_config_args
=gtk
+-2.0
24853 for module
in .
$GTK_MODULES
24857 pkg_config_args
="$pkg_config_args gthread-2.0"
24864 # Extract the first word of "pkg-config", so it can be a program name with args.
24865 set dummy pkg
-config; ac_word
=$2
24866 echo "$as_me:$LINENO: checking for $ac_word" >&5
24867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24868 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24869 echo $ECHO_N "(cached) $ECHO_C" >&6
24871 case $PKG_CONFIG in
24873 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24877 for as_dir
in $PATH
24880 test -z "$as_dir" && as_dir
=.
24881 for ac_exec_ext
in '' $ac_executable_extensions; do
24882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24883 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24890 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24894 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24896 if test -n "$PKG_CONFIG"; then
24897 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24898 echo "${ECHO_T}$PKG_CONFIG" >&6
24900 echo "$as_me:$LINENO: result: no" >&5
24901 echo "${ECHO_T}no" >&6
24905 if test x
$PKG_CONFIG != xno
; then
24906 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24909 echo "*** pkg-config too old; version 0.7 or better required."
24917 min_gtk_version
=2.0.0
24918 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24919 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24921 if test x
$PKG_CONFIG != xno
; then
24922 ## don't try to run the test against uninstalled libtool libs
24923 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24924 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24928 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24935 if test x
"$no_gtk" = x
; then
24936 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24937 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24938 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24940 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24942 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24944 if test "x$enable_gtktest" = "xyes" ; then
24945 ac_save_CFLAGS
="$CFLAGS"
24946 ac_save_LIBS
="$LIBS"
24947 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24948 LIBS
="$GTK_LIBS $LIBS"
24950 if test "$cross_compiling" = yes; then
24951 echo $ac_n "cross compiling; assumed OK... $ac_c"
24953 cat >conftest.
$ac_ext <<_ACEOF
24956 cat confdefs.h
>>conftest.
$ac_ext
24957 cat >>conftest.
$ac_ext <<_ACEOF
24958 /* end confdefs.h. */
24960 #include <gtk/gtk.h>
24962 #include <stdlib.h>
24967 int major, minor, micro;
24970 system ("touch conf.gtktest");
24972 /* HP/UX 9 (%@#!) writes to sscanf strings */
24973 tmp_version = g_strdup("$min_gtk_version");
24974 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24975 printf("%s, bad version string\n", "$min_gtk_version");
24979 if ((gtk_major_version != $gtk_config_major_version) ||
24980 (gtk_minor_version != $gtk_config_minor_version) ||
24981 (gtk_micro_version != $gtk_config_micro_version))
24983 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24984 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24985 gtk_major_version, gtk_minor_version, gtk_micro_version);
24986 printf ("*** was found! If pkg-config was correct, then it is best\n");
24987 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24988 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24989 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24990 printf("*** required on your system.\n");
24991 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24992 printf("*** to point to the correct configuration files\n");
24994 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24995 (gtk_minor_version != GTK_MINOR_VERSION) ||
24996 (gtk_micro_version != GTK_MICRO_VERSION))
24998 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24999 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25000 printf("*** library (version %d.%d.%d)\n",
25001 gtk_major_version, gtk_minor_version, gtk_micro_version);
25005 if ((gtk_major_version > major) ||
25006 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25007 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25013 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25014 gtk_major_version, gtk_minor_version, gtk_micro_version);
25015 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25016 major, minor, micro);
25017 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25019 printf("*** If you have already installed a sufficiently new version, this error\n");
25020 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
25021 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25022 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
25023 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
25024 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25025 printf("*** so that the correct libraries are found at run-time))\n");
25032 rm -f conftest
$ac_exeext
25033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25034 (eval $ac_link) 2>&5
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25039 (eval $ac_try) 2>&5
25041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042 (exit $ac_status); }; }; then
25045 echo "$as_me: program exited with status $ac_status" >&5
25046 echo "$as_me: failed program was:" >&5
25047 sed 's/^/| /' conftest.
$ac_ext >&5
25049 ( exit $ac_status )
25052 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25054 CFLAGS
="$ac_save_CFLAGS"
25055 LIBS
="$ac_save_LIBS"
25058 if test "x$no_gtk" = x
; then
25059 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
25060 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
25063 echo "$as_me:$LINENO: result: no" >&5
25064 echo "${ECHO_T}no" >&6
25065 if test "$PKG_CONFIG" = "no" ; then
25066 echo "*** A new enough version of pkg-config was not found."
25067 echo "*** See http://pkgconfig.sourceforge.net"
25069 if test -f conf.gtktest
; then
25072 echo "*** Could not run GTK+ test program, checking why..."
25073 ac_save_CFLAGS
="$CFLAGS"
25074 ac_save_LIBS
="$LIBS"
25075 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25076 LIBS
="$LIBS $GTK_LIBS"
25077 cat >conftest.
$ac_ext <<_ACEOF
25080 cat confdefs.h
>>conftest.
$ac_ext
25081 cat >>conftest.
$ac_ext <<_ACEOF
25082 /* end confdefs.h. */
25084 #include <gtk/gtk.h>
25090 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25095 rm -f conftest.
$ac_objext conftest
$ac_exeext
25096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25097 (eval $ac_link) 2>conftest.er1
25099 grep -v '^ *+' conftest.er1
>conftest.err
25101 cat conftest.err
>&5
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); } &&
25104 { ac_try
='test -z "$ac_c_werror_flag"
25105 || test ! -s conftest.err'
25106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25107 (eval $ac_try) 2>&5
25109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25110 (exit $ac_status); }; } &&
25111 { ac_try
='test -s conftest$ac_exeext'
25112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25113 (eval $ac_try) 2>&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); }; }; then
25117 echo "*** The test program compiled, but did not run. This usually means"
25118 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
25119 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
25120 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25121 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25122 echo "*** is required on your system"
25124 echo "*** If you have an old version installed, it is best to remove it, although"
25125 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25127 echo "$as_me: failed program was:" >&5
25128 sed 's/^/| /' conftest.
$ac_ext >&5
25130 echo "*** The test program failed to compile or link. See the file config.log for the"
25131 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
25133 rm -f conftest.err conftest.
$ac_objext \
25134 conftest
$ac_exeext conftest.
$ac_ext
25135 CFLAGS
="$ac_save_CFLAGS"
25136 LIBS
="$ac_save_LIBS"
25149 if test -z "$wx_cv_lib_gtk"; then
25150 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
25152 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25153 if test "${with_gtk_prefix+set}" = set; then
25154 withval
="$with_gtk_prefix"
25155 gtk_config_prefix
="$withval"
25157 gtk_config_prefix
=""
25160 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25161 if test "${with_gtk_exec_prefix+set}" = set; then
25162 withval
="$with_gtk_exec_prefix"
25163 gtk_config_exec_prefix
="$withval"
25165 gtk_config_exec_prefix
=""
25167 # Check whether --enable-gtktest or --disable-gtktest was given.
25168 if test "${enable_gtktest+set}" = set; then
25169 enableval
="$enable_gtktest"
25175 for module
in .
$GTK_MODULES
25179 gtk_config_args
="$gtk_config_args gthread"
25184 if test x
$gtk_config_exec_prefix != x
; then
25185 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25186 if test x
${GTK_CONFIG+set} != xset
; then
25187 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25190 if test x
$gtk_config_prefix != x
; then
25191 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25192 if test x
${GTK_CONFIG+set} != xset
; then
25193 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25197 # Extract the first word of "gtk-config", so it can be a program name with args.
25198 set dummy gtk
-config; ac_word
=$2
25199 echo "$as_me:$LINENO: checking for $ac_word" >&5
25200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25201 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25202 echo $ECHO_N "(cached) $ECHO_C" >&6
25204 case $GTK_CONFIG in
25206 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25210 for as_dir
in $PATH
25213 test -z "$as_dir" && as_dir
=.
25214 for ac_exec_ext
in '' $ac_executable_extensions; do
25215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25216 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25223 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25227 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25229 if test -n "$GTK_CONFIG"; then
25230 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25231 echo "${ECHO_T}$GTK_CONFIG" >&6
25233 echo "$as_me:$LINENO: result: no" >&5
25234 echo "${ECHO_T}no" >&6
25237 min_gtk_version
=1.2.7
25238 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25239 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25241 if test "$GTK_CONFIG" = "no" ; then
25244 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25245 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25246 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25248 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25250 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25252 if test "x$enable_gtktest" = "xyes" ; then
25253 ac_save_CFLAGS
="$CFLAGS"
25254 ac_save_LIBS
="$LIBS"
25255 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25256 LIBS
="$GTK_LIBS $LIBS"
25258 if test "$cross_compiling" = yes; then
25259 echo $ac_n "cross compiling; assumed OK... $ac_c"
25261 cat >conftest.
$ac_ext <<_ACEOF
25264 cat confdefs.h
>>conftest.
$ac_ext
25265 cat >>conftest.
$ac_ext <<_ACEOF
25266 /* end confdefs.h. */
25268 #include <gtk/gtk.h>
25270 #include <stdlib.h>
25275 int major, minor, micro;
25278 system ("touch conf.gtktest");
25280 /* HP/UX 9 (%@#!) writes to sscanf strings */
25281 tmp_version = g_strdup("$min_gtk_version");
25282 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25283 printf("%s, bad version string\n", "$min_gtk_version");
25287 if ((gtk_major_version != $gtk_config_major_version) ||
25288 (gtk_minor_version != $gtk_config_minor_version) ||
25289 (gtk_micro_version != $gtk_config_micro_version))
25291 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25292 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25293 gtk_major_version, gtk_minor_version, gtk_micro_version);
25294 printf ("*** was found! If gtk-config was correct, then it is best\n");
25295 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25296 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25297 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25298 printf("*** required on your system.\n");
25299 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25300 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25301 printf("*** before re-running configure\n");
25303 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25304 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25305 (gtk_minor_version != GTK_MINOR_VERSION) ||
25306 (gtk_micro_version != GTK_MICRO_VERSION))
25308 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25309 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25310 printf("*** library (version %d.%d.%d)\n",
25311 gtk_major_version, gtk_minor_version, gtk_micro_version);
25313 #endif /* defined (GTK_MAJOR_VERSION) ... */
25316 if ((gtk_major_version > major) ||
25317 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25318 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25324 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25325 gtk_major_version, gtk_minor_version, gtk_micro_version);
25326 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25327 major, minor, micro);
25328 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25330 printf("*** If you have already installed a sufficiently new version, this error\n");
25331 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25332 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25333 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25334 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25335 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25336 printf("*** so that the correct libraries are found at run-time))\n");
25343 rm -f conftest
$ac_exeext
25344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25345 (eval $ac_link) 2>&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25350 (eval $ac_try) 2>&5
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); }; }; then
25356 echo "$as_me: program exited with status $ac_status" >&5
25357 echo "$as_me: failed program was:" >&5
25358 sed 's/^/| /' conftest.
$ac_ext >&5
25360 ( exit $ac_status )
25363 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25365 CFLAGS
="$ac_save_CFLAGS"
25366 LIBS
="$ac_save_LIBS"
25369 if test "x$no_gtk" = x
; then
25370 echo "$as_me:$LINENO: result: yes" >&5
25371 echo "${ECHO_T}yes" >&6
25372 wx_cv_lib_gtk
=1.2.7
25374 echo "$as_me:$LINENO: result: no" >&5
25375 echo "${ECHO_T}no" >&6
25376 if test "$GTK_CONFIG" = "no" ; then
25377 echo "*** The gtk-config script installed by GTK could not be found"
25378 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25379 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25380 echo "*** full path to gtk-config."
25382 if test -f conf.gtktest
; then
25385 echo "*** Could not run GTK test program, checking why..."
25386 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25387 LIBS
="$LIBS $GTK_LIBS"
25388 cat >conftest.
$ac_ext <<_ACEOF
25391 cat confdefs.h
>>conftest.
$ac_ext
25392 cat >>conftest.
$ac_ext <<_ACEOF
25393 /* end confdefs.h. */
25395 #include <gtk/gtk.h>
25401 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25406 rm -f conftest.
$ac_objext conftest
$ac_exeext
25407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25408 (eval $ac_link) 2>conftest.er1
25410 grep -v '^ *+' conftest.er1
>conftest.err
25412 cat conftest.err
>&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } &&
25415 { ac_try
='test -z "$ac_c_werror_flag"
25416 || test ! -s conftest.err'
25417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418 (eval $ac_try) 2>&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); }; } &&
25422 { ac_try
='test -s conftest$ac_exeext'
25423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424 (eval $ac_try) 2>&5
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); }; }; then
25428 echo "*** The test program compiled, but did not run. This usually means"
25429 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25430 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25431 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25432 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25433 echo "*** is required on your system"
25435 echo "*** If you have an old version installed, it is best to remove it, although"
25436 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25438 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25439 echo "*** came with the system with the command"
25441 echo "*** rpm --erase --nodeps gtk gtk-devel"
25443 echo "$as_me: failed program was:" >&5
25444 sed 's/^/| /' conftest.
$ac_ext >&5
25446 echo "*** The test program failed to compile or link. See the file config.log for the"
25447 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25448 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25449 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25451 rm -f conftest.err conftest.
$ac_objext \
25452 conftest
$ac_exeext conftest.
$ac_ext
25453 CFLAGS
="$ac_save_CFLAGS"
25454 LIBS
="$ac_save_LIBS"
25466 if test -z "$wx_cv_lib_gtk"; then
25468 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25469 if test "${with_gtk_prefix+set}" = set; then
25470 withval
="$with_gtk_prefix"
25471 gtk_config_prefix
="$withval"
25473 gtk_config_prefix
=""
25476 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25477 if test "${with_gtk_exec_prefix+set}" = set; then
25478 withval
="$with_gtk_exec_prefix"
25479 gtk_config_exec_prefix
="$withval"
25481 gtk_config_exec_prefix
=""
25483 # Check whether --enable-gtktest or --disable-gtktest was given.
25484 if test "${enable_gtktest+set}" = set; then
25485 enableval
="$enable_gtktest"
25491 for module
in .
$GTK_MODULES
25495 gtk_config_args
="$gtk_config_args gthread"
25500 if test x
$gtk_config_exec_prefix != x
; then
25501 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25502 if test x
${GTK_CONFIG+set} != xset
; then
25503 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25506 if test x
$gtk_config_prefix != x
; then
25507 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25508 if test x
${GTK_CONFIG+set} != xset
; then
25509 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25513 # Extract the first word of "gtk-config", so it can be a program name with args.
25514 set dummy gtk
-config; ac_word
=$2
25515 echo "$as_me:$LINENO: checking for $ac_word" >&5
25516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25517 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25518 echo $ECHO_N "(cached) $ECHO_C" >&6
25520 case $GTK_CONFIG in
25522 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25526 for as_dir
in $PATH
25529 test -z "$as_dir" && as_dir
=.
25530 for ac_exec_ext
in '' $ac_executable_extensions; do
25531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25532 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25539 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25543 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25545 if test -n "$GTK_CONFIG"; then
25546 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25547 echo "${ECHO_T}$GTK_CONFIG" >&6
25549 echo "$as_me:$LINENO: result: no" >&5
25550 echo "${ECHO_T}no" >&6
25553 min_gtk_version
=1.2.3
25554 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25555 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25557 if test "$GTK_CONFIG" = "no" ; then
25560 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25561 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25562 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25563 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25564 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25566 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25568 if test "x$enable_gtktest" = "xyes" ; then
25569 ac_save_CFLAGS
="$CFLAGS"
25570 ac_save_LIBS
="$LIBS"
25571 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25572 LIBS
="$GTK_LIBS $LIBS"
25574 if test "$cross_compiling" = yes; then
25575 echo $ac_n "cross compiling; assumed OK... $ac_c"
25577 cat >conftest.
$ac_ext <<_ACEOF
25580 cat confdefs.h
>>conftest.
$ac_ext
25581 cat >>conftest.
$ac_ext <<_ACEOF
25582 /* end confdefs.h. */
25584 #include <gtk/gtk.h>
25586 #include <stdlib.h>
25591 int major, minor, micro;
25594 system ("touch conf.gtktest");
25596 /* HP/UX 9 (%@#!) writes to sscanf strings */
25597 tmp_version = g_strdup("$min_gtk_version");
25598 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25599 printf("%s, bad version string\n", "$min_gtk_version");
25603 if ((gtk_major_version != $gtk_config_major_version) ||
25604 (gtk_minor_version != $gtk_config_minor_version) ||
25605 (gtk_micro_version != $gtk_config_micro_version))
25607 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25608 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25609 gtk_major_version, gtk_minor_version, gtk_micro_version);
25610 printf ("*** was found! If gtk-config was correct, then it is best\n");
25611 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25612 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25613 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25614 printf("*** required on your system.\n");
25615 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25616 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25617 printf("*** before re-running configure\n");
25619 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25620 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25621 (gtk_minor_version != GTK_MINOR_VERSION) ||
25622 (gtk_micro_version != GTK_MICRO_VERSION))
25624 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25625 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25626 printf("*** library (version %d.%d.%d)\n",
25627 gtk_major_version, gtk_minor_version, gtk_micro_version);
25629 #endif /* defined (GTK_MAJOR_VERSION) ... */
25632 if ((gtk_major_version > major) ||
25633 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25634 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25640 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25641 gtk_major_version, gtk_minor_version, gtk_micro_version);
25642 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25643 major, minor, micro);
25644 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25646 printf("*** If you have already installed a sufficiently new version, this error\n");
25647 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25648 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25649 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25650 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25651 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25652 printf("*** so that the correct libraries are found at run-time))\n");
25659 rm -f conftest
$ac_exeext
25660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25661 (eval $ac_link) 2>&5
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666 (eval $ac_try) 2>&5
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); }; }; then
25672 echo "$as_me: program exited with status $ac_status" >&5
25673 echo "$as_me: failed program was:" >&5
25674 sed 's/^/| /' conftest.
$ac_ext >&5
25676 ( exit $ac_status )
25679 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25681 CFLAGS
="$ac_save_CFLAGS"
25682 LIBS
="$ac_save_LIBS"
25685 if test "x$no_gtk" = x
; then
25686 echo "$as_me:$LINENO: result: yes" >&5
25687 echo "${ECHO_T}yes" >&6
25688 wx_cv_lib_gtk
=1.2.3
25690 echo "$as_me:$LINENO: result: no" >&5
25691 echo "${ECHO_T}no" >&6
25692 if test "$GTK_CONFIG" = "no" ; then
25693 echo "*** The gtk-config script installed by GTK could not be found"
25694 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25695 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25696 echo "*** full path to gtk-config."
25698 if test -f conf.gtktest
; then
25701 echo "*** Could not run GTK test program, checking why..."
25702 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25703 LIBS
="$LIBS $GTK_LIBS"
25704 cat >conftest.
$ac_ext <<_ACEOF
25707 cat confdefs.h
>>conftest.
$ac_ext
25708 cat >>conftest.
$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25711 #include <gtk/gtk.h>
25717 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25722 rm -f conftest.
$ac_objext conftest
$ac_exeext
25723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25724 (eval $ac_link) 2>conftest.er1
25726 grep -v '^ *+' conftest.er1
>conftest.err
25728 cat conftest.err
>&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); } &&
25731 { ac_try
='test -z "$ac_c_werror_flag"
25732 || test ! -s conftest.err'
25733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25734 (eval $ac_try) 2>&5
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); }; } &&
25738 { ac_try
='test -s conftest$ac_exeext'
25739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25740 (eval $ac_try) 2>&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); }; }; then
25744 echo "*** The test program compiled, but did not run. This usually means"
25745 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25746 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25747 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25748 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25749 echo "*** is required on your system"
25751 echo "*** If you have an old version installed, it is best to remove it, although"
25752 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25754 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25755 echo "*** came with the system with the command"
25757 echo "*** rpm --erase --nodeps gtk gtk-devel"
25759 echo "$as_me: failed program was:" >&5
25760 sed 's/^/| /' conftest.
$ac_ext >&5
25762 echo "*** The test program failed to compile or link. See the file config.log for the"
25763 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25764 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25765 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25767 rm -f conftest.err conftest.
$ac_objext \
25768 conftest
$ac_exeext conftest.
$ac_ext
25769 CFLAGS
="$ac_save_CFLAGS"
25770 LIBS
="$ac_save_LIBS"
25785 if test -z "$wx_cv_lib_gtk"; then
25788 wx_cv_cflags_gtk
=$GTK_CFLAGS
25789 wx_cv_libs_gtk
=$GTK_LIBS
25796 if test "$gtk_version_cached" = 1; then
25797 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25798 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25801 case "$wx_cv_lib_gtk" in
25810 *) { { echo "$as_me:$LINENO: error:
25811 The development files for GTK+ were not found. For GTK+ 2, please
25812 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25813 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25814 and that the version is 1.2.3 or above. Also check that the
25815 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25816 --libs' are in the LD_LIBRARY_PATH or equivalent.
25818 echo "$as_me: error:
25819 The development files for GTK+ were not found. For GTK+ 2, please
25820 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25821 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25822 and that the version is 1.2.3 or above. Also check that the
25823 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25824 --libs' are in the LD_LIBRARY_PATH or equivalent.
25826 { (exit 1); exit 1; }; }
25830 if test "$WXGTK20" = 1; then
25831 save_CFLAGS
="$CFLAGS"
25833 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25834 LIBS
="$LIBS $wx_cv_libs_gtk"
25837 for ac_func
in pango_font_family_is_monospace
25839 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25840 echo "$as_me:$LINENO: checking for $ac_func" >&5
25841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25842 if eval "test \"\${$as_ac_var+set}\" = set"; then
25843 echo $ECHO_N "(cached) $ECHO_C" >&6
25845 cat >conftest.
$ac_ext <<_ACEOF
25848 cat confdefs.h
>>conftest.
$ac_ext
25849 cat >>conftest.
$ac_ext <<_ACEOF
25850 /* end confdefs.h. */
25851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25853 #define $ac_func innocuous_$ac_func
25855 /* System header to define __stub macros and hopefully few prototypes,
25856 which can conflict with char $ac_func (); below.
25857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25858 <limits.h> exists even on freestanding compilers. */
25861 # include <limits.h>
25863 # include <assert.h>
25868 /* Override any gcc2 internal prototype to avoid an error. */
25873 /* We use char because int might match the return type of a gcc2
25874 builtin and then its argument prototype would still apply. */
25876 /* The GNU C library defines this for functions which it implements
25877 to always fail with ENOSYS. Some functions are actually named
25878 something starting with __ and the normal name is an alias. */
25879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25882 char (*f) () = $ac_func;
25891 return f != $ac_func;
25896 rm -f conftest.
$ac_objext conftest
$ac_exeext
25897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25898 (eval $ac_link) 2>conftest.er1
25900 grep -v '^ *+' conftest.er1
>conftest.err
25902 cat conftest.err
>&5
25903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904 (exit $ac_status); } &&
25905 { ac_try
='test -z "$ac_c_werror_flag"
25906 || test ! -s conftest.err'
25907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25908 (eval $ac_try) 2>&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); }; } &&
25912 { ac_try
='test -s conftest$ac_exeext'
25913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25914 (eval $ac_try) 2>&5
25916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917 (exit $ac_status); }; }; then
25918 eval "$as_ac_var=yes"
25920 echo "$as_me: failed program was:" >&5
25921 sed 's/^/| /' conftest.
$ac_ext >&5
25923 eval "$as_ac_var=no"
25925 rm -f conftest.err conftest.
$ac_objext \
25926 conftest
$ac_exeext conftest.
$ac_ext
25928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25930 if test `eval echo '${'$as_ac_var'}'` = yes; then
25931 cat >>confdefs.h
<<_ACEOF
25932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25939 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
25940 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
25941 cat >conftest.
$ac_ext <<_ACEOF
25944 cat confdefs.h
>>conftest.
$ac_ext
25945 cat >>conftest.
$ac_ext <<_ACEOF
25946 /* end confdefs.h. */
25948 #include <gtk/gtk.h>
25954 void *f = gtk_icon_size_lookup;
25960 rm -f conftest.
$ac_objext
25961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25962 (eval $ac_compile) 2>conftest.er1
25964 grep -v '^ *+' conftest.er1
>conftest.err
25966 cat conftest.err
>&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); } &&
25969 { ac_try
='test -z "$ac_c_werror_flag"
25970 || test ! -s conftest.err'
25971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25972 (eval $ac_try) 2>&5
25974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25975 (exit $ac_status); }; } &&
25976 { ac_try
='test -s conftest.$ac_objext'
25977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25978 (eval $ac_try) 2>&5
25980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25981 (exit $ac_status); }; }; then
25983 echo "$as_me:$LINENO: result: no" >&5
25984 echo "${ECHO_T}no" >&6
25987 echo "$as_me: failed program was:" >&5
25988 sed 's/^/| /' conftest.
$ac_ext >&5
25991 cat >>confdefs.h
<<\_ACEOF
25992 #define NEED_GTK_ICON_SIZE_LOOKUP 1
25995 echo "$as_me:$LINENO: result: yes" >&5
25996 echo "${ECHO_T}yes" >&6
25999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26001 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
26002 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
26003 cat >conftest.
$ac_ext <<_ACEOF
26006 cat confdefs.h
>>conftest.
$ac_ext
26007 cat >>conftest.
$ac_ext <<_ACEOF
26008 /* end confdefs.h. */
26010 #include <gtk/gtk.h>
26016 #if !GTK_CHECK_VERSION(2,4,0)
26017 #error "Not GTK+ 2.4"
26024 rm -f conftest.
$ac_objext
26025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26026 (eval $ac_compile) 2>conftest.er1
26028 grep -v '^ *+' conftest.er1
>conftest.err
26030 cat conftest.err
>&5
26031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26032 (exit $ac_status); } &&
26033 { ac_try
='test -z "$ac_c_werror_flag"
26034 || test ! -s conftest.err'
26035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26036 (eval $ac_try) 2>&5
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); }; } &&
26040 { ac_try
='test -s conftest.$ac_objext'
26041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26042 (eval $ac_try) 2>&5
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); }; }; then
26047 cat >>confdefs.h
<<\_ACEOF
26048 #define __WXGTK24__ 1
26051 echo "$as_me:$LINENO: result: yes" >&5
26052 echo "${ECHO_T}yes" >&6
26055 echo "$as_me: failed program was:" >&5
26056 sed 's/^/| /' conftest.
$ac_ext >&5
26059 echo "$as_me:$LINENO: result: no" >&5
26060 echo "${ECHO_T}no" >&6
26063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26065 CFLAGS
="$save_CFLAGS"
26068 if test "$wxUSE_UNICODE" = "yes"; then
26069 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
26070 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
26075 if test "$USE_DARWIN" != 1; then
26077 for ac_func
in poll
26079 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26080 echo "$as_me:$LINENO: checking for $ac_func" >&5
26081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26082 if eval "test \"\${$as_ac_var+set}\" = set"; then
26083 echo $ECHO_N "(cached) $ECHO_C" >&6
26085 cat >conftest.
$ac_ext <<_ACEOF
26088 cat confdefs.h
>>conftest.
$ac_ext
26089 cat >>conftest.
$ac_ext <<_ACEOF
26090 /* end confdefs.h. */
26091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26093 #define $ac_func innocuous_$ac_func
26095 /* System header to define __stub macros and hopefully few prototypes,
26096 which can conflict with char $ac_func (); below.
26097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26098 <limits.h> exists even on freestanding compilers. */
26101 # include <limits.h>
26103 # include <assert.h>
26108 /* Override any gcc2 internal prototype to avoid an error. */
26113 /* We use char because int might match the return type of a gcc2
26114 builtin and then its argument prototype would still apply. */
26116 /* The GNU C library defines this for functions which it implements
26117 to always fail with ENOSYS. Some functions are actually named
26118 something starting with __ and the normal name is an alias. */
26119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26122 char (*f) () = $ac_func;
26131 return f != $ac_func;
26136 rm -f conftest.
$ac_objext conftest
$ac_exeext
26137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26138 (eval $ac_link) 2>conftest.er1
26140 grep -v '^ *+' conftest.er1
>conftest.err
26142 cat conftest.err
>&5
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); } &&
26145 { ac_try
='test -z "$ac_c_werror_flag"
26146 || test ! -s conftest.err'
26147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26148 (eval $ac_try) 2>&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; } &&
26152 { ac_try
='test -s conftest$ac_exeext'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; }; then
26158 eval "$as_ac_var=yes"
26160 echo "$as_me: failed program was:" >&5
26161 sed 's/^/| /' conftest.
$ac_ext >&5
26163 eval "$as_ac_var=no"
26165 rm -f conftest.err conftest.
$ac_objext \
26166 conftest
$ac_exeext conftest.
$ac_ext
26168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26170 if test `eval echo '${'$as_ac_var'}'` = yes; then
26171 cat >>confdefs.h
<<_ACEOF
26172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26180 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
26181 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
26183 AFMINSTALL
=afminstall
26187 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
26188 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
26189 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26192 ac_check_lib_save_LIBS
=$LIBS
26194 cat >conftest.
$ac_ext <<_ACEOF
26197 cat confdefs.h
>>conftest.
$ac_ext
26198 cat >>conftest.
$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26201 /* Override any gcc2 internal prototype to avoid an error. */
26205 /* We use char because int might match the return type of a gcc2
26206 builtin and then its argument prototype would still apply. */
26207 char gdk_im_open ();
26216 rm -f conftest.
$ac_objext conftest
$ac_exeext
26217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26218 (eval $ac_link) 2>conftest.er1
26220 grep -v '^ *+' conftest.er1
>conftest.err
26222 cat conftest.err
>&5
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); } &&
26225 { ac_try
='test -z "$ac_c_werror_flag"
26226 || test ! -s conftest.err'
26227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26228 (eval $ac_try) 2>&5
26230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231 (exit $ac_status); }; } &&
26232 { ac_try
='test -s conftest$ac_exeext'
26233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26234 (eval $ac_try) 2>&5
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); }; }; then
26238 ac_cv_lib_gdk_gdk_im_open
=yes
26240 echo "$as_me: failed program was:" >&5
26241 sed 's/^/| /' conftest.
$ac_ext >&5
26243 ac_cv_lib_gdk_gdk_im_open
=no
26245 rm -f conftest.err conftest.
$ac_objext \
26246 conftest
$ac_exeext conftest.
$ac_ext
26247 LIBS
=$ac_check_lib_save_LIBS
26249 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26250 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26251 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26252 cat >>confdefs.h
<<\_ACEOF
26260 if test "$wxUSE_GPE" = "yes"; then
26261 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26262 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26265 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26267 for ac_extension
in a so sl dylib dll.a
; do
26268 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26269 ac_find_libraries
=$ac_dir
26275 if test "$ac_find_libraries" != "" ; then
26277 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26279 if test $result = 0; then
26282 ac_path_to_link
=" -L$ac_find_libraries"
26285 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26287 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26288 echo "${ECHO_T}found at $ac_find_libraries" >&6
26290 echo "$as_me:$LINENO: result: not found" >&5
26291 echo "${ECHO_T}not found" >&6
26297 if test "$wxUSE_MGL" = 1; then
26298 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26299 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26300 if test "x$MGL_ROOT" = x
; then
26301 echo "$as_me:$LINENO: result: not found" >&5
26302 echo "${ECHO_T}not found" >&6
26303 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26304 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26305 { (exit 1); exit 1; }; }
26307 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26308 echo "${ECHO_T}$MGL_ROOT" >&6
26311 echo "$as_me:$LINENO: checking for libmgl location" >&5
26312 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26315 if test "x$wxUSE_SHARED" = xyes
; then
26316 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26318 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26322 mgl_os_candidates
="dos32/dj2"
26325 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26326 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26327 { (exit 1); exit 1; }; }
26333 for mgl_os_i
in $mgl_os_candidates ; do
26334 if test "x$mgl_os" = x
; then
26335 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26336 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
26337 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
26342 if test "x$mgl_lib_type" = x
; then
26343 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
26344 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
26345 mgl_lib_type
=release
26352 if test "x$mgl_os" = x
; then
26353 echo "$as_me:$LINENO: result: not found" >&5
26354 echo "${ECHO_T}not found" >&6
26355 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26356 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26357 { (exit 1); exit 1; }; }
26359 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26360 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26362 wxUSE_UNIVERSAL
="yes"
26364 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
26365 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26367 AFMINSTALL
=afminstall
26372 if test "$wxUSE_MICROWIN" = 1; then
26373 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26374 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26375 if test "x$MICROWINDOWS" = x
; then
26376 echo "$as_me:$LINENO: result: not found" >&5
26377 echo "${ECHO_T}not found" >&6
26378 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26379 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26380 { (exit 1); exit 1; }; }
26382 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26383 echo "${ECHO_T}$MICROWINDOWS" >&6
26386 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
26387 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26388 echo "${ECHO_T}MicroWindows' libraries found." >&6
26390 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26391 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26392 { (exit 1); exit 1; }; }
26395 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
26396 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26398 wxUSE_UNIVERSAL
="yes"
26400 AFMINSTALL
=afminstall
26402 GUIDIST
=MICROWIN_DIST
26404 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26407 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26408 echo "$as_me:$LINENO: checking for X" >&5
26409 echo $ECHO_N "checking for X... $ECHO_C" >&6
26412 # Check whether --with-x or --without-x was given.
26413 if test "${with_x+set}" = set; then
26417 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26418 if test "x$with_x" = xno
; then
26419 # The user explicitly disabled X.
26422 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
26423 # Both variables are already set.
26426 if test "${ac_cv_have_x+set}" = set; then
26427 echo $ECHO_N "(cached) $ECHO_C" >&6
26429 # One or both of the vars are not set, and there is no cached value.
26430 ac_x_includes
=no ac_x_libraries
=no
26431 rm -fr conftest.dir
26432 if mkdir conftest.dir
; then
26434 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26435 cat >Imakefile
<<'_ACEOF'
26437 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26439 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
26440 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26441 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26442 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26443 for ac_extension
in a so sl
; do
26444 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
26445 test -f $ac_im_libdir/libX11.
$ac_extension; then
26446 ac_im_usrlibdir
=$ac_im_libdir; break
26449 # Screen out bogus values from the imake configuration. They are
26450 # bogus both because they are the default anyway, and because
26451 # using them would break gcc on systems where it needs fixed includes.
26452 case $ac_im_incroot in
26454 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
26456 case $ac_im_usrlibdir in
26457 /usr
/lib
| /lib
) ;;
26458 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
26462 rm -fr conftest.dir
26465 # Standard set of common directories for X headers.
26466 # Check X11 before X11Rn because it is often a symlink to the current release.
26478 /usr/local/X11/include
26479 /usr/local/X11R6/include
26480 /usr/local/X11R5/include
26481 /usr/local/X11R4/include
26483 /usr/local/include/X11
26484 /usr/local/include/X11R6
26485 /usr/local/include/X11R5
26486 /usr/local/include/X11R4
26490 /usr/XFree86/include/X11
26494 /usr/unsupported/include
26495 /usr/athena/include
26496 /usr/local/x11r5/include
26497 /usr/lpp/Xamples/include
26499 /usr/openwin/include
26500 /usr/openwin/share/include'
26502 if test "$ac_x_includes" = no
; then
26503 # Guess where to find include files, by looking for Intrinsic.h.
26504 # First, try using that file with no special directory specified.
26505 cat >conftest.
$ac_ext <<_ACEOF
26508 cat confdefs.h
>>conftest.
$ac_ext
26509 cat >>conftest.
$ac_ext <<_ACEOF
26510 /* end confdefs.h. */
26511 #include <X11/Intrinsic.h>
26513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26514 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26516 grep -v '^ *+' conftest.er1
>conftest.err
26518 cat conftest.err
>&5
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); } >/dev
/null
; then
26521 if test -s conftest.err
; then
26522 ac_cpp_err
=$ac_c_preproc_warn_flag
26523 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26530 if test -z "$ac_cpp_err"; then
26531 # We can compile using X headers with no special include directory.
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.
$ac_ext >&5
26537 for ac_dir
in $ac_x_header_dirs; do
26538 if test -r "$ac_dir/X11/Intrinsic.h"; then
26539 ac_x_includes
=$ac_dir
26544 rm -f conftest.err conftest.
$ac_ext
26545 fi # $ac_x_includes = no
26547 if test "$ac_x_libraries" = no
; then
26548 # Check for the libraries.
26549 # See if we find them without any special options.
26550 # Don't add to $LIBS permanently.
26553 cat >conftest.
$ac_ext <<_ACEOF
26556 cat confdefs.h
>>conftest.
$ac_ext
26557 cat >>conftest.
$ac_ext <<_ACEOF
26558 /* end confdefs.h. */
26559 #include <X11/Intrinsic.h>
26568 rm -f conftest.
$ac_objext conftest
$ac_exeext
26569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26570 (eval $ac_link) 2>conftest.er1
26572 grep -v '^ *+' conftest.er1
>conftest.err
26574 cat conftest.err
>&5
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); } &&
26577 { ac_try
='test -z "$ac_c_werror_flag"
26578 || test ! -s conftest.err'
26579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26580 (eval $ac_try) 2>&5
26582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26583 (exit $ac_status); }; } &&
26584 { ac_try
='test -s conftest$ac_exeext'
26585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26586 (eval $ac_try) 2>&5
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); }; }; then
26591 # We can link X programs with no special library path.
26594 echo "$as_me: failed program was:" >&5
26595 sed 's/^/| /' conftest.
$ac_ext >&5
26598 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26600 # Don't even attempt the hair of trying to link an X program!
26601 for ac_extension
in a so sl
; do
26602 if test -r $ac_dir/libXt.
$ac_extension; then
26603 ac_x_libraries
=$ac_dir
26609 rm -f conftest.err conftest.
$ac_objext \
26610 conftest
$ac_exeext conftest.
$ac_ext
26611 fi # $ac_x_libraries = no
26613 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26614 # Didn't find X anywhere. Cache the known absence of X.
26615 ac_cv_have_x
="have_x=no"
26617 # Record where we found X for the cache.
26618 ac_cv_have_x
="have_x=yes \
26619 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26624 eval "$ac_cv_have_x"
26627 if test "$have_x" != yes; then
26628 echo "$as_me:$LINENO: result: $have_x" >&5
26629 echo "${ECHO_T}$have_x" >&6
26632 # If each of the values was on the command line, it overrides each guess.
26633 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26634 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26635 # Update the cache value to reflect the command line values.
26636 ac_cv_have_x
="have_x=yes \
26637 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26638 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
26639 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
26642 if test "$no_x" = yes; then
26643 # Not all programs may use this symbol, but it does not hurt to define it.
26645 cat >>confdefs.h
<<\_ACEOF
26646 #define X_DISPLAY_MISSING 1
26649 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26651 if test -n "$x_includes"; then
26652 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26655 # It would also be nice to do this for all -L options, not just this one.
26656 if test -n "$x_libraries"; then
26657 X_LIBS
="$X_LIBS -L$x_libraries"
26658 # For Solaris; some versions of Sun CC require a space after -R and
26659 # others require no space. Words are not sufficient . . . .
26660 case `(uname -sr) 2>/dev/null` in
26662 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26663 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26664 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26665 cat >conftest.
$ac_ext <<_ACEOF
26668 cat confdefs.h
>>conftest.
$ac_ext
26669 cat >>conftest.
$ac_ext <<_ACEOF
26670 /* end confdefs.h. */
26680 rm -f conftest.
$ac_objext conftest
$ac_exeext
26681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26682 (eval $ac_link) 2>conftest.er1
26684 grep -v '^ *+' conftest.er1
>conftest.err
26686 cat conftest.err
>&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } &&
26689 { ac_try
='test -z "$ac_c_werror_flag"
26690 || test ! -s conftest.err'
26691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26692 (eval $ac_try) 2>&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); }; } &&
26696 { ac_try
='test -s conftest$ac_exeext'
26697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26698 (eval $ac_try) 2>&5
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); }; }; then
26704 echo "$as_me: failed program was:" >&5
26705 sed 's/^/| /' conftest.
$ac_ext >&5
26709 rm -f conftest.err conftest.
$ac_objext \
26710 conftest
$ac_exeext conftest.
$ac_ext
26711 if test $ac_R_nospace = yes; then
26712 echo "$as_me:$LINENO: result: no" >&5
26713 echo "${ECHO_T}no" >&6
26714 X_LIBS
="$X_LIBS -R$x_libraries"
26716 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26717 cat >conftest.
$ac_ext <<_ACEOF
26720 cat confdefs.h
>>conftest.
$ac_ext
26721 cat >>conftest.
$ac_ext <<_ACEOF
26722 /* end confdefs.h. */
26732 rm -f conftest.
$ac_objext conftest
$ac_exeext
26733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26734 (eval $ac_link) 2>conftest.er1
26736 grep -v '^ *+' conftest.er1
>conftest.err
26738 cat conftest.err
>&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); } &&
26741 { ac_try
='test -z "$ac_c_werror_flag"
26742 || test ! -s conftest.err'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; } &&
26748 { ac_try
='test -s conftest$ac_exeext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.
$ac_ext >&5
26761 rm -f conftest.err conftest.
$ac_objext \
26762 conftest
$ac_exeext conftest.
$ac_ext
26763 if test $ac_R_space = yes; then
26764 echo "$as_me:$LINENO: result: yes" >&5
26765 echo "${ECHO_T}yes" >&6
26766 X_LIBS
="$X_LIBS -R $x_libraries"
26768 echo "$as_me:$LINENO: result: neither works" >&5
26769 echo "${ECHO_T}neither works" >&6
26772 LIBS
=$ac_xsave_LIBS
26776 # Check for system-dependent libraries X programs must link with.
26777 # Do this before checking for the system-independent R6 libraries
26778 # (-lICE), since we may need -lsocket or whatever for X linking.
26780 if test "$ISC" = yes; then
26781 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26783 # Martyn Johnson says this is needed for Ultrix, if the X
26784 # libraries were built with DECnet support. And Karl Berry says
26785 # the Alpha needs dnet_stub (dnet does not exist).
26786 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26787 cat >conftest.
$ac_ext <<_ACEOF
26790 cat confdefs.h
>>conftest.
$ac_ext
26791 cat >>conftest.
$ac_ext <<_ACEOF
26792 /* end confdefs.h. */
26794 /* Override any gcc2 internal prototype to avoid an error. */
26798 /* We use char because int might match the return type of a gcc2
26799 builtin and then its argument prototype would still apply. */
26800 char XOpenDisplay ();
26809 rm -f conftest.
$ac_objext conftest
$ac_exeext
26810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26811 (eval $ac_link) 2>conftest.er1
26813 grep -v '^ *+' conftest.er1
>conftest.err
26815 cat conftest.err
>&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } &&
26818 { ac_try
='test -z "$ac_c_werror_flag"
26819 || test ! -s conftest.err'
26820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26821 (eval $ac_try) 2>&5
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); }; } &&
26825 { ac_try
='test -s conftest$ac_exeext'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; }; then
26833 echo "$as_me: failed program was:" >&5
26834 sed 's/^/| /' conftest.
$ac_ext >&5
26836 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26837 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26838 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26839 echo $ECHO_N "(cached) $ECHO_C" >&6
26841 ac_check_lib_save_LIBS
=$LIBS
26842 LIBS
="-ldnet $LIBS"
26843 cat >conftest.
$ac_ext <<_ACEOF
26846 cat confdefs.h
>>conftest.
$ac_ext
26847 cat >>conftest.
$ac_ext <<_ACEOF
26848 /* end confdefs.h. */
26850 /* Override any gcc2 internal prototype to avoid an error. */
26854 /* We use char because int might match the return type of a gcc2
26855 builtin and then its argument prototype would still apply. */
26865 rm -f conftest.
$ac_objext conftest
$ac_exeext
26866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26867 (eval $ac_link) 2>conftest.er1
26869 grep -v '^ *+' conftest.er1
>conftest.err
26871 cat conftest.err
>&5
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); } &&
26874 { ac_try
='test -z "$ac_c_werror_flag"
26875 || test ! -s conftest.err'
26876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26877 (eval $ac_try) 2>&5
26879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26880 (exit $ac_status); }; } &&
26881 { ac_try
='test -s conftest$ac_exeext'
26882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26883 (eval $ac_try) 2>&5
26885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26886 (exit $ac_status); }; }; then
26887 ac_cv_lib_dnet_dnet_ntoa
=yes
26889 echo "$as_me: failed program was:" >&5
26890 sed 's/^/| /' conftest.
$ac_ext >&5
26892 ac_cv_lib_dnet_dnet_ntoa
=no
26894 rm -f conftest.err conftest.
$ac_objext \
26895 conftest
$ac_exeext conftest.
$ac_ext
26896 LIBS
=$ac_check_lib_save_LIBS
26898 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26899 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26900 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26901 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26904 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26905 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26906 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26907 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26908 echo $ECHO_N "(cached) $ECHO_C" >&6
26910 ac_check_lib_save_LIBS
=$LIBS
26911 LIBS
="-ldnet_stub $LIBS"
26912 cat >conftest.
$ac_ext <<_ACEOF
26915 cat confdefs.h
>>conftest.
$ac_ext
26916 cat >>conftest.
$ac_ext <<_ACEOF
26917 /* end confdefs.h. */
26919 /* Override any gcc2 internal prototype to avoid an error. */
26923 /* We use char because int might match the return type of a gcc2
26924 builtin and then its argument prototype would still apply. */
26934 rm -f conftest.
$ac_objext conftest
$ac_exeext
26935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26936 (eval $ac_link) 2>conftest.er1
26938 grep -v '^ *+' conftest.er1
>conftest.err
26940 cat conftest.err
>&5
26941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26942 (exit $ac_status); } &&
26943 { ac_try
='test -z "$ac_c_werror_flag"
26944 || test ! -s conftest.err'
26945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26946 (eval $ac_try) 2>&5
26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 (exit $ac_status); }; } &&
26950 { ac_try
='test -s conftest$ac_exeext'
26951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26952 (eval $ac_try) 2>&5
26954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26955 (exit $ac_status); }; }; then
26956 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26958 echo "$as_me: failed program was:" >&5
26959 sed 's/^/| /' conftest.
$ac_ext >&5
26961 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26963 rm -f conftest.err conftest.
$ac_objext \
26964 conftest
$ac_exeext conftest.
$ac_ext
26965 LIBS
=$ac_check_lib_save_LIBS
26967 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26968 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26969 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26970 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26975 rm -f conftest.err conftest.
$ac_objext \
26976 conftest
$ac_exeext conftest.
$ac_ext
26977 LIBS
="$ac_xsave_LIBS"
26979 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26980 # to get the SysV transport functions.
26981 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26983 # The nsl library prevents programs from opening the X display
26984 # on Irix 5.2, according to T.E. Dickey.
26985 # The functions gethostbyname, getservbyname, and inet_addr are
26986 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26987 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26988 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26989 if test "${ac_cv_func_gethostbyname+set}" = set; then
26990 echo $ECHO_N "(cached) $ECHO_C" >&6
26992 cat >conftest.
$ac_ext <<_ACEOF
26995 cat confdefs.h
>>conftest.
$ac_ext
26996 cat >>conftest.
$ac_ext <<_ACEOF
26997 /* end confdefs.h. */
26998 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27000 #define gethostbyname innocuous_gethostbyname
27002 /* System header to define __stub macros and hopefully few prototypes,
27003 which can conflict with char gethostbyname (); below.
27004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27005 <limits.h> exists even on freestanding compilers. */
27008 # include <limits.h>
27010 # include <assert.h>
27013 #undef gethostbyname
27015 /* Override any gcc2 internal prototype to avoid an error. */
27020 /* We use char because int might match the return type of a gcc2
27021 builtin and then its argument prototype would still apply. */
27022 char gethostbyname ();
27023 /* The GNU C library defines this for functions which it implements
27024 to always fail with ENOSYS. Some functions are actually named
27025 something starting with __ and the normal name is an alias. */
27026 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
27029 char (*f) () = gethostbyname;
27038 return f != gethostbyname;
27043 rm -f conftest.
$ac_objext conftest
$ac_exeext
27044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27045 (eval $ac_link) 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 { ac_try
='test -z "$ac_c_werror_flag"
27053 || test ! -s conftest.err'
27054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27055 (eval $ac_try) 2>&5
27057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058 (exit $ac_status); }; } &&
27059 { ac_try
='test -s conftest$ac_exeext'
27060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27061 (eval $ac_try) 2>&5
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); }; }; then
27065 ac_cv_func_gethostbyname
=yes
27067 echo "$as_me: failed program was:" >&5
27068 sed 's/^/| /' conftest.
$ac_ext >&5
27070 ac_cv_func_gethostbyname
=no
27072 rm -f conftest.err conftest.
$ac_objext \
27073 conftest
$ac_exeext conftest.
$ac_ext
27075 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27076 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
27078 if test $ac_cv_func_gethostbyname = no
; then
27079 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
27080 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
27081 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
27082 echo $ECHO_N "(cached) $ECHO_C" >&6
27084 ac_check_lib_save_LIBS
=$LIBS
27086 cat >conftest.
$ac_ext <<_ACEOF
27089 cat confdefs.h
>>conftest.
$ac_ext
27090 cat >>conftest.
$ac_ext <<_ACEOF
27091 /* end confdefs.h. */
27093 /* Override any gcc2 internal prototype to avoid an error. */
27097 /* We use char because int might match the return type of a gcc2
27098 builtin and then its argument prototype would still apply. */
27099 char gethostbyname ();
27108 rm -f conftest.
$ac_objext conftest
$ac_exeext
27109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27110 (eval $ac_link) 2>conftest.er1
27112 grep -v '^ *+' conftest.er1
>conftest.err
27114 cat conftest.err
>&5
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); } &&
27117 { ac_try
='test -z "$ac_c_werror_flag"
27118 || test ! -s conftest.err'
27119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27120 (eval $ac_try) 2>&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); }; } &&
27124 { ac_try
='test -s conftest$ac_exeext'
27125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27126 (eval $ac_try) 2>&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); }; }; then
27130 ac_cv_lib_nsl_gethostbyname
=yes
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.
$ac_ext >&5
27135 ac_cv_lib_nsl_gethostbyname
=no
27137 rm -f conftest.err conftest.
$ac_objext \
27138 conftest
$ac_exeext conftest.
$ac_ext
27139 LIBS
=$ac_check_lib_save_LIBS
27141 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27142 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27143 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27144 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
27147 if test $ac_cv_lib_nsl_gethostbyname = no
; then
27148 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
27149 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
27150 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
27151 echo $ECHO_N "(cached) $ECHO_C" >&6
27153 ac_check_lib_save_LIBS
=$LIBS
27155 cat >conftest.
$ac_ext <<_ACEOF
27158 cat confdefs.h
>>conftest.
$ac_ext
27159 cat >>conftest.
$ac_ext <<_ACEOF
27160 /* end confdefs.h. */
27162 /* Override any gcc2 internal prototype to avoid an error. */
27166 /* We use char because int might match the return type of a gcc2
27167 builtin and then its argument prototype would still apply. */
27168 char gethostbyname ();
27177 rm -f conftest.
$ac_objext conftest
$ac_exeext
27178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27179 (eval $ac_link) 2>conftest.er1
27181 grep -v '^ *+' conftest.er1
>conftest.err
27183 cat conftest.err
>&5
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); } &&
27186 { ac_try
='test -z "$ac_c_werror_flag"
27187 || test ! -s conftest.err'
27188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27189 (eval $ac_try) 2>&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); }; } &&
27193 { ac_try
='test -s conftest$ac_exeext'
27194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27195 (eval $ac_try) 2>&5
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); }; }; then
27199 ac_cv_lib_bsd_gethostbyname
=yes
27201 echo "$as_me: failed program was:" >&5
27202 sed 's/^/| /' conftest.
$ac_ext >&5
27204 ac_cv_lib_bsd_gethostbyname
=no
27206 rm -f conftest.err conftest.
$ac_objext \
27207 conftest
$ac_exeext conftest.
$ac_ext
27208 LIBS
=$ac_check_lib_save_LIBS
27210 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
27211 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
27212 if test $ac_cv_lib_bsd_gethostbyname = yes; then
27213 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
27219 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27220 # socket/setsockopt and other routines are undefined under SCO ODT
27221 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27222 # on later versions), says Simon Leinen: it contains gethostby*
27223 # variants that don't use the name server (or something). -lsocket
27224 # must be given before -lnsl if both are needed. We assume that
27225 # if connect needs -lnsl, so does gethostbyname.
27226 echo "$as_me:$LINENO: checking for connect" >&5
27227 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27228 if test "${ac_cv_func_connect+set}" = set; then
27229 echo $ECHO_N "(cached) $ECHO_C" >&6
27231 cat >conftest.
$ac_ext <<_ACEOF
27234 cat confdefs.h
>>conftest.
$ac_ext
27235 cat >>conftest.
$ac_ext <<_ACEOF
27236 /* end confdefs.h. */
27237 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27239 #define connect innocuous_connect
27241 /* System header to define __stub macros and hopefully few prototypes,
27242 which can conflict with char connect (); below.
27243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27244 <limits.h> exists even on freestanding compilers. */
27247 # include <limits.h>
27249 # include <assert.h>
27254 /* Override any gcc2 internal prototype to avoid an error. */
27259 /* We use char because int might match the return type of a gcc2
27260 builtin and then its argument prototype would still apply. */
27262 /* The GNU C library defines this for functions which it implements
27263 to always fail with ENOSYS. Some functions are actually named
27264 something starting with __ and the normal name is an alias. */
27265 #if defined (__stub_connect) || defined (__stub___connect)
27268 char (*f) () = connect;
27277 return f != connect;
27282 rm -f conftest.
$ac_objext conftest
$ac_exeext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27284 (eval $ac_link) 2>conftest.er1
27286 grep -v '^ *+' conftest.er1
>conftest.err
27288 cat conftest.err
>&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } &&
27291 { ac_try
='test -z "$ac_c_werror_flag"
27292 || test ! -s conftest.err'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; } &&
27298 { ac_try
='test -s conftest$ac_exeext'
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; }; then
27304 ac_cv_func_connect
=yes
27306 echo "$as_me: failed program was:" >&5
27307 sed 's/^/| /' conftest.
$ac_ext >&5
27309 ac_cv_func_connect
=no
27311 rm -f conftest.err conftest.
$ac_objext \
27312 conftest
$ac_exeext conftest.
$ac_ext
27314 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27315 echo "${ECHO_T}$ac_cv_func_connect" >&6
27317 if test $ac_cv_func_connect = no
; then
27318 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27319 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27320 if test "${ac_cv_lib_socket_connect+set}" = set; then
27321 echo $ECHO_N "(cached) $ECHO_C" >&6
27323 ac_check_lib_save_LIBS
=$LIBS
27324 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
27325 cat >conftest.
$ac_ext <<_ACEOF
27328 cat confdefs.h
>>conftest.
$ac_ext
27329 cat >>conftest.
$ac_ext <<_ACEOF
27330 /* end confdefs.h. */
27332 /* Override any gcc2 internal prototype to avoid an error. */
27336 /* We use char because int might match the return type of a gcc2
27337 builtin and then its argument prototype would still apply. */
27347 rm -f conftest.
$ac_objext conftest
$ac_exeext
27348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27349 (eval $ac_link) 2>conftest.er1
27351 grep -v '^ *+' conftest.er1
>conftest.err
27353 cat conftest.err
>&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); } &&
27356 { ac_try
='test -z "$ac_c_werror_flag"
27357 || test ! -s conftest.err'
27358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27359 (eval $ac_try) 2>&5
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); }; } &&
27363 { ac_try
='test -s conftest$ac_exeext'
27364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365 (eval $ac_try) 2>&5
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); }; }; then
27369 ac_cv_lib_socket_connect
=yes
27371 echo "$as_me: failed program was:" >&5
27372 sed 's/^/| /' conftest.
$ac_ext >&5
27374 ac_cv_lib_socket_connect
=no
27376 rm -f conftest.err conftest.
$ac_objext \
27377 conftest
$ac_exeext conftest.
$ac_ext
27378 LIBS
=$ac_check_lib_save_LIBS
27380 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27381 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27382 if test $ac_cv_lib_socket_connect = yes; then
27383 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
27388 # Guillermo Gomez says -lposix is necessary on A/UX.
27389 echo "$as_me:$LINENO: checking for remove" >&5
27390 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27391 if test "${ac_cv_func_remove+set}" = set; then
27392 echo $ECHO_N "(cached) $ECHO_C" >&6
27394 cat >conftest.
$ac_ext <<_ACEOF
27397 cat confdefs.h
>>conftest.
$ac_ext
27398 cat >>conftest.
$ac_ext <<_ACEOF
27399 /* end confdefs.h. */
27400 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27402 #define remove innocuous_remove
27404 /* System header to define __stub macros and hopefully few prototypes,
27405 which can conflict with char remove (); below.
27406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27407 <limits.h> exists even on freestanding compilers. */
27410 # include <limits.h>
27412 # include <assert.h>
27417 /* Override any gcc2 internal prototype to avoid an error. */
27422 /* We use char because int might match the return type of a gcc2
27423 builtin and then its argument prototype would still apply. */
27425 /* The GNU C library defines this for functions which it implements
27426 to always fail with ENOSYS. Some functions are actually named
27427 something starting with __ and the normal name is an alias. */
27428 #if defined (__stub_remove) || defined (__stub___remove)
27431 char (*f) () = remove;
27440 return f != remove;
27445 rm -f conftest.
$ac_objext conftest
$ac_exeext
27446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27447 (eval $ac_link) 2>conftest.er1
27449 grep -v '^ *+' conftest.er1
>conftest.err
27451 cat conftest.err
>&5
27452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27453 (exit $ac_status); } &&
27454 { ac_try
='test -z "$ac_c_werror_flag"
27455 || test ! -s conftest.err'
27456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27457 (eval $ac_try) 2>&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); }; } &&
27461 { ac_try
='test -s conftest$ac_exeext'
27462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27463 (eval $ac_try) 2>&5
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); }; }; then
27467 ac_cv_func_remove
=yes
27469 echo "$as_me: failed program was:" >&5
27470 sed 's/^/| /' conftest.
$ac_ext >&5
27472 ac_cv_func_remove
=no
27474 rm -f conftest.err conftest.
$ac_objext \
27475 conftest
$ac_exeext conftest.
$ac_ext
27477 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27478 echo "${ECHO_T}$ac_cv_func_remove" >&6
27480 if test $ac_cv_func_remove = no
; then
27481 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27482 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27483 if test "${ac_cv_lib_posix_remove+set}" = set; then
27484 echo $ECHO_N "(cached) $ECHO_C" >&6
27486 ac_check_lib_save_LIBS
=$LIBS
27487 LIBS
="-lposix $LIBS"
27488 cat >conftest.
$ac_ext <<_ACEOF
27491 cat confdefs.h
>>conftest.
$ac_ext
27492 cat >>conftest.
$ac_ext <<_ACEOF
27493 /* end confdefs.h. */
27495 /* Override any gcc2 internal prototype to avoid an error. */
27499 /* We use char because int might match the return type of a gcc2
27500 builtin and then its argument prototype would still apply. */
27510 rm -f conftest.
$ac_objext conftest
$ac_exeext
27511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27512 (eval $ac_link) 2>conftest.er1
27514 grep -v '^ *+' conftest.er1
>conftest.err
27516 cat conftest.err
>&5
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); } &&
27519 { ac_try
='test -z "$ac_c_werror_flag"
27520 || test ! -s conftest.err'
27521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27522 (eval $ac_try) 2>&5
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); }; } &&
27526 { ac_try
='test -s conftest$ac_exeext'
27527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27528 (eval $ac_try) 2>&5
27530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27531 (exit $ac_status); }; }; then
27532 ac_cv_lib_posix_remove
=yes
27534 echo "$as_me: failed program was:" >&5
27535 sed 's/^/| /' conftest.
$ac_ext >&5
27537 ac_cv_lib_posix_remove
=no
27539 rm -f conftest.err conftest.
$ac_objext \
27540 conftest
$ac_exeext conftest.
$ac_ext
27541 LIBS
=$ac_check_lib_save_LIBS
27543 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27544 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27545 if test $ac_cv_lib_posix_remove = yes; then
27546 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
27551 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27552 echo "$as_me:$LINENO: checking for shmat" >&5
27553 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27554 if test "${ac_cv_func_shmat+set}" = set; then
27555 echo $ECHO_N "(cached) $ECHO_C" >&6
27557 cat >conftest.
$ac_ext <<_ACEOF
27560 cat confdefs.h
>>conftest.
$ac_ext
27561 cat >>conftest.
$ac_ext <<_ACEOF
27562 /* end confdefs.h. */
27563 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27565 #define shmat innocuous_shmat
27567 /* System header to define __stub macros and hopefully few prototypes,
27568 which can conflict with char shmat (); below.
27569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27570 <limits.h> exists even on freestanding compilers. */
27573 # include <limits.h>
27575 # include <assert.h>
27580 /* Override any gcc2 internal prototype to avoid an error. */
27585 /* We use char because int might match the return type of a gcc2
27586 builtin and then its argument prototype would still apply. */
27588 /* The GNU C library defines this for functions which it implements
27589 to always fail with ENOSYS. Some functions are actually named
27590 something starting with __ and the normal name is an alias. */
27591 #if defined (__stub_shmat) || defined (__stub___shmat)
27594 char (*f) () = shmat;
27608 rm -f conftest.
$ac_objext conftest
$ac_exeext
27609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27610 (eval $ac_link) 2>conftest.er1
27612 grep -v '^ *+' conftest.er1
>conftest.err
27614 cat conftest.err
>&5
27615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27616 (exit $ac_status); } &&
27617 { ac_try
='test -z "$ac_c_werror_flag"
27618 || test ! -s conftest.err'
27619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27620 (eval $ac_try) 2>&5
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); }; } &&
27624 { ac_try
='test -s conftest$ac_exeext'
27625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27626 (eval $ac_try) 2>&5
27628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27629 (exit $ac_status); }; }; then
27630 ac_cv_func_shmat
=yes
27632 echo "$as_me: failed program was:" >&5
27633 sed 's/^/| /' conftest.
$ac_ext >&5
27635 ac_cv_func_shmat
=no
27637 rm -f conftest.err conftest.
$ac_objext \
27638 conftest
$ac_exeext conftest.
$ac_ext
27640 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27641 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27643 if test $ac_cv_func_shmat = no
; then
27644 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27645 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27646 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27647 echo $ECHO_N "(cached) $ECHO_C" >&6
27649 ac_check_lib_save_LIBS
=$LIBS
27651 cat >conftest.
$ac_ext <<_ACEOF
27654 cat confdefs.h
>>conftest.
$ac_ext
27655 cat >>conftest.
$ac_ext <<_ACEOF
27656 /* end confdefs.h. */
27658 /* Override any gcc2 internal prototype to avoid an error. */
27662 /* We use char because int might match the return type of a gcc2
27663 builtin and then its argument prototype would still apply. */
27673 rm -f conftest.
$ac_objext conftest
$ac_exeext
27674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27675 (eval $ac_link) 2>conftest.er1
27677 grep -v '^ *+' conftest.er1
>conftest.err
27679 cat conftest.err
>&5
27680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27681 (exit $ac_status); } &&
27682 { ac_try
='test -z "$ac_c_werror_flag"
27683 || test ! -s conftest.err'
27684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27685 (eval $ac_try) 2>&5
27687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688 (exit $ac_status); }; } &&
27689 { ac_try
='test -s conftest$ac_exeext'
27690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27691 (eval $ac_try) 2>&5
27693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27694 (exit $ac_status); }; }; then
27695 ac_cv_lib_ipc_shmat
=yes
27697 echo "$as_me: failed program was:" >&5
27698 sed 's/^/| /' conftest.
$ac_ext >&5
27700 ac_cv_lib_ipc_shmat
=no
27702 rm -f conftest.err conftest.
$ac_objext \
27703 conftest
$ac_exeext conftest.
$ac_ext
27704 LIBS
=$ac_check_lib_save_LIBS
27706 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27707 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27708 if test $ac_cv_lib_ipc_shmat = yes; then
27709 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27715 # Check for libraries that X11R6 Xt/Xaw programs need.
27716 ac_save_LDFLAGS
=$LDFLAGS
27717 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27718 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27719 # check for ICE first), but we must link in the order -lSM -lICE or
27720 # we get undefined symbols. So assume we have SM if we have ICE.
27721 # These have to be linked with before -lX11, unlike the other
27722 # libraries we check for below, so use a different variable.
27723 # John Interrante, Karl Berry
27724 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27725 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27726 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27727 echo $ECHO_N "(cached) $ECHO_C" >&6
27729 ac_check_lib_save_LIBS
=$LIBS
27730 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27731 cat >conftest.
$ac_ext <<_ACEOF
27734 cat confdefs.h
>>conftest.
$ac_ext
27735 cat >>conftest.
$ac_ext <<_ACEOF
27736 /* end confdefs.h. */
27738 /* Override any gcc2 internal prototype to avoid an error. */
27742 /* We use char because int might match the return type of a gcc2
27743 builtin and then its argument prototype would still apply. */
27744 char IceConnectionNumber ();
27748 IceConnectionNumber ();
27753 rm -f conftest.
$ac_objext conftest
$ac_exeext
27754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27755 (eval $ac_link) 2>conftest.er1
27757 grep -v '^ *+' conftest.er1
>conftest.err
27759 cat conftest.err
>&5
27760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27761 (exit $ac_status); } &&
27762 { ac_try
='test -z "$ac_c_werror_flag"
27763 || test ! -s conftest.err'
27764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27765 (eval $ac_try) 2>&5
27767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27768 (exit $ac_status); }; } &&
27769 { ac_try
='test -s conftest$ac_exeext'
27770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27771 (eval $ac_try) 2>&5
27773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27774 (exit $ac_status); }; }; then
27775 ac_cv_lib_ICE_IceConnectionNumber
=yes
27777 echo "$as_me: failed program was:" >&5
27778 sed 's/^/| /' conftest.
$ac_ext >&5
27780 ac_cv_lib_ICE_IceConnectionNumber
=no
27782 rm -f conftest.err conftest.
$ac_objext \
27783 conftest
$ac_exeext conftest.
$ac_ext
27784 LIBS
=$ac_check_lib_save_LIBS
27786 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27787 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27788 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27789 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27792 LDFLAGS
=$ac_save_LDFLAGS
27797 if test "$no_x" = "yes"; then
27798 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27799 echo "$as_me: error: X11 not found" >&2;}
27800 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27803 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27804 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27805 AFMINSTALL
=afminstall
27806 COMPILED_X_PROGRAM
=0
27810 if test "$wxUSE_X11" = 1; then
27811 if test "$wxUSE_NANOX" = "yes"; then
27812 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27813 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27814 if test "x$MICROWIN" = x
; then
27815 echo "$as_me:$LINENO: result: not found" >&5
27816 echo "${ECHO_T}not found" >&6
27817 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27818 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27819 { (exit 1); exit 1; }; }
27821 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27822 echo "${ECHO_T}$MICROWIN" >&6
27823 cat >>confdefs.h
<<\_ACEOF
27824 #define wxUSE_NANOX 1
27830 if test "$wxUSE_UNICODE" = "yes"; then
27834 if test -z "$PKG_CONFIG"; then
27835 # Extract the first word of "pkg-config", so it can be a program name with args.
27836 set dummy pkg
-config; ac_word
=$2
27837 echo "$as_me:$LINENO: checking for $ac_word" >&5
27838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27839 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27840 echo $ECHO_N "(cached) $ECHO_C" >&6
27842 case $PKG_CONFIG in
27844 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27848 for as_dir
in $PATH
27851 test -z "$as_dir" && as_dir
=.
27852 for ac_exec_ext
in '' $ac_executable_extensions; do
27853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27854 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27861 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27865 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27867 if test -n "$PKG_CONFIG"; then
27868 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27869 echo "${ECHO_T}$PKG_CONFIG" >&6
27871 echo "$as_me:$LINENO: result: no" >&5
27872 echo "${ECHO_T}no" >&6
27877 if test "$PKG_CONFIG" = "no" ; then
27878 echo "*** The pkg-config script could not be found. Make sure it is"
27879 echo "*** in your path, or set the PKG_CONFIG environment variable"
27880 echo "*** to the full path to pkg-config."
27881 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27883 PKG_CONFIG_MIN_VERSION
=0.9.0
27884 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27885 echo "$as_me:$LINENO: checking for pangox" >&5
27886 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27888 if $PKG_CONFIG --exists "pangox" ; then
27889 echo "$as_me:$LINENO: result: yes" >&5
27890 echo "${ECHO_T}yes" >&6
27893 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27894 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27895 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27896 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27897 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27899 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27900 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27901 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27902 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27903 echo "${ECHO_T}$PANGOX_LIBS" >&6
27907 ## If we have a custom action on failure, don't print errors, but
27908 ## do set a variable so people can do so.
27909 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27916 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27917 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27921 if test $succeeded = yes; then
27923 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27924 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27928 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27929 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27930 { (exit 1); exit 1; }; }
27938 if test -z "$PKG_CONFIG"; then
27939 # Extract the first word of "pkg-config", so it can be a program name with args.
27940 set dummy pkg
-config; ac_word
=$2
27941 echo "$as_me:$LINENO: checking for $ac_word" >&5
27942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27943 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27944 echo $ECHO_N "(cached) $ECHO_C" >&6
27946 case $PKG_CONFIG in
27948 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27952 for as_dir
in $PATH
27955 test -z "$as_dir" && as_dir
=.
27956 for ac_exec_ext
in '' $ac_executable_extensions; do
27957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27958 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27965 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27969 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27971 if test -n "$PKG_CONFIG"; then
27972 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27973 echo "${ECHO_T}$PKG_CONFIG" >&6
27975 echo "$as_me:$LINENO: result: no" >&5
27976 echo "${ECHO_T}no" >&6
27981 if test "$PKG_CONFIG" = "no" ; then
27982 echo "*** The pkg-config script could not be found. Make sure it is"
27983 echo "*** in your path, or set the PKG_CONFIG environment variable"
27984 echo "*** to the full path to pkg-config."
27985 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27987 PKG_CONFIG_MIN_VERSION
=0.9.0
27988 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27989 echo "$as_me:$LINENO: checking for pangoft2" >&5
27990 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27992 if $PKG_CONFIG --exists "pangoft2" ; then
27993 echo "$as_me:$LINENO: result: yes" >&5
27994 echo "${ECHO_T}yes" >&6
27997 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27998 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27999 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
28000 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
28001 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
28003 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
28004 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
28005 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
28006 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
28007 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
28011 ## If we have a custom action on failure, don't print errors, but
28012 ## do set a variable so people can do so.
28013 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
28020 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28021 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28025 if test $succeeded = yes; then
28027 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
28028 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
28032 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
28033 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
28034 wxUSE_PRINTING_ARCHITECTURE
="no"
28042 if test -z "$PKG_CONFIG"; then
28043 # Extract the first word of "pkg-config", so it can be a program name with args.
28044 set dummy pkg
-config; ac_word
=$2
28045 echo "$as_me:$LINENO: checking for $ac_word" >&5
28046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28047 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28048 echo $ECHO_N "(cached) $ECHO_C" >&6
28050 case $PKG_CONFIG in
28052 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28056 for as_dir
in $PATH
28059 test -z "$as_dir" && as_dir
=.
28060 for ac_exec_ext
in '' $ac_executable_extensions; do
28061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28062 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28069 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28073 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28075 if test -n "$PKG_CONFIG"; then
28076 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28077 echo "${ECHO_T}$PKG_CONFIG" >&6
28079 echo "$as_me:$LINENO: result: no" >&5
28080 echo "${ECHO_T}no" >&6
28085 if test "$PKG_CONFIG" = "no" ; then
28086 echo "*** The pkg-config script could not be found. Make sure it is"
28087 echo "*** in your path, or set the PKG_CONFIG environment variable"
28088 echo "*** to the full path to pkg-config."
28089 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28091 PKG_CONFIG_MIN_VERSION
=0.9.0
28092 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28093 echo "$as_me:$LINENO: checking for pangoxft" >&5
28094 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
28096 if $PKG_CONFIG --exists "pangoxft" ; then
28097 echo "$as_me:$LINENO: result: yes" >&5
28098 echo "${ECHO_T}yes" >&6
28101 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
28102 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
28103 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
28104 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28105 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
28107 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
28108 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
28109 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
28110 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
28111 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
28115 ## If we have a custom action on failure, don't print errors, but
28116 ## do set a variable so people can do so.
28117 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
28124 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28125 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28129 if test $succeeded = yes; then
28131 cat >>confdefs.h
<<\_ACEOF
28132 #define HAVE_PANGO_XFT 1
28135 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
28136 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
28140 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
28141 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
28146 save_CFLAGS
="$CFLAGS"
28148 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
28149 LIBS
="$LIBS $PANGOX_LIBS"
28151 for ac_func
in pango_font_family_is_monospace
28153 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28154 echo "$as_me:$LINENO: checking for $ac_func" >&5
28155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28156 if eval "test \"\${$as_ac_var+set}\" = set"; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28159 cat >conftest.
$ac_ext <<_ACEOF
28162 cat confdefs.h
>>conftest.
$ac_ext
28163 cat >>conftest.
$ac_ext <<_ACEOF
28164 /* end confdefs.h. */
28165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28167 #define $ac_func innocuous_$ac_func
28169 /* System header to define __stub macros and hopefully few prototypes,
28170 which can conflict with char $ac_func (); below.
28171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28172 <limits.h> exists even on freestanding compilers. */
28175 # include <limits.h>
28177 # include <assert.h>
28182 /* Override any gcc2 internal prototype to avoid an error. */
28187 /* We use char because int might match the return type of a gcc2
28188 builtin and then its argument prototype would still apply. */
28190 /* The GNU C library defines this for functions which it implements
28191 to always fail with ENOSYS. Some functions are actually named
28192 something starting with __ and the normal name is an alias. */
28193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28196 char (*f) () = $ac_func;
28205 return f != $ac_func;
28210 rm -f conftest.
$ac_objext conftest
$ac_exeext
28211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28212 (eval $ac_link) 2>conftest.er1
28214 grep -v '^ *+' conftest.er1
>conftest.err
28216 cat conftest.err
>&5
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); } &&
28219 { ac_try
='test -z "$ac_c_werror_flag"
28220 || test ! -s conftest.err'
28221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28222 (eval $ac_try) 2>&5
28224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28225 (exit $ac_status); }; } &&
28226 { ac_try
='test -s conftest$ac_exeext'
28227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28228 (eval $ac_try) 2>&5
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); }; }; then
28232 eval "$as_ac_var=yes"
28234 echo "$as_me: failed program was:" >&5
28235 sed 's/^/| /' conftest.
$ac_ext >&5
28237 eval "$as_ac_var=no"
28239 rm -f conftest.err conftest.
$ac_objext \
28240 conftest
$ac_exeext conftest.
$ac_ext
28242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28244 if test `eval echo '${'$as_ac_var'}'` = yes; then
28245 cat >>confdefs.h
<<_ACEOF
28246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28252 CFLAGS
="$save_CFLAGS"
28256 wxUSE_UNIVERSAL
="yes"
28258 if test "$wxUSE_NANOX" = "yes"; then
28259 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28260 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"
28261 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28263 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
28270 if test "$wxUSE_MOTIF" = 1; then
28271 if test "$wxUSE_UNICODE" = "yes"; then
28272 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28273 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28274 { (exit 1); exit 1; }; }
28277 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28278 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28281 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28283 if test -f "$ac_dir/Xm/Xm.h"; then
28284 ac_find_includes
=$ac_dir
28289 if test "$ac_find_includes" != "" ; then
28290 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28291 echo "${ECHO_T}found in $ac_find_includes" >&6
28293 if test "x$ac_find_includes" = "x/usr/include"; then
28294 ac_path_to_include
=""
28296 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
28298 if test $result = 0; then
28299 ac_path_to_include
=""
28301 ac_path_to_include
=" -I$ac_find_includes"
28305 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
28307 cat >conftest.
$ac_ext <<_ACEOF
28310 cat confdefs.h
>>conftest.
$ac_ext
28311 cat >>conftest.
$ac_ext <<_ACEOF
28312 /* end confdefs.h. */
28321 version = xmUseVersion;
28327 rm -f conftest.
$ac_objext
28328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28329 (eval $ac_compile) 2>conftest.er1
28331 grep -v '^ *+' conftest.er1
>conftest.err
28333 cat conftest.err
>&5
28334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335 (exit $ac_status); } &&
28336 { ac_try
='test -z "$ac_c_werror_flag"
28337 || test ! -s conftest.err'
28338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28339 (eval $ac_try) 2>&5
28341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28342 (exit $ac_status); }; } &&
28343 { ac_try
='test -s conftest.$ac_objext'
28344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28345 (eval $ac_try) 2>&5
28347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28348 (exit $ac_status); }; }; then
28350 echo "$as_me:$LINENO: result: found in default search path" >&5
28351 echo "${ECHO_T}found in default search path" >&6
28352 COMPILED_X_PROGRAM
=1
28355 echo "$as_me: failed program was:" >&5
28356 sed 's/^/| /' conftest.
$ac_ext >&5
28359 echo "$as_me:$LINENO: result: no" >&5
28360 echo "${ECHO_T}no" >&6
28361 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28362 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28363 { (exit 1); exit 1; }; }
28367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28370 if test "$COMPILED_X_PROGRAM" = 0; then
28371 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28372 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28375 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28377 for ac_extension
in a so sl dylib dll.a
; do
28378 if test -f "$ac_dir/libXm.$ac_extension"; then
28379 ac_find_libraries
=$ac_dir
28385 if test "$ac_find_libraries" != "" ; then
28386 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28387 echo "${ECHO_T}found at $ac_find_libraries" >&6
28390 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28392 if test $result = 0; then
28395 ac_path_to_link
=" -L$ac_find_libraries"
28398 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28400 save_CFLAGS
=$CFLAGS
28401 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28403 cat >conftest.
$ac_ext <<_ACEOF
28406 cat confdefs.h
>>conftest.
$ac_ext
28407 cat >>conftest.
$ac_ext <<_ACEOF
28408 /* end confdefs.h. */
28417 version = xmUseVersion;
28423 rm -f conftest.
$ac_objext
28424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28425 (eval $ac_compile) 2>conftest.er1
28427 grep -v '^ *+' conftest.er1
>conftest.err
28429 cat conftest.err
>&5
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); } &&
28432 { ac_try
='test -z "$ac_c_werror_flag"
28433 || test ! -s conftest.err'
28434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28435 (eval $ac_try) 2>&5
28437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438 (exit $ac_status); }; } &&
28439 { ac_try
='test -s conftest.$ac_objext'
28440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28441 (eval $ac_try) 2>&5
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); }; }; then
28446 echo "$as_me:$LINENO: result: found in default search path" >&5
28447 echo "${ECHO_T}found in default search path" >&6
28448 COMPILED_X_PROGRAM
=1
28451 echo "$as_me: failed program was:" >&5
28452 sed 's/^/| /' conftest.
$ac_ext >&5
28455 echo "$as_me:$LINENO: result: no" >&5
28456 echo "${ECHO_T}no" >&6
28457 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28458 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28459 { (exit 1); exit 1; }; }
28463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28465 CFLAGS
=$save_CFLAGS
28469 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28470 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28474 for libp
in "" " -lXp"; do
28475 if test "$libs_found" = "0"; then
28476 for libsm_ice
in "" " -lSM -lICE"; do
28477 if test "$libs_found" = "0"; then
28479 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28480 save_CFLAGS
=$CFLAGS
28481 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28483 cat >conftest.
$ac_ext <<_ACEOF
28486 cat confdefs.h
>>conftest.
$ac_ext
28487 cat >>conftest.
$ac_ext <<_ACEOF
28488 /* end confdefs.h. */
28491 #include <Xm/List.h>
28497 XmString string = NULL;
28500 XmListAddItem(w, string, position);
28506 rm -f conftest.
$ac_objext conftest
$ac_exeext
28507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28508 (eval $ac_link) 2>conftest.er1
28510 grep -v '^ *+' conftest.er1
>conftest.err
28512 cat conftest.err
>&5
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); } &&
28515 { ac_try
='test -z "$ac_c_werror_flag"
28516 || test ! -s conftest.err'
28517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28518 (eval $ac_try) 2>&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); }; } &&
28522 { ac_try
='test -s conftest$ac_exeext'
28523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28524 (eval $ac_try) 2>&5
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); }; }; then
28530 libsm_ice_link
="$libsm_ice"
28531 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28532 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28536 echo "$as_me: failed program was:" >&5
28537 sed 's/^/| /' conftest.
$ac_ext >&5
28542 rm -f conftest.err conftest.
$ac_objext \
28543 conftest
$ac_exeext conftest.
$ac_ext
28546 CFLAGS
=$save_CFLAGS
28552 if test "$libs_found" = "0"; then
28553 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28554 echo "${ECHO_T}can't find the right libraries" >&6
28555 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28556 echo "$as_me: error: can't link a simple motif program" >&2;}
28557 { (exit 1); exit 1; }; }
28560 save_CFLAGS
=$CFLAGS
28561 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28562 echo "$as_me:$LINENO: checking for Motif 2" >&5
28563 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28564 cat >conftest.
$ac_ext <<_ACEOF
28567 cat confdefs.h
>>conftest.
$ac_ext
28568 cat >>conftest.
$ac_ext <<_ACEOF
28569 /* end confdefs.h. */
28577 #if XmVersion < 2000
28578 #error "Not Motif 2"
28585 rm -f conftest.
$ac_objext
28586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28587 (eval $ac_compile) 2>conftest.er1
28589 grep -v '^ *+' conftest.er1
>conftest.err
28591 cat conftest.err
>&5
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); } &&
28594 { ac_try
='test -z "$ac_c_werror_flag"
28595 || test ! -s conftest.err'
28596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28597 (eval $ac_try) 2>&5
28599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28600 (exit $ac_status); }; } &&
28601 { ac_try
='test -s conftest.$ac_objext'
28602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28603 (eval $ac_try) 2>&5
28605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606 (exit $ac_status); }; }; then
28608 cat >>confdefs.h
<<\_ACEOF
28609 #define __WXMOTIF20__ 1
28612 echo "$as_me:$LINENO: result: found" >&5
28613 echo "${ECHO_T}found" >&6
28616 echo "$as_me: failed program was:" >&5
28617 sed 's/^/| /' conftest.
$ac_ext >&5
28620 cat >>confdefs.h
<<\_ACEOF
28621 #define __WXMOTIF20__ 0
28624 echo "$as_me:$LINENO: result: not found" >&5
28625 echo "${ECHO_T}not found" >&6
28628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28629 CFLAGS
=$save_CFLAGS
28631 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28636 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28637 if test "$wxUSE_LIBXPM" = "sys"; then
28638 echo "$as_me:$LINENO: checking for Xpm library" >&5
28639 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28642 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28644 for ac_extension
in a so sl dylib dll.a
; do
28645 if test -f "$ac_dir/libXpm.$ac_extension"; then
28646 ac_find_libraries
=$ac_dir
28652 if test "$ac_find_libraries" != "" ; then
28654 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28656 if test $result = 0; then
28659 ac_path_to_link
=" -L$ac_find_libraries"
28662 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28663 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28664 echo "${ECHO_T}found at $ac_find_libraries" >&6
28666 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28667 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28668 if test "${wx_cv_x11_xpm_h+set}" = set; then
28669 echo $ECHO_N "(cached) $ECHO_C" >&6
28672 save_CFLAGS
=$CFLAGS
28673 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28675 cat >conftest.
$ac_ext <<_ACEOF
28678 cat confdefs.h
>>conftest.
$ac_ext
28679 cat >>conftest.
$ac_ext <<_ACEOF
28680 /* end confdefs.h. */
28682 #include <X11/xpm.h>
28689 version = XpmLibraryVersion();
28695 rm -f conftest.
$ac_objext
28696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28697 (eval $ac_compile) 2>conftest.er1
28699 grep -v '^ *+' conftest.er1
>conftest.err
28701 cat conftest.err
>&5
28702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28703 (exit $ac_status); } &&
28704 { ac_try
='test -z "$ac_c_werror_flag"
28705 || test ! -s conftest.err'
28706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28707 (eval $ac_try) 2>&5
28709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28710 (exit $ac_status); }; } &&
28711 { ac_try
='test -s conftest.$ac_objext'
28712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28713 (eval $ac_try) 2>&5
28715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28716 (exit $ac_status); }; }; then
28717 wx_cv_x11_xpm_h
=yes
28719 echo "$as_me: failed program was:" >&5
28720 sed 's/^/| /' conftest.
$ac_ext >&5
28725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28727 CFLAGS
=$save_CFLAGS
28731 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28732 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28734 if test $wx_cv_x11_xpm_h = "yes"; then
28735 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
28736 cat >>confdefs.h
<<\_ACEOF
28737 #define wxHAVE_LIB_XPM 1
28741 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28742 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28748 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28749 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28750 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28751 echo $ECHO_N "(cached) $ECHO_C" >&6
28753 ac_check_lib_save_LIBS
=$LIBS
28754 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28755 cat >conftest.
$ac_ext <<_ACEOF
28758 cat confdefs.h
>>conftest.
$ac_ext
28759 cat >>conftest.
$ac_ext <<_ACEOF
28760 /* end confdefs.h. */
28762 /* Override any gcc2 internal prototype to avoid an error. */
28766 /* We use char because int might match the return type of a gcc2
28767 builtin and then its argument prototype would still apply. */
28768 char XShapeQueryExtension ();
28772 XShapeQueryExtension ();
28777 rm -f conftest.
$ac_objext conftest
$ac_exeext
28778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28779 (eval $ac_link) 2>conftest.er1
28781 grep -v '^ *+' conftest.er1
>conftest.err
28783 cat conftest.err
>&5
28784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785 (exit $ac_status); } &&
28786 { ac_try
='test -z "$ac_c_werror_flag"
28787 || test ! -s conftest.err'
28788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28789 (eval $ac_try) 2>&5
28791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28792 (exit $ac_status); }; } &&
28793 { ac_try
='test -s conftest$ac_exeext'
28794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28795 (eval $ac_try) 2>&5
28797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28798 (exit $ac_status); }; }; then
28799 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28801 echo "$as_me: failed program was:" >&5
28802 sed 's/^/| /' conftest.
$ac_ext >&5
28804 ac_cv_lib_Xext_XShapeQueryExtension
=no
28806 rm -f conftest.err conftest.
$ac_objext \
28807 conftest
$ac_exeext conftest.
$ac_ext
28808 LIBS
=$ac_check_lib_save_LIBS
28810 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28811 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28812 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28814 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28820 if test "$wxHAVE_XEXT_LIB" = 1; then
28821 save_CFLAGS
="$CFLAGS"
28822 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28824 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28825 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28826 cat >conftest.
$ac_ext <<_ACEOF
28829 cat confdefs.h
>>conftest.
$ac_ext
28830 cat >>conftest.
$ac_ext <<_ACEOF
28831 /* end confdefs.h. */
28833 #include <X11/Xlib.h>
28834 #include <X11/extensions/shape.h>
28840 int dummy1, dummy2;
28841 XShapeQueryExtension((Display*)NULL,
28842 (int*)NULL, (int*)NULL);
28848 rm -f conftest.
$ac_objext
28849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28850 (eval $ac_compile) 2>conftest.er1
28852 grep -v '^ *+' conftest.er1
>conftest.err
28854 cat conftest.err
>&5
28855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856 (exit $ac_status); } &&
28857 { ac_try
='test -z "$ac_c_werror_flag"
28858 || test ! -s conftest.err'
28859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28860 (eval $ac_try) 2>&5
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); }; } &&
28864 { ac_try
='test -s conftest.$ac_objext'
28865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28866 (eval $ac_try) 2>&5
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); }; }; then
28871 cat >>confdefs.h
<<\_ACEOF
28872 #define HAVE_XSHAPE 1
28875 echo "$as_me:$LINENO: result: found" >&5
28876 echo "${ECHO_T}found" >&6
28879 echo "$as_me: failed program was:" >&5
28880 sed 's/^/| /' conftest.
$ac_ext >&5
28883 echo "$as_me:$LINENO: result: not found" >&5
28884 echo "${ECHO_T}not found" >&6
28887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28888 CFLAGS
="$save_CFLAGS"
28893 if test "$wxUSE_MAC" = 1; then
28894 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28895 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28896 if test "$GCC" = yes; then
28897 echo "$as_me:$LINENO: result: gcc" >&5
28898 echo "${ECHO_T}gcc" >&6
28899 CPPFLAGS_PASCAL
="-fpascal-strings"
28900 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28901 echo "$as_me:$LINENO: result: xlc" >&5
28902 echo "${ECHO_T}xlc" >&6
28903 CPPFLAGS_PASCAL
="-qmacpstr"
28905 echo "$as_me:$LINENO: result: none" >&5
28906 echo "${ECHO_T}none" >&6
28909 if test "x$wxUSE_UNIX" = "xyes"; then
28910 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28912 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28917 WXBASEPORT
="_carbon"
28920 if test "$wxUSE_COCOA" = 1; then
28925 if test "$wxUSE_PM" = 1; then
28928 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28929 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28930 if test "${wx_cv_spbcdata+set}" = set; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28934 cat >conftest.
$ac_ext <<_ACEOF
28937 cat confdefs.h
>>conftest.
$ac_ext
28938 cat >>conftest.
$ac_ext <<_ACEOF
28939 /* end confdefs.h. */
28954 rm -f conftest.
$ac_objext
28955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28956 (eval $ac_compile) 2>conftest.er1
28958 grep -v '^ *+' conftest.er1
>conftest.err
28960 cat conftest.err
>&5
28961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28962 (exit $ac_status); } &&
28963 { ac_try
='test -z "$ac_c_werror_flag"
28964 || test ! -s conftest.err'
28965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28966 (eval $ac_try) 2>&5
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); }; } &&
28970 { ac_try
='test -s conftest.$ac_objext'
28971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28972 (eval $ac_try) 2>&5
28974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28975 (exit $ac_status); }; }; then
28978 echo "$as_me: failed program was:" >&5
28979 sed 's/^/| /' conftest.
$ac_ext >&5
28984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28988 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28989 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28991 if test $wx_cv_spbcdata = "yes"; then
28992 cat >>confdefs.h
<<\_ACEOF
28993 #define HAVE_SPBCDATA 1
28999 if test "$TOOLKIT" = "PM" ; then
29002 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
29005 if test "$wxUSE_UNIVERSAL" = "yes"; then
29006 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
29010 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
29011 DISTDIR
="wx\$(TOOLKIT)"
29017 if test "$USE_WIN32" = 1 ; then
29021 GUIDIST
="BASE_DIST"
29031 if test "$TOOLKIT" != "MSW" ; then
29033 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
29035 if test "${ac_cv_header_sql_h+set}" = set; then
29036 echo "$as_me:$LINENO: checking for sql.h" >&5
29037 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29038 if test "${ac_cv_header_sql_h+set}" = set; then
29039 echo $ECHO_N "(cached) $ECHO_C" >&6
29041 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29042 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29044 # Is the header compilable?
29045 echo "$as_me:$LINENO: checking sql.h usability" >&5
29046 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
29047 cat >conftest.
$ac_ext <<_ACEOF
29050 cat confdefs.h
>>conftest.
$ac_ext
29051 cat >>conftest.
$ac_ext <<_ACEOF
29052 /* end confdefs.h. */
29053 $ac_includes_default
29056 rm -f conftest.
$ac_objext
29057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29058 (eval $ac_compile) 2>conftest.er1
29060 grep -v '^ *+' conftest.er1
>conftest.err
29062 cat conftest.err
>&5
29063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064 (exit $ac_status); } &&
29065 { ac_try
='test -z "$ac_c_werror_flag"
29066 || test ! -s conftest.err'
29067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29068 (eval $ac_try) 2>&5
29070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29071 (exit $ac_status); }; } &&
29072 { ac_try
='test -s conftest.$ac_objext'
29073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29074 (eval $ac_try) 2>&5
29076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29077 (exit $ac_status); }; }; then
29078 ac_header_compiler
=yes
29080 echo "$as_me: failed program was:" >&5
29081 sed 's/^/| /' conftest.
$ac_ext >&5
29083 ac_header_compiler
=no
29085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29087 echo "${ECHO_T}$ac_header_compiler" >&6
29089 # Is the header present?
29090 echo "$as_me:$LINENO: checking sql.h presence" >&5
29091 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
29092 cat >conftest.
$ac_ext <<_ACEOF
29095 cat confdefs.h
>>conftest.
$ac_ext
29096 cat >>conftest.
$ac_ext <<_ACEOF
29097 /* end confdefs.h. */
29100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29101 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29103 grep -v '^ *+' conftest.er1
>conftest.err
29105 cat conftest.err
>&5
29106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29107 (exit $ac_status); } >/dev
/null
; then
29108 if test -s conftest.err
; then
29109 ac_cpp_err
=$ac_c_preproc_warn_flag
29110 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29117 if test -z "$ac_cpp_err"; then
29118 ac_header_preproc
=yes
29120 echo "$as_me: failed program was:" >&5
29121 sed 's/^/| /' conftest.
$ac_ext >&5
29123 ac_header_preproc
=no
29125 rm -f conftest.err conftest.
$ac_ext
29126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29127 echo "${ECHO_T}$ac_header_preproc" >&6
29129 # So? What about this header?
29130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29132 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29133 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29134 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
29135 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
29136 ac_header_preproc
=yes
29139 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
29140 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
29141 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
29142 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
29143 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
29144 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
29145 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
29146 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29147 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
29148 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
29149 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
29150 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
29153 ## ----------------------------------------- ##
29154 ## Report this to wx-dev@lists.wxwidgets.org ##
29155 ## ----------------------------------------- ##
29158 sed "s/^/$as_me: WARNING: /" >&2
29161 echo "$as_me:$LINENO: checking for sql.h" >&5
29162 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29163 if test "${ac_cv_header_sql_h+set}" = set; then
29164 echo $ECHO_N "(cached) $ECHO_C" >&6
29166 ac_cv_header_sql_h
=$ac_header_preproc
29168 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29169 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29172 if test $ac_cv_header_sql_h = yes; then
29177 if test "x$found_sql_h" = "x1" ; then
29178 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
29179 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
29180 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
29181 echo $ECHO_N "(cached) $ECHO_C" >&6
29183 ac_check_lib_save_LIBS
=$LIBS
29184 LIBS
="-liodbc $LIBS"
29185 cat >conftest.
$ac_ext <<_ACEOF
29188 cat confdefs.h
>>conftest.
$ac_ext
29189 cat >>conftest.
$ac_ext <<_ACEOF
29190 /* end confdefs.h. */
29192 /* Override any gcc2 internal prototype to avoid an error. */
29196 /* We use char because int might match the return type of a gcc2
29197 builtin and then its argument prototype would still apply. */
29198 char SQLAllocEnv ();
29207 rm -f conftest.
$ac_objext conftest
$ac_exeext
29208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29209 (eval $ac_link) 2>conftest.er1
29211 grep -v '^ *+' conftest.er1
>conftest.err
29213 cat conftest.err
>&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); } &&
29216 { ac_try
='test -z "$ac_c_werror_flag"
29217 || test ! -s conftest.err'
29218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29219 (eval $ac_try) 2>&5
29221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29222 (exit $ac_status); }; } &&
29223 { ac_try
='test -s conftest$ac_exeext'
29224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29225 (eval $ac_try) 2>&5
29227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29228 (exit $ac_status); }; }; then
29229 ac_cv_lib_iodbc_SQLAllocEnv
=yes
29231 echo "$as_me: failed program was:" >&5
29232 sed 's/^/| /' conftest.
$ac_ext >&5
29234 ac_cv_lib_iodbc_SQLAllocEnv
=no
29236 rm -f conftest.err conftest.
$ac_objext \
29237 conftest
$ac_exeext conftest.
$ac_ext
29238 LIBS
=$ac_check_lib_save_LIBS
29240 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29241 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29242 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29243 ODBC_LINK
=" -liodbc"
29246 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29247 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29248 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29249 echo $ECHO_N "(cached) $ECHO_C" >&6
29251 ac_check_lib_save_LIBS
=$LIBS
29252 LIBS
="-lunixodbc $LIBS"
29253 cat >conftest.
$ac_ext <<_ACEOF
29256 cat confdefs.h
>>conftest.
$ac_ext
29257 cat >>conftest.
$ac_ext <<_ACEOF
29258 /* end confdefs.h. */
29260 /* Override any gcc2 internal prototype to avoid an error. */
29264 /* We use char because int might match the return type of a gcc2
29265 builtin and then its argument prototype would still apply. */
29266 char SQLAllocEnv ();
29275 rm -f conftest.
$ac_objext conftest
$ac_exeext
29276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29277 (eval $ac_link) 2>conftest.er1
29279 grep -v '^ *+' conftest.er1
>conftest.err
29281 cat conftest.err
>&5
29282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29283 (exit $ac_status); } &&
29284 { ac_try
='test -z "$ac_c_werror_flag"
29285 || test ! -s conftest.err'
29286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29287 (eval $ac_try) 2>&5
29289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29290 (exit $ac_status); }; } &&
29291 { ac_try
='test -s conftest$ac_exeext'
29292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29293 (eval $ac_try) 2>&5
29295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29296 (exit $ac_status); }; }; then
29297 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
29299 echo "$as_me: failed program was:" >&5
29300 sed 's/^/| /' conftest.
$ac_ext >&5
29302 ac_cv_lib_unixodbc_SQLAllocEnv
=no
29304 rm -f conftest.err conftest.
$ac_objext \
29305 conftest
$ac_exeext conftest.
$ac_ext
29306 LIBS
=$ac_check_lib_save_LIBS
29308 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29309 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29310 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29311 ODBC_LINK
=" -lunixodbc"
29314 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29315 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29316 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29317 echo $ECHO_N "(cached) $ECHO_C" >&6
29319 ac_check_lib_save_LIBS
=$LIBS
29320 LIBS
="-lodbc $LIBS"
29321 cat >conftest.
$ac_ext <<_ACEOF
29324 cat confdefs.h
>>conftest.
$ac_ext
29325 cat >>conftest.
$ac_ext <<_ACEOF
29326 /* end confdefs.h. */
29328 /* Override any gcc2 internal prototype to avoid an error. */
29332 /* We use char because int might match the return type of a gcc2
29333 builtin and then its argument prototype would still apply. */
29334 char SQLAllocEnv ();
29343 rm -f conftest.
$ac_objext conftest
$ac_exeext
29344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29345 (eval $ac_link) 2>conftest.er1
29347 grep -v '^ *+' conftest.er1
>conftest.err
29349 cat conftest.err
>&5
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); } &&
29352 { ac_try
='test -z "$ac_c_werror_flag"
29353 || test ! -s conftest.err'
29354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29355 (eval $ac_try) 2>&5
29357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358 (exit $ac_status); }; } &&
29359 { ac_try
='test -s conftest$ac_exeext'
29360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29361 (eval $ac_try) 2>&5
29363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364 (exit $ac_status); }; }; then
29365 ac_cv_lib_odbc_SQLAllocEnv
=yes
29367 echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.
$ac_ext >&5
29370 ac_cv_lib_odbc_SQLAllocEnv
=no
29372 rm -f conftest.err conftest.
$ac_objext \
29373 conftest
$ac_exeext conftest.
$ac_ext
29374 LIBS
=$ac_check_lib_save_LIBS
29376 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29377 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29378 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29379 ODBC_LINK
=" -lodbc"
29389 if test "x$ODBC_LINK" = "x" ; then
29390 if test "$wxUSE_ODBC" = "sys" ; then
29391 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29392 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29393 { (exit 1); exit 1; }; }
29395 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29396 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29404 if test "$wxUSE_ODBC" = "builtin" ; then
29405 cat >>confdefs.h
<<\_ACEOF
29406 #define wxUSE_BUILTIN_IODBC 1
29412 if test "$wxUSE_ODBC" != "no" ; then
29413 cat >>confdefs.h
<<\_ACEOF
29414 #define wxUSE_ODBC 1
29417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
29419 WXODBCFLAG
="-D_IODBC_"
29423 if test "$wxUSE_DISPLAY" = "yes"; then
29424 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29425 echo "$as_me:$LINENO: checking for Xinerama" >&5
29426 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29429 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29431 for ac_extension
in a so sl dylib dll.a
; do
29432 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29433 ac_find_libraries
=$ac_dir
29439 if test "$ac_find_libraries" != "" ; then
29441 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29443 if test $result = 0; then
29446 ac_path_to_link
=" -L$ac_find_libraries"
29449 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29450 LDFLAGS
="$LDFLAGS $ac_path_to_link"
29452 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
29453 echo "$as_me:$LINENO: result: yes" >&5
29454 echo "${ECHO_T}yes" >&6
29456 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29457 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29460 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29462 for ac_extension
in a so sl dylib dll.a
; do
29463 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29464 ac_find_libraries
=$ac_dir
29470 if test "$ac_find_libraries" != "" ; then
29471 echo "$as_me:$LINENO: result: yes" >&5
29472 echo "${ECHO_T}yes" >&6
29474 for ac_header
in X
11/extensions
/xf86vmode.h
29476 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29477 echo "$as_me:$LINENO: checking for $ac_header" >&5
29478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29480 echo $ECHO_N "(cached) $ECHO_C" >&6
29482 cat >conftest.
$ac_ext <<_ACEOF
29485 cat confdefs.h
>>conftest.
$ac_ext
29486 cat >>conftest.
$ac_ext <<_ACEOF
29487 /* end confdefs.h. */
29489 #if HAVE_X11_XLIB_H
29490 #include <X11/Xlib.h>
29494 #include <$ac_header>
29496 rm -f conftest.
$ac_objext
29497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29498 (eval $ac_compile) 2>conftest.er1
29500 grep -v '^ *+' conftest.er1
>conftest.err
29502 cat conftest.err
>&5
29503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29504 (exit $ac_status); } &&
29505 { ac_try
='test -z "$ac_c_werror_flag"
29506 || test ! -s conftest.err'
29507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29508 (eval $ac_try) 2>&5
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); }; } &&
29512 { ac_try
='test -s conftest.$ac_objext'
29513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29514 (eval $ac_try) 2>&5
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); }; }; then
29518 eval "$as_ac_Header=yes"
29520 echo "$as_me: failed program was:" >&5
29521 sed 's/^/| /' conftest.
$ac_ext >&5
29523 eval "$as_ac_Header=no"
29525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29530 cat >>confdefs.h
<<_ACEOF
29531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29534 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
29541 echo "$as_me:$LINENO: result: no" >&5
29542 echo "${ECHO_T}no" >&6
29546 echo "$as_me:$LINENO: result: no" >&5
29547 echo "${ECHO_T}no" >&6
29548 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29549 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29552 elif test "$wxUSE_MSW" = 1; then
29555 for ac_header
in multimon.h ddraw.h
29557 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29558 echo "$as_me:$LINENO: checking for $ac_header" >&5
29559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29561 echo $ECHO_N "(cached) $ECHO_C" >&6
29563 cat >conftest.
$ac_ext <<_ACEOF
29566 cat confdefs.h
>>conftest.
$ac_ext
29567 cat >>conftest.
$ac_ext <<_ACEOF
29568 /* end confdefs.h. */
29569 #include <windows.h>
29571 #include <$ac_header>
29573 rm -f conftest.
$ac_objext
29574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29575 (eval $ac_compile) 2>conftest.er1
29577 grep -v '^ *+' conftest.er1
>conftest.err
29579 cat conftest.err
>&5
29580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29581 (exit $ac_status); } &&
29582 { ac_try
='test -z "$ac_c_werror_flag"
29583 || test ! -s conftest.err'
29584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29585 (eval $ac_try) 2>&5
29587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29588 (exit $ac_status); }; } &&
29589 { ac_try
='test -s conftest.$ac_objext'
29590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29591 (eval $ac_try) 2>&5
29593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594 (exit $ac_status); }; }; then
29595 eval "$as_ac_Header=yes"
29597 echo "$as_me: failed program was:" >&5
29598 sed 's/^/| /' conftest.
$ac_ext >&5
29600 eval "$as_ac_Header=no"
29602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29607 cat >>confdefs.h
<<_ACEOF
29608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29614 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29615 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29626 if test "$wxUSE_OPENGL" = "yes"; then
29627 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29628 OPENGL_LIBS
="-framework OpenGL -framework AGL"
29629 elif test "$wxUSE_MSW" = 1; then
29630 OPENGL_LIBS
="-lopengl32 -lglu32"
29635 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29637 if test -f "$ac_dir/GL/gl.h"; then
29638 ac_find_includes
=$ac_dir
29643 if test "$ac_find_includes" != "" ; then
29644 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29645 echo "${ECHO_T}found in $ac_find_includes" >&6
29647 if test "x$ac_find_includes" = "x/usr/include"; then
29648 ac_path_to_include
=""
29650 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
29652 if test $result = 0; then
29653 ac_path_to_include
=""
29655 ac_path_to_include
=" -I$ac_find_includes"
29659 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
29662 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29663 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29664 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29665 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29666 echo $ECHO_N "(cached) $ECHO_C" >&6
29668 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29669 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29671 # Is the header compilable?
29672 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29673 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29674 cat >conftest.
$ac_ext <<_ACEOF
29677 cat confdefs.h
>>conftest.
$ac_ext
29678 cat >>conftest.
$ac_ext <<_ACEOF
29679 /* end confdefs.h. */
29680 $ac_includes_default
29683 rm -f conftest.
$ac_objext
29684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29685 (eval $ac_compile) 2>conftest.er1
29687 grep -v '^ *+' conftest.er1
>conftest.err
29689 cat conftest.err
>&5
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); } &&
29692 { ac_try
='test -z "$ac_c_werror_flag"
29693 || test ! -s conftest.err'
29694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29695 (eval $ac_try) 2>&5
29697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29698 (exit $ac_status); }; } &&
29699 { ac_try
='test -s conftest.$ac_objext'
29700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29701 (eval $ac_try) 2>&5
29703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704 (exit $ac_status); }; }; then
29705 ac_header_compiler
=yes
29707 echo "$as_me: failed program was:" >&5
29708 sed 's/^/| /' conftest.
$ac_ext >&5
29710 ac_header_compiler
=no
29712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29714 echo "${ECHO_T}$ac_header_compiler" >&6
29716 # Is the header present?
29717 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29718 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29719 cat >conftest.
$ac_ext <<_ACEOF
29722 cat confdefs.h
>>conftest.
$ac_ext
29723 cat >>conftest.
$ac_ext <<_ACEOF
29724 /* end confdefs.h. */
29727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29728 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29730 grep -v '^ *+' conftest.er1
>conftest.err
29732 cat conftest.err
>&5
29733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29734 (exit $ac_status); } >/dev
/null
; then
29735 if test -s conftest.err
; then
29736 ac_cpp_err
=$ac_c_preproc_warn_flag
29737 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29744 if test -z "$ac_cpp_err"; then
29745 ac_header_preproc
=yes
29747 echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.
$ac_ext >&5
29750 ac_header_preproc
=no
29752 rm -f conftest.err conftest.
$ac_ext
29753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29754 echo "${ECHO_T}$ac_header_preproc" >&6
29756 # So? What about this header?
29757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29759 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29760 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29761 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29762 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29763 ac_header_preproc
=yes
29766 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29767 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29768 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29769 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29770 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29771 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29772 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29773 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29774 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29775 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29776 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29777 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29780 ## ----------------------------------------- ##
29781 ## Report this to wx-dev@lists.wxwidgets.org ##
29782 ## ----------------------------------------- ##
29785 sed "s/^/$as_me: WARNING: /" >&2
29788 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29789 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29790 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29791 echo $ECHO_N "(cached) $ECHO_C" >&6
29793 ac_cv_header_GL_gl_h
=$ac_header_preproc
29795 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29796 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29799 if test $ac_cv_header_GL_gl_h = yes; then
29803 echo "$as_me:$LINENO: checking for -lGL" >&5
29804 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29807 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29809 for ac_extension
in a so sl dylib dll.a
; do
29810 if test -f "$ac_dir/libGL.$ac_extension"; then
29811 ac_find_libraries
=$ac_dir
29817 if test "$ac_find_libraries" != "" ; then
29818 echo "$as_me:$LINENO: result: yes" >&5
29819 echo "${ECHO_T}yes" >&6
29822 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29824 if test $result = 0; then
29827 ac_path_to_link
=" -L$ac_find_libraries"
29830 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29831 LDFLAGS_GL
="$ac_path_to_link"
29834 echo "$as_me:$LINENO: checking for -lGLU" >&5
29835 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29838 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29840 for ac_extension
in a so sl dylib dll.a
; do
29841 if test -f "$ac_dir/libGLU.$ac_extension"; then
29842 ac_find_libraries
=$ac_dir
29848 if test "$ac_find_libraries" != "" ; then
29850 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29852 if test $result = 0; then
29855 ac_path_to_link
=" -L$ac_find_libraries"
29858 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29859 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29860 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29864 OPENGL_LIBS
="-lGL -lGLU"
29865 echo "$as_me:$LINENO: result: yes" >&5
29866 echo "${ECHO_T}yes" >&6
29868 echo "$as_me:$LINENO: result: no" >&5
29869 echo "${ECHO_T}no" >&6
29872 echo "$as_me:$LINENO: result: no" >&5
29873 echo "${ECHO_T}no" >&6
29876 if test "$found_gl" != 1; then
29877 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29878 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29881 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29883 for ac_extension
in a so sl dylib dll.a
; do
29884 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29885 ac_find_libraries
=$ac_dir
29891 if test "$ac_find_libraries" != "" ; then
29893 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29895 if test $result = 0; then
29898 ac_path_to_link
=" -L$ac_find_libraries"
29901 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29902 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29903 echo "$as_me:$LINENO: result: yes" >&5
29904 echo "${ECHO_T}yes" >&6
29906 echo "$as_me:$LINENO: result: no" >&5
29907 echo "${ECHO_T}no" >&6
29915 if test "x$OPENGL_LIBS" = "x"; then
29916 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29917 echo "$as_me: error: OpenGL libraries not available" >&2;}
29918 { (exit 1); exit 1; }; }
29922 if test "$wxUSE_OPENGL" = "yes"; then
29924 cat >>confdefs.h
<<\_ACEOF
29925 #define wxUSE_OPENGL 1
29928 cat >>confdefs.h
<<\_ACEOF
29929 #define wxUSE_GLCANVAS 1
29932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29937 if test -n "$TOOLKIT" ; then
29938 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29943 if test "$wxUSE_SHARED" = "yes"; then
29947 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29948 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29953 if test "$wxUSE_SHARED" = "yes"; then
29956 found_versioning
=no
29959 if test $found_versioning = no
; then
29960 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29961 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29962 if test "${wx_cv_version_script+set}" = set; then
29963 echo $ECHO_N "(cached) $ECHO_C" >&6
29966 echo "VER_1 { *; };" >conftest.sym
29967 echo "int main() { return 0; }" >conftest.cpp
29970 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29971 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973 (eval $ac_try) 2>&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); }; } ; then
29977 if test -s conftest.stderr
; then
29978 wx_cv_version_script
=no
29980 wx_cv_version_script
=yes
29983 wx_cv_version_script
=no
29986 if test $wx_cv_version_script = yes
29988 echo "struct B { virtual ~B() { } }; \
29989 struct D : public B { }; \
29990 void F() { D d; }" > conftest.cpp
29993 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29994 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29996 (eval $ac_try) 2>&5
29998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29999 (exit $ac_status); }; } &&
30001 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30002 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
30003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004 (eval $ac_try) 2>&5
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); }; }
30010 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30011 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
30012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30013 (eval $ac_try) 2>&5
30015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30016 (exit $ac_status); }; }
30018 wx_cv_version_script
=yes
30020 wx_cv_version_script
=no
30025 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
30026 rm -f conftest1.output conftest2.output conftest3.output
30029 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
30030 echo "${ECHO_T}$wx_cv_version_script" >&6
30031 if test $wx_cv_version_script = yes ; then
30032 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
30038 *-*-linux* | *-*-gnu* )
30039 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
30040 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
30044 if test "$GCC" = yes ; then
30045 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
30047 saveLdflags
="$LDFLAGS"
30048 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
30049 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
30050 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
30051 cat >conftest.
$ac_ext <<_ACEOF
30054 cat confdefs.h
>>conftest.
$ac_ext
30055 cat >>conftest.
$ac_ext <<_ACEOF
30056 /* end confdefs.h. */
30066 rm -f conftest.
$ac_objext conftest
$ac_exeext
30067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30068 (eval $ac_link) 2>conftest.er1
30070 grep -v '^ *+' conftest.er1
>conftest.err
30072 cat conftest.err
>&5
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); } &&
30075 { ac_try
='test -z "$ac_c_werror_flag"
30076 || test ! -s conftest.err'
30077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30078 (eval $ac_try) 2>&5
30080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30081 (exit $ac_status); }; } &&
30082 { ac_try
='test -s conftest$ac_exeext'
30083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30084 (eval $ac_try) 2>&5
30086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30087 (exit $ac_status); }; }; then
30089 echo "$as_me:$LINENO: result: yes" >&5
30090 echo "${ECHO_T}yes" >&6
30091 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
30092 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
30095 echo "$as_me: failed program was:" >&5
30096 sed 's/^/| /' conftest.
$ac_ext >&5
30099 echo "$as_me:$LINENO: result: no" >&5
30100 echo "${ECHO_T}no" >&6
30101 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
30102 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
30103 LDFLAGS
="$saveLdflags -Wl,-R,/"
30104 cat >conftest.
$ac_ext <<_ACEOF
30107 cat confdefs.h
>>conftest.
$ac_ext
30108 cat >>conftest.
$ac_ext <<_ACEOF
30109 /* end confdefs.h. */
30119 rm -f conftest.
$ac_objext conftest
$ac_exeext
30120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30121 (eval $ac_link) 2>conftest.er1
30123 grep -v '^ *+' conftest.er1
>conftest.err
30125 cat conftest.err
>&5
30126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127 (exit $ac_status); } &&
30128 { ac_try
='test -z "$ac_c_werror_flag"
30129 || test ! -s conftest.err'
30130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131 (eval $ac_try) 2>&5
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); }; } &&
30135 { ac_try
='test -s conftest$ac_exeext'
30136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30137 (eval $ac_try) 2>&5
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); }; }; then
30142 echo "$as_me:$LINENO: result: yes" >&5
30143 echo "${ECHO_T}yes" >&6
30144 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
30145 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
30148 echo "$as_me: failed program was:" >&5
30149 sed 's/^/| /' conftest.
$ac_ext >&5
30152 echo "$as_me:$LINENO: result: no" >&5
30153 echo "${ECHO_T}no" >&6
30156 rm -f conftest.err conftest.
$ac_objext \
30157 conftest
$ac_exeext conftest.
$ac_ext
30160 rm -f conftest.err conftest.
$ac_objext \
30161 conftest
$ac_exeext conftest.
$ac_ext
30162 LDFLAGS
="$saveLdflags"
30164 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
30165 WXCONFIG_RPATH
="-R\$libdir"
30169 powerpc
-*-darwin* )
30170 install_name_tool
=`which install_name_tool`
30171 if test "$install_name_tool" -a -x "$install_name_tool"; then
30172 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
30173 cat <<EOF >change-install-names
30175 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
30176 inst_cmd="install_name_tool "
30177 for i in \${libnames} ; do
30178 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
30182 chmod +x change
-install-names
30186 *-*-cygwin* | *-*-mingw32* )
30187 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
30191 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
30192 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
30197 if test $wxUSE_RPATH = "no"; then
30198 SAMPLES_RPATH_FLAG
=''
30199 SAMPLES_RPATH_POSTLINK
=''
30207 config_linkage_component
="-static"
30214 lib_unicode_suffix
=
30216 if test "$wxUSE_UNICODE" = "yes"; then
30217 lib_unicode_suffix
=u
30218 WX_CHARTYPE
="unicode"
30223 WX_DEBUGTYPE
="release"
30225 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30227 WX_DEBUGTYPE
="debug"
30231 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
30232 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
30235 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30239 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30241 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30243 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30245 if test "$cross_compiling" = "yes"; then
30246 HOST_SUFFIX
="-$host_alias"
30247 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
30248 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
30251 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30252 if test "${TOOLKIT_DIR}" = "os2"; then
30253 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30255 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30260 if test "$wxUSE_COCOA" = 1; then
30264 ac_cpp
='$CPP $CPPFLAGS'
30265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30271 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30272 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30273 cat >conftest.
$ac_ext <<_ACEOF
30276 cat confdefs.h
>>conftest.
$ac_ext
30277 cat >>conftest.
$ac_ext <<_ACEOF
30278 /* end confdefs.h. */
30279 #include <AppKit/NSEvent.h>
30280 #include <CoreFoundation/CoreFoundation.h>
30290 rm -f conftest.
$ac_objext
30291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30292 (eval $ac_compile) 2>conftest.er1
30294 grep -v '^ *+' conftest.er1
>conftest.err
30296 cat conftest.err
>&5
30297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30298 (exit $ac_status); } &&
30299 { ac_try
='test -z "$ac_c_werror_flag"
30300 || test ! -s conftest.err'
30301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30302 (eval $ac_try) 2>&5
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); }; } &&
30306 { ac_try
='test -s conftest.$ac_objext'
30307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30308 (eval $ac_try) 2>&5
30310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311 (exit $ac_status); }; }; then
30312 echo "$as_me:$LINENO: result: no" >&5
30313 echo "${ECHO_T}no" >&6
30315 echo "$as_me: failed program was:" >&5
30316 sed 's/^/| /' conftest.
$ac_ext >&5
30318 echo "$as_me:$LINENO: result: yes" >&5
30319 echo "${ECHO_T}yes" >&6
30320 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30321 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30322 cat >conftest.
$ac_ext <<_ACEOF
30325 cat confdefs.h
>>conftest.
$ac_ext
30326 cat >>conftest.
$ac_ext <<_ACEOF
30327 /* end confdefs.h. */
30328 #define __Point__ 1
30329 #include <AppKit/NSEvent.h>
30330 #include <CoreFoundation/CoreFoundation.h>
30340 rm -f conftest.
$ac_objext
30341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30342 (eval $ac_compile) 2>conftest.er1
30344 grep -v '^ *+' conftest.er1
>conftest.err
30346 cat conftest.err
>&5
30347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30348 (exit $ac_status); } &&
30349 { ac_try
='test -z "$ac_c_werror_flag"
30350 || test ! -s conftest.err'
30351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30352 (eval $ac_try) 2>&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); }; } &&
30356 { ac_try
='test -s conftest.$ac_objext'
30357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30358 (eval $ac_try) 2>&5
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); }; }; then
30362 echo "$as_me:$LINENO: result: yes" >&5
30363 echo "${ECHO_T}yes" >&6
30364 cat >>confdefs.h
<<\_ACEOF
30365 #define __Point__ 1
30370 echo "$as_me: failed program was:" >&5
30371 sed 's/^/| /' conftest.
$ac_ext >&5
30373 { { echo "$as_me:$LINENO: error: no
30374 See \`config.log' for more details." >&5
30375 echo "$as_me: error: no
30376 See \`config.log' for more details." >&2;}
30377 { (exit 1); exit 1; }; }
30380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30385 ac_cpp
='$CPP $CPPFLAGS'
30386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30392 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30393 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30394 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30396 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30398 # Extract the first word of "Rez", so it can be a program name with args.
30399 set dummy Rez
; ac_word
=$2
30400 echo "$as_me:$LINENO: checking for $ac_word" >&5
30401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30402 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30403 echo $ECHO_N "(cached) $ECHO_C" >&6
30405 if test -n "$RESCOMP"; then
30406 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
30408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30409 for as_dir
in $PATH
30412 test -z "$as_dir" && as_dir
=.
30413 for ac_exec_ext
in '' $ac_executable_extensions; do
30414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30415 ac_cv_prog_RESCOMP
="Rez"
30416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30422 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
30425 RESCOMP
=$ac_cv_prog_RESCOMP
30426 if test -n "$RESCOMP"; then
30427 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30428 echo "${ECHO_T}$RESCOMP" >&6
30430 echo "$as_me:$LINENO: result: no" >&5
30431 echo "${ECHO_T}no" >&6
30434 # Extract the first word of "DeRez", so it can be a program name with args.
30435 set dummy DeRez
; ac_word
=$2
30436 echo "$as_me:$LINENO: checking for $ac_word" >&5
30437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30438 if test "${ac_cv_prog_DEREZ+set}" = set; then
30439 echo $ECHO_N "(cached) $ECHO_C" >&6
30441 if test -n "$DEREZ"; then
30442 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
30444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30445 for as_dir
in $PATH
30448 test -z "$as_dir" && as_dir
=.
30449 for ac_exec_ext
in '' $ac_executable_extensions; do
30450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30451 ac_cv_prog_DEREZ
="DeRez"
30452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30458 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
30461 DEREZ
=$ac_cv_prog_DEREZ
30462 if test -n "$DEREZ"; then
30463 echo "$as_me:$LINENO: result: $DEREZ" >&5
30464 echo "${ECHO_T}$DEREZ" >&6
30466 echo "$as_me:$LINENO: result: no" >&5
30467 echo "${ECHO_T}no" >&6
30470 # Extract the first word of "SetFile", so it can be a program name with args.
30471 set dummy SetFile
; ac_word
=$2
30472 echo "$as_me:$LINENO: checking for $ac_word" >&5
30473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30474 if test "${ac_cv_prog_SETFILE+set}" = set; then
30475 echo $ECHO_N "(cached) $ECHO_C" >&6
30477 if test -n "$SETFILE"; then
30478 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
30480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30481 for as_dir
in $PATH
30484 test -z "$as_dir" && as_dir
=.
30485 for ac_exec_ext
in '' $ac_executable_extensions; do
30486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30487 ac_cv_prog_SETFILE
="SetFile"
30488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30494 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
30497 SETFILE
=$ac_cv_prog_SETFILE
30498 if test -n "$SETFILE"; then
30499 echo "$as_me:$LINENO: result: $SETFILE" >&5
30500 echo "${ECHO_T}$SETFILE" >&6
30502 echo "$as_me:$LINENO: result: no" >&5
30503 echo "${ECHO_T}no" >&6
30507 MACSETFILE
="\$(SETFILE)"
30509 if test "$wxUSE_MAC" = 1; then
30510 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30512 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30514 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30515 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30519 MACRESWXCONFIG
="@true"
30521 if test "$wxUSE_PM" = 1; then
30522 MACRESCOMP
="emxbind -ep"
30530 echo "$as_me:$LINENO: checking for mode_t" >&5
30531 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30532 if test "${ac_cv_type_mode_t+set}" = set; then
30533 echo $ECHO_N "(cached) $ECHO_C" >&6
30535 cat >conftest.
$ac_ext <<_ACEOF
30538 cat confdefs.h
>>conftest.
$ac_ext
30539 cat >>conftest.
$ac_ext <<_ACEOF
30540 /* end confdefs.h. */
30541 $ac_includes_default
30547 if (sizeof (mode_t))
30553 rm -f conftest.
$ac_objext
30554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30555 (eval $ac_compile) 2>conftest.er1
30557 grep -v '^ *+' conftest.er1
>conftest.err
30559 cat conftest.err
>&5
30560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30561 (exit $ac_status); } &&
30562 { ac_try
='test -z "$ac_c_werror_flag"
30563 || test ! -s conftest.err'
30564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30565 (eval $ac_try) 2>&5
30567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30568 (exit $ac_status); }; } &&
30569 { ac_try
='test -s conftest.$ac_objext'
30570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30571 (eval $ac_try) 2>&5
30573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30574 (exit $ac_status); }; }; then
30575 ac_cv_type_mode_t
=yes
30577 echo "$as_me: failed program was:" >&5
30578 sed 's/^/| /' conftest.
$ac_ext >&5
30580 ac_cv_type_mode_t
=no
30582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30584 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30585 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30586 if test $ac_cv_type_mode_t = yes; then
30590 cat >>confdefs.h
<<_ACEOF
30596 echo "$as_me:$LINENO: checking for off_t" >&5
30597 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30598 if test "${ac_cv_type_off_t+set}" = set; then
30599 echo $ECHO_N "(cached) $ECHO_C" >&6
30601 cat >conftest.
$ac_ext <<_ACEOF
30604 cat confdefs.h
>>conftest.
$ac_ext
30605 cat >>conftest.
$ac_ext <<_ACEOF
30606 /* end confdefs.h. */
30607 $ac_includes_default
30613 if (sizeof (off_t))
30619 rm -f conftest.
$ac_objext
30620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30621 (eval $ac_compile) 2>conftest.er1
30623 grep -v '^ *+' conftest.er1
>conftest.err
30625 cat conftest.err
>&5
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); } &&
30628 { ac_try
='test -z "$ac_c_werror_flag"
30629 || test ! -s conftest.err'
30630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30631 (eval $ac_try) 2>&5
30633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30634 (exit $ac_status); }; } &&
30635 { ac_try
='test -s conftest.$ac_objext'
30636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30637 (eval $ac_try) 2>&5
30639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30640 (exit $ac_status); }; }; then
30641 ac_cv_type_off_t
=yes
30643 echo "$as_me: failed program was:" >&5
30644 sed 's/^/| /' conftest.
$ac_ext >&5
30646 ac_cv_type_off_t
=no
30648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30650 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30651 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30652 if test $ac_cv_type_off_t = yes; then
30656 cat >>confdefs.h
<<_ACEOF
30662 echo "$as_me:$LINENO: checking for pid_t" >&5
30663 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30664 if test "${ac_cv_type_pid_t+set}" = set; then
30665 echo $ECHO_N "(cached) $ECHO_C" >&6
30667 cat >conftest.
$ac_ext <<_ACEOF
30670 cat confdefs.h
>>conftest.
$ac_ext
30671 cat >>conftest.
$ac_ext <<_ACEOF
30672 /* end confdefs.h. */
30673 $ac_includes_default
30679 if (sizeof (pid_t))
30685 rm -f conftest.
$ac_objext
30686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30687 (eval $ac_compile) 2>conftest.er1
30689 grep -v '^ *+' conftest.er1
>conftest.err
30691 cat conftest.err
>&5
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); } &&
30694 { ac_try
='test -z "$ac_c_werror_flag"
30695 || test ! -s conftest.err'
30696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30697 (eval $ac_try) 2>&5
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); }; } &&
30701 { ac_try
='test -s conftest.$ac_objext'
30702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30703 (eval $ac_try) 2>&5
30705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30706 (exit $ac_status); }; }; then
30707 ac_cv_type_pid_t
=yes
30709 echo "$as_me: failed program was:" >&5
30710 sed 's/^/| /' conftest.
$ac_ext >&5
30712 ac_cv_type_pid_t
=no
30714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30716 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30717 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30718 if test $ac_cv_type_pid_t = yes; then
30722 cat >>confdefs.h
<<_ACEOF
30728 echo "$as_me:$LINENO: checking for size_t" >&5
30729 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30730 if test "${ac_cv_type_size_t+set}" = set; then
30731 echo $ECHO_N "(cached) $ECHO_C" >&6
30733 cat >conftest.
$ac_ext <<_ACEOF
30736 cat confdefs.h
>>conftest.
$ac_ext
30737 cat >>conftest.
$ac_ext <<_ACEOF
30738 /* end confdefs.h. */
30739 $ac_includes_default
30745 if (sizeof (size_t))
30751 rm -f conftest.
$ac_objext
30752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30753 (eval $ac_compile) 2>conftest.er1
30755 grep -v '^ *+' conftest.er1
>conftest.err
30757 cat conftest.err
>&5
30758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30759 (exit $ac_status); } &&
30760 { ac_try
='test -z "$ac_c_werror_flag"
30761 || test ! -s conftest.err'
30762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30763 (eval $ac_try) 2>&5
30765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766 (exit $ac_status); }; } &&
30767 { ac_try
='test -s conftest.$ac_objext'
30768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30769 (eval $ac_try) 2>&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); }; }; then
30773 ac_cv_type_size_t
=yes
30775 echo "$as_me: failed program was:" >&5
30776 sed 's/^/| /' conftest.
$ac_ext >&5
30778 ac_cv_type_size_t
=no
30780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30782 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30783 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30784 if test $ac_cv_type_size_t = yes; then
30788 cat >>confdefs.h
<<_ACEOF
30789 #define size_t unsigned
30794 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30795 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30796 if test "${ac_cv_type_uid_t+set}" = set; then
30797 echo $ECHO_N "(cached) $ECHO_C" >&6
30799 cat >conftest.
$ac_ext <<_ACEOF
30802 cat confdefs.h
>>conftest.
$ac_ext
30803 cat >>conftest.
$ac_ext <<_ACEOF
30804 /* end confdefs.h. */
30805 #include <sys/types.h>
30808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30809 $EGREP "uid_t" >/dev
/null
2>&1; then
30810 ac_cv_type_uid_t
=yes
30812 ac_cv_type_uid_t
=no
30817 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30818 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30819 if test $ac_cv_type_uid_t = no
; then
30821 cat >>confdefs.h
<<\_ACEOF
30826 cat >>confdefs.h
<<\_ACEOF
30833 echo "$as_me:$LINENO: checking for ssize_t" >&5
30834 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30835 if test "${ac_cv_type_ssize_t+set}" = set; then
30836 echo $ECHO_N "(cached) $ECHO_C" >&6
30838 cat >conftest.
$ac_ext <<_ACEOF
30841 cat confdefs.h
>>conftest.
$ac_ext
30842 cat >>conftest.
$ac_ext <<_ACEOF
30843 /* end confdefs.h. */
30844 $ac_includes_default
30850 if (sizeof (ssize_t))
30856 rm -f conftest.
$ac_objext
30857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30858 (eval $ac_compile) 2>conftest.er1
30860 grep -v '^ *+' conftest.er1
>conftest.err
30862 cat conftest.err
>&5
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); } &&
30865 { ac_try
='test -z "$ac_c_werror_flag"
30866 || test ! -s conftest.err'
30867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30868 (eval $ac_try) 2>&5
30870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30871 (exit $ac_status); }; } &&
30872 { ac_try
='test -s conftest.$ac_objext'
30873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30874 (eval $ac_try) 2>&5
30876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30877 (exit $ac_status); }; }; then
30878 ac_cv_type_ssize_t
=yes
30880 echo "$as_me: failed program was:" >&5
30881 sed 's/^/| /' conftest.
$ac_ext >&5
30883 ac_cv_type_ssize_t
=no
30885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30887 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30888 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30889 if test $ac_cv_type_ssize_t = yes; then
30891 cat >>confdefs.h
<<_ACEOF
30892 #define HAVE_SSIZE_T 1
30902 ac_cpp
='$CXXCPP $CPPFLAGS'
30903 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30904 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30905 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30907 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30908 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30909 if test "${wx_cv_size_t_is_uint+set}" = set; then
30910 echo $ECHO_N "(cached) $ECHO_C" >&6
30913 cat >conftest.
$ac_ext <<_ACEOF
30916 cat confdefs.h
>>conftest.
$ac_ext
30917 cat >>conftest.
$ac_ext <<_ACEOF
30918 /* end confdefs.h. */
30919 #include <stddef.h>
30926 struct Foo { void foo(size_t); void foo(unsigned int); };
30934 rm -f conftest.
$ac_objext
30935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30936 (eval $ac_compile) 2>conftest.er1
30938 grep -v '^ *+' conftest.er1
>conftest.err
30940 cat conftest.err
>&5
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); } &&
30943 { ac_try
='test -z "$ac_cxx_werror_flag"
30944 || test ! -s conftest.err'
30945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30946 (eval $ac_try) 2>&5
30948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30949 (exit $ac_status); }; } &&
30950 { ac_try
='test -s conftest.$ac_objext'
30951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30952 (eval $ac_try) 2>&5
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); }; }; then
30956 wx_cv_size_t_is_uint
=no
30958 echo "$as_me: failed program was:" >&5
30959 sed 's/^/| /' conftest.
$ac_ext >&5
30961 wx_cv_size_t_is_uint
=yes
30964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30968 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30969 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30971 if test "$wx_cv_size_t_is_uint" = "yes"; then
30972 cat >>confdefs.h
<<\_ACEOF
30973 #define wxSIZE_T_IS_UINT 1
30977 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30978 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30979 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30980 echo $ECHO_N "(cached) $ECHO_C" >&6
30982 cat >conftest.
$ac_ext <<_ACEOF
30985 cat confdefs.h
>>conftest.
$ac_ext
30986 cat >>conftest.
$ac_ext <<_ACEOF
30987 /* end confdefs.h. */
30988 #include <stddef.h>
30995 struct Foo { void foo(size_t); void foo(unsigned long); };
31003 rm -f conftest.
$ac_objext
31004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31005 (eval $ac_compile) 2>conftest.er1
31007 grep -v '^ *+' conftest.er1
>conftest.err
31009 cat conftest.err
>&5
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); } &&
31012 { ac_try
='test -z "$ac_cxx_werror_flag"
31013 || test ! -s conftest.err'
31014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31015 (eval $ac_try) 2>&5
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); }; } &&
31019 { ac_try
='test -s conftest.$ac_objext'
31020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31021 (eval $ac_try) 2>&5
31023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31024 (exit $ac_status); }; }; then
31025 wx_cv_size_t_is_ulong
=no
31027 echo "$as_me: failed program was:" >&5
31028 sed 's/^/| /' conftest.
$ac_ext >&5
31030 wx_cv_size_t_is_ulong
=yes
31033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31036 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
31037 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
31039 if test "$wx_cv_size_t_is_ulong" = "yes"; then
31040 cat >>confdefs.h
<<\_ACEOF
31041 #define wxSIZE_T_IS_ULONG 1
31048 ac_cpp
='$CPP $CPPFLAGS'
31049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31055 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
31056 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
31057 if test "${wx_cv_struct_pw_gecos+set}" = set; then
31058 echo $ECHO_N "(cached) $ECHO_C" >&6
31061 cat >conftest.
$ac_ext <<_ACEOF
31064 cat confdefs.h
>>conftest.
$ac_ext
31065 cat >>conftest.
$ac_ext <<_ACEOF
31066 /* end confdefs.h. */
31080 rm -f conftest.
$ac_objext
31081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31082 (eval $ac_compile) 2>conftest.er1
31084 grep -v '^ *+' conftest.er1
>conftest.err
31086 cat conftest.err
>&5
31087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31088 (exit $ac_status); } &&
31089 { ac_try
='test -z "$ac_c_werror_flag"
31090 || test ! -s conftest.err'
31091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31092 (eval $ac_try) 2>&5
31094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); }; } &&
31096 { ac_try
='test -s conftest.$ac_objext'
31097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31098 (eval $ac_try) 2>&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); }; }; then
31103 wx_cv_struct_pw_gecos
=yes
31106 echo "$as_me: failed program was:" >&5
31107 sed 's/^/| /' conftest.
$ac_ext >&5
31110 wx_cv_struct_pw_gecos
=no
31114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31118 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
31119 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
31121 if test "$wx_cv_struct_pw_gecos" = "yes"; then
31122 cat >>confdefs.h
<<\_ACEOF
31123 #define HAVE_PW_GECOS 1
31129 if test "$wxUSE_WCHAR_T" = "yes"; then
31130 cat >>confdefs.h
<<\_ACEOF
31131 #define wxUSE_WCHAR_T 1
31138 for ac_func
in wcslen
31140 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31141 echo "$as_me:$LINENO: checking for $ac_func" >&5
31142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31143 if eval "test \"\${$as_ac_var+set}\" = set"; then
31144 echo $ECHO_N "(cached) $ECHO_C" >&6
31146 cat >conftest.
$ac_ext <<_ACEOF
31149 cat confdefs.h
>>conftest.
$ac_ext
31150 cat >>conftest.
$ac_ext <<_ACEOF
31151 /* end confdefs.h. */
31152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31154 #define $ac_func innocuous_$ac_func
31156 /* System header to define __stub macros and hopefully few prototypes,
31157 which can conflict with char $ac_func (); below.
31158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31159 <limits.h> exists even on freestanding compilers. */
31162 # include <limits.h>
31164 # include <assert.h>
31169 /* Override any gcc2 internal prototype to avoid an error. */
31174 /* We use char because int might match the return type of a gcc2
31175 builtin and then its argument prototype would still apply. */
31177 /* The GNU C library defines this for functions which it implements
31178 to always fail with ENOSYS. Some functions are actually named
31179 something starting with __ and the normal name is an alias. */
31180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31183 char (*f) () = $ac_func;
31192 return f != $ac_func;
31197 rm -f conftest.
$ac_objext conftest
$ac_exeext
31198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31199 (eval $ac_link) 2>conftest.er1
31201 grep -v '^ *+' conftest.er1
>conftest.err
31203 cat conftest.err
>&5
31204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31205 (exit $ac_status); } &&
31206 { ac_try
='test -z "$ac_c_werror_flag"
31207 || test ! -s conftest.err'
31208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31209 (eval $ac_try) 2>&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); }; } &&
31213 { ac_try
='test -s conftest$ac_exeext'
31214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31215 (eval $ac_try) 2>&5
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); }; }; then
31219 eval "$as_ac_var=yes"
31221 echo "$as_me: failed program was:" >&5
31222 sed 's/^/| /' conftest.
$ac_ext >&5
31224 eval "$as_ac_var=no"
31226 rm -f conftest.err conftest.
$ac_objext \
31227 conftest
$ac_exeext conftest.
$ac_ext
31229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31231 if test `eval echo '${'$as_ac_var'}'` = yes; then
31232 cat >>confdefs.h
<<_ACEOF
31233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31240 if test "$WCSLEN_FOUND" = 0; then
31241 if test "$TOOLKIT" = "MSW"; then
31242 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31243 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31244 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31245 echo $ECHO_N "(cached) $ECHO_C" >&6
31247 ac_check_lib_save_LIBS
=$LIBS
31248 LIBS
="-lmsvcrt $LIBS"
31249 cat >conftest.
$ac_ext <<_ACEOF
31252 cat confdefs.h
>>conftest.
$ac_ext
31253 cat >>conftest.
$ac_ext <<_ACEOF
31254 /* end confdefs.h. */
31256 /* Override any gcc2 internal prototype to avoid an error. */
31260 /* We use char because int might match the return type of a gcc2
31261 builtin and then its argument prototype would still apply. */
31271 rm -f conftest.
$ac_objext conftest
$ac_exeext
31272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31273 (eval $ac_link) 2>conftest.er1
31275 grep -v '^ *+' conftest.er1
>conftest.err
31277 cat conftest.err
>&5
31278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31279 (exit $ac_status); } &&
31280 { ac_try
='test -z "$ac_c_werror_flag"
31281 || test ! -s conftest.err'
31282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31283 (eval $ac_try) 2>&5
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); }; } &&
31287 { ac_try
='test -s conftest$ac_exeext'
31288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31289 (eval $ac_try) 2>&5
31291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31292 (exit $ac_status); }; }; then
31293 ac_cv_lib_msvcrt_wcslen
=yes
31295 echo "$as_me: failed program was:" >&5
31296 sed 's/^/| /' conftest.
$ac_ext >&5
31298 ac_cv_lib_msvcrt_wcslen
=no
31300 rm -f conftest.err conftest.
$ac_objext \
31301 conftest
$ac_exeext conftest.
$ac_ext
31302 LIBS
=$ac_check_lib_save_LIBS
31304 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31305 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31306 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31311 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31312 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31313 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31314 echo $ECHO_N "(cached) $ECHO_C" >&6
31316 ac_check_lib_save_LIBS
=$LIBS
31318 cat >conftest.
$ac_ext <<_ACEOF
31321 cat confdefs.h
>>conftest.
$ac_ext
31322 cat >>conftest.
$ac_ext <<_ACEOF
31323 /* end confdefs.h. */
31325 /* Override any gcc2 internal prototype to avoid an error. */
31329 /* We use char because int might match the return type of a gcc2
31330 builtin and then its argument prototype would still apply. */
31340 rm -f conftest.
$ac_objext conftest
$ac_exeext
31341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31342 (eval $ac_link) 2>conftest.er1
31344 grep -v '^ *+' conftest.er1
>conftest.err
31346 cat conftest.err
>&5
31347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31348 (exit $ac_status); } &&
31349 { ac_try
='test -z "$ac_c_werror_flag"
31350 || test ! -s conftest.err'
31351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31352 (eval $ac_try) 2>&5
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); }; } &&
31356 { ac_try
='test -s conftest$ac_exeext'
31357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31358 (eval $ac_try) 2>&5
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); }; }; then
31362 ac_cv_lib_w_wcslen
=yes
31364 echo "$as_me: failed program was:" >&5
31365 sed 's/^/| /' conftest.
$ac_ext >&5
31367 ac_cv_lib_w_wcslen
=no
31369 rm -f conftest.err conftest.
$ac_objext \
31370 conftest
$ac_exeext conftest.
$ac_ext
31371 LIBS
=$ac_check_lib_save_LIBS
31373 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31374 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31375 if test $ac_cv_lib_w_wcslen = yes; then
31385 if test "$WCSLEN_FOUND" = 1; then
31386 cat >>confdefs.h
<<\_ACEOF
31387 #define HAVE_WCSLEN 1
31392 if test "$USE_HPUX" = 1; then
31393 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31397 for ac_func
in wcsrtombs
31399 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31400 echo "$as_me:$LINENO: checking for $ac_func" >&5
31401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31402 if eval "test \"\${$as_ac_var+set}\" = set"; then
31403 echo $ECHO_N "(cached) $ECHO_C" >&6
31405 cat >conftest.
$ac_ext <<_ACEOF
31408 cat confdefs.h
>>conftest.
$ac_ext
31409 cat >>conftest.
$ac_ext <<_ACEOF
31410 /* end confdefs.h. */
31411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31413 #define $ac_func innocuous_$ac_func
31415 /* System header to define __stub macros and hopefully few prototypes,
31416 which can conflict with char $ac_func (); below.
31417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31418 <limits.h> exists even on freestanding compilers. */
31421 # include <limits.h>
31423 # include <assert.h>
31428 /* Override any gcc2 internal prototype to avoid an error. */
31433 /* We use char because int might match the return type of a gcc2
31434 builtin and then its argument prototype would still apply. */
31436 /* The GNU C library defines this for functions which it implements
31437 to always fail with ENOSYS. Some functions are actually named
31438 something starting with __ and the normal name is an alias. */
31439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31442 char (*f) () = $ac_func;
31451 return f != $ac_func;
31456 rm -f conftest.
$ac_objext conftest
$ac_exeext
31457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31458 (eval $ac_link) 2>conftest.er1
31460 grep -v '^ *+' conftest.er1
>conftest.err
31462 cat conftest.err
>&5
31463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); } &&
31465 { ac_try
='test -z "$ac_c_werror_flag"
31466 || test ! -s conftest.err'
31467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31468 (eval $ac_try) 2>&5
31470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31471 (exit $ac_status); }; } &&
31472 { ac_try
='test -s conftest$ac_exeext'
31473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31474 (eval $ac_try) 2>&5
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); }; }; then
31478 eval "$as_ac_var=yes"
31480 echo "$as_me: failed program was:" >&5
31481 sed 's/^/| /' conftest.
$ac_ext >&5
31483 eval "$as_ac_var=no"
31485 rm -f conftest.err conftest.
$ac_objext \
31486 conftest
$ac_exeext conftest.
$ac_ext
31488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31490 if test `eval echo '${'$as_ac_var'}'` = yes; then
31491 cat >>confdefs.h
<<_ACEOF
31492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31499 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31500 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31506 ac_cpp
='$CXXCPP $CPPFLAGS'
31507 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31508 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31509 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31513 for ac_func
in vsnprintf
31515 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31516 echo "$as_me:$LINENO: checking for $ac_func" >&5
31517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31518 if eval "test \"\${$as_ac_var+set}\" = set"; then
31519 echo $ECHO_N "(cached) $ECHO_C" >&6
31521 cat >conftest.
$ac_ext <<_ACEOF
31524 cat confdefs.h
>>conftest.
$ac_ext
31525 cat >>conftest.
$ac_ext <<_ACEOF
31526 /* end confdefs.h. */
31527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31529 #define $ac_func innocuous_$ac_func
31531 /* System header to define __stub macros and hopefully few prototypes,
31532 which can conflict with char $ac_func (); below.
31533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31534 <limits.h> exists even on freestanding compilers. */
31537 # include <limits.h>
31539 # include <assert.h>
31544 /* Override any gcc2 internal prototype to avoid an error. */
31549 /* We use char because int might match the return type of a gcc2
31550 builtin and then its argument prototype would still apply. */
31552 /* The GNU C library defines this for functions which it implements
31553 to always fail with ENOSYS. Some functions are actually named
31554 something starting with __ and the normal name is an alias. */
31555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31558 char (*f) () = $ac_func;
31567 return f != $ac_func;
31572 rm -f conftest.
$ac_objext conftest
$ac_exeext
31573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31574 (eval $ac_link) 2>conftest.er1
31576 grep -v '^ *+' conftest.er1
>conftest.err
31578 cat conftest.err
>&5
31579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580 (exit $ac_status); } &&
31581 { ac_try
='test -z "$ac_cxx_werror_flag"
31582 || test ! -s conftest.err'
31583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31584 (eval $ac_try) 2>&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); }; } &&
31588 { ac_try
='test -s conftest$ac_exeext'
31589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31590 (eval $ac_try) 2>&5
31592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31593 (exit $ac_status); }; }; then
31594 eval "$as_ac_var=yes"
31596 echo "$as_me: failed program was:" >&5
31597 sed 's/^/| /' conftest.
$ac_ext >&5
31599 eval "$as_ac_var=no"
31601 rm -f conftest.err conftest.
$ac_objext \
31602 conftest
$ac_exeext conftest.
$ac_ext
31604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31606 if test `eval echo '${'$as_ac_var'}'` = yes; then
31607 cat >>confdefs.h
<<_ACEOF
31608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31615 if test "$ac_cv_func_vsnprintf" = "yes"; then
31616 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31617 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31618 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31619 echo $ECHO_N "(cached) $ECHO_C" >&6
31622 cat >conftest.
$ac_ext <<_ACEOF
31625 cat confdefs.h
>>conftest.
$ac_ext
31626 cat >>conftest.
$ac_ext <<_ACEOF
31627 /* end confdefs.h. */
31630 #include <stdarg.h>
31638 vsnprintf(buf, 10u, "%s", ap);
31644 rm -f conftest.
$ac_objext
31645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31646 (eval $ac_compile) 2>conftest.er1
31648 grep -v '^ *+' conftest.er1
>conftest.err
31650 cat conftest.err
>&5
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); } &&
31653 { ac_try
='test -z "$ac_cxx_werror_flag"
31654 || test ! -s conftest.err'
31655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31656 (eval $ac_try) 2>&5
31658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31659 (exit $ac_status); }; } &&
31660 { ac_try
='test -s conftest.$ac_objext'
31661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31662 (eval $ac_try) 2>&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; }; then
31666 wx_cv_func_vsnprintf_decl
=yes
31668 echo "$as_me: failed program was:" >&5
31669 sed 's/^/| /' conftest.
$ac_ext >&5
31672 cat >conftest.
$ac_ext <<_ACEOF
31675 cat confdefs.h
>>conftest.
$ac_ext
31676 cat >>conftest.
$ac_ext <<_ACEOF
31677 /* end confdefs.h. */
31680 #include <stdarg.h>
31681 using namespace std;
31689 vsnprintf(buf, 10u, "%s", ap);
31695 rm -f conftest.
$ac_objext
31696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31697 (eval $ac_compile) 2>conftest.er1
31699 grep -v '^ *+' conftest.er1
>conftest.err
31701 cat conftest.err
>&5
31702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31703 (exit $ac_status); } &&
31704 { ac_try
='test -z "$ac_cxx_werror_flag"
31705 || test ! -s conftest.err'
31706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31707 (eval $ac_try) 2>&5
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); }; } &&
31711 { ac_try
='test -s conftest.$ac_objext'
31712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31713 (eval $ac_try) 2>&5
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); }; }; then
31717 wx_cv_func_vsnprintf_decl
=yes
31719 echo "$as_me: failed program was:" >&5
31720 sed 's/^/| /' conftest.
$ac_ext >&5
31722 wx_cv_func_vsnprintf_decl
=no
31725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31733 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31734 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31736 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31737 cat >>confdefs.h
<<\_ACEOF
31738 #define HAVE_VSNPRINTF_DECL 1
31744 if test "$wxUSE_UNICODE" = yes; then
31751 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
31753 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31754 echo "$as_me:$LINENO: checking for $ac_func" >&5
31755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31756 if eval "test \"\${$as_ac_var+set}\" = set"; then
31757 echo $ECHO_N "(cached) $ECHO_C" >&6
31759 cat >conftest.
$ac_ext <<_ACEOF
31762 cat confdefs.h
>>conftest.
$ac_ext
31763 cat >>conftest.
$ac_ext <<_ACEOF
31764 /* end confdefs.h. */
31765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31767 #define $ac_func innocuous_$ac_func
31769 /* System header to define __stub macros and hopefully few prototypes,
31770 which can conflict with char $ac_func (); below.
31771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31772 <limits.h> exists even on freestanding compilers. */
31775 # include <limits.h>
31777 # include <assert.h>
31782 /* Override any gcc2 internal prototype to avoid an error. */
31787 /* We use char because int might match the return type of a gcc2
31788 builtin and then its argument prototype would still apply. */
31790 /* The GNU C library defines this for functions which it implements
31791 to always fail with ENOSYS. Some functions are actually named
31792 something starting with __ and the normal name is an alias. */
31793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31796 char (*f) () = $ac_func;
31805 return f != $ac_func;
31810 rm -f conftest.
$ac_objext conftest
$ac_exeext
31811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31812 (eval $ac_link) 2>conftest.er1
31814 grep -v '^ *+' conftest.er1
>conftest.err
31816 cat conftest.err
>&5
31817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818 (exit $ac_status); } &&
31819 { ac_try
='test -z "$ac_cxx_werror_flag"
31820 || test ! -s conftest.err'
31821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31822 (eval $ac_try) 2>&5
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); }; } &&
31826 { ac_try
='test -s conftest$ac_exeext'
31827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31828 (eval $ac_try) 2>&5
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); }; }; then
31832 eval "$as_ac_var=yes"
31834 echo "$as_me: failed program was:" >&5
31835 sed 's/^/| /' conftest.
$ac_ext >&5
31837 eval "$as_ac_var=no"
31839 rm -f conftest.err conftest.
$ac_objext \
31840 conftest
$ac_exeext conftest.
$ac_ext
31842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31844 if test `eval echo '${'$as_ac_var'}'` = yes; then
31845 cat >>confdefs.h
<<_ACEOF
31846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31853 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31854 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31855 cat >conftest.
$ac_ext <<_ACEOF
31858 cat confdefs.h
>>conftest.
$ac_ext
31859 cat >>conftest.
$ac_ext <<_ACEOF
31860 /* end confdefs.h. */
31870 rm -f conftest.
$ac_objext
31871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31872 (eval $ac_compile) 2>conftest.er1
31874 grep -v '^ *+' conftest.er1
>conftest.err
31876 cat conftest.err
>&5
31877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31878 (exit $ac_status); } &&
31879 { ac_try
='test -z "$ac_cxx_werror_flag"
31880 || test ! -s conftest.err'
31881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31882 (eval $ac_try) 2>&5
31884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31885 (exit $ac_status); }; } &&
31886 { ac_try
='test -s conftest.$ac_objext'
31887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31888 (eval $ac_try) 2>&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); }; }; then
31892 echo "$as_me:$LINENO: result: yes" >&5
31893 echo "${ECHO_T}yes" >&6
31894 cat >>confdefs.h
<<\_ACEOF
31895 #define HAVE__VSNWPRINTF 1
31899 echo "$as_me: failed program was:" >&5
31900 sed 's/^/| /' conftest.
$ac_ext >&5
31902 echo "$as_me:$LINENO: result: no" >&5
31903 echo "${ECHO_T}no" >&6
31905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
31909 ac_cpp
='$CPP $CPPFLAGS'
31910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31917 if test "$TOOLKIT" != "MSW"; then
31923 ac_cpp
='$CXXCPP $CPPFLAGS'
31924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31931 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31932 if test "${with_libiconv_prefix+set}" = set; then
31933 withval
="$with_libiconv_prefix"
31935 for dir
in `echo "$withval" | tr : ' '`; do
31936 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31937 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31942 echo "$as_me:$LINENO: checking for iconv" >&5
31943 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31944 if test "${am_cv_func_iconv+set}" = set; then
31945 echo $ECHO_N "(cached) $ECHO_C" >&6
31948 am_cv_func_iconv
="no, consider installing GNU libiconv"
31950 cat >conftest.
$ac_ext <<_ACEOF
31953 cat confdefs.h
>>conftest.
$ac_ext
31954 cat >>conftest.
$ac_ext <<_ACEOF
31955 /* end confdefs.h. */
31956 #include <stdlib.h>
31961 iconv_t cd = iconv_open("","");
31962 iconv(cd,NULL,NULL,NULL,NULL);
31968 rm -f conftest.
$ac_objext conftest
$ac_exeext
31969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31970 (eval $ac_link) 2>conftest.er1
31972 grep -v '^ *+' conftest.er1
>conftest.err
31974 cat conftest.err
>&5
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); } &&
31977 { ac_try
='test -z "$ac_cxx_werror_flag"
31978 || test ! -s conftest.err'
31979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31980 (eval $ac_try) 2>&5
31982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31983 (exit $ac_status); }; } &&
31984 { ac_try
='test -s conftest$ac_exeext'
31985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31986 (eval $ac_try) 2>&5
31988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31989 (exit $ac_status); }; }; then
31990 am_cv_func_iconv
=yes
31992 echo "$as_me: failed program was:" >&5
31993 sed 's/^/| /' conftest.
$ac_ext >&5
31996 rm -f conftest.err conftest.
$ac_objext \
31997 conftest
$ac_exeext conftest.
$ac_ext
31998 if test "$am_cv_func_iconv" != yes; then
31999 am_save_LIBS
="$LIBS"
32000 LIBS
="$LIBS -liconv"
32001 cat >conftest.
$ac_ext <<_ACEOF
32004 cat confdefs.h
>>conftest.
$ac_ext
32005 cat >>conftest.
$ac_ext <<_ACEOF
32006 /* end confdefs.h. */
32007 #include <stdlib.h>
32012 iconv_t cd = iconv_open("","");
32013 iconv(cd,NULL,NULL,NULL,NULL);
32019 rm -f conftest.
$ac_objext conftest
$ac_exeext
32020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32021 (eval $ac_link) 2>conftest.er1
32023 grep -v '^ *+' conftest.er1
>conftest.err
32025 cat conftest.err
>&5
32026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32027 (exit $ac_status); } &&
32028 { ac_try
='test -z "$ac_cxx_werror_flag"
32029 || test ! -s conftest.err'
32030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32031 (eval $ac_try) 2>&5
32033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034 (exit $ac_status); }; } &&
32035 { ac_try
='test -s conftest$ac_exeext'
32036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32037 (eval $ac_try) 2>&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); }; }; then
32041 am_cv_lib_iconv
=yes
32042 am_cv_func_iconv
=yes
32044 echo "$as_me: failed program was:" >&5
32045 sed 's/^/| /' conftest.
$ac_ext >&5
32048 rm -f conftest.err conftest.
$ac_objext \
32049 conftest
$ac_exeext conftest.
$ac_ext
32050 LIBS
="$am_save_LIBS"
32054 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32055 echo "${ECHO_T}$am_cv_func_iconv" >&6
32056 if test "$am_cv_func_iconv" = yes; then
32058 cat >>confdefs.h
<<\_ACEOF
32059 #define HAVE_ICONV 1
32062 echo "$as_me:$LINENO: checking if iconv needs const" >&5
32063 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
32064 if test "${wx_cv_func_iconv_const+set}" = set; then
32065 echo $ECHO_N "(cached) $ECHO_C" >&6
32067 cat >conftest.
$ac_ext <<_ACEOF
32070 cat confdefs.h
>>conftest.
$ac_ext
32071 cat >>conftest.
$ac_ext <<_ACEOF
32072 /* end confdefs.h. */
32074 #include <stdlib.h>
32080 #if defined(__STDC__) || defined(__cplusplus)
32081 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
32094 rm -f conftest.
$ac_objext
32095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32096 (eval $ac_compile) 2>conftest.er1
32098 grep -v '^ *+' conftest.er1
>conftest.err
32100 cat conftest.err
>&5
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); } &&
32103 { ac_try
='test -z "$ac_cxx_werror_flag"
32104 || test ! -s conftest.err'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; } &&
32110 { ac_try
='test -s conftest.$ac_objext'
32111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32112 (eval $ac_try) 2>&5
32114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115 (exit $ac_status); }; }; then
32116 wx_cv_func_iconv_const
="no"
32118 echo "$as_me: failed program was:" >&5
32119 sed 's/^/| /' conftest.
$ac_ext >&5
32121 wx_cv_func_iconv_const
="yes"
32124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32127 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
32128 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
32131 if test "x$wx_cv_func_iconv_const" = "xyes"; then
32132 iconv_const
="const"
32136 cat >>confdefs.h
<<_ACEOF
32137 #define ICONV_CONST $iconv_const
32142 if test "$am_cv_lib_iconv" = yes; then
32147 LIBS
="$LIBICONV $LIBS"
32149 ac_cpp
='$CPP $CPPFLAGS'
32150 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32151 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32152 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32155 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32157 for ac_func
in sigaction
32159 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32160 echo "$as_me:$LINENO: checking for $ac_func" >&5
32161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32162 if eval "test \"\${$as_ac_var+set}\" = set"; then
32163 echo $ECHO_N "(cached) $ECHO_C" >&6
32165 cat >conftest.
$ac_ext <<_ACEOF
32168 cat confdefs.h
>>conftest.
$ac_ext
32169 cat >>conftest.
$ac_ext <<_ACEOF
32170 /* end confdefs.h. */
32171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32173 #define $ac_func innocuous_$ac_func
32175 /* System header to define __stub macros and hopefully few prototypes,
32176 which can conflict with char $ac_func (); below.
32177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32178 <limits.h> exists even on freestanding compilers. */
32181 # include <limits.h>
32183 # include <assert.h>
32188 /* Override any gcc2 internal prototype to avoid an error. */
32193 /* We use char because int might match the return type of a gcc2
32194 builtin and then its argument prototype would still apply. */
32196 /* The GNU C library defines this for functions which it implements
32197 to always fail with ENOSYS. Some functions are actually named
32198 something starting with __ and the normal name is an alias. */
32199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32202 char (*f) () = $ac_func;
32211 return f != $ac_func;
32216 rm -f conftest.
$ac_objext conftest
$ac_exeext
32217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32218 (eval $ac_link) 2>conftest.er1
32220 grep -v '^ *+' conftest.er1
>conftest.err
32222 cat conftest.err
>&5
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); } &&
32225 { ac_try
='test -z "$ac_c_werror_flag"
32226 || test ! -s conftest.err'
32227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32228 (eval $ac_try) 2>&5
32230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32231 (exit $ac_status); }; } &&
32232 { ac_try
='test -s conftest$ac_exeext'
32233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32234 (eval $ac_try) 2>&5
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); }; }; then
32238 eval "$as_ac_var=yes"
32240 echo "$as_me: failed program was:" >&5
32241 sed 's/^/| /' conftest.
$ac_ext >&5
32243 eval "$as_ac_var=no"
32245 rm -f conftest.err conftest.
$ac_objext \
32246 conftest
$ac_exeext conftest.
$ac_ext
32248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32250 if test `eval echo '${'$as_ac_var'}'` = yes; then
32251 cat >>confdefs.h
<<_ACEOF
32252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32259 if test "$ac_cv_func_sigaction" = "no"; then
32260 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32261 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32262 wxUSE_ON_FATAL_EXCEPTION
=no
32265 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32269 ac_cpp
='$CXXCPP $CPPFLAGS'
32270 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32271 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32272 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32275 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32276 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32277 if test "${wx_cv_type_sa_handler+set}" = set; then
32278 echo $ECHO_N "(cached) $ECHO_C" >&6
32281 cat >conftest.
$ac_ext <<_ACEOF
32284 cat confdefs.h
>>conftest.
$ac_ext
32285 cat >>conftest.
$ac_ext <<_ACEOF
32286 /* end confdefs.h. */
32287 #include <signal.h>
32292 extern void testSigHandler(int);
32294 struct sigaction sa;
32295 sa.sa_handler = testSigHandler;
32301 rm -f conftest.
$ac_objext
32302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32303 (eval $ac_compile) 2>conftest.er1
32305 grep -v '^ *+' conftest.er1
>conftest.err
32307 cat conftest.err
>&5
32308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32309 (exit $ac_status); } &&
32310 { ac_try
='test -z "$ac_cxx_werror_flag"
32311 || test ! -s conftest.err'
32312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32313 (eval $ac_try) 2>&5
32315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32316 (exit $ac_status); }; } &&
32317 { ac_try
='test -s conftest.$ac_objext'
32318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32319 (eval $ac_try) 2>&5
32321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32322 (exit $ac_status); }; }; then
32324 wx_cv_type_sa_handler
=int
32327 echo "$as_me: failed program was:" >&5
32328 sed 's/^/| /' conftest.
$ac_ext >&5
32331 wx_cv_type_sa_handler
=void
32334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32337 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32338 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32341 ac_cpp
='$CPP $CPPFLAGS'
32342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32347 cat >>confdefs.h
<<_ACEOF
32348 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32354 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32358 ac_cpp
='$CXXCPP $CPPFLAGS'
32359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32364 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32365 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32366 if test "${wx_cv_func_backtrace+set}" = set; then
32367 echo $ECHO_N "(cached) $ECHO_C" >&6
32370 cat >conftest.
$ac_ext <<_ACEOF
32373 cat confdefs.h
>>conftest.
$ac_ext
32374 cat >>conftest.
$ac_ext <<_ACEOF
32375 /* end confdefs.h. */
32376 #include <execinfo.h>
32384 backtrace(trace, 1);
32385 messages = backtrace_symbols(trace, 1);
32391 rm -f conftest.
$ac_objext
32392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32393 (eval $ac_compile) 2>conftest.er1
32395 grep -v '^ *+' conftest.er1
>conftest.err
32397 cat conftest.err
>&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); } &&
32400 { ac_try
='test -z "$ac_cxx_werror_flag"
32401 || test ! -s conftest.err'
32402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32403 (eval $ac_try) 2>&5
32405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32406 (exit $ac_status); }; } &&
32407 { ac_try
='test -s conftest.$ac_objext'
32408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32409 (eval $ac_try) 2>&5
32411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32412 (exit $ac_status); }; }; then
32413 wx_cv_func_backtrace
=yes
32415 echo "$as_me: failed program was:" >&5
32416 sed 's/^/| /' conftest.
$ac_ext >&5
32418 wx_cv_func_backtrace
=no
32421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32425 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32426 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32429 if test "$wx_cv_func_backtrace" = "no"; then
32430 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32431 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32432 wxUSE_STACKWALKER
=no
32434 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32435 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32436 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32437 echo $ECHO_N "(cached) $ECHO_C" >&6
32440 cat >conftest.
$ac_ext <<_ACEOF
32443 cat confdefs.h
>>conftest.
$ac_ext
32444 cat >>conftest.
$ac_ext <<_ACEOF
32445 /* end confdefs.h. */
32446 #include <cxxabi.h>
32452 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32458 rm -f conftest.
$ac_objext conftest
$ac_exeext
32459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32460 (eval $ac_link) 2>conftest.er1
32462 grep -v '^ *+' conftest.er1
>conftest.err
32464 cat conftest.err
>&5
32465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466 (exit $ac_status); } &&
32467 { ac_try
='test -z "$ac_cxx_werror_flag"
32468 || test ! -s conftest.err'
32469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32470 (eval $ac_try) 2>&5
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); }; } &&
32474 { ac_try
='test -s conftest$ac_exeext'
32475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476 (eval $ac_try) 2>&5
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); }; }; then
32480 wx_cv_func_cxa_demangle
=yes
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.
$ac_ext >&5
32485 wx_cv_func_cxa_demangle
=no
32488 rm -f conftest.err conftest.
$ac_objext \
32489 conftest
$ac_exeext conftest.
$ac_ext
32493 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32494 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32496 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32497 cat >>confdefs.h
<<\_ACEOF
32498 #define HAVE_CXA_DEMANGLE 1
32505 ac_cpp
='$CPP $CPPFLAGS'
32506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32512 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32513 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32514 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32515 wxUSE_STACKWALKER
=no
32521 for ac_func
in mkstemp mktemp
32523 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32524 echo "$as_me:$LINENO: checking for $ac_func" >&5
32525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32526 if eval "test \"\${$as_ac_var+set}\" = set"; then
32527 echo $ECHO_N "(cached) $ECHO_C" >&6
32529 cat >conftest.
$ac_ext <<_ACEOF
32532 cat confdefs.h
>>conftest.
$ac_ext
32533 cat >>conftest.
$ac_ext <<_ACEOF
32534 /* end confdefs.h. */
32535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32537 #define $ac_func innocuous_$ac_func
32539 /* System header to define __stub macros and hopefully few prototypes,
32540 which can conflict with char $ac_func (); below.
32541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32542 <limits.h> exists even on freestanding compilers. */
32545 # include <limits.h>
32547 # include <assert.h>
32552 /* Override any gcc2 internal prototype to avoid an error. */
32557 /* We use char because int might match the return type of a gcc2
32558 builtin and then its argument prototype would still apply. */
32560 /* The GNU C library defines this for functions which it implements
32561 to always fail with ENOSYS. Some functions are actually named
32562 something starting with __ and the normal name is an alias. */
32563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32566 char (*f) () = $ac_func;
32575 return f != $ac_func;
32580 rm -f conftest.
$ac_objext conftest
$ac_exeext
32581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32582 (eval $ac_link) 2>conftest.er1
32584 grep -v '^ *+' conftest.er1
>conftest.err
32586 cat conftest.err
>&5
32587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32588 (exit $ac_status); } &&
32589 { ac_try
='test -z "$ac_c_werror_flag"
32590 || test ! -s conftest.err'
32591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32592 (eval $ac_try) 2>&5
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); }; } &&
32596 { ac_try
='test -s conftest$ac_exeext'
32597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32598 (eval $ac_try) 2>&5
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); }; }; then
32602 eval "$as_ac_var=yes"
32604 echo "$as_me: failed program was:" >&5
32605 sed 's/^/| /' conftest.
$ac_ext >&5
32607 eval "$as_ac_var=no"
32609 rm -f conftest.err conftest.
$ac_objext \
32610 conftest
$ac_exeext conftest.
$ac_ext
32612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32614 if test `eval echo '${'$as_ac_var'}'` = yes; then
32615 cat >>confdefs.h
<<_ACEOF
32616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32623 echo "$as_me:$LINENO: checking for statfs" >&5
32624 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32625 if test "${wx_cv_func_statfs+set}" = set; then
32626 echo $ECHO_N "(cached) $ECHO_C" >&6
32628 cat >conftest.
$ac_ext <<_ACEOF
32631 cat confdefs.h
>>conftest.
$ac_ext
32632 cat >>conftest.
$ac_ext <<_ACEOF
32633 /* end confdefs.h. */
32635 #if defined(__BSD__)
32636 #include <sys/param.h>
32637 #include <sys/mount.h>
32639 #include <sys/vfs.h>
32657 rm -f conftest.
$ac_objext
32658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32659 (eval $ac_compile) 2>conftest.er1
32661 grep -v '^ *+' conftest.er1
>conftest.err
32663 cat conftest.err
>&5
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); } &&
32666 { ac_try
='test -z "$ac_c_werror_flag"
32667 || test ! -s conftest.err'
32668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32669 (eval $ac_try) 2>&5
32671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32672 (exit $ac_status); }; } &&
32673 { ac_try
='test -s conftest.$ac_objext'
32674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32675 (eval $ac_try) 2>&5
32677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32678 (exit $ac_status); }; }; then
32680 wx_cv_func_statfs
=yes
32683 echo "$as_me: failed program was:" >&5
32684 sed 's/^/| /' conftest.
$ac_ext >&5
32687 wx_cv_func_statfs
=no
32691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32694 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32695 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32697 if test "$wx_cv_func_statfs" = "yes"; then
32698 wx_cv_type_statvfs_t
="struct statfs"
32699 cat >>confdefs.h
<<\_ACEOF
32700 #define HAVE_STATFS 1
32704 echo "$as_me:$LINENO: checking for statvfs" >&5
32705 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32706 if test "${wx_cv_func_statvfs+set}" = set; then
32707 echo $ECHO_N "(cached) $ECHO_C" >&6
32709 cat >conftest.
$ac_ext <<_ACEOF
32712 cat confdefs.h
>>conftest.
$ac_ext
32713 cat >>conftest.
$ac_ext <<_ACEOF
32714 /* end confdefs.h. */
32716 #include <stddef.h>
32717 #include <sys/statvfs.h>
32723 statvfs("/", NULL);
32729 rm -f conftest.
$ac_objext
32730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32731 (eval $ac_compile) 2>conftest.er1
32733 grep -v '^ *+' conftest.er1
>conftest.err
32735 cat conftest.err
>&5
32736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32737 (exit $ac_status); } &&
32738 { ac_try
='test -z "$ac_c_werror_flag"
32739 || test ! -s conftest.err'
32740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32741 (eval $ac_try) 2>&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); }; } &&
32745 { ac_try
='test -s conftest.$ac_objext'
32746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32747 (eval $ac_try) 2>&5
32749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32750 (exit $ac_status); }; }; then
32751 wx_cv_func_statvfs
=yes
32753 echo "$as_me: failed program was:" >&5
32754 sed 's/^/| /' conftest.
$ac_ext >&5
32756 wx_cv_func_statvfs
=no
32759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32762 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32763 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32765 if test "$wx_cv_func_statvfs" = "yes"; then
32769 ac_cpp
='$CXXCPP $CPPFLAGS'
32770 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32771 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32772 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32775 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32776 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32777 if test "${wx_cv_type_statvfs_t+set}" = set; then
32778 echo $ECHO_N "(cached) $ECHO_C" >&6
32780 cat >conftest.
$ac_ext <<_ACEOF
32783 cat confdefs.h
>>conftest.
$ac_ext
32784 cat >>conftest.
$ac_ext <<_ACEOF
32785 /* end confdefs.h. */
32787 #include <sys/statvfs.h>
32804 rm -f conftest.
$ac_objext
32805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32806 (eval $ac_compile) 2>conftest.er1
32808 grep -v '^ *+' conftest.er1
>conftest.err
32810 cat conftest.err
>&5
32811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32812 (exit $ac_status); } &&
32813 { ac_try
='test -z "$ac_cxx_werror_flag"
32814 || test ! -s conftest.err'
32815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32816 (eval $ac_try) 2>&5
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); }; } &&
32820 { ac_try
='test -s conftest.$ac_objext'
32821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32822 (eval $ac_try) 2>&5
32824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32825 (exit $ac_status); }; }; then
32826 wx_cv_type_statvfs_t
=statvfs_t
32828 echo "$as_me: failed program was:" >&5
32829 sed 's/^/| /' conftest.
$ac_ext >&5
32832 cat >conftest.
$ac_ext <<_ACEOF
32835 cat confdefs.h
>>conftest.
$ac_ext
32836 cat >>conftest.
$ac_ext <<_ACEOF
32837 /* end confdefs.h. */
32839 #include <sys/statvfs.h>
32856 rm -f conftest.
$ac_objext
32857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32858 (eval $ac_compile) 2>conftest.er1
32860 grep -v '^ *+' conftest.er1
>conftest.err
32862 cat conftest.err
>&5
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); } &&
32865 { ac_try
='test -z "$ac_cxx_werror_flag"
32866 || test ! -s conftest.err'
32867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32868 (eval $ac_try) 2>&5
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); }; } &&
32872 { ac_try
='test -s conftest.$ac_objext'
32873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32874 (eval $ac_try) 2>&5
32876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877 (exit $ac_status); }; }; then
32878 wx_cv_type_statvfs_t
="struct statvfs"
32880 echo "$as_me: failed program was:" >&5
32881 sed 's/^/| /' conftest.
$ac_ext >&5
32883 wx_cv_type_statvfs_t
="unknown"
32886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32893 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32894 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32897 ac_cpp
='$CPP $CPPFLAGS'
32898 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32899 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32900 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32903 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32904 cat >>confdefs.h
<<\_ACEOF
32905 #define HAVE_STATVFS 1
32910 wx_cv_type_statvfs_t
="unknown"
32914 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32915 cat >>confdefs.h
<<_ACEOF
32916 #define WX_STATFS_T $wx_cv_type_statvfs_t
32920 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32921 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32924 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32927 for ac_func
in fcntl flock
32929 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32930 echo "$as_me:$LINENO: checking for $ac_func" >&5
32931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32932 if eval "test \"\${$as_ac_var+set}\" = set"; then
32933 echo $ECHO_N "(cached) $ECHO_C" >&6
32935 cat >conftest.
$ac_ext <<_ACEOF
32938 cat confdefs.h
>>conftest.
$ac_ext
32939 cat >>conftest.
$ac_ext <<_ACEOF
32940 /* end confdefs.h. */
32941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32943 #define $ac_func innocuous_$ac_func
32945 /* System header to define __stub macros and hopefully few prototypes,
32946 which can conflict with char $ac_func (); below.
32947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32948 <limits.h> exists even on freestanding compilers. */
32951 # include <limits.h>
32953 # include <assert.h>
32958 /* Override any gcc2 internal prototype to avoid an error. */
32963 /* We use char because int might match the return type of a gcc2
32964 builtin and then its argument prototype would still apply. */
32966 /* The GNU C library defines this for functions which it implements
32967 to always fail with ENOSYS. Some functions are actually named
32968 something starting with __ and the normal name is an alias. */
32969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32972 char (*f) () = $ac_func;
32981 return f != $ac_func;
32986 rm -f conftest.
$ac_objext conftest
$ac_exeext
32987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32988 (eval $ac_link) 2>conftest.er1
32990 grep -v '^ *+' conftest.er1
>conftest.err
32992 cat conftest.err
>&5
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); } &&
32995 { ac_try
='test -z "$ac_c_werror_flag"
32996 || test ! -s conftest.err'
32997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32998 (eval $ac_try) 2>&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); }; } &&
33002 { ac_try
='test -s conftest$ac_exeext'
33003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33004 (eval $ac_try) 2>&5
33006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007 (exit $ac_status); }; }; then
33008 eval "$as_ac_var=yes"
33010 echo "$as_me: failed program was:" >&5
33011 sed 's/^/| /' conftest.
$ac_ext >&5
33013 eval "$as_ac_var=no"
33015 rm -f conftest.err conftest.
$ac_objext \
33016 conftest
$ac_exeext conftest.
$ac_ext
33018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33020 if test `eval echo '${'$as_ac_var'}'` = yes; then
33021 cat >>confdefs.h
<<_ACEOF
33022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33029 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
33030 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
33031 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
33032 wxUSE_SNGLINST_CHECKER
=no
33037 for ac_func
in timegm
33039 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33040 echo "$as_me:$LINENO: checking for $ac_func" >&5
33041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33042 if eval "test \"\${$as_ac_var+set}\" = set"; then
33043 echo $ECHO_N "(cached) $ECHO_C" >&6
33045 cat >conftest.
$ac_ext <<_ACEOF
33048 cat confdefs.h
>>conftest.
$ac_ext
33049 cat >>conftest.
$ac_ext <<_ACEOF
33050 /* end confdefs.h. */
33051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33053 #define $ac_func innocuous_$ac_func
33055 /* System header to define __stub macros and hopefully few prototypes,
33056 which can conflict with char $ac_func (); below.
33057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33058 <limits.h> exists even on freestanding compilers. */
33061 # include <limits.h>
33063 # include <assert.h>
33068 /* Override any gcc2 internal prototype to avoid an error. */
33073 /* We use char because int might match the return type of a gcc2
33074 builtin and then its argument prototype would still apply. */
33076 /* The GNU C library defines this for functions which it implements
33077 to always fail with ENOSYS. Some functions are actually named
33078 something starting with __ and the normal name is an alias. */
33079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33082 char (*f) () = $ac_func;
33091 return f != $ac_func;
33096 rm -f conftest.
$ac_objext conftest
$ac_exeext
33097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33098 (eval $ac_link) 2>conftest.er1
33100 grep -v '^ *+' conftest.er1
>conftest.err
33102 cat conftest.err
>&5
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); } &&
33105 { ac_try
='test -z "$ac_c_werror_flag"
33106 || test ! -s conftest.err'
33107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33108 (eval $ac_try) 2>&5
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); }; } &&
33112 { ac_try
='test -s conftest$ac_exeext'
33113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33114 (eval $ac_try) 2>&5
33116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33117 (exit $ac_status); }; }; then
33118 eval "$as_ac_var=yes"
33120 echo "$as_me: failed program was:" >&5
33121 sed 's/^/| /' conftest.
$ac_ext >&5
33123 eval "$as_ac_var=no"
33125 rm -f conftest.err conftest.
$ac_objext \
33126 conftest
$ac_exeext conftest.
$ac_ext
33128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33130 if test `eval echo '${'$as_ac_var'}'` = yes; then
33131 cat >>confdefs.h
<<_ACEOF
33132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33141 for ac_func
in putenv setenv
33143 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33144 echo "$as_me:$LINENO: checking for $ac_func" >&5
33145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33146 if eval "test \"\${$as_ac_var+set}\" = set"; then
33147 echo $ECHO_N "(cached) $ECHO_C" >&6
33149 cat >conftest.
$ac_ext <<_ACEOF
33152 cat confdefs.h
>>conftest.
$ac_ext
33153 cat >>conftest.
$ac_ext <<_ACEOF
33154 /* end confdefs.h. */
33155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33157 #define $ac_func innocuous_$ac_func
33159 /* System header to define __stub macros and hopefully few prototypes,
33160 which can conflict with char $ac_func (); below.
33161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33162 <limits.h> exists even on freestanding compilers. */
33165 # include <limits.h>
33167 # include <assert.h>
33172 /* Override any gcc2 internal prototype to avoid an error. */
33177 /* We use char because int might match the return type of a gcc2
33178 builtin and then its argument prototype would still apply. */
33180 /* The GNU C library defines this for functions which it implements
33181 to always fail with ENOSYS. Some functions are actually named
33182 something starting with __ and the normal name is an alias. */
33183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33186 char (*f) () = $ac_func;
33195 return f != $ac_func;
33200 rm -f conftest.
$ac_objext conftest
$ac_exeext
33201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33202 (eval $ac_link) 2>conftest.er1
33204 grep -v '^ *+' conftest.er1
>conftest.err
33206 cat conftest.err
>&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); } &&
33209 { ac_try
='test -z "$ac_c_werror_flag"
33210 || test ! -s conftest.err'
33211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33212 (eval $ac_try) 2>&5
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); }; } &&
33216 { ac_try
='test -s conftest$ac_exeext'
33217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33218 (eval $ac_try) 2>&5
33220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33221 (exit $ac_status); }; }; then
33222 eval "$as_ac_var=yes"
33224 echo "$as_me: failed program was:" >&5
33225 sed 's/^/| /' conftest.
$ac_ext >&5
33227 eval "$as_ac_var=no"
33229 rm -f conftest.err conftest.
$ac_objext \
33230 conftest
$ac_exeext conftest.
$ac_ext
33232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33234 if test `eval echo '${'$as_ac_var'}'` = yes; then
33235 cat >>confdefs.h
<<_ACEOF
33236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33243 HAVE_SOME_SLEEP_FUNC
=0
33244 if test "$USE_BEOS" = 1; then
33245 cat >>confdefs.h
<<\_ACEOF
33246 #define HAVE_SLEEP 1
33249 HAVE_SOME_SLEEP_FUNC
=1
33252 if test "$USE_DARWIN" = 1; then
33253 cat >>confdefs.h
<<\_ACEOF
33254 #define HAVE_USLEEP 1
33257 HAVE_SOME_SLEEP_FUNC
=1
33260 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
33263 for ac_func
in nanosleep
33265 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33266 echo "$as_me:$LINENO: checking for $ac_func" >&5
33267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33268 if eval "test \"\${$as_ac_var+set}\" = set"; then
33269 echo $ECHO_N "(cached) $ECHO_C" >&6
33271 cat >conftest.
$ac_ext <<_ACEOF
33274 cat confdefs.h
>>conftest.
$ac_ext
33275 cat >>conftest.
$ac_ext <<_ACEOF
33276 /* end confdefs.h. */
33277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33279 #define $ac_func innocuous_$ac_func
33281 /* System header to define __stub macros and hopefully few prototypes,
33282 which can conflict with char $ac_func (); below.
33283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33284 <limits.h> exists even on freestanding compilers. */
33287 # include <limits.h>
33289 # include <assert.h>
33294 /* Override any gcc2 internal prototype to avoid an error. */
33299 /* We use char because int might match the return type of a gcc2
33300 builtin and then its argument prototype would still apply. */
33302 /* The GNU C library defines this for functions which it implements
33303 to always fail with ENOSYS. Some functions are actually named
33304 something starting with __ and the normal name is an alias. */
33305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33308 char (*f) () = $ac_func;
33317 return f != $ac_func;
33322 rm -f conftest.
$ac_objext conftest
$ac_exeext
33323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33324 (eval $ac_link) 2>conftest.er1
33326 grep -v '^ *+' conftest.er1
>conftest.err
33328 cat conftest.err
>&5
33329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33330 (exit $ac_status); } &&
33331 { ac_try
='test -z "$ac_c_werror_flag"
33332 || test ! -s conftest.err'
33333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33334 (eval $ac_try) 2>&5
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); }; } &&
33338 { ac_try
='test -s conftest$ac_exeext'
33339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33340 (eval $ac_try) 2>&5
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); }; }; then
33344 eval "$as_ac_var=yes"
33346 echo "$as_me: failed program was:" >&5
33347 sed 's/^/| /' conftest.
$ac_ext >&5
33349 eval "$as_ac_var=no"
33351 rm -f conftest.err conftest.
$ac_objext \
33352 conftest
$ac_exeext conftest.
$ac_ext
33354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33356 if test `eval echo '${'$as_ac_var'}'` = yes; then
33357 cat >>confdefs.h
<<_ACEOF
33358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33360 cat >>confdefs.h
<<\_ACEOF
33361 #define HAVE_NANOSLEEP 1
33366 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33367 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33368 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33369 echo $ECHO_N "(cached) $ECHO_C" >&6
33371 ac_check_lib_save_LIBS
=$LIBS
33372 LIBS
="-lposix4 $LIBS"
33373 cat >conftest.
$ac_ext <<_ACEOF
33376 cat confdefs.h
>>conftest.
$ac_ext
33377 cat >>conftest.
$ac_ext <<_ACEOF
33378 /* end confdefs.h. */
33380 /* Override any gcc2 internal prototype to avoid an error. */
33384 /* We use char because int might match the return type of a gcc2
33385 builtin and then its argument prototype would still apply. */
33395 rm -f conftest.
$ac_objext conftest
$ac_exeext
33396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33397 (eval $ac_link) 2>conftest.er1
33399 grep -v '^ *+' conftest.er1
>conftest.err
33401 cat conftest.err
>&5
33402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403 (exit $ac_status); } &&
33404 { ac_try
='test -z "$ac_c_werror_flag"
33405 || test ! -s conftest.err'
33406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33407 (eval $ac_try) 2>&5
33409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33410 (exit $ac_status); }; } &&
33411 { ac_try
='test -s conftest$ac_exeext'
33412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33413 (eval $ac_try) 2>&5
33415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33416 (exit $ac_status); }; }; then
33417 ac_cv_lib_posix4_nanosleep
=yes
33419 echo "$as_me: failed program was:" >&5
33420 sed 's/^/| /' conftest.
$ac_ext >&5
33422 ac_cv_lib_posix4_nanosleep
=no
33424 rm -f conftest.err conftest.
$ac_objext \
33425 conftest
$ac_exeext conftest.
$ac_ext
33426 LIBS
=$ac_check_lib_save_LIBS
33428 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33429 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33430 if test $ac_cv_lib_posix4_nanosleep = yes; then
33432 cat >>confdefs.h
<<\_ACEOF
33433 #define HAVE_NANOSLEEP 1
33436 POSIX4_LINK
=" -lposix4"
33441 for ac_func
in usleep
33443 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33444 echo "$as_me:$LINENO: checking for $ac_func" >&5
33445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33446 if eval "test \"\${$as_ac_var+set}\" = set"; then
33447 echo $ECHO_N "(cached) $ECHO_C" >&6
33449 cat >conftest.
$ac_ext <<_ACEOF
33452 cat confdefs.h
>>conftest.
$ac_ext
33453 cat >>conftest.
$ac_ext <<_ACEOF
33454 /* end confdefs.h. */
33455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33457 #define $ac_func innocuous_$ac_func
33459 /* System header to define __stub macros and hopefully few prototypes,
33460 which can conflict with char $ac_func (); below.
33461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33462 <limits.h> exists even on freestanding compilers. */
33465 # include <limits.h>
33467 # include <assert.h>
33472 /* Override any gcc2 internal prototype to avoid an error. */
33477 /* We use char because int might match the return type of a gcc2
33478 builtin and then its argument prototype would still apply. */
33480 /* The GNU C library defines this for functions which it implements
33481 to always fail with ENOSYS. Some functions are actually named
33482 something starting with __ and the normal name is an alias. */
33483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33486 char (*f) () = $ac_func;
33495 return f != $ac_func;
33500 rm -f conftest.
$ac_objext conftest
$ac_exeext
33501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33502 (eval $ac_link) 2>conftest.er1
33504 grep -v '^ *+' conftest.er1
>conftest.err
33506 cat conftest.err
>&5
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); } &&
33509 { ac_try
='test -z "$ac_c_werror_flag"
33510 || test ! -s conftest.err'
33511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33512 (eval $ac_try) 2>&5
33514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515 (exit $ac_status); }; } &&
33516 { ac_try
='test -s conftest$ac_exeext'
33517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33518 (eval $ac_try) 2>&5
33520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33521 (exit $ac_status); }; }; then
33522 eval "$as_ac_var=yes"
33524 echo "$as_me: failed program was:" >&5
33525 sed 's/^/| /' conftest.
$ac_ext >&5
33527 eval "$as_ac_var=no"
33529 rm -f conftest.err conftest.
$ac_objext \
33530 conftest
$ac_exeext conftest.
$ac_ext
33532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33534 if test `eval echo '${'$as_ac_var'}'` = yes; then
33535 cat >>confdefs.h
<<_ACEOF
33536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33538 cat >>confdefs.h
<<\_ACEOF
33539 #define HAVE_USLEEP 1
33543 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33544 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33562 for ac_func
in uname gethostname
33564 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33565 echo "$as_me:$LINENO: checking for $ac_func" >&5
33566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33567 if eval "test \"\${$as_ac_var+set}\" = set"; then
33568 echo $ECHO_N "(cached) $ECHO_C" >&6
33570 cat >conftest.
$ac_ext <<_ACEOF
33573 cat confdefs.h
>>conftest.
$ac_ext
33574 cat >>conftest.
$ac_ext <<_ACEOF
33575 /* end confdefs.h. */
33576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33578 #define $ac_func innocuous_$ac_func
33580 /* System header to define __stub macros and hopefully few prototypes,
33581 which can conflict with char $ac_func (); below.
33582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33583 <limits.h> exists even on freestanding compilers. */
33586 # include <limits.h>
33588 # include <assert.h>
33593 /* Override any gcc2 internal prototype to avoid an error. */
33598 /* We use char because int might match the return type of a gcc2
33599 builtin and then its argument prototype would still apply. */
33601 /* The GNU C library defines this for functions which it implements
33602 to always fail with ENOSYS. Some functions are actually named
33603 something starting with __ and the normal name is an alias. */
33604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33607 char (*f) () = $ac_func;
33616 return f != $ac_func;
33621 rm -f conftest.
$ac_objext conftest
$ac_exeext
33622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33623 (eval $ac_link) 2>conftest.er1
33625 grep -v '^ *+' conftest.er1
>conftest.err
33627 cat conftest.err
>&5
33628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33629 (exit $ac_status); } &&
33630 { ac_try
='test -z "$ac_c_werror_flag"
33631 || test ! -s conftest.err'
33632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33633 (eval $ac_try) 2>&5
33635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636 (exit $ac_status); }; } &&
33637 { ac_try
='test -s conftest$ac_exeext'
33638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33639 (eval $ac_try) 2>&5
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); }; }; then
33643 eval "$as_ac_var=yes"
33645 echo "$as_me: failed program was:" >&5
33646 sed 's/^/| /' conftest.
$ac_ext >&5
33648 eval "$as_ac_var=no"
33650 rm -f conftest.err conftest.
$ac_objext \
33651 conftest
$ac_exeext conftest.
$ac_ext
33653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33655 if test `eval echo '${'$as_ac_var'}'` = yes; then
33656 cat >>confdefs.h
<<_ACEOF
33657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33667 ac_cpp
='$CXXCPP $CPPFLAGS'
33668 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33669 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33670 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33674 for ac_func
in strtok_r
33676 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33677 echo "$as_me:$LINENO: checking for $ac_func" >&5
33678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33679 if eval "test \"\${$as_ac_var+set}\" = set"; then
33680 echo $ECHO_N "(cached) $ECHO_C" >&6
33682 cat >conftest.
$ac_ext <<_ACEOF
33685 cat confdefs.h
>>conftest.
$ac_ext
33686 cat >>conftest.
$ac_ext <<_ACEOF
33687 /* end confdefs.h. */
33688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33690 #define $ac_func innocuous_$ac_func
33692 /* System header to define __stub macros and hopefully few prototypes,
33693 which can conflict with char $ac_func (); below.
33694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33695 <limits.h> exists even on freestanding compilers. */
33698 # include <limits.h>
33700 # include <assert.h>
33705 /* Override any gcc2 internal prototype to avoid an error. */
33710 /* We use char because int might match the return type of a gcc2
33711 builtin and then its argument prototype would still apply. */
33713 /* The GNU C library defines this for functions which it implements
33714 to always fail with ENOSYS. Some functions are actually named
33715 something starting with __ and the normal name is an alias. */
33716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33719 char (*f) () = $ac_func;
33728 return f != $ac_func;
33733 rm -f conftest.
$ac_objext conftest
$ac_exeext
33734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33735 (eval $ac_link) 2>conftest.er1
33737 grep -v '^ *+' conftest.er1
>conftest.err
33739 cat conftest.err
>&5
33740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33741 (exit $ac_status); } &&
33742 { ac_try
='test -z "$ac_cxx_werror_flag"
33743 || test ! -s conftest.err'
33744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33745 (eval $ac_try) 2>&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); }; } &&
33749 { ac_try
='test -s conftest$ac_exeext'
33750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33751 (eval $ac_try) 2>&5
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); }; }; then
33755 eval "$as_ac_var=yes"
33757 echo "$as_me: failed program was:" >&5
33758 sed 's/^/| /' conftest.
$ac_ext >&5
33760 eval "$as_ac_var=no"
33762 rm -f conftest.err conftest.
$ac_objext \
33763 conftest
$ac_exeext conftest.
$ac_ext
33765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33767 if test `eval echo '${'$as_ac_var'}'` = yes; then
33768 cat >>confdefs.h
<<_ACEOF
33769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33777 ac_cpp
='$CPP $CPPFLAGS'
33778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33785 for ac_func
in inet_addr
33787 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33788 echo "$as_me:$LINENO: checking for $ac_func" >&5
33789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33790 if eval "test \"\${$as_ac_var+set}\" = set"; then
33791 echo $ECHO_N "(cached) $ECHO_C" >&6
33793 cat >conftest.
$ac_ext <<_ACEOF
33796 cat confdefs.h
>>conftest.
$ac_ext
33797 cat >>conftest.
$ac_ext <<_ACEOF
33798 /* end confdefs.h. */
33799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33801 #define $ac_func innocuous_$ac_func
33803 /* System header to define __stub macros and hopefully few prototypes,
33804 which can conflict with char $ac_func (); below.
33805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33806 <limits.h> exists even on freestanding compilers. */
33809 # include <limits.h>
33811 # include <assert.h>
33816 /* Override any gcc2 internal prototype to avoid an error. */
33821 /* We use char because int might match the return type of a gcc2
33822 builtin and then its argument prototype would still apply. */
33824 /* The GNU C library defines this for functions which it implements
33825 to always fail with ENOSYS. Some functions are actually named
33826 something starting with __ and the normal name is an alias. */
33827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33830 char (*f) () = $ac_func;
33839 return f != $ac_func;
33844 rm -f conftest.
$ac_objext conftest
$ac_exeext
33845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33846 (eval $ac_link) 2>conftest.er1
33848 grep -v '^ *+' conftest.er1
>conftest.err
33850 cat conftest.err
>&5
33851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 (exit $ac_status); } &&
33853 { ac_try
='test -z "$ac_c_werror_flag"
33854 || test ! -s conftest.err'
33855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33856 (eval $ac_try) 2>&5
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); }; } &&
33860 { ac_try
='test -s conftest$ac_exeext'
33861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33862 (eval $ac_try) 2>&5
33864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33865 (exit $ac_status); }; }; then
33866 eval "$as_ac_var=yes"
33868 echo "$as_me: failed program was:" >&5
33869 sed 's/^/| /' conftest.
$ac_ext >&5
33871 eval "$as_ac_var=no"
33873 rm -f conftest.err conftest.
$ac_objext \
33874 conftest
$ac_exeext conftest.
$ac_ext
33876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33878 if test `eval echo '${'$as_ac_var'}'` = yes; then
33879 cat >>confdefs.h
<<_ACEOF
33880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33882 cat >>confdefs.h
<<\_ACEOF
33883 #define HAVE_INET_ADDR 1
33888 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33889 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33890 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33891 echo $ECHO_N "(cached) $ECHO_C" >&6
33893 ac_check_lib_save_LIBS
=$LIBS
33895 cat >conftest.
$ac_ext <<_ACEOF
33898 cat confdefs.h
>>conftest.
$ac_ext
33899 cat >>conftest.
$ac_ext <<_ACEOF
33900 /* end confdefs.h. */
33902 /* Override any gcc2 internal prototype to avoid an error. */
33906 /* We use char because int might match the return type of a gcc2
33907 builtin and then its argument prototype would still apply. */
33917 rm -f conftest.
$ac_objext conftest
$ac_exeext
33918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33919 (eval $ac_link) 2>conftest.er1
33921 grep -v '^ *+' conftest.er1
>conftest.err
33923 cat conftest.err
>&5
33924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33925 (exit $ac_status); } &&
33926 { ac_try
='test -z "$ac_c_werror_flag"
33927 || test ! -s conftest.err'
33928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33929 (eval $ac_try) 2>&5
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); }; } &&
33933 { ac_try
='test -s conftest$ac_exeext'
33934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33935 (eval $ac_try) 2>&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); }; }; then
33939 ac_cv_lib_nsl_inet_addr
=yes
33941 echo "$as_me: failed program was:" >&5
33942 sed 's/^/| /' conftest.
$ac_ext >&5
33944 ac_cv_lib_nsl_inet_addr
=no
33946 rm -f conftest.err conftest.
$ac_objext \
33947 conftest
$ac_exeext conftest.
$ac_ext
33948 LIBS
=$ac_check_lib_save_LIBS
33950 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33951 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33952 if test $ac_cv_lib_nsl_inet_addr = yes; then
33956 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33957 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33958 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33959 echo $ECHO_N "(cached) $ECHO_C" >&6
33961 ac_check_lib_save_LIBS
=$LIBS
33962 LIBS
="-lresolv $LIBS"
33963 cat >conftest.
$ac_ext <<_ACEOF
33966 cat confdefs.h
>>conftest.
$ac_ext
33967 cat >>conftest.
$ac_ext <<_ACEOF
33968 /* end confdefs.h. */
33970 /* Override any gcc2 internal prototype to avoid an error. */
33974 /* We use char because int might match the return type of a gcc2
33975 builtin and then its argument prototype would still apply. */
33985 rm -f conftest.
$ac_objext conftest
$ac_exeext
33986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33987 (eval $ac_link) 2>conftest.er1
33989 grep -v '^ *+' conftest.er1
>conftest.err
33991 cat conftest.err
>&5
33992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33993 (exit $ac_status); } &&
33994 { ac_try
='test -z "$ac_c_werror_flag"
33995 || test ! -s conftest.err'
33996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33997 (eval $ac_try) 2>&5
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); }; } &&
34001 { ac_try
='test -s conftest$ac_exeext'
34002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34003 (eval $ac_try) 2>&5
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); }; }; then
34007 ac_cv_lib_resolv_inet_addr
=yes
34009 echo "$as_me: failed program was:" >&5
34010 sed 's/^/| /' conftest.
$ac_ext >&5
34012 ac_cv_lib_resolv_inet_addr
=no
34014 rm -f conftest.err conftest.
$ac_objext \
34015 conftest
$ac_exeext conftest.
$ac_ext
34016 LIBS
=$ac_check_lib_save_LIBS
34018 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
34019 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
34020 if test $ac_cv_lib_resolv_inet_addr = yes; then
34024 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
34025 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
34026 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
34027 echo $ECHO_N "(cached) $ECHO_C" >&6
34029 ac_check_lib_save_LIBS
=$LIBS
34030 LIBS
="-lsocket $LIBS"
34031 cat >conftest.
$ac_ext <<_ACEOF
34034 cat confdefs.h
>>conftest.
$ac_ext
34035 cat >>conftest.
$ac_ext <<_ACEOF
34036 /* end confdefs.h. */
34038 /* Override any gcc2 internal prototype to avoid an error. */
34042 /* We use char because int might match the return type of a gcc2
34043 builtin and then its argument prototype would still apply. */
34053 rm -f conftest.
$ac_objext conftest
$ac_exeext
34054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34055 (eval $ac_link) 2>conftest.er1
34057 grep -v '^ *+' conftest.er1
>conftest.err
34059 cat conftest.err
>&5
34060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34061 (exit $ac_status); } &&
34062 { ac_try
='test -z "$ac_c_werror_flag"
34063 || test ! -s conftest.err'
34064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34065 (eval $ac_try) 2>&5
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); }; } &&
34069 { ac_try
='test -s conftest$ac_exeext'
34070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34071 (eval $ac_try) 2>&5
34073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34074 (exit $ac_status); }; }; then
34075 ac_cv_lib_socket_inet_addr
=yes
34077 echo "$as_me: failed program was:" >&5
34078 sed 's/^/| /' conftest.
$ac_ext >&5
34080 ac_cv_lib_socket_inet_addr
=no
34082 rm -f conftest.err conftest.
$ac_objext \
34083 conftest
$ac_exeext conftest.
$ac_ext
34084 LIBS
=$ac_check_lib_save_LIBS
34086 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
34087 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
34088 if test $ac_cv_lib_socket_inet_addr = yes; then
34108 for ac_func
in inet_aton
34110 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34111 echo "$as_me:$LINENO: checking for $ac_func" >&5
34112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34113 if eval "test \"\${$as_ac_var+set}\" = set"; then
34114 echo $ECHO_N "(cached) $ECHO_C" >&6
34116 cat >conftest.
$ac_ext <<_ACEOF
34119 cat confdefs.h
>>conftest.
$ac_ext
34120 cat >>conftest.
$ac_ext <<_ACEOF
34121 /* end confdefs.h. */
34122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34124 #define $ac_func innocuous_$ac_func
34126 /* System header to define __stub macros and hopefully few prototypes,
34127 which can conflict with char $ac_func (); below.
34128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34129 <limits.h> exists even on freestanding compilers. */
34132 # include <limits.h>
34134 # include <assert.h>
34139 /* Override any gcc2 internal prototype to avoid an error. */
34144 /* We use char because int might match the return type of a gcc2
34145 builtin and then its argument prototype would still apply. */
34147 /* The GNU C library defines this for functions which it implements
34148 to always fail with ENOSYS. Some functions are actually named
34149 something starting with __ and the normal name is an alias. */
34150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34153 char (*f) () = $ac_func;
34162 return f != $ac_func;
34167 rm -f conftest.
$ac_objext conftest
$ac_exeext
34168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34169 (eval $ac_link) 2>conftest.er1
34171 grep -v '^ *+' conftest.er1
>conftest.err
34173 cat conftest.err
>&5
34174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34175 (exit $ac_status); } &&
34176 { ac_try
='test -z "$ac_c_werror_flag"
34177 || test ! -s conftest.err'
34178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34179 (eval $ac_try) 2>&5
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); }; } &&
34183 { ac_try
='test -s conftest$ac_exeext'
34184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34185 (eval $ac_try) 2>&5
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); }; }; then
34189 eval "$as_ac_var=yes"
34191 echo "$as_me: failed program was:" >&5
34192 sed 's/^/| /' conftest.
$ac_ext >&5
34194 eval "$as_ac_var=no"
34196 rm -f conftest.err conftest.
$ac_objext \
34197 conftest
$ac_exeext conftest.
$ac_ext
34199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34201 if test `eval echo '${'$as_ac_var'}'` = yes; then
34202 cat >>confdefs.h
<<_ACEOF
34203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34205 cat >>confdefs.h
<<\_ACEOF
34206 #define HAVE_INET_ATON 1
34211 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
34212 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
34213 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
34214 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
34215 echo $ECHO_N "(cached) $ECHO_C" >&6
34217 ac_check_lib_save_LIBS
=$LIBS
34218 LIBS
="-l$INET_LINK $LIBS"
34219 cat >conftest.
$ac_ext <<_ACEOF
34222 cat confdefs.h
>>conftest.
$ac_ext
34223 cat >>conftest.
$ac_ext <<_ACEOF
34224 /* end confdefs.h. */
34226 /* Override any gcc2 internal prototype to avoid an error. */
34230 /* We use char because int might match the return type of a gcc2
34231 builtin and then its argument prototype would still apply. */
34241 rm -f conftest.
$ac_objext conftest
$ac_exeext
34242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34243 (eval $ac_link) 2>conftest.er1
34245 grep -v '^ *+' conftest.er1
>conftest.err
34247 cat conftest.err
>&5
34248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34249 (exit $ac_status); } &&
34250 { ac_try
='test -z "$ac_c_werror_flag"
34251 || test ! -s conftest.err'
34252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34253 (eval $ac_try) 2>&5
34255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256 (exit $ac_status); }; } &&
34257 { ac_try
='test -s conftest$ac_exeext'
34258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34259 (eval $ac_try) 2>&5
34261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34262 (exit $ac_status); }; }; then
34263 eval "$as_ac_Lib=yes"
34265 echo "$as_me: failed program was:" >&5
34266 sed 's/^/| /' conftest.
$ac_ext >&5
34268 eval "$as_ac_Lib=no"
34270 rm -f conftest.err conftest.
$ac_objext \
34271 conftest
$ac_exeext conftest.
$ac_ext
34272 LIBS
=$ac_check_lib_save_LIBS
34274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34275 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34276 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34277 cat >>confdefs.h
<<\_ACEOF
34278 #define HAVE_INET_ATON 1
34288 if test "x$INET_LINK" != "x"; then
34289 cat >>confdefs.h
<<\_ACEOF
34290 #define HAVE_INET_ADDR 1
34293 INET_LINK
=" -l$INET_LINK"
34301 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34302 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34303 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34304 echo $ECHO_N "(cached) $ECHO_C" >&6
34306 ac_check_lib_save_LIBS
=$LIBS
34308 cat >conftest.
$ac_ext <<_ACEOF
34311 cat confdefs.h
>>conftest.
$ac_ext
34312 cat >>conftest.
$ac_ext <<_ACEOF
34313 /* end confdefs.h. */
34315 /* Override any gcc2 internal prototype to avoid an error. */
34319 /* We use char because int might match the return type of a gcc2
34320 builtin and then its argument prototype would still apply. */
34330 rm -f conftest.
$ac_objext conftest
$ac_exeext
34331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34332 (eval $ac_link) 2>conftest.er1
34334 grep -v '^ *+' conftest.er1
>conftest.err
34336 cat conftest.err
>&5
34337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34338 (exit $ac_status); } &&
34339 { ac_try
='test -z "$ac_c_werror_flag"
34340 || test ! -s conftest.err'
34341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34342 (eval $ac_try) 2>&5
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); }; } &&
34346 { ac_try
='test -s conftest$ac_exeext'
34347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34348 (eval $ac_try) 2>&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); }; }; then
34352 ac_cv_lib_esd_esd_close
=yes
34354 echo "$as_me: failed program was:" >&5
34355 sed 's/^/| /' conftest.
$ac_ext >&5
34357 ac_cv_lib_esd_esd_close
=no
34359 rm -f conftest.err conftest.
$ac_objext \
34360 conftest
$ac_exeext conftest.
$ac_ext
34361 LIBS
=$ac_check_lib_save_LIBS
34363 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34364 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34365 if test $ac_cv_lib_esd_esd_close = yes; then
34368 for ac_header
in esd.h
34370 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34372 echo "$as_me:$LINENO: checking for $ac_header" >&5
34373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34375 echo $ECHO_N "(cached) $ECHO_C" >&6
34377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34380 # Is the header compilable?
34381 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34383 cat >conftest.
$ac_ext <<_ACEOF
34386 cat confdefs.h
>>conftest.
$ac_ext
34387 cat >>conftest.
$ac_ext <<_ACEOF
34388 /* end confdefs.h. */
34389 $ac_includes_default
34390 #include <$ac_header>
34392 rm -f conftest.
$ac_objext
34393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34394 (eval $ac_compile) 2>conftest.er1
34396 grep -v '^ *+' conftest.er1
>conftest.err
34398 cat conftest.err
>&5
34399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34400 (exit $ac_status); } &&
34401 { ac_try
='test -z "$ac_c_werror_flag"
34402 || test ! -s conftest.err'
34403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34404 (eval $ac_try) 2>&5
34406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407 (exit $ac_status); }; } &&
34408 { ac_try
='test -s conftest.$ac_objext'
34409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34410 (eval $ac_try) 2>&5
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); }; }; then
34414 ac_header_compiler
=yes
34416 echo "$as_me: failed program was:" >&5
34417 sed 's/^/| /' conftest.
$ac_ext >&5
34419 ac_header_compiler
=no
34421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34423 echo "${ECHO_T}$ac_header_compiler" >&6
34425 # Is the header present?
34426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34428 cat >conftest.
$ac_ext <<_ACEOF
34431 cat confdefs.h
>>conftest.
$ac_ext
34432 cat >>conftest.
$ac_ext <<_ACEOF
34433 /* end confdefs.h. */
34434 #include <$ac_header>
34436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34437 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34439 grep -v '^ *+' conftest.er1
>conftest.err
34441 cat conftest.err
>&5
34442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443 (exit $ac_status); } >/dev
/null
; then
34444 if test -s conftest.err
; then
34445 ac_cpp_err
=$ac_c_preproc_warn_flag
34446 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34453 if test -z "$ac_cpp_err"; then
34454 ac_header_preproc
=yes
34456 echo "$as_me: failed program was:" >&5
34457 sed 's/^/| /' conftest.
$ac_ext >&5
34459 ac_header_preproc
=no
34461 rm -f conftest.err conftest.
$ac_ext
34462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34463 echo "${ECHO_T}$ac_header_preproc" >&6
34465 # So? What about this header?
34466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34472 ac_header_preproc
=yes
34475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34489 ## ----------------------------------------- ##
34490 ## Report this to wx-dev@lists.wxwidgets.org ##
34491 ## ----------------------------------------- ##
34494 sed "s/^/$as_me: WARNING: /" >&2
34497 echo "$as_me:$LINENO: checking for $ac_header" >&5
34498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34500 echo $ECHO_N "(cached) $ECHO_C" >&6
34502 eval "$as_ac_Header=\$ac_header_preproc"
34504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34509 cat >>confdefs.h
<<_ACEOF
34510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34513 EXTRALIBS_ESD
="-lesd"
34524 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34525 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34526 cat >conftest.
$ac_ext <<_ACEOF
34529 cat confdefs.h
>>conftest.
$ac_ext
34530 cat >>conftest.
$ac_ext <<_ACEOF
34531 /* end confdefs.h. */
34533 #include <linux/cdrom.h>
34536 #include <sys/cdio.h>
34542 struct cdrom_tocentry entry, old_entry;
34547 rm -f conftest.
$ac_objext
34548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34549 (eval $ac_compile) 2>conftest.er1
34551 grep -v '^ *+' conftest.er1
>conftest.err
34553 cat conftest.err
>&5
34554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34555 (exit $ac_status); } &&
34556 { ac_try
='test -z "$ac_c_werror_flag"
34557 || test ! -s conftest.err'
34558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34559 (eval $ac_try) 2>&5
34561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34562 (exit $ac_status); }; } &&
34563 { ac_try
='test -s conftest.$ac_objext'
34564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34565 (eval $ac_try) 2>&5
34567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34568 (exit $ac_status); }; }; then
34569 echo "$as_me:$LINENO: result: yes" >&5
34570 echo "${ECHO_T}yes" >&6
34571 cat >>confdefs.h
<<\_ACEOF
34572 #define HAVE_KNOWN_CDROM_INTERFACE 1
34576 echo "$as_me: failed program was:" >&5
34577 sed 's/^/| /' conftest.
$ac_ext >&5
34579 echo "$as_me:$LINENO: result: no" >&5
34580 echo "${ECHO_T}no" >&6
34582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34585 cat >confcache
<<\_ACEOF
34586 # This file is a shell script that caches the results of configure
34587 # tests run on this system so they can be shared between configure
34588 # scripts and configure runs, see configure's option --config-cache.
34589 # It is not useful on other systems. If it contains results you don't
34590 # want to keep, you may remove or edit it.
34592 # config.status only pays attention to the cache file if you give it
34593 # the --recheck option to rerun configure.
34595 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34596 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34597 # following values.
34601 # The following way of writing the cache mishandles newlines in values,
34602 # but we know of no workaround that is simple, portable, and efficient.
34603 # So, don't put newlines in cache variables' values.
34604 # Ultrix sh set writes to stderr and can't be redirected directly,
34605 # and sets the high bit in the cache file unless we assign to the vars.
34608 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34610 # `set' does not quote correctly, so add quotes (double-quote
34611 # substitution turns \\\\ into \\, and sed turns \\ into \).
34614 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34617 # `set' quotes correctly as required by POSIX, so do not add quotes.
34619 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34626 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34628 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34630 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34631 if test -w $cache_file; then
34632 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34633 cat confcache
>$cache_file
34635 echo "not updating unwritable cache $cache_file"
34642 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34648 if test "$wxUSE_THREADS" = "yes" ; then
34649 if test "$USE_BEOS" = 1; then
34650 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34651 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34656 if test "$wxUSE_THREADS" = "yes" ; then
34659 THREAD_OPTS
="-pthread"
34661 *-*-solaris2* | *-*-sunos4* )
34662 if test "x$GCC" = "xyes"; then
34663 THREAD_OPTS
="-pthreads $THREAD_OPTS"
34665 THREAD_OPTS
="-mt $THREAD_OPTS"
34669 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
34671 *-*-darwin* | *-*-cygwin* )
34675 THREAD_OPTS
="pthreads"
34678 if test "x$GCC" != "xyes"; then
34684 if test "x$GCC" = "xyes"; then
34690 if test "x$GCC" != "xyes"; then
34691 THREAD_OPTS
="-Ethread"
34696 THREAD_OPTS
="$THREAD_OPTS pthread none"
34699 for flag
in $THREAD_OPTS; do
34702 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34703 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34707 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34708 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34709 THREADS_CFLAGS
="$flag"
34713 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34714 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34715 THREADS_LINK
="-l$flag"
34720 save_CFLAGS
="$CFLAGS"
34721 LIBS
="$THREADS_LINK $LIBS"
34722 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
34724 cat >conftest.
$ac_ext <<_ACEOF
34727 cat confdefs.h
>>conftest.
$ac_ext
34728 cat >>conftest.
$ac_ext <<_ACEOF
34729 /* end confdefs.h. */
34730 #include <pthread.h>
34734 pthread_create(0,0,0,0);
34739 rm -f conftest.
$ac_objext conftest
$ac_exeext
34740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34741 (eval $ac_link) 2>conftest.er1
34743 grep -v '^ *+' conftest.er1
>conftest.err
34745 cat conftest.err
>&5
34746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747 (exit $ac_status); } &&
34748 { ac_try
='test -z "$ac_c_werror_flag"
34749 || test ! -s conftest.err'
34750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34751 (eval $ac_try) 2>&5
34753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34754 (exit $ac_status); }; } &&
34755 { ac_try
='test -s conftest$ac_exeext'
34756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34757 (eval $ac_try) 2>&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); }; }; then
34763 echo "$as_me: failed program was:" >&5
34764 sed 's/^/| /' conftest.
$ac_ext >&5
34767 rm -f conftest.err conftest.
$ac_objext \
34768 conftest
$ac_exeext conftest.
$ac_ext
34771 CFLAGS
="$save_CFLAGS"
34773 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34774 echo "${ECHO_T}$THREADS_OK" >&6
34775 if test "x$THREADS_OK" = "xyes"; then
34783 if test "x$THREADS_OK" != "xyes"; then
34785 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34786 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34788 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
34789 LIBS
="$THREADS_LINK $LIBS"
34791 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34792 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34796 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
34797 flag
="-D_THREAD_SAFE"
34800 flag
="-D_THREAD_SAFE"
34803 flag
="-D_REENTRANT"
34804 if test "x$GCC" != "xyes"; then
34805 flag
="$flag -D_RWSTD_MULTI_THREAD"
34808 *solaris
* | alpha
*-osf*)
34809 flag
="-D_REENTRANT"
34812 echo "$as_me:$LINENO: result: ${flag}" >&5
34813 echo "${ECHO_T}${flag}" >&6
34814 if test "x$flag" != xno
; then
34815 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
34818 if test "x$THREADS_CFLAGS" != "x"; then
34819 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
34820 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
34825 if test "$wxUSE_THREADS" = "yes" ; then
34827 for ac_func
in thr_setconcurrency
34829 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34830 echo "$as_me:$LINENO: checking for $ac_func" >&5
34831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34832 if eval "test \"\${$as_ac_var+set}\" = set"; then
34833 echo $ECHO_N "(cached) $ECHO_C" >&6
34835 cat >conftest.
$ac_ext <<_ACEOF
34838 cat confdefs.h
>>conftest.
$ac_ext
34839 cat >>conftest.
$ac_ext <<_ACEOF
34840 /* end confdefs.h. */
34841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34843 #define $ac_func innocuous_$ac_func
34845 /* System header to define __stub macros and hopefully few prototypes,
34846 which can conflict with char $ac_func (); below.
34847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34848 <limits.h> exists even on freestanding compilers. */
34851 # include <limits.h>
34853 # include <assert.h>
34858 /* Override any gcc2 internal prototype to avoid an error. */
34863 /* We use char because int might match the return type of a gcc2
34864 builtin and then its argument prototype would still apply. */
34866 /* The GNU C library defines this for functions which it implements
34867 to always fail with ENOSYS. Some functions are actually named
34868 something starting with __ and the normal name is an alias. */
34869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34872 char (*f) () = $ac_func;
34881 return f != $ac_func;
34886 rm -f conftest.
$ac_objext conftest
$ac_exeext
34887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34888 (eval $ac_link) 2>conftest.er1
34890 grep -v '^ *+' conftest.er1
>conftest.err
34892 cat conftest.err
>&5
34893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894 (exit $ac_status); } &&
34895 { ac_try
='test -z "$ac_c_werror_flag"
34896 || test ! -s conftest.err'
34897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34898 (eval $ac_try) 2>&5
34900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34901 (exit $ac_status); }; } &&
34902 { ac_try
='test -s conftest$ac_exeext'
34903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34904 (eval $ac_try) 2>&5
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); }; }; then
34908 eval "$as_ac_var=yes"
34910 echo "$as_me: failed program was:" >&5
34911 sed 's/^/| /' conftest.
$ac_ext >&5
34913 eval "$as_ac_var=no"
34915 rm -f conftest.err conftest.
$ac_objext \
34916 conftest
$ac_exeext conftest.
$ac_ext
34918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34920 if test `eval echo '${'$as_ac_var'}'` = yes; then
34921 cat >>confdefs.h
<<_ACEOF
34922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34930 for ac_header
in sched.h
34932 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34934 echo "$as_me:$LINENO: checking for $ac_header" >&5
34935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34937 echo $ECHO_N "(cached) $ECHO_C" >&6
34939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34942 # Is the header compilable?
34943 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34945 cat >conftest.
$ac_ext <<_ACEOF
34948 cat confdefs.h
>>conftest.
$ac_ext
34949 cat >>conftest.
$ac_ext <<_ACEOF
34950 /* end confdefs.h. */
34951 $ac_includes_default
34952 #include <$ac_header>
34954 rm -f conftest.
$ac_objext
34955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34956 (eval $ac_compile) 2>conftest.er1
34958 grep -v '^ *+' conftest.er1
>conftest.err
34960 cat conftest.err
>&5
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); } &&
34963 { ac_try
='test -z "$ac_c_werror_flag"
34964 || test ! -s conftest.err'
34965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34966 (eval $ac_try) 2>&5
34968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34969 (exit $ac_status); }; } &&
34970 { ac_try
='test -s conftest.$ac_objext'
34971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34972 (eval $ac_try) 2>&5
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); }; }; then
34976 ac_header_compiler
=yes
34978 echo "$as_me: failed program was:" >&5
34979 sed 's/^/| /' conftest.
$ac_ext >&5
34981 ac_header_compiler
=no
34983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34985 echo "${ECHO_T}$ac_header_compiler" >&6
34987 # Is the header present?
34988 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34990 cat >conftest.
$ac_ext <<_ACEOF
34993 cat confdefs.h
>>conftest.
$ac_ext
34994 cat >>conftest.
$ac_ext <<_ACEOF
34995 /* end confdefs.h. */
34996 #include <$ac_header>
34998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34999 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35001 grep -v '^ *+' conftest.er1
>conftest.err
35003 cat conftest.err
>&5
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); } >/dev
/null
; then
35006 if test -s conftest.err
; then
35007 ac_cpp_err
=$ac_c_preproc_warn_flag
35008 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35015 if test -z "$ac_cpp_err"; then
35016 ac_header_preproc
=yes
35018 echo "$as_me: failed program was:" >&5
35019 sed 's/^/| /' conftest.
$ac_ext >&5
35021 ac_header_preproc
=no
35023 rm -f conftest.err conftest.
$ac_ext
35024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35025 echo "${ECHO_T}$ac_header_preproc" >&6
35027 # So? What about this header?
35028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35034 ac_header_preproc
=yes
35037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35051 ## ----------------------------------------- ##
35052 ## Report this to wx-dev@lists.wxwidgets.org ##
35053 ## ----------------------------------------- ##
35056 sed "s/^/$as_me: WARNING: /" >&2
35059 echo "$as_me:$LINENO: checking for $ac_header" >&5
35060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35062 echo $ECHO_N "(cached) $ECHO_C" >&6
35064 eval "$as_ac_Header=\$ac_header_preproc"
35066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35071 cat >>confdefs.h
<<_ACEOF
35072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35079 if test "$ac_cv_header_sched_h" = "yes"; then
35080 echo "$as_me:$LINENO: checking for sched_yield" >&5
35081 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
35082 if test "${ac_cv_func_sched_yield+set}" = set; then
35083 echo $ECHO_N "(cached) $ECHO_C" >&6
35085 cat >conftest.
$ac_ext <<_ACEOF
35088 cat confdefs.h
>>conftest.
$ac_ext
35089 cat >>conftest.
$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35091 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
35092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35093 #define sched_yield innocuous_sched_yield
35095 /* System header to define __stub macros and hopefully few prototypes,
35096 which can conflict with char sched_yield (); below.
35097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35098 <limits.h> exists even on freestanding compilers. */
35101 # include <limits.h>
35103 # include <assert.h>
35108 /* Override any gcc2 internal prototype to avoid an error. */
35113 /* We use char because int might match the return type of a gcc2
35114 builtin and then its argument prototype would still apply. */
35115 char sched_yield ();
35116 /* The GNU C library defines this for functions which it implements
35117 to always fail with ENOSYS. Some functions are actually named
35118 something starting with __ and the normal name is an alias. */
35119 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
35122 char (*f) () = sched_yield;
35131 return f != sched_yield;
35136 rm -f conftest.
$ac_objext conftest
$ac_exeext
35137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35138 (eval $ac_link) 2>conftest.er1
35140 grep -v '^ *+' conftest.er1
>conftest.err
35142 cat conftest.err
>&5
35143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35144 (exit $ac_status); } &&
35145 { ac_try
='test -z "$ac_c_werror_flag"
35146 || test ! -s conftest.err'
35147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35148 (eval $ac_try) 2>&5
35150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151 (exit $ac_status); }; } &&
35152 { ac_try
='test -s conftest$ac_exeext'
35153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35154 (eval $ac_try) 2>&5
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); }; }; then
35158 ac_cv_func_sched_yield
=yes
35160 echo "$as_me: failed program was:" >&5
35161 sed 's/^/| /' conftest.
$ac_ext >&5
35163 ac_cv_func_sched_yield
=no
35165 rm -f conftest.err conftest.
$ac_objext \
35166 conftest
$ac_exeext conftest.
$ac_ext
35168 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
35169 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
35170 if test $ac_cv_func_sched_yield = yes; then
35171 cat >>confdefs.h
<<\_ACEOF
35172 #define HAVE_SCHED_YIELD 1
35177 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
35178 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
35179 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
35180 echo $ECHO_N "(cached) $ECHO_C" >&6
35182 ac_check_lib_save_LIBS
=$LIBS
35183 LIBS
="-lposix4 $LIBS"
35184 cat >conftest.
$ac_ext <<_ACEOF
35187 cat confdefs.h
>>conftest.
$ac_ext
35188 cat >>conftest.
$ac_ext <<_ACEOF
35189 /* end confdefs.h. */
35191 /* Override any gcc2 internal prototype to avoid an error. */
35195 /* We use char because int might match the return type of a gcc2
35196 builtin and then its argument prototype would still apply. */
35197 char sched_yield ();
35206 rm -f conftest.
$ac_objext conftest
$ac_exeext
35207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35208 (eval $ac_link) 2>conftest.er1
35210 grep -v '^ *+' conftest.er1
>conftest.err
35212 cat conftest.err
>&5
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); } &&
35215 { ac_try
='test -z "$ac_c_werror_flag"
35216 || test ! -s conftest.err'
35217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35218 (eval $ac_try) 2>&5
35220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35221 (exit $ac_status); }; } &&
35222 { ac_try
='test -s conftest$ac_exeext'
35223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35224 (eval $ac_try) 2>&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); }; }; then
35228 ac_cv_lib_posix4_sched_yield
=yes
35230 echo "$as_me: failed program was:" >&5
35231 sed 's/^/| /' conftest.
$ac_ext >&5
35233 ac_cv_lib_posix4_sched_yield
=no
35235 rm -f conftest.err conftest.
$ac_objext \
35236 conftest
$ac_exeext conftest.
$ac_ext
35237 LIBS
=$ac_check_lib_save_LIBS
35239 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
35240 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
35241 if test $ac_cv_lib_posix4_sched_yield = yes; then
35242 cat >>confdefs.h
<<\_ACEOF
35243 #define HAVE_SCHED_YIELD 1
35245 POSIX4_LINK
=" -lposix4"
35247 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
35248 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
35259 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
35260 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
35261 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
35262 echo $ECHO_N "(cached) $ECHO_C" >&6
35264 cat >conftest.
$ac_ext <<_ACEOF
35267 cat confdefs.h
>>conftest.
$ac_ext
35268 cat >>conftest.
$ac_ext <<_ACEOF
35269 /* end confdefs.h. */
35270 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
35271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35272 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
35274 /* System header to define __stub macros and hopefully few prototypes,
35275 which can conflict with char pthread_attr_getschedpolicy (); below.
35276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35277 <limits.h> exists even on freestanding compilers. */
35280 # include <limits.h>
35282 # include <assert.h>
35285 #undef pthread_attr_getschedpolicy
35287 /* Override any gcc2 internal prototype to avoid an error. */
35292 /* We use char because int might match the return type of a gcc2
35293 builtin and then its argument prototype would still apply. */
35294 char pthread_attr_getschedpolicy ();
35295 /* The GNU C library defines this for functions which it implements
35296 to always fail with ENOSYS. Some functions are actually named
35297 something starting with __ and the normal name is an alias. */
35298 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35301 char (*f) () = pthread_attr_getschedpolicy;
35310 return f != pthread_attr_getschedpolicy;
35315 rm -f conftest.
$ac_objext conftest
$ac_exeext
35316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35317 (eval $ac_link) 2>conftest.er1
35319 grep -v '^ *+' conftest.er1
>conftest.err
35321 cat conftest.err
>&5
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); } &&
35324 { ac_try
='test -z "$ac_c_werror_flag"
35325 || test ! -s conftest.err'
35326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35327 (eval $ac_try) 2>&5
35329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35330 (exit $ac_status); }; } &&
35331 { ac_try
='test -s conftest$ac_exeext'
35332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35333 (eval $ac_try) 2>&5
35335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35336 (exit $ac_status); }; }; then
35337 ac_cv_func_pthread_attr_getschedpolicy
=yes
35339 echo "$as_me: failed program was:" >&5
35340 sed 's/^/| /' conftest.
$ac_ext >&5
35342 ac_cv_func_pthread_attr_getschedpolicy
=no
35344 rm -f conftest.err conftest.
$ac_objext \
35345 conftest
$ac_exeext conftest.
$ac_ext
35347 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35348 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35349 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35350 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35351 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35352 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35353 echo $ECHO_N "(cached) $ECHO_C" >&6
35355 cat >conftest.
$ac_ext <<_ACEOF
35358 cat confdefs.h
>>conftest.
$ac_ext
35359 cat >>conftest.
$ac_ext <<_ACEOF
35360 /* end confdefs.h. */
35361 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35363 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35365 /* System header to define __stub macros and hopefully few prototypes,
35366 which can conflict with char pthread_attr_setschedparam (); below.
35367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35368 <limits.h> exists even on freestanding compilers. */
35371 # include <limits.h>
35373 # include <assert.h>
35376 #undef pthread_attr_setschedparam
35378 /* Override any gcc2 internal prototype to avoid an error. */
35383 /* We use char because int might match the return type of a gcc2
35384 builtin and then its argument prototype would still apply. */
35385 char pthread_attr_setschedparam ();
35386 /* The GNU C library defines this for functions which it implements
35387 to always fail with ENOSYS. Some functions are actually named
35388 something starting with __ and the normal name is an alias. */
35389 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35392 char (*f) () = pthread_attr_setschedparam;
35401 return f != pthread_attr_setschedparam;
35406 rm -f conftest.
$ac_objext conftest
$ac_exeext
35407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35408 (eval $ac_link) 2>conftest.er1
35410 grep -v '^ *+' conftest.er1
>conftest.err
35412 cat conftest.err
>&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); } &&
35415 { ac_try
='test -z "$ac_c_werror_flag"
35416 || test ! -s conftest.err'
35417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35418 (eval $ac_try) 2>&5
35420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35421 (exit $ac_status); }; } &&
35422 { ac_try
='test -s conftest$ac_exeext'
35423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35424 (eval $ac_try) 2>&5
35426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35427 (exit $ac_status); }; }; then
35428 ac_cv_func_pthread_attr_setschedparam
=yes
35430 echo "$as_me: failed program was:" >&5
35431 sed 's/^/| /' conftest.
$ac_ext >&5
35433 ac_cv_func_pthread_attr_setschedparam
=no
35435 rm -f conftest.err conftest.
$ac_objext \
35436 conftest
$ac_exeext conftest.
$ac_ext
35438 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35439 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35440 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35441 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35442 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35443 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35444 echo $ECHO_N "(cached) $ECHO_C" >&6
35446 cat >conftest.
$ac_ext <<_ACEOF
35449 cat confdefs.h
>>conftest.
$ac_ext
35450 cat >>conftest.
$ac_ext <<_ACEOF
35451 /* end confdefs.h. */
35452 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35454 #define sched_get_priority_max innocuous_sched_get_priority_max
35456 /* System header to define __stub macros and hopefully few prototypes,
35457 which can conflict with char sched_get_priority_max (); below.
35458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35459 <limits.h> exists even on freestanding compilers. */
35462 # include <limits.h>
35464 # include <assert.h>
35467 #undef sched_get_priority_max
35469 /* Override any gcc2 internal prototype to avoid an error. */
35474 /* We use char because int might match the return type of a gcc2
35475 builtin and then its argument prototype would still apply. */
35476 char sched_get_priority_max ();
35477 /* The GNU C library defines this for functions which it implements
35478 to always fail with ENOSYS. Some functions are actually named
35479 something starting with __ and the normal name is an alias. */
35480 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35483 char (*f) () = sched_get_priority_max;
35492 return f != sched_get_priority_max;
35497 rm -f conftest.
$ac_objext conftest
$ac_exeext
35498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35499 (eval $ac_link) 2>conftest.er1
35501 grep -v '^ *+' conftest.er1
>conftest.err
35503 cat conftest.err
>&5
35504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35505 (exit $ac_status); } &&
35506 { ac_try
='test -z "$ac_c_werror_flag"
35507 || test ! -s conftest.err'
35508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35509 (eval $ac_try) 2>&5
35511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35512 (exit $ac_status); }; } &&
35513 { ac_try
='test -s conftest$ac_exeext'
35514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35515 (eval $ac_try) 2>&5
35517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35518 (exit $ac_status); }; }; then
35519 ac_cv_func_sched_get_priority_max
=yes
35521 echo "$as_me: failed program was:" >&5
35522 sed 's/^/| /' conftest.
$ac_ext >&5
35524 ac_cv_func_sched_get_priority_max
=no
35526 rm -f conftest.err conftest.
$ac_objext \
35527 conftest
$ac_exeext conftest.
$ac_ext
35529 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35530 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35531 if test $ac_cv_func_sched_get_priority_max = yes; then
35534 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35535 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35536 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35537 echo $ECHO_N "(cached) $ECHO_C" >&6
35539 ac_check_lib_save_LIBS
=$LIBS
35540 LIBS
="-lposix4 $LIBS"
35541 cat >conftest.
$ac_ext <<_ACEOF
35544 cat confdefs.h
>>conftest.
$ac_ext
35545 cat >>conftest.
$ac_ext <<_ACEOF
35546 /* end confdefs.h. */
35548 /* Override any gcc2 internal prototype to avoid an error. */
35552 /* We use char because int might match the return type of a gcc2
35553 builtin and then its argument prototype would still apply. */
35554 char sched_get_priority_max ();
35558 sched_get_priority_max ();
35563 rm -f conftest.
$ac_objext conftest
$ac_exeext
35564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35565 (eval $ac_link) 2>conftest.er1
35567 grep -v '^ *+' conftest.er1
>conftest.err
35569 cat conftest.err
>&5
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); } &&
35572 { ac_try
='test -z "$ac_c_werror_flag"
35573 || test ! -s conftest.err'
35574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35575 (eval $ac_try) 2>&5
35577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35578 (exit $ac_status); }; } &&
35579 { ac_try
='test -s conftest$ac_exeext'
35580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35581 (eval $ac_try) 2>&5
35583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584 (exit $ac_status); }; }; then
35585 ac_cv_lib_posix4_sched_get_priority_max
=yes
35587 echo "$as_me: failed program was:" >&5
35588 sed 's/^/| /' conftest.
$ac_ext >&5
35590 ac_cv_lib_posix4_sched_get_priority_max
=no
35592 rm -f conftest.err conftest.
$ac_objext \
35593 conftest
$ac_exeext conftest.
$ac_ext
35594 LIBS
=$ac_check_lib_save_LIBS
35596 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35597 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35598 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35601 POSIX4_LINK
=" -lposix4"
35615 if test "$HAVE_PRIOR_FUNCS" = 1; then
35616 cat >>confdefs.h
<<\_ACEOF
35617 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35621 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35622 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35625 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35626 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35627 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35628 echo $ECHO_N "(cached) $ECHO_C" >&6
35630 cat >conftest.
$ac_ext <<_ACEOF
35633 cat confdefs.h
>>conftest.
$ac_ext
35634 cat >>conftest.
$ac_ext <<_ACEOF
35635 /* end confdefs.h. */
35636 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35638 #define pthread_cancel innocuous_pthread_cancel
35640 /* System header to define __stub macros and hopefully few prototypes,
35641 which can conflict with char pthread_cancel (); below.
35642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35643 <limits.h> exists even on freestanding compilers. */
35646 # include <limits.h>
35648 # include <assert.h>
35651 #undef pthread_cancel
35653 /* Override any gcc2 internal prototype to avoid an error. */
35658 /* We use char because int might match the return type of a gcc2
35659 builtin and then its argument prototype would still apply. */
35660 char pthread_cancel ();
35661 /* The GNU C library defines this for functions which it implements
35662 to always fail with ENOSYS. Some functions are actually named
35663 something starting with __ and the normal name is an alias. */
35664 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35667 char (*f) () = pthread_cancel;
35676 return f != pthread_cancel;
35681 rm -f conftest.
$ac_objext conftest
$ac_exeext
35682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35683 (eval $ac_link) 2>conftest.er1
35685 grep -v '^ *+' conftest.er1
>conftest.err
35687 cat conftest.err
>&5
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); } &&
35690 { ac_try
='test -z "$ac_c_werror_flag"
35691 || test ! -s conftest.err'
35692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35693 (eval $ac_try) 2>&5
35695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35696 (exit $ac_status); }; } &&
35697 { ac_try
='test -s conftest$ac_exeext'
35698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35699 (eval $ac_try) 2>&5
35701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35702 (exit $ac_status); }; }; then
35703 ac_cv_func_pthread_cancel
=yes
35705 echo "$as_me: failed program was:" >&5
35706 sed 's/^/| /' conftest.
$ac_ext >&5
35708 ac_cv_func_pthread_cancel
=no
35710 rm -f conftest.err conftest.
$ac_objext \
35711 conftest
$ac_exeext conftest.
$ac_ext
35713 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35714 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35715 if test $ac_cv_func_pthread_cancel = yes; then
35716 cat >>confdefs.h
<<\_ACEOF
35717 #define HAVE_PTHREAD_CANCEL 1
35721 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35722 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35726 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
35727 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
35728 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
35729 echo $ECHO_N "(cached) $ECHO_C" >&6
35731 cat >conftest.
$ac_ext <<_ACEOF
35734 cat confdefs.h
>>conftest.
$ac_ext
35735 cat >>conftest.
$ac_ext <<_ACEOF
35736 /* end confdefs.h. */
35737 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
35738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35739 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
35741 /* System header to define __stub macros and hopefully few prototypes,
35742 which can conflict with char pthread_attr_setstacksize (); below.
35743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35744 <limits.h> exists even on freestanding compilers. */
35747 # include <limits.h>
35749 # include <assert.h>
35752 #undef pthread_attr_setstacksize
35754 /* Override any gcc2 internal prototype to avoid an error. */
35759 /* We use char because int might match the return type of a gcc2
35760 builtin and then its argument prototype would still apply. */
35761 char pthread_attr_setstacksize ();
35762 /* The GNU C library defines this for functions which it implements
35763 to always fail with ENOSYS. Some functions are actually named
35764 something starting with __ and the normal name is an alias. */
35765 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
35768 char (*f) () = pthread_attr_setstacksize;
35777 return f != pthread_attr_setstacksize;
35782 rm -f conftest.
$ac_objext conftest
$ac_exeext
35783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35784 (eval $ac_link) 2>conftest.er1
35786 grep -v '^ *+' conftest.er1
>conftest.err
35788 cat conftest.err
>&5
35789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35790 (exit $ac_status); } &&
35791 { ac_try
='test -z "$ac_c_werror_flag"
35792 || test ! -s conftest.err'
35793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35794 (eval $ac_try) 2>&5
35796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35797 (exit $ac_status); }; } &&
35798 { ac_try
='test -s conftest$ac_exeext'
35799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35800 (eval $ac_try) 2>&5
35802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35803 (exit $ac_status); }; }; then
35804 ac_cv_func_pthread_attr_setstacksize
=yes
35806 echo "$as_me: failed program was:" >&5
35807 sed 's/^/| /' conftest.
$ac_ext >&5
35809 ac_cv_func_pthread_attr_setstacksize
=no
35811 rm -f conftest.err conftest.
$ac_objext \
35812 conftest
$ac_exeext conftest.
$ac_ext
35814 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
35815 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
35816 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
35817 cat >>confdefs.h
<<\_ACEOF
35818 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
35825 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35826 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35827 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35828 echo $ECHO_N "(cached) $ECHO_C" >&6
35831 cat >conftest.
$ac_ext <<_ACEOF
35834 cat confdefs.h
>>conftest.
$ac_ext
35835 cat >>conftest.
$ac_ext <<_ACEOF
35836 /* end confdefs.h. */
35837 #include <pthread.h>
35842 pthread_mutexattr_t attr;
35843 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35849 rm -f conftest.
$ac_objext
35850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35851 (eval $ac_compile) 2>conftest.er1
35853 grep -v '^ *+' conftest.er1
>conftest.err
35855 cat conftest.err
>&5
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); } &&
35858 { ac_try
='test -z "$ac_c_werror_flag"
35859 || test ! -s conftest.err'
35860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35861 (eval $ac_try) 2>&5
35863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864 (exit $ac_status); }; } &&
35865 { ac_try
='test -s conftest.$ac_objext'
35866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35867 (eval $ac_try) 2>&5
35869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870 (exit $ac_status); }; }; then
35872 wx_cv_type_pthread_mutexattr_t
=yes
35875 echo "$as_me: failed program was:" >&5
35876 sed 's/^/| /' conftest.
$ac_ext >&5
35879 wx_cv_type_pthread_mutexattr_t
=no
35883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35886 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35887 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35889 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35890 cat >>confdefs.h
<<\_ACEOF
35891 #define HAVE_PTHREAD_MUTEXATTR_T 1
35895 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35896 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35897 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35898 echo $ECHO_N "(cached) $ECHO_C" >&6
35901 cat >conftest.
$ac_ext <<_ACEOF
35904 cat confdefs.h
>>conftest.
$ac_ext
35905 cat >>conftest.
$ac_ext <<_ACEOF
35906 /* end confdefs.h. */
35907 #include <pthread.h>
35912 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35918 rm -f conftest.
$ac_objext
35919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35920 (eval $ac_compile) 2>conftest.er1
35922 grep -v '^ *+' conftest.er1
>conftest.err
35924 cat conftest.err
>&5
35925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35926 (exit $ac_status); } &&
35927 { ac_try
='test -z "$ac_c_werror_flag"
35928 || test ! -s conftest.err'
35929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35930 (eval $ac_try) 2>&5
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); }; } &&
35934 { ac_try
='test -s conftest.$ac_objext'
35935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35936 (eval $ac_try) 2>&5
35938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35939 (exit $ac_status); }; }; then
35941 wx_cv_type_pthread_rec_mutex_init
=yes
35944 echo "$as_me: failed program was:" >&5
35945 sed 's/^/| /' conftest.
$ac_ext >&5
35948 wx_cv_type_pthread_rec_mutex_init
=no
35952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35955 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35956 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35957 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35958 cat >>confdefs.h
<<\_ACEOF
35959 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35963 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35964 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35970 if test "$wxUSE_THREADS" = "yes" ; then
35973 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35974 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35975 if test "${wx_cv_cflags_mthread+set}" = set; then
35976 echo $ECHO_N "(cached) $ECHO_C" >&6
35979 CFLAGS_OLD
="$CFLAGS"
35980 CFLAGS
="$CFLAGS -mthreads"
35981 cat >conftest.
$ac_ext <<_ACEOF
35984 cat confdefs.h
>>conftest.
$ac_ext
35985 cat >>conftest.
$ac_ext <<_ACEOF
35986 /* end confdefs.h. */
35996 rm -f conftest.
$ac_objext
35997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35998 (eval $ac_compile) 2>conftest.er1
36000 grep -v '^ *+' conftest.er1
>conftest.err
36002 cat conftest.err
>&5
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); } &&
36005 { ac_try
='test -z "$ac_c_werror_flag"
36006 || test ! -s conftest.err'
36007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36008 (eval $ac_try) 2>&5
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); }; } &&
36012 { ac_try
='test -s conftest.$ac_objext'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; }; then
36018 wx_cv_cflags_mthread
=yes
36020 echo "$as_me: failed program was:" >&5
36021 sed 's/^/| /' conftest.
$ac_ext >&5
36023 wx_cv_cflags_mthread
=no
36026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36030 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
36031 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
36033 if test "$wx_cv_cflags_mthread" = "yes"; then
36034 CXXFLAGS
="$CXXFLAGS -mthreads"
36035 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
36036 LDFLAGS
="$LDFLAGS -mthreads"
36038 CFLAGS
="$CFLAGS_OLD"
36042 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
36043 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
36044 LDFLAGS
="$LDFLAGS -Zmt"
36050 if test "$wxUSE_THREADS" = "yes"; then
36051 cat >>confdefs.h
<<\_ACEOF
36052 #define wxUSE_THREADS 1
36056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
36058 if test "$ac_cv_func_strtok_r" = "yes"; then
36059 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
36060 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
36061 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
36062 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
36063 echo "$as_me:$LINENO: result: yes" >&5
36064 echo "${ECHO_T}yes" >&6
36066 echo "$as_me:$LINENO: result: no" >&5
36067 echo "${ECHO_T}no" >&6
36072 if test "$WXGTK20" = 1 ; then
36073 cat >>confdefs.h
<<_ACEOF
36074 #define __WXGTK20__ $WXGTK20
36080 if test "$WXGTK12" = 1 ; then
36081 cat >>confdefs.h
<<_ACEOF
36082 #define __WXGTK12__ $WXGTK12
36087 if test "$WXGTK127" = 1 ; then
36088 cat >>confdefs.h
<<_ACEOF
36089 #define __WXGTK127__ $WXGTK127
36094 if test "$WXGPE" = 1 ; then
36095 cat >>confdefs.h
<<_ACEOF
36096 #define __WXGPE__ $WXGPE
36103 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
36108 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
36109 wxUSE_DEBUG_INFO
=yes
36110 if test "$GCC" = yes; then
36115 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
36116 cat >>confdefs.h
<<\_ACEOF
36120 WXDEBUG_DEFINE
="-D__WXDEBUG__"
36122 if test "$wxUSE_GTK" = 1 ; then
36123 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
36127 if test "$wxUSE_MEM_TRACING" = "yes" ; then
36128 cat >>confdefs.h
<<\_ACEOF
36129 #define wxUSE_MEMORY_TRACING 1
36132 cat >>confdefs.h
<<\_ACEOF
36133 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
36136 cat >>confdefs.h
<<\_ACEOF
36137 #define wxUSE_DEBUG_NEW_ALWAYS 1
36140 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
36143 if test "$wxUSE_DMALLOC" = "yes" ; then
36144 DMALLOC_LIBS
="-ldmallocthcxx"
36148 if test "$wxUSE_PROFILE" = "yes" ; then
36153 CODE_GEN_FLAGS_CXX
=
36154 if test "$GCC" = "yes" ; then
36155 if test "$wxUSE_NO_RTTI" = "yes" ; then
36156 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
36158 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36159 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
36161 if test "$wxUSE_PERMISSIVE" = "yes" ; then
36162 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
36167 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
36170 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
36176 if test "$wxUSE_OPTIMISE" = "no" ; then
36177 if test "$GCC" = yes ; then
36181 if test "$GCC" = yes ; then
36185 i586
-*-*|i686
-*-* )
36186 OPTIMISE
="${OPTIMISE} "
36195 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
36196 cat >>confdefs.h
<<\_ACEOF
36197 #define WXWIN_COMPATIBILITY_2_2 1
36201 WXWIN_COMPATIBILITY_2_4
="yes"
36204 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
36205 cat >>confdefs.h
<<\_ACEOF
36206 #define WXWIN_COMPATIBILITY_2_4 1
36212 if test "$wxUSE_GUI" = "yes"; then
36213 cat >>confdefs.h
<<\_ACEOF
36214 #define wxUSE_GUI 1
36221 if test "$wxUSE_UNIX" = "yes"; then
36222 cat >>confdefs.h
<<\_ACEOF
36223 #define wxUSE_UNIX 1
36229 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36233 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36234 if test "$USE_DARWIN" = 1; then
36236 elif test "$USE_DOS" = 1; then
36240 for ac_func
in dlopen
36242 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36243 echo "$as_me:$LINENO: checking for $ac_func" >&5
36244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36245 if eval "test \"\${$as_ac_var+set}\" = set"; then
36246 echo $ECHO_N "(cached) $ECHO_C" >&6
36248 cat >conftest.
$ac_ext <<_ACEOF
36251 cat confdefs.h
>>conftest.
$ac_ext
36252 cat >>conftest.
$ac_ext <<_ACEOF
36253 /* end confdefs.h. */
36254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36256 #define $ac_func innocuous_$ac_func
36258 /* System header to define __stub macros and hopefully few prototypes,
36259 which can conflict with char $ac_func (); below.
36260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36261 <limits.h> exists even on freestanding compilers. */
36264 # include <limits.h>
36266 # include <assert.h>
36271 /* Override any gcc2 internal prototype to avoid an error. */
36276 /* We use char because int might match the return type of a gcc2
36277 builtin and then its argument prototype would still apply. */
36279 /* The GNU C library defines this for functions which it implements
36280 to always fail with ENOSYS. Some functions are actually named
36281 something starting with __ and the normal name is an alias. */
36282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36285 char (*f) () = $ac_func;
36294 return f != $ac_func;
36299 rm -f conftest.
$ac_objext conftest
$ac_exeext
36300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36301 (eval $ac_link) 2>conftest.er1
36303 grep -v '^ *+' conftest.er1
>conftest.err
36305 cat conftest.err
>&5
36306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36307 (exit $ac_status); } &&
36308 { ac_try
='test -z "$ac_c_werror_flag"
36309 || test ! -s conftest.err'
36310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36311 (eval $ac_try) 2>&5
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); }; } &&
36315 { ac_try
='test -s conftest$ac_exeext'
36316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36317 (eval $ac_try) 2>&5
36319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36320 (exit $ac_status); }; }; then
36321 eval "$as_ac_var=yes"
36323 echo "$as_me: failed program was:" >&5
36324 sed 's/^/| /' conftest.
$ac_ext >&5
36326 eval "$as_ac_var=no"
36328 rm -f conftest.err conftest.
$ac_objext \
36329 conftest
$ac_exeext conftest.
$ac_ext
36331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36333 if test `eval echo '${'$as_ac_var'}'` = yes; then
36334 cat >>confdefs.h
<<_ACEOF
36335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36338 cat >>confdefs.h
<<\_ACEOF
36339 #define HAVE_DLOPEN 1
36346 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36347 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
36348 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36349 echo $ECHO_N "(cached) $ECHO_C" >&6
36351 ac_check_lib_save_LIBS
=$LIBS
36353 cat >conftest.
$ac_ext <<_ACEOF
36356 cat confdefs.h
>>conftest.
$ac_ext
36357 cat >>conftest.
$ac_ext <<_ACEOF
36358 /* end confdefs.h. */
36360 /* Override any gcc2 internal prototype to avoid an error. */
36364 /* We use char because int might match the return type of a gcc2
36365 builtin and then its argument prototype would still apply. */
36375 rm -f conftest.
$ac_objext conftest
$ac_exeext
36376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36377 (eval $ac_link) 2>conftest.er1
36379 grep -v '^ *+' conftest.er1
>conftest.err
36381 cat conftest.err
>&5
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); } &&
36384 { ac_try
='test -z "$ac_c_werror_flag"
36385 || test ! -s conftest.err'
36386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36387 (eval $ac_try) 2>&5
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); }; } &&
36391 { ac_try
='test -s conftest$ac_exeext'
36392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36393 (eval $ac_try) 2>&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); }; }; then
36397 ac_cv_lib_dl_dlopen
=yes
36399 echo "$as_me: failed program was:" >&5
36400 sed 's/^/| /' conftest.
$ac_ext >&5
36402 ac_cv_lib_dl_dlopen
=no
36404 rm -f conftest.err conftest.
$ac_objext \
36405 conftest
$ac_exeext conftest.
$ac_ext
36406 LIBS
=$ac_check_lib_save_LIBS
36408 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36409 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36410 if test $ac_cv_lib_dl_dlopen = yes; then
36412 cat >>confdefs.h
<<\_ACEOF
36413 #define HAVE_DLOPEN 1
36417 DL_LINK
=" -ldl$DL_LINK"
36422 for ac_func
in shl_load
36424 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36425 echo "$as_me:$LINENO: checking for $ac_func" >&5
36426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36427 if eval "test \"\${$as_ac_var+set}\" = set"; then
36428 echo $ECHO_N "(cached) $ECHO_C" >&6
36430 cat >conftest.
$ac_ext <<_ACEOF
36433 cat confdefs.h
>>conftest.
$ac_ext
36434 cat >>conftest.
$ac_ext <<_ACEOF
36435 /* end confdefs.h. */
36436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36438 #define $ac_func innocuous_$ac_func
36440 /* System header to define __stub macros and hopefully few prototypes,
36441 which can conflict with char $ac_func (); below.
36442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36443 <limits.h> exists even on freestanding compilers. */
36446 # include <limits.h>
36448 # include <assert.h>
36453 /* Override any gcc2 internal prototype to avoid an error. */
36458 /* We use char because int might match the return type of a gcc2
36459 builtin and then its argument prototype would still apply. */
36461 /* The GNU C library defines this for functions which it implements
36462 to always fail with ENOSYS. Some functions are actually named
36463 something starting with __ and the normal name is an alias. */
36464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36467 char (*f) () = $ac_func;
36476 return f != $ac_func;
36481 rm -f conftest.
$ac_objext conftest
$ac_exeext
36482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36483 (eval $ac_link) 2>conftest.er1
36485 grep -v '^ *+' conftest.er1
>conftest.err
36487 cat conftest.err
>&5
36488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36489 (exit $ac_status); } &&
36490 { ac_try
='test -z "$ac_c_werror_flag"
36491 || test ! -s conftest.err'
36492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36493 (eval $ac_try) 2>&5
36495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36496 (exit $ac_status); }; } &&
36497 { ac_try
='test -s conftest$ac_exeext'
36498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36499 (eval $ac_try) 2>&5
36501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36502 (exit $ac_status); }; }; then
36503 eval "$as_ac_var=yes"
36505 echo "$as_me: failed program was:" >&5
36506 sed 's/^/| /' conftest.
$ac_ext >&5
36508 eval "$as_ac_var=no"
36510 rm -f conftest.err conftest.
$ac_objext \
36511 conftest
$ac_exeext conftest.
$ac_ext
36513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36515 if test `eval echo '${'$as_ac_var'}'` = yes; then
36516 cat >>confdefs.h
<<_ACEOF
36517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36520 cat >>confdefs.h
<<\_ACEOF
36521 #define HAVE_SHL_LOAD 1
36528 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36529 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36530 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36531 echo $ECHO_N "(cached) $ECHO_C" >&6
36533 ac_check_lib_save_LIBS
=$LIBS
36534 LIBS
="-lshl_load $LIBS"
36535 cat >conftest.
$ac_ext <<_ACEOF
36538 cat confdefs.h
>>conftest.
$ac_ext
36539 cat >>conftest.
$ac_ext <<_ACEOF
36540 /* end confdefs.h. */
36542 /* Override any gcc2 internal prototype to avoid an error. */
36546 /* We use char because int might match the return type of a gcc2
36547 builtin and then its argument prototype would still apply. */
36557 rm -f conftest.
$ac_objext conftest
$ac_exeext
36558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36559 (eval $ac_link) 2>conftest.er1
36561 grep -v '^ *+' conftest.er1
>conftest.err
36563 cat conftest.err
>&5
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); } &&
36566 { ac_try
='test -z "$ac_c_werror_flag"
36567 || test ! -s conftest.err'
36568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36569 (eval $ac_try) 2>&5
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); }; } &&
36573 { ac_try
='test -s conftest$ac_exeext'
36574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36575 (eval $ac_try) 2>&5
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); }; }; then
36579 ac_cv_lib_shl_load_dld
=yes
36581 echo "$as_me: failed program was:" >&5
36582 sed 's/^/| /' conftest.
$ac_ext >&5
36584 ac_cv_lib_shl_load_dld
=no
36586 rm -f conftest.err conftest.
$ac_objext \
36587 conftest
$ac_exeext conftest.
$ac_ext
36588 LIBS
=$ac_check_lib_save_LIBS
36590 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36591 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36592 if test $ac_cv_lib_shl_load_dld = yes; then
36595 DL_LINK
=" -ldld$DL_LINK"
36611 if test "$HAVE_DL_FUNCS" = 1; then
36613 for ac_func
in dlerror
36615 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36616 echo "$as_me:$LINENO: checking for $ac_func" >&5
36617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36618 if eval "test \"\${$as_ac_var+set}\" = set"; then
36619 echo $ECHO_N "(cached) $ECHO_C" >&6
36621 cat >conftest.
$ac_ext <<_ACEOF
36624 cat confdefs.h
>>conftest.
$ac_ext
36625 cat >>conftest.
$ac_ext <<_ACEOF
36626 /* end confdefs.h. */
36627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36629 #define $ac_func innocuous_$ac_func
36631 /* System header to define __stub macros and hopefully few prototypes,
36632 which can conflict with char $ac_func (); below.
36633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36634 <limits.h> exists even on freestanding compilers. */
36637 # include <limits.h>
36639 # include <assert.h>
36644 /* Override any gcc2 internal prototype to avoid an error. */
36649 /* We use char because int might match the return type of a gcc2
36650 builtin and then its argument prototype would still apply. */
36652 /* The GNU C library defines this for functions which it implements
36653 to always fail with ENOSYS. Some functions are actually named
36654 something starting with __ and the normal name is an alias. */
36655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36658 char (*f) () = $ac_func;
36667 return f != $ac_func;
36672 rm -f conftest.
$ac_objext conftest
$ac_exeext
36673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36674 (eval $ac_link) 2>conftest.er1
36676 grep -v '^ *+' conftest.er1
>conftest.err
36678 cat conftest.err
>&5
36679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36680 (exit $ac_status); } &&
36681 { ac_try
='test -z "$ac_c_werror_flag"
36682 || test ! -s conftest.err'
36683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36684 (eval $ac_try) 2>&5
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); }; } &&
36688 { ac_try
='test -s conftest$ac_exeext'
36689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36690 (eval $ac_try) 2>&5
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); }; }; then
36694 eval "$as_ac_var=yes"
36696 echo "$as_me: failed program was:" >&5
36697 sed 's/^/| /' conftest.
$ac_ext >&5
36699 eval "$as_ac_var=no"
36701 rm -f conftest.err conftest.
$ac_objext \
36702 conftest
$ac_exeext conftest.
$ac_ext
36704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36706 if test `eval echo '${'$as_ac_var'}'` = yes; then
36707 cat >>confdefs.h
<<_ACEOF
36708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36710 cat >>confdefs.h
<<\_ACEOF
36711 #define HAVE_DLERROR 1
36716 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36717 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36718 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36719 echo $ECHO_N "(cached) $ECHO_C" >&6
36721 ac_check_lib_save_LIBS
=$LIBS
36723 cat >conftest.
$ac_ext <<_ACEOF
36726 cat confdefs.h
>>conftest.
$ac_ext
36727 cat >>conftest.
$ac_ext <<_ACEOF
36728 /* end confdefs.h. */
36730 /* Override any gcc2 internal prototype to avoid an error. */
36734 /* We use char because int might match the return type of a gcc2
36735 builtin and then its argument prototype would still apply. */
36745 rm -f conftest.
$ac_objext conftest
$ac_exeext
36746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36747 (eval $ac_link) 2>conftest.er1
36749 grep -v '^ *+' conftest.er1
>conftest.err
36751 cat conftest.err
>&5
36752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36753 (exit $ac_status); } &&
36754 { ac_try
='test -z "$ac_c_werror_flag"
36755 || test ! -s conftest.err'
36756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36757 (eval $ac_try) 2>&5
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); }; } &&
36761 { ac_try
='test -s conftest$ac_exeext'
36762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36763 (eval $ac_try) 2>&5
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); }; }; then
36767 ac_cv_lib_dl_dlerror
=yes
36769 echo "$as_me: failed program was:" >&5
36770 sed 's/^/| /' conftest.
$ac_ext >&5
36772 ac_cv_lib_dl_dlerror
=no
36774 rm -f conftest.err conftest.
$ac_objext \
36775 conftest
$ac_exeext conftest.
$ac_ext
36776 LIBS
=$ac_check_lib_save_LIBS
36778 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36779 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36780 if test $ac_cv_lib_dl_dlerror = yes; then
36781 cat >>confdefs.h
<<\_ACEOF
36782 #define HAVE_DLERROR 1
36795 if test "$HAVE_DL_FUNCS" = 0; then
36796 if test "$HAVE_SHL_FUNCS" = 0; then
36797 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36798 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36799 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36800 wxUSE_DYNAMIC_LOADER
=no
36801 wxUSE_DYNLIB_CLASS
=no
36803 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36804 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36811 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36812 cat >>confdefs.h
<<\_ACEOF
36813 #define wxUSE_DYNAMIC_LOADER 1
36817 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36818 cat >>confdefs.h
<<\_ACEOF
36819 #define wxUSE_DYNLIB_CLASS 1
36826 if test "$wxUSE_PLUGINS" = "yes" ; then
36827 if test "$wxUSE_SHARED" = "no" ; then
36828 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36829 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36832 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36833 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36834 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36837 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36838 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36839 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36842 if test "$wxUSE_PLUGINS" = "yes" ; then
36843 cat >>confdefs.h
<<\_ACEOF
36844 #define wxUSE_PLUGINS 1
36851 if test "$wxUSE_STL" = "yes"; then
36852 cat >>confdefs.h
<<\_ACEOF
36853 #define wxUSE_STL 1
36858 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36859 cat >>confdefs.h
<<\_ACEOF
36860 #define wxUSE_APPLE_IEEE 1
36865 if test "$wxUSE_TIMER" = "yes"; then
36866 cat >>confdefs.h
<<\_ACEOF
36867 #define wxUSE_TIMER 1
36872 if test "$USE_UNIX" = "1" ; then
36874 for ac_header
in sys
/soundcard.h
36876 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36878 echo "$as_me:$LINENO: checking for $ac_header" >&5
36879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36881 echo $ECHO_N "(cached) $ECHO_C" >&6
36883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36886 # Is the header compilable?
36887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36889 cat >conftest.
$ac_ext <<_ACEOF
36892 cat confdefs.h
>>conftest.
$ac_ext
36893 cat >>conftest.
$ac_ext <<_ACEOF
36894 /* end confdefs.h. */
36895 $ac_includes_default
36896 #include <$ac_header>
36898 rm -f conftest.
$ac_objext
36899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36900 (eval $ac_compile) 2>conftest.er1
36902 grep -v '^ *+' conftest.er1
>conftest.err
36904 cat conftest.err
>&5
36905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36906 (exit $ac_status); } &&
36907 { ac_try
='test -z "$ac_c_werror_flag"
36908 || test ! -s conftest.err'
36909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36910 (eval $ac_try) 2>&5
36912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36913 (exit $ac_status); }; } &&
36914 { ac_try
='test -s conftest.$ac_objext'
36915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36916 (eval $ac_try) 2>&5
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); }; }; then
36920 ac_header_compiler
=yes
36922 echo "$as_me: failed program was:" >&5
36923 sed 's/^/| /' conftest.
$ac_ext >&5
36925 ac_header_compiler
=no
36927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36929 echo "${ECHO_T}$ac_header_compiler" >&6
36931 # Is the header present?
36932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36934 cat >conftest.
$ac_ext <<_ACEOF
36937 cat confdefs.h
>>conftest.
$ac_ext
36938 cat >>conftest.
$ac_ext <<_ACEOF
36939 /* end confdefs.h. */
36940 #include <$ac_header>
36942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36945 grep -v '^ *+' conftest.er1
>conftest.err
36947 cat conftest.err
>&5
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); } >/dev
/null
; then
36950 if test -s conftest.err
; then
36951 ac_cpp_err
=$ac_c_preproc_warn_flag
36952 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36959 if test -z "$ac_cpp_err"; then
36960 ac_header_preproc
=yes
36962 echo "$as_me: failed program was:" >&5
36963 sed 's/^/| /' conftest.
$ac_ext >&5
36965 ac_header_preproc
=no
36967 rm -f conftest.err conftest.
$ac_ext
36968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36969 echo "${ECHO_T}$ac_header_preproc" >&6
36971 # So? What about this header?
36972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36977 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36978 ac_header_preproc
=yes
36981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36985 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36986 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36987 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36988 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36991 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36992 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36995 ## ----------------------------------------- ##
36996 ## Report this to wx-dev@lists.wxwidgets.org ##
36997 ## ----------------------------------------- ##
37000 sed "s/^/$as_me: WARNING: /" >&2
37003 echo "$as_me:$LINENO: checking for $ac_header" >&5
37004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37006 echo $ECHO_N "(cached) $ECHO_C" >&6
37008 eval "$as_ac_Header=\$ac_header_preproc"
37010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37015 cat >>confdefs.h
<<_ACEOF
37016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37020 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
37027 if test "$wxUSE_SOUND" = "yes"; then
37028 if test "$USE_UNIX" = "1" ; then
37029 if test "$wxUSE_LIBSDL" != "no"; then
37031 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
37032 if test "${with_sdl_prefix+set}" = set; then
37033 withval
="$with_sdl_prefix"
37034 sdl_prefix
="$withval"
37039 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
37040 if test "${with_sdl_exec_prefix+set}" = set; then
37041 withval
="$with_sdl_exec_prefix"
37042 sdl_exec_prefix
="$withval"
37046 # Check whether --enable-sdltest or --disable-sdltest was given.
37047 if test "${enable_sdltest+set}" = set; then
37048 enableval
="$enable_sdltest"
37054 if test x
$sdl_exec_prefix != x
; then
37055 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
37056 if test x
${SDL_CONFIG+set} != xset
; then
37057 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
37060 if test x
$sdl_prefix != x
; then
37061 sdl_args
="$sdl_args --prefix=$sdl_prefix"
37062 if test x
${SDL_CONFIG+set} != xset
; then
37063 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
37068 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
37069 # Extract the first word of "sdl-config", so it can be a program name with args.
37070 set dummy sdl
-config; ac_word
=$2
37071 echo "$as_me:$LINENO: checking for $ac_word" >&5
37072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37073 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
37074 echo $ECHO_N "(cached) $ECHO_C" >&6
37076 case $SDL_CONFIG in
37078 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
37081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37082 for as_dir
in $PATH
37085 test -z "$as_dir" && as_dir
=.
37086 for ac_exec_ext
in '' $ac_executable_extensions; do
37087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37088 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37095 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
37099 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
37101 if test -n "$SDL_CONFIG"; then
37102 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
37103 echo "${ECHO_T}$SDL_CONFIG" >&6
37105 echo "$as_me:$LINENO: result: no" >&5
37106 echo "${ECHO_T}no" >&6
37109 min_sdl_version
=1.2.0
37110 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
37111 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
37113 if test "$SDL_CONFIG" = "no" ; then
37116 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
37117 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
37119 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
37120 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
37121 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
37122 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
37123 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
37124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
37125 if test "x$enable_sdltest" = "xyes" ; then
37126 ac_save_CFLAGS
="$CFLAGS"
37127 ac_save_CXXFLAGS
="$CXXFLAGS"
37128 ac_save_LIBS
="$LIBS"
37129 CFLAGS
="$CFLAGS $SDL_CFLAGS"
37130 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37131 LIBS
="$LIBS $SDL_LIBS"
37133 if test "$cross_compiling" = yes; then
37134 echo $ac_n "cross compiling; assumed OK... $ac_c"
37136 cat >conftest.
$ac_ext <<_ACEOF
37139 cat confdefs.h
>>conftest.
$ac_ext
37140 cat >>conftest.
$ac_ext <<_ACEOF
37141 /* end confdefs.h. */
37144 #include <stdlib.h>
37145 #include <string.h>
37149 my_strdup (char *str)
37155 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
37156 strcpy (new_str, str);
37164 int main (int argc, char *argv[])
37166 int major, minor, micro;
37169 /* This hangs on some systems (?)
37170 system ("touch conf.sdltest");
37172 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
37174 /* HP/UX 9 (%@#!) writes to sscanf strings */
37175 tmp_version = my_strdup("$min_sdl_version");
37176 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
37177 printf("%s, bad version string\n", "$min_sdl_version");
37181 if (($sdl_major_version > major) ||
37182 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
37183 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
37189 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
37190 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
37191 printf("*** best to upgrade to the required version.\n");
37192 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
37193 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
37194 printf("*** config.cache before re-running configure\n");
37201 rm -f conftest
$ac_exeext
37202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37203 (eval $ac_link) 2>&5
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37208 (eval $ac_try) 2>&5
37210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37211 (exit $ac_status); }; }; then
37214 echo "$as_me: program exited with status $ac_status" >&5
37215 echo "$as_me: failed program was:" >&5
37216 sed 's/^/| /' conftest.
$ac_ext >&5
37218 ( exit $ac_status )
37221 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
37223 CFLAGS
="$ac_save_CFLAGS"
37224 CXXFLAGS
="$ac_save_CXXFLAGS"
37225 LIBS
="$ac_save_LIBS"
37228 if test "x$no_sdl" = x
; then
37229 echo "$as_me:$LINENO: result: yes" >&5
37230 echo "${ECHO_T}yes" >&6
37232 EXTRALIBS_SDL
="$SDL_LIBS"
37233 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37234 cat >>confdefs.h
<<\_ACEOF
37235 #define wxUSE_LIBSDL 1
37240 echo "$as_me:$LINENO: result: no" >&5
37241 echo "${ECHO_T}no" >&6
37242 if test "$SDL_CONFIG" = "no" ; then
37243 echo "*** The sdl-config script installed by SDL could not be found"
37244 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
37245 echo "*** your path, or set the SDL_CONFIG environment variable to the"
37246 echo "*** full path to sdl-config."
37248 if test -f conf.sdltest
; then
37251 echo "*** Could not run SDL test program, checking why..."
37252 CFLAGS
="$CFLAGS $SDL_CFLAGS"
37253 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37254 LIBS
="$LIBS $SDL_LIBS"
37255 cat >conftest.
$ac_ext <<_ACEOF
37258 cat confdefs.h
>>conftest.
$ac_ext
37259 cat >>conftest.
$ac_ext <<_ACEOF
37260 /* end confdefs.h. */
37265 int main(int argc, char *argv[])
37268 #define main K_and_R_C_main
37278 rm -f conftest.
$ac_objext conftest
$ac_exeext
37279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37280 (eval $ac_link) 2>conftest.er1
37282 grep -v '^ *+' conftest.er1
>conftest.err
37284 cat conftest.err
>&5
37285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37286 (exit $ac_status); } &&
37287 { ac_try
='test -z "$ac_c_werror_flag"
37288 || test ! -s conftest.err'
37289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37290 (eval $ac_try) 2>&5
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); }; } &&
37294 { ac_try
='test -s conftest$ac_exeext'
37295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37296 (eval $ac_try) 2>&5
37298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37299 (exit $ac_status); }; }; then
37300 echo "*** The test program compiled, but did not run. This usually means"
37301 echo "*** that the run-time linker is not finding SDL or finding the wrong"
37302 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
37303 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
37304 echo "*** to the installed location Also, make sure you have run ldconfig if that"
37305 echo "*** is required on your system"
37307 echo "*** If you have an old version installed, it is best to remove it, although"
37308 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
37310 echo "$as_me: failed program was:" >&5
37311 sed 's/^/| /' conftest.
$ac_ext >&5
37313 echo "*** The test program failed to compile or link. See the file config.log for the"
37314 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
37315 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
37316 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
37318 rm -f conftest.err conftest.
$ac_objext \
37319 conftest
$ac_exeext conftest.
$ac_ext
37320 CFLAGS
="$ac_save_CFLAGS"
37321 CXXFLAGS
="$ac_save_CXXFLAGS"
37322 LIBS
="$ac_save_LIBS"
37333 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
37339 cat >>confdefs.h
<<\_ACEOF
37340 #define wxUSE_SOUND 1
37343 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
37346 if test "$WXGTK20" = 1; then
37347 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37348 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37353 if test -z "$PKG_CONFIG"; then
37354 # Extract the first word of "pkg-config", so it can be a program name with args.
37355 set dummy pkg
-config; ac_word
=$2
37356 echo "$as_me:$LINENO: checking for $ac_word" >&5
37357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37358 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37359 echo $ECHO_N "(cached) $ECHO_C" >&6
37361 case $PKG_CONFIG in
37363 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
37366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37367 for as_dir
in $PATH
37370 test -z "$as_dir" && as_dir
=.
37371 for ac_exec_ext
in '' $ac_executable_extensions; do
37372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37373 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37380 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
37384 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
37386 if test -n "$PKG_CONFIG"; then
37387 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37388 echo "${ECHO_T}$PKG_CONFIG" >&6
37390 echo "$as_me:$LINENO: result: no" >&5
37391 echo "${ECHO_T}no" >&6
37396 if test "$PKG_CONFIG" = "no" ; then
37397 echo "*** The pkg-config script could not be found. Make sure it is"
37398 echo "*** in your path, or set the PKG_CONFIG environment variable"
37399 echo "*** to the full path to pkg-config."
37400 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37402 PKG_CONFIG_MIN_VERSION
=0.9.0
37403 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37404 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37405 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37407 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37408 echo "$as_me:$LINENO: result: yes" >&5
37409 echo "${ECHO_T}yes" >&6
37412 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37413 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37414 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37415 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37416 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37418 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37419 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37420 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37421 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37422 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37424 LIBGNOMEPRINTUI_CFLAGS
=""
37425 LIBGNOMEPRINTUI_LIBS
=""
37426 ## If we have a custom action on failure, don't print errors, but
37427 ## do set a variable so people can do so.
37428 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37435 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37436 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37440 if test $succeeded = yes; then
37442 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37443 cat >>confdefs.h
<<\_ACEOF
37444 #define wxUSE_LIBGNOMEPRINT 1
37450 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37451 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37452 wxUSE_LIBGNOMEPRINT
="no"
37462 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37463 cat >>confdefs.h
<<\_ACEOF
37464 #define wxUSE_CMDLINE_PARSER 1
37469 if test "$wxUSE_STOPWATCH" = "yes"; then
37470 cat >>confdefs.h
<<\_ACEOF
37471 #define wxUSE_STOPWATCH 1
37476 if test "$wxUSE_DATETIME" = "yes"; then
37477 cat >>confdefs.h
<<\_ACEOF
37478 #define wxUSE_DATETIME 1
37483 if test "$wxUSE_FILE" = "yes"; then
37484 cat >>confdefs.h
<<\_ACEOF
37485 #define wxUSE_FILE 1
37490 if test "$wxUSE_FFILE" = "yes"; then
37491 cat >>confdefs.h
<<\_ACEOF
37492 #define wxUSE_FFILE 1
37497 if test "$wxUSE_FILESYSTEM" = "yes"; then
37498 cat >>confdefs.h
<<\_ACEOF
37499 #define wxUSE_FILESYSTEM 1
37504 if test "$wxUSE_FS_ZIP" = "yes"; then
37505 cat >>confdefs.h
<<\_ACEOF
37506 #define wxUSE_FS_ZIP 1
37511 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37512 cat >>confdefs.h
<<\_ACEOF
37513 #define wxUSE_ARCHIVE_STREAMS 1
37518 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37519 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37520 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37521 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37522 elif test "$wxUSE_ZLIB" = "no"; then
37523 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37524 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37526 cat >>confdefs.h
<<\_ACEOF
37527 #define wxUSE_ZIPSTREAM 1
37533 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37534 if test "$USE_UNIX" != 1; then
37535 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37536 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37537 wxUSE_ON_FATAL_EXCEPTION
=no
37539 cat >>confdefs.h
<<\_ACEOF
37540 #define wxUSE_ON_FATAL_EXCEPTION 1
37546 if test "$wxUSE_STACKWALKER" = "yes"; then
37547 cat >>confdefs.h
<<\_ACEOF
37548 #define wxUSE_STACKWALKER 1
37553 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37554 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37555 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37556 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37557 wxUSE_DEBUGREPORT
=no
37559 cat >>confdefs.h
<<\_ACEOF
37560 #define wxUSE_DEBUGREPORT 1
37563 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
37569 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37570 cat >>confdefs.h
<<\_ACEOF
37571 #define wxUSE_SNGLINST_CHECKER 1
37576 if test "$wxUSE_BUSYINFO" = "yes"; then
37577 cat >>confdefs.h
<<\_ACEOF
37578 #define wxUSE_BUSYINFO 1
37583 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37584 cat >>confdefs.h
<<\_ACEOF
37585 #define wxUSE_STD_IOSTREAM 1
37590 if test "$wxUSE_STD_STRING" = "yes"; then
37591 cat >>confdefs.h
<<\_ACEOF
37592 #define wxUSE_STD_STRING 1
37597 if test "$wxUSE_STDPATHS" = "yes"; then
37598 cat >>confdefs.h
<<\_ACEOF
37599 #define wxUSE_STDPATHS 1
37604 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37605 cat >>confdefs.h
<<\_ACEOF
37606 #define wxUSE_TEXTBUFFER 1
37611 if test "$wxUSE_TEXTFILE" = "yes"; then
37612 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37613 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37614 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37616 cat >>confdefs.h
<<\_ACEOF
37617 #define wxUSE_TEXTFILE 1
37623 if test "$wxUSE_CONFIG" = "yes" ; then
37624 if test "$wxUSE_TEXTFILE" != "yes"; then
37625 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37626 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37628 cat >>confdefs.h
<<\_ACEOF
37629 #define wxUSE_CONFIG 1
37632 cat >>confdefs.h
<<\_ACEOF
37633 #define wxUSE_CONFIG_NATIVE 1
37636 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
37640 if test "$wxUSE_INTL" = "yes" ; then
37641 if test "$wxUSE_FILE" != "yes"; then
37642 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37643 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37645 cat >>confdefs.h
<<\_ACEOF
37646 #define wxUSE_INTL 1
37649 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
37650 GUIDIST
="$GUIDIST INTL_DIST"
37654 if test "$wxUSE_LOG" = "yes"; then
37655 cat >>confdefs.h
<<\_ACEOF
37656 #define wxUSE_LOG 1
37660 if test "$wxUSE_LOGGUI" = "yes"; then
37661 cat >>confdefs.h
<<\_ACEOF
37662 #define wxUSE_LOGGUI 1
37667 if test "$wxUSE_LOGWINDOW" = "yes"; then
37668 cat >>confdefs.h
<<\_ACEOF
37669 #define wxUSE_LOGWINDOW 1
37674 if test "$wxUSE_LOGDIALOG" = "yes"; then
37675 cat >>confdefs.h
<<\_ACEOF
37676 #define wxUSE_LOG_DIALOG 1
37681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
37684 if test "$wxUSE_LONGLONG" = "yes"; then
37685 cat >>confdefs.h
<<\_ACEOF
37686 #define wxUSE_LONGLONG 1
37691 if test "$wxUSE_GEOMETRY" = "yes"; then
37692 cat >>confdefs.h
<<\_ACEOF
37693 #define wxUSE_GEOMETRY 1
37698 if test "$wxUSE_STREAMS" = "yes" ; then
37699 cat >>confdefs.h
<<\_ACEOF
37700 #define wxUSE_STREAMS 1
37706 if test "$wxUSE_DATETIME" = "yes"; then
37708 for ac_func
in strptime
37710 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37711 echo "$as_me:$LINENO: checking for $ac_func" >&5
37712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37713 if eval "test \"\${$as_ac_var+set}\" = set"; then
37714 echo $ECHO_N "(cached) $ECHO_C" >&6
37716 cat >conftest.
$ac_ext <<_ACEOF
37719 cat confdefs.h
>>conftest.
$ac_ext
37720 cat >>conftest.
$ac_ext <<_ACEOF
37721 /* end confdefs.h. */
37722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37724 #define $ac_func innocuous_$ac_func
37726 /* System header to define __stub macros and hopefully few prototypes,
37727 which can conflict with char $ac_func (); below.
37728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37729 <limits.h> exists even on freestanding compilers. */
37732 # include <limits.h>
37734 # include <assert.h>
37739 /* Override any gcc2 internal prototype to avoid an error. */
37744 /* We use char because int might match the return type of a gcc2
37745 builtin and then its argument prototype would still apply. */
37747 /* The GNU C library defines this for functions which it implements
37748 to always fail with ENOSYS. Some functions are actually named
37749 something starting with __ and the normal name is an alias. */
37750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37753 char (*f) () = $ac_func;
37762 return f != $ac_func;
37767 rm -f conftest.
$ac_objext conftest
$ac_exeext
37768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37769 (eval $ac_link) 2>conftest.er1
37771 grep -v '^ *+' conftest.er1
>conftest.err
37773 cat conftest.err
>&5
37774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37775 (exit $ac_status); } &&
37776 { ac_try
='test -z "$ac_c_werror_flag"
37777 || test ! -s conftest.err'
37778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37779 (eval $ac_try) 2>&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); }; } &&
37783 { ac_try
='test -s conftest$ac_exeext'
37784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37785 (eval $ac_try) 2>&5
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); }; }; then
37789 eval "$as_ac_var=yes"
37791 echo "$as_me: failed program was:" >&5
37792 sed 's/^/| /' conftest.
$ac_ext >&5
37794 eval "$as_ac_var=no"
37796 rm -f conftest.err conftest.
$ac_objext \
37797 conftest
$ac_exeext conftest.
$ac_ext
37799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37801 if test `eval echo '${'$as_ac_var'}'` = yes; then
37802 cat >>confdefs.h
<<_ACEOF
37803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37810 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37811 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37812 if test "${wx_cv_var_timezone+set}" = set; then
37813 echo $ECHO_N "(cached) $ECHO_C" >&6
37816 cat >conftest.
$ac_ext <<_ACEOF
37819 cat confdefs.h
>>conftest.
$ac_ext
37820 cat >>conftest.
$ac_ext <<_ACEOF
37821 /* end confdefs.h. */
37836 rm -f conftest.
$ac_objext
37837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37838 (eval $ac_compile) 2>conftest.er1
37840 grep -v '^ *+' conftest.er1
>conftest.err
37842 cat conftest.err
>&5
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); } &&
37845 { ac_try
='test -z "$ac_c_werror_flag"
37846 || test ! -s conftest.err'
37847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37848 (eval $ac_try) 2>&5
37850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37851 (exit $ac_status); }; } &&
37852 { ac_try
='test -s conftest.$ac_objext'
37853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37854 (eval $ac_try) 2>&5
37856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37857 (exit $ac_status); }; }; then
37859 wx_cv_var_timezone
=timezone
37862 echo "$as_me: failed program was:" >&5
37863 sed 's/^/| /' conftest.
$ac_ext >&5
37866 cat >conftest.
$ac_ext <<_ACEOF
37869 cat confdefs.h
>>conftest.
$ac_ext
37870 cat >>conftest.
$ac_ext <<_ACEOF
37871 /* end confdefs.h. */
37886 rm -f conftest.
$ac_objext
37887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37888 (eval $ac_compile) 2>conftest.er1
37890 grep -v '^ *+' conftest.er1
>conftest.err
37892 cat conftest.err
>&5
37893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37894 (exit $ac_status); } &&
37895 { ac_try
='test -z "$ac_c_werror_flag"
37896 || test ! -s conftest.err'
37897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37898 (eval $ac_try) 2>&5
37900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37901 (exit $ac_status); }; } &&
37902 { ac_try
='test -s conftest.$ac_objext'
37903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37904 (eval $ac_try) 2>&5
37906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37907 (exit $ac_status); }; }; then
37909 wx_cv_var_timezone
=_timezone
37912 echo "$as_me: failed program was:" >&5
37913 sed 's/^/| /' conftest.
$ac_ext >&5
37916 cat >conftest.
$ac_ext <<_ACEOF
37919 cat confdefs.h
>>conftest.
$ac_ext
37920 cat >>conftest.
$ac_ext <<_ACEOF
37921 /* end confdefs.h. */
37936 rm -f conftest.
$ac_objext
37937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37938 (eval $ac_compile) 2>conftest.er1
37940 grep -v '^ *+' conftest.er1
>conftest.err
37942 cat conftest.err
>&5
37943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944 (exit $ac_status); } &&
37945 { ac_try
='test -z "$ac_c_werror_flag"
37946 || test ! -s conftest.err'
37947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37948 (eval $ac_try) 2>&5
37950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951 (exit $ac_status); }; } &&
37952 { ac_try
='test -s conftest.$ac_objext'
37953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37954 (eval $ac_try) 2>&5
37956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37957 (exit $ac_status); }; }; then
37959 wx_cv_var_timezone
=__timezone
37962 echo "$as_me: failed program was:" >&5
37963 sed 's/^/| /' conftest.
$ac_ext >&5
37966 if test "$USE_DOS" = 0 ; then
37967 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37968 echo "$as_me: WARNING: no timezone variable" >&2;}
37973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37985 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37986 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37988 if test "x$wx_cv_var_timezone" != x
; then
37989 cat >>confdefs.h
<<_ACEOF
37990 #define WX_TIMEZONE $wx_cv_var_timezone
37996 for ac_func
in localtime
37998 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37999 echo "$as_me:$LINENO: checking for $ac_func" >&5
38000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38001 if eval "test \"\${$as_ac_var+set}\" = set"; then
38002 echo $ECHO_N "(cached) $ECHO_C" >&6
38004 cat >conftest.
$ac_ext <<_ACEOF
38007 cat confdefs.h
>>conftest.
$ac_ext
38008 cat >>conftest.
$ac_ext <<_ACEOF
38009 /* end confdefs.h. */
38010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38012 #define $ac_func innocuous_$ac_func
38014 /* System header to define __stub macros and hopefully few prototypes,
38015 which can conflict with char $ac_func (); below.
38016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38017 <limits.h> exists even on freestanding compilers. */
38020 # include <limits.h>
38022 # include <assert.h>
38027 /* Override any gcc2 internal prototype to avoid an error. */
38032 /* We use char because int might match the return type of a gcc2
38033 builtin and then its argument prototype would still apply. */
38035 /* The GNU C library defines this for functions which it implements
38036 to always fail with ENOSYS. Some functions are actually named
38037 something starting with __ and the normal name is an alias. */
38038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38041 char (*f) () = $ac_func;
38050 return f != $ac_func;
38055 rm -f conftest.
$ac_objext conftest
$ac_exeext
38056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38057 (eval $ac_link) 2>conftest.er1
38059 grep -v '^ *+' conftest.er1
>conftest.err
38061 cat conftest.err
>&5
38062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063 (exit $ac_status); } &&
38064 { ac_try
='test -z "$ac_c_werror_flag"
38065 || test ! -s conftest.err'
38066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38067 (eval $ac_try) 2>&5
38069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070 (exit $ac_status); }; } &&
38071 { ac_try
='test -s conftest$ac_exeext'
38072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38073 (eval $ac_try) 2>&5
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); }; }; then
38077 eval "$as_ac_var=yes"
38079 echo "$as_me: failed program was:" >&5
38080 sed 's/^/| /' conftest.
$ac_ext >&5
38082 eval "$as_ac_var=no"
38084 rm -f conftest.err conftest.
$ac_objext \
38085 conftest
$ac_exeext conftest.
$ac_ext
38087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38089 if test `eval echo '${'$as_ac_var'}'` = yes; then
38090 cat >>confdefs.h
<<_ACEOF
38091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38098 if test "$ac_cv_func_localtime" = "yes"; then
38099 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
38100 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
38101 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
38102 echo $ECHO_N "(cached) $ECHO_C" >&6
38105 cat >conftest.
$ac_ext <<_ACEOF
38108 cat confdefs.h
>>conftest.
$ac_ext
38109 cat >>conftest.
$ac_ext <<_ACEOF
38110 /* end confdefs.h. */
38125 rm -f conftest.
$ac_objext
38126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38127 (eval $ac_compile) 2>conftest.er1
38129 grep -v '^ *+' conftest.er1
>conftest.err
38131 cat conftest.err
>&5
38132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38133 (exit $ac_status); } &&
38134 { ac_try
='test -z "$ac_c_werror_flag"
38135 || test ! -s conftest.err'
38136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38137 (eval $ac_try) 2>&5
38139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38140 (exit $ac_status); }; } &&
38141 { ac_try
='test -s conftest.$ac_objext'
38142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38143 (eval $ac_try) 2>&5
38145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38146 (exit $ac_status); }; }; then
38148 wx_cv_struct_tm_has_gmtoff
=yes
38151 echo "$as_me: failed program was:" >&5
38152 sed 's/^/| /' conftest.
$ac_ext >&5
38154 wx_cv_struct_tm_has_gmtoff
=no
38157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38160 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
38161 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
38164 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
38165 cat >>confdefs.h
<<\_ACEOF
38166 #define WX_GMTOFF_IN_TM 1
38173 for ac_func
in gettimeofday ftime
38175 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38176 echo "$as_me:$LINENO: checking for $ac_func" >&5
38177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38178 if eval "test \"\${$as_ac_var+set}\" = set"; then
38179 echo $ECHO_N "(cached) $ECHO_C" >&6
38181 cat >conftest.
$ac_ext <<_ACEOF
38184 cat confdefs.h
>>conftest.
$ac_ext
38185 cat >>conftest.
$ac_ext <<_ACEOF
38186 /* end confdefs.h. */
38187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38189 #define $ac_func innocuous_$ac_func
38191 /* System header to define __stub macros and hopefully few prototypes,
38192 which can conflict with char $ac_func (); below.
38193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38194 <limits.h> exists even on freestanding compilers. */
38197 # include <limits.h>
38199 # include <assert.h>
38204 /* Override any gcc2 internal prototype to avoid an error. */
38209 /* We use char because int might match the return type of a gcc2
38210 builtin and then its argument prototype would still apply. */
38212 /* The GNU C library defines this for functions which it implements
38213 to always fail with ENOSYS. Some functions are actually named
38214 something starting with __ and the normal name is an alias. */
38215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38218 char (*f) () = $ac_func;
38227 return f != $ac_func;
38232 rm -f conftest.
$ac_objext conftest
$ac_exeext
38233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38234 (eval $ac_link) 2>conftest.er1
38236 grep -v '^ *+' conftest.er1
>conftest.err
38238 cat conftest.err
>&5
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); } &&
38241 { ac_try
='test -z "$ac_c_werror_flag"
38242 || test ! -s conftest.err'
38243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38244 (eval $ac_try) 2>&5
38246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38247 (exit $ac_status); }; } &&
38248 { ac_try
='test -s conftest$ac_exeext'
38249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38250 (eval $ac_try) 2>&5
38252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38253 (exit $ac_status); }; }; then
38254 eval "$as_ac_var=yes"
38256 echo "$as_me: failed program was:" >&5
38257 sed 's/^/| /' conftest.
$ac_ext >&5
38259 eval "$as_ac_var=no"
38261 rm -f conftest.err conftest.
$ac_objext \
38262 conftest
$ac_exeext conftest.
$ac_ext
38264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38266 if test `eval echo '${'$as_ac_var'}'` = yes; then
38267 cat >>confdefs.h
<<_ACEOF
38268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38275 if test "$ac_cv_func_gettimeofday" = "yes"; then
38276 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
38277 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
38278 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
38279 echo $ECHO_N "(cached) $ECHO_C" >&6
38285 ac_cpp
='$CXXCPP $CPPFLAGS'
38286 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38287 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38288 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38291 cat >conftest.
$ac_ext <<_ACEOF
38294 cat confdefs.h
>>conftest.
$ac_ext
38295 cat >>conftest.
$ac_ext <<_ACEOF
38296 /* end confdefs.h. */
38298 #include <sys/time.h>
38299 #include <unistd.h>
38306 gettimeofday(&tv, NULL);
38312 rm -f conftest.
$ac_objext
38313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38314 (eval $ac_compile) 2>conftest.er1
38316 grep -v '^ *+' conftest.er1
>conftest.err
38318 cat conftest.err
>&5
38319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38320 (exit $ac_status); } &&
38321 { ac_try
='test -z "$ac_cxx_werror_flag"
38322 || test ! -s conftest.err'
38323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38324 (eval $ac_try) 2>&5
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); }; } &&
38328 { ac_try
='test -s conftest.$ac_objext'
38329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38330 (eval $ac_try) 2>&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); }; }; then
38334 wx_cv_func_gettimeofday_has_2_args
=yes
38336 echo "$as_me: failed program was:" >&5
38337 sed 's/^/| /' conftest.
$ac_ext >&5
38339 cat >conftest.
$ac_ext <<_ACEOF
38342 cat confdefs.h
>>conftest.
$ac_ext
38343 cat >>conftest.
$ac_ext <<_ACEOF
38344 /* end confdefs.h. */
38346 #include <sys/time.h>
38347 #include <unistd.h>
38360 rm -f conftest.
$ac_objext
38361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38362 (eval $ac_compile) 2>conftest.er1
38364 grep -v '^ *+' conftest.er1
>conftest.err
38366 cat conftest.err
>&5
38367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38368 (exit $ac_status); } &&
38369 { ac_try
='test -z "$ac_cxx_werror_flag"
38370 || test ! -s conftest.err'
38371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38372 (eval $ac_try) 2>&5
38374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375 (exit $ac_status); }; } &&
38376 { ac_try
='test -s conftest.$ac_objext'
38377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38378 (eval $ac_try) 2>&5
38380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38381 (exit $ac_status); }; }; then
38382 wx_cv_func_gettimeofday_has_2_args
=no
38384 echo "$as_me: failed program was:" >&5
38385 sed 's/^/| /' conftest.
$ac_ext >&5
38388 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38389 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38390 wx_cv_func_gettimeofday_has_2_args
=unknown
38394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38399 ac_cpp
='$CPP $CPPFLAGS'
38400 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38401 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38402 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38406 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38407 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38409 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38410 cat >>confdefs.h
<<\_ACEOF
38411 #define WX_GETTIMEOFDAY_NO_TZ 1
38417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
38421 if test "$wxUSE_SOCKETS" = "yes"; then
38422 if test "$wxUSE_MGL" = "1"; then
38423 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38424 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38429 if test "$wxUSE_SOCKETS" = "yes"; then
38430 if test "$TOOLKIT" != "MSW"; then
38431 echo "$as_me:$LINENO: checking for socket" >&5
38432 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38433 if test "${ac_cv_func_socket+set}" = set; then
38434 echo $ECHO_N "(cached) $ECHO_C" >&6
38436 cat >conftest.
$ac_ext <<_ACEOF
38439 cat confdefs.h
>>conftest.
$ac_ext
38440 cat >>conftest.
$ac_ext <<_ACEOF
38441 /* end confdefs.h. */
38442 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38444 #define socket innocuous_socket
38446 /* System header to define __stub macros and hopefully few prototypes,
38447 which can conflict with char socket (); below.
38448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38449 <limits.h> exists even on freestanding compilers. */
38452 # include <limits.h>
38454 # include <assert.h>
38459 /* Override any gcc2 internal prototype to avoid an error. */
38464 /* We use char because int might match the return type of a gcc2
38465 builtin and then its argument prototype would still apply. */
38467 /* The GNU C library defines this for functions which it implements
38468 to always fail with ENOSYS. Some functions are actually named
38469 something starting with __ and the normal name is an alias. */
38470 #if defined (__stub_socket) || defined (__stub___socket)
38473 char (*f) () = socket;
38482 return f != socket;
38487 rm -f conftest.
$ac_objext conftest
$ac_exeext
38488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38489 (eval $ac_link) 2>conftest.er1
38491 grep -v '^ *+' conftest.er1
>conftest.err
38493 cat conftest.err
>&5
38494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38495 (exit $ac_status); } &&
38496 { ac_try
='test -z "$ac_c_werror_flag"
38497 || test ! -s conftest.err'
38498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38499 (eval $ac_try) 2>&5
38501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38502 (exit $ac_status); }; } &&
38503 { ac_try
='test -s conftest$ac_exeext'
38504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38505 (eval $ac_try) 2>&5
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); }; }; then
38509 ac_cv_func_socket
=yes
38511 echo "$as_me: failed program was:" >&5
38512 sed 's/^/| /' conftest.
$ac_ext >&5
38514 ac_cv_func_socket
=no
38516 rm -f conftest.err conftest.
$ac_objext \
38517 conftest
$ac_exeext conftest.
$ac_ext
38519 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38520 echo "${ECHO_T}$ac_cv_func_socket" >&6
38521 if test $ac_cv_func_socket = yes; then
38525 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38526 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38527 if test "${ac_cv_lib_socket_socket+set}" = set; then
38528 echo $ECHO_N "(cached) $ECHO_C" >&6
38530 ac_check_lib_save_LIBS
=$LIBS
38531 LIBS
="-lsocket $LIBS"
38532 cat >conftest.
$ac_ext <<_ACEOF
38535 cat confdefs.h
>>conftest.
$ac_ext
38536 cat >>conftest.
$ac_ext <<_ACEOF
38537 /* end confdefs.h. */
38539 /* Override any gcc2 internal prototype to avoid an error. */
38543 /* We use char because int might match the return type of a gcc2
38544 builtin and then its argument prototype would still apply. */
38554 rm -f conftest.
$ac_objext conftest
$ac_exeext
38555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38556 (eval $ac_link) 2>conftest.er1
38558 grep -v '^ *+' conftest.er1
>conftest.err
38560 cat conftest.err
>&5
38561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38562 (exit $ac_status); } &&
38563 { ac_try
='test -z "$ac_c_werror_flag"
38564 || test ! -s conftest.err'
38565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38566 (eval $ac_try) 2>&5
38568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38569 (exit $ac_status); }; } &&
38570 { ac_try
='test -s conftest$ac_exeext'
38571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38572 (eval $ac_try) 2>&5
38574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38575 (exit $ac_status); }; }; then
38576 ac_cv_lib_socket_socket
=yes
38578 echo "$as_me: failed program was:" >&5
38579 sed 's/^/| /' conftest.
$ac_ext >&5
38581 ac_cv_lib_socket_socket
=no
38583 rm -f conftest.err conftest.
$ac_objext \
38584 conftest
$ac_exeext conftest.
$ac_ext
38585 LIBS
=$ac_check_lib_save_LIBS
38587 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38588 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38589 if test $ac_cv_lib_socket_socket = yes; then
38590 if test "$INET_LINK" != " -lsocket"; then
38591 INET_LINK
="$INET_LINK -lsocket"
38595 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38596 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38609 if test "$wxUSE_SOCKETS" = "yes" ; then
38610 if test "$TOOLKIT" != "MSW"; then
38612 ac_cpp
='$CXXCPP $CPPFLAGS'
38613 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38614 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38615 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38617 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38618 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38619 if test "${wx_cv_type_getsockname3+set}" = set; then
38620 echo $ECHO_N "(cached) $ECHO_C" >&6
38623 cat >conftest.
$ac_ext <<_ACEOF
38626 cat confdefs.h
>>conftest.
$ac_ext
38627 cat >>conftest.
$ac_ext <<_ACEOF
38628 /* end confdefs.h. */
38630 #include <sys/types.h>
38631 #include <sys/socket.h>
38638 getsockname(0, 0, &len);
38644 rm -f conftest.
$ac_objext
38645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38646 (eval $ac_compile) 2>conftest.er1
38648 grep -v '^ *+' conftest.er1
>conftest.err
38650 cat conftest.err
>&5
38651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38652 (exit $ac_status); } &&
38653 { ac_try
='test -z "$ac_cxx_werror_flag"
38654 || test ! -s conftest.err'
38655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38656 (eval $ac_try) 2>&5
38658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659 (exit $ac_status); }; } &&
38660 { ac_try
='test -s conftest.$ac_objext'
38661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38662 (eval $ac_try) 2>&5
38664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38665 (exit $ac_status); }; }; then
38666 wx_cv_type_getsockname3
=socklen_t
38668 echo "$as_me: failed program was:" >&5
38669 sed 's/^/| /' conftest.
$ac_ext >&5
38672 CFLAGS_OLD
="$CFLAGS"
38673 if test "$GCC" = yes ; then
38674 CFLAGS
="$CFLAGS -Werror"
38677 cat >conftest.
$ac_ext <<_ACEOF
38680 cat confdefs.h
>>conftest.
$ac_ext
38681 cat >>conftest.
$ac_ext <<_ACEOF
38682 /* end confdefs.h. */
38684 #include <sys/types.h>
38685 #include <sys/socket.h>
38692 getsockname(0, 0, &len);
38698 rm -f conftest.
$ac_objext
38699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38700 (eval $ac_compile) 2>conftest.er1
38702 grep -v '^ *+' conftest.er1
>conftest.err
38704 cat conftest.err
>&5
38705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38706 (exit $ac_status); } &&
38707 { ac_try
='test -z "$ac_cxx_werror_flag"
38708 || test ! -s conftest.err'
38709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38710 (eval $ac_try) 2>&5
38712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38713 (exit $ac_status); }; } &&
38714 { ac_try
='test -s conftest.$ac_objext'
38715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38716 (eval $ac_try) 2>&5
38718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719 (exit $ac_status); }; }; then
38720 wx_cv_type_getsockname3
=size_t
38722 echo "$as_me: failed program was:" >&5
38723 sed 's/^/| /' conftest.
$ac_ext >&5
38725 cat >conftest.
$ac_ext <<_ACEOF
38728 cat confdefs.h
>>conftest.
$ac_ext
38729 cat >>conftest.
$ac_ext <<_ACEOF
38730 /* end confdefs.h. */
38732 #include <sys/types.h>
38733 #include <sys/socket.h>
38740 getsockname(0, 0, &len);
38746 rm -f conftest.
$ac_objext
38747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38748 (eval $ac_compile) 2>conftest.er1
38750 grep -v '^ *+' conftest.er1
>conftest.err
38752 cat conftest.err
>&5
38753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38754 (exit $ac_status); } &&
38755 { ac_try
='test -z "$ac_cxx_werror_flag"
38756 || test ! -s conftest.err'
38757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38758 (eval $ac_try) 2>&5
38760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761 (exit $ac_status); }; } &&
38762 { ac_try
='test -s conftest.$ac_objext'
38763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38764 (eval $ac_try) 2>&5
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); }; }; then
38768 wx_cv_type_getsockname3
=int
38770 echo "$as_me: failed program was:" >&5
38771 sed 's/^/| /' conftest.
$ac_ext >&5
38773 wx_cv_type_getsockname3
=unknown
38776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38781 CFLAGS
="$CFLAGS_OLD"
38785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38788 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38789 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38791 if test "$wx_cv_type_getsockname3" = "unknown"; then
38793 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38794 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38796 cat >>confdefs.h
<<_ACEOF
38797 #define SOCKLEN_T $wx_cv_type_getsockname3
38801 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38802 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38803 if test "${wx_cv_type_getsockopt5+set}" = set; then
38804 echo $ECHO_N "(cached) $ECHO_C" >&6
38807 cat >conftest.
$ac_ext <<_ACEOF
38810 cat confdefs.h
>>conftest.
$ac_ext
38811 cat >>conftest.
$ac_ext <<_ACEOF
38812 /* end confdefs.h. */
38814 #include <sys/types.h>
38815 #include <sys/socket.h>
38822 getsockopt(0, 0, 0, 0, &len);
38828 rm -f conftest.
$ac_objext
38829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38830 (eval $ac_compile) 2>conftest.er1
38832 grep -v '^ *+' conftest.er1
>conftest.err
38834 cat conftest.err
>&5
38835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38836 (exit $ac_status); } &&
38837 { ac_try
='test -z "$ac_cxx_werror_flag"
38838 || test ! -s conftest.err'
38839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38840 (eval $ac_try) 2>&5
38842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38843 (exit $ac_status); }; } &&
38844 { ac_try
='test -s conftest.$ac_objext'
38845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38846 (eval $ac_try) 2>&5
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); }; }; then
38850 wx_cv_type_getsockopt5
=socklen_t
38852 echo "$as_me: failed program was:" >&5
38853 sed 's/^/| /' conftest.
$ac_ext >&5
38856 CFLAGS_OLD
="$CFLAGS"
38857 if test "$GCC" = yes ; then
38858 CFLAGS
="$CFLAGS -Werror"
38861 cat >conftest.
$ac_ext <<_ACEOF
38864 cat confdefs.h
>>conftest.
$ac_ext
38865 cat >>conftest.
$ac_ext <<_ACEOF
38866 /* end confdefs.h. */
38868 #include <sys/types.h>
38869 #include <sys/socket.h>
38876 getsockopt(0, 0, 0, 0, &len);
38882 rm -f conftest.
$ac_objext
38883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38884 (eval $ac_compile) 2>conftest.er1
38886 grep -v '^ *+' conftest.er1
>conftest.err
38888 cat conftest.err
>&5
38889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38890 (exit $ac_status); } &&
38891 { ac_try
='test -z "$ac_cxx_werror_flag"
38892 || test ! -s conftest.err'
38893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38894 (eval $ac_try) 2>&5
38896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38897 (exit $ac_status); }; } &&
38898 { ac_try
='test -s conftest.$ac_objext'
38899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38900 (eval $ac_try) 2>&5
38902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38903 (exit $ac_status); }; }; then
38904 wx_cv_type_getsockopt5
=size_t
38906 echo "$as_me: failed program was:" >&5
38907 sed 's/^/| /' conftest.
$ac_ext >&5
38909 cat >conftest.
$ac_ext <<_ACEOF
38912 cat confdefs.h
>>conftest.
$ac_ext
38913 cat >>conftest.
$ac_ext <<_ACEOF
38914 /* end confdefs.h. */
38916 #include <sys/types.h>
38917 #include <sys/socket.h>
38924 getsockopt(0, 0, 0, 0, &len);
38930 rm -f conftest.
$ac_objext
38931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38932 (eval $ac_compile) 2>conftest.er1
38934 grep -v '^ *+' conftest.er1
>conftest.err
38936 cat conftest.err
>&5
38937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38938 (exit $ac_status); } &&
38939 { ac_try
='test -z "$ac_cxx_werror_flag"
38940 || test ! -s conftest.err'
38941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38942 (eval $ac_try) 2>&5
38944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38945 (exit $ac_status); }; } &&
38946 { ac_try
='test -s conftest.$ac_objext'
38947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38948 (eval $ac_try) 2>&5
38950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38951 (exit $ac_status); }; }; then
38952 wx_cv_type_getsockopt5
=int
38954 echo "$as_me: failed program was:" >&5
38955 sed 's/^/| /' conftest.
$ac_ext >&5
38957 wx_cv_type_getsockopt5
=unknown
38960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38965 CFLAGS
="$CFLAGS_OLD"
38969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38972 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38973 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38975 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38977 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38978 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38980 cat >>confdefs.h
<<_ACEOF
38981 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38986 ac_cpp
='$CPP $CPPFLAGS'
38987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38994 if test "$wxUSE_SOCKETS" = "yes" ; then
38995 cat >>confdefs.h
<<\_ACEOF
38996 #define wxUSE_SOCKETS 1
38999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
39002 if test "$wxUSE_PROTOCOL" = "yes"; then
39003 if test "$wxUSE_SOCKETS" != "yes"; then
39004 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
39005 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
39010 if test "$wxUSE_PROTOCOL" = "yes"; then
39011 cat >>confdefs.h
<<\_ACEOF
39012 #define wxUSE_PROTOCOL 1
39016 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
39017 cat >>confdefs.h
<<\_ACEOF
39018 #define wxUSE_PROTOCOL_HTTP 1
39022 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
39023 cat >>confdefs.h
<<\_ACEOF
39024 #define wxUSE_PROTOCOL_FTP 1
39028 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
39029 cat >>confdefs.h
<<\_ACEOF
39030 #define wxUSE_PROTOCOL_FILE 1
39035 if test "$wxUSE_FS_INET" = "yes"; then
39036 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
39037 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
39042 if test "$wxUSE_URL" = "yes"; then
39043 if test "$wxUSE_PROTOCOL" != "yes"; then
39044 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
39045 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
39048 if test "$wxUSE_URL" = "yes"; then
39049 cat >>confdefs.h
<<\_ACEOF
39050 #define wxUSE_URL 1
39056 if test "$wxUSE_FS_INET" = "yes"; then
39057 cat >>confdefs.h
<<\_ACEOF
39058 #define wxUSE_FS_INET 1
39064 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
39067 if test "$TOOLKIT" = "MSW"; then
39070 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
39071 if test "$USE_DARWIN" = 1; then
39072 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
39073 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
39075 ac_cpp
='$CXXCPP $CPPFLAGS'
39076 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39077 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39078 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39080 cat >conftest.
$ac_ext <<_ACEOF
39083 cat confdefs.h
>>conftest.
$ac_ext
39084 cat >>conftest.
$ac_ext <<_ACEOF
39085 /* end confdefs.h. */
39086 #include <IOKit/hid/IOHIDLib.h>
39090 IOHIDQueueInterface *qi = NULL;
39091 IOHIDCallbackFunction cb = NULL;
39092 qi->setEventCallout(NULL, cb, NULL, NULL);
39097 rm -f conftest.
$ac_objext
39098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39099 (eval $ac_compile) 2>conftest.er1
39101 grep -v '^ *+' conftest.er1
>conftest.err
39103 cat conftest.err
>&5
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); } &&
39106 { ac_try
='test -z "$ac_cxx_werror_flag"
39107 || test ! -s conftest.err'
39108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39109 (eval $ac_try) 2>&5
39111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39112 (exit $ac_status); }; } &&
39113 { ac_try
='test -s conftest.$ac_objext'
39114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39115 (eval $ac_try) 2>&5
39117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39118 (exit $ac_status); }; }; then
39122 echo "$as_me: failed program was:" >&5
39123 sed 's/^/| /' conftest.
$ac_ext >&5
39126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39128 ac_cpp
='$CPP $CPPFLAGS'
39129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39133 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
39134 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
39139 for ac_header
in linux
/joystick.h
39141 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39143 echo "$as_me:$LINENO: checking for $ac_header" >&5
39144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39146 echo $ECHO_N "(cached) $ECHO_C" >&6
39148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39151 # Is the header compilable?
39152 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39153 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
39161 #include <$ac_header>
39163 rm -f conftest.
$ac_objext
39164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39165 (eval $ac_compile) 2>conftest.er1
39167 grep -v '^ *+' conftest.er1
>conftest.err
39169 cat conftest.err
>&5
39170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39171 (exit $ac_status); } &&
39172 { ac_try
='test -z "$ac_c_werror_flag"
39173 || test ! -s conftest.err'
39174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39175 (eval $ac_try) 2>&5
39177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39178 (exit $ac_status); }; } &&
39179 { ac_try
='test -s conftest.$ac_objext'
39180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39181 (eval $ac_try) 2>&5
39183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39184 (exit $ac_status); }; }; then
39185 ac_header_compiler
=yes
39187 echo "$as_me: failed program was:" >&5
39188 sed 's/^/| /' conftest.
$ac_ext >&5
39190 ac_header_compiler
=no
39192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39193 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39194 echo "${ECHO_T}$ac_header_compiler" >&6
39196 # Is the header present?
39197 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39198 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39199 cat >conftest.
$ac_ext <<_ACEOF
39202 cat confdefs.h
>>conftest.
$ac_ext
39203 cat >>conftest.
$ac_ext <<_ACEOF
39204 /* end confdefs.h. */
39205 #include <$ac_header>
39207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39208 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39210 grep -v '^ *+' conftest.er1
>conftest.err
39212 cat conftest.err
>&5
39213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39214 (exit $ac_status); } >/dev
/null
; then
39215 if test -s conftest.err
; then
39216 ac_cpp_err
=$ac_c_preproc_warn_flag
39217 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39224 if test -z "$ac_cpp_err"; then
39225 ac_header_preproc
=yes
39227 echo "$as_me: failed program was:" >&5
39228 sed 's/^/| /' conftest.
$ac_ext >&5
39230 ac_header_preproc
=no
39232 rm -f conftest.err conftest.
$ac_ext
39233 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39234 echo "${ECHO_T}$ac_header_preproc" >&6
39236 # So? What about this header?
39237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39239 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39240 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39242 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39243 ac_header_preproc
=yes
39246 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39247 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39248 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39249 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39250 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39251 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39252 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39253 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39256 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39257 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39260 ## ----------------------------------------- ##
39261 ## Report this to wx-dev@lists.wxwidgets.org ##
39262 ## ----------------------------------------- ##
39265 sed "s/^/$as_me: WARNING: /" >&2
39268 echo "$as_me:$LINENO: checking for $ac_header" >&5
39269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39271 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 eval "$as_ac_Header=\$ac_header_preproc"
39275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39280 cat >>confdefs.h
<<_ACEOF
39281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39290 if test "$wxUSE_JOYSTICK" = "yes"; then
39291 cat >>confdefs.h
<<\_ACEOF
39292 #define wxUSE_JOYSTICK 1
39295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
39297 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
39298 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
39304 if test "$wxUSE_FONTMAP" = "yes" ; then
39305 cat >>confdefs.h
<<\_ACEOF
39306 #define wxUSE_FONTMAP 1
39311 if test "$wxUSE_UNICODE" = "yes" ; then
39312 cat >>confdefs.h
<<\_ACEOF
39313 #define wxUSE_UNICODE 1
39317 if test "$USE_WIN32" != 1; then
39318 wxUSE_UNICODE_MSLU
=no
39321 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
39322 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
39323 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
39324 if test "${ac_cv_lib_unicows_main+set}" = set; then
39325 echo $ECHO_N "(cached) $ECHO_C" >&6
39327 ac_check_lib_save_LIBS
=$LIBS
39328 LIBS
="-lunicows $LIBS"
39329 cat >conftest.
$ac_ext <<_ACEOF
39332 cat confdefs.h
>>conftest.
$ac_ext
39333 cat >>conftest.
$ac_ext <<_ACEOF
39334 /* end confdefs.h. */
39345 rm -f conftest.
$ac_objext conftest
$ac_exeext
39346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39347 (eval $ac_link) 2>conftest.er1
39349 grep -v '^ *+' conftest.er1
>conftest.err
39351 cat conftest.err
>&5
39352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39353 (exit $ac_status); } &&
39354 { ac_try
='test -z "$ac_c_werror_flag"
39355 || test ! -s conftest.err'
39356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39357 (eval $ac_try) 2>&5
39359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39360 (exit $ac_status); }; } &&
39361 { ac_try
='test -s conftest$ac_exeext'
39362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39363 (eval $ac_try) 2>&5
39365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366 (exit $ac_status); }; }; then
39367 ac_cv_lib_unicows_main
=yes
39369 echo "$as_me: failed program was:" >&5
39370 sed 's/^/| /' conftest.
$ac_ext >&5
39372 ac_cv_lib_unicows_main
=no
39374 rm -f conftest.err conftest.
$ac_objext \
39375 conftest
$ac_exeext conftest.
$ac_ext
39376 LIBS
=$ac_check_lib_save_LIBS
39378 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39379 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39380 if test $ac_cv_lib_unicows_main = yes; then
39382 cat >>confdefs.h
<<\_ACEOF
39383 #define wxUSE_UNICODE_MSLU 1
39389 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39390 Applications will only run on Windows NT/2000/XP!" >&5
39391 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39392 Applications will only run on Windows NT/2000/XP!" >&2;}
39393 wxUSE_UNICODE_MSLU
=no
39400 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39401 cat >>confdefs.h
<<\_ACEOF
39402 #define wxUSE_EXPERIMENTAL_PRINTF 1
39408 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39409 cat >>confdefs.h
<<\_ACEOF
39410 #define wxUSE_POSTSCRIPT 1
39415 cat >>confdefs.h
<<\_ACEOF
39416 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39420 cat >>confdefs.h
<<\_ACEOF
39421 #define wxUSE_NORMALIZED_PS_FONTS 1
39426 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39427 cat >>confdefs.h
<<\_ACEOF
39428 #define wxUSE_CONSTRAINTS 1
39431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
39434 if test "$wxUSE_MDI" = "yes"; then
39435 cat >>confdefs.h
<<\_ACEOF
39436 #define wxUSE_MDI 1
39440 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39441 cat >>confdefs.h
<<\_ACEOF
39442 #define wxUSE_MDI_ARCHITECTURE 1
39445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
39449 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39450 cat >>confdefs.h
<<\_ACEOF
39451 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
39455 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
39460 if test "$wxUSE_HELP" = "yes"; then
39461 cat >>confdefs.h
<<\_ACEOF
39462 #define wxUSE_HELP 1
39465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
39467 if test "$wxUSE_MSW" = 1; then
39468 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39469 cat >>confdefs.h
<<\_ACEOF
39470 #define wxUSE_MS_HTML_HELP 1
39476 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39477 if test "$wxUSE_HTML" = "yes"; then
39478 cat >>confdefs.h
<<\_ACEOF
39479 #define wxUSE_WXHTML_HELP 1
39483 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39484 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39485 wxUSE_WXHTML_HELP
=no
39490 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39491 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39492 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39493 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39495 cat >>confdefs.h
<<\_ACEOF
39496 #define wxUSE_PRINTING_ARCHITECTURE 1
39500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
39503 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39504 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39505 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39506 { (exit 1); exit 1; }; }
39510 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
39511 -o "$wxUSE_CLIPBOARD" = "yes" \
39512 -o "$wxUSE_OLE" = "yes" \
39513 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
39515 for ac_header
in ole2.h
39517 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39519 echo "$as_me:$LINENO: checking for $ac_header" >&5
39520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39522 echo $ECHO_N "(cached) $ECHO_C" >&6
39524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39527 # Is the header compilable?
39528 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39530 cat >conftest.
$ac_ext <<_ACEOF
39533 cat confdefs.h
>>conftest.
$ac_ext
39534 cat >>conftest.
$ac_ext <<_ACEOF
39535 /* end confdefs.h. */
39536 $ac_includes_default
39537 #include <$ac_header>
39539 rm -f conftest.
$ac_objext
39540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39541 (eval $ac_compile) 2>conftest.er1
39543 grep -v '^ *+' conftest.er1
>conftest.err
39545 cat conftest.err
>&5
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); } &&
39548 { ac_try
='test -z "$ac_c_werror_flag"
39549 || test ! -s conftest.err'
39550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39551 (eval $ac_try) 2>&5
39553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39554 (exit $ac_status); }; } &&
39555 { ac_try
='test -s conftest.$ac_objext'
39556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39557 (eval $ac_try) 2>&5
39559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39560 (exit $ac_status); }; }; then
39561 ac_header_compiler
=yes
39563 echo "$as_me: failed program was:" >&5
39564 sed 's/^/| /' conftest.
$ac_ext >&5
39566 ac_header_compiler
=no
39568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39570 echo "${ECHO_T}$ac_header_compiler" >&6
39572 # Is the header present?
39573 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39574 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39575 cat >conftest.
$ac_ext <<_ACEOF
39578 cat confdefs.h
>>conftest.
$ac_ext
39579 cat >>conftest.
$ac_ext <<_ACEOF
39580 /* end confdefs.h. */
39581 #include <$ac_header>
39583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39584 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39586 grep -v '^ *+' conftest.er1
>conftest.err
39588 cat conftest.err
>&5
39589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39590 (exit $ac_status); } >/dev
/null
; then
39591 if test -s conftest.err
; then
39592 ac_cpp_err
=$ac_c_preproc_warn_flag
39593 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39600 if test -z "$ac_cpp_err"; then
39601 ac_header_preproc
=yes
39603 echo "$as_me: failed program was:" >&5
39604 sed 's/^/| /' conftest.
$ac_ext >&5
39606 ac_header_preproc
=no
39608 rm -f conftest.err conftest.
$ac_ext
39609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39610 echo "${ECHO_T}$ac_header_preproc" >&6
39612 # So? What about this header?
39613 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39615 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39616 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39618 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39619 ac_header_preproc
=yes
39622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39626 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39627 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39628 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39629 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39632 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39633 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39636 ## ----------------------------------------- ##
39637 ## Report this to wx-dev@lists.wxwidgets.org ##
39638 ## ----------------------------------------- ##
39641 sed "s/^/$as_me: WARNING: /" >&2
39644 echo "$as_me:$LINENO: checking for $ac_header" >&5
39645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39647 echo $ECHO_N "(cached) $ECHO_C" >&6
39649 eval "$as_ac_Header=\$ac_header_preproc"
39651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39656 cat >>confdefs.h
<<_ACEOF
39657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39665 if test "$ac_cv_header_ole2_h" = "yes" ; then
39666 if test "$GCC" = yes ; then
39670 ac_cpp
='$CXXCPP $CPPFLAGS'
39671 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39672 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39673 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39676 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39677 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39678 cat >conftest.
$ac_ext <<_ACEOF
39681 cat confdefs.h
>>conftest.
$ac_ext
39682 cat >>conftest.
$ac_ext <<_ACEOF
39683 /* end confdefs.h. */
39684 #include <windows.h>
39694 rm -f conftest.
$ac_objext
39695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39696 (eval $ac_compile) 2>conftest.er1
39698 grep -v '^ *+' conftest.er1
>conftest.err
39700 cat conftest.err
>&5
39701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702 (exit $ac_status); } &&
39703 { ac_try
='test -z "$ac_cxx_werror_flag"
39704 || test ! -s conftest.err'
39705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39706 (eval $ac_try) 2>&5
39708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39709 (exit $ac_status); }; } &&
39710 { ac_try
='test -s conftest.$ac_objext'
39711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39712 (eval $ac_try) 2>&5
39714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39715 (exit $ac_status); }; }; then
39716 echo "$as_me:$LINENO: result: no" >&5
39717 echo "${ECHO_T}no" >&6
39719 echo "$as_me: failed program was:" >&5
39720 sed 's/^/| /' conftest.
$ac_ext >&5
39722 echo "$as_me:$LINENO: result: yes" >&5
39723 echo "${ECHO_T}yes" >&6
39724 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39728 ac_cpp
='$CPP $CPPFLAGS'
39729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39733 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39734 if test "$wxUSE_OLE" = "yes" ; then
39735 cat >>confdefs.h
<<\_ACEOF
39736 #define wxUSE_OLE 1
39739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
39743 if test "$wxUSE_DATAOBJ" = "yes" ; then
39744 cat >>confdefs.h
<<\_ACEOF
39745 #define wxUSE_DATAOBJ 1
39750 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39751 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39754 wxUSE_DRAG_AND_DROP
=no
39759 if test "$wxUSE_METAFILE" = "yes"; then
39760 cat >>confdefs.h
<<\_ACEOF
39761 #define wxUSE_METAFILE 1
39765 cat >>confdefs.h
<<\_ACEOF
39766 #define wxUSE_ENH_METAFILE 1
39772 if test "$wxUSE_IPC" = "yes"; then
39773 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39774 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39775 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39779 if test "$wxUSE_IPC" = "yes"; then
39780 cat >>confdefs.h
<<\_ACEOF
39781 #define wxUSE_IPC 1
39784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
39788 if test "$wxUSE_DATAOBJ" = "yes"; then
39789 cat >>confdefs.h
<<\_ACEOF
39790 #define wxUSE_DATAOBJ 1
39794 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
39795 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
39797 wxUSE_DRAG_AND_DROP
=no
39800 if test "$wxUSE_CLIPBOARD" = "yes"; then
39801 if test "$wxUSE_MGL" = 1; then
39802 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39803 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39807 if test "$wxUSE_CLIPBOARD" = "yes"; then
39808 cat >>confdefs.h
<<\_ACEOF
39809 #define wxUSE_CLIPBOARD 1
39815 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39816 if test "$wxUSE_GTK" = 1; then
39817 if test "$WXGTK12" != 1; then
39818 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39819 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39820 wxUSE_DRAG_AND_DROP
=no
39824 if test "$wxUSE_MOTIF" = 1; then
39825 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39826 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39827 wxUSE_DRAG_AND_DROP
=no
39830 if test "$wxUSE_X11" = 1; then
39831 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39832 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39833 wxUSE_DRAG_AND_DROP
=no
39836 if test "$wxUSE_MGL" = 1; then
39837 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39838 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39839 wxUSE_DRAG_AND_DROP
=no
39842 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39843 cat >>confdefs.h
<<\_ACEOF
39844 #define wxUSE_DRAG_AND_DROP 1
39851 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
39855 if test "$wxUSE_SPLINES" = "yes" ; then
39856 cat >>confdefs.h
<<\_ACEOF
39857 #define wxUSE_SPLINES 1
39862 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39863 cat >>confdefs.h
<<\_ACEOF
39864 #define wxUSE_MOUSEWHEEL 1
39871 if test "$wxUSE_CONTROLS" = "yes"; then
39875 if test "$wxUSE_ACCEL" = "yes"; then
39876 cat >>confdefs.h
<<\_ACEOF
39877 #define wxUSE_ACCEL 1
39883 if test "$wxUSE_BUTTON" = "yes"; then
39884 cat >>confdefs.h
<<\_ACEOF
39885 #define wxUSE_BUTTON 1
39891 if test "$wxUSE_BMPBUTTON" = "yes"; then
39892 cat >>confdefs.h
<<\_ACEOF
39893 #define wxUSE_BMPBUTTON 1
39899 if test "$wxUSE_CALCTRL" = "yes"; then
39900 cat >>confdefs.h
<<\_ACEOF
39901 #define wxUSE_CALENDARCTRL 1
39905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
39908 if test "$wxUSE_CARET" = "yes"; then
39909 cat >>confdefs.h
<<\_ACEOF
39910 #define wxUSE_CARET 1
39914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
39917 if test "$wxUSE_COMBOBOX" = "yes"; then
39918 cat >>confdefs.h
<<\_ACEOF
39919 #define wxUSE_COMBOBOX 1
39925 if test "$wxUSE_CHOICE" = "yes"; then
39926 cat >>confdefs.h
<<\_ACEOF
39927 #define wxUSE_CHOICE 1
39933 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39934 cat >>confdefs.h
<<\_ACEOF
39935 #define wxUSE_CHOICEBOOK 1
39941 if test "$wxUSE_CHECKBOX" = "yes"; then
39942 cat >>confdefs.h
<<\_ACEOF
39943 #define wxUSE_CHECKBOX 1
39949 if test "$wxUSE_CHECKLST" = "yes"; then
39950 cat >>confdefs.h
<<\_ACEOF
39951 #define wxUSE_CHECKLISTBOX 1
39955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
39958 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39959 cat >>confdefs.h
<<\_ACEOF
39960 #define wxUSE_DATEPICKCTRL 1
39966 if test "$wxUSE_DISPLAY" = "yes"; then
39967 cat >>confdefs.h
<<\_ACEOF
39968 #define wxUSE_DISPLAY 1
39971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
39974 if test "$wxUSE_GAUGE" = "yes"; then
39975 cat >>confdefs.h
<<\_ACEOF
39976 #define wxUSE_GAUGE 1
39982 if test "$wxUSE_GRID" = "yes"; then
39983 cat >>confdefs.h
<<\_ACEOF
39984 #define wxUSE_GRID 1
39988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
39991 if test "$wxUSE_IMAGLIST" = "yes"; then
39992 cat >>confdefs.h
<<\_ACEOF
39993 #define wxUSE_IMAGLIST 1
39998 if test "$wxUSE_LISTBOOK" = "yes"; then
39999 cat >>confdefs.h
<<\_ACEOF
40000 #define wxUSE_LISTBOOK 1
40006 if test "$wxUSE_LISTBOX" = "yes"; then
40007 cat >>confdefs.h
<<\_ACEOF
40008 #define wxUSE_LISTBOX 1
40012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
40015 if test "$wxUSE_LISTCTRL" = "yes"; then
40016 if test "$wxUSE_IMAGLIST" = "yes"; then
40017 cat >>confdefs.h
<<\_ACEOF
40018 #define wxUSE_LISTCTRL 1
40022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
40024 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
40025 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
40029 if test "$wxUSE_NOTEBOOK" = "yes"; then
40030 cat >>confdefs.h
<<\_ACEOF
40031 #define wxUSE_NOTEBOOK 1
40035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
40039 if test "$wxUSE_RADIOBOX" = "yes"; then
40040 cat >>confdefs.h
<<\_ACEOF
40041 #define wxUSE_RADIOBOX 1
40047 if test "$wxUSE_RADIOBTN" = "yes"; then
40048 cat >>confdefs.h
<<\_ACEOF
40049 #define wxUSE_RADIOBTN 1
40055 if test "$wxUSE_SASH" = "yes"; then
40056 cat >>confdefs.h
<<\_ACEOF
40057 #define wxUSE_SASH 1
40060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
40063 if test "$wxUSE_SCROLLBAR" = "yes"; then
40064 cat >>confdefs.h
<<\_ACEOF
40065 #define wxUSE_SCROLLBAR 1
40069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
40072 if test "$wxUSE_SLIDER" = "yes"; then
40073 cat >>confdefs.h
<<\_ACEOF
40074 #define wxUSE_SLIDER 1
40080 if test "$wxUSE_SPINBTN" = "yes"; then
40081 cat >>confdefs.h
<<\_ACEOF
40082 #define wxUSE_SPINBTN 1
40088 if test "$wxUSE_SPINCTRL" = "yes"; then
40089 cat >>confdefs.h
<<\_ACEOF
40090 #define wxUSE_SPINCTRL 1
40096 if test "$wxUSE_SPLITTER" = "yes"; then
40097 cat >>confdefs.h
<<\_ACEOF
40098 #define wxUSE_SPLITTER 1
40101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
40104 if test "$wxUSE_STATBMP" = "yes"; then
40105 cat >>confdefs.h
<<\_ACEOF
40106 #define wxUSE_STATBMP 1
40112 if test "$wxUSE_STATBOX" = "yes"; then
40113 cat >>confdefs.h
<<\_ACEOF
40114 #define wxUSE_STATBOX 1
40120 if test "$wxUSE_STATTEXT" = "yes"; then
40121 cat >>confdefs.h
<<\_ACEOF
40122 #define wxUSE_STATTEXT 1
40128 if test "$wxUSE_STATLINE" = "yes"; then
40129 cat >>confdefs.h
<<\_ACEOF
40130 #define wxUSE_STATLINE 1
40136 if test "$wxUSE_STATUSBAR" = "yes"; then
40137 cat >>confdefs.h
<<\_ACEOF
40138 #define wxUSE_NATIVE_STATUSBAR 1
40141 cat >>confdefs.h
<<\_ACEOF
40142 #define wxUSE_STATUSBAR 1
40147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
40150 if test "$wxUSE_TABDIALOG" = "yes"; then
40151 cat >>confdefs.h
<<\_ACEOF
40152 #define wxUSE_TAB_DIALOG 1
40157 if test "$wxUSE_TEXTCTRL" = "yes"; then
40158 cat >>confdefs.h
<<\_ACEOF
40159 #define wxUSE_TEXTCTRL 1
40163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
40166 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40167 if test "$wxUSE_COCOA" = 1 ; then
40168 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
40169 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
40172 if test "$wxUSE_UNIVERSAL" = "yes"; then
40173 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
40174 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
40178 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40179 cat >>confdefs.h
<<\_ACEOF
40180 #define wxUSE_TOGGLEBTN 1
40187 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
40188 cat >>confdefs.h
<<\_ACEOF
40189 #define wxUSE_TOOLBAR_SIMPLE 1
40192 wxUSE_TOOLBAR
="yes"
40196 if test "$wxUSE_TOOLBAR" = "yes"; then
40197 cat >>confdefs.h
<<\_ACEOF
40198 #define wxUSE_TOOLBAR 1
40203 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
40204 wxUSE_TOOLBAR_NATIVE
="yes"
40207 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
40208 cat >>confdefs.h
<<\_ACEOF
40209 #define wxUSE_TOOLBAR_NATIVE 1
40215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
40218 if test "$wxUSE_TOOLTIPS" = "yes"; then
40219 if test "$wxUSE_MOTIF" = 1; then
40220 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
40221 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
40223 if test "$wxUSE_UNIVERSAL" = "yes"; then
40224 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
40225 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
40227 cat >>confdefs.h
<<\_ACEOF
40228 #define wxUSE_TOOLTIPS 1
40235 if test "$wxUSE_TREECTRL" = "yes"; then
40236 if test "$wxUSE_IMAGLIST" = "yes"; then
40237 cat >>confdefs.h
<<\_ACEOF
40238 #define wxUSE_TREECTRL 1
40242 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
40244 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
40245 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
40249 if test "$wxUSE_POPUPWIN" = "yes"; then
40250 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40251 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
40252 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
40254 if test "$wxUSE_PM" = 1; then
40255 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
40256 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
40258 cat >>confdefs.h
<<\_ACEOF
40259 #define wxUSE_POPUPWIN 1
40262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
40269 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
40270 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40271 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
40272 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
40274 cat >>confdefs.h
<<\_ACEOF
40275 #define wxUSE_DIALUP_MANAGER 1
40278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
40282 if test "$wxUSE_TIPWINDOW" = "yes"; then
40283 if test "$wxUSE_PM" = 1; then
40284 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
40285 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
40287 cat >>confdefs.h
<<\_ACEOF
40288 #define wxUSE_TIPWINDOW 1
40294 if test "$USES_CONTROLS" = 1; then
40295 cat >>confdefs.h
<<\_ACEOF
40296 #define wxUSE_CONTROLS 1
40302 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
40303 cat >>confdefs.h
<<\_ACEOF
40304 #define wxUSE_ACCESSIBILITY 1
40307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
40310 if test "$wxUSE_DRAGIMAGE" = "yes"; then
40311 cat >>confdefs.h
<<\_ACEOF
40312 #define wxUSE_DRAGIMAGE 1
40315 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
40318 if test "$wxUSE_EXCEPTIONS" = "yes"; then
40319 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40320 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
40321 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
40323 cat >>confdefs.h
<<\_ACEOF
40324 #define wxUSE_EXCEPTIONS 1
40327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
40332 if test "$wxUSE_HTML" = "yes"; then
40333 cat >>confdefs.h
<<\_ACEOF
40334 #define wxUSE_HTML 1
40338 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
40339 if test "$wxUSE_MAC" = 1; then
40340 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
40343 if test "$wxUSE_WEBKIT" = "yes"; then
40344 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
40345 old_CPPFLAGS
="$CPPFLAGS"
40346 CPPFLAGS
="$CPPFLAGS -x objective-c++"
40347 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
40348 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
40349 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
40350 echo $ECHO_N "(cached) $ECHO_C" >&6
40352 cat >conftest.
$ac_ext <<_ACEOF
40355 cat confdefs.h
>>conftest.
$ac_ext
40356 cat >>conftest.
$ac_ext <<_ACEOF
40357 /* end confdefs.h. */
40358 #include <Carbon/Carbon.h>
40360 #include <WebKit/HIWebView.h>
40362 rm -f conftest.
$ac_objext
40363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40364 (eval $ac_compile) 2>conftest.er1
40366 grep -v '^ *+' conftest.er1
>conftest.err
40368 cat conftest.err
>&5
40369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40370 (exit $ac_status); } &&
40371 { ac_try
='test -z "$ac_c_werror_flag"
40372 || test ! -s conftest.err'
40373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40374 (eval $ac_try) 2>&5
40376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40377 (exit $ac_status); }; } &&
40378 { ac_try
='test -s conftest.$ac_objext'
40379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40380 (eval $ac_try) 2>&5
40382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40383 (exit $ac_status); }; }; then
40384 ac_cv_header_WebKit_HIWebView_h
=yes
40386 echo "$as_me: failed program was:" >&5
40387 sed 's/^/| /' conftest.
$ac_ext >&5
40389 ac_cv_header_WebKit_HIWebView_h
=no
40391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40393 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40394 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40395 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40397 cat >>confdefs.h
<<\_ACEOF
40398 #define wxUSE_WEBKIT 1
40401 WEBKIT_LINK
="-framework WebKit"
40405 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40406 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40412 CPPFLAGS
="$old_CPPFLAGS"
40413 elif test "$wxUSE_COCOA" = 1; then
40414 cat >>confdefs.h
<<\_ACEOF
40415 #define wxUSE_WEBKIT 1
40424 if test "$wxUSE_XRC" = "yes"; then
40425 if test "$wxUSE_XML" != "yes"; then
40426 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40427 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40430 cat >>confdefs.h
<<\_ACEOF
40431 #define wxUSE_XRC 1
40435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
40439 if test "$wxUSE_MENUS" = "yes"; then
40440 cat >>confdefs.h
<<\_ACEOF
40441 #define wxUSE_MENUS 1
40444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
40447 if test "$wxUSE_METAFILE" = "yes"; then
40448 cat >>confdefs.h
<<\_ACEOF
40449 #define wxUSE_METAFILE 1
40454 if test "$wxUSE_MIMETYPE" = "yes"; then
40455 cat >>confdefs.h
<<\_ACEOF
40456 #define wxUSE_MIMETYPE 1
40461 if test "$wxUSE_MINIFRAME" = "yes"; then
40462 cat >>confdefs.h
<<\_ACEOF
40463 #define wxUSE_MINIFRAME 1
40466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
40469 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40470 cat >>confdefs.h
<<\_ACEOF
40471 #define wxUSE_SYSTEM_OPTIONS 1
40474 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40475 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
40481 if test "$wxUSE_VALIDATORS" = "yes"; then
40482 cat >>confdefs.h
<<\_ACEOF
40483 #define wxUSE_VALIDATORS 1
40486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
40489 if test "$wxUSE_PALETTE" = "yes" ; then
40490 cat >>confdefs.h
<<\_ACEOF
40491 #define wxUSE_PALETTE 1
40496 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40497 LIBS
=" -lunicows $LIBS"
40501 if test "$wxUSE_IMAGE" = "yes" ; then
40502 cat >>confdefs.h
<<\_ACEOF
40503 #define wxUSE_IMAGE 1
40507 if test "$wxUSE_GIF" = "yes" ; then
40508 cat >>confdefs.h
<<\_ACEOF
40509 #define wxUSE_GIF 1
40514 if test "$wxUSE_PCX" = "yes" ; then
40515 cat >>confdefs.h
<<\_ACEOF
40516 #define wxUSE_PCX 1
40521 if test "$wxUSE_IFF" = "yes" ; then
40522 cat >>confdefs.h
<<\_ACEOF
40523 #define wxUSE_IFF 1
40528 if test "$wxUSE_PNM" = "yes" ; then
40529 cat >>confdefs.h
<<\_ACEOF
40530 #define wxUSE_PNM 1
40535 if test "$wxUSE_XPM" = "yes" ; then
40536 cat >>confdefs.h
<<\_ACEOF
40537 #define wxUSE_XPM 1
40542 if test "$wxUSE_ICO_CUR" = "yes" ; then
40543 cat >>confdefs.h
<<\_ACEOF
40544 #define wxUSE_ICO_CUR 1
40551 if test "$wxUSE_CHOICEDLG" = "yes"; then
40552 cat >>confdefs.h
<<\_ACEOF
40553 #define wxUSE_CHOICEDLG 1
40558 if test "$wxUSE_COLOURDLG" = "yes"; then
40559 cat >>confdefs.h
<<\_ACEOF
40560 #define wxUSE_COLOURDLG 1
40565 if test "$wxUSE_FILEDLG" = "yes"; then
40566 cat >>confdefs.h
<<\_ACEOF
40567 #define wxUSE_FILEDLG 1
40572 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40573 cat >>confdefs.h
<<\_ACEOF
40574 #define wxUSE_FINDREPLDLG 1
40579 if test "$wxUSE_FONTDLG" = "yes"; then
40580 cat >>confdefs.h
<<\_ACEOF
40581 #define wxUSE_FONTDLG 1
40586 if test "$wxUSE_DIRDLG" = "yes"; then
40587 if test "$wxUSE_TREECTRL" != "yes"; then
40588 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40589 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40591 cat >>confdefs.h
<<\_ACEOF
40592 #define wxUSE_DIRDLG 1
40598 if test "$wxUSE_MSGDLG" = "yes"; then
40599 cat >>confdefs.h
<<\_ACEOF
40600 #define wxUSE_MSGDLG 1
40605 if test "$wxUSE_NUMBERDLG" = "yes"; then
40606 cat >>confdefs.h
<<\_ACEOF
40607 #define wxUSE_NUMBERDLG 1
40612 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40613 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40614 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40615 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40617 cat >>confdefs.h
<<\_ACEOF
40618 #define wxUSE_PROGRESSDLG 1
40624 if test "$wxUSE_SPLASH" = "yes"; then
40625 cat >>confdefs.h
<<\_ACEOF
40626 #define wxUSE_SPLASH 1
40629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
40632 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40633 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40634 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40635 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40637 cat >>confdefs.h
<<\_ACEOF
40638 #define wxUSE_STARTUP_TIPS 1
40644 if test "$wxUSE_TEXTDLG" = "yes"; then
40645 cat >>confdefs.h
<<\_ACEOF
40646 #define wxUSE_TEXTDLG 1
40651 if test "$wxUSE_WIZARDDLG" = "yes"; then
40652 cat >>confdefs.h
<<\_ACEOF
40653 #define wxUSE_WIZARDDLG 1
40656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
40660 if test "$wxUSE_MEDIACTRL" = "yes"; then
40661 if test "$wxUSE_GTK" = 1; then
40662 wxUSE_GSTREAMER
="yes"
40667 if test -z "$PKG_CONFIG"; then
40668 # Extract the first word of "pkg-config", so it can be a program name with args.
40669 set dummy pkg
-config; ac_word
=$2
40670 echo "$as_me:$LINENO: checking for $ac_word" >&5
40671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40672 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40673 echo $ECHO_N "(cached) $ECHO_C" >&6
40675 case $PKG_CONFIG in
40677 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40681 for as_dir
in $PATH
40684 test -z "$as_dir" && as_dir
=.
40685 for ac_exec_ext
in '' $ac_executable_extensions; do
40686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40687 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40694 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40698 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40700 if test -n "$PKG_CONFIG"; then
40701 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40702 echo "${ECHO_T}$PKG_CONFIG" >&6
40704 echo "$as_me:$LINENO: result: no" >&5
40705 echo "${ECHO_T}no" >&6
40710 if test "$PKG_CONFIG" = "no" ; then
40711 echo "*** The pkg-config script could not be found. Make sure it is"
40712 echo "*** in your path, or set the PKG_CONFIG environment variable"
40713 echo "*** to the full path to pkg-config."
40714 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40716 PKG_CONFIG_MIN_VERSION
=0.9.0
40717 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40718 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40719 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40721 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40722 echo "$as_me:$LINENO: result: yes" >&5
40723 echo "${ECHO_T}yes" >&6
40726 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40727 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40728 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40729 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40730 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40732 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40733 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40734 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
40735 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40736 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40738 GSTREAMER_CFLAGS
=""
40740 ## If we have a custom action on failure, don't print errors, but
40741 ## do set a variable so people can do so.
40742 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40749 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40750 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40754 if test $succeeded = yes; then
40756 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
40757 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40761 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40762 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40763 wxUSE_GSTREAMER
="no"
40771 if test "x$GST_INSPECT" == "x"; then
40772 # Extract the first word of "gst-inspect", so it can be a program name with args.
40773 set dummy gst
-inspect; ac_word
=$2
40774 echo "$as_me:$LINENO: checking for $ac_word" >&5
40775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40776 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40777 echo $ECHO_N "(cached) $ECHO_C" >&6
40779 if test -n "$GST_INSPECT"; then
40780 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
40782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40783 for as_dir
in $PATH
40786 test -z "$as_dir" && as_dir
=.
40787 for ac_exec_ext
in '' $ac_executable_extensions; do
40788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40789 ac_cv_prog_GST_INSPECT
="gst-inspect"
40790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40798 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
40799 if test -n "$GST_INSPECT"; then
40800 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40801 echo "${ECHO_T}$GST_INSPECT" >&6
40803 echo "$as_me:$LINENO: result: no" >&5
40804 echo "${ECHO_T}no" >&6
40809 if test "x$GST_INSPECT" != "x"; then
40810 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40811 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40812 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
40813 echo "$as_me:$LINENO: result: found." >&5
40814 echo "${ECHO_T}found." >&6
40817 echo "$as_me:$LINENO: result: not found." >&5
40818 echo "${ECHO_T}not found." >&6
40820 wxUSE_GSTREAMER
="no"
40821 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40822 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40828 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40829 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40830 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40831 echo $ECHO_N "(cached) $ECHO_C" >&6
40833 cat >conftest.
$ac_ext <<_ACEOF
40836 cat confdefs.h
>>conftest.
$ac_ext
40837 cat >>conftest.
$ac_ext <<_ACEOF
40838 /* end confdefs.h. */
40839 #include <gst/gst.h>
40841 #include <gst/xoverlay/xoverlay.h>
40843 rm -f conftest.
$ac_objext
40844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40845 (eval $ac_compile) 2>conftest.er1
40847 grep -v '^ *+' conftest.er1
>conftest.err
40849 cat conftest.err
>&5
40850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40851 (exit $ac_status); } &&
40852 { ac_try
='test -z "$ac_c_werror_flag"
40853 || test ! -s conftest.err'
40854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40855 (eval $ac_try) 2>&5
40857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40858 (exit $ac_status); }; } &&
40859 { ac_try
='test -s conftest.$ac_objext'
40860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40861 (eval $ac_try) 2>&5
40863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40864 (exit $ac_status); }; }; then
40865 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
40867 echo "$as_me: failed program was:" >&5
40868 sed 's/^/| /' conftest.
$ac_ext >&5
40870 ac_cv_header_gst_xoverlay_xoverlay_h
=no
40872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40874 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40875 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40876 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40880 wxUSE_GSTREAMER
="no"
40881 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40882 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40888 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40889 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40892 for ac_dir
in $SEARCH_LIB /usr
/lib
;
40894 for ac_extension
in a so sl dylib dll.a
; do
40895 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40896 ac_find_libraries
=$ac_dir
40903 if test "$ac_find_libraries" = "" ; then
40904 echo "$as_me:$LINENO: result: no" >&5
40905 echo "${ECHO_T}no" >&6
40906 wxUSE_GSTREAMER
="no"
40908 echo "$as_me:$LINENO: result: yes" >&5
40909 echo "${ECHO_T}yes" >&6
40912 if test "$wxUSE_GSTREAMER" = "yes"; then
40913 cat >>confdefs.h
<<\_ACEOF
40914 #define wxUSE_GSTREAMER 1
40917 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40918 echo "${ECHO_T}GStreamer detection successful" >&6
40921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
40922 cat >>confdefs.h
<<\_ACEOF
40923 #define wxUSE_MEDIACTRL 1
40929 if test "$cross_compiling" = "yes"; then
40932 OSINFO
=`uname -s -r -m`
40933 OSINFO
="\"$OSINFO\""
40936 cat >>confdefs.h
<<_ACEOF
40937 #define WXWIN_OS_DESCRIPTION $OSINFO
40942 if test "x$prefix" != "xNONE"; then
40945 wxPREFIX
=$ac_default_prefix
40948 cat >>confdefs.h
<<_ACEOF
40949 #define wxINSTALL_PREFIX "$wxPREFIX"
40955 CORE_BASE_LIBS
="net base"
40956 CORE_GUI_LIBS
="adv core"
40958 if test "$wxUSE_XML" = "yes" ; then
40959 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
40961 if test "$wxUSE_ODBC" != "no" ; then
40962 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
40963 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
40965 if test "$wxUSE_HTML" = "yes" ; then
40966 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
40968 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40969 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
40971 if test "$wxUSE_XRC" = "yes" ; then
40972 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
40975 if test "$wxUSE_GUI" != "yes"; then
40986 if test "$wxUSE_MAC" = 1 ; then
40987 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40988 if test "$USE_DARWIN" = 1; then
40989 LDFLAGS
="$LDFLAGS -framework QuickTime"
40991 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
40994 if test "$USE_DARWIN" = 1; then
40995 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40997 LDFLAGS
="$LDFLAGS -lCarbonLib"
41000 if test "$wxUSE_COCOA" = 1 ; then
41001 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
41002 if test "$wxUSE_MEDIACTRL" = "yes"; then
41003 LDFLAGS
="$LDFLAGS -framework QuickTime"
41006 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
41007 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
41011 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
41018 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41019 echo "$as_me:$LINENO: checking for $ac_func" >&5
41020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41021 if eval "test \"\${$as_ac_var+set}\" = set"; then
41022 echo $ECHO_N "(cached) $ECHO_C" >&6
41024 cat >conftest.
$ac_ext <<_ACEOF
41027 cat confdefs.h
>>conftest.
$ac_ext
41028 cat >>conftest.
$ac_ext <<_ACEOF
41029 /* end confdefs.h. */
41030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41032 #define $ac_func innocuous_$ac_func
41034 /* System header to define __stub macros and hopefully few prototypes,
41035 which can conflict with char $ac_func (); below.
41036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41037 <limits.h> exists even on freestanding compilers. */
41040 # include <limits.h>
41042 # include <assert.h>
41047 /* Override any gcc2 internal prototype to avoid an error. */
41052 /* We use char because int might match the return type of a gcc2
41053 builtin and then its argument prototype would still apply. */
41055 /* The GNU C library defines this for functions which it implements
41056 to always fail with ENOSYS. Some functions are actually named
41057 something starting with __ and the normal name is an alias. */
41058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41061 char (*f) () = $ac_func;
41070 return f != $ac_func;
41075 rm -f conftest.
$ac_objext conftest
$ac_exeext
41076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41077 (eval $ac_link) 2>conftest.er1
41079 grep -v '^ *+' conftest.er1
>conftest.err
41081 cat conftest.err
>&5
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); } &&
41084 { ac_try
='test -z "$ac_c_werror_flag"
41085 || test ! -s conftest.err'
41086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41087 (eval $ac_try) 2>&5
41089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41090 (exit $ac_status); }; } &&
41091 { ac_try
='test -s conftest$ac_exeext'
41092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41093 (eval $ac_try) 2>&5
41095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41096 (exit $ac_status); }; }; then
41097 eval "$as_ac_var=yes"
41099 echo "$as_me: failed program was:" >&5
41100 sed 's/^/| /' conftest.
$ac_ext >&5
41102 eval "$as_ac_var=no"
41104 rm -f conftest.err conftest.
$ac_objext \
41105 conftest
$ac_exeext conftest.
$ac_ext
41107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41109 if test `eval echo '${'$as_ac_var'}'` = yes; then
41110 cat >>confdefs.h
<<_ACEOF
41111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41118 for ac_func
in floor
41120 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41121 echo "$as_me:$LINENO: checking for $ac_func" >&5
41122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41123 if eval "test \"\${$as_ac_var+set}\" = set"; then
41124 echo $ECHO_N "(cached) $ECHO_C" >&6
41126 cat >conftest.
$ac_ext <<_ACEOF
41129 cat confdefs.h
>>conftest.
$ac_ext
41130 cat >>conftest.
$ac_ext <<_ACEOF
41131 /* end confdefs.h. */
41132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41134 #define $ac_func innocuous_$ac_func
41136 /* System header to define __stub macros and hopefully few prototypes,
41137 which can conflict with char $ac_func (); below.
41138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41139 <limits.h> exists even on freestanding compilers. */
41142 # include <limits.h>
41144 # include <assert.h>
41149 /* Override any gcc2 internal prototype to avoid an error. */
41154 /* We use char because int might match the return type of a gcc2
41155 builtin and then its argument prototype would still apply. */
41157 /* The GNU C library defines this for functions which it implements
41158 to always fail with ENOSYS. Some functions are actually named
41159 something starting with __ and the normal name is an alias. */
41160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41163 char (*f) () = $ac_func;
41172 return f != $ac_func;
41177 rm -f conftest.
$ac_objext conftest
$ac_exeext
41178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41179 (eval $ac_link) 2>conftest.er1
41181 grep -v '^ *+' conftest.er1
>conftest.err
41183 cat conftest.err
>&5
41184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41185 (exit $ac_status); } &&
41186 { ac_try
='test -z "$ac_c_werror_flag"
41187 || test ! -s conftest.err'
41188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41189 (eval $ac_try) 2>&5
41191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41192 (exit $ac_status); }; } &&
41193 { ac_try
='test -s conftest$ac_exeext'
41194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41195 (eval $ac_try) 2>&5
41197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198 (exit $ac_status); }; }; then
41199 eval "$as_ac_var=yes"
41201 echo "$as_me: failed program was:" >&5
41202 sed 's/^/| /' conftest.
$ac_ext >&5
41204 eval "$as_ac_var=no"
41206 rm -f conftest.err conftest.
$ac_objext \
41207 conftest
$ac_exeext conftest.
$ac_ext
41209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41211 if test `eval echo '${'$as_ac_var'}'` = yes; then
41212 cat >>confdefs.h
<<_ACEOF
41213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41219 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
41220 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
41221 if test "$have_cos" = 1 -a "$have_floor" = 1; then
41222 echo "$as_me:$LINENO: result: yes" >&5
41223 echo "${ECHO_T}yes" >&6
41225 echo "$as_me:$LINENO: result: no" >&5
41226 echo "${ECHO_T}no" >&6
41228 # use different functions to avoid configure caching
41234 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41235 echo "$as_me:$LINENO: checking for $ac_func" >&5
41236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41237 if eval "test \"\${$as_ac_var+set}\" = set"; then
41238 echo $ECHO_N "(cached) $ECHO_C" >&6
41240 cat >conftest.
$ac_ext <<_ACEOF
41243 cat confdefs.h
>>conftest.
$ac_ext
41244 cat >>conftest.
$ac_ext <<_ACEOF
41245 /* end confdefs.h. */
41246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41248 #define $ac_func innocuous_$ac_func
41250 /* System header to define __stub macros and hopefully few prototypes,
41251 which can conflict with char $ac_func (); below.
41252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41253 <limits.h> exists even on freestanding compilers. */
41256 # include <limits.h>
41258 # include <assert.h>
41263 /* Override any gcc2 internal prototype to avoid an error. */
41268 /* We use char because int might match the return type of a gcc2
41269 builtin and then its argument prototype would still apply. */
41271 /* The GNU C library defines this for functions which it implements
41272 to always fail with ENOSYS. Some functions are actually named
41273 something starting with __ and the normal name is an alias. */
41274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41277 char (*f) () = $ac_func;
41286 return f != $ac_func;
41291 rm -f conftest.
$ac_objext conftest
$ac_exeext
41292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41293 (eval $ac_link) 2>conftest.er1
41295 grep -v '^ *+' conftest.er1
>conftest.err
41297 cat conftest.err
>&5
41298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41299 (exit $ac_status); } &&
41300 { ac_try
='test -z "$ac_c_werror_flag"
41301 || test ! -s conftest.err'
41302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41303 (eval $ac_try) 2>&5
41305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41306 (exit $ac_status); }; } &&
41307 { ac_try
='test -s conftest$ac_exeext'
41308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41309 (eval $ac_try) 2>&5
41311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41312 (exit $ac_status); }; }; then
41313 eval "$as_ac_var=yes"
41315 echo "$as_me: failed program was:" >&5
41316 sed 's/^/| /' conftest.
$ac_ext >&5
41318 eval "$as_ac_var=no"
41320 rm -f conftest.err conftest.
$ac_objext \
41321 conftest
$ac_exeext conftest.
$ac_ext
41323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41325 if test `eval echo '${'$as_ac_var'}'` = yes; then
41326 cat >>confdefs.h
<<_ACEOF
41327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41334 for ac_func
in ceil
41336 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41337 echo "$as_me:$LINENO: checking for $ac_func" >&5
41338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41339 if eval "test \"\${$as_ac_var+set}\" = set"; then
41340 echo $ECHO_N "(cached) $ECHO_C" >&6
41342 cat >conftest.
$ac_ext <<_ACEOF
41345 cat confdefs.h
>>conftest.
$ac_ext
41346 cat >>conftest.
$ac_ext <<_ACEOF
41347 /* end confdefs.h. */
41348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41350 #define $ac_func innocuous_$ac_func
41352 /* System header to define __stub macros and hopefully few prototypes,
41353 which can conflict with char $ac_func (); below.
41354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41355 <limits.h> exists even on freestanding compilers. */
41358 # include <limits.h>
41360 # include <assert.h>
41365 /* Override any gcc2 internal prototype to avoid an error. */
41370 /* We use char because int might match the return type of a gcc2
41371 builtin and then its argument prototype would still apply. */
41373 /* The GNU C library defines this for functions which it implements
41374 to always fail with ENOSYS. Some functions are actually named
41375 something starting with __ and the normal name is an alias. */
41376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41379 char (*f) () = $ac_func;
41388 return f != $ac_func;
41393 rm -f conftest.
$ac_objext conftest
$ac_exeext
41394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41395 (eval $ac_link) 2>conftest.er1
41397 grep -v '^ *+' conftest.er1
>conftest.err
41399 cat conftest.err
>&5
41400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41401 (exit $ac_status); } &&
41402 { ac_try
='test -z "$ac_c_werror_flag"
41403 || test ! -s conftest.err'
41404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41405 (eval $ac_try) 2>&5
41407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41408 (exit $ac_status); }; } &&
41409 { ac_try
='test -s conftest$ac_exeext'
41410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41411 (eval $ac_try) 2>&5
41413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41414 (exit $ac_status); }; }; then
41415 eval "$as_ac_var=yes"
41417 echo "$as_me: failed program was:" >&5
41418 sed 's/^/| /' conftest.
$ac_ext >&5
41420 eval "$as_ac_var=no"
41422 rm -f conftest.err conftest.
$ac_objext \
41423 conftest
$ac_exeext conftest.
$ac_ext
41425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41427 if test `eval echo '${'$as_ac_var'}'` = yes; then
41428 cat >>confdefs.h
<<_ACEOF
41429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41435 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41436 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41437 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41438 echo "$as_me:$LINENO: result: yes" >&5
41439 echo "${ECHO_T}yes" >&6
41441 echo "$as_me:$LINENO: result: no" >&5
41442 echo "${ECHO_T}no" >&6
41443 # not sure we should warn the user, crash, etc.
41447 if test "$wxUSE_GUI" = "yes"; then
41450 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41451 dynamic erase event exec font image minimal mobile \
41452 mobile/wxedit mobile/styles propsize render \
41453 richedit rotate shaped vscroll widgets"
41455 if test "$wxUSE_MONOLITHIC" != "yes"; then
41456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
41458 if test "$TOOLKIT" = "MSW"; then
41459 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
41460 if test "$wxUSE_UNIVERSAL" != "yes"; then
41461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41464 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
41468 SAMPLES_SUBDIRS
="console"
41472 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41473 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41475 if test "$GXX" = yes ; then
41477 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
41480 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41482 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41483 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41484 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41486 if test "x$MWCC" = "xyes"; then
41488 CC
="$CC -cwd source -I-"
41489 CXX
="$CXX -cwd source -I-"
41494 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41495 EXTRALIBS_XML
="$EXPAT_LINK"
41496 EXTRALIBS_HTML
="$MSPACK_LINK"
41497 EXTRALIBS_ODBC
="$ODBC_LINK"
41498 if test "$wxUSE_GUI" = "yes"; then
41499 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41501 if test "$wxUSE_OPENGL" = "yes"; then
41502 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
41505 LDFLAGS
="$LDFLAGS $PROFILE"
41507 if test "$wxUSE_GTK" = 1; then
41510 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
41513 WXCONFIG_EXTRALIBS
="$LIBS"
41515 if test "$wxUSE_REGEX" = "builtin" ; then
41516 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41518 if test "$wxUSE_EXPAT" = "builtin" ; then
41519 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
41521 if test "$wxUSE_ODBC" = "builtin" ; then
41522 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
41524 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41525 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
41527 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41528 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
41530 if test "$wxUSE_LIBPNG" = "builtin" ; then
41531 wxconfig_3rdparty
="png $wxconfig_3rdparty"
41533 if test "$wxUSE_ZLIB" = "builtin" ; then
41534 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
41537 for i
in $wxconfig_3rdparty ; do
41538 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41542 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41556 if test $wxUSE_MONOLITHIC = "yes" ; then
41562 if test $wxUSE_PLUGINS = "yes" ; then
41568 if test $wxUSE_ODBC != "no" ; then
41574 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41580 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41608 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41619 TOOLKIT_USER
="GTK+"
41620 if test "$WXGTK20" = 1; then
41621 TOOLKIT_USER
="$TOOLKIT_USER 2"
41626 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
41630 if test "$wxUSE_WINE" = "yes"; then
41631 BAKEFILE_FORCE_PLATFORM
=win32
41637 if test "x$BAKEFILE_HOST" = "x"; then
41638 BAKEFILE_HOST
="${host}"
41641 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41643 if test -n "$ac_tool_prefix"; then
41644 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41645 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
41646 echo "$as_me:$LINENO: checking for $ac_word" >&5
41647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41648 if test "${ac_cv_prog_RANLIB+set}" = set; then
41649 echo $ECHO_N "(cached) $ECHO_C" >&6
41651 if test -n "$RANLIB"; then
41652 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
41654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41655 for as_dir
in $PATH
41658 test -z "$as_dir" && as_dir
=.
41659 for ac_exec_ext
in '' $ac_executable_extensions; do
41660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41661 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
41662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41670 RANLIB
=$ac_cv_prog_RANLIB
41671 if test -n "$RANLIB"; then
41672 echo "$as_me:$LINENO: result: $RANLIB" >&5
41673 echo "${ECHO_T}$RANLIB" >&6
41675 echo "$as_me:$LINENO: result: no" >&5
41676 echo "${ECHO_T}no" >&6
41680 if test -z "$ac_cv_prog_RANLIB"; then
41681 ac_ct_RANLIB
=$RANLIB
41682 # Extract the first word of "ranlib", so it can be a program name with args.
41683 set dummy ranlib
; ac_word
=$2
41684 echo "$as_me:$LINENO: checking for $ac_word" >&5
41685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41686 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41687 echo $ECHO_N "(cached) $ECHO_C" >&6
41689 if test -n "$ac_ct_RANLIB"; then
41690 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
41692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41693 for as_dir
in $PATH
41696 test -z "$as_dir" && as_dir
=.
41697 for ac_exec_ext
in '' $ac_executable_extensions; do
41698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41699 ac_cv_prog_ac_ct_RANLIB
="ranlib"
41700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41706 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
41709 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
41710 if test -n "$ac_ct_RANLIB"; then
41711 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41712 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41714 echo "$as_me:$LINENO: result: no" >&5
41715 echo "${ECHO_T}no" >&6
41718 RANLIB
=$ac_ct_RANLIB
41720 RANLIB
="$ac_cv_prog_RANLIB"
41723 # Find a good install program. We prefer a C program (faster),
41724 # so one script is as good as another. But avoid the broken or
41725 # incompatible versions:
41726 # SysV /etc/install, /usr/sbin/install
41727 # SunOS /usr/etc/install
41728 # IRIX /sbin/install
41730 # AmigaOS /C/install, which installs bootblocks on floppy discs
41731 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41732 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41733 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41734 # OS/2's system install, which has a completely different semantic
41735 # ./install, which can be erroneously created by make from ./install.sh.
41736 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41737 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41738 if test -z "$INSTALL"; then
41739 if test "${ac_cv_path_install+set}" = set; then
41740 echo $ECHO_N "(cached) $ECHO_C" >&6
41742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41743 for as_dir
in $PATH
41746 test -z "$as_dir" && as_dir
=.
41747 # Account for people who put trailing slashes in PATH elements.
41749 .
/ | .
// | /cC
/* | \
41750 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
41751 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
41754 # OSF1 and SCO ODT 3.0 have their own names for install.
41755 # Don't use installbsd from OSF since it installs stuff as root
41757 for ac_prog
in ginstall scoinst
install; do
41758 for ac_exec_ext
in '' $ac_executable_extensions; do
41759 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41760 if test $ac_prog = install &&
41761 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41762 # AIX install. It has an incompatible calling convention.
41764 elif test $ac_prog = install &&
41765 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41766 # program-specific install script used by HP pwplus--don't use.
41769 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
41781 if test "${ac_cv_path_install+set}" = set; then
41782 INSTALL
=$ac_cv_path_install
41784 # As a last resort, use the slow shell script. We don't cache a
41785 # path for INSTALL within a source directory, because that will
41786 # break other packages using the cache if that directory is
41787 # removed, or if the path is relative.
41788 INSTALL
=$ac_install_sh
41791 echo "$as_me:$LINENO: result: $INSTALL" >&5
41792 echo "${ECHO_T}$INSTALL" >&6
41794 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41795 # It thinks the first close brace ends the variable substitution.
41796 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
41798 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
41800 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
41802 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41803 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41805 if test "$LN_S" = "ln -s"; then
41806 echo "$as_me:$LINENO: result: yes" >&5
41807 echo "${ECHO_T}yes" >&6
41809 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41810 echo "${ECHO_T}no, using $LN_S" >&6
41814 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41815 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41816 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41817 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41818 echo $ECHO_N "(cached) $ECHO_C" >&6
41820 cat >conftest.
make <<\_ACEOF
41822 @
echo 'ac_maketemp="$(MAKE)"'
41824 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41825 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41826 if test -n "$ac_maketemp"; then
41827 eval ac_cv_prog_make_
${ac_make}_set
=yes
41829 eval ac_cv_prog_make_
${ac_make}_set
=no
41831 rm -f conftest.
make
41833 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41834 echo "$as_me:$LINENO: result: yes" >&5
41835 echo "${ECHO_T}yes" >&6
41838 echo "$as_me:$LINENO: result: no" >&5
41839 echo "${ECHO_T}no" >&6
41840 SET_MAKE
="MAKE=${MAKE-make}"
41845 if test -n "$ac_tool_prefix"; then
41846 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41847 set dummy
${ac_tool_prefix}ar; ac_word
=$2
41848 echo "$as_me:$LINENO: checking for $ac_word" >&5
41849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41850 if test "${ac_cv_prog_AR+set}" = set; then
41851 echo $ECHO_N "(cached) $ECHO_C" >&6
41853 if test -n "$AR"; then
41854 ac_cv_prog_AR
="$AR" # Let the user override the test.
41856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41857 for as_dir
in $PATH
41860 test -z "$as_dir" && as_dir
=.
41861 for ac_exec_ext
in '' $ac_executable_extensions; do
41862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41863 ac_cv_prog_AR
="${ac_tool_prefix}ar"
41864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41873 if test -n "$AR"; then
41874 echo "$as_me:$LINENO: result: $AR" >&5
41875 echo "${ECHO_T}$AR" >&6
41877 echo "$as_me:$LINENO: result: no" >&5
41878 echo "${ECHO_T}no" >&6
41882 if test -z "$ac_cv_prog_AR"; then
41884 # Extract the first word of "ar", so it can be a program name with args.
41885 set dummy
ar; ac_word
=$2
41886 echo "$as_me:$LINENO: checking for $ac_word" >&5
41887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41888 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41889 echo $ECHO_N "(cached) $ECHO_C" >&6
41891 if test -n "$ac_ct_AR"; then
41892 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
41894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41895 for as_dir
in $PATH
41898 test -z "$as_dir" && as_dir
=.
41899 for ac_exec_ext
in '' $ac_executable_extensions; do
41900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41901 ac_cv_prog_ac_ct_AR
="ar"
41902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41908 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
41911 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
41912 if test -n "$ac_ct_AR"; then
41913 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41914 echo "${ECHO_T}$ac_ct_AR" >&6
41916 echo "$as_me:$LINENO: result: no" >&5
41917 echo "${ECHO_T}no" >&6
41922 AR
="$ac_cv_prog_AR"
41925 if test -n "$ac_tool_prefix"; then
41926 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41927 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
41928 echo "$as_me:$LINENO: checking for $ac_word" >&5
41929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41930 if test "${ac_cv_prog_STRIP+set}" = set; then
41931 echo $ECHO_N "(cached) $ECHO_C" >&6
41933 if test -n "$STRIP"; then
41934 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
41936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41937 for as_dir
in $PATH
41940 test -z "$as_dir" && as_dir
=.
41941 for ac_exec_ext
in '' $ac_executable_extensions; do
41942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41943 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
41944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41952 STRIP
=$ac_cv_prog_STRIP
41953 if test -n "$STRIP"; then
41954 echo "$as_me:$LINENO: result: $STRIP" >&5
41955 echo "${ECHO_T}$STRIP" >&6
41957 echo "$as_me:$LINENO: result: no" >&5
41958 echo "${ECHO_T}no" >&6
41962 if test -z "$ac_cv_prog_STRIP"; then
41964 # Extract the first word of "strip", so it can be a program name with args.
41965 set dummy strip
; ac_word
=$2
41966 echo "$as_me:$LINENO: checking for $ac_word" >&5
41967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41968 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41969 echo $ECHO_N "(cached) $ECHO_C" >&6
41971 if test -n "$ac_ct_STRIP"; then
41972 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
41974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41975 for as_dir
in $PATH
41978 test -z "$as_dir" && as_dir
=.
41979 for ac_exec_ext
in '' $ac_executable_extensions; do
41980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41981 ac_cv_prog_ac_ct_STRIP
="strip"
41982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41988 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
41991 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
41992 if test -n "$ac_ct_STRIP"; then
41993 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41994 echo "${ECHO_T}$ac_ct_STRIP" >&6
41996 echo "$as_me:$LINENO: result: no" >&5
41997 echo "${ECHO_T}no" >&6
42002 STRIP
="$ac_cv_prog_STRIP"
42005 if test -n "$ac_tool_prefix"; then
42006 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
42007 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
42008 echo "$as_me:$LINENO: checking for $ac_word" >&5
42009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42010 if test "${ac_cv_prog_NM+set}" = set; then
42011 echo $ECHO_N "(cached) $ECHO_C" >&6
42013 if test -n "$NM"; then
42014 ac_cv_prog_NM
="$NM" # Let the user override the test.
42016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42017 for as_dir
in $PATH
42020 test -z "$as_dir" && as_dir
=.
42021 for ac_exec_ext
in '' $ac_executable_extensions; do
42022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42023 ac_cv_prog_NM
="${ac_tool_prefix}nm"
42024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42033 if test -n "$NM"; then
42034 echo "$as_me:$LINENO: result: $NM" >&5
42035 echo "${ECHO_T}$NM" >&6
42037 echo "$as_me:$LINENO: result: no" >&5
42038 echo "${ECHO_T}no" >&6
42042 if test -z "$ac_cv_prog_NM"; then
42044 # Extract the first word of "nm", so it can be a program name with args.
42045 set dummy nm
; ac_word
=$2
42046 echo "$as_me:$LINENO: checking for $ac_word" >&5
42047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42048 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
42049 echo $ECHO_N "(cached) $ECHO_C" >&6
42051 if test -n "$ac_ct_NM"; then
42052 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
42054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42055 for as_dir
in $PATH
42058 test -z "$as_dir" && as_dir
=.
42059 for ac_exec_ext
in '' $ac_executable_extensions; do
42060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42061 ac_cv_prog_ac_ct_NM
="nm"
42062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42068 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
42071 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
42072 if test -n "$ac_ct_NM"; then
42073 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
42074 echo "${ECHO_T}$ac_ct_NM" >&6
42076 echo "$as_me:$LINENO: result: no" >&5
42077 echo "${ECHO_T}no" >&6
42082 NM
="$ac_cv_prog_NM"
42086 case ${BAKEFILE_HOST} in
42088 INSTALL_DIR
="mkdir -p"
42090 *) INSTALL_DIR
="$INSTALL -d"
42096 case ${BAKEFILE_HOST} in
42097 *-*-cygwin* | *-*-mingw32* )
42098 LDFLAGS_GUI
="-mwindows"
42104 echo "$as_me:$LINENO: checking if make is GNU make" >&5
42105 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
42106 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
42107 echo $ECHO_N "(cached) $ECHO_C" >&6
42110 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
42111 egrep -s GNU
> /dev
/null
); then
42112 bakefile_cv_prog_makeisgnu
="yes"
42114 bakefile_cv_prog_makeisgnu
="no"
42118 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
42119 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
42121 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
42138 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
42139 case "${BAKEFILE_HOST}" in
42146 *-pc-os2_emx | *-pc-os2-emx )
42149 powerpc
-*-darwin* )
42156 powerpc
-apple-macos* )
42165 case "$BAKEFILE_FORCE_PLATFORM" in
42186 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
42187 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
42188 { (exit 1); exit 1; }; }
42203 # Check whether --enable-omf or --disable-omf was given.
42204 if test "${enable_omf+set}" = set; then
42205 enableval
="$enable_omf"
42206 bk_os2_use_omf
="$enableval"
42209 case "${BAKEFILE_HOST}" in
42211 CFLAGS
="$CFLAGS -fno-common"
42212 CXXFLAGS
="$CXXFLAGS -fno-common"
42215 *-pc-os2_emx | *-pc-os2-emx )
42216 if test "x$bk_os2_use_omf" = "xyes" ; then
42219 LDFLAGS
="-Zomf $LDFLAGS"
42220 CFLAGS
="-Zomf $CFLAGS"
42221 CXXFLAGS
="-Zomf $CXXFLAGS"
42229 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
42235 SO_SUFFIX_MODULE
="so"
42240 DLLPREFIX_MODULE
=""
42244 case "${BAKEFILE_HOST}" in
42247 SO_SUFFIX_MODULE
="sl"
42251 SO_SUFFIX_MODULE
="a"
42255 SO_SUFFIX_MODULE
="dll"
42256 DLLIMP_SUFFIX
="dll.a"
42263 SO_SUFFIX_MODULE
="dll"
42264 DLLIMP_SUFFIX
="dll.a"
42274 *-pc-os2_emx | *-pc-os2-emx )
42276 SO_SUFFIX_MODULE
="dll"
42277 DLLIMP_SUFFIX
=$OS2_LIBEXT
42281 LIBEXT
=".$OS2_LIBEXT"
42284 powerpc
-*-darwin* )
42286 SO_SUFFIX_MODULE
="bundle"
42290 if test "x$DLLIMP_SUFFIX" = "x" ; then
42291 DLLIMP_SUFFIX
="$SO_SUFFIX"
42306 if test "x$GCC" = "xyes"; then
42310 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
42311 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
42314 case "${BAKEFILE_HOST}" in
42316 if test "x$GCC" != "xyes"; then
42317 LDFLAGS
="$LDFLAGS -L/usr/lib"
42319 SHARED_LD_CC
="${CC} -b -o"
42320 SHARED_LD_CXX
="${CXX} -b -o"
42326 if test "x$GCC" != "xyes"; then
42327 echo "$as_me:$LINENO: checking for Intel compiler" >&5
42328 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
42329 if test "${bakefile_cv_prog_icc+set}" = set; then
42330 echo $ECHO_N "(cached) $ECHO_C" >&6
42333 cat >conftest.
$ac_ext <<_ACEOF
42336 cat confdefs.h
>>conftest.
$ac_ext
42337 cat >>conftest.
$ac_ext <<_ACEOF
42338 /* end confdefs.h. */
42344 #ifndef __INTEL_COMPILER
42352 rm -f conftest.
$ac_objext
42353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42354 (eval $ac_compile) 2>conftest.er1
42356 grep -v '^ *+' conftest.er1
>conftest.err
42358 cat conftest.err
>&5
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); } &&
42361 { ac_try
='test -z "$ac_c_werror_flag"
42362 || test ! -s conftest.err'
42363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42364 (eval $ac_try) 2>&5
42366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42367 (exit $ac_status); }; } &&
42368 { ac_try
='test -s conftest.$ac_objext'
42369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42370 (eval $ac_try) 2>&5
42372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373 (exit $ac_status); }; }; then
42374 bakefile_cv_prog_icc
=yes
42376 echo "$as_me: failed program was:" >&5
42377 sed 's/^/| /' conftest.
$ac_ext >&5
42379 bakefile_cv_prog_icc
=no
42382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42385 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42386 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42387 if test "$bakefile_cv_prog_icc" = "yes"; then
42394 if test "x$GCC" != xyes
; then
42395 SHARED_LD_CC
="${CC} -G -o"
42396 SHARED_LD_CXX
="${CXX} -G -o"
42403 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42404 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42405 if test "${wx_cv_gcc31+set}" = set; then
42406 echo $ECHO_N "(cached) $ECHO_C" >&6
42409 cat >conftest.
$ac_ext <<_ACEOF
42412 cat confdefs.h
>>conftest.
$ac_ext
42413 cat >>conftest.
$ac_ext <<_ACEOF
42414 /* end confdefs.h. */
42420 #if (__GNUC__ < 3) || \
42421 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42429 rm -f conftest.
$ac_objext
42430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42431 (eval $ac_compile) 2>conftest.er1
42433 grep -v '^ *+' conftest.er1
>conftest.err
42435 cat conftest.err
>&5
42436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42437 (exit $ac_status); } &&
42438 { ac_try
='test -z "$ac_c_werror_flag"
42439 || test ! -s conftest.err'
42440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42441 (eval $ac_try) 2>&5
42443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42444 (exit $ac_status); }; } &&
42445 { ac_try
='test -s conftest.$ac_objext'
42446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42447 (eval $ac_try) 2>&5
42449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42450 (exit $ac_status); }; }; then
42455 echo "$as_me: failed program was:" >&5
42456 sed 's/^/| /' conftest.
$ac_ext >&5
42463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42466 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42467 echo "${ECHO_T}$wx_cv_gcc31" >&6
42468 if test "$wx_cv_gcc31" = "no"; then
42471 cat <<EOF >shared-ld-sh
42473 #-----------------------------------------------------------------------------
42474 #-- Name: distrib/mac/shared-ld-sh
42475 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42476 #-- Author: Gilles Depeyrot
42477 #-- Copyright: (c) 2002 Gilles Depeyrot
42478 #-- Licence: any use permitted
42479 #-----------------------------------------------------------------------------
42484 linking_flag="-dynamiclib"
42485 ldargs="-r -keep_private_externs -nostdlib"
42487 while test ${D}# -gt 0; do
42494 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42495 # collect these options and values
42496 args="${D}{args} ${D}1 ${D}2"
42501 # collect these load args
42502 ldargs="${D}{ldargs} ${D}1"
42504 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
42505 # collect these options
42506 args="${D}{args} ${D}1"
42509 -dynamiclib|-bundle)
42510 linking_flag="${D}1"
42514 echo "shared-ld: unhandled option '${D}1'"
42518 *.o | *.a | *.dylib)
42519 # collect object files
42520 objects="${D}{objects} ${D}1"
42524 echo "shared-ld: unhandled argument '${D}1'"
42535 # Link one module containing all the others
42537 if test ${D}{verbose} = 1; then
42538 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
42540 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
42544 # Link the shared library from the single module created, but only if the
42545 # previous command didn't fail:
42547 if test ${D}{status} = 0; then
42548 if test ${D}{verbose} = 1; then
42549 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42551 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42556 # Remove intermediate module
42558 rm -f master.${D}${D}.o
42563 chmod +x shared
-ld-sh
42565 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42566 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42567 SHARED_LD_CXX
="$SHARED_LD_CC"
42568 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
42570 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42571 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42572 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42573 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42576 PIC_FLAG
="-dynamic -fPIC"
42580 if test "x$GCC" != "xyes"; then
42581 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42582 set dummy makeC
++SharedLib
; ac_word
=$2
42583 echo "$as_me:$LINENO: checking for $ac_word" >&5
42584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42585 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42586 echo $ECHO_N "(cached) $ECHO_C" >&6
42588 if test -n "$AIX_CXX_LD"; then
42589 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
42591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42592 for as_dir
in $PATH
42595 test -z "$as_dir" && as_dir
=.
42596 for ac_exec_ext
in '' $ac_executable_extensions; do
42597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42598 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
42599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42605 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
42608 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
42609 if test -n "$AIX_CXX_LD"; then
42610 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42611 echo "${ECHO_T}$AIX_CXX_LD" >&6
42613 echo "$as_me:$LINENO: result: no" >&5
42614 echo "${ECHO_T}no" >&6
42617 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
42618 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
42623 SHARED_LD_CC
="${LD} -nostart -o"
42624 SHARED_LD_CXX
="${LD} -nostart -o"
42628 if test "x$GCC" != "xyes"; then
42633 *-*-cygwin* | *-*-mingw32* )
42635 SHARED_LD_CC
="\$(CC) -shared -o"
42636 SHARED_LD_CXX
="\$(CXX) -shared -o"
42640 *-pc-os2_emx | *-pc-os2-emx )
42641 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42642 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42646 cat <<EOF >dllar.sh
42649 # dllar - a tool to build both a .dll and an .a file
42650 # from a set of object (.o) files for EMX/OS2.
42652 # Written by Andrew Zabolotny, bit@freya.etu.ru
42653 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42655 # This script will accept a set of files on the command line.
42656 # All the public symbols from the .o files will be exported into
42657 # a .DEF file, then linker will be run (through gcc) against them to
42658 # build a shared library consisting of all given .o files. All libraries
42659 # (.a) will be first decompressed into component .o files then act as
42660 # described above. You can optionally give a description (-d "description")
42661 # which will be put into .DLL. To see the list of accepted options (as well
42662 # as command-line format) simply run this program without options. The .DLL
42663 # is built to be imported by name (there is no guarantee that new versions
42664 # of the library you build will have same ordinals for same symbols).
42666 # dllar is free software; you can redistribute it and/or modify
42667 # it under the terms of the GNU General Public License as published by
42668 # the Free Software Foundation; either version 2, or (at your option)
42669 # any later version.
42671 # dllar is distributed in the hope that it will be useful,
42672 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42673 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42674 # GNU General Public License for more details.
42676 # You should have received a copy of the GNU General Public License
42677 # along with dllar; see the file COPYING. If not, write to the Free
42678 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42681 # To successfuly run this program you will need:
42682 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42683 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42685 # (used to build the .dll)
42687 # (used to create .def file from .o files)
42689 # (used to create .a file from .def file)
42690 # - GNU text utilites (cat, sort, uniq)
42691 # used to process emxexp output
42692 # - GNU file utilities (mv, rm)
42694 # - lxlite (optional, see flag below)
42695 # (used for general .dll cleanup)
42702 # basnam, variant of basename, which does _not_ remove the path, _iff_
42703 # second argument (suffix to remove) is given
42707 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42710 echo ${D}1 | sed 's/'${D}2'${D}//'
42713 echo "error in basnam ${D}*"
42719 # Cleanup temporary files and output
42722 for i in ${D}inputFiles ; do
42725 rm -rf \`basnam ${D}i !\`
42732 # Kill result in case of failure as there is just to many stupid make/nmake
42733 # things out there which doesn't do this.
42734 if [ ${D}# -eq 0 ]; then
42735 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42739 # Print usage and exit script with rc=1.
42741 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42742 echo ' [-name-mangler-script script.sh]'
42743 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42744 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42745 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42746 echo ' [*.o] [*.a]'
42747 echo '*> "output_file" should have no extension.'
42748 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42749 echo ' The import library name is derived from this and is set to "name".a,'
42750 echo ' unless overridden by -import'
42751 echo '*> "importlib_name" should have no extension.'
42752 echo ' If it has the .o, or .a extension, it is automatically removed.'
42753 echo ' This name is used as the import library name and may be longer and'
42754 echo ' more descriptive than the DLL name which has to follow the old '
42755 echo ' 8.3 convention of FAT.'
42756 echo '*> "script.sh may be given to override the output_file name by a'
42757 echo ' different name. It is mainly useful if the regular make process'
42758 echo ' of some package does not take into account OS/2 restriction of'
42759 echo ' DLL name lengths. It takes the importlib name as input and is'
42760 echo ' supposed to procude a shorter name as output. The script should'
42761 echo ' expect to get importlib_name without extension and should produce'
42762 echo ' a (max.) 8 letter name without extension.'
42763 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42764 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42765 echo ' These flags will be put at the start of GCC command line.'
42766 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42767 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42768 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42769 echo ' If the last character of a symbol is "*", all symbols beginning'
42770 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42771 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42772 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42773 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42774 echo ' C runtime DLLs.'
42775 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42776 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42777 echo ' unchanged to GCC at the end of command line.'
42778 echo '*> If you create a DLL from a library and you do not specify -o,'
42779 echo ' the basename for DLL and import library will be set to library name,'
42780 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42781 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42782 echo ' library will be renamed into gcc_s.a.'
42785 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42786 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42791 # Execute a command.
42792 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42793 # @Uses Whatever CleanUp() uses.
42799 if [ ${D}rcCmd -ne 0 ]; then
42800 echo "command failed, exit code="${D}rcCmd
42815 CFLAGS="-s -Zcrtdll"
42817 EXPORT_BY_ORDINALS=0
42822 case ${D}curDirS in
42826 curDirS=${D}{curDirS}"/"
42829 # Parse commandline
42832 while [ ${D}1 ]; do
42835 EXPORT_BY_ORDINALS=1;
42845 -name-mangler-script)
42866 exclude_symbols=${D}{exclude_symbols}${D}1" "
42870 library_flags=${D}{library_flags}${D}1" "
42889 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42892 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42893 if [ ${D}omfLinking -eq 1 ]; then
42894 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42896 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42901 if [ ${D}libsToLink -ne 0 ]; then
42902 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42904 for file in ${D}1 ; do
42905 if [ -f ${D}file ]; then
42906 inputFiles="${D}{inputFiles} ${D}file"
42910 if [ ${D}found -eq 0 ]; then
42911 echo "ERROR: No file(s) found: "${D}1
42918 done # iterate cmdline words
42921 if [ -z "${D}inputFiles" ]; then
42922 echo "dllar: no input files"
42926 # Now extract all .o files from .a files
42928 for file in ${D}inputFiles ; do
42939 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42944 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42946 if [ ${D}? -ne 0 ]; then
42947 echo "Failed to create subdirectory ./${D}dirname"
42951 # Append '!' to indicate archive
42952 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42953 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42956 for subfile in ${D}dirname/*.o* ; do
42957 if [ -f ${D}subfile ]; then
42959 if [ -s ${D}subfile ]; then
42960 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42961 newInputFiles="${D}newInputFiles ${D}subfile"
42965 if [ ${D}found -eq 0 ]; then
42966 echo "WARNING: there are no files in archive \\'${D}file\\'"
42970 newInputFiles="${D}{newInputFiles} ${D}file"
42974 inputFiles="${D}newInputFiles"
42976 # Output filename(s).
42978 if [ -z ${D}outFile ]; then
42980 set outFile ${D}inputFiles; outFile=${D}2
42983 # If it is an archive, remove the '!' and the '_%' suffixes
42984 case ${D}outFile in
42986 outFile=\`basnam ${D}outFile _%!\`
42991 case ${D}outFile in
42993 outFile=\`basnam ${D}outFile .dll\`
42996 outFile=\`basnam ${D}outFile .DLL\`
42999 outFile=\`basnam ${D}outFile .o\`
43002 outFile=\`basnam ${D}outFile .obj\`
43005 outFile=\`basnam ${D}outFile .a\`
43008 outFile=\`basnam ${D}outFile .lib\`
43013 case ${D}outimpFile in
43015 outimpFile=\`basnam ${D}outimpFile .a\`
43018 outimpFile=\`basnam ${D}outimpFile .lib\`
43023 if [ -z ${D}outimpFile ]; then
43024 outimpFile=${D}outFile
43026 defFile="${D}{outFile}.def"
43027 arcFile="${D}{outimpFile}.a"
43028 arcFile2="${D}{outimpFile}.lib"
43030 #create ${D}dllFile as something matching 8.3 restrictions,
43031 if [ -z ${D}renameScript ] ; then
43032 dllFile="${D}outFile"
43034 dllFile=\`${D}renameScript ${D}outimpFile\`
43037 if [ ${D}do_backup -ne 0 ] ; then
43038 if [ -f ${D}arcFile ] ; then
43039 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
43041 if [ -f ${D}arcFile2 ] ; then
43042 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
43046 # Extract public symbols from all the object files.
43047 tmpdefFile=${D}{defFile}_%
43048 rm -f ${D}tmpdefFile
43049 for file in ${D}inputFiles ; do
43054 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
43059 # Create the def file.
43061 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
43062 dllFile="${D}{dllFile}.dll"
43063 if [ ! -z ${D}description ]; then
43064 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
43066 echo "EXPORTS" >> ${D}defFile
43068 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
43069 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
43071 # Checks if the export is ok or not.
43072 for word in ${D}exclude_symbols; do
43073 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
43074 mv ${D}{tmpdefFile}% ${D}tmpdefFile
43078 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43079 sed "=" < ${D}tmpdefFile | \\
43083 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
43085 ' > ${D}{tmpdefFile}%
43086 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
43088 rm -f ${D}{tmpdefFile}%
43090 cat ${D}tmpdefFile >> ${D}defFile
43091 rm -f ${D}tmpdefFile
43093 # Do linking, create implib, and apply lxlite.
43095 for file in ${D}inputFiles ; do
43100 gccCmdl="${D}gccCmdl ${D}file"
43104 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
43105 touch "${D}{outFile}.dll"
43107 doCommand "emximp -o ${D}arcFile ${D}defFile"
43108 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
43110 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43113 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
43115 doCommand "emxomf -s -l ${D}arcFile"
43125 powerpc
-apple-macos* | \
43126 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
43135 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
43136 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
43137 { (exit 1); exit 1; }; }
43140 if test "x$PIC_FLAG" != "x" ; then
43141 PIC_FLAG
="$PIC_FLAG -DPIC"
43144 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
43145 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
43147 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
43148 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
43167 case "${BAKEFILE_HOST}" in
43168 *-*-linux* | *-*-freebsd* )
43169 SONAME_FLAG
="-Wl,-soname,"
43203 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
43204 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
43207 if test "x$GCC" = "xyes"; then
43210 case "${BAKEFILE_HOST}" in
43211 powerpc
-*-darwin* )
43212 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
43215 DEPSFLAG_GCC
="-MMD"
43218 echo "$as_me:$LINENO: result: gcc" >&5
43219 echo "${ECHO_T}gcc" >&6
43220 elif test "x$MWCC" = "xyes"; then
43223 DEPSFLAG_MWCC
="-MM"
43224 echo "$as_me:$LINENO: result: mwcc" >&5
43225 echo "${ECHO_T}mwcc" >&6
43226 elif test "x$SUNCC" = "xyes"; then
43229 DEPSFLAG_SUNCC
="-xM1"
43230 echo "$as_me:$LINENO: result: suncc" >&5
43231 echo "${ECHO_T}suncc" >&6
43233 echo "$as_me:$LINENO: result: none" >&5
43234 echo "${ECHO_T}none" >&6
43237 if test $DEPS_TRACKING = 1 ; then
43243 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43244 # script. It is used to track C/C++ files dependencies in portable way.
43246 # Permission is given to use this file in any way.
43248 DEPSMODE=${DEPSMODE}
43250 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
43251 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
43252 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
43254 mkdir -p ${D}DEPSDIR
43256 if test ${D}DEPSMODE = gcc ; then
43257 ${D}* ${D}{DEPSFLAG_GCC}
43259 if test ${D}{status} != 0 ; then
43262 # move created file to the location we want it in:
43263 while test ${D}# -gt 0; do
43277 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
43278 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
43279 if test -f ${D}depfile ; then
43280 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43283 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
43284 if test -f ${D}depfile ; then
43285 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43290 elif test ${D}DEPSMODE = mwcc ; then
43293 if test ${D}{status} != 0 ; then
43296 # Run mwcc again with -MM and redirect into the dep file we want
43297 # NOTE: We can't use shift here because we need ${D}* to be valid
43299 for arg in ${D}* ; do
43300 if test "${D}prevarg" = "-o"; then
43313 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
43315 elif test ${D}DEPSMODE = suncc; then
43317 # Run compiler again with deps flag and redirect into the dep file.
43318 # It doesn't work if the '-o FILE' option is used, but without it the
43319 # dependency file will contain the wrong name for the object. So it is
43320 # removed from the command line, and the dep file is fixed with sed.
43322 while test ${D}# -gt 0; do
43329 eval arg${D}#=\\${D}1
43330 cmd="${D}cmd \\${D}arg${D}#"
43335 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
43352 case ${BAKEFILE_HOST} in
43353 *-*-cygwin* | *-*-mingw32* )
43354 if test "$build" != "$host" ; then
43355 RESCOMP
=$host_alias-windres
43357 # Extract the first word of "windres", so it can be a program name with args.
43358 set dummy windres
; ac_word
=$2
43359 echo "$as_me:$LINENO: checking for $ac_word" >&5
43360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43361 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43362 echo $ECHO_N "(cached) $ECHO_C" >&6
43364 if test -n "$RESCOMP"; then
43365 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
43367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43368 for as_dir
in $PATH
43371 test -z "$as_dir" && as_dir
=.
43372 for ac_exec_ext
in '' $ac_executable_extensions; do
43373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43374 ac_cv_prog_RESCOMP
="windres"
43375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43381 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
43384 RESCOMP
=$ac_cv_prog_RESCOMP
43385 if test -n "$RESCOMP"; then
43386 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43387 echo "${ECHO_T}$RESCOMP" >&6
43389 echo "$as_me:$LINENO: result: no" >&5
43390 echo "${ECHO_T}no" >&6
43396 *-*-darwin* | powerpc
-apple-macos* )
43397 # Extract the first word of "Rez", so it can be a program name with args.
43398 set dummy Rez
; ac_word
=$2
43399 echo "$as_me:$LINENO: checking for $ac_word" >&5
43400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43401 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43402 echo $ECHO_N "(cached) $ECHO_C" >&6
43404 if test -n "$RESCOMP"; then
43405 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
43407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43408 for as_dir
in $PATH
43411 test -z "$as_dir" && as_dir
=.
43412 for ac_exec_ext
in '' $ac_executable_extensions; do
43413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43414 ac_cv_prog_RESCOMP
="Rez"
43415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43421 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
43424 RESCOMP
=$ac_cv_prog_RESCOMP
43425 if test -n "$RESCOMP"; then
43426 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43427 echo "${ECHO_T}$RESCOMP" >&6
43429 echo "$as_me:$LINENO: result: no" >&5
43430 echo "${ECHO_T}no" >&6
43433 # Extract the first word of "SetFile", so it can be a program name with args.
43434 set dummy SetFile
; ac_word
=$2
43435 echo "$as_me:$LINENO: checking for $ac_word" >&5
43436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43437 if test "${ac_cv_prog_SETFILE+set}" = set; then
43438 echo $ECHO_N "(cached) $ECHO_C" >&6
43440 if test -n "$SETFILE"; then
43441 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
43443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43444 for as_dir
in $PATH
43447 test -z "$as_dir" && as_dir
=.
43448 for ac_exec_ext
in '' $ac_executable_extensions; do
43449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43450 ac_cv_prog_SETFILE
="SetFile"
43451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43457 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
43460 SETFILE
=$ac_cv_prog_SETFILE
43461 if test -n "$SETFILE"; then
43462 echo "$as_me:$LINENO: result: $SETFILE" >&5
43463 echo "${ECHO_T}$SETFILE" >&6
43465 echo "$as_me:$LINENO: result: no" >&5
43466 echo "${ECHO_T}no" >&6
43476 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
43479 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
43483 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43484 if test "${enable_precomp_headers+set}" = set; then
43485 enableval
="$enable_precomp_headers"
43486 bk_use_pch
="$enableval"
43491 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43492 if test "x$GCC" = "xyes"; then
43493 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43494 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43495 cat >conftest.
$ac_ext <<_ACEOF
43498 cat confdefs.h
>>conftest.
$ac_ext
43499 cat >>conftest.
$ac_ext <<_ACEOF
43500 /* end confdefs.h. */
43506 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43507 #error "no pch support"
43510 #error "no pch support"
43512 #if (__GNUC__ == 3) && \
43513 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43514 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43515 #error "no pch support"
43522 rm -f conftest.
$ac_objext
43523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43524 (eval $ac_compile) 2>conftest.er1
43526 grep -v '^ *+' conftest.er1
>conftest.err
43528 cat conftest.err
>&5
43529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43530 (exit $ac_status); } &&
43531 { ac_try
='test -z "$ac_c_werror_flag"
43532 || test ! -s conftest.err'
43533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43534 (eval $ac_try) 2>&5
43536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43537 (exit $ac_status); }; } &&
43538 { ac_try
='test -s conftest.$ac_objext'
43539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43540 (eval $ac_try) 2>&5
43542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543 (exit $ac_status); }; }; then
43545 echo "$as_me:$LINENO: result: yes" >&5
43546 echo "${ECHO_T}yes" >&6
43550 echo "$as_me: failed program was:" >&5
43551 sed 's/^/| /' conftest.
$ac_ext >&5
43554 echo "$as_me:$LINENO: result: no" >&5
43555 echo "${ECHO_T}no" >&6
43558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43559 if test $GCC_PCH = 1 ; then
43562 cat <<EOF >bk-make-pch
43565 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43566 # script. It is used to generated precompiled headers.
43568 # Permission is given to use this file in any way.
43577 while test ${D}{#} -gt 0; do
43580 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43581 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43582 headerfile="${D}{incdir}/${D}{header}"
43586 compiler="${D}{compiler} ${D}{1}"
43590 if test "x${D}{headerfile}" = "x" ; then
43591 echo "error: can't find header ${D}{header} in include paths" >2
43593 if test -f ${D}{outfile} ; then
43594 rm -f ${D}{outfile}
43596 mkdir -p \`dirname ${D}{outfile}\`
43598 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43600 # can do this because gcc is >= 3.4:
43601 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43606 chmod +x bk
-make-pch
43613 COND_BUILD_DEBUG
="#"
43614 if test "x$BUILD" = "xdebug" ; then
43615 COND_BUILD_DEBUG
=""
43618 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
43619 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43620 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
43623 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
43624 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43625 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
43628 COND_BUILD_DEBUG_UNICODE_0
="#"
43629 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43630 COND_BUILD_DEBUG_UNICODE_0
=""
43633 COND_BUILD_DEBUG_UNICODE_1
="#"
43634 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43635 COND_BUILD_DEBUG_UNICODE_1
=""
43638 COND_BUILD_RELEASE
="#"
43639 if test "x$BUILD" = "xrelease" ; then
43640 COND_BUILD_RELEASE
=""
43643 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
43644 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43645 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
43648 COND_BUILD_RELEASE_UNICODE_0
="#"
43649 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43650 COND_BUILD_RELEASE_UNICODE_0
=""
43653 COND_BUILD_RELEASE_UNICODE_1
="#"
43654 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43655 COND_BUILD_RELEASE_UNICODE_1
=""
43658 COND_DEBUG_FLAG_1
="#"
43659 if test "x$DEBUG_FLAG" = "x1" ; then
43660 COND_DEBUG_FLAG_1
=""
43663 COND_DEBUG_INFO_0
="#"
43664 if test "x$DEBUG_INFO" = "x0" ; then
43665 COND_DEBUG_INFO_0
=""
43668 COND_DEBUG_INFO_1
="#"
43669 if test "x$DEBUG_INFO" = "x1" ; then
43670 COND_DEBUG_INFO_1
=""
43673 COND_DEPS_TRACKING_0
="#"
43674 if test "x$DEPS_TRACKING" = "x0" ; then
43675 COND_DEPS_TRACKING_0
=""
43678 COND_DEPS_TRACKING_1
="#"
43679 if test "x$DEPS_TRACKING" = "x1" ; then
43680 COND_DEPS_TRACKING_1
=""
43684 if test "x$GCC_PCH" = "x1" ; then
43688 COND_MONOLITHIC_0
="#"
43689 if test "x$MONOLITHIC" = "x0" ; then
43690 COND_MONOLITHIC_0
=""
43693 COND_MONOLITHIC_0_SHARED_0
="#"
43694 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43695 COND_MONOLITHIC_0_SHARED_0
=""
43698 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
43699 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43700 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
43703 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
43704 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43705 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
43708 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
43709 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43710 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
43713 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
43714 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43715 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
43718 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
43719 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43720 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
43723 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
43724 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43725 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
43728 COND_MONOLITHIC_0_SHARED_1
="#"
43729 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43730 COND_MONOLITHIC_0_SHARED_1
=""
43733 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
43734 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43735 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
43738 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
43739 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43740 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
43743 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
43744 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43745 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
43748 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
43749 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43750 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
43753 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
43754 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43755 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
43758 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
43759 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43760 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
43763 COND_MONOLITHIC_0_USE_ODBC_1
="#"
43764 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43765 COND_MONOLITHIC_0_USE_ODBC_1
=""
43768 COND_MONOLITHIC_1
="#"
43769 if test "x$MONOLITHIC" = "x1" ; then
43770 COND_MONOLITHIC_1
=""
43773 COND_MONOLITHIC_1_SHARED_0
="#"
43774 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43775 COND_MONOLITHIC_1_SHARED_0
=""
43778 COND_MONOLITHIC_1_SHARED_1
="#"
43779 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43780 COND_MONOLITHIC_1_SHARED_1
=""
43783 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
43784 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43785 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
43788 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
43789 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43790 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
43793 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
43794 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43795 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
43798 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
43799 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43800 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
43803 COND_PLATFORM_MACOSX_1
="#"
43804 if test "x$PLATFORM_MACOSX" = "x1" ; then
43805 COND_PLATFORM_MACOSX_1
=""
43808 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
43809 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43810 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
43813 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
43814 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43815 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
43818 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
43819 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43820 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
43823 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
43824 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43825 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
43828 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
43829 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43830 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
43833 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43834 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43835 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43838 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
43839 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43840 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
43843 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
43844 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43845 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
43848 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
43849 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43850 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
43853 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
43854 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43855 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
43858 COND_PLATFORM_MACOS_1
="#"
43859 if test "x$PLATFORM_MACOS" = "x1" ; then
43860 COND_PLATFORM_MACOS_1
=""
43863 COND_PLATFORM_MAC_1
="#"
43864 if test "x$PLATFORM_MAC" = "x1" ; then
43865 COND_PLATFORM_MAC_1
=""
43868 COND_PLATFORM_MSDOS_1
="#"
43869 if test "x$PLATFORM_MSDOS" = "x1" ; then
43870 COND_PLATFORM_MSDOS_1
=""
43873 COND_PLATFORM_OS2_1
="#"
43874 if test "x$PLATFORM_OS2" = "x1" ; then
43875 COND_PLATFORM_OS2_1
=""
43878 COND_PLATFORM_UNIX_0
="#"
43879 if test "x$PLATFORM_UNIX" = "x0" ; then
43880 COND_PLATFORM_UNIX_0
=""
43883 COND_PLATFORM_UNIX_1
="#"
43884 if test "x$PLATFORM_UNIX" = "x1" ; then
43885 COND_PLATFORM_UNIX_1
=""
43888 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
43889 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43890 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
43893 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
43894 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43895 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
43898 COND_PLATFORM_WIN32_0
="#"
43899 if test "x$PLATFORM_WIN32" = "x0" ; then
43900 COND_PLATFORM_WIN32_0
=""
43903 COND_PLATFORM_WIN32_1
="#"
43904 if test "x$PLATFORM_WIN32" = "x1" ; then
43905 COND_PLATFORM_WIN32_1
=""
43909 if test "x$SHARED" = "x0" ; then
43913 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
43914 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43915 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
43918 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
43919 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43920 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
43923 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
43924 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43925 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
43928 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
43929 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43930 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
43933 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43934 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43935 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43938 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43939 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43940 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43943 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43944 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43945 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43948 COND_SHARED_0_USE_XRC_1
="#"
43949 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43950 COND_SHARED_0_USE_XRC_1
=""
43953 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
43954 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43955 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
43958 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
43959 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43960 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
43963 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
43964 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43965 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
43968 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
43969 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43970 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
43974 if test "x$SHARED" = "x1" ; then
43978 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
43979 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43980 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
43983 COND_SHARED_1_USE_XRC_1
="#"
43984 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43985 COND_SHARED_1_USE_XRC_1
=""
43989 if test "x$TOOLKIT" = "x" ; then
43993 COND_TOOLKIT_COCOA
="#"
43994 if test "x$TOOLKIT" = "xCOCOA" ; then
43995 COND_TOOLKIT_COCOA
=""
43998 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
43999 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
44000 COND_TOOLKIT_COCOA_USE_GUI_1
=""
44003 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
44004 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44005 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
44008 COND_TOOLKIT_GTK
="#"
44009 if test "x$TOOLKIT" = "xGTK" ; then
44010 COND_TOOLKIT_GTK
=""
44013 COND_TOOLKIT_GTK_USE_GUI_1
="#"
44014 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
44015 COND_TOOLKIT_GTK_USE_GUI_1
=""
44018 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
44019 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44020 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
44023 COND_TOOLKIT_MAC
="#"
44024 if test "x$TOOLKIT" = "xMAC" ; then
44025 COND_TOOLKIT_MAC
=""
44028 COND_TOOLKIT_MAC_USE_GUI_1
="#"
44029 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
44030 COND_TOOLKIT_MAC_USE_GUI_1
=""
44033 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
44034 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44035 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
44038 COND_TOOLKIT_MGL
="#"
44039 if test "x$TOOLKIT" = "xMGL" ; then
44040 COND_TOOLKIT_MGL
=""
44043 COND_TOOLKIT_MGL_USE_GUI_1
="#"
44044 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
44045 COND_TOOLKIT_MGL_USE_GUI_1
=""
44048 COND_TOOLKIT_MOTIF
="#"
44049 if test "x$TOOLKIT" = "xMOTIF" ; then
44050 COND_TOOLKIT_MOTIF
=""
44053 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
44054 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
44055 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
44058 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
44059 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44060 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
44063 COND_TOOLKIT_MSW
="#"
44064 if test "x$TOOLKIT" = "xMSW" ; then
44065 COND_TOOLKIT_MSW
=""
44068 COND_TOOLKIT_MSW_USE_GUI_1
="#"
44069 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
44070 COND_TOOLKIT_MSW_USE_GUI_1
=""
44073 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
44074 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44075 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
44078 COND_TOOLKIT_PM
="#"
44079 if test "x$TOOLKIT" = "xPM" ; then
44083 COND_TOOLKIT_PM_USE_GUI_1
="#"
44084 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
44085 COND_TOOLKIT_PM_USE_GUI_1
=""
44088 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
44089 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44090 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
44093 COND_TOOLKIT_WINCE
="#"
44094 if test "x$TOOLKIT" = "xWINCE" ; then
44095 COND_TOOLKIT_WINCE
=""
44098 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
44099 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
44100 COND_TOOLKIT_WINCE_USE_GUI_1
=""
44103 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
44104 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44105 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
44108 COND_TOOLKIT_X11
="#"
44109 if test "x$TOOLKIT" = "xX11" ; then
44110 COND_TOOLKIT_X11
=""
44113 COND_TOOLKIT_X11_USE_GUI_1
="#"
44114 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
44115 COND_TOOLKIT_X11_USE_GUI_1
=""
44119 if test "x$UNICODE" = "x1" ; then
44123 COND_USE_EXCEPTIONS_0
="#"
44124 if test "x$USE_EXCEPTIONS" = "x0" ; then
44125 COND_USE_EXCEPTIONS_0
=""
44128 COND_USE_EXCEPTIONS_1
="#"
44129 if test "x$USE_EXCEPTIONS" = "x1" ; then
44130 COND_USE_EXCEPTIONS_1
=""
44134 if test "x$USE_GUI" = "x0" ; then
44139 if test "x$USE_GUI" = "x1" ; then
44143 COND_USE_GUI_1_WXUNIV_0
="#"
44144 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44145 COND_USE_GUI_1_WXUNIV_0
=""
44148 COND_USE_GUI_1_WXUNIV_1
="#"
44149 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
44150 COND_USE_GUI_1_WXUNIV_1
=""
44153 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
44154 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44155 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
44158 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
44159 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44160 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
44163 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
44164 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44165 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
44168 COND_USE_ODBC_1
="#"
44169 if test "x$USE_ODBC" = "x1" ; then
44173 COND_USE_OPENGL_1
="#"
44174 if test "x$USE_OPENGL" = "x1" ; then
44175 COND_USE_OPENGL_1
=""
44178 COND_USE_PLUGINS_0
="#"
44179 if test "x$USE_PLUGINS" = "x0" ; then
44180 COND_USE_PLUGINS_0
=""
44183 COND_USE_RTTI_0
="#"
44184 if test "x$USE_RTTI" = "x0" ; then
44188 COND_USE_RTTI_1
="#"
44189 if test "x$USE_RTTI" = "x1" ; then
44193 COND_USE_SOSYMLINKS_1
="#"
44194 if test "x$USE_SOSYMLINKS" = "x1" ; then
44195 COND_USE_SOSYMLINKS_1
=""
44198 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
44199 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
44200 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
44203 COND_USE_SOVERLINUX_1
="#"
44204 if test "x$USE_SOVERLINUX" = "x1" ; then
44205 COND_USE_SOVERLINUX_1
=""
44208 COND_USE_SOVERSION_0
="#"
44209 if test "x$USE_SOVERSION" = "x0" ; then
44210 COND_USE_SOVERSION_0
=""
44213 COND_USE_SOVERSOLARIS_1
="#"
44214 if test "x$USE_SOVERSOLARIS" = "x1" ; then
44215 COND_USE_SOVERSOLARIS_1
=""
44218 COND_USE_THREADS_0
="#"
44219 if test "x$USE_THREADS" = "x0" ; then
44220 COND_USE_THREADS_0
=""
44223 COND_USE_THREADS_1
="#"
44224 if test "x$USE_THREADS" = "x1" ; then
44225 COND_USE_THREADS_1
=""
44229 if test "x$USE_XRC" = "x1" ; then
44233 COND_WINDOWS_IMPLIB_1
="#"
44234 if test "x$WINDOWS_IMPLIB" = "x1" ; then
44235 COND_WINDOWS_IMPLIB_1
=""
44238 COND_WITH_PLUGIN_SDL_1
="#"
44239 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
44240 COND_WITH_PLUGIN_SDL_1
=""
44244 if test "x$WXUNIV" = "x0" ; then
44249 if test "x$WXUNIV" = "x1" ; then
44253 COND_WXUSE_EXPAT_BUILTIN
="#"
44254 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
44255 COND_WXUSE_EXPAT_BUILTIN
=""
44258 COND_WXUSE_LIBJPEG_BUILTIN
="#"
44259 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44260 COND_WXUSE_LIBJPEG_BUILTIN
=""
44263 COND_WXUSE_LIBPNG_BUILTIN
="#"
44264 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44265 COND_WXUSE_LIBPNG_BUILTIN
=""
44268 COND_WXUSE_LIBTIFF_BUILTIN
="#"
44269 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44270 COND_WXUSE_LIBTIFF_BUILTIN
=""
44273 COND_WXUSE_ODBC_BUILTIN
="#"
44274 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
44275 COND_WXUSE_ODBC_BUILTIN
=""
44278 COND_WXUSE_REGEX_BUILTIN
="#"
44279 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
44280 COND_WXUSE_REGEX_BUILTIN
=""
44283 COND_WXUSE_ZLIB_BUILTIN
="#"
44284 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
44285 COND_WXUSE_ZLIB_BUILTIN
=""
44290 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
44291 { { 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
44292 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;}
44293 { (exit 1); exit 1; }; }
44296 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
44297 { { 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
44298 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;}
44299 { (exit 1); exit 1; }; }
44303 if test "$wxUSE_WINE" = "yes"; then
44307 if test "$wxUSE_SHARED" = "yes"; then
44309 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
44310 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
44313 *-pc-os2_emx | *-pc-os2-emx )
44314 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44315 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44316 cp -p ${srcdir}/src
/os
2/dllnames.sh .
44317 cp -p ${srcdir}/src
/os
2/dllar.sh .
44322 EXE_LINKER
="$CXX -o"
44325 if test "$wxUSE_OMF" = "yes"; then
44327 *-pc-os2_emx | *-pc-os2-emx )
44328 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
44329 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
44330 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
44335 GCC_PRAGMA_FLAGS
=""
44338 if test $GCC_PCH = 1 ; then
44339 PCH_FLAGS
="-DWX_PRECOMP"
44340 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44342 if test "$GCC" = yes; then
44343 echo "$as_me:$LINENO: checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA" >&5
44344 echo $ECHO_N "checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44345 cat >conftest.
$ac_ext <<_ACEOF
44348 cat confdefs.h
>>conftest.
$ac_ext
44349 cat >>conftest.
$ac_ext <<_ACEOF
44350 /* end confdefs.h. */
44356 #error "Not GCC 4.0 or greater"
44363 rm -f conftest.
$ac_objext
44364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44365 (eval $ac_compile) 2>conftest.er1
44367 grep -v '^ *+' conftest.er1
>conftest.err
44369 cat conftest.err
>&5
44370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44371 (exit $ac_status); } &&
44372 { ac_try
='test -z "$ac_c_werror_flag"
44373 || test ! -s conftest.err'
44374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44375 (eval $ac_try) 2>&5
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); }; } &&
44379 { ac_try
='test -s conftest.$ac_objext'
44380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44381 (eval $ac_try) 2>&5
44383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44384 (exit $ac_status); }; }; then
44385 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44386 echo "$as_me:$LINENO: result: yes" >&5
44387 echo "${ECHO_T}yes" >&6
44389 echo "$as_me: failed program was:" >&5
44390 sed 's/^/| /' conftest.
$ac_ext >&5
44392 echo "$as_me:$LINENO: result: no" >&5
44393 echo "${ECHO_T}no" >&6
44395 powerpc
-*-darwin* )
44396 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44399 if test "$wxUSE_STL" = "yes" -o \
44400 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
44401 "$wxUSE_NO_RTTI" != "yes"; then
44402 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
44403 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44404 cat >conftest.
$ac_ext <<_ACEOF
44407 cat confdefs.h
>>conftest.
$ac_ext
44408 cat >>conftest.
$ac_ext <<_ACEOF
44409 /* end confdefs.h. */
44414 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44415 #error "Not GCC 3.2 or greater"
44422 rm -f conftest.
$ac_objext
44423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44424 (eval $ac_compile) 2>conftest.er1
44426 grep -v '^ *+' conftest.er1
>conftest.err
44428 cat conftest.err
>&5
44429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430 (exit $ac_status); } &&
44431 { ac_try
='test -z "$ac_c_werror_flag"
44432 || test ! -s conftest.err'
44433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44434 (eval $ac_try) 2>&5
44436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44437 (exit $ac_status); }; } &&
44438 { ac_try
='test -s conftest.$ac_objext'
44439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44440 (eval $ac_try) 2>&5
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); }; }; then
44444 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44445 echo "$as_me:$LINENO: result: yes" >&5
44446 echo "${ECHO_T}yes" >&6
44448 echo "$as_me: failed program was:" >&5
44449 sed 's/^/| /' conftest.
$ac_ext >&5
44451 echo "$as_me:$LINENO: result: no" >&5
44452 echo "${ECHO_T}no" >&6
44454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44457 *-pc-os2_emx | *-pc-os2-emx )
44458 if test "$wxUSE_STL" = "yes"; then
44459 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
44460 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44461 cat >conftest.
$ac_ext <<_ACEOF
44464 cat confdefs.h
>>conftest.
$ac_ext
44465 cat >>conftest.
$ac_ext <<_ACEOF
44466 /* end confdefs.h. */
44471 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44472 #error "Not GCC 3.2 or greater"
44479 rm -f conftest.
$ac_objext
44480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44481 (eval $ac_compile) 2>conftest.er1
44483 grep -v '^ *+' conftest.er1
>conftest.err
44485 cat conftest.err
>&5
44486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44487 (exit $ac_status); } &&
44488 { ac_try
='test -z "$ac_c_werror_flag"
44489 || test ! -s conftest.err'
44490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44491 (eval $ac_try) 2>&5
44493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44494 (exit $ac_status); }; } &&
44495 { ac_try
='test -s conftest.$ac_objext'
44496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44497 (eval $ac_try) 2>&5
44499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44500 (exit $ac_status); }; }; then
44501 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44502 echo "$as_me:$LINENO: result: yes" >&5
44503 echo "${ECHO_T}yes" >&6
44505 echo "$as_me: failed program was:" >&5
44506 sed 's/^/| /' conftest.
$ac_ext >&5
44508 echo "$as_me:$LINENO: result: no" >&5
44509 echo "${ECHO_T}no" >&6
44511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44520 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
44523 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44587 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44588 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44589 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
44590 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44591 echo $ECHO_N "(cached) $ECHO_C" >&6
44593 cat >conftest.
make <<\_ACEOF
44595 @
echo 'ac_maketemp="$(MAKE)"'
44597 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44598 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44599 if test -n "$ac_maketemp"; then
44600 eval ac_cv_prog_make_
${ac_make}_set
=yes
44602 eval ac_cv_prog_make_
${ac_make}_set
=no
44604 rm -f conftest.
make
44606 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44607 echo "$as_me:$LINENO: result: yes" >&5
44608 echo "${ECHO_T}yes" >&6
44611 echo "$as_me:$LINENO: result: no" >&5
44612 echo "${ECHO_T}no" >&6
44613 SET_MAKE
="MAKE=${MAKE-make}"
44618 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44621 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44624 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44627 ac_config_files
="$ac_config_files version-script Makefile"
44630 ac_config_commands
="$ac_config_commands wx-config
44636 if test "$wxUSE_GUI" = "yes"; then
44637 SUBDIRS
="samples demos utils contrib"
44638 else SUBDIRS
="samples utils"
44643 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44644 if test "${with_cppunit_prefix+set}" = set; then
44645 withval
="$with_cppunit_prefix"
44646 cppunit_config_prefix
="$withval"
44648 cppunit_config_prefix
=""
44651 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44652 if test "${with_cppunit_exec_prefix+set}" = set; then
44653 withval
="$with_cppunit_exec_prefix"
44654 cppunit_config_exec_prefix
="$withval"
44656 cppunit_config_exec_prefix
=""
44659 if test x
$cppunit_config_exec_prefix != x
; then
44660 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44661 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44662 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
44665 if test x
$cppunit_config_prefix != x
; then
44666 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
44667 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44668 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
44672 # Extract the first word of "cppunit-config", so it can be a program name with args.
44673 set dummy cppunit
-config; ac_word
=$2
44674 echo "$as_me:$LINENO: checking for $ac_word" >&5
44675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44676 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44677 echo $ECHO_N "(cached) $ECHO_C" >&6
44679 case $CPPUNIT_CONFIG in
44681 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44685 for as_dir
in $PATH
44688 test -z "$as_dir" && as_dir
=.
44689 for ac_exec_ext
in '' $ac_executable_extensions; do
44690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44691 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44698 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
44702 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
44704 if test -n "$CPPUNIT_CONFIG"; then
44705 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44706 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44708 echo "$as_me:$LINENO: result: no" >&5
44709 echo "${ECHO_T}no" >&6
44712 cppunit_version_min
=1.8.0
44714 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44715 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44717 if test "$CPPUNIT_CONFIG" = "no" ; then
44720 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
44721 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
44722 cppunit_version
=`$CPPUNIT_CONFIG --version`
44724 cppunit_major_version
=`echo $cppunit_version | \
44725 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44726 cppunit_minor_version
=`echo $cppunit_version | \
44727 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44728 cppunit_micro_version
=`echo $cppunit_version | \
44729 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44731 cppunit_major_min
=`echo $cppunit_version_min | \
44732 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44733 cppunit_minor_min
=`echo $cppunit_version_min | \
44734 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44735 cppunit_micro_min
=`echo $cppunit_version_min | \
44736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44738 cppunit_version_proper
=`expr \
44739 $cppunit_major_version \> $cppunit_major_min \| \
44740 $cppunit_major_version \= $cppunit_major_min \& \
44741 $cppunit_minor_version \> $cppunit_minor_min \| \
44742 $cppunit_major_version \= $cppunit_major_min \& \
44743 $cppunit_minor_version \= $cppunit_minor_min \& \
44744 $cppunit_micro_version \>= $cppunit_micro_min `
44746 if test "$cppunit_version_proper" = "1" ; then
44747 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44748 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44750 echo "$as_me:$LINENO: result: no" >&5
44751 echo "${ECHO_T}no" >&6
44756 if test "x$no_cppunit" = x
; then
44757 SUBDIRS
="$SUBDIRS tests"
44768 for subdir
in `echo $SUBDIRS`; do
44769 if test -d ${srcdir}/${subdir} ; then
44770 if test "$wxUSE_GUI" = "yes"; then
44771 if test ${subdir} = "samples"; then
44772 makefiles
="samples/Makefile.in $makefiles"
44773 for sample
in `echo $SAMPLES_SUBDIRS`; do
44774 if test -d $srcdir/samples
/$sample; then
44775 makefiles
="samples/$sample/Makefile.in $makefiles"
44779 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
44780 eval "disabled=\$$disabled_var"
44781 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
44782 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44784 else if test ${subdir} = "samples"; then
44785 makefiles
="samples/Makefile.in samples/console/Makefile.in"
44786 elif test ${subdir} = "utils"; then
44788 for util
in HelpGen tex2rtf
; do
44789 if test -d $srcdir/utils
/$util ; then
44790 makefiles
="utils/$util/Makefile.in \
44791 utils/$util/src/Makefile.in \
44795 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
44799 for mkin
in $makefiles ; do
44800 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44801 ac_config_files
="$ac_config_files $mk"
44808 cat >confcache
<<\_ACEOF
44809 # This file is a shell script that caches the results of configure
44810 # tests run on this system so they can be shared between configure
44811 # scripts and configure runs, see configure's option --config-cache.
44812 # It is not useful on other systems. If it contains results you don't
44813 # want to keep, you may remove or edit it.
44815 # config.status only pays attention to the cache file if you give it
44816 # the --recheck option to rerun configure.
44818 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44819 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44820 # following values.
44824 # The following way of writing the cache mishandles newlines in values,
44825 # but we know of no workaround that is simple, portable, and efficient.
44826 # So, don't put newlines in cache variables' values.
44827 # Ultrix sh set writes to stderr and can't be redirected directly,
44828 # and sets the high bit in the cache file unless we assign to the vars.
44831 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44833 # `set' does not quote correctly, so add quotes (double-quote
44834 # substitution turns \\\\ into \\, and sed turns \\ into \).
44837 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44840 # `set' quotes correctly as required by POSIX, so do not add quotes.
44842 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44849 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44851 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44853 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
44854 if test -w $cache_file; then
44855 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44856 cat confcache
>$cache_file
44858 echo "not updating unwritable cache $cache_file"
44863 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
44864 # Let make expand exec_prefix.
44865 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
44867 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44868 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44869 # trailing colons and then remove the whole line if VPATH becomes empty
44870 # (actually we leave an empty line to preserve line numbers).
44871 if test "x$srcdir" = x.
; then
44872 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
44873 s/:*\$(srcdir):*/:/;
44874 s/:*\${srcdir}:*/:/;
44876 s/^\([^=]*=[ ]*\):*/\1/;
44882 DEFS
=-DHAVE_CONFIG_H
44886 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
44887 # 1. Remove the extension, and $U if already installed.
44888 ac_i
=`echo "$ac_i" |
44889 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44891 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
44892 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
44894 LIBOBJS
=$ac_libobjs
44896 LTLIBOBJS
=$ac_ltlibobjs
44900 : ${CONFIG_STATUS=./config.status}
44901 ac_clean_files_save
=$ac_clean_files
44902 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
44903 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44904 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44905 cat >$CONFIG_STATUS <<_ACEOF
44907 # Generated by $as_me.
44908 # Run this file to recreate the current configuration.
44909 # Compiler output produced by configure, useful for debugging
44910 # configure, is in config.log if it exists.
44913 ac_cs_recheck=false
44915 SHELL=\${CONFIG_SHELL-$SHELL}
44918 cat >>$CONFIG_STATUS <<\_ACEOF
44919 ## --------------------- ##
44920 ## M4sh Initialization. ##
44921 ## --------------------- ##
44923 # Be Bourne compatible
44924 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
44927 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44928 # is contrary to our usage. Disable this feature.
44929 alias -g '${1+"$@"}'='"$@"'
44930 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
44933 DUALCASE
=1; export DUALCASE
# for MKS sh
44935 # Support unset when possible.
44936 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
44943 # Work around bugs in pre-3.0 UWIN ksh.
44944 $as_unset ENV MAIL MAILPATH
44951 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44952 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44953 LC_TELEPHONE LC_TIME
44955 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44956 eval $as_var=C
; export $as_var
44962 # Required to use basename.
44963 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44969 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
44970 as_basename
=basename
44976 # Name of the executable.
44977 as_me
=`$as_basename "$0" ||
44978 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44979 X"$0" : 'X\(//\)$' \| \
44980 X"$0" : 'X\(/\)$' \| \
44981 . : '\(.\)' 2>/dev/null ||
44983 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44984 /^X\/\(\/\/\)$/{ s//\1/; q; }
44985 /^X\/\(\/\).*/{ s//\1/; q; }
44989 # PATH needs CR, and LINENO needs CR and PATH.
44990 # Avoid depending upon Character Ranges.
44991 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
44992 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44993 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
44994 as_cr_digits
='0123456789'
44995 as_cr_alnum
=$as_cr_Letters$as_cr_digits
44997 # The user is always right.
44998 if test "${PATH_SEPARATOR+set}" != set; then
44999 echo "#! /bin/sh" >conf$$.sh
45000 echo "exit 0" >>conf$$.sh
45002 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
45011 as_lineno_1
=$LINENO
45012 as_lineno_2
=$LINENO
45013 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
45014 test "x$as_lineno_1" != "x$as_lineno_2" &&
45015 test "x$as_lineno_3" = "x$as_lineno_2" || {
45016 # Find who we are. Look in the path if we contain no path at all
45019 *[\\/]* ) as_myself
=$0 ;;
45020 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45021 for as_dir
in $PATH
45024 test -z "$as_dir" && as_dir
=.
45025 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
45030 # We did not find ourselves, most probably we were run as `sh COMMAND'
45031 # in which case we are not to be found in the path.
45032 if test "x$as_myself" = x
; then
45035 if test ! -f "$as_myself"; then
45036 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
45037 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
45038 { (exit 1); exit 1; }; }
45040 case $CONFIG_SHELL in
45042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45043 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
45046 test -z "$as_dir" && as_dir
=.
45047 for as_base
in sh bash ksh sh5
; do
45050 if ("$as_dir/$as_base" -c '
45051 as_lineno_1=$LINENO
45052 as_lineno_2=$LINENO
45053 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
45054 test "x$as_lineno_1" != "x$as_lineno_2" &&
45055 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
45056 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
45057 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
45058 CONFIG_SHELL
=$as_dir/$as_base
45059 export CONFIG_SHELL
45060 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
45068 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
45069 # uniformly replaced by the line number. The first 'sed' inserts a
45070 # line-number line before each line; the second 'sed' does the real
45071 # work. The second script uses 'N' to pair each line-number line
45072 # with the numbered line, and appends trailing '-' during
45073 # substitution so that $LINENO is not a special case at line end.
45074 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
45075 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
45076 sed '=' <$as_myself |
45081 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
45084 s,^['$as_cr_digits']*\n,,
45085 ' >$as_me.lineno
&&
45086 chmod +x
$as_me.lineno
||
45087 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
45088 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
45089 { (exit 1); exit 1; }; }
45091 # Don't try to exec as it changes $[0], causing all sort of problems
45092 # (the dirname of $[0] is not the place where we might find the
45093 # original and so on. Autoconf is especially sensible to this).
45095 # Exit status is that of the last command.
45100 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
45101 *c
*,-n*) ECHO_N
= ECHO_C
='
45103 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
45104 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
45107 if expr a
: '\(a\)' >/dev
/null
2>&1; then
45113 rm -f conf$$ conf$$.exe conf$$.
file
45115 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
45116 # We could just check for DJGPP; but this test a) works b) is more generic
45117 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45118 if test -f conf$$.exe
; then
45119 # Don't use ln at all; we don't have any links
45124 elif ln conf$$.
file conf$$
2>/dev
/null
; then
45129 rm -f conf$$ conf$$.exe conf$$.
file
45131 if mkdir -p .
2>/dev
/null
; then
45134 test -d .
/-p && rmdir .
/-p
45138 as_executable_p
="test -f"
45140 # Sed expression to map a string onto a valid CPP name.
45141 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
45143 # Sed expression to map a string onto a valid variable name.
45144 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
45148 # We need space, tab and new line, in precisely that order.
45158 # Open the log real soon, to keep \$[0] and so on meaningful, and to
45159 # report actual input values of CONFIG_FILES etc. instead of their
45160 # values after options handling. Logging --version etc. is OK.
45164 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45165 ## Running $as_me. ##
45170 This file was extended by wxWidgets $as_me 2.6.2, which was
45171 generated by GNU Autoconf 2.59. Invocation command line was
45173 CONFIG_FILES = $CONFIG_FILES
45174 CONFIG_HEADERS = $CONFIG_HEADERS
45175 CONFIG_LINKS = $CONFIG_LINKS
45176 CONFIG_COMMANDS = $CONFIG_COMMANDS
45180 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
45184 # Files that config.status was made for.
45185 if test -n "$ac_config_files"; then
45186 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
45189 if test -n "$ac_config_headers"; then
45190 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
45193 if test -n "$ac_config_links"; then
45194 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
45197 if test -n "$ac_config_commands"; then
45198 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
45201 cat >>$CONFIG_STATUS <<\_ACEOF
45204 \`$as_me' instantiates files from templates according to the
45205 current configuration.
45207 Usage: $0 [OPTIONS] [FILE]...
45209 -h, --help print this help, then exit
45210 -V, --version print version number, then exit
45211 -q, --quiet do not print progress messages
45212 -d, --debug don't remove temporary files
45213 --recheck update $as_me by reconfiguring in the same conditions
45214 --file=FILE[:TEMPLATE]
45215 instantiate the configuration file FILE
45216 --header=FILE[:TEMPLATE]
45217 instantiate the configuration header FILE
45219 Configuration files:
45222 Configuration headers:
45225 Configuration commands:
45228 Report bugs to <bug-autoconf@gnu.org>."
45231 cat >>$CONFIG_STATUS <<_ACEOF
45233 wxWidgets config.status 2.6.2
45234 configured by $0, generated by GNU Autoconf 2.59,
45235 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
45237 Copyright (C) 2003 Free Software Foundation, Inc.
45238 This config.status script is free software; the Free Software Foundation
45239 gives unlimited permission to copy, distribute and modify it."
45244 cat >>$CONFIG_STATUS <<\_ACEOF
45245 # If no file are specified by the user, then we need to provide default
45246 # value. By we need to know if files were specified by the user.
45252 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
45253 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
45261 *) # This is not an option, so the user has probably given explicit
45264 ac_need_defaults
=false
;;
45268 # Handling of the options.
45270 cat >>$CONFIG_STATUS <<\_ACEOF
45271 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
45273 --version | --vers* | -V )
45274 echo "$ac_cs_version"; exit 0 ;;
45276 # Conflict between --help and --header
45277 { { echo "$as_me:$LINENO: error: ambiguous option: $1
45278 Try \`$0 --help' for more information." >&5
45279 echo "$as_me: error: ambiguous option: $1
45280 Try \`$0 --help' for more information." >&2;}
45281 { (exit 1); exit 1; }; };;
45282 --help | --hel | -h )
45283 echo "$ac_cs_usage"; exit 0 ;;
45284 --debug | --d* | -d )
45286 --file | --fil | --fi | --f )
45288 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
45289 ac_need_defaults
=false
;;
45290 --header | --heade | --head | --hea )
45292 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
45293 ac_need_defaults
=false
;;
45294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
45295 | -silent | --silent | --silen | --sile | --sil | --si | --s)
45298 # This is an error.
45299 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
45300 Try \`$0 --help' for more information." >&5
45301 echo "$as_me: error: unrecognized option: $1
45302 Try \`$0 --help' for more information." >&2;}
45303 { (exit 1); exit 1; }; } ;;
45305 *) ac_config_targets
="$ac_config_targets $1" ;;
45311 ac_configure_extra_args
=
45313 if $ac_cs_silent; then
45315 ac_configure_extra_args
="$ac_configure_extra_args --silent"
45319 cat >>$CONFIG_STATUS <<_ACEOF
45320 if \$ac_cs_recheck; then
45321 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
45322 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45327 cat >>$CONFIG_STATUS <<_ACEOF
45329 # INIT-COMMANDS section.
45332 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45333 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45334 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45342 cat >>$CONFIG_STATUS <<\_ACEOF
45343 for ac_config_target
in $ac_config_targets
45345 case "$ac_config_target" in
45346 # Handling of arguments.
45347 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
45348 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
45349 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
45350 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
45351 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
45352 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
45353 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
45354 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
45355 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
45356 { (exit 1); exit 1; }; };;
45360 # If the user did not use the arguments to specify the items to instantiate,
45361 # then the envvar interface is used. Set only those that are not.
45362 # We use the long form for the default assignment because of an extremely
45363 # bizarre bug on SunOS 4.1.3.
45364 if $ac_need_defaults; then
45365 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
45366 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
45367 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
45370 # Have a temporary directory for convenience. Make it in the build tree
45371 # simply because there is no reason to put it here, and in addition,
45372 # creating and moving files from /tmp can sometimes cause problems.
45373 # Create a temporary directory, and hook for its removal unless debugging.
45376 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
45377 trap '{ (exit 1); exit 1; }' 1 2 13 15
45380 # Create a (secure) tmp directory for tmp files.
45383 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
45384 test -n "$tmp" && test -d "$tmp"
45387 tmp
=.
/confstat$$
-$RANDOM
45388 (umask 077 && mkdir $tmp)
45391 echo "$me: cannot create a temporary directory in ." >&2
45392 { (exit 1); exit 1; }
45397 cat >>$CONFIG_STATUS <<_ACEOF
45400 # CONFIG_FILES section.
45403 # No need to generate the scripts if there are no CONFIG_FILES.
45404 # This happens for instance when ./config.status config.h
45405 if test -n "\$CONFIG_FILES"; then
45406 # Protect against being on the right side of a sed subst in config.status.
45407 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
45408 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
45409 s,@SHELL@,$SHELL,;t t
45410 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
45411 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
45412 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
45413 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
45414 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
45415 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
45416 s,@exec_prefix@,$exec_prefix,;t t
45417 s,@prefix@,$prefix,;t t
45418 s,@program_transform_name@,$program_transform_name,;t t
45419 s,@bindir@,$bindir,;t t
45420 s,@sbindir@,$sbindir,;t t
45421 s,@libexecdir@,$libexecdir,;t t
45422 s,@datadir@,$datadir,;t t
45423 s,@sysconfdir@,$sysconfdir,;t t
45424 s,@sharedstatedir@,$sharedstatedir,;t t
45425 s,@localstatedir@,$localstatedir,;t t
45426 s,@libdir@,$libdir,;t t
45427 s,@includedir@,$includedir,;t t
45428 s,@oldincludedir@,$oldincludedir,;t t
45429 s,@infodir@,$infodir,;t t
45430 s,@mandir@,$mandir,;t t
45431 s,@build_alias@,$build_alias,;t t
45432 s,@host_alias@,$host_alias,;t t
45433 s,@target_alias@,$target_alias,;t t
45434 s,@DEFS@,$DEFS,;t t
45435 s,@ECHO_C@,$ECHO_C,;t t
45436 s,@ECHO_N@,$ECHO_N,;t t
45437 s,@ECHO_T@,$ECHO_T,;t t
45438 s,@LIBS@,$LIBS,;t t
45439 s,@build@,$build,;t t
45440 s,@build_cpu@,$build_cpu,;t t
45441 s,@build_vendor@,$build_vendor,;t t
45442 s,@build_os@,$build_os,;t t
45443 s,@host@,$host,;t t
45444 s,@host_cpu@,$host_cpu,;t t
45445 s,@host_vendor@,$host_vendor,;t t
45446 s,@host_os@,$host_os,;t t
45447 s,@target@,$target,;t t
45448 s,@target_cpu@,$target_cpu,;t t
45449 s,@target_vendor@,$target_vendor,;t t
45450 s,@target_os@,$target_os,;t t
45452 s,@CFLAGS@,$CFLAGS,;t t
45453 s,@LDFLAGS@,$LDFLAGS,;t t
45454 s,@CPPFLAGS@,$CPPFLAGS,;t t
45455 s,@ac_ct_CC@,$ac_ct_CC,;t t
45456 s,@EXEEXT@,$EXEEXT,;t t
45457 s,@OBJEXT@,$OBJEXT,;t t
45459 s,@EGREP@,$EGREP,;t t
45461 s,@CXXFLAGS@,$CXXFLAGS,;t t
45462 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
45463 s,@RANLIB@,$RANLIB,;t t
45464 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
45466 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
45467 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
45468 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
45469 s,@STRIP@,$STRIP,;t t
45470 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
45471 s,@LN_S@,$LN_S,;t t
45472 s,@CXXCPP@,$CXXCPP,;t t
45473 s,@subdirs@,$subdirs,;t t
45474 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
45475 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
45476 s,@GTK_LIBS@,$GTK_LIBS,;t t
45477 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
45478 s,@X_CFLAGS@,$X_CFLAGS,;t t
45479 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
45480 s,@X_LIBS@,$X_LIBS,;t t
45481 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
45482 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
45483 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
45484 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
45485 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
45486 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
45487 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
45488 s,@RESCOMP@,$RESCOMP,;t t
45489 s,@DEREZ@,$DEREZ,;t t
45490 s,@SETFILE@,$SETFILE,;t t
45491 s,@LIBICONV@,$LIBICONV,;t t
45492 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
45493 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
45494 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
45495 s,@SDL_LIBS@,$SDL_LIBS,;t t
45496 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
45497 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
45498 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
45499 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
45500 s,@GST_INSPECT@,$GST_INSPECT,;t t
45501 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
45502 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
45503 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
45504 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
45505 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
45506 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
45507 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
45508 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
45509 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
45510 s,@VENDOR@,$VENDOR,;t t
45511 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
45512 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
45513 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
45514 s,@WXUNIV@,$WXUNIV,;t t
45515 s,@MONOLITHIC@,$MONOLITHIC,;t t
45516 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
45517 s,@EXTRALIBS@,$EXTRALIBS,;t t
45518 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
45519 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
45520 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
45521 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
45522 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
45523 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
45524 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
45525 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
45526 s,@UNICODE@,$UNICODE,;t t
45527 s,@BUILD@,$BUILD,;t t
45528 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
45529 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
45530 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
45531 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
45532 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
45533 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
45534 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
45535 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
45536 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
45537 s,@SET_MAKE@,$SET_MAKE,;t t
45538 s,@MAKE_SET@,$MAKE_SET,;t t
45539 s,@ac_ct_AR@,$ac_ct_AR,;t t
45540 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
45542 s,@ac_ct_NM@,$ac_ct_NM,;t t
45543 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
45544 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
45545 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
45546 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
45547 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
45548 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
45549 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
45550 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
45551 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
45552 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
45553 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
45554 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
45555 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
45556 s,@LIBPREFIX@,$LIBPREFIX,;t t
45557 s,@LIBEXT@,$LIBEXT,;t t
45558 s,@DLLPREFIX@,$DLLPREFIX,;t t
45559 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
45560 s,@dlldir@,$dlldir,;t t
45561 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
45562 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
45563 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
45564 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
45565 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
45566 s,@PIC_FLAG@,$PIC_FLAG,;t t
45567 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
45568 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
45569 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
45570 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
45571 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
45572 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
45573 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
45574 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
45575 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
45576 s,@GCC_PCH@,$GCC_PCH,;t t
45577 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45578 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45579 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45580 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45581 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45582 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45583 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45584 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45585 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45586 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45587 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45588 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45589 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45590 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45591 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45592 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45593 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45594 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45595 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
45596 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
45597 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1,;t t
45598 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45599 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45600 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45601 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45602 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
45603 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
45604 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1,;t t
45605 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45606 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45607 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45608 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45609 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45610 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45611 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45612 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45613 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
45614 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45615 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45616 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45617 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45618 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45619 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45620 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45621 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45622 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45623 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45624 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45625 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45626 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45627 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45628 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45629 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45630 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45631 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45632 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45633 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45634 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45635 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45636 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45637 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45638 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45639 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45640 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45641 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45642 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45643 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45644 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45645 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45646 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45647 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45648 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45649 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45650 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45651 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45652 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45653 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45654 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45655 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45656 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45657 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45658 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45659 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45660 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45661 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45662 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45663 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45664 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45665 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45666 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45667 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45668 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45669 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45670 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45671 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45672 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45673 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45674 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45675 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45676 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45677 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45678 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45679 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45680 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45681 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45682 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45683 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45684 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45685 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45686 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45687 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45688 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45689 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45690 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45691 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45692 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45693 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45694 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
45695 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45696 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45697 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45698 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45699 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45700 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45701 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
45702 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45703 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45704 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45705 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45706 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45707 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45708 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45709 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45710 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45711 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45712 s,@SHARED@,$SHARED,;t t
45713 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45714 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45715 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45716 s,@USE_GUI@,$USE_GUI,;t t
45717 s,@AFMINSTALL@,$AFMINSTALL,;t t
45718 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45719 s,@TOOLKIT@,$TOOLKIT,;t t
45720 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45721 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45722 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45723 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45724 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45725 s,@cross_compiling@,$cross_compiling,;t t
45726 s,@WIDGET_SET@,$WIDGET_SET,;t t
45727 s,@WX_RELEASE@,$WX_RELEASE,;t t
45728 s,@WX_VERSION@,$WX_VERSION,;t t
45729 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45730 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45731 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45732 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45733 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45734 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45735 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45736 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45737 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
45738 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45739 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45740 s,@EXE_LINKER@,$EXE_LINKER,;t t
45741 s,@GUIDIST@,$GUIDIST,;t t
45742 s,@DISTDIR@,$DISTDIR,;t t
45743 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45744 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45745 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45746 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45747 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45748 s,@RESFLAGS@,$RESFLAGS,;t t
45749 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45750 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45751 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45752 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45753 s,@MACRESCOMP@,$MACRESCOMP,;t t
45754 s,@MACSETFILE@,$MACSETFILE,;t t
45755 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45757 s,@DLLTOOL@,$DLLTOOL,;t t
45758 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45759 s,@LIBOBJS@,$LIBOBJS,;t t
45760 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45765 cat >>$CONFIG_STATUS <<\_ACEOF
45766 # Split the substitutions into bite-sized pieces for seds with
45767 # small command number limits, like on Digital OSF/1 and HP-UX.
45768 ac_max_sed_lines
=48
45769 ac_sed_frag
=1 # Number of current file.
45770 ac_beg
=1 # First line for current file.
45771 ac_end
=$ac_max_sed_lines # Line after last line for current file.
45774 while $ac_more_lines; do
45775 if test $ac_beg -gt 1; then
45776 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45778 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45780 if test ! -s $tmp/subs.frag
; then
45781 ac_more_lines
=false
45783 # The purpose of the label and of the branching condition is to
45784 # speed up the sed processing (if there are no `@' at all, there
45785 # is no need to browse any of the substitutions).
45786 # These are the two extra sed commands mentioned above.
45788 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
45789 if test -z "$ac_sed_cmds"; then
45790 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
45792 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45794 ac_sed_frag
=`expr $ac_sed_frag + 1`
45796 ac_end
=`expr $ac_end + $ac_max_sed_lines`
45799 if test -z "$ac_sed_cmds"; then
45802 fi # test -n "$CONFIG_FILES"
45805 cat >>$CONFIG_STATUS <<\_ACEOF
45806 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
45807 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45809 - | *:- | *:-:* ) # input from stdin
45811 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45812 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45813 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45814 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45815 * ) ac_file_in
=$ac_file.
in ;;
45818 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45819 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45820 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45821 X"$ac_file" : 'X\(//\)[^/]' \| \
45822 X"$ac_file" : 'X\(//\)$' \| \
45823 X"$ac_file" : 'X\(/\)' \| \
45824 . : '\(.\)' 2>/dev/null ||
45826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45827 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45828 /^X\(\/\/\)$/{ s//\1/; q; }
45829 /^X\(\/\).*/{ s//\1/; q; }
45831 { if $as_mkdir_p; then
45836 while test ! -d "$as_dir"; do
45837 as_dirs
="$as_dir $as_dirs"
45838 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45839 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45840 X"$as_dir" : 'X\(//\)[^/]' \| \
45841 X"$as_dir" : 'X\(//\)$' \| \
45842 X"$as_dir" : 'X\(/\)' \| \
45843 . : '\(.\)' 2>/dev/null ||
45845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45846 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45847 /^X\(\/\/\)$/{ s//\1/; q; }
45848 /^X\(\/\).*/{ s//\1/; q; }
45851 test ! -n "$as_dirs" || mkdir $as_dirs
45852 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45853 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45854 { (exit 1); exit 1; }; }; }
45858 if test "$ac_dir" != .
; then
45859 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45860 # A "../" for each directory in $ac_dir_suffix.
45861 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45863 ac_dir_suffix
= ac_top_builddir
=
45867 .
) # No --srcdir option. We are building in place.
45869 if test -z "$ac_top_builddir"; then
45872 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45874 [\\/]* | ?
:[\\/]* ) # Absolute path.
45875 ac_srcdir
=$srcdir$ac_dir_suffix;
45876 ac_top_srcdir
=$srcdir ;;
45877 *) # Relative path.
45878 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45879 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45882 # Do not use `cd foo && pwd` to compute absolute paths, because
45883 # the directories may not exist.
45885 .
) ac_abs_builddir
="$ac_dir";;
45888 .
) ac_abs_builddir
=`pwd`;;
45889 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45890 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45893 case $ac_abs_builddir in
45894 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45896 case ${ac_top_builddir}.
in
45897 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45898 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45899 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45902 case $ac_abs_builddir in
45903 .
) ac_abs_srcdir
=$ac_srcdir;;
45906 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45907 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45908 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45911 case $ac_abs_builddir in
45912 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45914 case $ac_top_srcdir in
45915 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45916 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45917 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45923 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
45924 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
45927 if test x
"$ac_file" != x
-; then
45928 { echo "$as_me:$LINENO: creating $ac_file" >&5
45929 echo "$as_me: creating $ac_file" >&6;}
45932 # Let's still pretend it is `configure' which instantiates (i.e., don't
45933 # use $as_me), people would be surprised to read:
45934 # /* config.h. Generated by config.status. */
45935 if test x
"$ac_file" = x
-; then
45938 configure_input
="$ac_file. "
45940 configure_input
=$configure_input"Generated from `echo $ac_file_in |
45941 sed 's,.*/,,'` by configure."
45943 # First look for the input files in the build tree, otherwise in the
45945 ac_file_inputs
=`IFS=:
45946 for f in $ac_file_in; do
45948 -) echo $tmp/stdin ;;
45950 # Absolute (can't be DOS-style, as IFS=:)
45951 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45952 echo "$as_me: error: cannot find input file: $f" >&2;}
45953 { (exit 1); exit 1; }; }
45956 if test -f "$f"; then
45959 elif test -f "$srcdir/$f"; then
45964 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45965 echo "$as_me: error: cannot find input file: $f" >&2;}
45966 { (exit 1); exit 1; }; }
45969 done` || { (exit 1); exit 1; }
45971 cat >>$CONFIG_STATUS <<_ACEOF
45975 cat >>$CONFIG_STATUS <<\_ACEOF
45977 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
45978 s
,@configure_input@
,$configure_input,;t t
45979 s
,@srcdir@
,$ac_srcdir,;t t
45980 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
45981 s
,@top_srcdir@
,$ac_top_srcdir,;t t
45982 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
45983 s
,@builddir@
,$ac_builddir,;t t
45984 s
,@abs_builddir@
,$ac_abs_builddir,;t t
45985 s
,@top_builddir@
,$ac_top_builddir,;t t
45986 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
45987 s
,@INSTALL@
,$ac_INSTALL,;t t
45988 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45990 if test x"$ac_file" != x-; then
45991 mv $tmp/out $ac_file
45997 # Run the commands associated with the file.
45999 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
46000 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
46004 cat >>$CONFIG_STATUS <<\_ACEOF
46007 # CONFIG_HEADER section.
46010 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
46011 # NAME is the cpp macro being defined and VALUE is the value it is being given.
46013 # ac_d sets the value in "#define NAME VALUE" lines.
46014 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
46015 ac_dB
='[ ].*$,\1#\2'
46018 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
46019 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
46020 ac_uB
='$,\1#\2define\3'
46024 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
46025 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
46027 - | *:- | *:-:* ) # input from stdin
46029 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46030 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46031 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46032 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46033 * ) ac_file_in
=$ac_file.
in ;;
46036 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
46037 echo "$as_me: creating $ac_file" >&6;}
46039 # First look for the input files in the build tree, otherwise in the
46041 ac_file_inputs
=`IFS=:
46042 for f in $ac_file_in; do
46044 -) echo $tmp/stdin ;;
46046 # Absolute (can't be DOS-style, as IFS=:)
46047 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46048 echo "$as_me: error: cannot find input file: $f" >&2;}
46049 { (exit 1); exit 1; }; }
46050 # Do quote $f, to prevent DOS paths from being IFS'd.
46053 if test -f "$f"; then
46056 elif test -f "$srcdir/$f"; then
46061 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46062 echo "$as_me: error: cannot find input file: $f" >&2;}
46063 { (exit 1); exit 1; }; }
46066 done` || { (exit 1); exit 1; }
46067 # Remove the trailing spaces.
46068 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
46072 # Transform confdefs.h into two sed scripts, `conftest.defines' and
46073 # `conftest.undefs', that substitutes the proper values into
46074 # config.h.in to produce config.h. The first handles `#define'
46075 # templates, and the second `#undef' templates.
46076 # And first: Protect against being on the right side of a sed subst in
46077 # config.status. Protect against being in an unquoted here document
46078 # in config.status.
46079 rm -f conftest.defines conftest.undefs
46080 # Using a here document instead of a string reduces the quoting nightmare.
46081 # Putting comments in sed scripts is not portable.
46083 # `end' is used to avoid that the second main sed command (meant for
46084 # 0-ary CPP macros) applies to n-ary macro definitions.
46085 # See the Autoconf documentation for `clear'.
46086 cat >confdef2sed.
sed <<\_ACEOF
46091 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
46093 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
46096 # If some macros were called several times there might be several times
46097 # the same #defines, which is useless. Nevertheless, we may not want to
46098 # sort them, since we want the *last* AC-DEFINE to be honored.
46099 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
46100 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
46101 rm -f confdef2sed.sed
46103 # This sed command replaces #undef with comments. This is necessary, for
46104 # example, in the case of _POSIX_SOURCE, which is predefined and required
46105 # on some systems where configure will not decide to define it.
46106 cat >>conftest.undefs <<\_ACEOF
46107 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
46110 # Break up conftest.defines because some shells have a limit on the size
46111 # of here documents, and old seds have small limits too (100 cmds).
46112 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
46113 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
46114 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
46115 echo ' :' >>$CONFIG_STATUS
46116 rm -f conftest.tail
46117 while grep . conftest.defines >/dev/null
46119 # Write a limited-size here document to $tmp/defines.sed.
46120 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
46121 # Speed up: don't consider the non `#define' lines.
46122 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
46123 # Work around the forget-to-reset-the-flag bug.
46124 echo 't clr' >>$CONFIG_STATUS
46125 echo ': clr' >>$CONFIG_STATUS
46126 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
46128 sed -f $tmp/defines.sed $tmp/in >$tmp/out
46130 mv $tmp/out $tmp/in
46132 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
46133 rm -f conftest.defines
46134 mv conftest.
tail conftest.defines
46136 rm -f conftest.defines
46137 echo ' fi # grep' >>$CONFIG_STATUS
46138 echo >>$CONFIG_STATUS
46140 # Break up conftest.undefs because some shells have a limit on the size
46141 # of here documents, and old seds have small limits too (100 cmds).
46142 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
46143 rm -f conftest.
tail
46144 while grep . conftest.undefs
>/dev
/null
46146 # Write a limited-size here document to $tmp/undefs.sed.
46147 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
46148 # Speed up: don't consider the non
`#undef'
46149 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
46150 # Work around the forget-to-reset-the-flag bug.
46151 echo 't clr' >>$CONFIG_STATUS
46152 echo ': clr' >>$CONFIG_STATUS
46153 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
46155 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
46157 mv $tmp/out $tmp/in
46159 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
46160 rm -f conftest.undefs
46161 mv conftest.tail conftest.undefs
46163 rm -f conftest.undefs
46165 cat >>$CONFIG_STATUS <<\_ACEOF
46166 # Let's still pretend it is `configure
' which instantiates (i.e., don't
46167 # use $as_me), people would be surprised to read:
46168 # /* config.h. Generated by config.status. */
46169 if test x
"$ac_file" = x
-; then
46170 echo "/* Generated by configure. */" >$tmp/config.h
46172 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
46174 cat $tmp/in >>$tmp/config.h
46176 if test x
"$ac_file" != x
-; then
46177 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
46178 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
46179 echo "$as_me: $ac_file is unchanged" >&6;}
46181 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
46182 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46183 X"$ac_file" : 'X\(//\)[^/]' \| \
46184 X"$ac_file" : 'X\(//\)$' \| \
46185 X"$ac_file" : 'X\(/\)' \| \
46186 . : '\(.\)' 2>/dev/null ||
46188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46189 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46190 /^X\(\/\/\)$/{ s//\1/; q; }
46191 /^X\(\/\).*/{ s//\1/; q; }
46193 { if $as_mkdir_p; then
46198 while test ! -d "$as_dir"; do
46199 as_dirs
="$as_dir $as_dirs"
46200 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46202 X"$as_dir" : 'X\(//\)[^/]' \| \
46203 X"$as_dir" : 'X\(//\)$' \| \
46204 X"$as_dir" : 'X\(/\)' \| \
46205 . : '\(.\)' 2>/dev/null ||
46207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46208 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46209 /^X\(\/\/\)$/{ s//\1/; q; }
46210 /^X\(\/\).*/{ s//\1/; q; }
46213 test ! -n "$as_dirs" || mkdir $as_dirs
46214 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46215 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46216 { (exit 1); exit 1; }; }; }
46219 mv $tmp/config.h
$ac_file
46223 rm -f $tmp/config.h
46227 cat >>$CONFIG_STATUS <<\_ACEOF
46230 # CONFIG_COMMANDS section.
46232 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
46233 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
46234 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46235 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
46236 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46237 X"$ac_dest" : 'X\(//\)[^/]' \| \
46238 X"$ac_dest" : 'X\(//\)$' \| \
46239 X"$ac_dest" : 'X\(/\)' \| \
46240 . : '\(.\)' 2>/dev/null ||
46242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46243 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46244 /^X\(\/\/\)$/{ s//\1/; q; }
46245 /^X\(\/\).*/{ s//\1/; q; }
46247 { if $as_mkdir_p; then
46252 while test ! -d "$as_dir"; do
46253 as_dirs
="$as_dir $as_dirs"
46254 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46255 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46256 X"$as_dir" : 'X\(//\)[^/]' \| \
46257 X"$as_dir" : 'X\(//\)$' \| \
46258 X"$as_dir" : 'X\(/\)' \| \
46259 . : '\(.\)' 2>/dev/null ||
46261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46262 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46263 /^X\(\/\/\)$/{ s//\1/; q; }
46264 /^X\(\/\).*/{ s//\1/; q; }
46267 test ! -n "$as_dirs" || mkdir $as_dirs
46268 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46269 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46270 { (exit 1); exit 1; }; }; }
46274 if test "$ac_dir" != .
; then
46275 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46276 # A "../" for each directory in $ac_dir_suffix.
46277 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46279 ac_dir_suffix
= ac_top_builddir
=
46283 .
) # No --srcdir option. We are building in place.
46285 if test -z "$ac_top_builddir"; then
46288 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
46290 [\\/]* | ?
:[\\/]* ) # Absolute path.
46291 ac_srcdir
=$srcdir$ac_dir_suffix;
46292 ac_top_srcdir
=$srcdir ;;
46293 *) # Relative path.
46294 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
46295 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
46298 # Do not use `cd foo && pwd` to compute absolute paths, because
46299 # the directories may not exist.
46301 .
) ac_abs_builddir
="$ac_dir";;
46304 .
) ac_abs_builddir
=`pwd`;;
46305 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
46306 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
46309 case $ac_abs_builddir in
46310 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46312 case ${ac_top_builddir}.
in
46313 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
46314 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46315 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
46318 case $ac_abs_builddir in
46319 .
) ac_abs_srcdir
=$ac_srcdir;;
46322 .
) ac_abs_srcdir
=$ac_abs_builddir;;
46323 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
46324 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
46327 case $ac_abs_builddir in
46328 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
46330 case $ac_top_srcdir in
46331 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
46332 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
46333 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46338 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
46339 echo "$as_me: executing $ac_dest commands" >&6;}
46341 wx
-config ) rm -f wx
-config
46342 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
46348 cat >>$CONFIG_STATUS <<\_ACEOF
46350 { (exit 0); exit 0; }
46352 chmod +x
$CONFIG_STATUS
46353 ac_clean_files
=$ac_clean_files_save
46356 # configure is writing to config.log, and then calls config.status.
46357 # config.status does its own redirection, appending to config.log.
46358 # Unfortunately, on DOS this fails, as config.log is still kept open
46359 # by configure, so config.status won't be able to write to it; its
46360 # output is simply discarded. So we exec the FD to /dev/null,
46361 # effectively closing config.log, so it can be properly (re)opened and
46362 # appended to by config.status. When coming back to configure, we
46363 # need to make the FD available again.
46364 if test "$no_create" != yes; then
46366 ac_config_status_args
=
46367 test "$silent" = yes &&
46368 ac_config_status_args
="$ac_config_status_args --quiet"
46370 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
46372 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
46373 # would make configure fail if this is the last instruction.
46374 $ac_cs_success || { (exit 1); exit 1; }
46378 # CONFIG_SUBDIRS section.
46380 if test "$no_recursion" != yes; then
46382 # Remove --cache-file and --srcdir arguments so they do not pile up.
46383 ac_sub_configure_args
=
46385 for ac_arg
in $ac_configure_args; do
46386 if test -n "$ac_prev"; then
46391 -cache-file | --cache-file | --cache-fil | --cache-fi \
46392 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
46393 ac_prev
=cache_file
;;
46394 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
46395 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
46398 --config-cache | -C)
46400 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
46402 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
46404 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
46406 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
46408 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
46412 # Always prepend --prefix to ensure using the same prefix
46413 # in subdir configurations.
46414 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
46417 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
46419 # Do not complain, so a configure script can configure whichever
46420 # parts of a large source tree are present.
46421 test -d $srcdir/$ac_dir || continue
46423 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
46424 echo "$as_me: configuring in $ac_dir" >&6;}
46425 { if $as_mkdir_p; then
46430 while test ! -d "$as_dir"; do
46431 as_dirs
="$as_dir $as_dirs"
46432 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46433 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46434 X"$as_dir" : 'X\(//\)[^/]' \| \
46435 X"$as_dir" : 'X\(//\)$' \| \
46436 X"$as_dir" : 'X\(/\)' \| \
46437 . : '\(.\)' 2>/dev/null ||
46439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46441 /^X\(\/\/\)$/{ s//\1/; q; }
46442 /^X\(\/\).*/{ s//\1/; q; }
46445 test ! -n "$as_dirs" || mkdir $as_dirs
46446 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46447 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46448 { (exit 1); exit 1; }; }; }
46452 if test "$ac_dir" != .
; then
46453 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46454 # A "../" for each directory in $ac_dir_suffix.
46455 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46457 ac_dir_suffix
= ac_top_builddir
=
46461 .
) # No --srcdir option. We are building in place.
46463 if test -z "$ac_top_builddir"; then
46466 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
46468 [\\/]* | ?
:[\\/]* ) # Absolute path.
46469 ac_srcdir
=$srcdir$ac_dir_suffix;
46470 ac_top_srcdir
=$srcdir ;;
46471 *) # Relative path.
46472 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
46473 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
46476 # Do not use `cd foo && pwd` to compute absolute paths, because
46477 # the directories may not exist.
46479 .
) ac_abs_builddir
="$ac_dir";;
46482 .
) ac_abs_builddir
=`pwd`;;
46483 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
46484 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
46487 case $ac_abs_builddir in
46488 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46490 case ${ac_top_builddir}.
in
46491 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
46492 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46493 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
46496 case $ac_abs_builddir in
46497 .
) ac_abs_srcdir
=$ac_srcdir;;
46500 .
) ac_abs_srcdir
=$ac_abs_builddir;;
46501 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
46502 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
46505 case $ac_abs_builddir in
46506 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
46508 case $ac_top_srcdir in
46509 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
46510 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
46511 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46518 # Check for guested configure; otherwise get Cygnus style configure.
46519 if test -f $ac_srcdir/configure.gnu
; then
46520 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
46521 elif test -f $ac_srcdir/configure
; then
46522 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
46523 elif test -f $ac_srcdir/configure.
in; then
46524 ac_sub_configure
=$ac_configure
46526 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
46527 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
46531 # The recursion is here.
46532 if test -n "$ac_sub_configure"; then
46533 # Make the cache file name correct relative to the subdirectory.
46534 case $cache_file in
46535 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
46536 *) # Relative path.
46537 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
46540 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
46541 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
46542 # The eval makes quoting arguments work.
46543 eval $ac_sub_configure $ac_sub_configure_args \
46544 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
46545 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
46546 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
46547 { (exit 1); exit 1; }; }
46556 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
46558 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
46559 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
46561 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
46562 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
46563 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
46565 echo " What level of wxWidgets compatibility should be enabled?"
46566 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
46567 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
46569 echo " Which libraries should wxWidgets use?"
46570 echo " jpeg ${wxUSE_LIBJPEG-none}"
46571 echo " png ${wxUSE_LIBPNG-none}"
46572 echo " regex ${wxUSE_REGEX}"
46573 echo " tiff ${wxUSE_LIBTIFF-none}"
46574 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
46575 echo " xpm ${wxUSE_LIBXPM-none}"
46577 echo " zlib ${wxUSE_ZLIB}"
46578 echo " odbc ${wxUSE_ODBC}"
46579 echo " expat ${wxUSE_EXPAT}"
46580 echo " libmspack ${wxUSE_LIBMSPACK}"
46581 echo " sdl ${wxUSE_LIBSDL}"
46582 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"