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.0.
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.0'
274 PACKAGE_STRING
='wxWidgets 2.6.0'
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 AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS 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_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_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_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_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.0 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.0:";;
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 --enable-gpe use GNOME PDA Environment features
if possible
876 --enable-shared create shared library code
877 --enable-optimise create optimised code
878 --enable-debug same as debug_flag and debug_info
879 --enable-stl use STL
for containers
880 --enable-omf use OMF object format
881 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
882 --enable-debug_info create code with debugging information
883 --enable-debug_gdb create code with extra GDB debugging information
884 --enable-debug_cntxt use wxDebugContext
885 --enable-mem_tracing create code with memory tracing
886 --enable-profile create code with profiling information
887 --enable-no_rtti create code without RTTI information
888 --enable-no_exceptions create code without C
++ exceptions handling
889 --enable-permissive compile code disregarding strict ANSI
890 --enable-no_deps create code without dependency information
891 --enable-compat22 enable wxWidgets
2.2 compatibility
892 --disable-compat24 disable wxWidgets
2.4 compatibility
893 --disable-rpath disable use of rpath
for uninstalled builds
894 --enable-intl use internationalization system
895 --enable-config use wxConfig
(and derived
) classes
896 --enable-protocols use wxProtocol and derived classes
897 --enable-ftp use wxFTP
(requires wxProtocol
898 --enable-http use wxHTTP
(requires wxProtocol
899 --enable-fileproto use wxFileProto class
(requires wxProtocol
900 --enable-sockets use socket
/network classes
901 --enable-ole use OLE classes
(Win32 only
)
902 --enable-dataobj use data object classes
903 --enable-ipc use interprocess communication
(wxSocket etc.
)
904 --enable-apple_ieee use the Apple IEEE codec
905 --enable-arcstream use wxArchive streams
906 --enable-backtrace use wxStackWalker class
for getting backtraces
907 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
908 --enable-cmdline use wxCmdLineParser class
909 --enable-datetime use wxDateTime class
910 --enable-debugreport use wxDebugReport class
911 --enable-dialupman use dialup network classes
912 --enable-dynlib use wxLibrary class
for DLL loading
913 --enable-dynamicloader use
(new
) wxDynamicLibrary class
914 --enable-exceptions build exception
-safe library
915 --enable-ffile use wxFFile class
916 --enable-file use wxFile class
917 --enable-filesystem use virtual
file systems classes
918 --enable-fontmap use font encodings conversion classes
919 --enable-fs_inet use virtual HTTP
/FTP filesystems
920 --enable-fs_zip use virtual ZIP filesystems
921 --enable-geometry use geometry class
922 --enable-log use logging system
923 --enable-longlong use wxLongLong class
924 --enable-mimetype use wxMimeTypesManager
925 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
926 --enable-snglinst use wxSingleInstanceChecker class
927 --enable-std_iostreams use standard C
++ stream classes
928 --enable-std_string use standard C
++ string classes
929 --enable-stdpaths use wxStandardPaths class
930 --enable-stopwatch use wxStopWatch class
931 --enable-streams use wxStream etc classes
932 --enable-sysoptions use wxSystemOptions
933 --enable-textbuf use wxTextBuffer class
934 --enable-textfile use wxTextFile class
935 --enable-timer use wxTimer class
936 --enable-unicode compile wxString with Unicode support
937 --enable-sound use wxSound class
938 --enable-mediactrl use wxMediaCtrl class
939 --enable-wxprintfv use wxWidgets implementation of vprintf
()
940 --enable-zipstream use wxZip streams
941 --enable-url use wxURL class
942 --enable-protocol use wxProtocol class
943 --enable-protocol-http HTTP support
in wxProtocol
944 --enable-protocol-ftp FTP support
in wxProtocol
945 --enable-protocol-file FILE support
in wxProtocol
946 --enable-threads use threads
947 --enable-docview use document view architecture
948 --enable-help use
help subsystem
949 --enable-mshtmlhelp use MS HTML Help
(win32
)
950 --enable-html use wxHTML sub
-library
951 --enable-htmlhelp use wxHTML
-based help
952 --enable-xrc use XRC resources sub
-library
953 --enable-constraints use layout
-constraints system
954 --enable-printarch use printing architecture
955 --enable-mdi use multiple document interface architecture
956 --enable-mdidoc use docview architecture with MDI
957 --enable-loggui use standard GUI logger
958 --enable-logwin use wxLogWindow
959 --enable-logdialog use wxLogDialog
960 --enable-webkit use wxWebKitCtrl
(Mac
)
961 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
962 --enable-prologio not available
; see contrib
963 --enable-resources not available
; see contrib
964 --enable-clipboard use wxClipboard class
965 --enable-dnd use Drag
'n'Drop classes
966 --enable-metafile use win32 metafiles
967 --enable-controls use all usual controls
968 --enable-accel use accelerators
969 --enable-button use wxButton class
970 --enable-bmpbutton use wxBitmapButton class
971 --enable-calendar use wxCalendarCtrl class
972 --enable-caret use wxCaret class
973 --enable-checkbox use wxCheckBox class
974 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
975 --enable-choice use wxChoice class
976 --enable-choicebook use wxChoicebook class
977 --enable-combobox use wxComboBox class
978 --enable-datepick use wxDatePickerCtrl class
979 --enable-display use wxDisplay class
980 --enable-gauge use wxGauge class
981 --enable-grid use wxGrid class
982 --enable-imaglist use wxImageList class
983 --enable-listbook use wxListbook class
984 --enable-listbox use wxListBox class
985 --enable-listctrl use wxListCtrl class
986 --enable-notebook use wxNotebook class
987 --enable-radiobox use wxRadioBox class
988 --enable-radiobtn use wxRadioButton class
989 --enable-sash use wxSashWindow class
990 --enable-scrollbar use wxScrollBar class and scrollable windows
991 --enable-slider use wxSlider class
992 --enable-spinbtn use wxSpinButton class
993 --enable-spinctrl use wxSpinCtrl class
994 --enable-splitter use wxSplitterWindow class
995 --enable-statbmp use wxStaticBitmap class
996 --enable-statbox use wxStaticBox class
997 --enable-statline use wxStaticLine class
998 --enable-stattext use wxStaticText class
999 --enable-statusbar use wxStatusBar class
1000 --enable-tabdialog use wxTabControl class
1001 --enable-textctrl use wxTextCtrl class
1002 --enable-togglebtn use wxToggleButton class
1003 --enable-toolbar use wxToolBar class
1004 --enable-tbarnative use native wxToolBar class
1005 --enable-tbarsmpl use wxToolBarSimple class
1006 --enable-treectrl use wxTreeCtrl class
1007 --enable-tipwindow use wxTipWindow class
1008 --enable-popupwin use wxPopUpWindow class
1009 --enable-commondlg use all common dialogs
1010 --enable-choicedlg use wxChoiceDialog
1011 --enable-coldlg use wxColourDialog
1012 --enable-filedlg use wxFileDialog
1013 --enable-finddlg use wxFindReplaceDialog
1014 --enable-fontdlg use wxFontDialog
1015 --enable-dirdlg use wxDirDialog
1016 --enable-msgdlg use wxMessageDialog
1017 --enable-numberdlg use wxNumberEntryDialog
1018 --enable-splash use wxSplashScreen
1019 --enable-textdlg use wxTextDialog
1020 --enable-tipdlg use startup tips
1021 --enable-progressdlg use wxProgressDialog
1022 --enable-wizarddlg use wxWizard
1023 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1024 --enable-miniframe use wxMiniFrame class
1025 --enable-tooltips use wxToolTip class
1026 --enable-splines use spline drawing code
1027 --enable-mousewheel use mousewheel
1028 --enable-validators use wxValidator and derived classes
1029 --enable-busyinfo use wxBusyInfo
1030 --enable-joystick use wxJoystick
1031 --enable-metafiles use wxMetaFile
(Windows only
)
1032 --enable-dragimage use wxDragImage
1033 --enable-accessibility enable accessibility support
1034 --enable-palette use wxPalette class
1035 --enable-image use wxImage class
1036 --enable-gif use gif images
(GIF
file format
)
1037 --enable-pcx use pcx images
(PCX
file format
)
1038 --enable-iff use iff images
(IFF
file format
)
1039 --enable-pnm use pnm images
(PNM
file format
)
1040 --enable-xpm use xpm images
(XPM
file format
)
1041 --enable-icocur use Windows ICO and CUR formats
1042 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1043 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1044 --disable-largefile omit support
for large files
1045 --disable-gtktest do not try to compile and run a
test GTK
+ program
1046 --disable-gtktest Do not try to compile and run a
test GTK program
1047 --disable-sdltest Do not try to compile and run a
test SDL program
1048 --enable-omf use OMF object format
(OS
/2)
1049 --disable-precomp-headers
1050 don
't use precompiled headers even if compiler can
1053 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1054 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1055 --with-gtk use GTK+ (currently uses 2.0)
1056 --with-gtk1 use GTK+ 1.2
1057 --with-gtk2 use GTK+ 2.0
1058 --with-motif use Motif/Lesstif
1059 --with-mac use Mac OS X
1060 --with-cocoa use Cocoa
1061 --with-wine use Wine
1062 --with-msw use MS-Windows
1063 --with-pm use OS/2 Presentation Manager
1064 --with-mgl use SciTech MGL
1065 --with-microwin use MicroWindows
1067 --with-libpng use libpng (PNG image format)
1068 --with-libjpeg use libjpeg (JPEG file format)
1069 --with-libtiff use libtiff (TIFF file format)
1070 --with-libxpm use libxpm (XPM file format)
1071 --with-libmspack use libmspack (CHM help files loading)
1072 --with-sdl use SDL for audio on Unix
1073 --with-gnomeprint use GNOME print for printing under Unix
1074 --with-opengl use OpenGL (or Mesa)
1075 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1076 --with-regex enable support for wxRegEx class
1077 --with-zlib use zlib for LZW compression
1078 --with-odbc use the IODBC and wxODBC classes
1079 --with-expat enable XML support using expat parser
1080 --with-flavour=NAME specify a name to identify this build
1081 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1082 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1083 --with-x use the X Window System
1084 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1085 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1086 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1087 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1088 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1090 Some influential environment variables:
1091 CC C compiler command
1092 CFLAGS C compiler flags
1093 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1094 nonstandard directory <lib dir>
1095 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1096 headers in a nonstandard directory <include dir>
1098 CXX C++ compiler command
1099 CXXFLAGS C++ compiler flags
1100 CXXCPP C++ preprocessor
1102 Use these variables to override the choices made by `configure' or to
help
1103 it to
find libraries and programs with nonstandard names
/locations.
1105 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1109 if test "$ac_init_help" = "recursive"; then
1110 # If there are subdirs, report their specific --help.
1112 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1113 test -d $ac_dir || continue
1116 if test "$ac_dir" != .
; then
1117 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1118 # A "../" for each directory in $ac_dir_suffix.
1119 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1121 ac_dir_suffix
= ac_top_builddir
=
1125 .
) # No --srcdir option. We are building in place.
1127 if test -z "$ac_top_builddir"; then
1130 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1132 [\\/]* | ?
:[\\/]* ) # Absolute path.
1133 ac_srcdir
=$srcdir$ac_dir_suffix;
1134 ac_top_srcdir
=$srcdir ;;
1136 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1137 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1140 # Do not use `cd foo && pwd` to compute absolute paths, because
1141 # the directories may not exist.
1143 .
) ac_abs_builddir
="$ac_dir";;
1146 .
) ac_abs_builddir
=`pwd`;;
1147 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1148 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1151 case $ac_abs_builddir in
1152 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1154 case ${ac_top_builddir}.
in
1155 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1156 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1157 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1160 case $ac_abs_builddir in
1161 .
) ac_abs_srcdir
=$ac_srcdir;;
1164 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1165 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1166 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1169 case $ac_abs_builddir in
1170 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1172 case $ac_top_srcdir in
1173 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1174 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1175 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1180 # Check for guested configure; otherwise get Cygnus style configure.
1181 if test -f $ac_srcdir/configure.gnu
; then
1183 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1184 elif test -f $ac_srcdir/configure
; then
1186 $SHELL $ac_srcdir/configure
--help=recursive
1187 elif test -f $ac_srcdir/configure.ac
||
1188 test -f $ac_srcdir/configure.
in; then
1190 $ac_configure --help
1192 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1198 test -n "$ac_init_help" && exit 0
1199 if $ac_init_version; then
1201 wxWidgets configure
2.6.0
1202 generated by GNU Autoconf
2.59
1204 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1205 This configure
script is free software
; the Free Software Foundation
1206 gives unlimited permission to copy
, distribute and modify it.
1212 This file contains any messages produced by compilers while
1213 running configure, to aid debugging if configure makes a mistake.
1215 It was created by wxWidgets $as_me 2.6.0, which was
1216 generated by GNU Autoconf 2.59. Invocation command line was
1227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1239 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1250 test -z "$as_dir" && as_dir
=.
1251 echo "PATH: $as_dir"
1266 # Keep a trace of the command line.
1267 # Strip out --no-create and --no-recursion so they do not pile up.
1268 # Strip out --silent because we don't want to record it for future runs.
1269 # Also quote any args containing shell meta-characters.
1270 # Make two passes to allow for proper duplicate-argument suppression.
1275 ac_must_keep_next
=false
1281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283 | -silent | --silent | --silen | --sile | --sil)
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1291 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1292 if test $ac_must_keep_next = true
; then
1293 ac_must_keep_next
=false
# Got value, back to normal.
1296 *=* | --config-cache | -C | -disable-* | --disable-* \
1297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1299 | -with-* | --with-* | -without-* | --without-* | --x)
1300 case "$ac_configure_args0 " in
1301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1304 -* ) ac_must_keep_next
=true
;;
1307 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1308 # Get rid of the leading space.
1314 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1315 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1317 # When interrupted or exit'd, cleanup temporary files, and complete
1318 # config.log. We remove comments because anyway the quotes in there
1319 # would cause problems or look ugly.
1320 # WARNING: Be sure not to use single quotes in there, as some shells,
1321 # such as our DU 5.0 friend, will then `close' the trap.
1322 trap 'exit_status=$?
1323 # Save into config.log some information that might help in debugging.
1328 ## ---------------- ##
1329 ## Cache variables. ##
1330 ## ---------------- ##
1333 # The following way of writing the cache mishandles newlines in values,
1336 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1339 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1351 ## ----------------- ##
1352 ## Output variables. ##
1353 ## ----------------- ##
1356 for ac_var in $ac_subst_vars
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1363 if test -n "$ac_subst_files"; then
1370 for ac_var in $ac_subst_files
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1378 if test -s confdefs.h; then
1385 sed "/^$/d" confdefs.h | sort
1388 test "$ac_signal" != 0 &&
1389 echo "$as_me: caught signal $ac_signal"
1390 echo "$as_me: exit $exit_status"
1392 rm -f core *.core &&
1393 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1396 for ac_signal
in 1 2 13 15; do
1397 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1401 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1402 rm -rf conftest
* confdefs.h
1403 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1406 # Predefined preprocessor variables.
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_NAME "$PACKAGE_NAME"
1413 cat >>confdefs.h
<<_ACEOF
1414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1418 cat >>confdefs.h
<<_ACEOF
1419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1423 cat >>confdefs.h
<<_ACEOF
1424 #define PACKAGE_STRING "$PACKAGE_STRING"
1428 cat >>confdefs.h
<<_ACEOF
1429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1433 # Let the site file select an alternate cache file if it wants to.
1434 # Prefer explicitly selected file to automatically selected ones.
1435 if test -z "$CONFIG_SITE"; then
1436 if test "x$prefix" != xNONE
; then
1437 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1439 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1442 for ac_site_file
in $CONFIG_SITE; do
1443 if test -r "$ac_site_file"; then
1444 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1445 echo "$as_me: loading site script $ac_site_file" >&6;}
1446 sed 's/^/| /' "$ac_site_file" >&5
1451 if test -r "$cache_file"; then
1452 # Some versions of bash will fail to source /dev/null (special
1453 # files actually), so we avoid doing that.
1454 if test -f "$cache_file"; then
1455 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1456 echo "$as_me: loading cache $cache_file" >&6;}
1458 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1459 *) . .
/$cache_file;;
1463 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1464 echo "$as_me: creating cache $cache_file" >&6;}
1468 # Check that the precious variables saved in the cache have kept the same
1470 ac_cache_corrupted
=false
1471 for ac_var
in `(set) 2>&1 |
1472 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1473 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1474 eval ac_new_set
=\
$ac_env_${ac_var}_set
1475 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1476 eval ac_new_val
="\$ac_env_${ac_var}_value"
1477 case $ac_old_set,$ac_new_set in
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1481 ac_cache_corrupted
=: ;;
1483 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1484 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1485 ac_cache_corrupted
=: ;;
1488 if test "x$ac_old_val" != "x$ac_new_val"; then
1489 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1490 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1491 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1492 echo "$as_me: former value: $ac_old_val" >&2;}
1493 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1494 echo "$as_me: current value: $ac_new_val" >&2;}
1495 ac_cache_corrupted
=:
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg
=$ac_var=$ac_new_val ;;
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1513 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1514 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1515 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1516 { (exit 1); exit 1; }; }
1520 ac_cpp
='$CPP $CPPFLAGS'
1521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1555 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1556 if test -f $ac_dir/install-sh; then
1558 ac_install_sh
="$ac_aux_dir/install-sh -c"
1560 elif test -f $ac_dir/install.sh
; then
1562 ac_install_sh
="$ac_aux_dir/install.sh -c"
1564 elif test -f $ac_dir/shtool
; then
1566 ac_install_sh
="$ac_aux_dir/shtool install -c"
1570 if test -z "$ac_aux_dir"; then
1571 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1572 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1573 { (exit 1); exit 1; }; }
1575 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1576 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1577 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1579 # Make sure we can run config.sub.
1580 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1581 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1582 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1583 { (exit 1); exit 1; }; }
1585 echo "$as_me:$LINENO: checking build system type" >&5
1586 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1587 if test "${ac_cv_build+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 ac_cv_build_alias
=$build_alias
1591 test -z "$ac_cv_build_alias" &&
1592 ac_cv_build_alias
=`$ac_config_guess`
1593 test -z "$ac_cv_build_alias" &&
1594 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1595 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1596 { (exit 1); exit 1; }; }
1597 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1598 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1599 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1600 { (exit 1); exit 1; }; }
1603 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1604 echo "${ECHO_T}$ac_cv_build" >&6
1606 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1607 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1608 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1611 echo "$as_me:$LINENO: checking host system type" >&5
1612 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1613 if test "${ac_cv_host+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 ac_cv_host_alias
=$host_alias
1617 test -z "$ac_cv_host_alias" &&
1618 ac_cv_host_alias
=$ac_cv_build_alias
1619 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1620 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1621 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1622 { (exit 1); exit 1; }; }
1625 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1626 echo "${ECHO_T}$ac_cv_host" >&6
1628 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1629 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1630 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1633 echo "$as_me:$LINENO: checking target system type" >&5
1634 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1635 if test "${ac_cv_target+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 ac_cv_target_alias
=$target_alias
1639 test "x$ac_cv_target_alias" = "x" &&
1640 ac_cv_target_alias
=$ac_cv_host_alias
1641 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1642 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1643 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1644 { (exit 1); exit 1; }; }
1647 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1648 echo "${ECHO_T}$ac_cv_target" >&6
1649 target
=$ac_cv_target
1650 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1651 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1652 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1655 # The aliases save the names the user supplied, while $host etc.
1656 # will get canonicalized.
1657 test -n "$target_alias" &&
1658 test "$program_prefix$program_suffix$program_transform_name" = \
1660 program_prefix
=${target_alias}-
1664 wx_major_version_number
=2
1665 wx_minor_version_number
=6
1667 wx_subrelease_number
=0
1669 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1670 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1671 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1673 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1689 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1695 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1701 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1703 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1705 DEFAULT_wxUSE_COCOA
=0
1709 DEFAULT_wxUSE_MICROWIN
=0
1710 DEFAULT_wxUSE_MOTIF
=0
1715 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1716 DEFAULT_DEFAULT_wxUSE_GTK
=0
1717 DEFAULT_DEFAULT_wxUSE_MAC
=0
1718 DEFAULT_DEFAULT_wxUSE_MGL
=0
1719 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1720 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1721 DEFAULT_DEFAULT_wxUSE_MSW
=0
1722 DEFAULT_DEFAULT_wxUSE_PM
=0
1723 DEFAULT_DEFAULT_wxUSE_X11
=0
1728 SAMPLES_RPATH_POSTLINK
=
1733 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1734 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1736 cat >>confdefs.h
<<\_ACEOF
1743 cat >>confdefs.h
<<\_ACEOF
1748 if test "x$TMP" = "xalpha"; then
1750 cat >>confdefs.h
<<\_ACEOF
1755 DEFAULT_DEFAULT_wxUSE_GTK
=1
1757 *-*-gnu* | *-*-k*bsd
*-gnu )
1760 if test "x$TMP" = "xalpha"; then
1762 cat >>confdefs.h
<<\_ACEOF
1767 DEFAULT_DEFAULT_wxUSE_GTK
=1
1769 *-*-irix5* | *-*-irix6* )
1772 cat >>confdefs.h
<<\_ACEOF
1776 cat >>confdefs.h
<<\_ACEOF
1780 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1786 cat >>confdefs.h
<<\_ACEOF
1790 cat >>confdefs.h
<<\_ACEOF
1791 #define __SOLARIS__ 1
1794 cat >>confdefs.h
<<\_ACEOF
1798 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1799 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1805 cat >>confdefs.h
<<\_ACEOF
1809 cat >>confdefs.h
<<\_ACEOF
1813 cat >>confdefs.h
<<\_ACEOF
1817 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1822 cat >>confdefs.h
<<\_ACEOF
1823 #define __FREEBSD__ 1
1826 cat >>confdefs.h
<<\_ACEOF
1830 DEFAULT_DEFAULT_wxUSE_GTK
=1
1835 cat >>confdefs.h
<<\_ACEOF
1836 #define __OPENBSD__ 1
1839 cat >>confdefs.h
<<\_ACEOF
1843 DEFAULT_DEFAULT_wxUSE_GTK
=1
1848 cat >>confdefs.h
<<\_ACEOF
1849 #define __NETBSD__ 1
1852 cat >>confdefs.h
<<\_ACEOF
1856 DEFAULT_DEFAULT_wxUSE_GTK
=1
1861 cat >>confdefs.h
<<\_ACEOF
1865 cat >>confdefs.h
<<\_ACEOF
1869 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1870 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1875 cat >>confdefs.h
<<\_ACEOF
1879 cat >>confdefs.h
<<\_ACEOF
1883 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1888 cat >>confdefs.h
<<\_ACEOF
1892 cat >>confdefs.h
<<\_ACEOF
1896 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1903 cat >>confdefs.h
<<\_ACEOF
1907 cat >>confdefs.h
<<\_ACEOF
1911 cat >>confdefs.h
<<\_ACEOF
1915 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1922 cat >>confdefs.h
<<\_ACEOF
1923 #define __UNIXWARE__ 1
1928 *-*-cygwin* | *-*-mingw32* )
1932 DEFAULT_DEFAULT_wxUSE_MSW
=1
1938 cat >>confdefs.h
<<\_ACEOF
1943 DEFAULT_DEFAULT_wxUSE_MGL
=1
1944 LIBS
="$LIBS -lstdc++"
1947 *-pc-os2_emx | *-pc-os2-emx )
1948 cat >>confdefs.h
<<\_ACEOF
1953 cat >>confdefs.h
<<\_ACEOF
1958 DEFAULT_DEFAULT_wxUSE_PM
=1
1960 LDFLAGS
="$LDFLAGS -Zcrtdll"
1961 ac_executable_extensions
=".exe"
1962 export ac_executable_extensions
1966 for ac_dir
in $PATH; do
1968 if test -z "$ac_TEMP_PATH"; then
1969 ac_TEMP_PATH
="$ac_dir"
1971 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1974 export PATH
="$ac_TEMP_PATH"
1982 cat >>confdefs.h
<<\_ACEOF
1986 cat >>confdefs.h
<<\_ACEOF
1987 #define __DARWIN__ 1
1990 cat >>confdefs.h
<<\_ACEOF
1991 #define TARGET_CARBON 1
1994 DEFAULT_DEFAULT_wxUSE_MAC
=1
1996 powerpc
-apple-macos* )
1998 ac_cv_c_bigendian
=yes
2000 DEFAULT_DEFAULT_wxUSE_MAC
=1
2005 cat >>confdefs.h
<<\_ACEOF
2012 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2013 echo "$as_me: error: unknown system type ${host}." >&2;}
2014 { (exit 1); exit 1; }; }
2020 wx_arg_cache_file
="configarg.cache"
2021 echo "loading argument cache $wx_arg_cache_file"
2022 rm -f ${wx_arg_cache_file}.tmp
2023 touch ${wx_arg_cache_file}.tmp
2024 touch ${wx_arg_cache_file}
2028 if test $DEBUG_CONFIGURE = 1; then
2029 DEFAULT_wxUSE_UNIVERSAL
=no
2030 DEFAULT_wxUSE_STL
=no
2032 DEFAULT_wxUSE_NANOX
=no
2034 DEFAULT_wxUSE_THREADS
=yes
2036 DEFAULT_wxUSE_SHARED
=yes
2037 DEFAULT_wxUSE_OPTIMISE
=no
2038 DEFAULT_wxUSE_PROFILE
=no
2039 DEFAULT_wxUSE_NO_DEPS
=no
2040 DEFAULT_wxUSE_NO_RTTI
=no
2041 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2042 DEFAULT_wxUSE_RPATH
=yes
2043 DEFAULT_wxUSE_PERMISSIVE
=no
2044 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2045 DEFAULT_wxUSE_DEBUG_INFO
=yes
2046 DEFAULT_wxUSE_DEBUG_GDB
=yes
2047 DEFAULT_wxUSE_MEM_TRACING
=no
2048 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2049 DEFAULT_wxUSE_DMALLOC
=no
2050 DEFAULT_wxUSE_APPLE_IEEE
=no
2052 DEFAULT_wxUSE_EXCEPTIONS
=no
2053 DEFAULT_wxUSE_LOG
=yes
2054 DEFAULT_wxUSE_LOGWINDOW
=no
2055 DEFAULT_wxUSE_LOGGUI
=no
2056 DEFAULT_wxUSE_LOGDIALOG
=no
2058 DEFAULT_wxUSE_GUI
=yes
2059 DEFAULT_wxUSE_CONTROLS
=no
2061 DEFAULT_wxUSE_REGEX
=no
2062 DEFAULT_wxUSE_XML
=no
2063 DEFAULT_wxUSE_EXPAT
=no
2064 DEFAULT_wxUSE_ZLIB
=no
2065 DEFAULT_wxUSE_LIBPNG
=no
2066 DEFAULT_wxUSE_LIBJPEG
=no
2067 DEFAULT_wxUSE_LIBTIFF
=no
2068 DEFAULT_wxUSE_LIBXPM
=no
2069 DEFAULT_wxUSE_LIBMSPACK
=no
2070 DEFAULT_wxUSE_LIBSDL
=no
2071 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2072 DEFAULT_wxUSE_ODBC
=no
2073 DEFAULT_wxUSE_OPENGL
=no
2075 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2076 DEFAULT_wxUSE_STACKWALKER
=no
2077 DEFAULT_wxUSE_DEBUGREPORT
=no
2078 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2079 DEFAULT_wxUSE_STD_IOSTREAM
=no
2080 DEFAULT_wxUSE_STD_STRING
=no
2081 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2082 DEFAULT_wxUSE_DATETIME
=no
2083 DEFAULT_wxUSE_TIMER
=no
2084 DEFAULT_wxUSE_STOPWATCH
=no
2085 DEFAULT_wxUSE_FILE
=no
2086 DEFAULT_wxUSE_FFILE
=no
2087 DEFAULT_wxUSE_STDPATHS
=no
2088 DEFAULT_wxUSE_TEXTBUFFER
=no
2089 DEFAULT_wxUSE_TEXTFILE
=no
2090 DEFAULT_wxUSE_SOUND
=no
2091 DEFAULT_wxUSE_MEDIACTRL
=no
2092 DEFAULT_wxUSE_DIRECTSHOW
=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_GTK1
=no
2228 DEFAULT_wxUSE_GTK2
=no
2230 DEFAULT_wxUSE_UNIVERSAL
=no
2231 DEFAULT_wxUSE_STL
=no
2233 DEFAULT_wxUSE_NANOX
=no
2235 DEFAULT_wxUSE_THREADS
=yes
2237 DEFAULT_wxUSE_SHARED
=yes
2238 DEFAULT_wxUSE_OPTIMISE
=yes
2239 DEFAULT_wxUSE_PROFILE
=no
2240 DEFAULT_wxUSE_NO_DEPS
=no
2241 DEFAULT_wxUSE_NO_RTTI
=no
2242 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2243 DEFAULT_wxUSE_RPATH
=yes
2244 DEFAULT_wxUSE_PERMISSIVE
=no
2245 DEFAULT_wxUSE_DEBUG_FLAG
=no
2246 DEFAULT_wxUSE_DEBUG_INFO
=no
2247 DEFAULT_wxUSE_DEBUG_GDB
=no
2248 DEFAULT_wxUSE_MEM_TRACING
=no
2249 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2250 DEFAULT_wxUSE_DMALLOC
=no
2251 DEFAULT_wxUSE_APPLE_IEEE
=yes
2253 DEFAULT_wxUSE_EXCEPTIONS
=yes
2254 DEFAULT_wxUSE_LOG
=yes
2255 DEFAULT_wxUSE_LOGWINDOW
=yes
2256 DEFAULT_wxUSE_LOGGUI
=yes
2257 DEFAULT_wxUSE_LOGDIALOG
=yes
2259 DEFAULT_wxUSE_GUI
=yes
2261 DEFAULT_wxUSE_REGEX
=yes
2262 DEFAULT_wxUSE_XML
=yes
2263 DEFAULT_wxUSE_EXPAT
=yes
2264 DEFAULT_wxUSE_ZLIB
=yes
2265 DEFAULT_wxUSE_LIBPNG
=yes
2266 DEFAULT_wxUSE_LIBJPEG
=yes
2267 DEFAULT_wxUSE_LIBTIFF
=yes
2268 DEFAULT_wxUSE_LIBXPM
=yes
2269 DEFAULT_wxUSE_LIBMSPACK
=yes
2270 DEFAULT_wxUSE_LIBSDL
=no
2271 DEFAULT_wxUSE_LIBGNOMEPRINT
=yes
2272 DEFAULT_wxUSE_ODBC
=no
2273 DEFAULT_wxUSE_OPENGL
=yes
2275 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2276 DEFAULT_wxUSE_STACKWALKER
=yes
2277 DEFAULT_wxUSE_DEBUGREPORT
=yes
2278 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2279 DEFAULT_wxUSE_STD_IOSTREAM
=yes
2280 DEFAULT_wxUSE_STD_STRING
=yes
2281 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2282 DEFAULT_wxUSE_DATETIME
=yes
2283 DEFAULT_wxUSE_TIMER
=yes
2284 DEFAULT_wxUSE_STOPWATCH
=yes
2285 DEFAULT_wxUSE_FILE
=yes
2286 DEFAULT_wxUSE_FFILE
=yes
2287 DEFAULT_wxUSE_STDPATHS
=yes
2288 DEFAULT_wxUSE_TEXTBUFFER
=yes
2289 DEFAULT_wxUSE_TEXTFILE
=yes
2290 DEFAULT_wxUSE_SOUND
=yes
2291 DEFAULT_wxUSE_MEDIACTRL
=no
2292 DEFAULT_wxUSE_DIRECTSHOW
=no
2293 DEFAULT_wxUSE_INTL
=yes
2294 DEFAULT_wxUSE_CONFIG
=yes
2295 DEFAULT_wxUSE_FONTMAP
=yes
2296 DEFAULT_wxUSE_STREAMS
=yes
2297 DEFAULT_wxUSE_SOCKETS
=yes
2298 DEFAULT_wxUSE_OLE
=yes
2299 DEFAULT_wxUSE_DATAOBJ
=yes
2300 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2301 DEFAULT_wxUSE_JOYSTICK
=yes
2302 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2303 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2304 DEFAULT_wxUSE_LONGLONG
=yes
2305 DEFAULT_wxUSE_GEOMETRY
=yes
2307 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2308 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2309 DEFAULT_wxUSE_POSTSCRIPT
=yes
2311 DEFAULT_wxUSE_CLIPBOARD
=yes
2312 DEFAULT_wxUSE_TOOLTIPS
=yes
2313 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2314 DEFAULT_wxUSE_DRAGIMAGE
=yes
2315 DEFAULT_wxUSE_SPLINES
=yes
2316 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2318 DEFAULT_wxUSE_MDI
=yes
2319 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2320 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2321 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2323 DEFAULT_wxUSE_RESOURCES
=no
2324 DEFAULT_wxUSE_CONSTRAINTS
=yes
2325 DEFAULT_wxUSE_IPC
=yes
2326 DEFAULT_wxUSE_HELP
=yes
2327 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2328 DEFAULT_wxUSE_WXHTML_HELP
=yes
2329 DEFAULT_wxUSE_TREELAYOUT
=yes
2330 DEFAULT_wxUSE_METAFILE
=yes
2331 DEFAULT_wxUSE_MIMETYPE
=yes
2332 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2333 DEFAULT_wxUSE_PROTOCOL
=yes
2334 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2335 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2336 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2337 DEFAULT_wxUSE_URL
=yes
2339 DEFAULT_wxUSE_COMMONDLGS
=yes
2340 DEFAULT_wxUSE_CHOICEDLG
=yes
2341 DEFAULT_wxUSE_COLOURDLG
=yes
2342 DEFAULT_wxUSE_DIRDLG
=yes
2343 DEFAULT_wxUSE_FILEDLG
=yes
2344 DEFAULT_wxUSE_FINDREPLDLG
=yes
2345 DEFAULT_wxUSE_FONTDLG
=yes
2346 DEFAULT_wxUSE_MSGDLG
=yes
2347 DEFAULT_wxUSE_NUMBERDLG
=yes
2348 DEFAULT_wxUSE_TEXTDLG
=yes
2349 DEFAULT_wxUSE_SPLASH
=yes
2350 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2351 DEFAULT_wxUSE_PROGRESSDLG
=yes
2352 DEFAULT_wxUSE_WIZARDDLG
=yes
2354 DEFAULT_wxUSE_MENUS
=yes
2355 DEFAULT_wxUSE_MINIFRAME
=yes
2356 DEFAULT_wxUSE_HTML
=yes
2357 DEFAULT_wxUSE_XRC
=yes
2358 DEFAULT_wxUSE_WEBKIT
=yes
2359 DEFAULT_wxUSE_FILESYSTEM
=yes
2360 DEFAULT_wxUSE_FS_INET
=yes
2361 DEFAULT_wxUSE_FS_ZIP
=yes
2362 DEFAULT_wxUSE_BUSYINFO
=yes
2363 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2364 DEFAULT_wxUSE_ZIPSTREAM
=yes
2365 DEFAULT_wxUSE_VALIDATORS
=yes
2367 DEFAULT_wxUSE_ACCEL
=yes
2368 DEFAULT_wxUSE_BUTTON
=yes
2369 DEFAULT_wxUSE_BMPBUTTON
=yes
2370 DEFAULT_wxUSE_CALCTRL
=yes
2371 DEFAULT_wxUSE_CARET
=yes
2372 DEFAULT_wxUSE_CHECKBOX
=yes
2373 DEFAULT_wxUSE_CHECKLST
=yes
2374 DEFAULT_wxUSE_CHOICE
=yes
2375 DEFAULT_wxUSE_CHOICEBOOK
=yes
2376 DEFAULT_wxUSE_COMBOBOX
=yes
2377 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2378 DEFAULT_wxUSE_DISPLAY
=yes
2379 DEFAULT_wxUSE_GAUGE
=yes
2380 DEFAULT_wxUSE_GRID
=yes
2381 DEFAULT_wxUSE_IMAGLIST
=yes
2382 DEFAULT_wxUSE_LISTBOOK
=yes
2383 DEFAULT_wxUSE_LISTBOX
=yes
2384 DEFAULT_wxUSE_LISTCTRL
=yes
2385 DEFAULT_wxUSE_NOTEBOOK
=yes
2386 DEFAULT_wxUSE_RADIOBOX
=yes
2387 DEFAULT_wxUSE_RADIOBTN
=yes
2388 DEFAULT_wxUSE_SASH
=yes
2389 DEFAULT_wxUSE_SCROLLBAR
=yes
2390 DEFAULT_wxUSE_SLIDER
=yes
2391 DEFAULT_wxUSE_SPINBTN
=yes
2392 DEFAULT_wxUSE_SPINCTRL
=yes
2393 DEFAULT_wxUSE_SPLITTER
=yes
2394 DEFAULT_wxUSE_STATBMP
=yes
2395 DEFAULT_wxUSE_STATBOX
=yes
2396 DEFAULT_wxUSE_STATLINE
=yes
2397 DEFAULT_wxUSE_STATTEXT
=yes
2398 DEFAULT_wxUSE_STATUSBAR
=yes
2399 DEFAULT_wxUSE_TABDIALOG
=no
2400 DEFAULT_wxUSE_TEXTCTRL
=yes
2401 DEFAULT_wxUSE_TOGGLEBTN
=yes
2402 DEFAULT_wxUSE_TOOLBAR
=yes
2403 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2404 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2405 DEFAULT_wxUSE_TREECTRL
=yes
2406 DEFAULT_wxUSE_POPUPWIN
=yes
2407 DEFAULT_wxUSE_TIPWINDOW
=yes
2409 DEFAULT_wxUSE_UNICODE
=no
2410 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2411 DEFAULT_wxUSE_WCSRTOMBS
=no
2413 DEFAULT_wxUSE_PALETTE
=yes
2414 DEFAULT_wxUSE_IMAGE
=yes
2415 DEFAULT_wxUSE_GIF
=yes
2416 DEFAULT_wxUSE_PCX
=yes
2417 DEFAULT_wxUSE_IFF
=no
2418 DEFAULT_wxUSE_PNM
=yes
2419 DEFAULT_wxUSE_XPM
=yes
2420 DEFAULT_wxUSE_ICO_CUR
=yes
2421 DEFAULT_wxUSE_ACCESSIBILITY
=no
2423 DEFAULT_wxUSE_MONOLITHIC
=no
2424 DEFAULT_wxUSE_PLUGINS
=no
2425 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2427 DEFAULT_wxUSE_GTK1
=no
2428 DEFAULT_wxUSE_GTK2
=no
2433 for toolkit
in `echo $ALL_TOOLKITS`; do
2434 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2435 if test "x$LINE" != "x" ; then
2436 has_toolkit_in_cache
=1
2437 eval "DEFAULT_$LINE"
2438 eval "CACHE_$toolkit=1"
2445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2446 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2448 # Check whether --enable-gui or --disable-gui was given.
2449 if test "${enable_gui+set}" = set; then
2450 enableval
="$enable_gui"
2452 if test "$enableval" = yes; then
2453 ac_cv_use_gui
='wxUSE_GUI=yes'
2455 ac_cv_use_gui
='wxUSE_GUI=no'
2460 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2461 if test "x$LINE" != x
; then
2462 eval "DEFAULT_$LINE"
2467 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2471 eval "$ac_cv_use_gui"
2472 if test "$no_cache" != 1; then
2473 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2476 if test "$wxUSE_GUI" = yes; then
2477 echo "$as_me:$LINENO: result: yes" >&5
2478 echo "${ECHO_T}yes" >&6
2480 echo "$as_me:$LINENO: result: no" >&5
2481 echo "${ECHO_T}no" >&6
2486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2487 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2489 # Check whether --enable-monolithic or --disable-monolithic was given.
2490 if test "${enable_monolithic+set}" = set; then
2491 enableval
="$enable_monolithic"
2493 if test "$enableval" = yes; then
2494 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2496 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2501 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2502 if test "x$LINE" != x
; then
2503 eval "DEFAULT_$LINE"
2508 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2512 eval "$ac_cv_use_monolithic"
2513 if test "$no_cache" != 1; then
2514 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2517 if test "$wxUSE_MONOLITHIC" = yes; then
2518 echo "$as_me:$LINENO: result: yes" >&5
2519 echo "${ECHO_T}yes" >&6
2521 echo "$as_me:$LINENO: result: no" >&5
2522 echo "${ECHO_T}no" >&6
2527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2528 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2530 # Check whether --enable-plugins or --disable-plugins was given.
2531 if test "${enable_plugins+set}" = set; then
2532 enableval
="$enable_plugins"
2534 if test "$enableval" = yes; then
2535 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2537 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2542 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2543 if test "x$LINE" != x
; then
2544 eval "DEFAULT_$LINE"
2549 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2553 eval "$ac_cv_use_plugins"
2554 if test "$no_cache" != 1; then
2555 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2558 if test "$wxUSE_PLUGINS" = yes; then
2559 echo "$as_me:$LINENO: result: yes" >&5
2560 echo "${ECHO_T}yes" >&6
2562 echo "$as_me:$LINENO: result: no" >&5
2563 echo "${ECHO_T}no" >&6
2567 if test "$wxUSE_GUI" = "yes"; then
2571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2572 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2574 # Check whether --enable-universal or --disable-universal was given.
2575 if test "${enable_universal+set}" = set; then
2576 enableval
="$enable_universal"
2578 if test "$enableval" = yes; then
2579 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2581 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2586 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x
; then
2588 eval "DEFAULT_$LINE"
2593 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2597 eval "$ac_cv_use_universal"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2602 if test "$wxUSE_UNIVERSAL" = yes; then
2603 echo "$as_me:$LINENO: result: yes" >&5
2604 echo "${ECHO_T}yes" >&6
2606 echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6
2611 # Check whether --with-gtk or --without-gtk was given.
2612 if test "${with_gtk+set}" = set; then
2614 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2617 echo "$as_me:$LINENO: checking for --with-gtk1" >&5
2618 echo $ECHO_N "checking for --with-gtk1... $ECHO_C" >&6
2621 # Check whether --with-gtk1 or --without-gtk1 was given.
2622 if test "${with_gtk1+set}" = set; then
2623 withval
="$with_gtk1"
2625 if test "$withval" = yes; then
2626 ac_cv_use_gtk1
='wxUSE_GTK1=yes'
2628 ac_cv_use_gtk1
='wxUSE_GTK1=no'
2633 LINE
=`grep "wxUSE_GTK1" ${wx_arg_cache_file}`
2634 if test "x$LINE" != x
; then
2635 eval "DEFAULT_$LINE"
2640 ac_cv_use_gtk1
='wxUSE_GTK1='$DEFAULT_wxUSE_GTK1
2644 eval "$ac_cv_use_gtk1"
2645 if test "$no_cache" != 1; then
2646 echo $ac_cv_use_gtk1 >> ${wx_arg_cache_file}.tmp
2649 if test "$wxUSE_GTK1" = yes; then
2650 echo "$as_me:$LINENO: result: yes" >&5
2651 echo "${ECHO_T}yes" >&6
2653 echo "$as_me:$LINENO: result: no" >&5
2654 echo "${ECHO_T}no" >&6
2658 echo "$as_me:$LINENO: checking for --with-gtk2" >&5
2659 echo $ECHO_N "checking for --with-gtk2... $ECHO_C" >&6
2662 # Check whether --with-gtk2 or --without-gtk2 was given.
2663 if test "${with_gtk2+set}" = set; then
2664 withval
="$with_gtk2"
2666 if test "$withval" = yes; then
2667 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2669 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2674 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2675 if test "x$LINE" != x
; then
2676 eval "DEFAULT_$LINE"
2681 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2685 eval "$ac_cv_use_gtk2"
2686 if test "$no_cache" != 1; then
2687 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2690 if test "$wxUSE_GTK2" = yes; then
2691 echo "$as_me:$LINENO: result: yes" >&5
2692 echo "${ECHO_T}yes" >&6
2694 echo "$as_me:$LINENO: result: no" >&5
2695 echo "${ECHO_T}no" >&6
2699 # Check whether --with-motif or --without-motif was given.
2700 if test "${with_motif+set}" = set; then
2701 withval
="$with_motif"
2702 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2705 # Check whether --with-mac or --without-mac was given.
2706 if test "${with_mac+set}" = set; then
2708 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2711 # Check whether --with-cocoa or --without-cocoa was given.
2712 if test "${with_cocoa+set}" = set; then
2713 withval
="$with_cocoa"
2714 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2717 # Check whether --with-wine or --without-wine was given.
2718 if test "${with_wine+set}" = set; then
2719 withval
="$with_wine"
2720 wxUSE_WINE
="$withval" CACHE_WINE
=1
2723 # Check whether --with-msw or --without-msw was given.
2724 if test "${with_msw+set}" = set; then
2726 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2729 # Check whether --with-pm or --without-pm was given.
2730 if test "${with_pm+set}" = set; then
2732 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2735 # Check whether --with-mgl or --without-mgl was given.
2736 if test "${with_mgl+set}" = set; then
2738 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2741 # Check whether --with-microwin or --without-microwin was given.
2742 if test "${with_microwin+set}" = set; then
2743 withval
="$with_microwin"
2744 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2747 # Check whether --with-x11 or --without-x11 was given.
2748 if test "${with_x11+set}" = set; then
2750 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2755 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2757 # Check whether --enable-nanox or --disable-nanox was given.
2758 if test "${enable_nanox+set}" = set; then
2759 enableval
="$enable_nanox"
2761 if test "$enableval" = yes; then
2762 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2764 ac_cv_use_nanox
='wxUSE_NANOX=no'
2769 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2770 if test "x$LINE" != x
; then
2771 eval "DEFAULT_$LINE"
2776 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2780 eval "$ac_cv_use_nanox"
2781 if test "$no_cache" != 1; then
2782 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2785 if test "$wxUSE_NANOX" = yes; then
2786 echo "$as_me:$LINENO: result: yes" >&5
2787 echo "${ECHO_T}yes" >&6
2789 echo "$as_me:$LINENO: result: no" >&5
2790 echo "${ECHO_T}no" >&6
2796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2797 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2799 # Check whether --enable-gpe or --disable-gpe was given.
2800 if test "${enable_gpe+set}" = set; then
2801 enableval
="$enable_gpe"
2803 if test "$enableval" = yes; then
2804 ac_cv_use_gpe
='wxUSE_GPE=yes'
2806 ac_cv_use_gpe
='wxUSE_GPE=no'
2811 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2812 if test "x$LINE" != x
; then
2813 eval "DEFAULT_$LINE"
2818 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2822 eval "$ac_cv_use_gpe"
2823 if test "$no_cache" != 1; then
2824 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2827 if test "$wxUSE_GPE" = yes; then
2828 echo "$as_me:$LINENO: result: yes" >&5
2829 echo "${ECHO_T}yes" >&6
2831 echo "$as_me:$LINENO: result: no" >&5
2832 echo "${ECHO_T}no" >&6
2837 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2838 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2841 # Check whether --with-libpng or --without-libpng was given.
2842 if test "${with_libpng+set}" = set; then
2843 withval
="$with_libpng"
2845 if test "$withval" = yes; then
2846 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2847 elif test "$withval" = no
; then
2848 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2849 elif test "$withval" = sys
; then
2850 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2851 elif test "$withval" = builtin; then
2852 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2854 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2855 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2856 { (exit 1); exit 1; }; }
2861 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2862 if test "x$LINE" != x
; then
2863 eval "DEFAULT_$LINE"
2868 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2872 eval "$ac_cv_use_libpng"
2873 if test "$no_cache" != 1; then
2874 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2877 if test "$wxUSE_LIBPNG" = yes; then
2878 echo "$as_me:$LINENO: result: yes" >&5
2879 echo "${ECHO_T}yes" >&6
2880 elif test "$wxUSE_LIBPNG" = no
; then
2881 echo "$as_me:$LINENO: result: no" >&5
2882 echo "${ECHO_T}no" >&6
2883 elif test "$wxUSE_LIBPNG" = sys
; then
2884 echo "$as_me:$LINENO: result: system version" >&5
2885 echo "${ECHO_T}system version" >&6
2886 elif test "$wxUSE_LIBPNG" = builtin; then
2887 echo "$as_me:$LINENO: result: builtin version" >&5
2888 echo "${ECHO_T}builtin version" >&6
2890 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2891 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2892 { (exit 1); exit 1; }; }
2896 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2897 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2900 # Check whether --with-libjpeg or --without-libjpeg was given.
2901 if test "${with_libjpeg+set}" = set; then
2902 withval
="$with_libjpeg"
2904 if test "$withval" = yes; then
2905 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2906 elif test "$withval" = no
; then
2907 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2908 elif test "$withval" = sys
; then
2909 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2910 elif test "$withval" = builtin; then
2911 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2913 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2914 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2915 { (exit 1); exit 1; }; }
2920 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2921 if test "x$LINE" != x
; then
2922 eval "DEFAULT_$LINE"
2927 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2931 eval "$ac_cv_use_libjpeg"
2932 if test "$no_cache" != 1; then
2933 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2936 if test "$wxUSE_LIBJPEG" = yes; then
2937 echo "$as_me:$LINENO: result: yes" >&5
2938 echo "${ECHO_T}yes" >&6
2939 elif test "$wxUSE_LIBJPEG" = no
; then
2940 echo "$as_me:$LINENO: result: no" >&5
2941 echo "${ECHO_T}no" >&6
2942 elif test "$wxUSE_LIBJPEG" = sys
; then
2943 echo "$as_me:$LINENO: result: system version" >&5
2944 echo "${ECHO_T}system version" >&6
2945 elif test "$wxUSE_LIBJPEG" = builtin; then
2946 echo "$as_me:$LINENO: result: builtin version" >&5
2947 echo "${ECHO_T}builtin version" >&6
2949 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2950 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2951 { (exit 1); exit 1; }; }
2955 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2956 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2959 # Check whether --with-libtiff or --without-libtiff was given.
2960 if test "${with_libtiff+set}" = set; then
2961 withval
="$with_libtiff"
2963 if test "$withval" = yes; then
2964 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2965 elif test "$withval" = no
; then
2966 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2967 elif test "$withval" = sys
; then
2968 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2969 elif test "$withval" = builtin; then
2970 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2972 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2973 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2974 { (exit 1); exit 1; }; }
2979 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2980 if test "x$LINE" != x
; then
2981 eval "DEFAULT_$LINE"
2986 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2990 eval "$ac_cv_use_libtiff"
2991 if test "$no_cache" != 1; then
2992 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2995 if test "$wxUSE_LIBTIFF" = yes; then
2996 echo "$as_me:$LINENO: result: yes" >&5
2997 echo "${ECHO_T}yes" >&6
2998 elif test "$wxUSE_LIBTIFF" = no
; then
2999 echo "$as_me:$LINENO: result: no" >&5
3000 echo "${ECHO_T}no" >&6
3001 elif test "$wxUSE_LIBTIFF" = sys
; then
3002 echo "$as_me:$LINENO: result: system version" >&5
3003 echo "${ECHO_T}system version" >&6
3004 elif test "$wxUSE_LIBTIFF" = builtin; then
3005 echo "$as_me:$LINENO: result: builtin version" >&5
3006 echo "${ECHO_T}builtin version" >&6
3008 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3009 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3010 { (exit 1); exit 1; }; }
3014 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3015 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3018 # Check whether --with-libxpm or --without-libxpm was given.
3019 if test "${with_libxpm+set}" = set; then
3020 withval
="$with_libxpm"
3022 if test "$withval" = yes; then
3023 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3024 elif test "$withval" = no
; then
3025 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3026 elif test "$withval" = sys
; then
3027 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3028 elif test "$withval" = builtin; then
3029 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3031 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3032 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3033 { (exit 1); exit 1; }; }
3038 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3039 if test "x$LINE" != x
; then
3040 eval "DEFAULT_$LINE"
3045 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3049 eval "$ac_cv_use_libxpm"
3050 if test "$no_cache" != 1; then
3051 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3054 if test "$wxUSE_LIBXPM" = yes; then
3055 echo "$as_me:$LINENO: result: yes" >&5
3056 echo "${ECHO_T}yes" >&6
3057 elif test "$wxUSE_LIBXPM" = no
; then
3058 echo "$as_me:$LINENO: result: no" >&5
3059 echo "${ECHO_T}no" >&6
3060 elif test "$wxUSE_LIBXPM" = sys
; then
3061 echo "$as_me:$LINENO: result: system version" >&5
3062 echo "${ECHO_T}system version" >&6
3063 elif test "$wxUSE_LIBXPM" = builtin; then
3064 echo "$as_me:$LINENO: result: builtin version" >&5
3065 echo "${ECHO_T}builtin version" >&6
3067 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3068 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3069 { (exit 1); exit 1; }; }
3073 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3074 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3077 # Check whether --with-libmspack or --without-libmspack was given.
3078 if test "${with_libmspack+set}" = set; then
3079 withval
="$with_libmspack"
3081 if test "$withval" = yes; then
3082 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3084 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3089 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3090 if test "x$LINE" != x
; then
3091 eval "DEFAULT_$LINE"
3096 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3100 eval "$ac_cv_use_libmspack"
3101 if test "$no_cache" != 1; then
3102 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3105 if test "$wxUSE_LIBMSPACK" = yes; then
3106 echo "$as_me:$LINENO: result: yes" >&5
3107 echo "${ECHO_T}yes" >&6
3109 echo "$as_me:$LINENO: result: no" >&5
3110 echo "${ECHO_T}no" >&6
3114 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3115 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3118 # Check whether --with-sdl or --without-sdl was given.
3119 if test "${with_sdl+set}" = set; then
3122 if test "$withval" = yes; then
3123 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3125 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3130 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3131 if test "x$LINE" != x
; then
3132 eval "DEFAULT_$LINE"
3137 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3141 eval "$ac_cv_use_sdl"
3142 if test "$no_cache" != 1; then
3143 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3146 if test "$wxUSE_LIBSDL" = yes; then
3147 echo "$as_me:$LINENO: result: yes" >&5
3148 echo "${ECHO_T}yes" >&6
3150 echo "$as_me:$LINENO: result: no" >&5
3151 echo "${ECHO_T}no" >&6
3155 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3156 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3159 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3160 if test "${with_gnomeprint+set}" = set; then
3161 withval
="$with_gnomeprint"
3163 if test "$withval" = yes; then
3164 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3166 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3171 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3172 if test "x$LINE" != x
; then
3173 eval "DEFAULT_$LINE"
3178 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3182 eval "$ac_cv_use_gnomeprint"
3183 if test "$no_cache" != 1; then
3184 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3187 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3188 echo "$as_me:$LINENO: result: yes" >&5
3189 echo "${ECHO_T}yes" >&6
3191 echo "$as_me:$LINENO: result: no" >&5
3192 echo "${ECHO_T}no" >&6
3196 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3197 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3200 # Check whether --with-opengl or --without-opengl was given.
3201 if test "${with_opengl+set}" = set; then
3202 withval
="$with_opengl"
3204 if test "$withval" = yes; then
3205 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3207 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3212 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x
; then
3214 eval "DEFAULT_$LINE"
3219 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3223 eval "$ac_cv_use_opengl"
3224 if test "$no_cache" != 1; then
3225 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3228 if test "$wxUSE_OPENGL" = yes; then
3229 echo "$as_me:$LINENO: result: yes" >&5
3230 echo "${ECHO_T}yes" >&6
3232 echo "$as_me:$LINENO: result: no" >&5
3233 echo "${ECHO_T}no" >&6
3240 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3241 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3244 # Check whether --with-dmalloc or --without-dmalloc was given.
3245 if test "${with_dmalloc+set}" = set; then
3246 withval
="$with_dmalloc"
3248 if test "$withval" = yes; then
3249 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3251 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3256 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3257 if test "x$LINE" != x
; then
3258 eval "DEFAULT_$LINE"
3263 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3267 eval "$ac_cv_use_dmalloc"
3268 if test "$no_cache" != 1; then
3269 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3272 if test "$wxUSE_DMALLOC" = yes; then
3273 echo "$as_me:$LINENO: result: yes" >&5
3274 echo "${ECHO_T}yes" >&6
3276 echo "$as_me:$LINENO: result: no" >&5
3277 echo "${ECHO_T}no" >&6
3281 echo "$as_me:$LINENO: checking for --with-regex" >&5
3282 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3285 # Check whether --with-regex or --without-regex was given.
3286 if test "${with_regex+set}" = set; then
3287 withval
="$with_regex"
3289 if test "$withval" = yes; then
3290 ac_cv_use_regex
='wxUSE_REGEX=yes'
3291 elif test "$withval" = no
; then
3292 ac_cv_use_regex
='wxUSE_REGEX=no'
3293 elif test "$withval" = sys
; then
3294 ac_cv_use_regex
='wxUSE_REGEX=sys'
3295 elif test "$withval" = builtin; then
3296 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3298 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3299 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3300 { (exit 1); exit 1; }; }
3305 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x
; then
3307 eval "DEFAULT_$LINE"
3312 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3316 eval "$ac_cv_use_regex"
3317 if test "$no_cache" != 1; then
3318 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3321 if test "$wxUSE_REGEX" = yes; then
3322 echo "$as_me:$LINENO: result: yes" >&5
3323 echo "${ECHO_T}yes" >&6
3324 elif test "$wxUSE_REGEX" = no
; then
3325 echo "$as_me:$LINENO: result: no" >&5
3326 echo "${ECHO_T}no" >&6
3327 elif test "$wxUSE_REGEX" = sys
; then
3328 echo "$as_me:$LINENO: result: system version" >&5
3329 echo "${ECHO_T}system version" >&6
3330 elif test "$wxUSE_REGEX" = builtin; then
3331 echo "$as_me:$LINENO: result: builtin version" >&5
3332 echo "${ECHO_T}builtin version" >&6
3334 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3335 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3336 { (exit 1); exit 1; }; }
3340 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3341 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3344 # Check whether --with-zlib or --without-zlib was given.
3345 if test "${with_zlib+set}" = set; then
3346 withval
="$with_zlib"
3348 if test "$withval" = yes; then
3349 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3350 elif test "$withval" = no
; then
3351 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3352 elif test "$withval" = sys
; then
3353 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3354 elif test "$withval" = builtin; then
3355 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3357 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3358 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3359 { (exit 1); exit 1; }; }
3364 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x
; then
3366 eval "DEFAULT_$LINE"
3371 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3375 eval "$ac_cv_use_zlib"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3380 if test "$wxUSE_ZLIB" = yes; then
3381 echo "$as_me:$LINENO: result: yes" >&5
3382 echo "${ECHO_T}yes" >&6
3383 elif test "$wxUSE_ZLIB" = no
; then
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3386 elif test "$wxUSE_ZLIB" = sys
; then
3387 echo "$as_me:$LINENO: result: system version" >&5
3388 echo "${ECHO_T}system version" >&6
3389 elif test "$wxUSE_ZLIB" = builtin; then
3390 echo "$as_me:$LINENO: result: builtin version" >&5
3391 echo "${ECHO_T}builtin version" >&6
3393 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3394 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3395 { (exit 1); exit 1; }; }
3399 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3400 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3403 # Check whether --with-odbc or --without-odbc was given.
3404 if test "${with_odbc+set}" = set; then
3405 withval
="$with_odbc"
3407 if test "$withval" = yes; then
3408 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3409 elif test "$withval" = no
; then
3410 ac_cv_use_odbc
='wxUSE_ODBC=no'
3411 elif test "$withval" = sys
; then
3412 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3413 elif test "$withval" = builtin; then
3414 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3416 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3417 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3418 { (exit 1); exit 1; }; }
3423 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3424 if test "x$LINE" != x
; then
3425 eval "DEFAULT_$LINE"
3430 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3434 eval "$ac_cv_use_odbc"
3435 if test "$no_cache" != 1; then
3436 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3439 if test "$wxUSE_ODBC" = yes; then
3440 echo "$as_me:$LINENO: result: yes" >&5
3441 echo "${ECHO_T}yes" >&6
3442 elif test "$wxUSE_ODBC" = no
; then
3443 echo "$as_me:$LINENO: result: no" >&5
3444 echo "${ECHO_T}no" >&6
3445 elif test "$wxUSE_ODBC" = sys
; then
3446 echo "$as_me:$LINENO: result: system version" >&5
3447 echo "${ECHO_T}system version" >&6
3448 elif test "$wxUSE_ODBC" = builtin; then
3449 echo "$as_me:$LINENO: result: builtin version" >&5
3450 echo "${ECHO_T}builtin version" >&6
3452 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3453 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3454 { (exit 1); exit 1; }; }
3458 echo "$as_me:$LINENO: checking for --with-expat" >&5
3459 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3462 # Check whether --with-expat or --without-expat was given.
3463 if test "${with_expat+set}" = set; then
3464 withval
="$with_expat"
3466 if test "$withval" = yes; then
3467 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3468 elif test "$withval" = no
; then
3469 ac_cv_use_expat
='wxUSE_EXPAT=no'
3470 elif test "$withval" = sys
; then
3471 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3472 elif test "$withval" = builtin; then
3473 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3475 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3476 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3477 { (exit 1); exit 1; }; }
3482 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3483 if test "x$LINE" != x
; then
3484 eval "DEFAULT_$LINE"
3489 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3493 eval "$ac_cv_use_expat"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3498 if test "$wxUSE_EXPAT" = yes; then
3499 echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6
3501 elif test "$wxUSE_EXPAT" = no
; then
3502 echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6
3504 elif test "$wxUSE_EXPAT" = sys
; then
3505 echo "$as_me:$LINENO: result: system version" >&5
3506 echo "${ECHO_T}system version" >&6
3507 elif test "$wxUSE_EXPAT" = builtin; then
3508 echo "$as_me:$LINENO: result: builtin version" >&5
3509 echo "${ECHO_T}builtin version" >&6
3511 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3512 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3513 { (exit 1); exit 1; }; }
3520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3521 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3523 # Check whether --enable-shared or --disable-shared was given.
3524 if test "${enable_shared+set}" = set; then
3525 enableval
="$enable_shared"
3527 if test "$enableval" = yes; then
3528 ac_cv_use_shared
='wxUSE_SHARED=yes'
3530 ac_cv_use_shared
='wxUSE_SHARED=no'
3535 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3536 if test "x$LINE" != x
; then
3537 eval "DEFAULT_$LINE"
3542 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3546 eval "$ac_cv_use_shared"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3551 if test "$wxUSE_SHARED" = yes; then
3552 echo "$as_me:$LINENO: result: yes" >&5
3553 echo "${ECHO_T}yes" >&6
3555 echo "$as_me:$LINENO: result: no" >&5
3556 echo "${ECHO_T}no" >&6
3561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3562 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3564 # Check whether --enable-optimise or --disable-optimise was given.
3565 if test "${enable_optimise+set}" = set; then
3566 enableval
="$enable_optimise"
3568 if test "$enableval" = yes; then
3569 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3571 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3576 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3577 if test "x$LINE" != x
; then
3578 eval "DEFAULT_$LINE"
3583 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3587 eval "$ac_cv_use_optimise"
3588 if test "$no_cache" != 1; then
3589 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3592 if test "$wxUSE_OPTIMISE" = yes; then
3593 echo "$as_me:$LINENO: result: yes" >&5
3594 echo "${ECHO_T}yes" >&6
3596 echo "$as_me:$LINENO: result: no" >&5
3597 echo "${ECHO_T}no" >&6
3602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3603 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3605 # Check whether --enable-debug or --disable-debug was given.
3606 if test "${enable_debug+set}" = set; then
3607 enableval
="$enable_debug"
3609 if test "$enableval" = yes; then
3610 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3612 ac_cv_use_debug
='wxUSE_DEBUG=no'
3617 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3618 if test "x$LINE" != x
; then
3619 eval "DEFAULT_$LINE"
3624 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3628 eval "$ac_cv_use_debug"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3633 if test "$wxUSE_DEBUG" = yes; then
3634 echo "$as_me:$LINENO: result: yes" >&5
3635 echo "${ECHO_T}yes" >&6
3637 echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6
3643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3644 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3646 # Check whether --enable-stl or --disable-stl was given.
3647 if test "${enable_stl+set}" = set; then
3648 enableval
="$enable_stl"
3650 if test "$enableval" = yes; then
3651 ac_cv_use_stl
='wxUSE_STL=yes'
3653 ac_cv_use_stl
='wxUSE_STL=no'
3658 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x
; then
3660 eval "DEFAULT_$LINE"
3665 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3669 eval "$ac_cv_use_stl"
3670 if test "$no_cache" != 1; then
3671 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3674 if test "$wxUSE_STL" = yes; then
3675 echo "$as_me:$LINENO: result: yes" >&5
3676 echo "${ECHO_T}yes" >&6
3678 echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6
3682 if test "$USE_OS2" = "1"; then
3683 DEFAULT_wxUSE_OMF
=no
3686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3687 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3689 # Check whether --enable-omf or --disable-omf was given.
3690 if test "${enable_omf+set}" = set; then
3691 enableval
="$enable_omf"
3693 if test "$enableval" = yes; then
3694 ac_cv_use_omf
='wxUSE_OMF=yes'
3696 ac_cv_use_omf
='wxUSE_OMF=no'
3701 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3702 if test "x$LINE" != x
; then
3703 eval "DEFAULT_$LINE"
3708 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3712 eval "$ac_cv_use_omf"
3713 if test "$no_cache" != 1; then
3714 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3717 if test "$wxUSE_OMF" = yes; then
3718 echo "$as_me:$LINENO: result: yes" >&5
3719 echo "${ECHO_T}yes" >&6
3721 echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3727 if test "$wxUSE_DEBUG" = "yes"; then
3728 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3729 DEFAULT_wxUSE_DEBUG_INFO
=yes
3731 elif test "$wxUSE_DEBUG" = "no"; then
3732 DEFAULT_wxUSE_DEBUG_FLAG
=no
3733 DEFAULT_wxUSE_DEBUG_INFO
=no
3739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3740 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3742 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3743 if test "${enable_debug_flag+set}" = set; then
3744 enableval
="$enable_debug_flag"
3746 if test "$enableval" = yes; then
3747 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3749 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3754 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3755 if test "x$LINE" != x
; then
3756 eval "DEFAULT_$LINE"
3761 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3765 eval "$ac_cv_use_debug_flag"
3766 if test "$no_cache" != 1; then
3767 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3770 if test "$wxUSE_DEBUG_FLAG" = yes; then
3771 echo "$as_me:$LINENO: result: yes" >&5
3772 echo "${ECHO_T}yes" >&6
3774 echo "$as_me:$LINENO: result: no" >&5
3775 echo "${ECHO_T}no" >&6
3780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3781 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3783 # Check whether --enable-debug_info or --disable-debug_info was given.
3784 if test "${enable_debug_info+set}" = set; then
3785 enableval
="$enable_debug_info"
3787 if test "$enableval" = yes; then
3788 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3790 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3795 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x
; then
3797 eval "DEFAULT_$LINE"
3802 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3806 eval "$ac_cv_use_debug_info"
3807 if test "$no_cache" != 1; then
3808 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3811 if test "$wxUSE_DEBUG_INFO" = yes; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3822 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3824 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3825 if test "${enable_debug_gdb+set}" = set; then
3826 enableval
="$enable_debug_gdb"
3828 if test "$enableval" = yes; then
3829 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3831 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3836 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x
; then
3838 eval "DEFAULT_$LINE"
3843 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3847 eval "$ac_cv_use_debug_gdb"
3848 if test "$no_cache" != 1; then
3849 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3852 if test "$wxUSE_DEBUG_GDB" = yes; then
3853 echo "$as_me:$LINENO: result: yes" >&5
3854 echo "${ECHO_T}yes" >&6
3856 echo "$as_me:$LINENO: result: no" >&5
3857 echo "${ECHO_T}no" >&6
3862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3863 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3865 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3866 if test "${enable_debug_cntxt+set}" = set; then
3867 enableval
="$enable_debug_cntxt"
3869 if test "$enableval" = yes; then
3870 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3872 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3877 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3878 if test "x$LINE" != x
; then
3879 eval "DEFAULT_$LINE"
3884 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3888 eval "$ac_cv_use_debug_cntxt"
3889 if test "$no_cache" != 1; then
3890 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3893 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3894 echo "$as_me:$LINENO: result: yes" >&5
3895 echo "${ECHO_T}yes" >&6
3897 echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6
3903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3904 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3906 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3907 if test "${enable_mem_tracing+set}" = set; then
3908 enableval
="$enable_mem_tracing"
3910 if test "$enableval" = yes; then
3911 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3913 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3918 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3919 if test "x$LINE" != x
; then
3920 eval "DEFAULT_$LINE"
3925 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3929 eval "$ac_cv_use_mem_tracing"
3930 if test "$no_cache" != 1; then
3931 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3934 if test "$wxUSE_MEM_TRACING" = yes; then
3935 echo "$as_me:$LINENO: result: yes" >&5
3936 echo "${ECHO_T}yes" >&6
3938 echo "$as_me:$LINENO: result: no" >&5
3939 echo "${ECHO_T}no" >&6
3944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3945 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3947 # Check whether --enable-profile or --disable-profile was given.
3948 if test "${enable_profile+set}" = set; then
3949 enableval
="$enable_profile"
3951 if test "$enableval" = yes; then
3952 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3954 ac_cv_use_profile
='wxUSE_PROFILE=no'
3959 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3960 if test "x$LINE" != x
; then
3961 eval "DEFAULT_$LINE"
3966 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3970 eval "$ac_cv_use_profile"
3971 if test "$no_cache" != 1; then
3972 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3975 if test "$wxUSE_PROFILE" = yes; then
3976 echo "$as_me:$LINENO: result: yes" >&5
3977 echo "${ECHO_T}yes" >&6
3979 echo "$as_me:$LINENO: result: no" >&5
3980 echo "${ECHO_T}no" >&6
3985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3986 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3988 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3989 if test "${enable_no_rtti+set}" = set; then
3990 enableval
="$enable_no_rtti"
3992 if test "$enableval" = yes; then
3993 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3995 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4000 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x
; then
4002 eval "DEFAULT_$LINE"
4007 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4011 eval "$ac_cv_use_no_rtti"
4012 if test "$no_cache" != 1; then
4013 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4016 if test "$wxUSE_NO_RTTI" = yes; then
4017 echo "$as_me:$LINENO: result: yes" >&5
4018 echo "${ECHO_T}yes" >&6
4020 echo "$as_me:$LINENO: result: no" >&5
4021 echo "${ECHO_T}no" >&6
4026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4027 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4029 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4030 if test "${enable_no_exceptions+set}" = set; then
4031 enableval
="$enable_no_exceptions"
4033 if test "$enableval" = yes; then
4034 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4036 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4041 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4042 if test "x$LINE" != x
; then
4043 eval "DEFAULT_$LINE"
4048 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4052 eval "$ac_cv_use_no_exceptions"
4053 if test "$no_cache" != 1; then
4054 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4057 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4058 echo "$as_me:$LINENO: result: yes" >&5
4059 echo "${ECHO_T}yes" >&6
4061 echo "$as_me:$LINENO: result: no" >&5
4062 echo "${ECHO_T}no" >&6
4067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4068 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4070 # Check whether --enable-permissive or --disable-permissive was given.
4071 if test "${enable_permissive+set}" = set; then
4072 enableval
="$enable_permissive"
4074 if test "$enableval" = yes; then
4075 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4077 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4082 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4083 if test "x$LINE" != x
; then
4084 eval "DEFAULT_$LINE"
4089 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4093 eval "$ac_cv_use_permissive"
4094 if test "$no_cache" != 1; then
4095 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4098 if test "$wxUSE_PERMISSIVE" = yes; then
4099 echo "$as_me:$LINENO: result: yes" >&5
4100 echo "${ECHO_T}yes" >&6
4102 echo "$as_me:$LINENO: result: no" >&5
4103 echo "${ECHO_T}no" >&6
4108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4109 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4111 # Check whether --enable-no_deps or --disable-no_deps was given.
4112 if test "${enable_no_deps+set}" = set; then
4113 enableval
="$enable_no_deps"
4115 if test "$enableval" = yes; then
4116 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4118 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4123 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x
; then
4125 eval "DEFAULT_$LINE"
4130 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4134 eval "$ac_cv_use_no_deps"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4139 if test "$wxUSE_NO_DEPS" = yes; then
4140 echo "$as_me:$LINENO: result: yes" >&5
4141 echo "${ECHO_T}yes" >&6
4143 echo "$as_me:$LINENO: result: no" >&5
4144 echo "${ECHO_T}no" >&6
4150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4151 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4153 # Check whether --enable-compat22 or --disable-compat22 was given.
4154 if test "${enable_compat22+set}" = set; then
4155 enableval
="$enable_compat22"
4157 if test "$enableval" = yes; then
4158 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4160 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4165 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4166 if test "x$LINE" != x
; then
4167 eval "DEFAULT_$LINE"
4172 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4176 eval "$ac_cv_use_compat22"
4177 if test "$no_cache" != 1; then
4178 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4181 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4182 echo "$as_me:$LINENO: result: yes" >&5
4183 echo "${ECHO_T}yes" >&6
4185 echo "$as_me:$LINENO: result: no" >&5
4186 echo "${ECHO_T}no" >&6
4190 enablestring
=disable
4191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4192 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4194 # Check whether --enable-compat24 or --disable-compat24 was given.
4195 if test "${enable_compat24+set}" = set; then
4196 enableval
="$enable_compat24"
4198 if test "$enableval" = yes; then
4199 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4201 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4206 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4207 if test "x$LINE" != x
; then
4208 eval "DEFAULT_$LINE"
4213 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4217 eval "$ac_cv_use_compat24"
4218 if test "$no_cache" != 1; then
4219 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4222 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4223 echo "$as_me:$LINENO: result: yes" >&5
4224 echo "${ECHO_T}yes" >&6
4226 echo "$as_me:$LINENO: result: no" >&5
4227 echo "${ECHO_T}no" >&6
4233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4234 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4236 # Check whether --enable-rpath or --disable-rpath was given.
4237 if test "${enable_rpath+set}" = set; then
4238 enableval
="$enable_rpath"
4240 if test "$enableval" = yes; then
4241 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4243 ac_cv_use_rpath
='wxUSE_RPATH=no'
4248 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4249 if test "x$LINE" != x
; then
4250 eval "DEFAULT_$LINE"
4255 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4259 eval "$ac_cv_use_rpath"
4260 if test "$no_cache" != 1; then
4261 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4264 if test "$wxUSE_RPATH" = yes; then
4265 echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6
4268 echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6
4277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4278 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4280 # Check whether --enable-intl or --disable-intl was given.
4281 if test "${enable_intl+set}" = set; then
4282 enableval
="$enable_intl"
4284 if test "$enableval" = yes; then
4285 ac_cv_use_intl
='wxUSE_INTL=yes'
4287 ac_cv_use_intl
='wxUSE_INTL=no'
4292 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4293 if test "x$LINE" != x
; then
4294 eval "DEFAULT_$LINE"
4299 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4303 eval "$ac_cv_use_intl"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4308 if test "$wxUSE_INTL" = yes; then
4309 echo "$as_me:$LINENO: result: yes" >&5
4310 echo "${ECHO_T}yes" >&6
4312 echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6
4318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4319 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4321 # Check whether --enable-config or --disable-config was given.
4322 if test "${enable_config+set}" = set; then
4323 enableval
="$enable_config"
4325 if test "$enableval" = yes; then
4326 ac_cv_use_config
='wxUSE_CONFIG=yes'
4328 ac_cv_use_config
='wxUSE_CONFIG=no'
4333 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4334 if test "x$LINE" != x
; then
4335 eval "DEFAULT_$LINE"
4340 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4344 eval "$ac_cv_use_config"
4345 if test "$no_cache" != 1; then
4346 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4349 if test "$wxUSE_CONFIG" = yes; then
4350 echo "$as_me:$LINENO: result: yes" >&5
4351 echo "${ECHO_T}yes" >&6
4353 echo "$as_me:$LINENO: result: no" >&5
4354 echo "${ECHO_T}no" >&6
4360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4361 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4363 # Check whether --enable-protocols or --disable-protocols was given.
4364 if test "${enable_protocols+set}" = set; then
4365 enableval
="$enable_protocols"
4367 if test "$enableval" = yes; then
4368 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4370 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4375 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4376 if test "x$LINE" != x
; then
4377 eval "DEFAULT_$LINE"
4382 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4386 eval "$ac_cv_use_protocols"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4391 if test "$wxUSE_PROTOCOL" = yes; then
4392 echo "$as_me:$LINENO: result: yes" >&5
4393 echo "${ECHO_T}yes" >&6
4395 echo "$as_me:$LINENO: result: no" >&5
4396 echo "${ECHO_T}no" >&6
4401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4402 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4404 # Check whether --enable-ftp or --disable-ftp was given.
4405 if test "${enable_ftp+set}" = set; then
4406 enableval
="$enable_ftp"
4408 if test "$enableval" = yes; then
4409 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4411 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4416 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4417 if test "x$LINE" != x
; then
4418 eval "DEFAULT_$LINE"
4423 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4427 eval "$ac_cv_use_ftp"
4428 if test "$no_cache" != 1; then
4429 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4432 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4433 echo "$as_me:$LINENO: result: yes" >&5
4434 echo "${ECHO_T}yes" >&6
4436 echo "$as_me:$LINENO: result: no" >&5
4437 echo "${ECHO_T}no" >&6
4442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4443 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4445 # Check whether --enable-http or --disable-http was given.
4446 if test "${enable_http+set}" = set; then
4447 enableval
="$enable_http"
4449 if test "$enableval" = yes; then
4450 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4452 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4457 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x
; then
4459 eval "DEFAULT_$LINE"
4464 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4468 eval "$ac_cv_use_http"
4469 if test "$no_cache" != 1; then
4470 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4473 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4474 echo "$as_me:$LINENO: result: yes" >&5
4475 echo "${ECHO_T}yes" >&6
4477 echo "$as_me:$LINENO: result: no" >&5
4478 echo "${ECHO_T}no" >&6
4483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4484 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4486 # Check whether --enable-fileproto or --disable-fileproto was given.
4487 if test "${enable_fileproto+set}" = set; then
4488 enableval
="$enable_fileproto"
4490 if test "$enableval" = yes; then
4491 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4493 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4498 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x
; then
4500 eval "DEFAULT_$LINE"
4505 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4509 eval "$ac_cv_use_fileproto"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4514 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4515 echo "$as_me:$LINENO: result: yes" >&5
4516 echo "${ECHO_T}yes" >&6
4518 echo "$as_me:$LINENO: result: no" >&5
4519 echo "${ECHO_T}no" >&6
4524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4527 # Check whether --enable-sockets or --disable-sockets was given.
4528 if test "${enable_sockets+set}" = set; then
4529 enableval
="$enable_sockets"
4531 if test "$enableval" = yes; then
4532 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4534 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4539 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4540 if test "x$LINE" != x
; then
4541 eval "DEFAULT_$LINE"
4546 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4550 eval "$ac_cv_use_sockets"
4551 if test "$no_cache" != 1; then
4552 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4555 if test "$wxUSE_SOCKETS" = yes; then
4556 echo "$as_me:$LINENO: result: yes" >&5
4557 echo "${ECHO_T}yes" >&6
4559 echo "$as_me:$LINENO: result: no" >&5
4560 echo "${ECHO_T}no" >&6
4565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4566 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4568 # Check whether --enable-ole or --disable-ole was given.
4569 if test "${enable_ole+set}" = set; then
4570 enableval
="$enable_ole"
4572 if test "$enableval" = yes; then
4573 ac_cv_use_ole
='wxUSE_OLE=yes'
4575 ac_cv_use_ole
='wxUSE_OLE=no'
4580 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4581 if test "x$LINE" != x
; then
4582 eval "DEFAULT_$LINE"
4587 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4591 eval "$ac_cv_use_ole"
4592 if test "$no_cache" != 1; then
4593 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4596 if test "$wxUSE_OLE" = yes; then
4597 echo "$as_me:$LINENO: result: yes" >&5
4598 echo "${ECHO_T}yes" >&6
4600 echo "$as_me:$LINENO: result: no" >&5
4601 echo "${ECHO_T}no" >&6
4606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4607 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4609 # Check whether --enable-dataobj or --disable-dataobj was given.
4610 if test "${enable_dataobj+set}" = set; then
4611 enableval
="$enable_dataobj"
4613 if test "$enableval" = yes; then
4614 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4616 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4621 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4622 if test "x$LINE" != x
; then
4623 eval "DEFAULT_$LINE"
4628 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4632 eval "$ac_cv_use_dataobj"
4633 if test "$no_cache" != 1; then
4634 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4637 if test "$wxUSE_DATAOBJ" = yes; then
4638 echo "$as_me:$LINENO: result: yes" >&5
4639 echo "${ECHO_T}yes" >&6
4641 echo "$as_me:$LINENO: result: no" >&5
4642 echo "${ECHO_T}no" >&6
4648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4649 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4651 # Check whether --enable-ipc or --disable-ipc was given.
4652 if test "${enable_ipc+set}" = set; then
4653 enableval
="$enable_ipc"
4655 if test "$enableval" = yes; then
4656 ac_cv_use_ipc
='wxUSE_IPC=yes'
4658 ac_cv_use_ipc
='wxUSE_IPC=no'
4663 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4664 if test "x$LINE" != x
; then
4665 eval "DEFAULT_$LINE"
4670 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4674 eval "$ac_cv_use_ipc"
4675 if test "$no_cache" != 1; then
4676 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4679 if test "$wxUSE_IPC" = yes; then
4680 echo "$as_me:$LINENO: result: yes" >&5
4681 echo "${ECHO_T}yes" >&6
4683 echo "$as_me:$LINENO: result: no" >&5
4684 echo "${ECHO_T}no" >&6
4690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4691 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4693 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4694 if test "${enable_apple_ieee+set}" = set; then
4695 enableval
="$enable_apple_ieee"
4697 if test "$enableval" = yes; then
4698 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4700 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4705 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4706 if test "x$LINE" != x
; then
4707 eval "DEFAULT_$LINE"
4712 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4716 eval "$ac_cv_use_apple_ieee"
4717 if test "$no_cache" != 1; then
4718 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4721 if test "$wxUSE_APPLE_IEEE" = yes; then
4722 echo "$as_me:$LINENO: result: yes" >&5
4723 echo "${ECHO_T}yes" >&6
4725 echo "$as_me:$LINENO: result: no" >&5
4726 echo "${ECHO_T}no" >&6
4731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4732 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4734 # Check whether --enable-arcstream or --disable-arcstream was given.
4735 if test "${enable_arcstream+set}" = set; then
4736 enableval
="$enable_arcstream"
4738 if test "$enableval" = yes; then
4739 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4741 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4746 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x
; then
4748 eval "DEFAULT_$LINE"
4753 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4757 eval "$ac_cv_use_arcstream"
4758 if test "$no_cache" != 1; then
4759 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4762 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4763 echo "$as_me:$LINENO: result: yes" >&5
4764 echo "${ECHO_T}yes" >&6
4766 echo "$as_me:$LINENO: result: no" >&5
4767 echo "${ECHO_T}no" >&6
4772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4773 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4775 # Check whether --enable-backtrace or --disable-backtrace was given.
4776 if test "${enable_backtrace+set}" = set; then
4777 enableval
="$enable_backtrace"
4779 if test "$enableval" = yes; then
4780 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4782 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4787 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4788 if test "x$LINE" != x
; then
4789 eval "DEFAULT_$LINE"
4794 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4798 eval "$ac_cv_use_backtrace"
4799 if test "$no_cache" != 1; then
4800 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4803 if test "$wxUSE_STACKWALKER" = yes; then
4804 echo "$as_me:$LINENO: result: yes" >&5
4805 echo "${ECHO_T}yes" >&6
4807 echo "$as_me:$LINENO: result: no" >&5
4808 echo "${ECHO_T}no" >&6
4813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4814 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4816 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4817 if test "${enable_catch_segvs+set}" = set; then
4818 enableval
="$enable_catch_segvs"
4820 if test "$enableval" = yes; then
4821 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4823 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4828 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4829 if test "x$LINE" != x
; then
4830 eval "DEFAULT_$LINE"
4835 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4839 eval "$ac_cv_use_catch_segvs"
4840 if test "$no_cache" != 1; then
4841 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4844 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4845 echo "$as_me:$LINENO: result: yes" >&5
4846 echo "${ECHO_T}yes" >&6
4848 echo "$as_me:$LINENO: result: no" >&5
4849 echo "${ECHO_T}no" >&6
4854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4855 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4857 # Check whether --enable-cmdline or --disable-cmdline was given.
4858 if test "${enable_cmdline+set}" = set; then
4859 enableval
="$enable_cmdline"
4861 if test "$enableval" = yes; then
4862 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4864 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4869 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4870 if test "x$LINE" != x
; then
4871 eval "DEFAULT_$LINE"
4876 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4880 eval "$ac_cv_use_cmdline"
4881 if test "$no_cache" != 1; then
4882 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4885 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4886 echo "$as_me:$LINENO: result: yes" >&5
4887 echo "${ECHO_T}yes" >&6
4889 echo "$as_me:$LINENO: result: no" >&5
4890 echo "${ECHO_T}no" >&6
4895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4896 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4898 # Check whether --enable-datetime or --disable-datetime was given.
4899 if test "${enable_datetime+set}" = set; then
4900 enableval
="$enable_datetime"
4902 if test "$enableval" = yes; then
4903 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4905 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4910 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x
; then
4912 eval "DEFAULT_$LINE"
4917 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4921 eval "$ac_cv_use_datetime"
4922 if test "$no_cache" != 1; then
4923 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4926 if test "$wxUSE_DATETIME" = yes; then
4927 echo "$as_me:$LINENO: result: yes" >&5
4928 echo "${ECHO_T}yes" >&6
4930 echo "$as_me:$LINENO: result: no" >&5
4931 echo "${ECHO_T}no" >&6
4936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4937 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4939 # Check whether --enable-debugreport or --disable-debugreport was given.
4940 if test "${enable_debugreport+set}" = set; then
4941 enableval
="$enable_debugreport"
4943 if test "$enableval" = yes; then
4944 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4946 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4951 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4952 if test "x$LINE" != x
; then
4953 eval "DEFAULT_$LINE"
4958 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4962 eval "$ac_cv_use_debugreport"
4963 if test "$no_cache" != 1; then
4964 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4967 if test "$wxUSE_DEBUGREPORT" = yes; then
4968 echo "$as_me:$LINENO: result: yes" >&5
4969 echo "${ECHO_T}yes" >&6
4971 echo "$as_me:$LINENO: result: no" >&5
4972 echo "${ECHO_T}no" >&6
4977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4980 # Check whether --enable-dialupman or --disable-dialupman was given.
4981 if test "${enable_dialupman+set}" = set; then
4982 enableval
="$enable_dialupman"
4984 if test "$enableval" = yes; then
4985 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4987 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4992 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4993 if test "x$LINE" != x
; then
4994 eval "DEFAULT_$LINE"
4999 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5003 eval "$ac_cv_use_dialupman"
5004 if test "$no_cache" != 1; then
5005 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5008 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5009 echo "$as_me:$LINENO: result: yes" >&5
5010 echo "${ECHO_T}yes" >&6
5012 echo "$as_me:$LINENO: result: no" >&5
5013 echo "${ECHO_T}no" >&6
5018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5019 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5021 # Check whether --enable-dynlib or --disable-dynlib was given.
5022 if test "${enable_dynlib+set}" = set; then
5023 enableval
="$enable_dynlib"
5025 if test "$enableval" = yes; then
5026 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5028 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5033 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5034 if test "x$LINE" != x
; then
5035 eval "DEFAULT_$LINE"
5040 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5044 eval "$ac_cv_use_dynlib"
5045 if test "$no_cache" != 1; then
5046 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5049 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5050 echo "$as_me:$LINENO: result: yes" >&5
5051 echo "${ECHO_T}yes" >&6
5053 echo "$as_me:$LINENO: result: no" >&5
5054 echo "${ECHO_T}no" >&6
5059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5060 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5062 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5063 if test "${enable_dynamicloader+set}" = set; then
5064 enableval
="$enable_dynamicloader"
5066 if test "$enableval" = yes; then
5067 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5069 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5074 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5075 if test "x$LINE" != x
; then
5076 eval "DEFAULT_$LINE"
5081 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5085 eval "$ac_cv_use_dynamicloader"
5086 if test "$no_cache" != 1; then
5087 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5090 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5091 echo "$as_me:$LINENO: result: yes" >&5
5092 echo "${ECHO_T}yes" >&6
5094 echo "$as_me:$LINENO: result: no" >&5
5095 echo "${ECHO_T}no" >&6
5100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5101 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5103 # Check whether --enable-exceptions or --disable-exceptions was given.
5104 if test "${enable_exceptions+set}" = set; then
5105 enableval
="$enable_exceptions"
5107 if test "$enableval" = yes; then
5108 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5110 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5115 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5116 if test "x$LINE" != x
; then
5117 eval "DEFAULT_$LINE"
5122 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5126 eval "$ac_cv_use_exceptions"
5127 if test "$no_cache" != 1; then
5128 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5131 if test "$wxUSE_EXCEPTIONS" = yes; then
5132 echo "$as_me:$LINENO: result: yes" >&5
5133 echo "${ECHO_T}yes" >&6
5135 echo "$as_me:$LINENO: result: no" >&5
5136 echo "${ECHO_T}no" >&6
5141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5142 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5144 # Check whether --enable-ffile or --disable-ffile was given.
5145 if test "${enable_ffile+set}" = set; then
5146 enableval
="$enable_ffile"
5148 if test "$enableval" = yes; then
5149 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5151 ac_cv_use_ffile
='wxUSE_FFILE=no'
5156 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5157 if test "x$LINE" != x
; then
5158 eval "DEFAULT_$LINE"
5163 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5167 eval "$ac_cv_use_ffile"
5168 if test "$no_cache" != 1; then
5169 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5172 if test "$wxUSE_FFILE" = yes; then
5173 echo "$as_me:$LINENO: result: yes" >&5
5174 echo "${ECHO_T}yes" >&6
5176 echo "$as_me:$LINENO: result: no" >&5
5177 echo "${ECHO_T}no" >&6
5182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5183 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5185 # Check whether --enable-file or --disable-file was given.
5186 if test "${enable_file+set}" = set; then
5187 enableval
="$enable_file"
5189 if test "$enableval" = yes; then
5190 ac_cv_use_file
='wxUSE_FILE=yes'
5192 ac_cv_use_file
='wxUSE_FILE=no'
5197 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5198 if test "x$LINE" != x
; then
5199 eval "DEFAULT_$LINE"
5204 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5208 eval "$ac_cv_use_file"
5209 if test "$no_cache" != 1; then
5210 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5213 if test "$wxUSE_FILE" = yes; then
5214 echo "$as_me:$LINENO: result: yes" >&5
5215 echo "${ECHO_T}yes" >&6
5217 echo "$as_me:$LINENO: result: no" >&5
5218 echo "${ECHO_T}no" >&6
5223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5224 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5226 # Check whether --enable-filesystem or --disable-filesystem was given.
5227 if test "${enable_filesystem+set}" = set; then
5228 enableval
="$enable_filesystem"
5230 if test "$enableval" = yes; then
5231 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5233 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5238 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5239 if test "x$LINE" != x
; then
5240 eval "DEFAULT_$LINE"
5245 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5249 eval "$ac_cv_use_filesystem"
5250 if test "$no_cache" != 1; then
5251 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5254 if test "$wxUSE_FILESYSTEM" = yes; then
5255 echo "$as_me:$LINENO: result: yes" >&5
5256 echo "${ECHO_T}yes" >&6
5258 echo "$as_me:$LINENO: result: no" >&5
5259 echo "${ECHO_T}no" >&6
5264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5265 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5267 # Check whether --enable-fontmap or --disable-fontmap was given.
5268 if test "${enable_fontmap+set}" = set; then
5269 enableval
="$enable_fontmap"
5271 if test "$enableval" = yes; then
5272 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5274 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5279 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5280 if test "x$LINE" != x
; then
5281 eval "DEFAULT_$LINE"
5286 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5290 eval "$ac_cv_use_fontmap"
5291 if test "$no_cache" != 1; then
5292 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5295 if test "$wxUSE_FONTMAP" = yes; then
5296 echo "$as_me:$LINENO: result: yes" >&5
5297 echo "${ECHO_T}yes" >&6
5299 echo "$as_me:$LINENO: result: no" >&5
5300 echo "${ECHO_T}no" >&6
5305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5306 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5308 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5309 if test "${enable_fs_inet+set}" = set; then
5310 enableval
="$enable_fs_inet"
5312 if test "$enableval" = yes; then
5313 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5315 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5320 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5321 if test "x$LINE" != x
; then
5322 eval "DEFAULT_$LINE"
5327 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5331 eval "$ac_cv_use_fs_inet"
5332 if test "$no_cache" != 1; then
5333 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5336 if test "$wxUSE_FS_INET" = yes; then
5337 echo "$as_me:$LINENO: result: yes" >&5
5338 echo "${ECHO_T}yes" >&6
5340 echo "$as_me:$LINENO: result: no" >&5
5341 echo "${ECHO_T}no" >&6
5346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5347 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5349 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5350 if test "${enable_fs_zip+set}" = set; then
5351 enableval
="$enable_fs_zip"
5353 if test "$enableval" = yes; then
5354 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5356 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5361 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5362 if test "x$LINE" != x
; then
5363 eval "DEFAULT_$LINE"
5368 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5372 eval "$ac_cv_use_fs_zip"
5373 if test "$no_cache" != 1; then
5374 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5377 if test "$wxUSE_FS_ZIP" = yes; then
5378 echo "$as_me:$LINENO: result: yes" >&5
5379 echo "${ECHO_T}yes" >&6
5381 echo "$as_me:$LINENO: result: no" >&5
5382 echo "${ECHO_T}no" >&6
5387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5388 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5390 # Check whether --enable-geometry or --disable-geometry was given.
5391 if test "${enable_geometry+set}" = set; then
5392 enableval
="$enable_geometry"
5394 if test "$enableval" = yes; then
5395 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5397 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5402 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5403 if test "x$LINE" != x
; then
5404 eval "DEFAULT_$LINE"
5409 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5413 eval "$ac_cv_use_geometry"
5414 if test "$no_cache" != 1; then
5415 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5418 if test "$wxUSE_GEOMETRY" = yes; then
5419 echo "$as_me:$LINENO: result: yes" >&5
5420 echo "${ECHO_T}yes" >&6
5422 echo "$as_me:$LINENO: result: no" >&5
5423 echo "${ECHO_T}no" >&6
5428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5429 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5431 # Check whether --enable-log or --disable-log was given.
5432 if test "${enable_log+set}" = set; then
5433 enableval
="$enable_log"
5435 if test "$enableval" = yes; then
5436 ac_cv_use_log
='wxUSE_LOG=yes'
5438 ac_cv_use_log
='wxUSE_LOG=no'
5443 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5444 if test "x$LINE" != x
; then
5445 eval "DEFAULT_$LINE"
5450 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5454 eval "$ac_cv_use_log"
5455 if test "$no_cache" != 1; then
5456 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5459 if test "$wxUSE_LOG" = yes; then
5460 echo "$as_me:$LINENO: result: yes" >&5
5461 echo "${ECHO_T}yes" >&6
5463 echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6
5469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5470 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5472 # Check whether --enable-longlong or --disable-longlong was given.
5473 if test "${enable_longlong+set}" = set; then
5474 enableval
="$enable_longlong"
5476 if test "$enableval" = yes; then
5477 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5479 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5484 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5485 if test "x$LINE" != x
; then
5486 eval "DEFAULT_$LINE"
5491 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5495 eval "$ac_cv_use_longlong"
5496 if test "$no_cache" != 1; then
5497 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5500 if test "$wxUSE_LONGLONG" = yes; then
5501 echo "$as_me:$LINENO: result: yes" >&5
5502 echo "${ECHO_T}yes" >&6
5504 echo "$as_me:$LINENO: result: no" >&5
5505 echo "${ECHO_T}no" >&6
5510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5511 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5513 # Check whether --enable-mimetype or --disable-mimetype was given.
5514 if test "${enable_mimetype+set}" = set; then
5515 enableval
="$enable_mimetype"
5517 if test "$enableval" = yes; then
5518 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5520 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5525 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5526 if test "x$LINE" != x
; then
5527 eval "DEFAULT_$LINE"
5532 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5536 eval "$ac_cv_use_mimetype"
5537 if test "$no_cache" != 1; then
5538 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5541 if test "$wxUSE_MIMETYPE" = yes; then
5542 echo "$as_me:$LINENO: result: yes" >&5
5543 echo "${ECHO_T}yes" >&6
5545 echo "$as_me:$LINENO: result: no" >&5
5546 echo "${ECHO_T}no" >&6
5551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5552 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5554 # Check whether --enable-mslu or --disable-mslu was given.
5555 if test "${enable_mslu+set}" = set; then
5556 enableval
="$enable_mslu"
5558 if test "$enableval" = yes; then
5559 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5561 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5566 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5567 if test "x$LINE" != x
; then
5568 eval "DEFAULT_$LINE"
5573 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5577 eval "$ac_cv_use_mslu"
5578 if test "$no_cache" != 1; then
5579 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5582 if test "$wxUSE_UNICODE_MSLU" = yes; then
5583 echo "$as_me:$LINENO: result: yes" >&5
5584 echo "${ECHO_T}yes" >&6
5586 echo "$as_me:$LINENO: result: no" >&5
5587 echo "${ECHO_T}no" >&6
5592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5593 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5595 # Check whether --enable-snglinst or --disable-snglinst was given.
5596 if test "${enable_snglinst+set}" = set; then
5597 enableval
="$enable_snglinst"
5599 if test "$enableval" = yes; then
5600 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5602 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5607 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5608 if test "x$LINE" != x
; then
5609 eval "DEFAULT_$LINE"
5614 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5618 eval "$ac_cv_use_snglinst"
5619 if test "$no_cache" != 1; then
5620 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5623 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5624 echo "$as_me:$LINENO: result: yes" >&5
5625 echo "${ECHO_T}yes" >&6
5627 echo "$as_me:$LINENO: result: no" >&5
5628 echo "${ECHO_T}no" >&6
5633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5634 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5636 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5637 if test "${enable_std_iostreams+set}" = set; then
5638 enableval
="$enable_std_iostreams"
5640 if test "$enableval" = yes; then
5641 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5643 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5648 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5649 if test "x$LINE" != x
; then
5650 eval "DEFAULT_$LINE"
5655 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5659 eval "$ac_cv_use_std_iostreams"
5660 if test "$no_cache" != 1; then
5661 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5664 if test "$wxUSE_STD_IOSTREAM" = yes; then
5665 echo "$as_me:$LINENO: result: yes" >&5
5666 echo "${ECHO_T}yes" >&6
5668 echo "$as_me:$LINENO: result: no" >&5
5669 echo "${ECHO_T}no" >&6
5674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5675 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5677 # Check whether --enable-std_string or --disable-std_string was given.
5678 if test "${enable_std_string+set}" = set; then
5679 enableval
="$enable_std_string"
5681 if test "$enableval" = yes; then
5682 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5684 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5689 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5690 if test "x$LINE" != x
; then
5691 eval "DEFAULT_$LINE"
5696 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5700 eval "$ac_cv_use_std_string"
5701 if test "$no_cache" != 1; then
5702 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5705 if test "$wxUSE_STD_STRING" = yes; then
5706 echo "$as_me:$LINENO: result: yes" >&5
5707 echo "${ECHO_T}yes" >&6
5709 echo "$as_me:$LINENO: result: no" >&5
5710 echo "${ECHO_T}no" >&6
5715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5716 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5718 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5719 if test "${enable_stdpaths+set}" = set; then
5720 enableval
="$enable_stdpaths"
5722 if test "$enableval" = yes; then
5723 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5725 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5730 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5731 if test "x$LINE" != x
; then
5732 eval "DEFAULT_$LINE"
5737 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5741 eval "$ac_cv_use_stdpaths"
5742 if test "$no_cache" != 1; then
5743 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5746 if test "$wxUSE_STDPATHS" = yes; then
5747 echo "$as_me:$LINENO: result: yes" >&5
5748 echo "${ECHO_T}yes" >&6
5750 echo "$as_me:$LINENO: result: no" >&5
5751 echo "${ECHO_T}no" >&6
5756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5757 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5759 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5760 if test "${enable_stopwatch+set}" = set; then
5761 enableval
="$enable_stopwatch"
5763 if test "$enableval" = yes; then
5764 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5766 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5771 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5772 if test "x$LINE" != x
; then
5773 eval "DEFAULT_$LINE"
5778 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5782 eval "$ac_cv_use_stopwatch"
5783 if test "$no_cache" != 1; then
5784 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5787 if test "$wxUSE_STOPWATCH" = yes; then
5788 echo "$as_me:$LINENO: result: yes" >&5
5789 echo "${ECHO_T}yes" >&6
5791 echo "$as_me:$LINENO: result: no" >&5
5792 echo "${ECHO_T}no" >&6
5797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5800 # Check whether --enable-streams or --disable-streams was given.
5801 if test "${enable_streams+set}" = set; then
5802 enableval
="$enable_streams"
5804 if test "$enableval" = yes; then
5805 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5807 ac_cv_use_streams
='wxUSE_STREAMS=no'
5812 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5813 if test "x$LINE" != x
; then
5814 eval "DEFAULT_$LINE"
5819 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5823 eval "$ac_cv_use_streams"
5824 if test "$no_cache" != 1; then
5825 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5828 if test "$wxUSE_STREAMS" = yes; then
5829 echo "$as_me:$LINENO: result: yes" >&5
5830 echo "${ECHO_T}yes" >&6
5832 echo "$as_me:$LINENO: result: no" >&5
5833 echo "${ECHO_T}no" >&6
5838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5839 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5841 # Check whether --enable-system_options or --disable-system_options was given.
5842 if test "${enable_system_options+set}" = set; then
5843 enableval
="$enable_system_options"
5845 if test "$enableval" = yes; then
5846 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5848 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5853 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5854 if test "x$LINE" != x
; then
5855 eval "DEFAULT_$LINE"
5860 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5864 eval "$ac_cv_use_system_options"
5865 if test "$no_cache" != 1; then
5866 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5869 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5870 echo "$as_me:$LINENO: result: yes" >&5
5871 echo "${ECHO_T}yes" >&6
5873 echo "$as_me:$LINENO: result: no" >&5
5874 echo "${ECHO_T}no" >&6
5879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5880 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5882 # Check whether --enable-textbuf or --disable-textbuf was given.
5883 if test "${enable_textbuf+set}" = set; then
5884 enableval
="$enable_textbuf"
5886 if test "$enableval" = yes; then
5887 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5889 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5894 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5895 if test "x$LINE" != x
; then
5896 eval "DEFAULT_$LINE"
5901 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5905 eval "$ac_cv_use_textbuf"
5906 if test "$no_cache" != 1; then
5907 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5910 if test "$wxUSE_TEXTBUFFER" = yes; then
5911 echo "$as_me:$LINENO: result: yes" >&5
5912 echo "${ECHO_T}yes" >&6
5914 echo "$as_me:$LINENO: result: no" >&5
5915 echo "${ECHO_T}no" >&6
5920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5921 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5923 # Check whether --enable-textfile or --disable-textfile was given.
5924 if test "${enable_textfile+set}" = set; then
5925 enableval
="$enable_textfile"
5927 if test "$enableval" = yes; then
5928 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5930 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5935 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5936 if test "x$LINE" != x
; then
5937 eval "DEFAULT_$LINE"
5942 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5946 eval "$ac_cv_use_textfile"
5947 if test "$no_cache" != 1; then
5948 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5951 if test "$wxUSE_TEXTFILE" = yes; then
5952 echo "$as_me:$LINENO: result: yes" >&5
5953 echo "${ECHO_T}yes" >&6
5955 echo "$as_me:$LINENO: result: no" >&5
5956 echo "${ECHO_T}no" >&6
5961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5962 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5964 # Check whether --enable-timer or --disable-timer was given.
5965 if test "${enable_timer+set}" = set; then
5966 enableval
="$enable_timer"
5968 if test "$enableval" = yes; then
5969 ac_cv_use_timer
='wxUSE_TIMER=yes'
5971 ac_cv_use_timer
='wxUSE_TIMER=no'
5976 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5977 if test "x$LINE" != x
; then
5978 eval "DEFAULT_$LINE"
5983 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5987 eval "$ac_cv_use_timer"
5988 if test "$no_cache" != 1; then
5989 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5992 if test "$wxUSE_TIMER" = yes; then
5993 echo "$as_me:$LINENO: result: yes" >&5
5994 echo "${ECHO_T}yes" >&6
5996 echo "$as_me:$LINENO: result: no" >&5
5997 echo "${ECHO_T}no" >&6
6002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6003 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6005 # Check whether --enable-unicode or --disable-unicode was given.
6006 if test "${enable_unicode+set}" = set; then
6007 enableval
="$enable_unicode"
6009 if test "$enableval" = yes; then
6010 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6012 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6017 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6018 if test "x$LINE" != x
; then
6019 eval "DEFAULT_$LINE"
6024 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6028 eval "$ac_cv_use_unicode"
6029 if test "$no_cache" != 1; then
6030 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6033 if test "$wxUSE_UNICODE" = yes; then
6034 echo "$as_me:$LINENO: result: yes" >&5
6035 echo "${ECHO_T}yes" >&6
6037 echo "$as_me:$LINENO: result: no" >&5
6038 echo "${ECHO_T}no" >&6
6043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6044 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6046 # Check whether --enable-sound or --disable-sound was given.
6047 if test "${enable_sound+set}" = set; then
6048 enableval
="$enable_sound"
6050 if test "$enableval" = yes; then
6051 ac_cv_use_sound
='wxUSE_SOUND=yes'
6053 ac_cv_use_sound
='wxUSE_SOUND=no'
6058 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6059 if test "x$LINE" != x
; then
6060 eval "DEFAULT_$LINE"
6065 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6069 eval "$ac_cv_use_sound"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6074 if test "$wxUSE_SOUND" = yes; then
6075 echo "$as_me:$LINENO: result: yes" >&5
6076 echo "${ECHO_T}yes" >&6
6078 echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6
6084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6085 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6087 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6088 if test "${enable_mediactrl+set}" = set; then
6089 enableval
="$enable_mediactrl"
6091 if test "$enableval" = yes; then
6092 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6094 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6099 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6100 if test "x$LINE" != x
; then
6101 eval "DEFAULT_$LINE"
6106 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6110 eval "$ac_cv_use_mediactrl"
6111 if test "$no_cache" != 1; then
6112 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6115 if test "$wxUSE_MEDIACTRL" = yes; then
6116 echo "$as_me:$LINENO: result: yes" >&5
6117 echo "${ECHO_T}yes" >&6
6119 echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6
6125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6126 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6128 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6129 if test "${enable_wxprintfv+set}" = set; then
6130 enableval
="$enable_wxprintfv"
6132 if test "$enableval" = yes; then
6133 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6135 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6140 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6141 if test "x$LINE" != x
; then
6142 eval "DEFAULT_$LINE"
6147 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6151 eval "$ac_cv_use_wxprintfv"
6152 if test "$no_cache" != 1; then
6153 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6156 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6157 echo "$as_me:$LINENO: result: yes" >&5
6158 echo "${ECHO_T}yes" >&6
6160 echo "$as_me:$LINENO: result: no" >&5
6161 echo "${ECHO_T}no" >&6
6166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6167 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6169 # Check whether --enable-zipstream or --disable-zipstream was given.
6170 if test "${enable_zipstream+set}" = set; then
6171 enableval
="$enable_zipstream"
6173 if test "$enableval" = yes; then
6174 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6176 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6181 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6182 if test "x$LINE" != x
; then
6183 eval "DEFAULT_$LINE"
6188 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6192 eval "$ac_cv_use_zipstream"
6193 if test "$no_cache" != 1; then
6194 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6197 if test "$wxUSE_ZIPSTREAM" = yes; then
6198 echo "$as_me:$LINENO: result: yes" >&5
6199 echo "${ECHO_T}yes" >&6
6201 echo "$as_me:$LINENO: result: no" >&5
6202 echo "${ECHO_T}no" >&6
6208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6209 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6211 # Check whether --enable-url or --disable-url was given.
6212 if test "${enable_url+set}" = set; then
6213 enableval
="$enable_url"
6215 if test "$enableval" = yes; then
6216 ac_cv_use_url
='wxUSE_URL=yes'
6218 ac_cv_use_url
='wxUSE_URL=no'
6223 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6224 if test "x$LINE" != x
; then
6225 eval "DEFAULT_$LINE"
6230 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6234 eval "$ac_cv_use_url"
6235 if test "$no_cache" != 1; then
6236 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6239 if test "$wxUSE_URL" = yes; then
6240 echo "$as_me:$LINENO: result: yes" >&5
6241 echo "${ECHO_T}yes" >&6
6243 echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6
6249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6250 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6252 # Check whether --enable-protocol or --disable-protocol was given.
6253 if test "${enable_protocol+set}" = set; then
6254 enableval
="$enable_protocol"
6256 if test "$enableval" = yes; then
6257 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6259 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6264 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6265 if test "x$LINE" != x
; then
6266 eval "DEFAULT_$LINE"
6271 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6275 eval "$ac_cv_use_protocol"
6276 if test "$no_cache" != 1; then
6277 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6280 if test "$wxUSE_PROTOCOL" = yes; then
6281 echo "$as_me:$LINENO: result: yes" >&5
6282 echo "${ECHO_T}yes" >&6
6284 echo "$as_me:$LINENO: result: no" >&5
6285 echo "${ECHO_T}no" >&6
6290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6291 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6293 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6294 if test "${enable_protocol_http+set}" = set; then
6295 enableval
="$enable_protocol_http"
6297 if test "$enableval" = yes; then
6298 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6300 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6305 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6306 if test "x$LINE" != x
; then
6307 eval "DEFAULT_$LINE"
6312 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6316 eval "$ac_cv_use_protocol_http"
6317 if test "$no_cache" != 1; then
6318 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6321 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6322 echo "$as_me:$LINENO: result: yes" >&5
6323 echo "${ECHO_T}yes" >&6
6325 echo "$as_me:$LINENO: result: no" >&5
6326 echo "${ECHO_T}no" >&6
6331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6332 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6334 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6335 if test "${enable_protocol_ftp+set}" = set; then
6336 enableval
="$enable_protocol_ftp"
6338 if test "$enableval" = yes; then
6339 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6341 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6346 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6347 if test "x$LINE" != x
; then
6348 eval "DEFAULT_$LINE"
6353 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6357 eval "$ac_cv_use_protocol_ftp"
6358 if test "$no_cache" != 1; then
6359 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6362 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6363 echo "$as_me:$LINENO: result: yes" >&5
6364 echo "${ECHO_T}yes" >&6
6366 echo "$as_me:$LINENO: result: no" >&5
6367 echo "${ECHO_T}no" >&6
6372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6373 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6375 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6376 if test "${enable_protocol_file+set}" = set; then
6377 enableval
="$enable_protocol_file"
6379 if test "$enableval" = yes; then
6380 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6382 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6387 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6388 if test "x$LINE" != x
; then
6389 eval "DEFAULT_$LINE"
6394 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6398 eval "$ac_cv_use_protocol_file"
6399 if test "$no_cache" != 1; then
6400 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6403 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6404 echo "$as_me:$LINENO: result: yes" >&5
6405 echo "${ECHO_T}yes" >&6
6407 echo "$as_me:$LINENO: result: no" >&5
6408 echo "${ECHO_T}no" >&6
6416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6417 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6419 # Check whether --enable-threads or --disable-threads was given.
6420 if test "${enable_threads+set}" = set; then
6421 enableval
="$enable_threads"
6423 if test "$enableval" = yes; then
6424 ac_cv_use_threads
='wxUSE_THREADS=yes'
6426 ac_cv_use_threads
='wxUSE_THREADS=no'
6431 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x
; then
6433 eval "DEFAULT_$LINE"
6438 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6442 eval "$ac_cv_use_threads"
6443 if test "$no_cache" != 1; then
6444 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6447 if test "$wxUSE_THREADS" = yes; then
6448 echo "$as_me:$LINENO: result: yes" >&5
6449 echo "${ECHO_T}yes" >&6
6451 echo "$as_me:$LINENO: result: no" >&5
6452 echo "${ECHO_T}no" >&6
6456 if test "$wxUSE_GUI" = "yes"; then
6461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6462 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6464 # Check whether --enable-docview or --disable-docview was given.
6465 if test "${enable_docview+set}" = set; then
6466 enableval
="$enable_docview"
6468 if test "$enableval" = yes; then
6469 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6471 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6476 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6477 if test "x$LINE" != x
; then
6478 eval "DEFAULT_$LINE"
6483 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6487 eval "$ac_cv_use_docview"
6488 if test "$no_cache" != 1; then
6489 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6492 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6493 echo "$as_me:$LINENO: result: yes" >&5
6494 echo "${ECHO_T}yes" >&6
6496 echo "$as_me:$LINENO: result: no" >&5
6497 echo "${ECHO_T}no" >&6
6502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6503 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6505 # Check whether --enable-help or --disable-help was given.
6506 if test "${enable_help+set}" = set; then
6507 enableval
="$enable_help"
6509 if test "$enableval" = yes; then
6510 ac_cv_use_help
='wxUSE_HELP=yes'
6512 ac_cv_use_help
='wxUSE_HELP=no'
6517 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6518 if test "x$LINE" != x
; then
6519 eval "DEFAULT_$LINE"
6524 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6528 eval "$ac_cv_use_help"
6529 if test "$no_cache" != 1; then
6530 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6533 if test "$wxUSE_HELP" = yes; then
6534 echo "$as_me:$LINENO: result: yes" >&5
6535 echo "${ECHO_T}yes" >&6
6537 echo "$as_me:$LINENO: result: no" >&5
6538 echo "${ECHO_T}no" >&6
6543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6544 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6546 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6547 if test "${enable_mshtmlhelp+set}" = set; then
6548 enableval
="$enable_mshtmlhelp"
6550 if test "$enableval" = yes; then
6551 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6553 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6558 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6559 if test "x$LINE" != x
; then
6560 eval "DEFAULT_$LINE"
6565 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6569 eval "$ac_cv_use_mshtmlhelp"
6570 if test "$no_cache" != 1; then
6571 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6574 if test "$wxUSE_MS_HTML_HELP" = yes; then
6575 echo "$as_me:$LINENO: result: yes" >&5
6576 echo "${ECHO_T}yes" >&6
6578 echo "$as_me:$LINENO: result: no" >&5
6579 echo "${ECHO_T}no" >&6
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6587 # Check whether --enable-html or --disable-html was given.
6588 if test "${enable_html+set}" = set; then
6589 enableval
="$enable_html"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_html
='wxUSE_HTML=yes'
6594 ac_cv_use_html
='wxUSE_HTML=no'
6599 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x
; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6610 eval "$ac_cv_use_html"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6615 if test "$wxUSE_HTML" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6628 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6629 if test "${enable_htmlhelp+set}" = set; then
6630 enableval
="$enable_htmlhelp"
6632 if test "$enableval" = yes; then
6633 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6635 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6640 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x
; then
6642 eval "DEFAULT_$LINE"
6647 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6651 eval "$ac_cv_use_htmlhelp"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6656 if test "$wxUSE_WXHTML_HELP" = yes; then
6657 echo "$as_me:$LINENO: result: yes" >&5
6658 echo "${ECHO_T}yes" >&6
6660 echo "$as_me:$LINENO: result: no" >&5
6661 echo "${ECHO_T}no" >&6
6666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6669 # Check whether --enable-xrc or --disable-xrc was given.
6670 if test "${enable_xrc+set}" = set; then
6671 enableval
="$enable_xrc"
6673 if test "$enableval" = yes; then
6674 ac_cv_use_xrc
='wxUSE_XRC=yes'
6676 ac_cv_use_xrc
='wxUSE_XRC=no'
6681 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x
; then
6683 eval "DEFAULT_$LINE"
6688 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6692 eval "$ac_cv_use_xrc"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6697 if test "$wxUSE_XRC" = yes; then
6698 echo "$as_me:$LINENO: result: yes" >&5
6699 echo "${ECHO_T}yes" >&6
6701 echo "$as_me:$LINENO: result: no" >&5
6702 echo "${ECHO_T}no" >&6
6707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6708 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6710 # Check whether --enable-constraints or --disable-constraints was given.
6711 if test "${enable_constraints+set}" = set; then
6712 enableval
="$enable_constraints"
6714 if test "$enableval" = yes; then
6715 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6717 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6722 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6723 if test "x$LINE" != x
; then
6724 eval "DEFAULT_$LINE"
6729 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6733 eval "$ac_cv_use_constraints"
6734 if test "$no_cache" != 1; then
6735 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6738 if test "$wxUSE_CONSTRAINTS" = yes; then
6739 echo "$as_me:$LINENO: result: yes" >&5
6740 echo "${ECHO_T}yes" >&6
6742 echo "$as_me:$LINENO: result: no" >&5
6743 echo "${ECHO_T}no" >&6
6748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6749 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6751 # Check whether --enable-printarch or --disable-printarch was given.
6752 if test "${enable_printarch+set}" = set; then
6753 enableval
="$enable_printarch"
6755 if test "$enableval" = yes; then
6756 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6758 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6763 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6764 if test "x$LINE" != x
; then
6765 eval "DEFAULT_$LINE"
6770 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6774 eval "$ac_cv_use_printarch"
6775 if test "$no_cache" != 1; then
6776 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6779 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6780 echo "$as_me:$LINENO: result: yes" >&5
6781 echo "${ECHO_T}yes" >&6
6783 echo "$as_me:$LINENO: result: no" >&5
6784 echo "${ECHO_T}no" >&6
6789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6790 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6792 # Check whether --enable-mdi or --disable-mdi was given.
6793 if test "${enable_mdi+set}" = set; then
6794 enableval
="$enable_mdi"
6796 if test "$enableval" = yes; then
6797 ac_cv_use_mdi
='wxUSE_MDI=yes'
6799 ac_cv_use_mdi
='wxUSE_MDI=no'
6804 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6805 if test "x$LINE" != x
; then
6806 eval "DEFAULT_$LINE"
6811 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6815 eval "$ac_cv_use_mdi"
6816 if test "$no_cache" != 1; then
6817 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6820 if test "$wxUSE_MDI" = yes; then
6821 echo "$as_me:$LINENO: result: yes" >&5
6822 echo "${ECHO_T}yes" >&6
6824 echo "$as_me:$LINENO: result: no" >&5
6825 echo "${ECHO_T}no" >&6
6830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6831 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6833 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6834 if test "${enable_mdidoc+set}" = set; then
6835 enableval
="$enable_mdidoc"
6837 if test "$enableval" = yes; then
6838 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6840 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6845 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6846 if test "x$LINE" != x
; then
6847 eval "DEFAULT_$LINE"
6852 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6856 eval "$ac_cv_use_mdidoc"
6857 if test "$no_cache" != 1; then
6858 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6861 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6862 echo "$as_me:$LINENO: result: yes" >&5
6863 echo "${ECHO_T}yes" >&6
6865 echo "$as_me:$LINENO: result: no" >&5
6866 echo "${ECHO_T}no" >&6
6871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6872 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6874 # Check whether --enable-loggui or --disable-loggui was given.
6875 if test "${enable_loggui+set}" = set; then
6876 enableval
="$enable_loggui"
6878 if test "$enableval" = yes; then
6879 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6881 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6886 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6887 if test "x$LINE" != x
; then
6888 eval "DEFAULT_$LINE"
6893 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6897 eval "$ac_cv_use_loggui"
6898 if test "$no_cache" != 1; then
6899 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6902 if test "$wxUSE_LOGGUI" = yes; then
6903 echo "$as_me:$LINENO: result: yes" >&5
6904 echo "${ECHO_T}yes" >&6
6906 echo "$as_me:$LINENO: result: no" >&5
6907 echo "${ECHO_T}no" >&6
6912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6913 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6915 # Check whether --enable-logwin or --disable-logwin was given.
6916 if test "${enable_logwin+set}" = set; then
6917 enableval
="$enable_logwin"
6919 if test "$enableval" = yes; then
6920 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6922 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6927 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6928 if test "x$LINE" != x
; then
6929 eval "DEFAULT_$LINE"
6934 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6938 eval "$ac_cv_use_logwin"
6939 if test "$no_cache" != 1; then
6940 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6943 if test "$wxUSE_LOGWINDOW" = yes; then
6944 echo "$as_me:$LINENO: result: yes" >&5
6945 echo "${ECHO_T}yes" >&6
6947 echo "$as_me:$LINENO: result: no" >&5
6948 echo "${ECHO_T}no" >&6
6953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6954 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6956 # Check whether --enable-logdialog or --disable-logdialog was given.
6957 if test "${enable_logdialog+set}" = set; then
6958 enableval
="$enable_logdialog"
6960 if test "$enableval" = yes; then
6961 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6963 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6968 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6969 if test "x$LINE" != x
; then
6970 eval "DEFAULT_$LINE"
6975 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6979 eval "$ac_cv_use_logdialog"
6980 if test "$no_cache" != 1; then
6981 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6984 if test "$wxUSE_LOGDIALOG" = yes; then
6985 echo "$as_me:$LINENO: result: yes" >&5
6986 echo "${ECHO_T}yes" >&6
6988 echo "$as_me:$LINENO: result: no" >&5
6989 echo "${ECHO_T}no" >&6
6994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6995 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6997 # Check whether --enable-webkit or --disable-webkit was given.
6998 if test "${enable_webkit+set}" = set; then
6999 enableval
="$enable_webkit"
7001 if test "$enableval" = yes; then
7002 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7004 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7009 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7010 if test "x$LINE" != x
; then
7011 eval "DEFAULT_$LINE"
7016 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7020 eval "$ac_cv_use_webkit"
7021 if test "$no_cache" != 1; then
7022 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7025 if test "$wxUSE_WEBKIT" = yes; then
7026 echo "$as_me:$LINENO: result: yes" >&5
7027 echo "${ECHO_T}yes" >&6
7029 echo "$as_me:$LINENO: result: no" >&5
7030 echo "${ECHO_T}no" >&6
7036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7037 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7039 # Check whether --enable-postscript or --disable-postscript was given.
7040 if test "${enable_postscript+set}" = set; then
7041 enableval
="$enable_postscript"
7043 if test "$enableval" = yes; then
7044 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7046 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7051 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x
; then
7053 eval "DEFAULT_$LINE"
7058 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7062 eval "$ac_cv_use_postscript"
7063 if test "$no_cache" != 1; then
7064 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7067 if test "$wxUSE_POSTSCRIPT" = yes; then
7068 echo "$as_me:$LINENO: result: yes" >&5
7069 echo "${ECHO_T}yes" >&6
7071 echo "$as_me:$LINENO: result: no" >&5
7072 echo "${ECHO_T}no" >&6
7080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7083 # Check whether --enable-prologio or --disable-prologio was given.
7084 if test "${enable_prologio+set}" = set; then
7085 enableval
="$enable_prologio"
7087 if test "$enableval" = yes; then
7088 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7090 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7095 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7096 if test "x$LINE" != x
; then
7097 eval "DEFAULT_$LINE"
7102 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7106 eval "$ac_cv_use_prologio"
7107 if test "$no_cache" != 1; then
7108 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7111 if test "$wxUSE_PROLOGIO" = yes; then
7112 echo "$as_me:$LINENO: result: yes" >&5
7113 echo "${ECHO_T}yes" >&6
7115 echo "$as_me:$LINENO: result: no" >&5
7116 echo "${ECHO_T}no" >&6
7121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7122 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7124 # Check whether --enable-resources or --disable-resources was given.
7125 if test "${enable_resources+set}" = set; then
7126 enableval
="$enable_resources"
7128 if test "$enableval" = yes; then
7129 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7131 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7136 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7137 if test "x$LINE" != x
; then
7138 eval "DEFAULT_$LINE"
7143 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7147 eval "$ac_cv_use_resources"
7148 if test "$no_cache" != 1; then
7149 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7152 if test "$wxUSE_RESOURCES" = yes; then
7153 echo "$as_me:$LINENO: result: yes" >&5
7154 echo "${ECHO_T}yes" >&6
7156 echo "$as_me:$LINENO: result: no" >&5
7157 echo "${ECHO_T}no" >&6
7164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7165 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7167 # Check whether --enable-clipboard or --disable-clipboard was given.
7168 if test "${enable_clipboard+set}" = set; then
7169 enableval
="$enable_clipboard"
7171 if test "$enableval" = yes; then
7172 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7174 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7179 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7180 if test "x$LINE" != x
; then
7181 eval "DEFAULT_$LINE"
7186 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7190 eval "$ac_cv_use_clipboard"
7191 if test "$no_cache" != 1; then
7192 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7195 if test "$wxUSE_CLIPBOARD" = yes; then
7196 echo "$as_me:$LINENO: result: yes" >&5
7197 echo "${ECHO_T}yes" >&6
7199 echo "$as_me:$LINENO: result: no" >&5
7200 echo "${ECHO_T}no" >&6
7205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7206 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7208 # Check whether --enable-dnd or --disable-dnd was given.
7209 if test "${enable_dnd+set}" = set; then
7210 enableval
="$enable_dnd"
7212 if test "$enableval" = yes; then
7213 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7215 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7220 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7221 if test "x$LINE" != x
; then
7222 eval "DEFAULT_$LINE"
7227 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7231 eval "$ac_cv_use_dnd"
7232 if test "$no_cache" != 1; then
7233 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7236 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7237 echo "$as_me:$LINENO: result: yes" >&5
7238 echo "${ECHO_T}yes" >&6
7240 echo "$as_me:$LINENO: result: no" >&5
7241 echo "${ECHO_T}no" >&6
7246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7247 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7249 # Check whether --enable-metafile or --disable-metafile was given.
7250 if test "${enable_metafile+set}" = set; then
7251 enableval
="$enable_metafile"
7253 if test "$enableval" = yes; then
7254 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7256 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7261 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7262 if test "x$LINE" != x
; then
7263 eval "DEFAULT_$LINE"
7268 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7272 eval "$ac_cv_use_metafile"
7273 if test "$no_cache" != 1; then
7274 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7277 if test "$wxUSE_METAFILE" = yes; then
7278 echo "$as_me:$LINENO: result: yes" >&5
7279 echo "${ECHO_T}yes" >&6
7281 echo "$as_me:$LINENO: result: no" >&5
7282 echo "${ECHO_T}no" >&6
7290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7291 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7293 # Check whether --enable-controls or --disable-controls was given.
7294 if test "${enable_controls+set}" = set; then
7295 enableval
="$enable_controls"
7297 if test "$enableval" = yes; then
7298 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7300 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7305 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x
; then
7307 eval "DEFAULT_$LINE"
7312 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7316 eval "$ac_cv_use_controls"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7321 if test "$wxUSE_CONTROLS" = yes; then
7322 echo "$as_me:$LINENO: result: yes" >&5
7323 echo "${ECHO_T}yes" >&6
7325 echo "$as_me:$LINENO: result: no" >&5
7326 echo "${ECHO_T}no" >&6
7330 if test "$wxUSE_CONTROLS" = "yes"; then
7331 DEFAULT_wxUSE_ACCEL
=yes
7332 DEFAULT_wxUSE_BMPBUTTON
=yes
7333 DEFAULT_wxUSE_BUTTON
=yes
7334 DEFAULT_wxUSE_CALCTRL
=yes
7335 DEFAULT_wxUSE_CARET
=yes
7336 DEFAULT_wxUSE_COMBOBOX
=yes
7337 DEFAULT_wxUSE_CHECKBOX
=yes
7338 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7339 DEFAULT_wxUSE_CHOICE
=yes
7340 DEFAULT_wxUSE_CHOICEBOOK
=yes
7341 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7342 DEFAULT_wxUSE_GAUGE
=yes
7343 DEFAULT_wxUSE_GRID
=yes
7344 DEFAULT_wxUSE_IMAGLIST
=yes
7345 DEFAULT_wxUSE_LISTBOOK
=yes
7346 DEFAULT_wxUSE_LISTBOX
=yes
7347 DEFAULT_wxUSE_LISTCTRL
=yes
7348 DEFAULT_wxUSE_NOTEBOOK
=yes
7349 DEFAULT_wxUSE_RADIOBOX
=yes
7350 DEFAULT_wxUSE_RADIOBTN
=yes
7351 DEFAULT_wxUSE_SASH
=yes
7352 DEFAULT_wxUSE_SCROLLBAR
=yes
7353 DEFAULT_wxUSE_SLIDER
=yes
7354 DEFAULT_wxUSE_SPINBTN
=yes
7355 DEFAULT_wxUSE_SPINCTRL
=yes
7356 DEFAULT_wxUSE_SPLITTER
=yes
7357 DEFAULT_wxUSE_STATBMP
=yes
7358 DEFAULT_wxUSE_STATBOX
=yes
7359 DEFAULT_wxUSE_STATLINE
=yes
7360 DEFAULT_wxUSE_STATUSBAR
=yes
7361 DEFAULT_wxUSE_TAB_DIALOG
=yes
7362 DEFAULT_wxUSE_TOGGLEBTN
=yes
7363 DEFAULT_wxUSE_TOOLBAR
=yes
7364 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7365 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7366 DEFAULT_wxUSE_TOOLTIPS
=yes
7367 DEFAULT_wxUSE_TREECTRL
=yes
7368 DEFAULT_wxUSE_POPUPWIN
=yes
7369 DEFAULT_wxUSE_TIPWINDOW
=yes
7370 elif test "$wxUSE_CONTROLS" = "no"; then
7371 DEFAULT_wxUSE_ACCEL
=no
7372 DEFAULT_wxUSE_BMPBUTTON
=no
7373 DEFAULT_wxUSE_BUTTON
=no
7374 DEFAULT_wxUSE_CALCTRL
=no
7375 DEFAULT_wxUSE_CARET
=no
7376 DEFAULT_wxUSE_COMBOBOX
=no
7377 DEFAULT_wxUSE_CHECKBOX
=no
7378 DEFAULT_wxUSE_CHECKLISTBOX
=no
7379 DEFAULT_wxUSE_CHOICE
=no
7380 DEFAULT_wxUSE_CHOICEBOOK
=no
7381 DEFAULT_wxUSE_DATEPICKCTRL
=no
7382 DEFAULT_wxUSE_GAUGE
=no
7383 DEFAULT_wxUSE_GRID
=no
7384 DEFAULT_wxUSE_IMAGLIST
=no
7385 DEFAULT_wxUSE_LISTBOOK
=no
7386 DEFAULT_wxUSE_LISTBOX
=no
7387 DEFAULT_wxUSE_LISTCTRL
=no
7388 DEFAULT_wxUSE_NOTEBOOK
=no
7389 DEFAULT_wxUSE_RADIOBOX
=no
7390 DEFAULT_wxUSE_RADIOBTN
=no
7391 DEFAULT_wxUSE_SASH
=no
7392 DEFAULT_wxUSE_SCROLLBAR
=no
7393 DEFAULT_wxUSE_SLIDER
=no
7394 DEFAULT_wxUSE_SPINBTN
=no
7395 DEFAULT_wxUSE_SPINCTRL
=no
7396 DEFAULT_wxUSE_SPLITTER
=no
7397 DEFAULT_wxUSE_STATBMP
=no
7398 DEFAULT_wxUSE_STATBOX
=no
7399 DEFAULT_wxUSE_STATLINE
=no
7400 DEFAULT_wxUSE_STATUSBAR
=no
7401 DEFAULT_wxUSE_TAB_DIALOG
=no
7402 DEFAULT_wxUSE_TOGGLEBTN
=no
7403 DEFAULT_wxUSE_TOOLBAR
=no
7404 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7405 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7406 DEFAULT_wxUSE_TOOLTIPS
=no
7407 DEFAULT_wxUSE_TREECTRL
=no
7408 DEFAULT_wxUSE_POPUPWIN
=no
7409 DEFAULT_wxUSE_TIPWINDOW
=no
7414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7417 # Check whether --enable-accel or --disable-accel was given.
7418 if test "${enable_accel+set}" = set; then
7419 enableval
="$enable_accel"
7421 if test "$enableval" = yes; then
7422 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7424 ac_cv_use_accel
='wxUSE_ACCEL=no'
7429 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7430 if test "x$LINE" != x
; then
7431 eval "DEFAULT_$LINE"
7436 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7440 eval "$ac_cv_use_accel"
7441 if test "$no_cache" != 1; then
7442 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7445 if test "$wxUSE_ACCEL" = yes; then
7446 echo "$as_me:$LINENO: result: yes" >&5
7447 echo "${ECHO_T}yes" >&6
7449 echo "$as_me:$LINENO: result: no" >&5
7450 echo "${ECHO_T}no" >&6
7455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7456 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7458 # Check whether --enable-button or --disable-button was given.
7459 if test "${enable_button+set}" = set; then
7460 enableval
="$enable_button"
7462 if test "$enableval" = yes; then
7463 ac_cv_use_button
='wxUSE_BUTTON=yes'
7465 ac_cv_use_button
='wxUSE_BUTTON=no'
7470 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x
; then
7472 eval "DEFAULT_$LINE"
7477 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7481 eval "$ac_cv_use_button"
7482 if test "$no_cache" != 1; then
7483 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7486 if test "$wxUSE_BUTTON" = yes; then
7487 echo "$as_me:$LINENO: result: yes" >&5
7488 echo "${ECHO_T}yes" >&6
7490 echo "$as_me:$LINENO: result: no" >&5
7491 echo "${ECHO_T}no" >&6
7496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7497 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7499 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7500 if test "${enable_bmpbutton+set}" = set; then
7501 enableval
="$enable_bmpbutton"
7503 if test "$enableval" = yes; then
7504 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7506 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7511 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7512 if test "x$LINE" != x
; then
7513 eval "DEFAULT_$LINE"
7518 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7522 eval "$ac_cv_use_bmpbutton"
7523 if test "$no_cache" != 1; then
7524 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7527 if test "$wxUSE_BMPBUTTON" = yes; then
7528 echo "$as_me:$LINENO: result: yes" >&5
7529 echo "${ECHO_T}yes" >&6
7531 echo "$as_me:$LINENO: result: no" >&5
7532 echo "${ECHO_T}no" >&6
7537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7538 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7540 # Check whether --enable-calendar or --disable-calendar was given.
7541 if test "${enable_calendar+set}" = set; then
7542 enableval
="$enable_calendar"
7544 if test "$enableval" = yes; then
7545 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7547 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7552 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7553 if test "x$LINE" != x
; then
7554 eval "DEFAULT_$LINE"
7559 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7563 eval "$ac_cv_use_calendar"
7564 if test "$no_cache" != 1; then
7565 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7568 if test "$wxUSE_CALCTRL" = yes; then
7569 echo "$as_me:$LINENO: result: yes" >&5
7570 echo "${ECHO_T}yes" >&6
7572 echo "$as_me:$LINENO: result: no" >&5
7573 echo "${ECHO_T}no" >&6
7578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7579 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7581 # Check whether --enable-caret or --disable-caret was given.
7582 if test "${enable_caret+set}" = set; then
7583 enableval
="$enable_caret"
7585 if test "$enableval" = yes; then
7586 ac_cv_use_caret
='wxUSE_CARET=yes'
7588 ac_cv_use_caret
='wxUSE_CARET=no'
7593 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x
; then
7595 eval "DEFAULT_$LINE"
7600 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7604 eval "$ac_cv_use_caret"
7605 if test "$no_cache" != 1; then
7606 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7609 if test "$wxUSE_CARET" = yes; then
7610 echo "$as_me:$LINENO: result: yes" >&5
7611 echo "${ECHO_T}yes" >&6
7613 echo "$as_me:$LINENO: result: no" >&5
7614 echo "${ECHO_T}no" >&6
7619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7620 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7622 # Check whether --enable-checkbox or --disable-checkbox was given.
7623 if test "${enable_checkbox+set}" = set; then
7624 enableval
="$enable_checkbox"
7626 if test "$enableval" = yes; then
7627 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7629 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7634 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7635 if test "x$LINE" != x
; then
7636 eval "DEFAULT_$LINE"
7641 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7645 eval "$ac_cv_use_checkbox"
7646 if test "$no_cache" != 1; then
7647 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7650 if test "$wxUSE_CHECKBOX" = yes; then
7651 echo "$as_me:$LINENO: result: yes" >&5
7652 echo "${ECHO_T}yes" >&6
7654 echo "$as_me:$LINENO: result: no" >&5
7655 echo "${ECHO_T}no" >&6
7660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7661 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7663 # Check whether --enable-checklst or --disable-checklst was given.
7664 if test "${enable_checklst+set}" = set; then
7665 enableval
="$enable_checklst"
7667 if test "$enableval" = yes; then
7668 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7670 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7675 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7676 if test "x$LINE" != x
; then
7677 eval "DEFAULT_$LINE"
7682 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7686 eval "$ac_cv_use_checklst"
7687 if test "$no_cache" != 1; then
7688 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7691 if test "$wxUSE_CHECKLST" = yes; then
7692 echo "$as_me:$LINENO: result: yes" >&5
7693 echo "${ECHO_T}yes" >&6
7695 echo "$as_me:$LINENO: result: no" >&5
7696 echo "${ECHO_T}no" >&6
7701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7704 # Check whether --enable-choice or --disable-choice was given.
7705 if test "${enable_choice+set}" = set; then
7706 enableval
="$enable_choice"
7708 if test "$enableval" = yes; then
7709 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7711 ac_cv_use_choice
='wxUSE_CHOICE=no'
7716 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7717 if test "x$LINE" != x
; then
7718 eval "DEFAULT_$LINE"
7723 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7727 eval "$ac_cv_use_choice"
7728 if test "$no_cache" != 1; then
7729 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7732 if test "$wxUSE_CHOICE" = yes; then
7733 echo "$as_me:$LINENO: result: yes" >&5
7734 echo "${ECHO_T}yes" >&6
7736 echo "$as_me:$LINENO: result: no" >&5
7737 echo "${ECHO_T}no" >&6
7742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7743 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7745 # Check whether --enable-choicebook or --disable-choicebook was given.
7746 if test "${enable_choicebook+set}" = set; then
7747 enableval
="$enable_choicebook"
7749 if test "$enableval" = yes; then
7750 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7752 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7757 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7758 if test "x$LINE" != x
; then
7759 eval "DEFAULT_$LINE"
7764 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7768 eval "$ac_cv_use_choicebook"
7769 if test "$no_cache" != 1; then
7770 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7773 if test "$wxUSE_CHOICEBOOK" = yes; then
7774 echo "$as_me:$LINENO: result: yes" >&5
7775 echo "${ECHO_T}yes" >&6
7777 echo "$as_me:$LINENO: result: no" >&5
7778 echo "${ECHO_T}no" >&6
7783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7784 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7786 # Check whether --enable-combobox or --disable-combobox was given.
7787 if test "${enable_combobox+set}" = set; then
7788 enableval
="$enable_combobox"
7790 if test "$enableval" = yes; then
7791 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7793 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7798 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7799 if test "x$LINE" != x
; then
7800 eval "DEFAULT_$LINE"
7805 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7809 eval "$ac_cv_use_combobox"
7810 if test "$no_cache" != 1; then
7811 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7814 if test "$wxUSE_COMBOBOX" = yes; then
7815 echo "$as_me:$LINENO: result: yes" >&5
7816 echo "${ECHO_T}yes" >&6
7818 echo "$as_me:$LINENO: result: no" >&5
7819 echo "${ECHO_T}no" >&6
7824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7825 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7827 # Check whether --enable-datepick or --disable-datepick was given.
7828 if test "${enable_datepick+set}" = set; then
7829 enableval
="$enable_datepick"
7831 if test "$enableval" = yes; then
7832 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7834 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7839 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7840 if test "x$LINE" != x
; then
7841 eval "DEFAULT_$LINE"
7846 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7850 eval "$ac_cv_use_datepick"
7851 if test "$no_cache" != 1; then
7852 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7855 if test "$wxUSE_DATEPICKCTRL" = yes; then
7856 echo "$as_me:$LINENO: result: yes" >&5
7857 echo "${ECHO_T}yes" >&6
7859 echo "$as_me:$LINENO: result: no" >&5
7860 echo "${ECHO_T}no" >&6
7865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7868 # Check whether --enable-display or --disable-display was given.
7869 if test "${enable_display+set}" = set; then
7870 enableval
="$enable_display"
7872 if test "$enableval" = yes; then
7873 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7875 ac_cv_use_display
='wxUSE_DISPLAY=no'
7880 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7881 if test "x$LINE" != x
; then
7882 eval "DEFAULT_$LINE"
7887 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7891 eval "$ac_cv_use_display"
7892 if test "$no_cache" != 1; then
7893 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7896 if test "$wxUSE_DISPLAY" = yes; then
7897 echo "$as_me:$LINENO: result: yes" >&5
7898 echo "${ECHO_T}yes" >&6
7900 echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6
7906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7909 # Check whether --enable-gauge or --disable-gauge was given.
7910 if test "${enable_gauge+set}" = set; then
7911 enableval
="$enable_gauge"
7913 if test "$enableval" = yes; then
7914 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7916 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7921 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x
; then
7923 eval "DEFAULT_$LINE"
7928 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7932 eval "$ac_cv_use_gauge"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7937 if test "$wxUSE_GAUGE" = yes; then
7938 echo "$as_me:$LINENO: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6
7941 echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6
7947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7950 # Check whether --enable-grid or --disable-grid was given.
7951 if test "${enable_grid+set}" = set; then
7952 enableval
="$enable_grid"
7954 if test "$enableval" = yes; then
7955 ac_cv_use_grid
='wxUSE_GRID=yes'
7957 ac_cv_use_grid
='wxUSE_GRID=no'
7962 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7963 if test "x$LINE" != x
; then
7964 eval "DEFAULT_$LINE"
7969 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7973 eval "$ac_cv_use_grid"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7978 if test "$wxUSE_GRID" = yes; then
7979 echo "$as_me:$LINENO: result: yes" >&5
7980 echo "${ECHO_T}yes" >&6
7982 echo "$as_me:$LINENO: result: no" >&5
7983 echo "${ECHO_T}no" >&6
7988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7991 # Check whether --enable-imaglist or --disable-imaglist was given.
7992 if test "${enable_imaglist+set}" = set; then
7993 enableval
="$enable_imaglist"
7995 if test "$enableval" = yes; then
7996 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7998 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8003 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8004 if test "x$LINE" != x
; then
8005 eval "DEFAULT_$LINE"
8010 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8014 eval "$ac_cv_use_imaglist"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8019 if test "$wxUSE_IMAGLIST" = yes; then
8020 echo "$as_me:$LINENO: result: yes" >&5
8021 echo "${ECHO_T}yes" >&6
8023 echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6
8029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8032 # Check whether --enable-listbook or --disable-listbook was given.
8033 if test "${enable_listbook+set}" = set; then
8034 enableval
="$enable_listbook"
8036 if test "$enableval" = yes; then
8037 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8039 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8044 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8045 if test "x$LINE" != x
; then
8046 eval "DEFAULT_$LINE"
8051 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8055 eval "$ac_cv_use_listbook"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8060 if test "$wxUSE_LISTBOOK" = yes; then
8061 echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6
8064 echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6
8070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8073 # Check whether --enable-listbox or --disable-listbox was given.
8074 if test "${enable_listbox+set}" = set; then
8075 enableval
="$enable_listbox"
8077 if test "$enableval" = yes; then
8078 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8080 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8085 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8086 if test "x$LINE" != x
; then
8087 eval "DEFAULT_$LINE"
8092 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8096 eval "$ac_cv_use_listbox"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8101 if test "$wxUSE_LISTBOX" = yes; then
8102 echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6
8105 echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6
8111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8114 # Check whether --enable-listctrl or --disable-listctrl was given.
8115 if test "${enable_listctrl+set}" = set; then
8116 enableval
="$enable_listctrl"
8118 if test "$enableval" = yes; then
8119 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8121 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8126 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8127 if test "x$LINE" != x
; then
8128 eval "DEFAULT_$LINE"
8133 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8137 eval "$ac_cv_use_listctrl"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8142 if test "$wxUSE_LISTCTRL" = yes; then
8143 echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6
8146 echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6
8152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8155 # Check whether --enable-notebook or --disable-notebook was given.
8156 if test "${enable_notebook+set}" = set; then
8157 enableval
="$enable_notebook"
8159 if test "$enableval" = yes; then
8160 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8162 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8167 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8168 if test "x$LINE" != x
; then
8169 eval "DEFAULT_$LINE"
8174 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8178 eval "$ac_cv_use_notebook"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8183 if test "$wxUSE_NOTEBOOK" = yes; then
8184 echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6
8187 echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6
8193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8196 # Check whether --enable-radiobox or --disable-radiobox was given.
8197 if test "${enable_radiobox+set}" = set; then
8198 enableval
="$enable_radiobox"
8200 if test "$enableval" = yes; then
8201 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8203 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8208 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8209 if test "x$LINE" != x
; then
8210 eval "DEFAULT_$LINE"
8215 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8219 eval "$ac_cv_use_radiobox"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8224 if test "$wxUSE_RADIOBOX" = yes; then
8225 echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6
8228 echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6
8234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8237 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8238 if test "${enable_radiobtn+set}" = set; then
8239 enableval
="$enable_radiobtn"
8241 if test "$enableval" = yes; then
8242 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8244 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8249 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8250 if test "x$LINE" != x
; then
8251 eval "DEFAULT_$LINE"
8256 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8260 eval "$ac_cv_use_radiobtn"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8265 if test "$wxUSE_RADIOBTN" = yes; then
8266 echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6
8269 echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6
8275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8278 # Check whether --enable-sash or --disable-sash was given.
8279 if test "${enable_sash+set}" = set; then
8280 enableval
="$enable_sash"
8282 if test "$enableval" = yes; then
8283 ac_cv_use_sash
='wxUSE_SASH=yes'
8285 ac_cv_use_sash
='wxUSE_SASH=no'
8290 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8291 if test "x$LINE" != x
; then
8292 eval "DEFAULT_$LINE"
8297 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8301 eval "$ac_cv_use_sash"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8306 if test "$wxUSE_SASH" = yes; then
8307 echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6
8310 echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6
8316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8319 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8320 if test "${enable_scrollbar+set}" = set; then
8321 enableval
="$enable_scrollbar"
8323 if test "$enableval" = yes; then
8324 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8326 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8331 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x
; then
8333 eval "DEFAULT_$LINE"
8338 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8342 eval "$ac_cv_use_scrollbar"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8347 if test "$wxUSE_SCROLLBAR" = yes; then
8348 echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6
8351 echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6
8357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8360 # Check whether --enable-slider or --disable-slider was given.
8361 if test "${enable_slider+set}" = set; then
8362 enableval
="$enable_slider"
8364 if test "$enableval" = yes; then
8365 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8367 ac_cv_use_slider
='wxUSE_SLIDER=no'
8372 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8373 if test "x$LINE" != x
; then
8374 eval "DEFAULT_$LINE"
8379 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8383 eval "$ac_cv_use_slider"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8388 if test "$wxUSE_SLIDER" = yes; then
8389 echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6
8392 echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6
8398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8401 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8402 if test "${enable_spinbtn+set}" = set; then
8403 enableval
="$enable_spinbtn"
8405 if test "$enableval" = yes; then
8406 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8408 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8413 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8414 if test "x$LINE" != x
; then
8415 eval "DEFAULT_$LINE"
8420 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8424 eval "$ac_cv_use_spinbtn"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8429 if test "$wxUSE_SPINBTN" = yes; then
8430 echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6
8433 echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6
8439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8442 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8443 if test "${enable_spinctrl+set}" = set; then
8444 enableval
="$enable_spinctrl"
8446 if test "$enableval" = yes; then
8447 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8449 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8454 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8455 if test "x$LINE" != x
; then
8456 eval "DEFAULT_$LINE"
8461 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8465 eval "$ac_cv_use_spinctrl"
8466 if test "$no_cache" != 1; then
8467 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8470 if test "$wxUSE_SPINCTRL" = yes; then
8471 echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6
8474 echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6
8480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8483 # Check whether --enable-splitter or --disable-splitter was given.
8484 if test "${enable_splitter+set}" = set; then
8485 enableval
="$enable_splitter"
8487 if test "$enableval" = yes; then
8488 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8490 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8495 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8496 if test "x$LINE" != x
; then
8497 eval "DEFAULT_$LINE"
8502 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8506 eval "$ac_cv_use_splitter"
8507 if test "$no_cache" != 1; then
8508 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8511 if test "$wxUSE_SPLITTER" = yes; then
8512 echo "$as_me:$LINENO: result: yes" >&5
8513 echo "${ECHO_T}yes" >&6
8515 echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6
8521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8524 # Check whether --enable-statbmp or --disable-statbmp was given.
8525 if test "${enable_statbmp+set}" = set; then
8526 enableval
="$enable_statbmp"
8528 if test "$enableval" = yes; then
8529 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8531 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8536 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8537 if test "x$LINE" != x
; then
8538 eval "DEFAULT_$LINE"
8543 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8547 eval "$ac_cv_use_statbmp"
8548 if test "$no_cache" != 1; then
8549 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8552 if test "$wxUSE_STATBMP" = yes; then
8553 echo "$as_me:$LINENO: result: yes" >&5
8554 echo "${ECHO_T}yes" >&6
8556 echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6
8562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8563 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8565 # Check whether --enable-statbox or --disable-statbox was given.
8566 if test "${enable_statbox+set}" = set; then
8567 enableval
="$enable_statbox"
8569 if test "$enableval" = yes; then
8570 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8572 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8577 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8578 if test "x$LINE" != x
; then
8579 eval "DEFAULT_$LINE"
8584 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8588 eval "$ac_cv_use_statbox"
8589 if test "$no_cache" != 1; then
8590 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8593 if test "$wxUSE_STATBOX" = yes; then
8594 echo "$as_me:$LINENO: result: yes" >&5
8595 echo "${ECHO_T}yes" >&6
8597 echo "$as_me:$LINENO: result: no" >&5
8598 echo "${ECHO_T}no" >&6
8603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8604 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8606 # Check whether --enable-statline or --disable-statline was given.
8607 if test "${enable_statline+set}" = set; then
8608 enableval
="$enable_statline"
8610 if test "$enableval" = yes; then
8611 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8613 ac_cv_use_statline
='wxUSE_STATLINE=no'
8618 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x
; then
8620 eval "DEFAULT_$LINE"
8625 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8629 eval "$ac_cv_use_statline"
8630 if test "$no_cache" != 1; then
8631 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8634 if test "$wxUSE_STATLINE" = yes; then
8635 echo "$as_me:$LINENO: result: yes" >&5
8636 echo "${ECHO_T}yes" >&6
8638 echo "$as_me:$LINENO: result: no" >&5
8639 echo "${ECHO_T}no" >&6
8644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8645 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8647 # Check whether --enable-stattext or --disable-stattext was given.
8648 if test "${enable_stattext+set}" = set; then
8649 enableval
="$enable_stattext"
8651 if test "$enableval" = yes; then
8652 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8654 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8659 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8660 if test "x$LINE" != x
; then
8661 eval "DEFAULT_$LINE"
8666 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8670 eval "$ac_cv_use_stattext"
8671 if test "$no_cache" != 1; then
8672 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8675 if test "$wxUSE_STATTEXT" = yes; then
8676 echo "$as_me:$LINENO: result: yes" >&5
8677 echo "${ECHO_T}yes" >&6
8679 echo "$as_me:$LINENO: result: no" >&5
8680 echo "${ECHO_T}no" >&6
8685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8686 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8688 # Check whether --enable-statusbar or --disable-statusbar was given.
8689 if test "${enable_statusbar+set}" = set; then
8690 enableval
="$enable_statusbar"
8692 if test "$enableval" = yes; then
8693 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8695 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8700 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8701 if test "x$LINE" != x
; then
8702 eval "DEFAULT_$LINE"
8707 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8711 eval "$ac_cv_use_statusbar"
8712 if test "$no_cache" != 1; then
8713 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8716 if test "$wxUSE_STATUSBAR" = yes; then
8717 echo "$as_me:$LINENO: result: yes" >&5
8718 echo "${ECHO_T}yes" >&6
8720 echo "$as_me:$LINENO: result: no" >&5
8721 echo "${ECHO_T}no" >&6
8726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8727 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8729 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8730 if test "${enable_tabdialog+set}" = set; then
8731 enableval
="$enable_tabdialog"
8733 if test "$enableval" = yes; then
8734 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8736 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8741 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8742 if test "x$LINE" != x
; then
8743 eval "DEFAULT_$LINE"
8748 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8752 eval "$ac_cv_use_tabdialog"
8753 if test "$no_cache" != 1; then
8754 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8757 if test "$wxUSE_TABDIALOG" = yes; then
8758 echo "$as_me:$LINENO: result: yes" >&5
8759 echo "${ECHO_T}yes" >&6
8761 echo "$as_me:$LINENO: result: no" >&5
8762 echo "${ECHO_T}no" >&6
8767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8770 # Check whether --enable-textctrl or --disable-textctrl was given.
8771 if test "${enable_textctrl+set}" = set; then
8772 enableval
="$enable_textctrl"
8774 if test "$enableval" = yes; then
8775 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8777 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8782 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8783 if test "x$LINE" != x
; then
8784 eval "DEFAULT_$LINE"
8789 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8793 eval "$ac_cv_use_textctrl"
8794 if test "$no_cache" != 1; then
8795 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8798 if test "$wxUSE_TEXTCTRL" = yes; then
8799 echo "$as_me:$LINENO: result: yes" >&5
8800 echo "${ECHO_T}yes" >&6
8802 echo "$as_me:$LINENO: result: no" >&5
8803 echo "${ECHO_T}no" >&6
8808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8809 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8811 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8812 if test "${enable_togglebtn+set}" = set; then
8813 enableval
="$enable_togglebtn"
8815 if test "$enableval" = yes; then
8816 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8818 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8823 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8824 if test "x$LINE" != x
; then
8825 eval "DEFAULT_$LINE"
8830 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8834 eval "$ac_cv_use_togglebtn"
8835 if test "$no_cache" != 1; then
8836 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8839 if test "$wxUSE_TOGGLEBTN" = yes; then
8840 echo "$as_me:$LINENO: result: yes" >&5
8841 echo "${ECHO_T}yes" >&6
8843 echo "$as_me:$LINENO: result: no" >&5
8844 echo "${ECHO_T}no" >&6
8849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8850 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8852 # Check whether --enable-toolbar or --disable-toolbar was given.
8853 if test "${enable_toolbar+set}" = set; then
8854 enableval
="$enable_toolbar"
8856 if test "$enableval" = yes; then
8857 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8859 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8864 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8865 if test "x$LINE" != x
; then
8866 eval "DEFAULT_$LINE"
8871 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8875 eval "$ac_cv_use_toolbar"
8876 if test "$no_cache" != 1; then
8877 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8880 if test "$wxUSE_TOOLBAR" = yes; then
8881 echo "$as_me:$LINENO: result: yes" >&5
8882 echo "${ECHO_T}yes" >&6
8884 echo "$as_me:$LINENO: result: no" >&5
8885 echo "${ECHO_T}no" >&6
8890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8891 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8893 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8894 if test "${enable_tbarnative+set}" = set; then
8895 enableval
="$enable_tbarnative"
8897 if test "$enableval" = yes; then
8898 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8900 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8905 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8906 if test "x$LINE" != x
; then
8907 eval "DEFAULT_$LINE"
8912 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8916 eval "$ac_cv_use_tbarnative"
8917 if test "$no_cache" != 1; then
8918 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8921 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8922 echo "$as_me:$LINENO: result: yes" >&5
8923 echo "${ECHO_T}yes" >&6
8925 echo "$as_me:$LINENO: result: no" >&5
8926 echo "${ECHO_T}no" >&6
8931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8932 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8934 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8935 if test "${enable_tbarsmpl+set}" = set; then
8936 enableval
="$enable_tbarsmpl"
8938 if test "$enableval" = yes; then
8939 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8941 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8946 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8947 if test "x$LINE" != x
; then
8948 eval "DEFAULT_$LINE"
8953 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8957 eval "$ac_cv_use_tbarsmpl"
8958 if test "$no_cache" != 1; then
8959 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8962 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8963 echo "$as_me:$LINENO: result: yes" >&5
8964 echo "${ECHO_T}yes" >&6
8966 echo "$as_me:$LINENO: result: no" >&5
8967 echo "${ECHO_T}no" >&6
8972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8973 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8975 # Check whether --enable-treectrl or --disable-treectrl was given.
8976 if test "${enable_treectrl+set}" = set; then
8977 enableval
="$enable_treectrl"
8979 if test "$enableval" = yes; then
8980 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8982 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8987 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8988 if test "x$LINE" != x
; then
8989 eval "DEFAULT_$LINE"
8994 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8998 eval "$ac_cv_use_treectrl"
8999 if test "$no_cache" != 1; then
9000 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9003 if test "$wxUSE_TREECTRL" = yes; then
9004 echo "$as_me:$LINENO: result: yes" >&5
9005 echo "${ECHO_T}yes" >&6
9007 echo "$as_me:$LINENO: result: no" >&5
9008 echo "${ECHO_T}no" >&6
9013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9014 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9016 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9017 if test "${enable_tipwindow+set}" = set; then
9018 enableval
="$enable_tipwindow"
9020 if test "$enableval" = yes; then
9021 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9023 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9028 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9029 if test "x$LINE" != x
; then
9030 eval "DEFAULT_$LINE"
9035 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9039 eval "$ac_cv_use_tipwindow"
9040 if test "$no_cache" != 1; then
9041 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9044 if test "$wxUSE_TIPWINDOW" = yes; then
9045 echo "$as_me:$LINENO: result: yes" >&5
9046 echo "${ECHO_T}yes" >&6
9048 echo "$as_me:$LINENO: result: no" >&5
9049 echo "${ECHO_T}no" >&6
9054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9055 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9057 # Check whether --enable-popupwin or --disable-popupwin was given.
9058 if test "${enable_popupwin+set}" = set; then
9059 enableval
="$enable_popupwin"
9061 if test "$enableval" = yes; then
9062 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9064 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9069 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9070 if test "x$LINE" != x
; then
9071 eval "DEFAULT_$LINE"
9076 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9080 eval "$ac_cv_use_popupwin"
9081 if test "$no_cache" != 1; then
9082 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9085 if test "$wxUSE_POPUPWIN" = yes; then
9086 echo "$as_me:$LINENO: result: yes" >&5
9087 echo "${ECHO_T}yes" >&6
9089 echo "$as_me:$LINENO: result: no" >&5
9090 echo "${ECHO_T}no" >&6
9097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9098 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9100 # Check whether --enable-commondlg or --disable-commondlg was given.
9101 if test "${enable_commondlg+set}" = set; then
9102 enableval
="$enable_commondlg"
9104 if test "$enableval" = yes; then
9105 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9107 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9112 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9113 if test "x$LINE" != x
; then
9114 eval "DEFAULT_$LINE"
9119 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9123 eval "$ac_cv_use_commondlg"
9124 if test "$no_cache" != 1; then
9125 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9128 if test "$wxUSE_COMMONDLGS" = yes; then
9129 echo "$as_me:$LINENO: result: yes" >&5
9130 echo "${ECHO_T}yes" >&6
9132 echo "$as_me:$LINENO: result: no" >&5
9133 echo "${ECHO_T}no" >&6
9138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9139 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9141 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9142 if test "${enable_choicedlg+set}" = set; then
9143 enableval
="$enable_choicedlg"
9145 if test "$enableval" = yes; then
9146 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9148 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9153 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9154 if test "x$LINE" != x
; then
9155 eval "DEFAULT_$LINE"
9160 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9164 eval "$ac_cv_use_choicedlg"
9165 if test "$no_cache" != 1; then
9166 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9169 if test "$wxUSE_CHOICEDLG" = yes; then
9170 echo "$as_me:$LINENO: result: yes" >&5
9171 echo "${ECHO_T}yes" >&6
9173 echo "$as_me:$LINENO: result: no" >&5
9174 echo "${ECHO_T}no" >&6
9179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9180 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9182 # Check whether --enable-coldlg or --disable-coldlg was given.
9183 if test "${enable_coldlg+set}" = set; then
9184 enableval
="$enable_coldlg"
9186 if test "$enableval" = yes; then
9187 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9189 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9194 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9195 if test "x$LINE" != x
; then
9196 eval "DEFAULT_$LINE"
9201 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9205 eval "$ac_cv_use_coldlg"
9206 if test "$no_cache" != 1; then
9207 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9210 if test "$wxUSE_COLOURDLG" = yes; then
9211 echo "$as_me:$LINENO: result: yes" >&5
9212 echo "${ECHO_T}yes" >&6
9214 echo "$as_me:$LINENO: result: no" >&5
9215 echo "${ECHO_T}no" >&6
9220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9221 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9223 # Check whether --enable-filedlg or --disable-filedlg was given.
9224 if test "${enable_filedlg+set}" = set; then
9225 enableval
="$enable_filedlg"
9227 if test "$enableval" = yes; then
9228 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9230 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9235 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9236 if test "x$LINE" != x
; then
9237 eval "DEFAULT_$LINE"
9242 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9246 eval "$ac_cv_use_filedlg"
9247 if test "$no_cache" != 1; then
9248 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9251 if test "$wxUSE_FILEDLG" = yes; then
9252 echo "$as_me:$LINENO: result: yes" >&5
9253 echo "${ECHO_T}yes" >&6
9255 echo "$as_me:$LINENO: result: no" >&5
9256 echo "${ECHO_T}no" >&6
9261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9262 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9264 # Check whether --enable-finddlg or --disable-finddlg was given.
9265 if test "${enable_finddlg+set}" = set; then
9266 enableval
="$enable_finddlg"
9268 if test "$enableval" = yes; then
9269 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9271 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9276 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9277 if test "x$LINE" != x
; then
9278 eval "DEFAULT_$LINE"
9283 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9287 eval "$ac_cv_use_finddlg"
9288 if test "$no_cache" != 1; then
9289 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9292 if test "$wxUSE_FINDREPLDLG" = yes; then
9293 echo "$as_me:$LINENO: result: yes" >&5
9294 echo "${ECHO_T}yes" >&6
9296 echo "$as_me:$LINENO: result: no" >&5
9297 echo "${ECHO_T}no" >&6
9302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9305 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9306 if test "${enable_fontdlg+set}" = set; then
9307 enableval
="$enable_fontdlg"
9309 if test "$enableval" = yes; then
9310 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9312 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9317 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9318 if test "x$LINE" != x
; then
9319 eval "DEFAULT_$LINE"
9324 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9328 eval "$ac_cv_use_fontdlg"
9329 if test "$no_cache" != 1; then
9330 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9333 if test "$wxUSE_FONTDLG" = yes; then
9334 echo "$as_me:$LINENO: result: yes" >&5
9335 echo "${ECHO_T}yes" >&6
9337 echo "$as_me:$LINENO: result: no" >&5
9338 echo "${ECHO_T}no" >&6
9343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9344 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9346 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9347 if test "${enable_dirdlg+set}" = set; then
9348 enableval
="$enable_dirdlg"
9350 if test "$enableval" = yes; then
9351 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9353 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9358 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9359 if test "x$LINE" != x
; then
9360 eval "DEFAULT_$LINE"
9365 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9369 eval "$ac_cv_use_dirdlg"
9370 if test "$no_cache" != 1; then
9371 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9374 if test "$wxUSE_DIRDLG" = yes; then
9375 echo "$as_me:$LINENO: result: yes" >&5
9376 echo "${ECHO_T}yes" >&6
9378 echo "$as_me:$LINENO: result: no" >&5
9379 echo "${ECHO_T}no" >&6
9384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9385 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9387 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9388 if test "${enable_msgdlg+set}" = set; then
9389 enableval
="$enable_msgdlg"
9391 if test "$enableval" = yes; then
9392 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9394 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9399 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9400 if test "x$LINE" != x
; then
9401 eval "DEFAULT_$LINE"
9406 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9410 eval "$ac_cv_use_msgdlg"
9411 if test "$no_cache" != 1; then
9412 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9415 if test "$wxUSE_MSGDLG" = yes; then
9416 echo "$as_me:$LINENO: result: yes" >&5
9417 echo "${ECHO_T}yes" >&6
9419 echo "$as_me:$LINENO: result: no" >&5
9420 echo "${ECHO_T}no" >&6
9425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9426 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9428 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9429 if test "${enable_numberdlg+set}" = set; then
9430 enableval
="$enable_numberdlg"
9432 if test "$enableval" = yes; then
9433 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9435 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9440 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9441 if test "x$LINE" != x
; then
9442 eval "DEFAULT_$LINE"
9447 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9451 eval "$ac_cv_use_numberdlg"
9452 if test "$no_cache" != 1; then
9453 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9456 if test "$wxUSE_NUMBERDLG" = yes; then
9457 echo "$as_me:$LINENO: result: yes" >&5
9458 echo "${ECHO_T}yes" >&6
9460 echo "$as_me:$LINENO: result: no" >&5
9461 echo "${ECHO_T}no" >&6
9466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9467 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9469 # Check whether --enable-splash or --disable-splash was given.
9470 if test "${enable_splash+set}" = set; then
9471 enableval
="$enable_splash"
9473 if test "$enableval" = yes; then
9474 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9476 ac_cv_use_splash
='wxUSE_SPLASH=no'
9481 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9482 if test "x$LINE" != x
; then
9483 eval "DEFAULT_$LINE"
9488 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9492 eval "$ac_cv_use_splash"
9493 if test "$no_cache" != 1; then
9494 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9497 if test "$wxUSE_SPLASH" = yes; then
9498 echo "$as_me:$LINENO: result: yes" >&5
9499 echo "${ECHO_T}yes" >&6
9501 echo "$as_me:$LINENO: result: no" >&5
9502 echo "${ECHO_T}no" >&6
9507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9508 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9510 # Check whether --enable-textdlg or --disable-textdlg was given.
9511 if test "${enable_textdlg+set}" = set; then
9512 enableval
="$enable_textdlg"
9514 if test "$enableval" = yes; then
9515 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9517 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9522 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9523 if test "x$LINE" != x
; then
9524 eval "DEFAULT_$LINE"
9529 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9533 eval "$ac_cv_use_textdlg"
9534 if test "$no_cache" != 1; then
9535 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9538 if test "$wxUSE_TEXTDLG" = yes; then
9539 echo "$as_me:$LINENO: result: yes" >&5
9540 echo "${ECHO_T}yes" >&6
9542 echo "$as_me:$LINENO: result: no" >&5
9543 echo "${ECHO_T}no" >&6
9548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9549 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9551 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9552 if test "${enable_tipdlg+set}" = set; then
9553 enableval
="$enable_tipdlg"
9555 if test "$enableval" = yes; then
9556 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9558 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9563 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9564 if test "x$LINE" != x
; then
9565 eval "DEFAULT_$LINE"
9570 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9574 eval "$ac_cv_use_tipdlg"
9575 if test "$no_cache" != 1; then
9576 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9579 if test "$wxUSE_STARTUP_TIPS" = yes; then
9580 echo "$as_me:$LINENO: result: yes" >&5
9581 echo "${ECHO_T}yes" >&6
9583 echo "$as_me:$LINENO: result: no" >&5
9584 echo "${ECHO_T}no" >&6
9589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9590 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9592 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9593 if test "${enable_progressdlg+set}" = set; then
9594 enableval
="$enable_progressdlg"
9596 if test "$enableval" = yes; then
9597 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9599 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9604 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9605 if test "x$LINE" != x
; then
9606 eval "DEFAULT_$LINE"
9611 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9615 eval "$ac_cv_use_progressdlg"
9616 if test "$no_cache" != 1; then
9617 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9620 if test "$wxUSE_PROGRESSDLG" = yes; then
9621 echo "$as_me:$LINENO: result: yes" >&5
9622 echo "${ECHO_T}yes" >&6
9624 echo "$as_me:$LINENO: result: no" >&5
9625 echo "${ECHO_T}no" >&6
9630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9631 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9633 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9634 if test "${enable_wizarddlg+set}" = set; then
9635 enableval
="$enable_wizarddlg"
9637 if test "$enableval" = yes; then
9638 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9640 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9645 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9646 if test "x$LINE" != x
; then
9647 eval "DEFAULT_$LINE"
9652 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9656 eval "$ac_cv_use_wizarddlg"
9657 if test "$no_cache" != 1; then
9658 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9661 if test "$wxUSE_WIZARDDLG" = yes; then
9662 echo "$as_me:$LINENO: result: yes" >&5
9663 echo "${ECHO_T}yes" >&6
9665 echo "$as_me:$LINENO: result: no" >&5
9666 echo "${ECHO_T}no" >&6
9673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9676 # Check whether --enable-menus or --disable-menus was given.
9677 if test "${enable_menus+set}" = set; then
9678 enableval
="$enable_menus"
9680 if test "$enableval" = yes; then
9681 ac_cv_use_menus
='wxUSE_MENUS=yes'
9683 ac_cv_use_menus
='wxUSE_MENUS=no'
9688 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9689 if test "x$LINE" != x
; then
9690 eval "DEFAULT_$LINE"
9695 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9699 eval "$ac_cv_use_menus"
9700 if test "$no_cache" != 1; then
9701 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9704 if test "$wxUSE_MENUS" = yes; then
9705 echo "$as_me:$LINENO: result: yes" >&5
9706 echo "${ECHO_T}yes" >&6
9708 echo "$as_me:$LINENO: result: no" >&5
9709 echo "${ECHO_T}no" >&6
9714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9717 # Check whether --enable-miniframe or --disable-miniframe was given.
9718 if test "${enable_miniframe+set}" = set; then
9719 enableval
="$enable_miniframe"
9721 if test "$enableval" = yes; then
9722 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9724 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9729 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9730 if test "x$LINE" != x
; then
9731 eval "DEFAULT_$LINE"
9736 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9740 eval "$ac_cv_use_miniframe"
9741 if test "$no_cache" != 1; then
9742 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9745 if test "$wxUSE_MINIFRAME" = yes; then
9746 echo "$as_me:$LINENO: result: yes" >&5
9747 echo "${ECHO_T}yes" >&6
9749 echo "$as_me:$LINENO: result: no" >&5
9750 echo "${ECHO_T}no" >&6
9755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9758 # Check whether --enable-tooltips or --disable-tooltips was given.
9759 if test "${enable_tooltips+set}" = set; then
9760 enableval
="$enable_tooltips"
9762 if test "$enableval" = yes; then
9763 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9765 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9770 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9771 if test "x$LINE" != x
; then
9772 eval "DEFAULT_$LINE"
9777 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9781 eval "$ac_cv_use_tooltips"
9782 if test "$no_cache" != 1; then
9783 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9786 if test "$wxUSE_TOOLTIPS" = yes; then
9787 echo "$as_me:$LINENO: result: yes" >&5
9788 echo "${ECHO_T}yes" >&6
9790 echo "$as_me:$LINENO: result: no" >&5
9791 echo "${ECHO_T}no" >&6
9796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9797 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9799 # Check whether --enable-splines or --disable-splines was given.
9800 if test "${enable_splines+set}" = set; then
9801 enableval
="$enable_splines"
9803 if test "$enableval" = yes; then
9804 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9806 ac_cv_use_splines
='wxUSE_SPLINES=no'
9811 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9812 if test "x$LINE" != x
; then
9813 eval "DEFAULT_$LINE"
9818 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9822 eval "$ac_cv_use_splines"
9823 if test "$no_cache" != 1; then
9824 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9827 if test "$wxUSE_SPLINES" = yes; then
9828 echo "$as_me:$LINENO: result: yes" >&5
9829 echo "${ECHO_T}yes" >&6
9831 echo "$as_me:$LINENO: result: no" >&5
9832 echo "${ECHO_T}no" >&6
9837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9840 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9841 if test "${enable_mousewheel+set}" = set; then
9842 enableval
="$enable_mousewheel"
9844 if test "$enableval" = yes; then
9845 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
9847 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
9852 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9853 if test "x$LINE" != x
; then
9854 eval "DEFAULT_$LINE"
9859 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9863 eval "$ac_cv_use_mousewheel"
9864 if test "$no_cache" != 1; then
9865 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9868 if test "$wxUSE_MOUSEWHEEL" = yes; then
9869 echo "$as_me:$LINENO: result: yes" >&5
9870 echo "${ECHO_T}yes" >&6
9872 echo "$as_me:$LINENO: result: no" >&5
9873 echo "${ECHO_T}no" >&6
9878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9879 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9881 # Check whether --enable-validators or --disable-validators was given.
9882 if test "${enable_validators+set}" = set; then
9883 enableval
="$enable_validators"
9885 if test "$enableval" = yes; then
9886 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9888 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9893 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9894 if test "x$LINE" != x
; then
9895 eval "DEFAULT_$LINE"
9900 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9904 eval "$ac_cv_use_validators"
9905 if test "$no_cache" != 1; then
9906 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9909 if test "$wxUSE_VALIDATORS" = yes; then
9910 echo "$as_me:$LINENO: result: yes" >&5
9911 echo "${ECHO_T}yes" >&6
9913 echo "$as_me:$LINENO: result: no" >&5
9914 echo "${ECHO_T}no" >&6
9919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9922 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9923 if test "${enable_busyinfo+set}" = set; then
9924 enableval
="$enable_busyinfo"
9926 if test "$enableval" = yes; then
9927 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9929 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9934 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9935 if test "x$LINE" != x
; then
9936 eval "DEFAULT_$LINE"
9941 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9945 eval "$ac_cv_use_busyinfo"
9946 if test "$no_cache" != 1; then
9947 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9950 if test "$wxUSE_BUSYINFO" = yes; then
9951 echo "$as_me:$LINENO: result: yes" >&5
9952 echo "${ECHO_T}yes" >&6
9954 echo "$as_me:$LINENO: result: no" >&5
9955 echo "${ECHO_T}no" >&6
9960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9961 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9963 # Check whether --enable-joystick or --disable-joystick was given.
9964 if test "${enable_joystick+set}" = set; then
9965 enableval
="$enable_joystick"
9967 if test "$enableval" = yes; then
9968 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9970 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9975 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9976 if test "x$LINE" != x
; then
9977 eval "DEFAULT_$LINE"
9982 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9986 eval "$ac_cv_use_joystick"
9987 if test "$no_cache" != 1; then
9988 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9991 if test "$wxUSE_JOYSTICK" = yes; then
9992 echo "$as_me:$LINENO: result: yes" >&5
9993 echo "${ECHO_T}yes" >&6
9995 echo "$as_me:$LINENO: result: no" >&5
9996 echo "${ECHO_T}no" >&6
10001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10002 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10004 # Check whether --enable-metafile or --disable-metafile was given.
10005 if test "${enable_metafile+set}" = set; then
10006 enableval
="$enable_metafile"
10008 if test "$enableval" = yes; then
10009 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10011 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10016 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10017 if test "x$LINE" != x
; then
10018 eval "DEFAULT_$LINE"
10023 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10027 eval "$ac_cv_use_metafile"
10028 if test "$no_cache" != 1; then
10029 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10032 if test "$wxUSE_METAFILE" = yes; then
10033 echo "$as_me:$LINENO: result: yes" >&5
10034 echo "${ECHO_T}yes" >&6
10036 echo "$as_me:$LINENO: result: no" >&5
10037 echo "${ECHO_T}no" >&6
10042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10043 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10045 # Check whether --enable-dragimage or --disable-dragimage was given.
10046 if test "${enable_dragimage+set}" = set; then
10047 enableval
="$enable_dragimage"
10049 if test "$enableval" = yes; then
10050 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10052 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10057 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10058 if test "x$LINE" != x
; then
10059 eval "DEFAULT_$LINE"
10064 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10068 eval "$ac_cv_use_dragimage"
10069 if test "$no_cache" != 1; then
10070 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10073 if test "$wxUSE_DRAGIMAGE" = yes; then
10074 echo "$as_me:$LINENO: result: yes" >&5
10075 echo "${ECHO_T}yes" >&6
10077 echo "$as_me:$LINENO: result: no" >&5
10078 echo "${ECHO_T}no" >&6
10083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10084 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10086 # Check whether --enable-accessibility or --disable-accessibility was given.
10087 if test "${enable_accessibility+set}" = set; then
10088 enableval
="$enable_accessibility"
10090 if test "$enableval" = yes; then
10091 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10093 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10098 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10099 if test "x$LINE" != x
; then
10100 eval "DEFAULT_$LINE"
10105 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10109 eval "$ac_cv_use_accessibility"
10110 if test "$no_cache" != 1; then
10111 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10114 if test "$wxUSE_ACCESSIBILITY" = yes; then
10115 echo "$as_me:$LINENO: result: yes" >&5
10116 echo "${ECHO_T}yes" >&6
10118 echo "$as_me:$LINENO: result: no" >&5
10119 echo "${ECHO_T}no" >&6
10126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10127 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10129 # Check whether --enable-palette or --disable-palette was given.
10130 if test "${enable_palette+set}" = set; then
10131 enableval
="$enable_palette"
10133 if test "$enableval" = yes; then
10134 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10136 ac_cv_use_palette
='wxUSE_PALETTE=no'
10141 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10142 if test "x$LINE" != x
; then
10143 eval "DEFAULT_$LINE"
10148 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10152 eval "$ac_cv_use_palette"
10153 if test "$no_cache" != 1; then
10154 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10157 if test "$wxUSE_PALETTE" = yes; then
10158 echo "$as_me:$LINENO: result: yes" >&5
10159 echo "${ECHO_T}yes" >&6
10161 echo "$as_me:$LINENO: result: no" >&5
10162 echo "${ECHO_T}no" >&6
10167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10168 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10170 # Check whether --enable-image or --disable-image was given.
10171 if test "${enable_image+set}" = set; then
10172 enableval
="$enable_image"
10174 if test "$enableval" = yes; then
10175 ac_cv_use_image
='wxUSE_IMAGE=yes'
10177 ac_cv_use_image
='wxUSE_IMAGE=no'
10182 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10183 if test "x$LINE" != x
; then
10184 eval "DEFAULT_$LINE"
10189 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10193 eval "$ac_cv_use_image"
10194 if test "$no_cache" != 1; then
10195 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10198 if test "$wxUSE_IMAGE" = yes; then
10199 echo "$as_me:$LINENO: result: yes" >&5
10200 echo "${ECHO_T}yes" >&6
10202 echo "$as_me:$LINENO: result: no" >&5
10203 echo "${ECHO_T}no" >&6
10208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10209 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10211 # Check whether --enable-gif or --disable-gif was given.
10212 if test "${enable_gif+set}" = set; then
10213 enableval
="$enable_gif"
10215 if test "$enableval" = yes; then
10216 ac_cv_use_gif
='wxUSE_GIF=yes'
10218 ac_cv_use_gif
='wxUSE_GIF=no'
10223 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10224 if test "x$LINE" != x
; then
10225 eval "DEFAULT_$LINE"
10230 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10234 eval "$ac_cv_use_gif"
10235 if test "$no_cache" != 1; then
10236 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10239 if test "$wxUSE_GIF" = yes; then
10240 echo "$as_me:$LINENO: result: yes" >&5
10241 echo "${ECHO_T}yes" >&6
10243 echo "$as_me:$LINENO: result: no" >&5
10244 echo "${ECHO_T}no" >&6
10249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10250 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10252 # Check whether --enable-pcx or --disable-pcx was given.
10253 if test "${enable_pcx+set}" = set; then
10254 enableval
="$enable_pcx"
10256 if test "$enableval" = yes; then
10257 ac_cv_use_pcx
='wxUSE_PCX=yes'
10259 ac_cv_use_pcx
='wxUSE_PCX=no'
10264 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10265 if test "x$LINE" != x
; then
10266 eval "DEFAULT_$LINE"
10271 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10275 eval "$ac_cv_use_pcx"
10276 if test "$no_cache" != 1; then
10277 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10280 if test "$wxUSE_PCX" = yes; then
10281 echo "$as_me:$LINENO: result: yes" >&5
10282 echo "${ECHO_T}yes" >&6
10284 echo "$as_me:$LINENO: result: no" >&5
10285 echo "${ECHO_T}no" >&6
10290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10293 # Check whether --enable-iff or --disable-iff was given.
10294 if test "${enable_iff+set}" = set; then
10295 enableval
="$enable_iff"
10297 if test "$enableval" = yes; then
10298 ac_cv_use_iff
='wxUSE_IFF=yes'
10300 ac_cv_use_iff
='wxUSE_IFF=no'
10305 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10306 if test "x$LINE" != x
; then
10307 eval "DEFAULT_$LINE"
10312 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10316 eval "$ac_cv_use_iff"
10317 if test "$no_cache" != 1; then
10318 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10321 if test "$wxUSE_IFF" = yes; then
10322 echo "$as_me:$LINENO: result: yes" >&5
10323 echo "${ECHO_T}yes" >&6
10325 echo "$as_me:$LINENO: result: no" >&5
10326 echo "${ECHO_T}no" >&6
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10334 # Check whether --enable-pnm or --disable-pnm was given.
10335 if test "${enable_pnm+set}" = set; then
10336 enableval
="$enable_pnm"
10338 if test "$enableval" = yes; then
10339 ac_cv_use_pnm
='wxUSE_PNM=yes'
10341 ac_cv_use_pnm
='wxUSE_PNM=no'
10346 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x
; then
10348 eval "DEFAULT_$LINE"
10353 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10357 eval "$ac_cv_use_pnm"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10362 if test "$wxUSE_PNM" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10375 # Check whether --enable-xpm or --disable-xpm was given.
10376 if test "${enable_xpm+set}" = set; then
10377 enableval
="$enable_xpm"
10379 if test "$enableval" = yes; then
10380 ac_cv_use_xpm
='wxUSE_XPM=yes'
10382 ac_cv_use_xpm
='wxUSE_XPM=no'
10387 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10388 if test "x$LINE" != x
; then
10389 eval "DEFAULT_$LINE"
10394 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10398 eval "$ac_cv_use_xpm"
10399 if test "$no_cache" != 1; then
10400 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10403 if test "$wxUSE_XPM" = yes; then
10404 echo "$as_me:$LINENO: result: yes" >&5
10405 echo "${ECHO_T}yes" >&6
10407 echo "$as_me:$LINENO: result: no" >&5
10408 echo "${ECHO_T}no" >&6
10413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10416 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10417 if test "${enable_ico_cur+set}" = set; then
10418 enableval
="$enable_ico_cur"
10420 if test "$enableval" = yes; then
10421 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10423 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10428 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10429 if test "x$LINE" != x
; then
10430 eval "DEFAULT_$LINE"
10435 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10439 eval "$ac_cv_use_ico_cur"
10440 if test "$no_cache" != 1; then
10441 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10444 if test "$wxUSE_ICO_CUR" = yes; then
10445 echo "$as_me:$LINENO: result: yes" >&5
10446 echo "${ECHO_T}yes" >&6
10448 echo "$as_me:$LINENO: result: no" >&5
10449 echo "${ECHO_T}no" >&6
10457 # Check whether --with-flavour or --without-flavour was given.
10458 if test "${with_flavour+set}" = set; then
10459 withval
="$with_flavour"
10460 WX_FLAVOUR
="$withval"
10466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10469 # Check whether --enable-official_build or --disable-official_build was given.
10470 if test "${enable_official_build+set}" = set; then
10471 enableval
="$enable_official_build"
10473 if test "$enableval" = yes; then
10474 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10476 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10481 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10482 if test "x$LINE" != x
; then
10483 eval "DEFAULT_$LINE"
10488 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10492 eval "$ac_cv_use_official_build"
10493 if test "$no_cache" != 1; then
10494 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10497 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10498 echo "$as_me:$LINENO: result: yes" >&5
10499 echo "${ECHO_T}yes" >&6
10501 echo "$as_me:$LINENO: result: no" >&5
10502 echo "${ECHO_T}no" >&6
10505 # Check whether --enable-vendor or --disable-vendor was given.
10506 if test "${enable_vendor+set}" = set; then
10507 enableval
="$enable_vendor"
10508 VENDOR
="$enableval"
10510 if test "x$VENDOR" = "x"; then
10517 echo "saving argument cache $wx_arg_cache_file"
10518 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10522 echo "$as_me:$LINENO: checking for toolkit" >&5
10523 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10525 # In Wine, we need to default to MSW, not GTK or MOTIF
10526 if test "$wxUSE_WINE" = "yes"; then
10527 DEFAULT_DEFAULT_wxUSE_GTK
=0
10528 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10529 DEFAULT_DEFAULT_wxUSE_MSW
=1
10533 if test "$wxUSE_GTK1" = "yes" -o "$wxUSE_GTK2" = "yes"; then
10538 if test "$wxUSE_GUI" = "yes"; then
10540 if test "$USE_BEOS" = 1; then
10541 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10542 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10543 { (exit 1); exit 1; }; }
10546 if test "$TOOLKIT_GIVEN" = 1; then
10547 for toolkit
in `echo $ALL_TOOLKITS`; do
10549 eval "value=\$${var}"
10550 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10553 for toolkit
in `echo $ALL_TOOLKITS`; do
10554 if test "$has_toolkit_in_cache" != 1; then
10555 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10557 var
=DEFAULT_wxUSE_
$toolkit
10559 eval "wxUSE_$toolkit=\$${var}"
10563 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10564 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10565 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10568 *-pc-os2_emx | *-pc-os2-emx )
10569 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10572 case "$NUM_TOOLKITS" in
10576 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10577 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10578 { (exit 1); exit 1; }; }
10581 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10582 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10583 { (exit 1); exit 1; }; }
10586 for toolkit
in `echo $ALL_TOOLKITS`; do
10588 eval "value=\$${var}"
10589 if test "x$value" != x
; then
10590 cache_var
=CACHE_
$toolkit
10591 eval "cache=\$${cache_var}"
10592 if test "$cache" = 1; then
10593 echo "$var=$value" >> ${wx_arg_cache_file}
10595 if test "$value" = 1; then
10596 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10597 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10598 echo "${ECHO_T}$toolkit_echo" >&6
10603 if test "x$host_alias" != "x"; then
10604 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10605 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10607 echo "$as_me:$LINENO: result: base only" >&5
10608 echo "${ECHO_T}base only" >&6
10613 doesnt_want_win32
=0
10616 if test "$wxUSE_MSW" = 1 ; then
10619 doesnt_want_win32
=1
10627 if test "$wxUSE_WINE" = "yes"; then
10632 LDFLAGS_GUI
="-mwindows"
10635 if test "$wants_win32" = 1 ; then
10638 cat >>confdefs.h
<<\_ACEOF
10639 #define __WIN32__ 1
10642 cat >>confdefs.h
<<\_ACEOF
10643 #define __WIN95__ 1
10646 cat >>confdefs.h
<<\_ACEOF
10647 #define __WINDOWS__ 1
10650 cat >>confdefs.h
<<\_ACEOF
10651 #define __GNUWIN32__ 1
10654 cat >>confdefs.h
<<\_ACEOF
10658 cat >>confdefs.h
<<\_ACEOF
10659 #define WINVER 0x0400
10663 if test "$doesnt_want_win32" = 1 ; then
10668 if test "$USE_UNIX" = 1 ; then
10670 cat >>confdefs.h
<<\_ACEOF
10677 cat >confcache
<<\_ACEOF
10678 # This file is a shell script that caches the results of configure
10679 # tests run on this system so they can be shared between configure
10680 # scripts and configure runs, see configure's option --config-cache.
10681 # It is not useful on other systems. If it contains results you don't
10682 # want to keep, you may remove or edit it.
10684 # config.status only pays attention to the cache file if you give it
10685 # the --recheck option to rerun configure.
10687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10689 # following values.
10693 # The following way of writing the cache mishandles newlines in values,
10694 # but we know of no workaround that is simple, portable, and efficient.
10695 # So, don't put newlines in cache variables' values.
10696 # Ultrix sh set writes to stderr and can't be redirected directly,
10697 # and sets the high bit in the cache file unless we assign to the vars.
10700 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10702 # `set' does not quote correctly, so add quotes (double-quote
10703 # substitution turns \\\\ into \\, and sed turns \\ into \).
10706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10709 # `set' quotes correctly as required by POSIX, so do not add quotes.
10711 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10718 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10720 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10722 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10723 if test -w $cache_file; then
10724 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10725 cat confcache
>$cache_file
10727 echo "not updating unwritable cache $cache_file"
10732 if test "$build" != "$host" ; then
10733 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10735 CXX
=$host_alias-c++
10737 RANLIB
=$host_alias-ranlib
10738 DLLTOOL
=$host_alias-dlltool
10739 RESCOMP
=$host_alias-windres
10740 STRIP
=$host_alias-strip
10741 elif test "x$CC" '!=' "x"; then
10742 echo "You set CC, I assume you know what you are doing."
10744 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10745 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10746 { (exit 1); exit 1; }; }
10754 ac_cpp
='$CPP $CPPFLAGS'
10755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10758 if test -n "$ac_tool_prefix"; then
10759 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10760 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10761 echo "$as_me:$LINENO: checking for $ac_word" >&5
10762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10763 if test "${ac_cv_prog_CC+set}" = set; then
10764 echo $ECHO_N "(cached) $ECHO_C" >&6
10766 if test -n "$CC"; then
10767 ac_cv_prog_CC
="$CC" # Let the user override the test.
10769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10770 for as_dir
in $PATH
10773 test -z "$as_dir" && as_dir
=.
10774 for ac_exec_ext
in '' $ac_executable_extensions; do
10775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10776 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10786 if test -n "$CC"; then
10787 echo "$as_me:$LINENO: result: $CC" >&5
10788 echo "${ECHO_T}$CC" >&6
10790 echo "$as_me:$LINENO: result: no" >&5
10791 echo "${ECHO_T}no" >&6
10795 if test -z "$ac_cv_prog_CC"; then
10797 # Extract the first word of "gcc", so it can be a program name with args.
10798 set dummy gcc
; ac_word
=$2
10799 echo "$as_me:$LINENO: checking for $ac_word" >&5
10800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10802 echo $ECHO_N "(cached) $ECHO_C" >&6
10804 if test -n "$ac_ct_CC"; then
10805 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10808 for as_dir
in $PATH
10811 test -z "$as_dir" && as_dir
=.
10812 for ac_exec_ext
in '' $ac_executable_extensions; do
10813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10814 ac_cv_prog_ac_ct_CC
="gcc"
10815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10823 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10824 if test -n "$ac_ct_CC"; then
10825 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10826 echo "${ECHO_T}$ac_ct_CC" >&6
10828 echo "$as_me:$LINENO: result: no" >&5
10829 echo "${ECHO_T}no" >&6
10834 CC
="$ac_cv_prog_CC"
10837 if test -z "$CC"; then
10838 if test -n "$ac_tool_prefix"; then
10839 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10840 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10841 echo "$as_me:$LINENO: checking for $ac_word" >&5
10842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10843 if test "${ac_cv_prog_CC+set}" = set; then
10844 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 if test -n "$CC"; then
10847 ac_cv_prog_CC
="$CC" # Let the user override the test.
10849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10850 for as_dir
in $PATH
10853 test -z "$as_dir" && as_dir
=.
10854 for ac_exec_ext
in '' $ac_executable_extensions; do
10855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10856 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10866 if test -n "$CC"; then
10867 echo "$as_me:$LINENO: result: $CC" >&5
10868 echo "${ECHO_T}$CC" >&6
10870 echo "$as_me:$LINENO: result: no" >&5
10871 echo "${ECHO_T}no" >&6
10875 if test -z "$ac_cv_prog_CC"; then
10877 # Extract the first word of "cc", so it can be a program name with args.
10878 set dummy cc
; ac_word
=$2
10879 echo "$as_me:$LINENO: checking for $ac_word" >&5
10880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10881 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10884 if test -n "$ac_ct_CC"; then
10885 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10888 for as_dir
in $PATH
10891 test -z "$as_dir" && as_dir
=.
10892 for ac_exec_ext
in '' $ac_executable_extensions; do
10893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10894 ac_cv_prog_ac_ct_CC
="cc"
10895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10903 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10904 if test -n "$ac_ct_CC"; then
10905 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10906 echo "${ECHO_T}$ac_ct_CC" >&6
10908 echo "$as_me:$LINENO: result: no" >&5
10909 echo "${ECHO_T}no" >&6
10914 CC
="$ac_cv_prog_CC"
10918 if test -z "$CC"; then
10919 # Extract the first word of "cc", so it can be a program name with args.
10920 set dummy cc
; ac_word
=$2
10921 echo "$as_me:$LINENO: checking for $ac_word" >&5
10922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10923 if test "${ac_cv_prog_CC+set}" = set; then
10924 echo $ECHO_N "(cached) $ECHO_C" >&6
10926 if test -n "$CC"; then
10927 ac_cv_prog_CC
="$CC" # Let the user override the test.
10929 ac_prog_rejected
=no
10930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10931 for as_dir
in $PATH
10934 test -z "$as_dir" && as_dir
=.
10935 for ac_exec_ext
in '' $ac_executable_extensions; do
10936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10937 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10938 ac_prog_rejected
=yes
10942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10948 if test $ac_prog_rejected = yes; then
10949 # We found a bogon in the path, so make sure we never use it.
10950 set dummy
$ac_cv_prog_CC
10952 if test $# != 0; then
10953 # We chose a different compiler from the bogus one.
10954 # However, it has the same basename, so the bogon will be chosen
10955 # first if we set CC to just the basename; use the full file name.
10957 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10963 if test -n "$CC"; then
10964 echo "$as_me:$LINENO: result: $CC" >&5
10965 echo "${ECHO_T}$CC" >&6
10967 echo "$as_me:$LINENO: result: no" >&5
10968 echo "${ECHO_T}no" >&6
10972 if test -z "$CC"; then
10973 if test -n "$ac_tool_prefix"; then
10976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10977 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10978 echo "$as_me:$LINENO: checking for $ac_word" >&5
10979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10980 if test "${ac_cv_prog_CC+set}" = set; then
10981 echo $ECHO_N "(cached) $ECHO_C" >&6
10983 if test -n "$CC"; then
10984 ac_cv_prog_CC
="$CC" # Let the user override the test.
10986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10987 for as_dir
in $PATH
10990 test -z "$as_dir" && as_dir
=.
10991 for ac_exec_ext
in '' $ac_executable_extensions; do
10992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10993 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11003 if test -n "$CC"; then
11004 echo "$as_me:$LINENO: result: $CC" >&5
11005 echo "${ECHO_T}$CC" >&6
11007 echo "$as_me:$LINENO: result: no" >&5
11008 echo "${ECHO_T}no" >&6
11011 test -n "$CC" && break
11014 if test -z "$CC"; then
11018 # Extract the first word of "$ac_prog", so it can be a program name with args.
11019 set dummy
$ac_prog; ac_word
=$2
11020 echo "$as_me:$LINENO: checking for $ac_word" >&5
11021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11022 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11023 echo $ECHO_N "(cached) $ECHO_C" >&6
11025 if test -n "$ac_ct_CC"; then
11026 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11029 for as_dir
in $PATH
11032 test -z "$as_dir" && as_dir
=.
11033 for ac_exec_ext
in '' $ac_executable_extensions; do
11034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11035 ac_cv_prog_ac_ct_CC
="$ac_prog"
11036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11044 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11045 if test -n "$ac_ct_CC"; then
11046 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11047 echo "${ECHO_T}$ac_ct_CC" >&6
11049 echo "$as_me:$LINENO: result: no" >&5
11050 echo "${ECHO_T}no" >&6
11053 test -n "$ac_ct_CC" && break
11062 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11063 See \`config.log' for more details." >&5
11064 echo "$as_me: error: no acceptable C compiler found in \$PATH
11065 See \`config.log' for more details." >&2;}
11066 { (exit 1); exit 1; }; }
11068 # Provide some information about the compiler.
11069 echo "$as_me:$LINENO:" \
11070 "checking for C compiler version" >&5
11071 ac_compiler
=`set X $ac_compile; echo $2`
11072 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11073 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }
11077 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11078 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }
11082 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11083 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); }
11088 cat >conftest.
$ac_ext <<_ACEOF
11091 cat confdefs.h
>>conftest.
$ac_ext
11092 cat >>conftest.
$ac_ext <<_ACEOF
11093 /* end confdefs.h. */
11103 ac_clean_files_save
=$ac_clean_files
11104 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11105 # Try to create an executable without -o first, disregard a.out.
11106 # It will help us diagnose broken compilers, and finding out an intuition
11108 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11109 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11110 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11111 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11112 (eval $ac_link_default) 2>&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); }; then
11116 # Find the output, starting from the most likely. This scheme is
11117 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11120 # Be careful to initialize this variable, since it used to be cached.
11121 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11123 # b.out is created by i960 compilers.
11124 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11126 test -f "$ac_file" || continue
11128 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11131 # This is the source file.
11134 # We found the default executable, but exeext='' is most
11138 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11139 # FIXME: I believe we export ac_cv_exeext for Libtool,
11140 # but it would be cool to find out if it's true. Does anybody
11141 # maintain Libtool? --akim.
11142 export ac_cv_exeext
11149 echo "$as_me: failed program was:" >&5
11150 sed 's/^/| /' conftest.
$ac_ext >&5
11152 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11153 See \`config.log' for more details." >&5
11154 echo "$as_me: error: C compiler cannot create executables
11155 See \`config.log' for more details." >&2;}
11156 { (exit 77); exit 77; }; }
11159 ac_exeext
=$ac_cv_exeext
11160 echo "$as_me:$LINENO: result: $ac_file" >&5
11161 echo "${ECHO_T}$ac_file" >&6
11163 # Check the compiler produces executables we can run. If not, either
11164 # the compiler is broken, or we cross compile.
11165 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11166 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11167 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11168 # If not cross compiling, check that we can run a simple program.
11169 if test "$cross_compiling" != yes; then
11170 if { ac_try
='./$ac_file'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; }; then
11178 if test "$cross_compiling" = maybe
; then
11179 cross_compiling
=yes
11181 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11182 If you meant to cross compile, use \`--host'.
11183 See \`config.log' for more details." >&5
11184 echo "$as_me: error: cannot run C compiled programs.
11185 If you meant to cross compile, use \`--host'.
11186 See \`config.log' for more details." >&2;}
11187 { (exit 1); exit 1; }; }
11191 echo "$as_me:$LINENO: result: yes" >&5
11192 echo "${ECHO_T}yes" >&6
11194 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11195 ac_clean_files
=$ac_clean_files_save
11196 # Check the compiler produces executables we can run. If not, either
11197 # the compiler is broken, or we cross compile.
11198 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11199 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11200 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11201 echo "${ECHO_T}$cross_compiling" >&6
11203 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11204 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11206 (eval $ac_link) 2>&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; then
11210 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11211 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11212 # work properly (i.e., refer to `conftest.exe'), while it won't with
11214 for ac_file
in conftest.exe conftest conftest.
*; do
11215 test -f "$ac_file" || continue
11217 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11218 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11219 export ac_cv_exeext
11225 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11226 See \`config.log' for more details." >&5
11227 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11228 See \`config.log' for more details." >&2;}
11229 { (exit 1); exit 1; }; }
11232 rm -f conftest
$ac_cv_exeext
11233 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11234 echo "${ECHO_T}$ac_cv_exeext" >&6
11236 rm -f conftest.
$ac_ext
11237 EXEEXT
=$ac_cv_exeext
11239 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11240 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11241 if test "${ac_cv_objext+set}" = set; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11244 cat >conftest.
$ac_ext <<_ACEOF
11247 cat confdefs.h
>>conftest.
$ac_ext
11248 cat >>conftest.
$ac_ext <<_ACEOF
11249 /* end confdefs.h. */
11259 rm -f conftest.o conftest.obj
11260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11261 (eval $ac_compile) 2>&5
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); }; then
11265 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11267 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11268 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11273 echo "$as_me: failed program was:" >&5
11274 sed 's/^/| /' conftest.
$ac_ext >&5
11276 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11277 See \`config.log' for more details." >&5
11278 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11279 See \`config.log' for more details." >&2;}
11280 { (exit 1); exit 1; }; }
11283 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11285 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11286 echo "${ECHO_T}$ac_cv_objext" >&6
11287 OBJEXT
=$ac_cv_objext
11289 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11290 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11291 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11292 echo $ECHO_N "(cached) $ECHO_C" >&6
11294 cat >conftest.
$ac_ext <<_ACEOF
11297 cat confdefs.h
>>conftest.
$ac_ext
11298 cat >>conftest.
$ac_ext <<_ACEOF
11299 /* end confdefs.h. */
11312 rm -f conftest.
$ac_objext
11313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11314 (eval $ac_compile) 2>conftest.er1
11316 grep -v '^ *+' conftest.er1
>conftest.err
11318 cat conftest.err
>&5
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); } &&
11321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11323 (eval $ac_try) 2>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); }; } &&
11327 { ac_try
='test -s conftest.$ac_objext'
11328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329 (eval $ac_try) 2>&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); }; }; then
11333 ac_compiler_gnu
=yes
11335 echo "$as_me: failed program was:" >&5
11336 sed 's/^/| /' conftest.
$ac_ext >&5
11340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11341 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11344 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11345 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11346 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11347 ac_test_CFLAGS
=${CFLAGS+set}
11348 ac_save_CFLAGS
=$CFLAGS
11350 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11351 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11352 if test "${ac_cv_prog_cc_g+set}" = set; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 cat >conftest.
$ac_ext <<_ACEOF
11358 cat confdefs.h
>>conftest.
$ac_ext
11359 cat >>conftest.
$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11370 rm -f conftest.
$ac_objext
11371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11372 (eval $ac_compile) 2>conftest.er1
11374 grep -v '^ *+' conftest.er1
>conftest.err
11376 cat conftest.err
>&5
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); } &&
11379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11381 (eval $ac_try) 2>&5
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); }; } &&
11385 { ac_try
='test -s conftest.$ac_objext'
11386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11387 (eval $ac_try) 2>&5
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); }; }; then
11391 ac_cv_prog_cc_g
=yes
11393 echo "$as_me: failed program was:" >&5
11394 sed 's/^/| /' conftest.
$ac_ext >&5
11398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11400 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11401 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11402 if test "$ac_test_CFLAGS" = set; then
11403 CFLAGS
=$ac_save_CFLAGS
11404 elif test $ac_cv_prog_cc_g = yes; then
11405 if test "$GCC" = yes; then
11411 if test "$GCC" = yes; then
11417 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11418 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11419 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11422 ac_cv_prog_cc_stdc
=no
11424 cat >conftest.
$ac_ext <<_ACEOF
11427 cat confdefs.h
>>conftest.
$ac_ext
11428 cat >>conftest.
$ac_ext <<_ACEOF
11429 /* end confdefs.h. */
11430 #include <stdarg.h>
11432 #include <sys/types.h>
11433 #include <sys/stat.h>
11434 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11435 struct buf { int x; };
11436 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11437 static char *e (p, i)
11443 static char *f (char * (*g) (char **, int), char **p, ...)
11448 s = g (p, va_arg (v,int));
11453 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11454 function prototypes and stuff, but not '\xHH' hex character constants.
11455 These don't provoke an error unfortunately, instead are silently treated
11456 as 'x'. The following induces an error, until -std1 is added to get
11457 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11458 array size at least. It's necessary to write '\x00'==0 to get something
11459 that's true only with -std1. */
11460 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11462 int test (int i, double x);
11463 struct s1 {int (*f) (int a);};
11464 struct s2 {int (*f) (double a);};
11465 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11471 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11476 # Don't try gcc -ansi; that turns off useful extensions and
11477 # breaks some systems' header files.
11478 # AIX -qlanglvl=ansi
11479 # Ultrix and OSF/1 -std1
11480 # HP-UX 10.20 and later -Ae
11481 # HP-UX older versions -Aa -D_HPUX_SOURCE
11482 # SVR4 -Xc -D__EXTENSIONS__
11483 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11485 CC
="$ac_save_CC $ac_arg"
11486 rm -f conftest.
$ac_objext
11487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11488 (eval $ac_compile) 2>conftest.er1
11490 grep -v '^ *+' conftest.er1
>conftest.err
11492 cat conftest.err
>&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); } &&
11495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11497 (eval $ac_try) 2>&5
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); }; } &&
11501 { ac_try
='test -s conftest.$ac_objext'
11502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11503 (eval $ac_try) 2>&5
11505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506 (exit $ac_status); }; }; then
11507 ac_cv_prog_cc_stdc
=$ac_arg
11510 echo "$as_me: failed program was:" >&5
11511 sed 's/^/| /' conftest.
$ac_ext >&5
11514 rm -f conftest.err conftest.
$ac_objext
11516 rm -f conftest.
$ac_ext conftest.
$ac_objext
11521 case "x$ac_cv_prog_cc_stdc" in
11523 echo "$as_me:$LINENO: result: none needed" >&5
11524 echo "${ECHO_T}none needed" >&6 ;;
11526 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11527 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11528 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11531 # Some people use a C++ compiler to compile C. Since we use `exit',
11532 # in C++ we need to declare it. In case someone uses the same compiler
11533 # for both compiling C and C++ we need to have the C++ compiler decide
11534 # the declaration of exit, since it's the most demanding environment.
11535 cat >conftest.
$ac_ext <<_ACEOF
11536 #ifndef __cplusplus
11540 rm -f conftest.
$ac_objext
11541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11542 (eval $ac_compile) 2>conftest.er1
11544 grep -v '^ *+' conftest.er1
>conftest.err
11546 cat conftest.err
>&5
11547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11548 (exit $ac_status); } &&
11549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11551 (eval $ac_try) 2>&5
11553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11554 (exit $ac_status); }; } &&
11555 { ac_try
='test -s conftest.$ac_objext'
11556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11557 (eval $ac_try) 2>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; }; then
11561 for ac_declaration
in \
11563 'extern "C" void std::exit (int) throw (); using std::exit;' \
11564 'extern "C" void std::exit (int); using std::exit;' \
11565 'extern "C" void exit (int) throw ();' \
11566 'extern "C" void exit (int);' \
11569 cat >conftest.
$ac_ext <<_ACEOF
11572 cat confdefs.h
>>conftest.
$ac_ext
11573 cat >>conftest.
$ac_ext <<_ACEOF
11574 /* end confdefs.h. */
11576 #include <stdlib.h>
11585 rm -f conftest.
$ac_objext
11586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11587 (eval $ac_compile) 2>conftest.er1
11589 grep -v '^ *+' conftest.er1
>conftest.err
11591 cat conftest.err
>&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); } &&
11594 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11596 (eval $ac_try) 2>&5
11598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11599 (exit $ac_status); }; } &&
11600 { ac_try
='test -s conftest.$ac_objext'
11601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11602 (eval $ac_try) 2>&5
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); }; }; then
11608 echo "$as_me: failed program was:" >&5
11609 sed 's/^/| /' conftest.
$ac_ext >&5
11613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11614 cat >conftest.
$ac_ext <<_ACEOF
11617 cat confdefs.h
>>conftest.
$ac_ext
11618 cat >>conftest.
$ac_ext <<_ACEOF
11619 /* end confdefs.h. */
11629 rm -f conftest.
$ac_objext
11630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11631 (eval $ac_compile) 2>conftest.er1
11633 grep -v '^ *+' conftest.er1
>conftest.err
11635 cat conftest.err
>&5
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); } &&
11638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640 (eval $ac_try) 2>&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }; } &&
11644 { ac_try
='test -s conftest.$ac_objext'
11645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11646 (eval $ac_try) 2>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; }; then
11652 echo "$as_me: failed program was:" >&5
11653 sed 's/^/| /' conftest.
$ac_ext >&5
11656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11659 if test -n "$ac_declaration"; then
11660 echo '#ifdef __cplusplus' >>confdefs.h
11661 echo $ac_declaration >>confdefs.h
11662 echo '#endif' >>confdefs.h
11666 echo "$as_me: failed program was:" >&5
11667 sed 's/^/| /' conftest.
$ac_ext >&5
11670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11672 ac_cpp
='$CPP $CPPFLAGS'
11673 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11674 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11675 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11677 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11678 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11679 if test "${wx_cv_c_exto+set}" = set; then
11680 echo $ECHO_N "(cached) $ECHO_C" >&6
11682 cat >conftest.
$ac_ext <<_ACEOF
11685 cat confdefs.h
>>conftest.
$ac_ext
11686 cat >>conftest.
$ac_ext <<_ACEOF
11687 /* end confdefs.h. */
11697 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11699 (eval $ac_compile) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; then
11703 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11705 conftest.
$ac_ext.o
)
11706 wx_cv_c_exto
="-ext o"
11713 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11714 See \`config.log' for more details." >&5
11715 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11716 See \`config.log' for more details." >&2;}
11717 { (exit 1); exit 1; }; }
11721 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11724 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11725 echo "${ECHO_T}$wx_cv_c_exto" >&6
11726 if test "x$wx_cv_c_exto" '!=' "x"; then
11727 if test "c" = "c"; then
11728 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11730 if test "c" = "cxx"; then
11731 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11735 if test "x$wx_cv_c_exto" '!=' "x"; then
11736 unset ac_cv_prog_cc_g
11737 ac_test_CFLAGS
=${CFLAGS+set}
11738 ac_save_CFLAGS
=$CFLAGS
11740 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11741 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11742 if test "${ac_cv_prog_cc_g+set}" = set; then
11743 echo $ECHO_N "(cached) $ECHO_C" >&6
11745 cat >conftest.
$ac_ext <<_ACEOF
11748 cat confdefs.h
>>conftest.
$ac_ext
11749 cat >>conftest.
$ac_ext <<_ACEOF
11750 /* end confdefs.h. */
11760 rm -f conftest.
$ac_objext
11761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11762 (eval $ac_compile) 2>conftest.er1
11764 grep -v '^ *+' conftest.er1
>conftest.err
11766 cat conftest.err
>&5
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); } &&
11769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11771 (eval $ac_try) 2>&5
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); }; } &&
11775 { ac_try
='test -s conftest.$ac_objext'
11776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11777 (eval $ac_try) 2>&5
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); }; }; then
11781 ac_cv_prog_cc_g
=yes
11783 echo "$as_me: failed program was:" >&5
11784 sed 's/^/| /' conftest.
$ac_ext >&5
11788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11790 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11791 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11792 if test "$ac_test_CFLAGS" = set; then
11793 CFLAGS
=$ac_save_CFLAGS
11794 elif test $ac_cv_prog_cc_g = yes; then
11795 if test "$GCC" = yes; then
11801 if test "$GCC" = yes; then
11809 ac_cpp
='$CPP $CPPFLAGS'
11810 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11811 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11812 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11814 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11815 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11816 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11817 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 cat >conftest.
$ac_ext <<_ACEOF
11822 cat confdefs.h
>>conftest.
$ac_ext
11823 cat >>conftest.
$ac_ext <<_ACEOF
11824 /* end confdefs.h. */
11837 rm -f conftest.
$ac_objext
11838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11839 (eval $ac_compile) 2>conftest.er1
11841 grep -v '^ *+' conftest.er1
>conftest.err
11843 cat conftest.err
>&5
11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); } &&
11846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11848 (eval $ac_try) 2>&5
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); }; } &&
11852 { ac_try
='test -s conftest.$ac_objext'
11853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11854 (eval $ac_try) 2>&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); }; }; then
11858 bakefile_compiler_mwerks
=yes
11860 echo "$as_me: failed program was:" >&5
11861 sed 's/^/| /' conftest.
$ac_ext >&5
11863 bakefile_compiler_mwerks
=no
11865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11866 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11869 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11870 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11872 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11874 ac_cpp
='$CPP $CPPFLAGS'
11875 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11876 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11877 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11881 ac_cpp
='$CPP $CPPFLAGS'
11882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11886 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11887 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11888 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11889 echo $ECHO_N "(cached) $ECHO_C" >&6
11891 cat >conftest.
$ac_ext <<_ACEOF
11894 cat confdefs.h
>>conftest.
$ac_ext
11895 cat >>conftest.
$ac_ext <<_ACEOF
11896 /* end confdefs.h. */
11909 rm -f conftest.
$ac_objext
11910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11911 (eval $ac_compile) 2>conftest.er1
11913 grep -v '^ *+' conftest.er1
>conftest.err
11915 cat conftest.err
>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); } &&
11918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; } &&
11924 { ac_try
='test -s conftest.$ac_objext'
11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11926 (eval $ac_try) 2>&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); }; }; then
11930 wx_compiler_xlc
=yes
11932 echo "$as_me: failed program was:" >&5
11933 sed 's/^/| /' conftest.
$ac_ext >&5
11937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11938 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11941 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11942 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11944 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11946 ac_cpp
='$CPP $CPPFLAGS'
11947 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11948 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11949 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11955 ac_cpp
='$CPP $CPPFLAGS'
11956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11959 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11960 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11961 # On Suns, sometimes $CPP names a directory.
11962 if test -n "$CPP" && test -d "$CPP"; then
11965 if test -z "$CPP"; then
11966 if test "${ac_cv_prog_CPP+set}" = set; then
11967 echo $ECHO_N "(cached) $ECHO_C" >&6
11969 # Double quotes because CPP needs to be expanded
11970 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11972 ac_preproc_ok
=false
11973 for ac_c_preproc_warn_flag
in '' yes
11975 # Use a header file that comes with gcc, so configuring glibc
11976 # with a fresh cross-compiler works.
11977 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11978 # <limits.h> exists even on freestanding compilers.
11979 # On the NeXT, cc -E runs the code through the compiler's parser,
11980 # not just through cpp. "Syntax error" is here to catch this case.
11981 cat >conftest.
$ac_ext <<_ACEOF
11984 cat confdefs.h
>>conftest.
$ac_ext
11985 cat >>conftest.
$ac_ext <<_ACEOF
11986 /* end confdefs.h. */
11988 # include <limits.h>
11990 # include <assert.h>
11994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11997 grep -v '^ *+' conftest.er1
>conftest.err
11999 cat conftest.err
>&5
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); } >/dev
/null
; then
12002 if test -s conftest.err
; then
12003 ac_cpp_err
=$ac_c_preproc_warn_flag
12004 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12011 if test -z "$ac_cpp_err"; then
12014 echo "$as_me: failed program was:" >&5
12015 sed 's/^/| /' conftest.
$ac_ext >&5
12017 # Broken: fails on valid input.
12020 rm -f conftest.err conftest.
$ac_ext
12022 # OK, works on sane cases. Now check whether non-existent headers
12023 # can be detected and how.
12024 cat >conftest.
$ac_ext <<_ACEOF
12027 cat confdefs.h
>>conftest.
$ac_ext
12028 cat >>conftest.
$ac_ext <<_ACEOF
12029 /* end confdefs.h. */
12030 #include <ac_nonexistent.h>
12032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12033 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12035 grep -v '^ *+' conftest.er1
>conftest.err
12037 cat conftest.err
>&5
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); } >/dev
/null
; then
12040 if test -s conftest.err
; then
12041 ac_cpp_err
=$ac_c_preproc_warn_flag
12042 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12049 if test -z "$ac_cpp_err"; then
12050 # Broken: success on invalid input.
12053 echo "$as_me: failed program was:" >&5
12054 sed 's/^/| /' conftest.
$ac_ext >&5
12056 # Passes both tests.
12060 rm -f conftest.err conftest.
$ac_ext
12063 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12064 rm -f conftest.err conftest.
$ac_ext
12065 if $ac_preproc_ok; then
12070 ac_cv_prog_CPP
=$CPP
12073 CPP
=$ac_cv_prog_CPP
12075 ac_cv_prog_CPP
=$CPP
12077 echo "$as_me:$LINENO: result: $CPP" >&5
12078 echo "${ECHO_T}$CPP" >&6
12079 ac_preproc_ok
=false
12080 for ac_c_preproc_warn_flag
in '' yes
12082 # Use a header file that comes with gcc, so configuring glibc
12083 # with a fresh cross-compiler works.
12084 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12085 # <limits.h> exists even on freestanding compilers.
12086 # On the NeXT, cc -E runs the code through the compiler's parser,
12087 # not just through cpp. "Syntax error" is here to catch this case.
12088 cat >conftest.
$ac_ext <<_ACEOF
12091 cat confdefs.h
>>conftest.
$ac_ext
12092 cat >>conftest.
$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12095 # include <limits.h>
12097 # include <assert.h>
12101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12104 grep -v '^ *+' conftest.er1
>conftest.err
12106 cat conftest.err
>&5
12107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108 (exit $ac_status); } >/dev
/null
; then
12109 if test -s conftest.err
; then
12110 ac_cpp_err
=$ac_c_preproc_warn_flag
12111 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12118 if test -z "$ac_cpp_err"; then
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.
$ac_ext >&5
12124 # Broken: fails on valid input.
12127 rm -f conftest.err conftest.
$ac_ext
12129 # OK, works on sane cases. Now check whether non-existent headers
12130 # can be detected and how.
12131 cat >conftest.
$ac_ext <<_ACEOF
12134 cat confdefs.h
>>conftest.
$ac_ext
12135 cat >>conftest.
$ac_ext <<_ACEOF
12136 /* end confdefs.h. */
12137 #include <ac_nonexistent.h>
12139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12140 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12142 grep -v '^ *+' conftest.er1
>conftest.err
12144 cat conftest.err
>&5
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); } >/dev
/null
; then
12147 if test -s conftest.err
; then
12148 ac_cpp_err
=$ac_c_preproc_warn_flag
12149 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12156 if test -z "$ac_cpp_err"; then
12157 # Broken: success on invalid input.
12160 echo "$as_me: failed program was:" >&5
12161 sed 's/^/| /' conftest.
$ac_ext >&5
12163 # Passes both tests.
12167 rm -f conftest.err conftest.
$ac_ext
12170 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12171 rm -f conftest.err conftest.
$ac_ext
12172 if $ac_preproc_ok; then
12175 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12176 See \`config.log' for more details." >&5
12177 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12178 See \`config.log' for more details." >&2;}
12179 { (exit 1); exit 1; }; }
12183 ac_cpp
='$CPP $CPPFLAGS'
12184 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12185 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12186 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12189 echo "$as_me:$LINENO: checking for egrep" >&5
12190 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12191 if test "${ac_cv_prog_egrep+set}" = set; then
12192 echo $ECHO_N "(cached) $ECHO_C" >&6
12194 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12195 then ac_cv_prog_egrep
='grep -E'
12196 else ac_cv_prog_egrep
='egrep'
12199 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12200 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12201 EGREP
=$ac_cv_prog_egrep
12204 if test $ac_cv_c_compiler_gnu = yes; then
12205 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12206 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12207 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 ac_pattern
="Autoconf.*'x'"
12211 cat >conftest.
$ac_ext <<_ACEOF
12214 cat confdefs.h
>>conftest.
$ac_ext
12215 cat >>conftest.
$ac_ext <<_ACEOF
12216 /* end confdefs.h. */
12220 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12221 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12222 ac_cv_prog_gcc_traditional
=yes
12224 ac_cv_prog_gcc_traditional
=no
12229 if test $ac_cv_prog_gcc_traditional = no
; then
12230 cat >conftest.
$ac_ext <<_ACEOF
12233 cat confdefs.h
>>conftest.
$ac_ext
12234 cat >>conftest.
$ac_ext <<_ACEOF
12235 /* end confdefs.h. */
12236 #include <termio.h>
12239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12240 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12241 ac_cv_prog_gcc_traditional
=yes
12247 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12248 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12249 if test $ac_cv_prog_gcc_traditional = yes; then
12250 CC
="$CC -traditional"
12258 ac_cpp
='$CXXCPP $CPPFLAGS'
12259 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12260 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12261 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12264 CXXFLAGS
=${CXXFLAGS:=}
12268 ac_cpp
='$CXXCPP $CPPFLAGS'
12269 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12270 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12271 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12272 if test -n "$ac_tool_prefix"; then
12273 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12275 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12276 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12277 echo "$as_me:$LINENO: checking for $ac_word" >&5
12278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12279 if test "${ac_cv_prog_CXX+set}" = set; then
12280 echo $ECHO_N "(cached) $ECHO_C" >&6
12282 if test -n "$CXX"; then
12283 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12286 for as_dir
in $PATH
12289 test -z "$as_dir" && as_dir
=.
12290 for ac_exec_ext
in '' $ac_executable_extensions; do
12291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12292 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12301 CXX
=$ac_cv_prog_CXX
12302 if test -n "$CXX"; then
12303 echo "$as_me:$LINENO: result: $CXX" >&5
12304 echo "${ECHO_T}$CXX" >&6
12306 echo "$as_me:$LINENO: result: no" >&5
12307 echo "${ECHO_T}no" >&6
12310 test -n "$CXX" && break
12313 if test -z "$CXX"; then
12315 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12317 # Extract the first word of "$ac_prog", so it can be a program name with args.
12318 set dummy
$ac_prog; ac_word
=$2
12319 echo "$as_me:$LINENO: checking for $ac_word" >&5
12320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12321 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12322 echo $ECHO_N "(cached) $ECHO_C" >&6
12324 if test -n "$ac_ct_CXX"; then
12325 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12328 for as_dir
in $PATH
12331 test -z "$as_dir" && as_dir
=.
12332 for ac_exec_ext
in '' $ac_executable_extensions; do
12333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12334 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12343 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12344 if test -n "$ac_ct_CXX"; then
12345 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12346 echo "${ECHO_T}$ac_ct_CXX" >&6
12348 echo "$as_me:$LINENO: result: no" >&5
12349 echo "${ECHO_T}no" >&6
12352 test -n "$ac_ct_CXX" && break
12354 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12360 # Provide some information about the compiler.
12361 echo "$as_me:$LINENO:" \
12362 "checking for C++ compiler version" >&5
12363 ac_compiler
=`set X $ac_compile; echo $2`
12364 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12365 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }
12369 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12370 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); }
12374 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12375 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); }
12380 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12381 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12382 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12383 echo $ECHO_N "(cached) $ECHO_C" >&6
12385 cat >conftest.
$ac_ext <<_ACEOF
12388 cat confdefs.h
>>conftest.
$ac_ext
12389 cat >>conftest.
$ac_ext <<_ACEOF
12390 /* end confdefs.h. */
12403 rm -f conftest.
$ac_objext
12404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12405 (eval $ac_compile) 2>conftest.er1
12407 grep -v '^ *+' conftest.er1
>conftest.err
12409 cat conftest.err
>&5
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); } &&
12412 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12414 (eval $ac_try) 2>&5
12416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12417 (exit $ac_status); }; } &&
12418 { ac_try
='test -s conftest.$ac_objext'
12419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12420 (eval $ac_try) 2>&5
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; }; then
12424 ac_compiler_gnu
=yes
12426 echo "$as_me: failed program was:" >&5
12427 sed 's/^/| /' conftest.
$ac_ext >&5
12431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12432 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12435 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12436 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12437 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12438 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12439 ac_save_CXXFLAGS
=$CXXFLAGS
12441 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12442 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12443 if test "${ac_cv_prog_cxx_g+set}" = set; then
12444 echo $ECHO_N "(cached) $ECHO_C" >&6
12446 cat >conftest.
$ac_ext <<_ACEOF
12449 cat confdefs.h
>>conftest.
$ac_ext
12450 cat >>conftest.
$ac_ext <<_ACEOF
12451 /* end confdefs.h. */
12461 rm -f conftest.
$ac_objext
12462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12463 (eval $ac_compile) 2>conftest.er1
12465 grep -v '^ *+' conftest.er1
>conftest.err
12467 cat conftest.err
>&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); } &&
12470 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12472 (eval $ac_try) 2>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; } &&
12476 { ac_try
='test -s conftest.$ac_objext'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; }; then
12482 ac_cv_prog_cxx_g
=yes
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.
$ac_ext >&5
12487 ac_cv_prog_cxx_g
=no
12489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12491 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12492 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12493 if test "$ac_test_CXXFLAGS" = set; then
12494 CXXFLAGS
=$ac_save_CXXFLAGS
12495 elif test $ac_cv_prog_cxx_g = yes; then
12496 if test "$GXX" = yes; then
12502 if test "$GXX" = yes; then
12508 for ac_declaration
in \
12510 'extern "C" void std::exit (int) throw (); using std::exit;' \
12511 'extern "C" void std::exit (int); using std::exit;' \
12512 'extern "C" void exit (int) throw ();' \
12513 'extern "C" void exit (int);' \
12516 cat >conftest.
$ac_ext <<_ACEOF
12519 cat confdefs.h
>>conftest.
$ac_ext
12520 cat >>conftest.
$ac_ext <<_ACEOF
12521 /* end confdefs.h. */
12523 #include <stdlib.h>
12532 rm -f conftest.
$ac_objext
12533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12534 (eval $ac_compile) 2>conftest.er1
12536 grep -v '^ *+' conftest.er1
>conftest.err
12538 cat conftest.err
>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); } &&
12541 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; } &&
12547 { ac_try
='test -s conftest.$ac_objext'
12548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12549 (eval $ac_try) 2>&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); }; }; then
12555 echo "$as_me: failed program was:" >&5
12556 sed 's/^/| /' conftest.
$ac_ext >&5
12560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12561 cat >conftest.
$ac_ext <<_ACEOF
12564 cat confdefs.h
>>conftest.
$ac_ext
12565 cat >>conftest.
$ac_ext <<_ACEOF
12566 /* end confdefs.h. */
12576 rm -f conftest.
$ac_objext
12577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12578 (eval $ac_compile) 2>conftest.er1
12580 grep -v '^ *+' conftest.er1
>conftest.err
12582 cat conftest.err
>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } &&
12585 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
12591 { ac_try
='test -s conftest.$ac_objext'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; }; then
12599 echo "$as_me: failed program was:" >&5
12600 sed 's/^/| /' conftest.
$ac_ext >&5
12603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12606 if test -n "$ac_declaration"; then
12607 echo '#ifdef __cplusplus' >>confdefs.h
12608 echo $ac_declaration >>confdefs.h
12609 echo '#endif' >>confdefs.h
12613 ac_cpp
='$CXXCPP $CPPFLAGS'
12614 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12615 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12616 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12618 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12619 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12620 if test "${wx_cv_cxx_exto+set}" = set; then
12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12623 cat >conftest.
$ac_ext <<_ACEOF
12626 cat confdefs.h
>>conftest.
$ac_ext
12627 cat >>conftest.
$ac_ext <<_ACEOF
12628 /* end confdefs.h. */
12638 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12640 (eval $ac_compile) 2>&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); }; then
12644 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12646 conftest.
$ac_ext.o
)
12647 wx_cv_cxx_exto
="-ext o"
12654 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12655 See \`config.log' for more details." >&5
12656 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12657 See \`config.log' for more details." >&2;}
12658 { (exit 1); exit 1; }; }
12662 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12665 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12666 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12667 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12668 if test "cxx" = "c"; then
12669 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12671 if test "cxx" = "cxx"; then
12672 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12676 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12677 unset ac_cv_prog_cxx_g
12678 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12679 ac_save_CXXFLAGS
=$CXXFLAGS
12681 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12682 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12683 if test "${ac_cv_prog_cxx_g+set}" = set; then
12684 echo $ECHO_N "(cached) $ECHO_C" >&6
12686 cat >conftest.
$ac_ext <<_ACEOF
12689 cat confdefs.h
>>conftest.
$ac_ext
12690 cat >>conftest.
$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12701 rm -f conftest.
$ac_objext
12702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12703 (eval $ac_compile) 2>conftest.er1
12705 grep -v '^ *+' conftest.er1
>conftest.err
12707 cat conftest.err
>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } &&
12710 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712 (eval $ac_try) 2>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); }; } &&
12716 { ac_try
='test -s conftest.$ac_objext'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; }; then
12722 ac_cv_prog_cxx_g
=yes
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.
$ac_ext >&5
12727 ac_cv_prog_cxx_g
=no
12729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12731 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12732 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12733 if test "$ac_test_CXXFLAGS" = set; then
12734 CXXFLAGS
=$ac_save_CXXFLAGS
12735 elif test $ac_cv_prog_cxx_g = yes; then
12736 if test "$GXX" = yes; then
12742 if test "$GXX" = yes; then
12750 ac_cpp
='$CXXCPP $CPPFLAGS'
12751 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12752 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12753 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12755 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12756 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12757 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12760 cat >conftest.
$ac_ext <<_ACEOF
12763 cat confdefs.h
>>conftest.
$ac_ext
12764 cat >>conftest.
$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12778 rm -f conftest.
$ac_objext
12779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12780 (eval $ac_compile) 2>conftest.er1
12782 grep -v '^ *+' conftest.er1
>conftest.err
12784 cat conftest.err
>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); } &&
12787 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12789 (eval $ac_try) 2>&5
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); }; } &&
12793 { ac_try
='test -s conftest.$ac_objext'
12794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12795 (eval $ac_try) 2>&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); }; }; then
12799 bakefile_compiler_mwerks
=yes
12801 echo "$as_me: failed program was:" >&5
12802 sed 's/^/| /' conftest.
$ac_ext >&5
12804 bakefile_compiler_mwerks
=no
12806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12807 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12810 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12811 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12813 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12815 ac_cpp
='$CXXCPP $CPPFLAGS'
12816 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12817 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12818 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12822 ac_cpp
='$CXXCPP $CPPFLAGS'
12823 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12824 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12825 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12827 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12828 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12829 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12830 echo $ECHO_N "(cached) $ECHO_C" >&6
12832 cat >conftest.
$ac_ext <<_ACEOF
12835 cat confdefs.h
>>conftest.
$ac_ext
12836 cat >>conftest.
$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12850 rm -f conftest.
$ac_objext
12851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12852 (eval $ac_compile) 2>conftest.er1
12854 grep -v '^ *+' conftest.er1
>conftest.err
12856 cat conftest.err
>&5
12857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12858 (exit $ac_status); } &&
12859 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12861 (eval $ac_try) 2>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); }; } &&
12865 { ac_try
='test -s conftest.$ac_objext'
12866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12867 (eval $ac_try) 2>&5
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); }; }; then
12871 wx_compiler_xlc
=yes
12873 echo "$as_me: failed program was:" >&5
12874 sed 's/^/| /' conftest.
$ac_ext >&5
12878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12879 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12882 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12883 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12885 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12887 ac_cpp
='$CXXCPP $CPPFLAGS'
12888 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12889 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12890 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12896 ac_cpp
='$CPP $CPPFLAGS'
12897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12902 if test -n "$ac_tool_prefix"; then
12903 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12904 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12905 echo "$as_me:$LINENO: checking for $ac_word" >&5
12906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12907 if test "${ac_cv_prog_RANLIB+set}" = set; then
12908 echo $ECHO_N "(cached) $ECHO_C" >&6
12910 if test -n "$RANLIB"; then
12911 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12914 for as_dir
in $PATH
12917 test -z "$as_dir" && as_dir
=.
12918 for ac_exec_ext
in '' $ac_executable_extensions; do
12919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12920 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12929 RANLIB
=$ac_cv_prog_RANLIB
12930 if test -n "$RANLIB"; then
12931 echo "$as_me:$LINENO: result: $RANLIB" >&5
12932 echo "${ECHO_T}$RANLIB" >&6
12934 echo "$as_me:$LINENO: result: no" >&5
12935 echo "${ECHO_T}no" >&6
12939 if test -z "$ac_cv_prog_RANLIB"; then
12940 ac_ct_RANLIB
=$RANLIB
12941 # Extract the first word of "ranlib", so it can be a program name with args.
12942 set dummy ranlib
; ac_word
=$2
12943 echo "$as_me:$LINENO: checking for $ac_word" >&5
12944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12945 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 if test -n "$ac_ct_RANLIB"; then
12949 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12952 for as_dir
in $PATH
12955 test -z "$as_dir" && as_dir
=.
12956 for ac_exec_ext
in '' $ac_executable_extensions; do
12957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12958 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12965 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12968 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12969 if test -n "$ac_ct_RANLIB"; then
12970 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12971 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12973 echo "$as_me:$LINENO: result: no" >&5
12974 echo "${ECHO_T}no" >&6
12977 RANLIB
=$ac_ct_RANLIB
12979 RANLIB
="$ac_cv_prog_RANLIB"
12983 # Extract the first word of "ar", so it can be a program name with args.
12984 set dummy
ar; ac_word
=$2
12985 echo "$as_me:$LINENO: checking for $ac_word" >&5
12986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12987 if test "${ac_cv_prog_AR+set}" = set; then
12988 echo $ECHO_N "(cached) $ECHO_C" >&6
12990 if test -n "$AR"; then
12991 ac_cv_prog_AR
="$AR" # Let the user override the test.
12993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12994 for as_dir
in $PATH
12997 test -z "$as_dir" && as_dir
=.
12998 for ac_exec_ext
in '' $ac_executable_extensions; do
12999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13010 if test -n "$AR"; then
13011 echo "$as_me:$LINENO: result: $AR" >&5
13012 echo "${ECHO_T}$AR" >&6
13014 echo "$as_me:$LINENO: result: no" >&5
13015 echo "${ECHO_T}no" >&6
13018 if test "x$AR" = "x" ; then
13019 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13020 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13021 { (exit 1); exit 1; }; }
13024 # Find a good install program. We prefer a C program (faster),
13025 # so one script is as good as another. But avoid the broken or
13026 # incompatible versions:
13027 # SysV /etc/install, /usr/sbin/install
13028 # SunOS /usr/etc/install
13029 # IRIX /sbin/install
13031 # AmigaOS /C/install, which installs bootblocks on floppy discs
13032 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13033 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13034 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13035 # OS/2's system install, which has a completely different semantic
13036 # ./install, which can be erroneously created by make from ./install.sh.
13037 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13038 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13039 if test -z "$INSTALL"; then
13040 if test "${ac_cv_path_install+set}" = set; then
13041 echo $ECHO_N "(cached) $ECHO_C" >&6
13043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13044 for as_dir
in $PATH
13047 test -z "$as_dir" && as_dir
=.
13048 # Account for people who put trailing slashes in PATH elements.
13050 .
/ | .
// | /cC
/* | \
13051 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13052 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13055 # OSF1 and SCO ODT 3.0 have their own names for install.
13056 # Don't use installbsd from OSF since it installs stuff as root
13058 for ac_prog
in ginstall scoinst
install; do
13059 for ac_exec_ext
in '' $ac_executable_extensions; do
13060 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13061 if test $ac_prog = install &&
13062 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13063 # AIX install. It has an incompatible calling convention.
13065 elif test $ac_prog = install &&
13066 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13067 # program-specific install script used by HP pwplus--don't use.
13070 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13082 if test "${ac_cv_path_install+set}" = set; then
13083 INSTALL
=$ac_cv_path_install
13085 # As a last resort, use the slow shell script. We don't cache a
13086 # path for INSTALL within a source directory, because that will
13087 # break other packages using the cache if that directory is
13088 # removed, or if the path is relative.
13089 INSTALL
=$ac_install_sh
13092 echo "$as_me:$LINENO: result: $INSTALL" >&5
13093 echo "${ECHO_T}$INSTALL" >&6
13095 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13096 # It thinks the first close brace ends the variable substitution.
13097 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13099 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13101 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13107 ?
:* ) # Drive letter, considered as absolute.
13110 INSTALL
=`pwd`/${INSTALL} ;;
13116 powerpc
-*-darwin* )
13117 INSTALL_PROGRAM
="cp -fp"
13118 INSTALL_DATA
="cp -fp"
13124 # Extract the first word of "strip", so it can be a program name with args.
13125 set dummy strip
; ac_word
=$2
13126 echo "$as_me:$LINENO: checking for $ac_word" >&5
13127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13128 if test "${ac_cv_prog_STRIP+set}" = set; then
13129 echo $ECHO_N "(cached) $ECHO_C" >&6
13131 if test -n "$STRIP"; then
13132 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13135 for as_dir
in $PATH
13138 test -z "$as_dir" && as_dir
=.
13139 for ac_exec_ext
in '' $ac_executable_extensions; do
13140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13141 ac_cv_prog_STRIP
="strip"
13142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13148 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13151 STRIP
=$ac_cv_prog_STRIP
13152 if test -n "$STRIP"; then
13153 echo "$as_me:$LINENO: result: $STRIP" >&5
13154 echo "${ECHO_T}$STRIP" >&6
13156 echo "$as_me:$LINENO: result: no" >&5
13157 echo "${ECHO_T}no" >&6
13161 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13162 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13163 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13167 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13168 egrep -s GNU
> /dev
/null
); then
13169 wx_cv_prog_makeisgnu
="yes"
13171 wx_cv_prog_makeisgnu
="no"
13175 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13176 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13178 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13186 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13187 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13188 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13189 if test "${wx_cv_prog_makevpath+set}" = set; then
13190 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 cat - << EOF > confMake
13199 if test ! -d sub
; then
13202 echo dummy
> sub
/file
13203 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13205 rm -f sub
/file check final_file confMake
13207 if test "$RESULT" = 0; then
13208 wx_cv_prog_makevpath
="yes"
13210 wx_cv_prog_makevpath
="no"
13214 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13215 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13217 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13218 { { echo "$as_me:$LINENO: error:
13219 You need a make-utility that is able to use the variable
13221 If your version of make does not support VPATH correctly,
13222 please install GNU-make (possibly as gmake), and start
13223 configure with the following command:
13224 export MAKE=gmake; ./configure for sh-type shells
13225 setenv MAKE gmake; ./configure for csh-type shells
13226 Also please do remember to use gmake in this case every time
13227 you are trying to compile.
13229 echo "$as_me: error:
13230 You need a make-utility that is able to use the variable
13232 If your version of make does not support VPATH correctly,
13233 please install GNU-make (possibly as gmake), and start
13234 configure with the following command:
13235 export MAKE=gmake; ./configure for sh-type shells
13236 setenv MAKE gmake; ./configure for csh-type shells
13237 Also please do remember to use gmake in this case every time
13238 you are trying to compile.
13240 { (exit 1); exit 1; }; }
13242 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13243 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13245 if test "$LN_S" = "ln -s"; then
13246 echo "$as_me:$LINENO: result: yes" >&5
13247 echo "${ECHO_T}yes" >&6
13249 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13250 echo "${ECHO_T}no, using $LN_S" >&6
13255 if test "x$XLCXX" = "xyes"; then
13256 CXXFLAGS
="$CXXFLAGS -qunique"
13261 powerpc
-*-darwin* )
13262 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13263 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13264 cat >conftest.
$ac_ext <<_ACEOF
13267 cat confdefs.h
>>conftest.
$ac_ext
13268 cat >>conftest.
$ac_ext <<_ACEOF
13269 /* end confdefs.h. */
13274 #ifndef __POWERPC__
13275 choke me for lack of PowerPC
13282 rm -f conftest.
$ac_objext
13283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13284 (eval $ac_compile) 2>conftest.er1
13286 grep -v '^ *+' conftest.er1
>conftest.err
13288 cat conftest.err
>&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); } &&
13291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13293 (eval $ac_try) 2>&5
13295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13296 (exit $ac_status); }; } &&
13297 { ac_try
='test -s conftest.$ac_objext'
13298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13299 (eval $ac_try) 2>&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); }; }; then
13303 echo "$as_me:$LINENO: result: yes" >&5
13304 echo "${ECHO_T}yes" >&6
13306 echo "$as_me: failed program was:" >&5
13307 sed 's/^/| /' conftest.
$ac_ext >&5
13309 echo "$as_me:$LINENO: result: no" >&5
13310 echo "${ECHO_T}no" >&6
13311 cat >>confdefs.h
<<\_ACEOF
13312 #define __POWERPC__ 1
13317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13318 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13319 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13320 cat >conftest.
$ac_ext <<_ACEOF
13323 cat confdefs.h
>>conftest.
$ac_ext
13324 cat >>conftest.
$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13326 #include <CoreFoundation/CFBase.h>
13336 rm -f conftest.
$ac_objext
13337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13338 (eval $ac_compile) 2>conftest.er1
13340 grep -v '^ *+' conftest.er1
>conftest.err
13342 cat conftest.err
>&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); } &&
13345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; } &&
13351 { ac_try
='test -s conftest.$ac_objext'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; }; then
13357 echo "$as_me:$LINENO: result: yes" >&5
13358 echo "${ECHO_T}yes" >&6
13360 echo "$as_me: failed program was:" >&5
13361 sed 's/^/| /' conftest.
$ac_ext >&5
13363 echo "$as_me:$LINENO: result: no" >&5
13364 echo "${ECHO_T}no" >&6
13365 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13366 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13367 cat >conftest.
$ac_ext <<_ACEOF
13370 cat confdefs.h
>>conftest.
$ac_ext
13371 cat >>conftest.
$ac_ext <<_ACEOF
13372 /* end confdefs.h. */
13373 #define __CF_USE_FRAMEWORK_INCLUDES__
13374 #include <CoreFoundation/CFBase.h>
13384 rm -f conftest.
$ac_objext
13385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13386 (eval $ac_compile) 2>conftest.er1
13388 grep -v '^ *+' conftest.er1
>conftest.err
13390 cat conftest.err
>&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } &&
13393 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; } &&
13399 { ac_try
='test -s conftest.$ac_objext'
13400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 (eval $ac_try) 2>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; }; then
13405 echo "$as_me:$LINENO: result: yes" >&5
13406 echo "${ECHO_T}yes" >&6
13407 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.
$ac_ext >&5
13412 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13413 See \`config.log' for more details." >&5
13414 echo "$as_me: error: no. CoreFoundation not available.
13415 See \`config.log' for more details." >&2;}
13416 { (exit 1); exit 1; }; }
13419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13428 *-pc-os2_emx | *-pc-os2-emx )
13429 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13430 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13431 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13432 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13433 echo $ECHO_N "(cached) $ECHO_C" >&6
13435 ac_check_lib_save_LIBS
=$LIBS
13436 LIBS
="-lcExt $LIBS"
13437 cat >conftest.
$ac_ext <<_ACEOF
13440 cat confdefs.h
>>conftest.
$ac_ext
13441 cat >>conftest.
$ac_ext <<_ACEOF
13442 /* end confdefs.h. */
13444 /* Override any gcc2 internal prototype to avoid an error. */
13448 /* We use char because int might match the return type of a gcc2
13449 builtin and then its argument prototype would still apply. */
13459 rm -f conftest.
$ac_objext conftest
$ac_exeext
13460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13461 (eval $ac_link) 2>conftest.er1
13463 grep -v '^ *+' conftest.er1
>conftest.err
13465 cat conftest.err
>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; } &&
13474 { ac_try
='test -s conftest$ac_exeext'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; }; then
13480 ac_cv_lib_cExt_drand48
=yes
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.
$ac_ext >&5
13485 ac_cv_lib_cExt_drand48
=no
13487 rm -f conftest.err conftest.
$ac_objext \
13488 conftest
$ac_exeext conftest.
$ac_ext
13489 LIBS
=$ac_check_lib_save_LIBS
13491 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13492 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13493 if test $ac_cv_lib_cExt_drand48 = yes; then
13494 LIBS
="$LIBS -lcExt"
13498 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13500 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13501 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13502 if test "${wx_cv_gccversion+set}" = set; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13506 if test "$cross_compiling" = yes; then
13507 wx_cv_gccversion
="EMX2"
13510 cat >conftest.
$ac_ext <<_ACEOF
13513 cat confdefs.h
>>conftest.
$ac_ext
13514 cat >>conftest.
$ac_ext <<_ACEOF
13515 /* end confdefs.h. */
13521 FILE *f=fopen("conftestval", "w");
13526 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13528 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13538 rm -f conftest
$ac_exeext
13539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13540 (eval $ac_link) 2>&5
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; }; then
13549 wx_cv_gccversion
=`cat conftestval`
13551 echo "$as_me: program exited with status $ac_status" >&5
13552 echo "$as_me: failed program was:" >&5
13553 sed 's/^/| /' conftest.
$ac_ext >&5
13555 ( exit $ac_status )
13556 wx_cv_gccversion
="EMX2"
13558 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13562 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13563 echo "${ECHO_T}$wx_cv_gccversion" >&6
13564 if test "$wx_cv_gccversion" = "EMX2"; then
13565 LIBS
="$LIBS -lstdcpp"
13566 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13568 if test "$wx_cv_gccversion" = "EMX3"; then
13569 LIBS
="$LIBS -lstdcxx"
13570 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13572 LIBS
="$LIBS -lstdc++"
13575 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13576 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13577 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13587 ac_cpp
='$CXXCPP $CPPFLAGS'
13588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13593 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13594 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13595 if test "${ac_cv_string_strcasecmp+set}" = set; then
13596 echo $ECHO_N "(cached) $ECHO_C" >&6
13599 cat >conftest.
$ac_ext <<_ACEOF
13602 cat confdefs.h
>>conftest.
$ac_ext
13603 cat >>conftest.
$ac_ext <<_ACEOF
13604 /* end confdefs.h. */
13606 #include <string.h>
13612 strcasecmp("foo", "bar");
13618 rm -f conftest.
$ac_objext conftest
$ac_exeext
13619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13620 (eval $ac_link) 2>conftest.er1
13622 grep -v '^ *+' conftest.er1
>conftest.err
13624 cat conftest.err
>&5
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); } &&
13627 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13629 (eval $ac_try) 2>&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); }; } &&
13633 { ac_try
='test -s conftest$ac_exeext'
13634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13635 (eval $ac_try) 2>&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); }; }; then
13639 ac_cv_string_strcasecmp
=yes
13641 echo "$as_me: failed program was:" >&5
13642 sed 's/^/| /' conftest.
$ac_ext >&5
13644 ac_cv_string_strcasecmp
=no
13647 rm -f conftest.err conftest.
$ac_objext \
13648 conftest
$ac_exeext conftest.
$ac_ext
13651 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13652 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13654 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13655 cat >>confdefs.h
<<\_ACEOF
13656 #define HAVE_STRCASECMP_IN_STRING_H 1
13660 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13661 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13662 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13663 echo $ECHO_N "(cached) $ECHO_C" >&6
13666 cat >conftest.
$ac_ext <<_ACEOF
13669 cat confdefs.h
>>conftest.
$ac_ext
13670 cat >>conftest.
$ac_ext <<_ACEOF
13671 /* end confdefs.h. */
13673 #include <strings.h>
13679 strcasecmp("foo", "bar");
13685 rm -f conftest.
$ac_objext conftest
$ac_exeext
13686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13687 (eval $ac_link) 2>conftest.er1
13689 grep -v '^ *+' conftest.er1
>conftest.err
13691 cat conftest.err
>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } &&
13694 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13696 (eval $ac_try) 2>&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }; } &&
13700 { ac_try
='test -s conftest$ac_exeext'
13701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13702 (eval $ac_try) 2>&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); }; }; then
13706 ac_cv_strings_strcasecmp
=yes
13708 echo "$as_me: failed program was:" >&5
13709 sed 's/^/| /' conftest.
$ac_ext >&5
13711 ac_cv_strings_strcasecmp
=no
13714 rm -f conftest.err conftest.
$ac_objext \
13715 conftest
$ac_exeext conftest.
$ac_ext
13718 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13719 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13721 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13722 cat >>confdefs.h
<<\_ACEOF
13723 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13727 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13728 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13729 { (exit 1); exit 1; }; }
13734 ac_cpp
='$CPP $CPPFLAGS'
13735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13743 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13744 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13745 if test "${ac_cv_header_stdc+set}" = set; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13748 cat >conftest.
$ac_ext <<_ACEOF
13751 cat confdefs.h
>>conftest.
$ac_ext
13752 cat >>conftest.
$ac_ext <<_ACEOF
13753 /* end confdefs.h. */
13754 #include <stdlib.h>
13755 #include <stdarg.h>
13756 #include <string.h>
13767 rm -f conftest.
$ac_objext
13768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13769 (eval $ac_compile) 2>conftest.er1
13771 grep -v '^ *+' conftest.er1
>conftest.err
13773 cat conftest.err
>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); } &&
13776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; } &&
13782 { ac_try
='test -s conftest.$ac_objext'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_cv_header_stdc
=yes
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.
$ac_ext >&5
13793 ac_cv_header_stdc
=no
13795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13797 if test $ac_cv_header_stdc = yes; then
13798 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13799 cat >conftest.
$ac_ext <<_ACEOF
13802 cat confdefs.h
>>conftest.
$ac_ext
13803 cat >>conftest.
$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13805 #include <string.h>
13808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13809 $EGREP "memchr" >/dev
/null
2>&1; then
13812 ac_cv_header_stdc
=no
13818 if test $ac_cv_header_stdc = yes; then
13819 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13820 cat >conftest.
$ac_ext <<_ACEOF
13823 cat confdefs.h
>>conftest.
$ac_ext
13824 cat >>conftest.
$ac_ext <<_ACEOF
13825 /* end confdefs.h. */
13826 #include <stdlib.h>
13829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13830 $EGREP "free" >/dev
/null
2>&1; then
13833 ac_cv_header_stdc
=no
13839 if test $ac_cv_header_stdc = yes; then
13840 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13841 if test "$cross_compiling" = yes; then
13844 cat >conftest.
$ac_ext <<_ACEOF
13847 cat confdefs.h
>>conftest.
$ac_ext
13848 cat >>conftest.
$ac_ext <<_ACEOF
13849 /* end confdefs.h. */
13851 #if ((' ' & 0x0FF) == 0x020)
13852 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13853 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13855 # define ISLOWER(c) \
13856 (('a' <= (c) && (c) <= 'i') \
13857 || ('j' <= (c) && (c) <= 'r') \
13858 || ('s' <= (c) && (c) <= 'z'))
13859 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13862 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13867 for (i = 0; i < 256; i++)
13868 if (XOR (islower (i), ISLOWER (i))
13869 || toupper (i) != TOUPPER (i))
13874 rm -f conftest
$ac_exeext
13875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13876 (eval $ac_link) 2>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13881 (eval $ac_try) 2>&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); }; }; then
13887 echo "$as_me: program exited with status $ac_status" >&5
13888 echo "$as_me: failed program was:" >&5
13889 sed 's/^/| /' conftest.
$ac_ext >&5
13891 ( exit $ac_status )
13892 ac_cv_header_stdc
=no
13894 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13898 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13899 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13900 if test $ac_cv_header_stdc = yes; then
13902 cat >>confdefs.h
<<\_ACEOF
13903 #define STDC_HEADERS 1
13908 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13918 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13919 inttypes.h stdint.h unistd.h
13921 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13922 echo "$as_me:$LINENO: checking for $ac_header" >&5
13923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13925 echo $ECHO_N "(cached) $ECHO_C" >&6
13927 cat >conftest.
$ac_ext <<_ACEOF
13930 cat confdefs.h
>>conftest.
$ac_ext
13931 cat >>conftest.
$ac_ext <<_ACEOF
13932 /* end confdefs.h. */
13933 $ac_includes_default
13935 #include <$ac_header>
13937 rm -f conftest.
$ac_objext
13938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13939 (eval $ac_compile) 2>conftest.er1
13941 grep -v '^ *+' conftest.er1
>conftest.err
13943 cat conftest.err
>&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); } &&
13946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; } &&
13952 { ac_try
='test -s conftest.$ac_objext'
13953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13954 (eval $ac_try) 2>&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); }; }; then
13958 eval "$as_ac_Header=yes"
13960 echo "$as_me: failed program was:" >&5
13961 sed 's/^/| /' conftest.
$ac_ext >&5
13963 eval "$as_ac_Header=no"
13965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13970 cat >>confdefs.h
<<_ACEOF
13971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13980 for ac_header
in stdlib.h
13982 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13984 echo "$as_me:$LINENO: checking for $ac_header" >&5
13985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13992 # Is the header compilable?
13993 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13995 cat >conftest.
$ac_ext <<_ACEOF
13998 cat confdefs.h
>>conftest.
$ac_ext
13999 cat >>conftest.
$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14001 $ac_includes_default
14002 #include <$ac_header>
14004 rm -f conftest.
$ac_objext
14005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14006 (eval $ac_compile) 2>conftest.er1
14008 grep -v '^ *+' conftest.er1
>conftest.err
14010 cat conftest.err
>&5
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); } &&
14013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015 (eval $ac_try) 2>&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }; } &&
14019 { ac_try
='test -s conftest.$ac_objext'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; }; then
14025 ac_header_compiler
=yes
14027 echo "$as_me: failed program was:" >&5
14028 sed 's/^/| /' conftest.
$ac_ext >&5
14030 ac_header_compiler
=no
14032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14034 echo "${ECHO_T}$ac_header_compiler" >&6
14036 # Is the header present?
14037 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14038 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14039 cat >conftest.
$ac_ext <<_ACEOF
14042 cat confdefs.h
>>conftest.
$ac_ext
14043 cat >>conftest.
$ac_ext <<_ACEOF
14044 /* end confdefs.h. */
14045 #include <$ac_header>
14047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14048 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14050 grep -v '^ *+' conftest.er1
>conftest.err
14052 cat conftest.err
>&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); } >/dev
/null
; then
14055 if test -s conftest.err
; then
14056 ac_cpp_err
=$ac_c_preproc_warn_flag
14057 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14064 if test -z "$ac_cpp_err"; then
14065 ac_header_preproc
=yes
14067 echo "$as_me: failed program was:" >&5
14068 sed 's/^/| /' conftest.
$ac_ext >&5
14070 ac_header_preproc
=no
14072 rm -f conftest.err conftest.
$ac_ext
14073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14074 echo "${ECHO_T}$ac_header_preproc" >&6
14076 # So? What about this header?
14077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14079 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14080 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14082 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14083 ac_header_preproc
=yes
14086 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14087 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14088 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14089 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14090 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14091 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14092 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14093 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14096 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14097 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14100 ## ----------------------------------------- ##
14101 ## Report this to wx-dev@lists.wxwidgets.org ##
14102 ## ----------------------------------------- ##
14105 sed "s/^/$as_me: WARNING: /" >&2
14108 echo "$as_me:$LINENO: checking for $ac_header" >&5
14109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14111 echo $ECHO_N "(cached) $ECHO_C" >&6
14113 eval "$as_ac_Header=\$ac_header_preproc"
14115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14120 cat >>confdefs.h
<<_ACEOF
14121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14129 for ac_header
in malloc.h
14131 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14133 echo "$as_me:$LINENO: checking for $ac_header" >&5
14134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14136 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14141 # Is the header compilable?
14142 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14143 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14144 cat >conftest.
$ac_ext <<_ACEOF
14147 cat confdefs.h
>>conftest.
$ac_ext
14148 cat >>conftest.
$ac_ext <<_ACEOF
14149 /* end confdefs.h. */
14150 $ac_includes_default
14151 #include <$ac_header>
14153 rm -f conftest.
$ac_objext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14155 (eval $ac_compile) 2>conftest.er1
14157 grep -v '^ *+' conftest.er1
>conftest.err
14159 cat conftest.err
>&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14164 (eval $ac_try) 2>&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); }; } &&
14168 { ac_try
='test -s conftest.$ac_objext'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; }; then
14174 ac_header_compiler
=yes
14176 echo "$as_me: failed program was:" >&5
14177 sed 's/^/| /' conftest.
$ac_ext >&5
14179 ac_header_compiler
=no
14181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14183 echo "${ECHO_T}$ac_header_compiler" >&6
14185 # Is the header present?
14186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14188 cat >conftest.
$ac_ext <<_ACEOF
14191 cat confdefs.h
>>conftest.
$ac_ext
14192 cat >>conftest.
$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194 #include <$ac_header>
14196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14197 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14199 grep -v '^ *+' conftest.er1
>conftest.err
14201 cat conftest.err
>&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); } >/dev
/null
; then
14204 if test -s conftest.err
; then
14205 ac_cpp_err
=$ac_c_preproc_warn_flag
14206 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14213 if test -z "$ac_cpp_err"; then
14214 ac_header_preproc
=yes
14216 echo "$as_me: failed program was:" >&5
14217 sed 's/^/| /' conftest.
$ac_ext >&5
14219 ac_header_preproc
=no
14221 rm -f conftest.err conftest.
$ac_ext
14222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14223 echo "${ECHO_T}$ac_header_preproc" >&6
14225 # So? What about this header?
14226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14232 ac_header_preproc
=yes
14235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14249 ## ----------------------------------------- ##
14250 ## Report this to wx-dev@lists.wxwidgets.org ##
14251 ## ----------------------------------------- ##
14254 sed "s/^/$as_me: WARNING: /" >&2
14257 echo "$as_me:$LINENO: checking for $ac_header" >&5
14258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14260 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 eval "$as_ac_Header=\$ac_header_preproc"
14264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14269 cat >>confdefs.h
<<_ACEOF
14270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14278 for ac_header
in unistd.h
14280 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14282 echo "$as_me:$LINENO: checking for $ac_header" >&5
14283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14285 echo $ECHO_N "(cached) $ECHO_C" >&6
14287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14290 # Is the header compilable?
14291 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14292 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14293 cat >conftest.
$ac_ext <<_ACEOF
14296 cat confdefs.h
>>conftest.
$ac_ext
14297 cat >>conftest.
$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14299 $ac_includes_default
14300 #include <$ac_header>
14302 rm -f conftest.
$ac_objext
14303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14304 (eval $ac_compile) 2>conftest.er1
14306 grep -v '^ *+' conftest.er1
>conftest.err
14308 cat conftest.err
>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } &&
14311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; } &&
14317 { ac_try
='test -s conftest.$ac_objext'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; }; then
14323 ac_header_compiler
=yes
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.
$ac_ext >&5
14328 ac_header_compiler
=no
14330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14332 echo "${ECHO_T}$ac_header_compiler" >&6
14334 # Is the header present?
14335 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14336 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14337 cat >conftest.
$ac_ext <<_ACEOF
14340 cat confdefs.h
>>conftest.
$ac_ext
14341 cat >>conftest.
$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14343 #include <$ac_header>
14345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14348 grep -v '^ *+' conftest.er1
>conftest.err
14350 cat conftest.err
>&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); } >/dev
/null
; then
14353 if test -s conftest.err
; then
14354 ac_cpp_err
=$ac_c_preproc_warn_flag
14355 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14362 if test -z "$ac_cpp_err"; then
14363 ac_header_preproc
=yes
14365 echo "$as_me: failed program was:" >&5
14366 sed 's/^/| /' conftest.
$ac_ext >&5
14368 ac_header_preproc
=no
14370 rm -f conftest.err conftest.
$ac_ext
14371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14372 echo "${ECHO_T}$ac_header_preproc" >&6
14374 # So? What about this header?
14375 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14377 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14378 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14380 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14381 ac_header_preproc
=yes
14384 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14385 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14386 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14387 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14388 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14389 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14390 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14391 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14395 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14398 ## ----------------------------------------- ##
14399 ## Report this to wx-dev@lists.wxwidgets.org ##
14400 ## ----------------------------------------- ##
14403 sed "s/^/$as_me: WARNING: /" >&2
14406 echo "$as_me:$LINENO: checking for $ac_header" >&5
14407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14409 echo $ECHO_N "(cached) $ECHO_C" >&6
14411 eval "$as_ac_Header=\$ac_header_preproc"
14413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14418 cat >>confdefs.h
<<_ACEOF
14419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14427 for ac_header
in wchar.h
14429 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14431 echo "$as_me:$LINENO: checking for $ac_header" >&5
14432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14434 echo $ECHO_N "(cached) $ECHO_C" >&6
14436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14439 # Is the header compilable?
14440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14442 cat >conftest.
$ac_ext <<_ACEOF
14445 cat confdefs.h
>>conftest.
$ac_ext
14446 cat >>conftest.
$ac_ext <<_ACEOF
14447 /* end confdefs.h. */
14448 $ac_includes_default
14449 #include <$ac_header>
14451 rm -f conftest.
$ac_objext
14452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14453 (eval $ac_compile) 2>conftest.er1
14455 grep -v '^ *+' conftest.er1
>conftest.err
14457 cat conftest.err
>&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } &&
14460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462 (eval $ac_try) 2>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; } &&
14466 { ac_try
='test -s conftest.$ac_objext'
14467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14468 (eval $ac_try) 2>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; }; then
14472 ac_header_compiler
=yes
14474 echo "$as_me: failed program was:" >&5
14475 sed 's/^/| /' conftest.
$ac_ext >&5
14477 ac_header_compiler
=no
14479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14481 echo "${ECHO_T}$ac_header_compiler" >&6
14483 # Is the header present?
14484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14486 cat >conftest.
$ac_ext <<_ACEOF
14489 cat confdefs.h
>>conftest.
$ac_ext
14490 cat >>conftest.
$ac_ext <<_ACEOF
14491 /* end confdefs.h. */
14492 #include <$ac_header>
14494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14495 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14497 grep -v '^ *+' conftest.er1
>conftest.err
14499 cat conftest.err
>&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } >/dev
/null
; then
14502 if test -s conftest.err
; then
14503 ac_cpp_err
=$ac_c_preproc_warn_flag
14504 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14511 if test -z "$ac_cpp_err"; then
14512 ac_header_preproc
=yes
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.
$ac_ext >&5
14517 ac_header_preproc
=no
14519 rm -f conftest.err conftest.
$ac_ext
14520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14521 echo "${ECHO_T}$ac_header_preproc" >&6
14523 # So? What about this header?
14524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14530 ac_header_preproc
=yes
14533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14547 ## ----------------------------------------- ##
14548 ## Report this to wx-dev@lists.wxwidgets.org ##
14549 ## ----------------------------------------- ##
14552 sed "s/^/$as_me: WARNING: /" >&2
14555 echo "$as_me:$LINENO: checking for $ac_header" >&5
14556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14558 echo $ECHO_N "(cached) $ECHO_C" >&6
14560 eval "$as_ac_Header=\$ac_header_preproc"
14562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14567 cat >>confdefs.h
<<_ACEOF
14568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14576 if test "$ac_cv_header_wchar_h" != "yes"; then
14578 for ac_header
in wcstr.h
14580 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14582 echo "$as_me:$LINENO: checking for $ac_header" >&5
14583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14585 echo $ECHO_N "(cached) $ECHO_C" >&6
14587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14590 # Is the header compilable?
14591 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14593 cat >conftest.
$ac_ext <<_ACEOF
14596 cat confdefs.h
>>conftest.
$ac_ext
14597 cat >>conftest.
$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14599 $ac_includes_default
14600 #include <$ac_header>
14602 rm -f conftest.
$ac_objext
14603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14604 (eval $ac_compile) 2>conftest.er1
14606 grep -v '^ *+' conftest.er1
>conftest.err
14608 cat conftest.err
>&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); } &&
14611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14613 (eval $ac_try) 2>&5
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); }; } &&
14617 { ac_try
='test -s conftest.$ac_objext'
14618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619 (eval $ac_try) 2>&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); }; }; then
14623 ac_header_compiler
=yes
14625 echo "$as_me: failed program was:" >&5
14626 sed 's/^/| /' conftest.
$ac_ext >&5
14628 ac_header_compiler
=no
14630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14631 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14632 echo "${ECHO_T}$ac_header_compiler" >&6
14634 # Is the header present?
14635 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14636 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14637 cat >conftest.
$ac_ext <<_ACEOF
14640 cat confdefs.h
>>conftest.
$ac_ext
14641 cat >>conftest.
$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14643 #include <$ac_header>
14645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14646 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14648 grep -v '^ *+' conftest.er1
>conftest.err
14650 cat conftest.err
>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } >/dev
/null
; then
14653 if test -s conftest.err
; then
14654 ac_cpp_err
=$ac_c_preproc_warn_flag
14655 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14662 if test -z "$ac_cpp_err"; then
14663 ac_header_preproc
=yes
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.
$ac_ext >&5
14668 ac_header_preproc
=no
14670 rm -f conftest.err conftest.
$ac_ext
14671 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14672 echo "${ECHO_T}$ac_header_preproc" >&6
14674 # So? What about this header?
14675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14677 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14678 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14680 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14681 ac_header_preproc
=yes
14684 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14685 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14686 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14687 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14688 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14689 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14690 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14691 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14694 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14695 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14698 ## ----------------------------------------- ##
14699 ## Report this to wx-dev@lists.wxwidgets.org ##
14700 ## ----------------------------------------- ##
14703 sed "s/^/$as_me: WARNING: /" >&2
14706 echo "$as_me:$LINENO: checking for $ac_header" >&5
14707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14709 echo $ECHO_N "(cached) $ECHO_C" >&6
14711 eval "$as_ac_Header=\$ac_header_preproc"
14713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14718 cat >>confdefs.h
<<_ACEOF
14719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14729 for ac_header
in fnmatch.h
14731 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14733 echo "$as_me:$LINENO: checking for $ac_header" >&5
14734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14736 echo $ECHO_N "(cached) $ECHO_C" >&6
14738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14741 # Is the header compilable?
14742 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14743 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14744 cat >conftest.
$ac_ext <<_ACEOF
14747 cat confdefs.h
>>conftest.
$ac_ext
14748 cat >>conftest.
$ac_ext <<_ACEOF
14749 /* end confdefs.h. */
14750 $ac_includes_default
14751 #include <$ac_header>
14753 rm -f conftest.
$ac_objext
14754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14755 (eval $ac_compile) 2>conftest.er1
14757 grep -v '^ *+' conftest.er1
>conftest.err
14759 cat conftest.err
>&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); } &&
14762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14764 (eval $ac_try) 2>&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; } &&
14768 { ac_try
='test -s conftest.$ac_objext'
14769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14770 (eval $ac_try) 2>&5
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); }; }; then
14774 ac_header_compiler
=yes
14776 echo "$as_me: failed program was:" >&5
14777 sed 's/^/| /' conftest.
$ac_ext >&5
14779 ac_header_compiler
=no
14781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14783 echo "${ECHO_T}$ac_header_compiler" >&6
14785 # Is the header present?
14786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14788 cat >conftest.
$ac_ext <<_ACEOF
14791 cat confdefs.h
>>conftest.
$ac_ext
14792 cat >>conftest.
$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794 #include <$ac_header>
14796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14797 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14799 grep -v '^ *+' conftest.er1
>conftest.err
14801 cat conftest.err
>&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); } >/dev
/null
; then
14804 if test -s conftest.err
; then
14805 ac_cpp_err
=$ac_c_preproc_warn_flag
14806 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14813 if test -z "$ac_cpp_err"; then
14814 ac_header_preproc
=yes
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.
$ac_ext >&5
14819 ac_header_preproc
=no
14821 rm -f conftest.err conftest.
$ac_ext
14822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14823 echo "${ECHO_T}$ac_header_preproc" >&6
14825 # So? What about this header?
14826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14828 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14832 ac_header_preproc
=yes
14835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14839 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14841 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14842 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14845 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14849 ## ----------------------------------------- ##
14850 ## Report this to wx-dev@lists.wxwidgets.org ##
14851 ## ----------------------------------------- ##
14854 sed "s/^/$as_me: WARNING: /" >&2
14857 echo "$as_me:$LINENO: checking for $ac_header" >&5
14858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14862 eval "$as_ac_Header=\$ac_header_preproc"
14864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14869 cat >>confdefs.h
<<_ACEOF
14870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14878 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14880 for ac_func
in fnmatch
14882 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14883 echo "$as_me:$LINENO: checking for $ac_func" >&5
14884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14885 if eval "test \"\${$as_ac_var+set}\" = set"; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14888 cat >conftest.
$ac_ext <<_ACEOF
14891 cat confdefs.h
>>conftest.
$ac_ext
14892 cat >>conftest.
$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14896 #define $ac_func innocuous_$ac_func
14898 /* System header to define __stub macros and hopefully few prototypes,
14899 which can conflict with char $ac_func (); below.
14900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14901 <limits.h> exists even on freestanding compilers. */
14904 # include <limits.h>
14906 # include <assert.h>
14911 /* Override any gcc2 internal prototype to avoid an error. */
14916 /* We use char because int might match the return type of a gcc2
14917 builtin and then its argument prototype would still apply. */
14919 /* The GNU C library defines this for functions which it implements
14920 to always fail with ENOSYS. Some functions are actually named
14921 something starting with __ and the normal name is an alias. */
14922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14925 char (*f) () = $ac_func;
14934 return f != $ac_func;
14939 rm -f conftest.
$ac_objext conftest
$ac_exeext
14940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14941 (eval $ac_link) 2>conftest.er1
14943 grep -v '^ *+' conftest.er1
>conftest.err
14945 cat conftest.err
>&5
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); } &&
14948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950 (eval $ac_try) 2>&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); }; } &&
14954 { ac_try
='test -s conftest$ac_exeext'
14955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956 (eval $ac_try) 2>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; }; then
14960 eval "$as_ac_var=yes"
14962 echo "$as_me: failed program was:" >&5
14963 sed 's/^/| /' conftest.
$ac_ext >&5
14965 eval "$as_ac_var=no"
14967 rm -f conftest.err conftest.
$ac_objext \
14968 conftest
$ac_exeext conftest.
$ac_ext
14970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14972 if test `eval echo '${'$as_ac_var'}'` = yes; then
14973 cat >>confdefs.h
<<_ACEOF
14974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14983 for ac_header
in langinfo.h
14985 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14987 echo "$as_me:$LINENO: checking for $ac_header" >&5
14988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14990 echo $ECHO_N "(cached) $ECHO_C" >&6
14992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14995 # Is the header compilable?
14996 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14997 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14998 cat >conftest.
$ac_ext <<_ACEOF
15001 cat confdefs.h
>>conftest.
$ac_ext
15002 cat >>conftest.
$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15004 $ac_includes_default
15005 #include <$ac_header>
15007 rm -f conftest.
$ac_objext
15008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15009 (eval $ac_compile) 2>conftest.er1
15011 grep -v '^ *+' conftest.er1
>conftest.err
15013 cat conftest.err
>&5
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); } &&
15016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15018 (eval $ac_try) 2>&5
15020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021 (exit $ac_status); }; } &&
15022 { ac_try
='test -s conftest.$ac_objext'
15023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15024 (eval $ac_try) 2>&5
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); }; }; then
15028 ac_header_compiler
=yes
15030 echo "$as_me: failed program was:" >&5
15031 sed 's/^/| /' conftest.
$ac_ext >&5
15033 ac_header_compiler
=no
15035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15037 echo "${ECHO_T}$ac_header_compiler" >&6
15039 # Is the header present?
15040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15042 cat >conftest.
$ac_ext <<_ACEOF
15045 cat confdefs.h
>>conftest.
$ac_ext
15046 cat >>conftest.
$ac_ext <<_ACEOF
15047 /* end confdefs.h. */
15048 #include <$ac_header>
15050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15051 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15053 grep -v '^ *+' conftest.er1
>conftest.err
15055 cat conftest.err
>&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } >/dev
/null
; then
15058 if test -s conftest.err
; then
15059 ac_cpp_err
=$ac_c_preproc_warn_flag
15060 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15067 if test -z "$ac_cpp_err"; then
15068 ac_header_preproc
=yes
15070 echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.
$ac_ext >&5
15073 ac_header_preproc
=no
15075 rm -f conftest.err conftest.
$ac_ext
15076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15077 echo "${ECHO_T}$ac_header_preproc" >&6
15079 # So? What about this header?
15080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15086 ac_header_preproc
=yes
15089 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15091 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15093 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15095 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15096 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15099 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15103 ## ----------------------------------------- ##
15104 ## Report this to wx-dev@lists.wxwidgets.org ##
15105 ## ----------------------------------------- ##
15108 sed "s/^/$as_me: WARNING: /" >&2
15111 echo "$as_me:$LINENO: checking for $ac_header" >&5
15112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15114 echo $ECHO_N "(cached) $ECHO_C" >&6
15116 eval "$as_ac_Header=\$ac_header_preproc"
15118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15123 cat >>confdefs.h
<<_ACEOF
15124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15133 *-pc-os2_emx | *-pc-os2-emx )
15134 if test $ac_cv_header_langinfo_h = "yes" \
15135 -a \
( "$wx_cv_gccversion" = "EMX2" \
15136 -o "$wx_cv_gccversion" = "EMX3" \
15137 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15138 LIBS
="$LIBS -lintl"
15143 if test "$wxUSE_GUI" = "yes"; then
15144 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15146 for ac_header
in X
11/Xlib.h
15148 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15150 echo "$as_me:$LINENO: checking for $ac_header" >&5
15151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15158 # Is the header compilable?
15159 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15160 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15161 cat >conftest.
$ac_ext <<_ACEOF
15164 cat confdefs.h
>>conftest.
$ac_ext
15165 cat >>conftest.
$ac_ext <<_ACEOF
15166 /* end confdefs.h. */
15167 $ac_includes_default
15168 #include <$ac_header>
15170 rm -f conftest.
$ac_objext
15171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15172 (eval $ac_compile) 2>conftest.er1
15174 grep -v '^ *+' conftest.er1
>conftest.err
15176 cat conftest.err
>&5
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); } &&
15179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15181 (eval $ac_try) 2>&5
15183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15184 (exit $ac_status); }; } &&
15185 { ac_try
='test -s conftest.$ac_objext'
15186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15187 (eval $ac_try) 2>&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); }; }; then
15191 ac_header_compiler
=yes
15193 echo "$as_me: failed program was:" >&5
15194 sed 's/^/| /' conftest.
$ac_ext >&5
15196 ac_header_compiler
=no
15198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15200 echo "${ECHO_T}$ac_header_compiler" >&6
15202 # Is the header present?
15203 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15204 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15205 cat >conftest.
$ac_ext <<_ACEOF
15208 cat confdefs.h
>>conftest.
$ac_ext
15209 cat >>conftest.
$ac_ext <<_ACEOF
15210 /* end confdefs.h. */
15211 #include <$ac_header>
15213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15216 grep -v '^ *+' conftest.er1
>conftest.err
15218 cat conftest.err
>&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); } >/dev
/null
; then
15221 if test -s conftest.err
; then
15222 ac_cpp_err
=$ac_c_preproc_warn_flag
15223 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15230 if test -z "$ac_cpp_err"; then
15231 ac_header_preproc
=yes
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.
$ac_ext >&5
15236 ac_header_preproc
=no
15238 rm -f conftest.err conftest.
$ac_ext
15239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15240 echo "${ECHO_T}$ac_header_preproc" >&6
15242 # So? What about this header?
15243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15245 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15246 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15248 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15249 ac_header_preproc
=yes
15252 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15253 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15254 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15255 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15256 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15257 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15258 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15259 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15261 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15262 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15263 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15266 ## ----------------------------------------- ##
15267 ## Report this to wx-dev@lists.wxwidgets.org ##
15268 ## ----------------------------------------- ##
15271 sed "s/^/$as_me: WARNING: /" >&2
15274 echo "$as_me:$LINENO: checking for $ac_header" >&5
15275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 eval "$as_ac_Header=\$ac_header_preproc"
15281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15286 cat >>confdefs.h
<<_ACEOF
15287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15295 for ac_header
in X
11/XKBlib.h
15297 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15298 echo "$as_me:$LINENO: checking for $ac_header" >&5
15299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15301 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 cat >conftest.
$ac_ext <<_ACEOF
15306 cat confdefs.h
>>conftest.
$ac_ext
15307 cat >>conftest.
$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15310 #if HAVE_X11_XLIB_H
15311 #include <X11/Xlib.h>
15315 #include <$ac_header>
15317 rm -f conftest.
$ac_objext
15318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15319 (eval $ac_compile) 2>conftest.er1
15321 grep -v '^ *+' conftest.er1
>conftest.err
15323 cat conftest.err
>&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); } &&
15326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15328 (eval $ac_try) 2>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }; } &&
15332 { ac_try
='test -s conftest.$ac_objext'
15333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15334 (eval $ac_try) 2>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; }; then
15338 eval "$as_ac_Header=yes"
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.
$ac_ext >&5
15343 eval "$as_ac_Header=no"
15345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15350 cat >>confdefs.h
<<_ACEOF
15351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15362 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15363 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15364 if test "${ac_cv_c_const+set}" = set; then
15365 echo $ECHO_N "(cached) $ECHO_C" >&6
15367 cat >conftest.
$ac_ext <<_ACEOF
15370 cat confdefs.h
>>conftest.
$ac_ext
15371 cat >>conftest.
$ac_ext <<_ACEOF
15372 /* end confdefs.h. */
15377 /* FIXME: Include the comments suggested by Paul. */
15378 #ifndef __cplusplus
15379 /* Ultrix mips cc rejects this. */
15380 typedef int charset[2];
15382 /* SunOS 4.1.1 cc rejects this. */
15383 char const *const *ccp;
15385 /* NEC SVR4.0.2 mips cc rejects this. */
15386 struct point {int x, y;};
15387 static struct point const zero = {0,0};
15388 /* AIX XL C 1.02.0.0 rejects this.
15389 It does not let you subtract one const X* pointer from another in
15390 an arm of an if-expression whose if-part is not a constant
15392 const char *g = "string";
15393 ccp = &g + (g ? g-g : 0);
15394 /* HPUX 7.0 cc rejects these. */
15397 ccp = (char const *const *) p;
15398 { /* SCO 3.2v4 cc rejects this. */
15400 char const *s = 0 ? (char *) 0 : (char const *) 0;
15404 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15405 int x[] = {25, 17};
15406 const int *foo = &x[0];
15409 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15410 typedef const int *iptr;
15414 { /* AIX XL C 1.02.0.0 rejects this saying
15415 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15416 struct s { int j; const int *ap[3]; };
15417 struct s *b; b->j = 5;
15419 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15420 const int foo = 10;
15428 rm -f conftest.
$ac_objext
15429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15430 (eval $ac_compile) 2>conftest.er1
15432 grep -v '^ *+' conftest.er1
>conftest.err
15434 cat conftest.err
>&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); } &&
15437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15439 (eval $ac_try) 2>&5
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); }; } &&
15443 { ac_try
='test -s conftest.$ac_objext'
15444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15445 (eval $ac_try) 2>&5
15447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); }; }; then
15451 echo "$as_me: failed program was:" >&5
15452 sed 's/^/| /' conftest.
$ac_ext >&5
15456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15458 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15459 echo "${ECHO_T}$ac_cv_c_const" >&6
15460 if test $ac_cv_c_const = no
; then
15462 cat >>confdefs.h
<<\_ACEOF
15468 echo "$as_me:$LINENO: checking for inline" >&5
15469 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15470 if test "${ac_cv_c_inline+set}" = set; then
15471 echo $ECHO_N "(cached) $ECHO_C" >&6
15474 for ac_kw
in inline __inline__ __inline
; do
15475 cat >conftest.
$ac_ext <<_ACEOF
15478 cat confdefs.h
>>conftest.
$ac_ext
15479 cat >>conftest.
$ac_ext <<_ACEOF
15480 /* end confdefs.h. */
15481 #ifndef __cplusplus
15483 static $ac_kw foo_t static_foo () {return 0; }
15484 $ac_kw foo_t foo () {return 0; }
15488 rm -f conftest.
$ac_objext
15489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15490 (eval $ac_compile) 2>conftest.er1
15492 grep -v '^ *+' conftest.er1
>conftest.err
15494 cat conftest.err
>&5
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); } &&
15497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15499 (eval $ac_try) 2>&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); }; } &&
15503 { ac_try
='test -s conftest.$ac_objext'
15504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15505 (eval $ac_try) 2>&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); }; }; then
15509 ac_cv_c_inline
=$ac_kw; break
15511 echo "$as_me: failed program was:" >&5
15512 sed 's/^/| /' conftest.
$ac_ext >&5
15515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15519 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15520 echo "${ECHO_T}$ac_cv_c_inline" >&6
15523 case $ac_cv_c_inline in
15526 case $ac_cv_c_inline in
15528 *) ac_val
=$ac_cv_c_inline;;
15530 cat >>confdefs.h
<<_ACEOF
15531 #ifndef __cplusplus
15532 #define inline $ac_val
15539 echo "$as_me:$LINENO: checking for char" >&5
15540 echo $ECHO_N "checking for char... $ECHO_C" >&6
15541 if test "${ac_cv_type_char+set}" = set; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6
15544 cat >conftest.
$ac_ext <<_ACEOF
15547 cat confdefs.h
>>conftest.
$ac_ext
15548 cat >>conftest.
$ac_ext <<_ACEOF
15549 /* end confdefs.h. */
15550 $ac_includes_default
15562 rm -f conftest.
$ac_objext
15563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15564 (eval $ac_compile) 2>conftest.er1
15566 grep -v '^ *+' conftest.er1
>conftest.err
15568 cat conftest.err
>&5
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); } &&
15571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15573 (eval $ac_try) 2>&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); }; } &&
15577 { ac_try
='test -s conftest.$ac_objext'
15578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15579 (eval $ac_try) 2>&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); }; }; then
15583 ac_cv_type_char
=yes
15585 echo "$as_me: failed program was:" >&5
15586 sed 's/^/| /' conftest.
$ac_ext >&5
15590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15592 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15593 echo "${ECHO_T}$ac_cv_type_char" >&6
15595 echo "$as_me:$LINENO: checking size of char" >&5
15596 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15597 if test "${ac_cv_sizeof_char+set}" = set; then
15598 echo $ECHO_N "(cached) $ECHO_C" >&6
15600 if test "$ac_cv_type_char" = yes; then
15601 # The cast to unsigned long works around a bug in the HP C Compiler
15602 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15603 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15604 # This bug is HP SR number 8606223364.
15605 if test "$cross_compiling" = yes; then
15606 # Depending upon the size, compute the lo and hi bounds.
15607 cat >conftest.
$ac_ext <<_ACEOF
15610 cat confdefs.h
>>conftest.
$ac_ext
15611 cat >>conftest.
$ac_ext <<_ACEOF
15612 /* end confdefs.h. */
15613 $ac_includes_default
15617 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15624 rm -f conftest.
$ac_objext
15625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15626 (eval $ac_compile) 2>conftest.er1
15628 grep -v '^ *+' conftest.er1
>conftest.err
15630 cat conftest.err
>&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); } &&
15633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15635 (eval $ac_try) 2>&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); }; } &&
15639 { ac_try
='test -s conftest.$ac_objext'
15640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15641 (eval $ac_try) 2>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); }; }; then
15647 cat >conftest.
$ac_ext <<_ACEOF
15650 cat confdefs.h
>>conftest.
$ac_ext
15651 cat >>conftest.
$ac_ext <<_ACEOF
15652 /* end confdefs.h. */
15653 $ac_includes_default
15657 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15664 rm -f conftest.
$ac_objext
15665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15666 (eval $ac_compile) 2>conftest.er1
15668 grep -v '^ *+' conftest.er1
>conftest.err
15670 cat conftest.err
>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); } &&
15673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; } &&
15679 { ac_try
='test -s conftest.$ac_objext'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; }; then
15685 ac_hi
=$ac_mid; break
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.
$ac_ext >&5
15690 ac_lo
=`expr $ac_mid + 1`
15691 if test $ac_lo -le $ac_mid; then
15695 ac_mid
=`expr 2 '*' $ac_mid + 1`
15697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.
$ac_ext >&5
15703 cat >conftest.
$ac_ext <<_ACEOF
15706 cat confdefs.h
>>conftest.
$ac_ext
15707 cat >>conftest.
$ac_ext <<_ACEOF
15708 /* end confdefs.h. */
15709 $ac_includes_default
15713 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15720 rm -f conftest.
$ac_objext
15721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15722 (eval $ac_compile) 2>conftest.er1
15724 grep -v '^ *+' conftest.er1
>conftest.err
15726 cat conftest.err
>&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } &&
15729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15731 (eval $ac_try) 2>&5
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); }; } &&
15735 { ac_try
='test -s conftest.$ac_objext'
15736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15737 (eval $ac_try) 2>&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); }; }; then
15743 cat >conftest.
$ac_ext <<_ACEOF
15746 cat confdefs.h
>>conftest.
$ac_ext
15747 cat >>conftest.
$ac_ext <<_ACEOF
15748 /* end confdefs.h. */
15749 $ac_includes_default
15753 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15760 rm -f conftest.
$ac_objext
15761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15762 (eval $ac_compile) 2>conftest.er1
15764 grep -v '^ *+' conftest.er1
>conftest.err
15766 cat conftest.err
>&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); } &&
15769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; } &&
15775 { ac_try
='test -s conftest.$ac_objext'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; }; then
15781 ac_lo
=$ac_mid; break
15783 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.
$ac_ext >&5
15786 ac_hi
=`expr '(' $ac_mid ')' - 1`
15787 if test $ac_mid -le $ac_hi; then
15791 ac_mid
=`expr 2 '*' $ac_mid`
15793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15796 echo "$as_me: failed program was:" >&5
15797 sed 's/^/| /' conftest.
$ac_ext >&5
15801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15804 # Binary search between lo and hi bounds.
15805 while test "x$ac_lo" != "x$ac_hi"; do
15806 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15807 cat >conftest.
$ac_ext <<_ACEOF
15810 cat confdefs.h
>>conftest.
$ac_ext
15811 cat >>conftest.
$ac_ext <<_ACEOF
15812 /* end confdefs.h. */
15813 $ac_includes_default
15817 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15824 rm -f conftest.
$ac_objext
15825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15826 (eval $ac_compile) 2>conftest.er1
15828 grep -v '^ *+' conftest.er1
>conftest.err
15830 cat conftest.err
>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; } &&
15839 { ac_try
='test -s conftest.$ac_objext'
15840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841 (eval $ac_try) 2>&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); }; }; then
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.
$ac_ext >&5
15850 ac_lo
=`expr '(' $ac_mid ')' + 1`
15852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15855 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15856 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15857 See \`config.log' for more details." >&5
15858 echo "$as_me: error: cannot compute sizeof (char), 77
15859 See \`config.log' for more details." >&2;}
15860 { (exit 1); exit 1; }; } ;;
15863 if test "$cross_compiling" = yes; then
15864 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15865 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15866 { (exit 1); exit 1; }; }
15868 cat >conftest.
$ac_ext <<_ACEOF
15871 cat confdefs.h
>>conftest.
$ac_ext
15872 cat >>conftest.
$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15874 $ac_includes_default
15875 long longval () { return (long) (sizeof (char)); }
15876 unsigned long ulongval () { return (long) (sizeof (char)); }
15878 #include <stdlib.h>
15883 FILE *f = fopen ("conftest.val", "w");
15886 if (((long) (sizeof (char))) < 0)
15888 long i = longval ();
15889 if (i != ((long) (sizeof (char))))
15891 fprintf (f, "%ld\n", i);
15895 unsigned long i = ulongval ();
15896 if (i != ((long) (sizeof (char))))
15898 fprintf (f, "%lu\n", i);
15900 exit (ferror (f) || fclose (f) != 0);
15906 rm -f conftest
$ac_exeext
15907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15908 (eval $ac_link) 2>&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 (eval $ac_try) 2>&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); }; }; then
15917 ac_cv_sizeof_char
=`cat conftest.val`
15919 echo "$as_me: program exited with status $ac_status" >&5
15920 echo "$as_me: failed program was:" >&5
15921 sed 's/^/| /' conftest.
$ac_ext >&5
15923 ( exit $ac_status )
15924 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15925 See \`config.log' for more details." >&5
15926 echo "$as_me: error: cannot compute sizeof (char), 77
15927 See \`config.log' for more details." >&2;}
15928 { (exit 1); exit 1; }; }
15930 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15935 ac_cv_sizeof_char
=0
15938 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15939 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15940 cat >>confdefs.h
<<_ACEOF
15941 #define SIZEOF_CHAR $ac_cv_sizeof_char
15945 echo "$as_me:$LINENO: checking for short" >&5
15946 echo $ECHO_N "checking for short... $ECHO_C" >&6
15947 if test "${ac_cv_type_short+set}" = set; then
15948 echo $ECHO_N "(cached) $ECHO_C" >&6
15950 cat >conftest.
$ac_ext <<_ACEOF
15953 cat confdefs.h
>>conftest.
$ac_ext
15954 cat >>conftest.
$ac_ext <<_ACEOF
15955 /* end confdefs.h. */
15956 $ac_includes_default
15962 if (sizeof (short))
15968 rm -f conftest.
$ac_objext
15969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15970 (eval $ac_compile) 2>conftest.er1
15972 grep -v '^ *+' conftest.er1
>conftest.err
15974 cat conftest.err
>&5
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); } &&
15977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15979 (eval $ac_try) 2>&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); }; } &&
15983 { ac_try
='test -s conftest.$ac_objext'
15984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15985 (eval $ac_try) 2>&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; }; then
15989 ac_cv_type_short
=yes
15991 echo "$as_me: failed program was:" >&5
15992 sed 's/^/| /' conftest.
$ac_ext >&5
15994 ac_cv_type_short
=no
15996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15998 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15999 echo "${ECHO_T}$ac_cv_type_short" >&6
16001 echo "$as_me:$LINENO: checking size of short" >&5
16002 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16003 if test "${ac_cv_sizeof_short+set}" = set; then
16004 echo $ECHO_N "(cached) $ECHO_C" >&6
16006 if test "$ac_cv_type_short" = yes; then
16007 # The cast to unsigned long works around a bug in the HP C Compiler
16008 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16009 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16010 # This bug is HP SR number 8606223364.
16011 if test "$cross_compiling" = yes; then
16012 # Depending upon the size, compute the lo and hi bounds.
16013 cat >conftest.
$ac_ext <<_ACEOF
16016 cat confdefs.h
>>conftest.
$ac_ext
16017 cat >>conftest.
$ac_ext <<_ACEOF
16018 /* end confdefs.h. */
16019 $ac_includes_default
16023 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16030 rm -f conftest.
$ac_objext
16031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16032 (eval $ac_compile) 2>conftest.er1
16034 grep -v '^ *+' conftest.er1
>conftest.err
16036 cat conftest.err
>&5
16037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038 (exit $ac_status); } &&
16039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16041 (eval $ac_try) 2>&5
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); }; } &&
16045 { ac_try
='test -s conftest.$ac_objext'
16046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16047 (eval $ac_try) 2>&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); }; }; then
16053 cat >conftest.
$ac_ext <<_ACEOF
16056 cat confdefs.h
>>conftest.
$ac_ext
16057 cat >>conftest.
$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16059 $ac_includes_default
16063 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16070 rm -f conftest.
$ac_objext
16071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16072 (eval $ac_compile) 2>conftest.er1
16074 grep -v '^ *+' conftest.er1
>conftest.err
16076 cat conftest.err
>&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } &&
16079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; } &&
16085 { ac_try
='test -s conftest.$ac_objext'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; }; then
16091 ac_hi
=$ac_mid; break
16093 echo "$as_me: failed program was:" >&5
16094 sed 's/^/| /' conftest.
$ac_ext >&5
16096 ac_lo
=`expr $ac_mid + 1`
16097 if test $ac_lo -le $ac_mid; then
16101 ac_mid
=`expr 2 '*' $ac_mid + 1`
16103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16106 echo "$as_me: failed program was:" >&5
16107 sed 's/^/| /' conftest.
$ac_ext >&5
16109 cat >conftest.
$ac_ext <<_ACEOF
16112 cat confdefs.h
>>conftest.
$ac_ext
16113 cat >>conftest.
$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 $ac_includes_default
16119 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16126 rm -f conftest.
$ac_objext
16127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16128 (eval $ac_compile) 2>conftest.er1
16130 grep -v '^ *+' conftest.er1
>conftest.err
16132 cat conftest.err
>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); } &&
16135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16141 { ac_try
='test -s conftest.$ac_objext'
16142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16143 (eval $ac_try) 2>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); }; }; then
16149 cat >conftest.
$ac_ext <<_ACEOF
16152 cat confdefs.h
>>conftest.
$ac_ext
16153 cat >>conftest.
$ac_ext <<_ACEOF
16154 /* end confdefs.h. */
16155 $ac_includes_default
16159 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16166 rm -f conftest.
$ac_objext
16167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16168 (eval $ac_compile) 2>conftest.er1
16170 grep -v '^ *+' conftest.er1
>conftest.err
16172 cat conftest.err
>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); } &&
16175 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; } &&
16181 { ac_try
='test -s conftest.$ac_objext'
16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183 (eval $ac_try) 2>&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; }; then
16187 ac_lo
=$ac_mid; break
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.
$ac_ext >&5
16192 ac_hi
=`expr '(' $ac_mid ')' - 1`
16193 if test $ac_mid -le $ac_hi; then
16197 ac_mid
=`expr 2 '*' $ac_mid`
16199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16202 echo "$as_me: failed program was:" >&5
16203 sed 's/^/| /' conftest.
$ac_ext >&5
16207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16210 # Binary search between lo and hi bounds.
16211 while test "x$ac_lo" != "x$ac_hi"; do
16212 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16213 cat >conftest.
$ac_ext <<_ACEOF
16216 cat confdefs.h
>>conftest.
$ac_ext
16217 cat >>conftest.
$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16219 $ac_includes_default
16223 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16230 rm -f conftest.
$ac_objext
16231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16232 (eval $ac_compile) 2>conftest.er1
16234 grep -v '^ *+' conftest.er1
>conftest.err
16236 cat conftest.err
>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); } &&
16239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16245 { ac_try
='test -s conftest.$ac_objext'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; }; then
16253 echo "$as_me: failed program was:" >&5
16254 sed 's/^/| /' conftest.
$ac_ext >&5
16256 ac_lo
=`expr '(' $ac_mid ')' + 1`
16258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16261 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16262 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16263 See \`config.log' for more details." >&5
16264 echo "$as_me: error: cannot compute sizeof (short), 77
16265 See \`config.log' for more details." >&2;}
16266 { (exit 1); exit 1; }; } ;;
16269 if test "$cross_compiling" = yes; then
16270 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16271 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16272 { (exit 1); exit 1; }; }
16274 cat >conftest.
$ac_ext <<_ACEOF
16277 cat confdefs.h
>>conftest.
$ac_ext
16278 cat >>conftest.
$ac_ext <<_ACEOF
16279 /* end confdefs.h. */
16280 $ac_includes_default
16281 long longval () { return (long) (sizeof (short)); }
16282 unsigned long ulongval () { return (long) (sizeof (short)); }
16284 #include <stdlib.h>
16289 FILE *f = fopen ("conftest.val", "w");
16292 if (((long) (sizeof (short))) < 0)
16294 long i = longval ();
16295 if (i != ((long) (sizeof (short))))
16297 fprintf (f, "%ld\n", i);
16301 unsigned long i = ulongval ();
16302 if (i != ((long) (sizeof (short))))
16304 fprintf (f, "%lu\n", i);
16306 exit (ferror (f) || fclose (f) != 0);
16312 rm -f conftest
$ac_exeext
16313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16314 (eval $ac_link) 2>&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16319 (eval $ac_try) 2>&5
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); }; }; then
16323 ac_cv_sizeof_short
=`cat conftest.val`
16325 echo "$as_me: program exited with status $ac_status" >&5
16326 echo "$as_me: failed program was:" >&5
16327 sed 's/^/| /' conftest.
$ac_ext >&5
16329 ( exit $ac_status )
16330 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16331 See \`config.log' for more details." >&5
16332 echo "$as_me: error: cannot compute sizeof (short), 77
16333 See \`config.log' for more details." >&2;}
16334 { (exit 1); exit 1; }; }
16336 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16341 ac_cv_sizeof_short
=0
16344 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16345 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16346 cat >>confdefs.h
<<_ACEOF
16347 #define SIZEOF_SHORT $ac_cv_sizeof_short
16351 echo "$as_me:$LINENO: checking for void *" >&5
16352 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16353 if test "${ac_cv_type_void_p+set}" = set; then
16354 echo $ECHO_N "(cached) $ECHO_C" >&6
16356 cat >conftest.
$ac_ext <<_ACEOF
16359 cat confdefs.h
>>conftest.
$ac_ext
16360 cat >>conftest.
$ac_ext <<_ACEOF
16361 /* end confdefs.h. */
16362 $ac_includes_default
16368 if (sizeof (void *))
16374 rm -f conftest.
$ac_objext
16375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16376 (eval $ac_compile) 2>conftest.er1
16378 grep -v '^ *+' conftest.er1
>conftest.err
16380 cat conftest.err
>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } &&
16383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16385 (eval $ac_try) 2>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; } &&
16389 { ac_try
='test -s conftest.$ac_objext'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; }; then
16395 ac_cv_type_void_p
=yes
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.
$ac_ext >&5
16400 ac_cv_type_void_p
=no
16402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16404 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16405 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16407 echo "$as_me:$LINENO: checking size of void *" >&5
16408 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16409 if test "${ac_cv_sizeof_void_p+set}" = set; then
16410 echo $ECHO_N "(cached) $ECHO_C" >&6
16412 if test "$ac_cv_type_void_p" = yes; then
16413 # The cast to unsigned long works around a bug in the HP C Compiler
16414 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16415 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16416 # This bug is HP SR number 8606223364.
16417 if test "$cross_compiling" = yes; then
16418 # Depending upon the size, compute the lo and hi bounds.
16419 cat >conftest.
$ac_ext <<_ACEOF
16422 cat confdefs.h
>>conftest.
$ac_ext
16423 cat >>conftest.
$ac_ext <<_ACEOF
16424 /* end confdefs.h. */
16425 $ac_includes_default
16429 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16436 rm -f conftest.
$ac_objext
16437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16438 (eval $ac_compile) 2>conftest.er1
16440 grep -v '^ *+' conftest.er1
>conftest.err
16442 cat conftest.err
>&5
16443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444 (exit $ac_status); } &&
16445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16447 (eval $ac_try) 2>&5
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); }; } &&
16451 { ac_try
='test -s conftest.$ac_objext'
16452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16453 (eval $ac_try) 2>&5
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); }; }; then
16459 cat >conftest.
$ac_ext <<_ACEOF
16462 cat confdefs.h
>>conftest.
$ac_ext
16463 cat >>conftest.
$ac_ext <<_ACEOF
16464 /* end confdefs.h. */
16465 $ac_includes_default
16469 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16476 rm -f conftest.
$ac_objext
16477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16478 (eval $ac_compile) 2>conftest.er1
16480 grep -v '^ *+' conftest.er1
>conftest.err
16482 cat conftest.err
>&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } &&
16485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; } &&
16491 { ac_try
='test -s conftest.$ac_objext'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; }; then
16497 ac_hi
=$ac_mid; break
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.
$ac_ext >&5
16502 ac_lo
=`expr $ac_mid + 1`
16503 if test $ac_lo -le $ac_mid; then
16507 ac_mid
=`expr 2 '*' $ac_mid + 1`
16509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16512 echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.
$ac_ext >&5
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
16525 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16532 rm -f conftest.
$ac_objext
16533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16534 (eval $ac_compile) 2>conftest.er1
16536 grep -v '^ *+' conftest.er1
>conftest.err
16538 cat conftest.err
>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } &&
16541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543 (eval $ac_try) 2>&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); }; } &&
16547 { ac_try
='test -s conftest.$ac_objext'
16548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549 (eval $ac_try) 2>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); }; }; then
16555 cat >conftest.
$ac_ext <<_ACEOF
16558 cat confdefs.h
>>conftest.
$ac_ext
16559 cat >>conftest.
$ac_ext <<_ACEOF
16560 /* end confdefs.h. */
16561 $ac_includes_default
16565 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16572 rm -f conftest.
$ac_objext
16573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16574 (eval $ac_compile) 2>conftest.er1
16576 grep -v '^ *+' conftest.er1
>conftest.err
16578 cat conftest.err
>&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); } &&
16581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16583 (eval $ac_try) 2>&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); }; } &&
16587 { ac_try
='test -s conftest.$ac_objext'
16588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16589 (eval $ac_try) 2>&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); }; }; then
16593 ac_lo
=$ac_mid; break
16595 echo "$as_me: failed program was:" >&5
16596 sed 's/^/| /' conftest.
$ac_ext >&5
16598 ac_hi
=`expr '(' $ac_mid ')' - 1`
16599 if test $ac_mid -le $ac_hi; then
16603 ac_mid
=`expr 2 '*' $ac_mid`
16605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16608 echo "$as_me: failed program was:" >&5
16609 sed 's/^/| /' conftest.
$ac_ext >&5
16613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16616 # Binary search between lo and hi bounds.
16617 while test "x$ac_lo" != "x$ac_hi"; do
16618 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16619 cat >conftest.
$ac_ext <<_ACEOF
16622 cat confdefs.h
>>conftest.
$ac_ext
16623 cat >>conftest.
$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16625 $ac_includes_default
16629 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16636 rm -f conftest.
$ac_objext
16637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16638 (eval $ac_compile) 2>conftest.er1
16640 grep -v '^ *+' conftest.er1
>conftest.err
16642 cat conftest.err
>&5
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); } &&
16645 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 (eval $ac_try) 2>&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; } &&
16651 { ac_try
='test -s conftest.$ac_objext'
16652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16653 (eval $ac_try) 2>&5
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); }; }; then
16659 echo "$as_me: failed program was:" >&5
16660 sed 's/^/| /' conftest.
$ac_ext >&5
16662 ac_lo
=`expr '(' $ac_mid ')' + 1`
16664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16667 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16668 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16669 See \`config.log' for more details." >&5
16670 echo "$as_me: error: cannot compute sizeof (void *), 77
16671 See \`config.log' for more details." >&2;}
16672 { (exit 1); exit 1; }; } ;;
16675 if test "$cross_compiling" = yes; then
16676 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16677 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16678 { (exit 1); exit 1; }; }
16680 cat >conftest.
$ac_ext <<_ACEOF
16683 cat confdefs.h
>>conftest.
$ac_ext
16684 cat >>conftest.
$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686 $ac_includes_default
16687 long longval () { return (long) (sizeof (void *)); }
16688 unsigned long ulongval () { return (long) (sizeof (void *)); }
16690 #include <stdlib.h>
16695 FILE *f = fopen ("conftest.val", "w");
16698 if (((long) (sizeof (void *))) < 0)
16700 long i = longval ();
16701 if (i != ((long) (sizeof (void *))))
16703 fprintf (f, "%ld\n", i);
16707 unsigned long i = ulongval ();
16708 if (i != ((long) (sizeof (void *))))
16710 fprintf (f, "%lu\n", i);
16712 exit (ferror (f) || fclose (f) != 0);
16718 rm -f conftest
$ac_exeext
16719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16720 (eval $ac_link) 2>&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; }; then
16729 ac_cv_sizeof_void_p
=`cat conftest.val`
16731 echo "$as_me: program exited with status $ac_status" >&5
16732 echo "$as_me: failed program was:" >&5
16733 sed 's/^/| /' conftest.
$ac_ext >&5
16735 ( exit $ac_status )
16736 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16737 See \`config.log' for more details." >&5
16738 echo "$as_me: error: cannot compute sizeof (void *), 77
16739 See \`config.log' for more details." >&2;}
16740 { (exit 1); exit 1; }; }
16742 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16747 ac_cv_sizeof_void_p
=0
16750 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16751 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16752 cat >>confdefs.h
<<_ACEOF
16753 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16757 echo "$as_me:$LINENO: checking for int" >&5
16758 echo $ECHO_N "checking for int... $ECHO_C" >&6
16759 if test "${ac_cv_type_int+set}" = set; then
16760 echo $ECHO_N "(cached) $ECHO_C" >&6
16762 cat >conftest.
$ac_ext <<_ACEOF
16765 cat confdefs.h
>>conftest.
$ac_ext
16766 cat >>conftest.
$ac_ext <<_ACEOF
16767 /* end confdefs.h. */
16768 $ac_includes_default
16780 rm -f conftest.
$ac_objext
16781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16782 (eval $ac_compile) 2>conftest.er1
16784 grep -v '^ *+' conftest.er1
>conftest.err
16786 cat conftest.err
>&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); } &&
16789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16791 (eval $ac_try) 2>&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); }; } &&
16795 { ac_try
='test -s conftest.$ac_objext'
16796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16797 (eval $ac_try) 2>&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); }; }; then
16803 echo "$as_me: failed program was:" >&5
16804 sed 's/^/| /' conftest.
$ac_ext >&5
16808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16810 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16811 echo "${ECHO_T}$ac_cv_type_int" >&6
16813 echo "$as_me:$LINENO: checking size of int" >&5
16814 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16815 if test "${ac_cv_sizeof_int+set}" = set; then
16816 echo $ECHO_N "(cached) $ECHO_C" >&6
16818 if test "$ac_cv_type_int" = yes; then
16819 # The cast to unsigned long works around a bug in the HP C Compiler
16820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16822 # This bug is HP SR number 8606223364.
16823 if test "$cross_compiling" = yes; then
16824 # Depending upon the size, compute the lo and hi bounds.
16825 cat >conftest.
$ac_ext <<_ACEOF
16828 cat confdefs.h
>>conftest.
$ac_ext
16829 cat >>conftest.
$ac_ext <<_ACEOF
16830 /* end confdefs.h. */
16831 $ac_includes_default
16835 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16842 rm -f conftest.
$ac_objext
16843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16844 (eval $ac_compile) 2>conftest.er1
16846 grep -v '^ *+' conftest.er1
>conftest.err
16848 cat conftest.err
>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); } &&
16851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16853 (eval $ac_try) 2>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); }; } &&
16857 { ac_try
='test -s conftest.$ac_objext'
16858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16859 (eval $ac_try) 2>&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); }; }; then
16865 cat >conftest.
$ac_ext <<_ACEOF
16868 cat confdefs.h
>>conftest.
$ac_ext
16869 cat >>conftest.
$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16871 $ac_includes_default
16875 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16882 rm -f conftest.
$ac_objext
16883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16884 (eval $ac_compile) 2>conftest.er1
16886 grep -v '^ *+' conftest.er1
>conftest.err
16888 cat conftest.err
>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); } &&
16891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; } &&
16897 { ac_try
='test -s conftest.$ac_objext'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; }; then
16903 ac_hi
=$ac_mid; break
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.
$ac_ext >&5
16908 ac_lo
=`expr $ac_mid + 1`
16909 if test $ac_lo -le $ac_mid; then
16913 ac_mid
=`expr 2 '*' $ac_mid + 1`
16915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16918 echo "$as_me: failed program was:" >&5
16919 sed 's/^/| /' conftest.
$ac_ext >&5
16921 cat >conftest.
$ac_ext <<_ACEOF
16924 cat confdefs.h
>>conftest.
$ac_ext
16925 cat >>conftest.
$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16927 $ac_includes_default
16931 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16938 rm -f conftest.
$ac_objext
16939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16940 (eval $ac_compile) 2>conftest.er1
16942 grep -v '^ *+' conftest.er1
>conftest.err
16944 cat conftest.err
>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } &&
16947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949 (eval $ac_try) 2>&5
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); }; } &&
16953 { ac_try
='test -s conftest.$ac_objext'
16954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16955 (eval $ac_try) 2>&5
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); }; }; then
16961 cat >conftest.
$ac_ext <<_ACEOF
16964 cat confdefs.h
>>conftest.
$ac_ext
16965 cat >>conftest.
$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16967 $ac_includes_default
16971 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16978 rm -f conftest.
$ac_objext
16979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16980 (eval $ac_compile) 2>conftest.er1
16982 grep -v '^ *+' conftest.er1
>conftest.err
16984 cat conftest.err
>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); } &&
16987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try
='test -s conftest.$ac_objext'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; }; then
16999 ac_lo
=$ac_mid; break
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.
$ac_ext >&5
17004 ac_hi
=`expr '(' $ac_mid ')' - 1`
17005 if test $ac_mid -le $ac_hi; then
17009 ac_mid
=`expr 2 '*' $ac_mid`
17011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17014 echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.
$ac_ext >&5
17019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17022 # Binary search between lo and hi bounds.
17023 while test "x$ac_lo" != "x$ac_hi"; do
17024 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17025 cat >conftest.
$ac_ext <<_ACEOF
17028 cat confdefs.h
>>conftest.
$ac_ext
17029 cat >>conftest.
$ac_ext <<_ACEOF
17030 /* end confdefs.h. */
17031 $ac_includes_default
17035 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17042 rm -f conftest.
$ac_objext
17043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17044 (eval $ac_compile) 2>conftest.er1
17046 grep -v '^ *+' conftest.er1
>conftest.err
17048 cat conftest.err
>&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); } &&
17051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053 (eval $ac_try) 2>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; } &&
17057 { ac_try
='test -s conftest.$ac_objext'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; }; then
17065 echo "$as_me: failed program was:" >&5
17066 sed 's/^/| /' conftest.
$ac_ext >&5
17068 ac_lo
=`expr '(' $ac_mid ')' + 1`
17070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17073 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17074 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17075 See \`config.log' for more details." >&5
17076 echo "$as_me: error: cannot compute sizeof (int), 77
17077 See \`config.log' for more details." >&2;}
17078 { (exit 1); exit 1; }; } ;;
17081 if test "$cross_compiling" = yes; then
17082 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17083 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17084 { (exit 1); exit 1; }; }
17086 cat >conftest.
$ac_ext <<_ACEOF
17089 cat confdefs.h
>>conftest.
$ac_ext
17090 cat >>conftest.
$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 $ac_includes_default
17093 long longval () { return (long) (sizeof (int)); }
17094 unsigned long ulongval () { return (long) (sizeof (int)); }
17096 #include <stdlib.h>
17101 FILE *f = fopen ("conftest.val", "w");
17104 if (((long) (sizeof (int))) < 0)
17106 long i = longval ();
17107 if (i != ((long) (sizeof (int))))
17109 fprintf (f, "%ld\n", i);
17113 unsigned long i = ulongval ();
17114 if (i != ((long) (sizeof (int))))
17116 fprintf (f, "%lu\n", i);
17118 exit (ferror (f) || fclose (f) != 0);
17124 rm -f conftest
$ac_exeext
17125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17126 (eval $ac_link) 2>&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17131 (eval $ac_try) 2>&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); }; }; then
17135 ac_cv_sizeof_int
=`cat conftest.val`
17137 echo "$as_me: program exited with status $ac_status" >&5
17138 echo "$as_me: failed program was:" >&5
17139 sed 's/^/| /' conftest.
$ac_ext >&5
17141 ( exit $ac_status )
17142 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17143 See \`config.log' for more details." >&5
17144 echo "$as_me: error: cannot compute sizeof (int), 77
17145 See \`config.log' for more details." >&2;}
17146 { (exit 1); exit 1; }; }
17148 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17156 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17157 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17158 cat >>confdefs.h
<<_ACEOF
17159 #define SIZEOF_INT $ac_cv_sizeof_int
17163 echo "$as_me:$LINENO: checking for long" >&5
17164 echo $ECHO_N "checking for long... $ECHO_C" >&6
17165 if test "${ac_cv_type_long+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17168 cat >conftest.
$ac_ext <<_ACEOF
17171 cat confdefs.h
>>conftest.
$ac_ext
17172 cat >>conftest.
$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17174 $ac_includes_default
17186 rm -f conftest.
$ac_objext
17187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17188 (eval $ac_compile) 2>conftest.er1
17190 grep -v '^ *+' conftest.er1
>conftest.err
17192 cat conftest.err
>&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } &&
17195 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17197 (eval $ac_try) 2>&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); }; } &&
17201 { ac_try
='test -s conftest.$ac_objext'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; }; then
17207 ac_cv_type_long
=yes
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.
$ac_ext >&5
17214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17216 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17217 echo "${ECHO_T}$ac_cv_type_long" >&6
17219 echo "$as_me:$LINENO: checking size of long" >&5
17220 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17221 if test "${ac_cv_sizeof_long+set}" = set; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17224 if test "$ac_cv_type_long" = yes; then
17225 # The cast to unsigned long works around a bug in the HP C Compiler
17226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17228 # This bug is HP SR number 8606223364.
17229 if test "$cross_compiling" = yes; then
17230 # Depending upon the size, compute the lo and hi bounds.
17231 cat >conftest.
$ac_ext <<_ACEOF
17234 cat confdefs.h
>>conftest.
$ac_ext
17235 cat >>conftest.
$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17237 $ac_includes_default
17241 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17248 rm -f conftest.
$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>conftest.er1
17252 grep -v '^ *+' conftest.er1
>conftest.err
17254 cat conftest.err
>&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; } &&
17263 { ac_try
='test -s conftest.$ac_objext'
17264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265 (eval $ac_try) 2>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); }; }; then
17271 cat >conftest.
$ac_ext <<_ACEOF
17274 cat confdefs.h
>>conftest.
$ac_ext
17275 cat >>conftest.
$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17277 $ac_includes_default
17281 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17288 rm -f conftest.
$ac_objext
17289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17290 (eval $ac_compile) 2>conftest.er1
17292 grep -v '^ *+' conftest.er1
>conftest.err
17294 cat conftest.err
>&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } &&
17297 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; } &&
17303 { ac_try
='test -s conftest.$ac_objext'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; }; then
17309 ac_hi
=$ac_mid; break
17311 echo "$as_me: failed program was:" >&5
17312 sed 's/^/| /' conftest.
$ac_ext >&5
17314 ac_lo
=`expr $ac_mid + 1`
17315 if test $ac_lo -le $ac_mid; then
17319 ac_mid
=`expr 2 '*' $ac_mid + 1`
17321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17324 echo "$as_me: failed program was:" >&5
17325 sed 's/^/| /' conftest.
$ac_ext >&5
17327 cat >conftest.
$ac_ext <<_ACEOF
17330 cat confdefs.h
>>conftest.
$ac_ext
17331 cat >>conftest.
$ac_ext <<_ACEOF
17332 /* end confdefs.h. */
17333 $ac_includes_default
17337 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17344 rm -f conftest.
$ac_objext
17345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17346 (eval $ac_compile) 2>conftest.er1
17348 grep -v '^ *+' conftest.er1
>conftest.err
17350 cat conftest.err
>&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); } &&
17353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17355 (eval $ac_try) 2>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }; } &&
17359 { ac_try
='test -s conftest.$ac_objext'
17360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17361 (eval $ac_try) 2>&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); }; }; then
17367 cat >conftest.
$ac_ext <<_ACEOF
17370 cat confdefs.h
>>conftest.
$ac_ext
17371 cat >>conftest.
$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373 $ac_includes_default
17377 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17384 rm -f conftest.
$ac_objext
17385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17386 (eval $ac_compile) 2>conftest.er1
17388 grep -v '^ *+' conftest.er1
>conftest.err
17390 cat conftest.err
>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } &&
17393 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; } &&
17399 { ac_try
='test -s conftest.$ac_objext'
17400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17401 (eval $ac_try) 2>&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); }; }; then
17405 ac_lo
=$ac_mid; break
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.
$ac_ext >&5
17410 ac_hi
=`expr '(' $ac_mid ')' - 1`
17411 if test $ac_mid -le $ac_hi; then
17415 ac_mid
=`expr 2 '*' $ac_mid`
17417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17420 echo "$as_me: failed program was:" >&5
17421 sed 's/^/| /' conftest.
$ac_ext >&5
17425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17428 # Binary search between lo and hi bounds.
17429 while test "x$ac_lo" != "x$ac_hi"; do
17430 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17431 cat >conftest.
$ac_ext <<_ACEOF
17434 cat confdefs.h
>>conftest.
$ac_ext
17435 cat >>conftest.
$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17437 $ac_includes_default
17441 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17448 rm -f conftest.
$ac_objext
17449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17450 (eval $ac_compile) 2>conftest.er1
17452 grep -v '^ *+' conftest.er1
>conftest.err
17454 cat conftest.err
>&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } &&
17457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; } &&
17463 { ac_try
='test -s conftest.$ac_objext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.
$ac_ext >&5
17474 ac_lo
=`expr '(' $ac_mid ')' + 1`
17476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17479 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17480 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17481 See \`config.log' for more details." >&5
17482 echo "$as_me: error: cannot compute sizeof (long), 77
17483 See \`config.log' for more details." >&2;}
17484 { (exit 1); exit 1; }; } ;;
17487 if test "$cross_compiling" = yes; then
17488 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17489 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17490 { (exit 1); exit 1; }; }
17492 cat >conftest.
$ac_ext <<_ACEOF
17495 cat confdefs.h
>>conftest.
$ac_ext
17496 cat >>conftest.
$ac_ext <<_ACEOF
17497 /* end confdefs.h. */
17498 $ac_includes_default
17499 long longval () { return (long) (sizeof (long)); }
17500 unsigned long ulongval () { return (long) (sizeof (long)); }
17502 #include <stdlib.h>
17507 FILE *f = fopen ("conftest.val", "w");
17510 if (((long) (sizeof (long))) < 0)
17512 long i = longval ();
17513 if (i != ((long) (sizeof (long))))
17515 fprintf (f, "%ld\n", i);
17519 unsigned long i = ulongval ();
17520 if (i != ((long) (sizeof (long))))
17522 fprintf (f, "%lu\n", i);
17524 exit (ferror (f) || fclose (f) != 0);
17530 rm -f conftest
$ac_exeext
17531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17532 (eval $ac_link) 2>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; }; then
17541 ac_cv_sizeof_long
=`cat conftest.val`
17543 echo "$as_me: program exited with status $ac_status" >&5
17544 echo "$as_me: failed program was:" >&5
17545 sed 's/^/| /' conftest.
$ac_ext >&5
17547 ( exit $ac_status )
17548 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17549 See \`config.log' for more details." >&5
17550 echo "$as_me: error: cannot compute sizeof (long), 77
17551 See \`config.log' for more details." >&2;}
17552 { (exit 1); exit 1; }; }
17554 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17559 ac_cv_sizeof_long
=0
17562 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17563 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17564 cat >>confdefs.h
<<_ACEOF
17565 #define SIZEOF_LONG $ac_cv_sizeof_long
17569 echo "$as_me:$LINENO: checking for size_t" >&5
17570 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17571 if test "${ac_cv_type_size_t+set}" = set; then
17572 echo $ECHO_N "(cached) $ECHO_C" >&6
17574 cat >conftest.
$ac_ext <<_ACEOF
17577 cat confdefs.h
>>conftest.
$ac_ext
17578 cat >>conftest.
$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17580 $ac_includes_default
17586 if (sizeof (size_t))
17592 rm -f conftest.
$ac_objext
17593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17594 (eval $ac_compile) 2>conftest.er1
17596 grep -v '^ *+' conftest.er1
>conftest.err
17598 cat conftest.err
>&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } &&
17601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17603 (eval $ac_try) 2>&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); }; } &&
17607 { ac_try
='test -s conftest.$ac_objext'
17608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17609 (eval $ac_try) 2>&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); }; }; then
17613 ac_cv_type_size_t
=yes
17615 echo "$as_me: failed program was:" >&5
17616 sed 's/^/| /' conftest.
$ac_ext >&5
17618 ac_cv_type_size_t
=no
17620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17622 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17623 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17625 echo "$as_me:$LINENO: checking size of size_t" >&5
17626 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17627 if test "${ac_cv_sizeof_size_t+set}" = set; then
17628 echo $ECHO_N "(cached) $ECHO_C" >&6
17630 if test "$ac_cv_type_size_t" = yes; then
17631 # The cast to unsigned long works around a bug in the HP C Compiler
17632 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17633 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17634 # This bug is HP SR number 8606223364.
17635 if test "$cross_compiling" = yes; then
17636 # Depending upon the size, compute the lo and hi bounds.
17637 cat >conftest.
$ac_ext <<_ACEOF
17640 cat confdefs.h
>>conftest.
$ac_ext
17641 cat >>conftest.
$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643 $ac_includes_default
17647 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17654 rm -f conftest.
$ac_objext
17655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17656 (eval $ac_compile) 2>conftest.er1
17658 grep -v '^ *+' conftest.er1
>conftest.err
17660 cat conftest.err
>&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); } &&
17663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try
='test -s conftest.$ac_objext'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17677 cat >conftest.
$ac_ext <<_ACEOF
17680 cat confdefs.h
>>conftest.
$ac_ext
17681 cat >>conftest.
$ac_ext <<_ACEOF
17682 /* end confdefs.h. */
17683 $ac_includes_default
17687 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17694 rm -f conftest.
$ac_objext
17695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17696 (eval $ac_compile) 2>conftest.er1
17698 grep -v '^ *+' conftest.er1
>conftest.err
17700 cat conftest.err
>&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); } &&
17703 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17705 (eval $ac_try) 2>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); }; } &&
17709 { ac_try
='test -s conftest.$ac_objext'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; }; then
17715 ac_hi
=$ac_mid; break
17717 echo "$as_me: failed program was:" >&5
17718 sed 's/^/| /' conftest.
$ac_ext >&5
17720 ac_lo
=`expr $ac_mid + 1`
17721 if test $ac_lo -le $ac_mid; then
17725 ac_mid
=`expr 2 '*' $ac_mid + 1`
17727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17730 echo "$as_me: failed program was:" >&5
17731 sed 's/^/| /' conftest.
$ac_ext >&5
17733 cat >conftest.
$ac_ext <<_ACEOF
17736 cat confdefs.h
>>conftest.
$ac_ext
17737 cat >>conftest.
$ac_ext <<_ACEOF
17738 /* end confdefs.h. */
17739 $ac_includes_default
17743 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17750 rm -f conftest.
$ac_objext
17751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17752 (eval $ac_compile) 2>conftest.er1
17754 grep -v '^ *+' conftest.er1
>conftest.err
17756 cat conftest.err
>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } &&
17759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17761 (eval $ac_try) 2>&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); }; } &&
17765 { ac_try
='test -s conftest.$ac_objext'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; }; then
17773 cat >conftest.
$ac_ext <<_ACEOF
17776 cat confdefs.h
>>conftest.
$ac_ext
17777 cat >>conftest.
$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17779 $ac_includes_default
17783 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17790 rm -f conftest.
$ac_objext
17791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17792 (eval $ac_compile) 2>conftest.er1
17794 grep -v '^ *+' conftest.er1
>conftest.err
17796 cat conftest.err
>&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); } &&
17799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17801 (eval $ac_try) 2>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); }; } &&
17805 { ac_try
='test -s conftest.$ac_objext'
17806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17807 (eval $ac_try) 2>&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); }; }; then
17811 ac_lo
=$ac_mid; break
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.
$ac_ext >&5
17816 ac_hi
=`expr '(' $ac_mid ')' - 1`
17817 if test $ac_mid -le $ac_hi; then
17821 ac_mid
=`expr 2 '*' $ac_mid`
17823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.
$ac_ext >&5
17831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17834 # Binary search between lo and hi bounds.
17835 while test "x$ac_lo" != "x$ac_hi"; do
17836 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17837 cat >conftest.
$ac_ext <<_ACEOF
17840 cat confdefs.h
>>conftest.
$ac_ext
17841 cat >>conftest.
$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17843 $ac_includes_default
17847 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17854 rm -f conftest.
$ac_objext
17855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17856 (eval $ac_compile) 2>conftest.er1
17858 grep -v '^ *+' conftest.er1
>conftest.err
17860 cat conftest.err
>&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); } &&
17863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; } &&
17869 { ac_try
='test -s conftest.$ac_objext'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; }; then
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.
$ac_ext >&5
17880 ac_lo
=`expr '(' $ac_mid ')' + 1`
17882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17885 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17886 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17887 See \`config.log' for more details." >&5
17888 echo "$as_me: error: cannot compute sizeof (size_t), 77
17889 See \`config.log' for more details." >&2;}
17890 { (exit 1); exit 1; }; } ;;
17893 if test "$cross_compiling" = yes; then
17894 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17895 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17896 { (exit 1); exit 1; }; }
17898 cat >conftest.
$ac_ext <<_ACEOF
17901 cat confdefs.h
>>conftest.
$ac_ext
17902 cat >>conftest.
$ac_ext <<_ACEOF
17903 /* end confdefs.h. */
17904 $ac_includes_default
17905 long longval () { return (long) (sizeof (size_t)); }
17906 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17908 #include <stdlib.h>
17913 FILE *f = fopen ("conftest.val", "w");
17916 if (((long) (sizeof (size_t))) < 0)
17918 long i = longval ();
17919 if (i != ((long) (sizeof (size_t))))
17921 fprintf (f, "%ld\n", i);
17925 unsigned long i = ulongval ();
17926 if (i != ((long) (sizeof (size_t))))
17928 fprintf (f, "%lu\n", i);
17930 exit (ferror (f) || fclose (f) != 0);
17936 rm -f conftest
$ac_exeext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17938 (eval $ac_link) 2>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17943 (eval $ac_try) 2>&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); }; }; then
17947 ac_cv_sizeof_size_t
=`cat conftest.val`
17949 echo "$as_me: program exited with status $ac_status" >&5
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.
$ac_ext >&5
17953 ( exit $ac_status )
17954 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17955 See \`config.log' for more details." >&5
17956 echo "$as_me: error: cannot compute sizeof (size_t), 77
17957 See \`config.log' for more details." >&2;}
17958 { (exit 1); exit 1; }; }
17960 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17965 ac_cv_sizeof_size_t
=0
17968 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17969 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17970 cat >>confdefs.h
<<_ACEOF
17971 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17978 echo "$as_me:$LINENO: checking for long long" >&5
17979 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17980 if test "${ac_cv_type_long_long+set}" = set; then
17981 echo $ECHO_N "(cached) $ECHO_C" >&6
17983 cat >conftest.
$ac_ext <<_ACEOF
17986 cat confdefs.h
>>conftest.
$ac_ext
17987 cat >>conftest.
$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17989 $ac_includes_default
17993 if ((long long *) 0)
17995 if (sizeof (long long))
18001 rm -f conftest.
$ac_objext
18002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18003 (eval $ac_compile) 2>conftest.er1
18005 grep -v '^ *+' conftest.er1
>conftest.err
18007 cat conftest.err
>&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); } &&
18010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18012 (eval $ac_try) 2>&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); }; } &&
18016 { ac_try
='test -s conftest.$ac_objext'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; }; then
18022 ac_cv_type_long_long
=yes
18024 echo "$as_me: failed program was:" >&5
18025 sed 's/^/| /' conftest.
$ac_ext >&5
18027 ac_cv_type_long_long
=no
18029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18031 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18032 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18034 echo "$as_me:$LINENO: checking size of long long" >&5
18035 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18036 if test "${ac_cv_sizeof_long_long+set}" = set; then
18037 echo $ECHO_N "(cached) $ECHO_C" >&6
18039 if test "$ac_cv_type_long_long" = yes; then
18040 # The cast to unsigned long works around a bug in the HP C Compiler
18041 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18042 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18043 # This bug is HP SR number 8606223364.
18044 if test "$cross_compiling" = yes; then
18045 # Depending upon the size, compute the lo and hi bounds.
18046 cat >conftest.
$ac_ext <<_ACEOF
18049 cat confdefs.h
>>conftest.
$ac_ext
18050 cat >>conftest.
$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18052 $ac_includes_default
18056 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18063 rm -f conftest.
$ac_objext
18064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18065 (eval $ac_compile) 2>conftest.er1
18067 grep -v '^ *+' conftest.er1
>conftest.err
18069 cat conftest.err
>&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } &&
18072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18074 (eval $ac_try) 2>&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); }; } &&
18078 { ac_try
='test -s conftest.$ac_objext'
18079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18080 (eval $ac_try) 2>&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; }; then
18086 cat >conftest.
$ac_ext <<_ACEOF
18089 cat confdefs.h
>>conftest.
$ac_ext
18090 cat >>conftest.
$ac_ext <<_ACEOF
18091 /* end confdefs.h. */
18092 $ac_includes_default
18096 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18103 rm -f conftest.
$ac_objext
18104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18105 (eval $ac_compile) 2>conftest.er1
18107 grep -v '^ *+' conftest.er1
>conftest.err
18109 cat conftest.err
>&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); } &&
18112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18114 (eval $ac_try) 2>&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); }; } &&
18118 { ac_try
='test -s conftest.$ac_objext'
18119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18120 (eval $ac_try) 2>&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); }; }; then
18124 ac_hi
=$ac_mid; break
18126 echo "$as_me: failed program was:" >&5
18127 sed 's/^/| /' conftest.
$ac_ext >&5
18129 ac_lo
=`expr $ac_mid + 1`
18130 if test $ac_lo -le $ac_mid; then
18134 ac_mid
=`expr 2 '*' $ac_mid + 1`
18136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18139 echo "$as_me: failed program was:" >&5
18140 sed 's/^/| /' conftest.
$ac_ext >&5
18142 cat >conftest.
$ac_ext <<_ACEOF
18145 cat confdefs.h
>>conftest.
$ac_ext
18146 cat >>conftest.
$ac_ext <<_ACEOF
18147 /* end confdefs.h. */
18148 $ac_includes_default
18152 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18159 rm -f conftest.
$ac_objext
18160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18161 (eval $ac_compile) 2>conftest.er1
18163 grep -v '^ *+' conftest.er1
>conftest.err
18165 cat conftest.err
>&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); } &&
18168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; } &&
18174 { ac_try
='test -s conftest.$ac_objext'
18175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18176 (eval $ac_try) 2>&5
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); }; }; then
18182 cat >conftest.
$ac_ext <<_ACEOF
18185 cat confdefs.h
>>conftest.
$ac_ext
18186 cat >>conftest.
$ac_ext <<_ACEOF
18187 /* end confdefs.h. */
18188 $ac_includes_default
18192 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18199 rm -f conftest.
$ac_objext
18200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18201 (eval $ac_compile) 2>conftest.er1
18203 grep -v '^ *+' conftest.er1
>conftest.err
18205 cat conftest.err
>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } &&
18208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18214 { ac_try
='test -s conftest.$ac_objext'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; }; then
18220 ac_lo
=$ac_mid; break
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.
$ac_ext >&5
18225 ac_hi
=`expr '(' $ac_mid ')' - 1`
18226 if test $ac_mid -le $ac_hi; then
18230 ac_mid
=`expr 2 '*' $ac_mid`
18232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18235 echo "$as_me: failed program was:" >&5
18236 sed 's/^/| /' conftest.
$ac_ext >&5
18240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18243 # Binary search between lo and hi bounds.
18244 while test "x$ac_lo" != "x$ac_hi"; do
18245 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18246 cat >conftest.
$ac_ext <<_ACEOF
18249 cat confdefs.h
>>conftest.
$ac_ext
18250 cat >>conftest.
$ac_ext <<_ACEOF
18251 /* end confdefs.h. */
18252 $ac_includes_default
18256 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18263 rm -f conftest.
$ac_objext
18264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18265 (eval $ac_compile) 2>conftest.er1
18267 grep -v '^ *+' conftest.er1
>conftest.err
18269 cat conftest.err
>&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); } &&
18272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; } &&
18278 { ac_try
='test -s conftest.$ac_objext'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; }; then
18286 echo "$as_me: failed program was:" >&5
18287 sed 's/^/| /' conftest.
$ac_ext >&5
18289 ac_lo
=`expr '(' $ac_mid ')' + 1`
18291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18294 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18295 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18296 See \`config.log' for more details." >&5
18297 echo "$as_me: error: cannot compute sizeof (long long), 77
18298 See \`config.log' for more details." >&2;}
18299 { (exit 1); exit 1; }; } ;;
18302 if test "$cross_compiling" = yes; then
18303 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18304 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18305 { (exit 1); exit 1; }; }
18307 cat >conftest.
$ac_ext <<_ACEOF
18310 cat confdefs.h
>>conftest.
$ac_ext
18311 cat >>conftest.
$ac_ext <<_ACEOF
18312 /* end confdefs.h. */
18313 $ac_includes_default
18314 long longval () { return (long) (sizeof (long long)); }
18315 unsigned long ulongval () { return (long) (sizeof (long long)); }
18317 #include <stdlib.h>
18322 FILE *f = fopen ("conftest.val", "w");
18325 if (((long) (sizeof (long long))) < 0)
18327 long i = longval ();
18328 if (i != ((long) (sizeof (long long))))
18330 fprintf (f, "%ld\n", i);
18334 unsigned long i = ulongval ();
18335 if (i != ((long) (sizeof (long long))))
18337 fprintf (f, "%lu\n", i);
18339 exit (ferror (f) || fclose (f) != 0);
18345 rm -f conftest
$ac_exeext
18346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18347 (eval $ac_link) 2>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18352 (eval $ac_try) 2>&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); }; }; then
18356 ac_cv_sizeof_long_long
=`cat conftest.val`
18358 echo "$as_me: program exited with status $ac_status" >&5
18359 echo "$as_me: failed program was:" >&5
18360 sed 's/^/| /' conftest.
$ac_ext >&5
18362 ( exit $ac_status )
18363 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18364 See \`config.log' for more details." >&5
18365 echo "$as_me: error: cannot compute sizeof (long long), 77
18366 See \`config.log' for more details." >&2;}
18367 { (exit 1); exit 1; }; }
18369 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18374 ac_cv_sizeof_long_long
=0
18377 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18378 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18379 cat >>confdefs.h
<<_ACEOF
18380 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18386 echo "$as_me:$LINENO: checking for long long" >&5
18387 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18388 if test "${ac_cv_type_long_long+set}" = set; then
18389 echo $ECHO_N "(cached) $ECHO_C" >&6
18391 cat >conftest.
$ac_ext <<_ACEOF
18394 cat confdefs.h
>>conftest.
$ac_ext
18395 cat >>conftest.
$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18397 $ac_includes_default
18401 if ((long long *) 0)
18403 if (sizeof (long long))
18409 rm -f conftest.
$ac_objext
18410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18411 (eval $ac_compile) 2>conftest.er1
18413 grep -v '^ *+' conftest.er1
>conftest.err
18415 cat conftest.err
>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); } &&
18418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; } &&
18424 { ac_try
='test -s conftest.$ac_objext'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; }; then
18430 ac_cv_type_long_long
=yes
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.
$ac_ext >&5
18435 ac_cv_type_long_long
=no
18437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18439 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18440 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18442 echo "$as_me:$LINENO: checking size of long long" >&5
18443 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18444 if test "${ac_cv_sizeof_long_long+set}" = set; then
18445 echo $ECHO_N "(cached) $ECHO_C" >&6
18447 if test "$ac_cv_type_long_long" = yes; then
18448 # The cast to unsigned long works around a bug in the HP C Compiler
18449 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18450 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18451 # This bug is HP SR number 8606223364.
18452 if test "$cross_compiling" = yes; then
18453 # Depending upon the size, compute the lo and hi bounds.
18454 cat >conftest.
$ac_ext <<_ACEOF
18457 cat confdefs.h
>>conftest.
$ac_ext
18458 cat >>conftest.
$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18460 $ac_includes_default
18464 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18471 rm -f conftest.
$ac_objext
18472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18473 (eval $ac_compile) 2>conftest.er1
18475 grep -v '^ *+' conftest.er1
>conftest.err
18477 cat conftest.err
>&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); } &&
18480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18482 (eval $ac_try) 2>&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); }; } &&
18486 { ac_try
='test -s conftest.$ac_objext'
18487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18488 (eval $ac_try) 2>&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; }; then
18494 cat >conftest.
$ac_ext <<_ACEOF
18497 cat confdefs.h
>>conftest.
$ac_ext
18498 cat >>conftest.
$ac_ext <<_ACEOF
18499 /* end confdefs.h. */
18500 $ac_includes_default
18504 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18511 rm -f conftest.
$ac_objext
18512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18513 (eval $ac_compile) 2>conftest.er1
18515 grep -v '^ *+' conftest.er1
>conftest.err
18517 cat conftest.err
>&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); } &&
18520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; } &&
18526 { ac_try
='test -s conftest.$ac_objext'
18527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528 (eval $ac_try) 2>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; }; then
18532 ac_hi
=$ac_mid; break
18534 echo "$as_me: failed program was:" >&5
18535 sed 's/^/| /' conftest.
$ac_ext >&5
18537 ac_lo
=`expr $ac_mid + 1`
18538 if test $ac_lo -le $ac_mid; then
18542 ac_mid
=`expr 2 '*' $ac_mid + 1`
18544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.
$ac_ext >&5
18550 cat >conftest.
$ac_ext <<_ACEOF
18553 cat confdefs.h
>>conftest.
$ac_ext
18554 cat >>conftest.
$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 $ac_includes_default
18560 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18567 rm -f conftest.
$ac_objext
18568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18569 (eval $ac_compile) 2>conftest.er1
18571 grep -v '^ *+' conftest.er1
>conftest.err
18573 cat conftest.err
>&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } &&
18576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18578 (eval $ac_try) 2>&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); }; } &&
18582 { ac_try
='test -s conftest.$ac_objext'
18583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18584 (eval $ac_try) 2>&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); }; }; then
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 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18607 rm -f conftest.
$ac_objext
18608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18609 (eval $ac_compile) 2>conftest.er1
18611 grep -v '^ *+' conftest.er1
>conftest.err
18613 cat conftest.err
>&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } &&
18616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18618 (eval $ac_try) 2>&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); }; } &&
18622 { ac_try
='test -s conftest.$ac_objext'
18623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18624 (eval $ac_try) 2>&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); }; }; then
18628 ac_lo
=$ac_mid; break
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.
$ac_ext >&5
18633 ac_hi
=`expr '(' $ac_mid ')' - 1`
18634 if test $ac_mid -le $ac_hi; then
18638 ac_mid
=`expr 2 '*' $ac_mid`
18640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.
$ac_ext >&5
18648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18651 # Binary search between lo and hi bounds.
18652 while test "x$ac_lo" != "x$ac_hi"; do
18653 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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))) <= $ac_mid)];
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" || test ! -s conftest.err'
18681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18682 (eval $ac_try) 2>&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); }; } &&
18686 { ac_try
='test -s conftest.$ac_objext'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; }; then
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.
$ac_ext >&5
18697 ac_lo
=`expr '(' $ac_mid ')' + 1`
18699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18702 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18703 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18704 See \`config.log' for more details." >&5
18705 echo "$as_me: error: cannot compute sizeof (long long), 77
18706 See \`config.log' for more details." >&2;}
18707 { (exit 1); exit 1; }; } ;;
18710 if test "$cross_compiling" = yes; then
18711 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18712 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18713 { (exit 1); exit 1; }; }
18715 cat >conftest.
$ac_ext <<_ACEOF
18718 cat confdefs.h
>>conftest.
$ac_ext
18719 cat >>conftest.
$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 $ac_includes_default
18722 long longval () { return (long) (sizeof (long long)); }
18723 unsigned long ulongval () { return (long) (sizeof (long long)); }
18725 #include <stdlib.h>
18730 FILE *f = fopen ("conftest.val", "w");
18733 if (((long) (sizeof (long long))) < 0)
18735 long i = longval ();
18736 if (i != ((long) (sizeof (long long))))
18738 fprintf (f, "%ld\n", i);
18742 unsigned long i = ulongval ();
18743 if (i != ((long) (sizeof (long long))))
18745 fprintf (f, "%lu\n", i);
18747 exit (ferror (f) || fclose (f) != 0);
18753 rm -f conftest
$ac_exeext
18754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18755 (eval $ac_link) 2>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; }; then
18764 ac_cv_sizeof_long_long
=`cat conftest.val`
18766 echo "$as_me: program exited with status $ac_status" >&5
18767 echo "$as_me: failed program was:" >&5
18768 sed 's/^/| /' conftest.
$ac_ext >&5
18770 ( exit $ac_status )
18771 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18772 See \`config.log' for more details." >&5
18773 echo "$as_me: error: cannot compute sizeof (long long), 77
18774 See \`config.log' for more details." >&2;}
18775 { (exit 1); exit 1; }; }
18777 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18782 ac_cv_sizeof_long_long
=0
18785 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18786 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18787 cat >>confdefs.h
<<_ACEOF
18788 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18792 if test "$ac_cv_sizeof_long_long" != "0"; then
18793 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18797 echo "$as_me:$LINENO: checking for long long" >&5
18798 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18799 if test "${ac_cv_type_long_long+set}" = set; then
18800 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 cat >conftest.
$ac_ext <<_ACEOF
18805 cat confdefs.h
>>conftest.
$ac_ext
18806 cat >>conftest.
$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808 $ac_includes_default
18812 if ((long long *) 0)
18814 if (sizeof (long long))
18820 rm -f conftest.
$ac_objext
18821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18822 (eval $ac_compile) 2>conftest.er1
18824 grep -v '^ *+' conftest.er1
>conftest.err
18826 cat conftest.err
>&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } &&
18829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; } &&
18835 { ac_try
='test -s conftest.$ac_objext'
18836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837 (eval $ac_try) 2>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); }; }; then
18841 ac_cv_type_long_long
=yes
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.
$ac_ext >&5
18846 ac_cv_type_long_long
=no
18848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18850 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18851 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18853 echo "$as_me:$LINENO: checking size of long long" >&5
18854 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18855 if test "${ac_cv_sizeof_long_long+set}" = set; then
18856 echo $ECHO_N "(cached) $ECHO_C" >&6
18858 if test "$ac_cv_type_long_long" = yes; then
18859 # The cast to unsigned long works around a bug in the HP C Compiler
18860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18862 # This bug is HP SR number 8606223364.
18863 if test "$cross_compiling" = yes; then
18864 # Depending upon the size, compute the lo and hi bounds.
18865 cat >conftest.
$ac_ext <<_ACEOF
18868 cat confdefs.h
>>conftest.
$ac_ext
18869 cat >>conftest.
$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871 $ac_includes_default
18875 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18882 rm -f conftest.
$ac_objext
18883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18884 (eval $ac_compile) 2>conftest.er1
18886 grep -v '^ *+' conftest.er1
>conftest.err
18888 cat conftest.err
>&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); } &&
18891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18897 { ac_try
='test -s conftest.$ac_objext'
18898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18899 (eval $ac_try) 2>&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); }; }; then
18905 cat >conftest.
$ac_ext <<_ACEOF
18908 cat confdefs.h
>>conftest.
$ac_ext
18909 cat >>conftest.
$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 $ac_includes_default
18915 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18922 rm -f conftest.
$ac_objext
18923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18924 (eval $ac_compile) 2>conftest.er1
18926 grep -v '^ *+' conftest.er1
>conftest.err
18928 cat conftest.err
>&5
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); } &&
18931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; } &&
18937 { ac_try
='test -s conftest.$ac_objext'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; }; then
18943 ac_hi
=$ac_mid; break
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.
$ac_ext >&5
18948 ac_lo
=`expr $ac_mid + 1`
18949 if test $ac_lo -le $ac_mid; then
18953 ac_mid
=`expr 2 '*' $ac_mid + 1`
18955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18958 echo "$as_me: failed program was:" >&5
18959 sed 's/^/| /' conftest.
$ac_ext >&5
18961 cat >conftest.
$ac_ext <<_ACEOF
18964 cat confdefs.h
>>conftest.
$ac_ext
18965 cat >>conftest.
$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18967 $ac_includes_default
18971 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18978 rm -f conftest.
$ac_objext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18980 (eval $ac_compile) 2>conftest.er1
18982 grep -v '^ *+' conftest.er1
>conftest.err
18984 cat conftest.err
>&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } &&
18987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; } &&
18993 { ac_try
='test -s conftest.$ac_objext'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; }; then
19001 cat >conftest.
$ac_ext <<_ACEOF
19004 cat confdefs.h
>>conftest.
$ac_ext
19005 cat >>conftest.
$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 $ac_includes_default
19011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19018 rm -f conftest.
$ac_objext
19019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19020 (eval $ac_compile) 2>conftest.er1
19022 grep -v '^ *+' conftest.er1
>conftest.err
19024 cat conftest.err
>&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } &&
19027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19029 (eval $ac_try) 2>&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); }; } &&
19033 { ac_try
='test -s conftest.$ac_objext'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; }; then
19039 ac_lo
=$ac_mid; break
19041 echo "$as_me: failed program was:" >&5
19042 sed 's/^/| /' conftest.
$ac_ext >&5
19044 ac_hi
=`expr '(' $ac_mid ')' - 1`
19045 if test $ac_mid -le $ac_hi; then
19049 ac_mid
=`expr 2 '*' $ac_mid`
19051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19054 echo "$as_me: failed program was:" >&5
19055 sed 's/^/| /' conftest.
$ac_ext >&5
19059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19062 # Binary search between lo and hi bounds.
19063 while test "x$ac_lo" != "x$ac_hi"; do
19064 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19065 cat >conftest.
$ac_ext <<_ACEOF
19068 cat confdefs.h
>>conftest.
$ac_ext
19069 cat >>conftest.
$ac_ext <<_ACEOF
19070 /* end confdefs.h. */
19071 $ac_includes_default
19075 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19082 rm -f conftest.
$ac_objext
19083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19084 (eval $ac_compile) 2>conftest.er1
19086 grep -v '^ *+' conftest.er1
>conftest.err
19088 cat conftest.err
>&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); } &&
19091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; } &&
19097 { ac_try
='test -s conftest.$ac_objext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.
$ac_ext >&5
19108 ac_lo
=`expr '(' $ac_mid ')' + 1`
19110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19113 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19114 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19115 See \`config.log' for more details." >&5
19116 echo "$as_me: error: cannot compute sizeof (long long), 77
19117 See \`config.log' for more details." >&2;}
19118 { (exit 1); exit 1; }; } ;;
19121 if test "$cross_compiling" = yes; then
19122 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19123 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19124 { (exit 1); exit 1; }; }
19126 cat >conftest.
$ac_ext <<_ACEOF
19129 cat confdefs.h
>>conftest.
$ac_ext
19130 cat >>conftest.
$ac_ext <<_ACEOF
19131 /* end confdefs.h. */
19132 $ac_includes_default
19133 long longval () { return (long) (sizeof (long long)); }
19134 unsigned long ulongval () { return (long) (sizeof (long long)); }
19136 #include <stdlib.h>
19141 FILE *f = fopen ("conftest.val", "w");
19144 if (((long) (sizeof (long long))) < 0)
19146 long i = longval ();
19147 if (i != ((long) (sizeof (long long))))
19149 fprintf (f, "%ld\n", i);
19153 unsigned long i = ulongval ();
19154 if (i != ((long) (sizeof (long long))))
19156 fprintf (f, "%lu\n", i);
19158 exit (ferror (f) || fclose (f) != 0);
19164 rm -f conftest
$ac_exeext
19165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19166 (eval $ac_link) 2>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19171 (eval $ac_try) 2>&5
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; }; then
19175 ac_cv_sizeof_long_long
=`cat conftest.val`
19177 echo "$as_me: program exited with status $ac_status" >&5
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.
$ac_ext >&5
19181 ( exit $ac_status )
19182 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19183 See \`config.log' for more details." >&5
19184 echo "$as_me: error: cannot compute sizeof (long long), 77
19185 See \`config.log' for more details." >&2;}
19186 { (exit 1); exit 1; }; }
19188 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19193 ac_cv_sizeof_long_long
=0
19196 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19197 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19198 cat >>confdefs.h
<<_ACEOF
19199 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19205 echo "$as_me:$LINENO: checking for wchar_t" >&5
19206 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19207 if test "${ac_cv_type_wchar_t+set}" = set; then
19208 echo $ECHO_N "(cached) $ECHO_C" >&6
19210 cat >conftest.
$ac_ext <<_ACEOF
19213 cat confdefs.h
>>conftest.
$ac_ext
19214 cat >>conftest.
$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19217 /* DJGPP only has fake wchar_t: */
19219 # error "fake wchar_t"
19221 #ifdef HAVE_WCHAR_H
19223 # include <stddef.h>
19225 # include <wchar.h>
19227 #ifdef HAVE_STDLIB_H
19228 # include <stdlib.h>
19239 if (sizeof (wchar_t))
19245 rm -f conftest.
$ac_objext
19246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19247 (eval $ac_compile) 2>conftest.er1
19249 grep -v '^ *+' conftest.er1
>conftest.err
19251 cat conftest.err
>&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } &&
19254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19256 (eval $ac_try) 2>&5
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); }; } &&
19260 { ac_try
='test -s conftest.$ac_objext'
19261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19262 (eval $ac_try) 2>&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); }; }; then
19266 ac_cv_type_wchar_t
=yes
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.
$ac_ext >&5
19271 ac_cv_type_wchar_t
=no
19273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19275 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19276 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19278 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19279 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19280 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19281 echo $ECHO_N "(cached) $ECHO_C" >&6
19283 if test "$ac_cv_type_wchar_t" = yes; then
19284 # The cast to unsigned long works around a bug in the HP C Compiler
19285 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19286 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19287 # This bug is HP SR number 8606223364.
19288 if test "$cross_compiling" = yes; then
19289 # Depending upon the size, compute the lo and hi bounds.
19290 cat >conftest.
$ac_ext <<_ACEOF
19293 cat confdefs.h
>>conftest.
$ac_ext
19294 cat >>conftest.
$ac_ext <<_ACEOF
19295 /* end confdefs.h. */
19297 /* DJGPP only has fake wchar_t: */
19299 # error "fake wchar_t"
19301 #ifdef HAVE_WCHAR_H
19303 # include <stddef.h>
19305 # include <wchar.h>
19307 #ifdef HAVE_STDLIB_H
19308 # include <stdlib.h>
19317 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19324 rm -f conftest.
$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>conftest.er1
19328 grep -v '^ *+' conftest.er1
>conftest.err
19330 cat conftest.err
>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } &&
19333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; } &&
19339 { ac_try
='test -s conftest.$ac_objext'
19340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19341 (eval $ac_try) 2>&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); }; }; then
19347 cat >conftest.
$ac_ext <<_ACEOF
19350 cat confdefs.h
>>conftest.
$ac_ext
19351 cat >>conftest.
$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19354 /* DJGPP only has fake wchar_t: */
19356 # error "fake wchar_t"
19358 #ifdef HAVE_WCHAR_H
19360 # include <stddef.h>
19362 # include <wchar.h>
19364 #ifdef HAVE_STDLIB_H
19365 # include <stdlib.h>
19374 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19381 rm -f conftest.
$ac_objext
19382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19383 (eval $ac_compile) 2>conftest.er1
19385 grep -v '^ *+' conftest.er1
>conftest.err
19387 cat conftest.err
>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); } &&
19390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; } &&
19396 { ac_try
='test -s conftest.$ac_objext'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; }; then
19402 ac_hi
=$ac_mid; break
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.
$ac_ext >&5
19407 ac_lo
=`expr $ac_mid + 1`
19408 if test $ac_lo -le $ac_mid; then
19412 ac_mid
=`expr 2 '*' $ac_mid + 1`
19414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.
$ac_ext >&5
19420 cat >conftest.
$ac_ext <<_ACEOF
19423 cat confdefs.h
>>conftest.
$ac_ext
19424 cat >>conftest.
$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19427 /* DJGPP only has fake wchar_t: */
19429 # error "fake wchar_t"
19431 #ifdef HAVE_WCHAR_H
19433 # include <stddef.h>
19435 # include <wchar.h>
19437 #ifdef HAVE_STDLIB_H
19438 # include <stdlib.h>
19447 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19454 rm -f conftest.
$ac_objext
19455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19456 (eval $ac_compile) 2>conftest.er1
19458 grep -v '^ *+' conftest.er1
>conftest.err
19460 cat conftest.err
>&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); } &&
19463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19465 (eval $ac_try) 2>&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); }; } &&
19469 { ac_try
='test -s conftest.$ac_objext'
19470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19471 (eval $ac_try) 2>&5
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); }; }; then
19477 cat >conftest.
$ac_ext <<_ACEOF
19480 cat confdefs.h
>>conftest.
$ac_ext
19481 cat >>conftest.
$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19484 /* DJGPP only has fake wchar_t: */
19486 # error "fake wchar_t"
19488 #ifdef HAVE_WCHAR_H
19490 # include <stddef.h>
19492 # include <wchar.h>
19494 #ifdef HAVE_STDLIB_H
19495 # include <stdlib.h>
19504 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19511 rm -f conftest.
$ac_objext
19512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19513 (eval $ac_compile) 2>conftest.er1
19515 grep -v '^ *+' conftest.er1
>conftest.err
19517 cat conftest.err
>&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); } &&
19520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; } &&
19526 { ac_try
='test -s conftest.$ac_objext'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; }; then
19532 ac_lo
=$ac_mid; break
19534 echo "$as_me: failed program was:" >&5
19535 sed 's/^/| /' conftest.
$ac_ext >&5
19537 ac_hi
=`expr '(' $ac_mid ')' - 1`
19538 if test $ac_mid -le $ac_hi; then
19542 ac_mid
=`expr 2 '*' $ac_mid`
19544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.
$ac_ext >&5
19552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19555 # Binary search between lo and hi bounds.
19556 while test "x$ac_lo" != "x$ac_hi"; do
19557 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19558 cat >conftest.
$ac_ext <<_ACEOF
19561 cat confdefs.h
>>conftest.
$ac_ext
19562 cat >>conftest.
$ac_ext <<_ACEOF
19563 /* end confdefs.h. */
19565 /* DJGPP only has fake wchar_t: */
19567 # error "fake wchar_t"
19569 #ifdef HAVE_WCHAR_H
19571 # include <stddef.h>
19573 # include <wchar.h>
19575 #ifdef HAVE_STDLIB_H
19576 # include <stdlib.h>
19585 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19592 rm -f conftest.
$ac_objext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19594 (eval $ac_compile) 2>conftest.er1
19596 grep -v '^ *+' conftest.er1
>conftest.err
19598 cat conftest.err
>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try
='test -s conftest.$ac_objext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.
$ac_ext >&5
19618 ac_lo
=`expr '(' $ac_mid ')' + 1`
19620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19623 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19624 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19625 See \`config.log' for more details." >&5
19626 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19627 See \`config.log' for more details." >&2;}
19628 { (exit 1); exit 1; }; } ;;
19631 if test "$cross_compiling" = yes; then
19632 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19633 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19634 { (exit 1); exit 1; }; }
19636 cat >conftest.
$ac_ext <<_ACEOF
19639 cat confdefs.h
>>conftest.
$ac_ext
19640 cat >>conftest.
$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19643 /* DJGPP only has fake wchar_t: */
19645 # error "fake wchar_t"
19647 #ifdef HAVE_WCHAR_H
19649 # include <stddef.h>
19651 # include <wchar.h>
19653 #ifdef HAVE_STDLIB_H
19654 # include <stdlib.h>
19660 long longval () { return (long) (sizeof (wchar_t)); }
19661 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19663 #include <stdlib.h>
19668 FILE *f = fopen ("conftest.val", "w");
19671 if (((long) (sizeof (wchar_t))) < 0)
19673 long i = longval ();
19674 if (i != ((long) (sizeof (wchar_t))))
19676 fprintf (f, "%ld\n", i);
19680 unsigned long i = ulongval ();
19681 if (i != ((long) (sizeof (wchar_t))))
19683 fprintf (f, "%lu\n", i);
19685 exit (ferror (f) || fclose (f) != 0);
19691 rm -f conftest
$ac_exeext
19692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19693 (eval $ac_link) 2>&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698 (eval $ac_try) 2>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; }; then
19702 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19704 echo "$as_me: program exited with status $ac_status" >&5
19705 echo "$as_me: failed program was:" >&5
19706 sed 's/^/| /' conftest.
$ac_ext >&5
19708 ( exit $ac_status )
19709 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19710 See \`config.log' for more details." >&5
19711 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19712 See \`config.log' for more details." >&2;}
19713 { (exit 1); exit 1; }; }
19715 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19720 ac_cv_sizeof_wchar_t
=0
19723 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19724 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19725 cat >>confdefs.h
<<_ACEOF
19726 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19731 echo "$as_me:$LINENO: checking for va_copy" >&5
19732 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19733 if test "${wx_cv_func_va_copy+set}" = set; then
19734 echo $ECHO_N "(cached) $ECHO_C" >&6
19737 cat >conftest.
$ac_ext <<_ACEOF
19739 #include <stdarg.h>
19740 void foo(char *f, ...)
19754 rm -f conftest.
$ac_objext conftest
$ac_exeext
19755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19756 (eval $ac_link) 2>conftest.er1
19758 grep -v '^ *+' conftest.er1
>conftest.err
19760 cat conftest.err
>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } &&
19763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } &&
19769 { ac_try
='test -s conftest$ac_exeext'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; }; then
19775 wx_cv_func_va_copy
=yes
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.
$ac_ext >&5
19780 wx_cv_func_va_copy
=no
19783 rm -f conftest.err conftest.
$ac_objext \
19784 conftest
$ac_exeext conftest.
$ac_ext
19788 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19789 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19791 if test $wx_cv_func_va_copy = "yes"; then
19792 cat >>confdefs.h
<<\_ACEOF
19793 #define HAVE_VA_COPY 1
19797 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19798 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19799 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19800 echo $ECHO_N "(cached) $ECHO_C" >&6
19803 if test "$cross_compiling" = yes; then
19804 wx_cv_type_va_list_lvalue
=yes
19807 cat >conftest.
$ac_ext <<_ACEOF
19809 #include <stdarg.h>
19810 int foo(char *f, ...)
19815 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19823 return foo("hi", 17);
19826 rm -f conftest
$ac_exeext
19827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19828 (eval $ac_link) 2>&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19833 (eval $ac_try) 2>&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); }; }; then
19837 wx_cv_type_va_list_lvalue
=yes
19839 echo "$as_me: program exited with status $ac_status" >&5
19840 echo "$as_me: failed program was:" >&5
19841 sed 's/^/| /' conftest.
$ac_ext >&5
19843 ( exit $ac_status )
19844 wx_cv_type_va_list_lvalue
=no
19846 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19851 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19852 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19854 if test $wx_cv_type_va_list_lvalue != "yes"; then
19855 cat >>confdefs.h
<<\_ACEOF
19856 #define VA_LIST_IS_ARRAY 1
19862 # Check whether --enable-largefile or --disable-largefile was given.
19863 if test "${enable_largefile+set}" = set; then
19864 enableval
="$enable_largefile"
19867 if test "$enable_largefile" != no
; then
19870 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19871 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19872 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19876 cat >conftest.
$ac_ext <<_ACEOF
19879 cat confdefs.h
>>conftest.
$ac_ext
19880 cat >>conftest.
$ac_ext <<_ACEOF
19881 /* end confdefs.h. */
19882 #define _FILE_OFFSET_BITS 64
19883 #include <sys/types.h>
19888 unsigned int field: sizeof(off_t) == 8;
19895 rm -f conftest.
$ac_objext
19896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19897 (eval $ac_compile) 2>conftest.er1
19899 grep -v '^ *+' conftest.er1
>conftest.err
19901 cat conftest.err
>&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } &&
19904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19906 (eval $ac_try) 2>&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); }; } &&
19910 { ac_try
='test -s conftest.$ac_objext'
19911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19912 (eval $ac_try) 2>&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); }; }; then
19916 ac_cv_sys_file_offset_bits
=64
19918 echo "$as_me: failed program was:" >&5
19919 sed 's/^/| /' conftest.
$ac_ext >&5
19921 ac_cv_sys_file_offset_bits
=no
19923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19927 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19928 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19930 if test "$ac_cv_sys_file_offset_bits" != no
; then
19932 cat >>confdefs.h
<<_ACEOF
19933 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19938 if test "x$wx_largefile" != "xyes"; then
19940 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19941 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19942 if test "${ac_cv_sys_large_files+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19946 cat >conftest.
$ac_ext <<_ACEOF
19949 cat confdefs.h
>>conftest.
$ac_ext
19950 cat >>conftest.
$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19952 #define _LARGE_FILES 1
19953 #include <sys/types.h>
19958 unsigned int field: sizeof(off_t) == 8;
19965 rm -f conftest.
$ac_objext
19966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19967 (eval $ac_compile) 2>conftest.er1
19969 grep -v '^ *+' conftest.er1
>conftest.err
19971 cat conftest.err
>&5
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); } &&
19974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19976 (eval $ac_try) 2>&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); }; } &&
19980 { ac_try
='test -s conftest.$ac_objext'
19981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982 (eval $ac_try) 2>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; }; then
19986 ac_cv_sys_large_files
=1
19988 echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.
$ac_ext >&5
19991 ac_cv_sys_large_files
=no
19993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19997 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19998 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20000 if test "$ac_cv_sys_large_files" != no
; then
20002 cat >>confdefs.h
<<_ACEOF
20003 #define _LARGE_FILES $ac_cv_sys_large_files
20010 echo "$as_me:$LINENO: checking if large file support is available" >&5
20011 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20012 if test "x$wx_largefile" = "xyes"; then
20013 cat >>confdefs.h
<<\_ACEOF
20014 #define HAVE_LARGEFILE_SUPPORT 1
20018 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20019 echo "${ECHO_T}$wx_largefile" >&6
20023 if test "x$wx_largefile" = "xyes"; then
20024 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20025 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20027 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
20029 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20030 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20031 if test "${ac_cv_sys_largefile_source+set}" = set; then
20032 echo $ECHO_N "(cached) $ECHO_C" >&6
20035 ac_cv_sys_largefile_source
=no
20036 cat >conftest.
$ac_ext <<_ACEOF
20039 cat confdefs.h
>>conftest.
$ac_ext
20040 cat >>conftest.
$ac_ext <<_ACEOF
20041 /* end confdefs.h. */
20051 rm -f conftest.
$ac_objext
20052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20053 (eval $ac_compile) 2>conftest.er1
20055 grep -v '^ *+' conftest.er1
>conftest.err
20057 cat conftest.err
>&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); } &&
20060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20066 { ac_try
='test -s conftest.$ac_objext'
20067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068 (eval $ac_try) 2>&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; }; then
20074 echo "$as_me: failed program was:" >&5
20075 sed 's/^/| /' conftest.
$ac_ext >&5
20078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20079 cat >conftest.
$ac_ext <<_ACEOF
20082 cat confdefs.h
>>conftest.
$ac_ext
20083 cat >>conftest.
$ac_ext <<_ACEOF
20084 /* end confdefs.h. */
20085 #define _LARGEFILE_SOURCE 1
20095 rm -f conftest.
$ac_objext
20096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20097 (eval $ac_compile) 2>conftest.er1
20099 grep -v '^ *+' conftest.er1
>conftest.err
20101 cat conftest.err
>&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } &&
20104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20106 (eval $ac_try) 2>&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); }; } &&
20110 { ac_try
='test -s conftest.$ac_objext'
20111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20112 (eval $ac_try) 2>&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); }; }; then
20116 ac_cv_sys_largefile_source
=1; break
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.
$ac_ext >&5
20122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20126 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20127 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20128 if test "$ac_cv_sys_largefile_source" != no
; then
20130 cat >>confdefs.h
<<_ACEOF
20131 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20137 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20138 # in glibc 2.1.3, but that breaks too many other things.
20139 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20140 echo "$as_me:$LINENO: checking for fseeko" >&5
20141 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20142 if test "${ac_cv_func_fseeko+set}" = set; then
20143 echo $ECHO_N "(cached) $ECHO_C" >&6
20145 cat >conftest.
$ac_ext <<_ACEOF
20148 cat confdefs.h
>>conftest.
$ac_ext
20149 cat >>conftest.
$ac_ext <<_ACEOF
20150 /* end confdefs.h. */
20155 return fseeko && fseeko (stdin, 0, 0);
20160 rm -f conftest.
$ac_objext conftest
$ac_exeext
20161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20162 (eval $ac_link) 2>conftest.er1
20164 grep -v '^ *+' conftest.er1
>conftest.err
20166 cat conftest.err
>&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } &&
20169 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20171 (eval $ac_try) 2>&5
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); }; } &&
20175 { ac_try
='test -s conftest$ac_exeext'
20176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20177 (eval $ac_try) 2>&5
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); }; }; then
20181 ac_cv_func_fseeko
=yes
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.
$ac_ext >&5
20186 ac_cv_func_fseeko
=no
20188 rm -f conftest.err conftest.
$ac_objext \
20189 conftest
$ac_exeext conftest.
$ac_ext
20191 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20192 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20193 if test $ac_cv_func_fseeko = yes; then
20195 cat >>confdefs.h
<<\_ACEOF
20196 #define HAVE_FSEEKO 1
20201 if test "$ac_cv_sys_largefile_source" != no
; then
20202 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20204 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20207 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20208 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20209 if test "${ac_cv_c_bigendian+set}" = set; then
20210 echo $ECHO_N "(cached) $ECHO_C" >&6
20212 ac_cv_c_bigendian
=unknown
20213 # See if sys/param.h defines the BYTE_ORDER macro.
20214 cat >conftest.
$ac_ext <<_ACEOF
20217 cat confdefs.h
>>conftest.
$ac_ext
20218 cat >>conftest.
$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 #include <sys/types.h>
20221 #include <sys/param.h>
20226 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20227 bogus endian macros
20233 rm -f conftest.
$ac_objext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20235 (eval $ac_compile) 2>conftest.er1
20237 grep -v '^ *+' conftest.er1
>conftest.err
20239 cat conftest.err
>&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; } &&
20248 { ac_try
='test -s conftest.$ac_objext'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20254 # It does; now see whether it defined to BIG_ENDIAN or not.
20255 cat >conftest.
$ac_ext <<_ACEOF
20258 cat confdefs.h
>>conftest.
$ac_ext
20259 cat >>conftest.
$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20261 #include <sys/types.h>
20262 #include <sys/param.h>
20267 #if BYTE_ORDER != BIG_ENDIAN
20274 rm -f conftest.
$ac_objext
20275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20276 (eval $ac_compile) 2>conftest.er1
20278 grep -v '^ *+' conftest.er1
>conftest.err
20280 cat conftest.err
>&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); } &&
20283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285 (eval $ac_try) 2>&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); }; } &&
20289 { ac_try
='test -s conftest.$ac_objext'
20290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20291 (eval $ac_try) 2>&5
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); }; }; then
20295 ac_cv_c_bigendian
=yes
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.
$ac_ext >&5
20300 ac_cv_c_bigendian
=no
20302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20304 echo "$as_me: failed program was:" >&5
20305 sed 's/^/| /' conftest.
$ac_ext >&5
20308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20309 if test $ac_cv_c_bigendian = unknown
; then
20310 if test "$cross_compiling" = yes; then
20311 ac_cv_c_bigendian
=unknown
20313 cat >conftest.
$ac_ext <<_ACEOF
20316 cat confdefs.h
>>conftest.
$ac_ext
20317 cat >>conftest.
$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20320 /* Are we little or big endian? From Harbison&Steele. */
20324 char c[sizeof (long)];
20327 exit (u.c[sizeof (long) - 1] == 1);
20330 rm -f conftest
$ac_exeext
20331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20332 (eval $ac_link) 2>&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20337 (eval $ac_try) 2>&5
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); }; }; then
20341 ac_cv_c_bigendian
=no
20343 echo "$as_me: program exited with status $ac_status" >&5
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.
$ac_ext >&5
20347 ( exit $ac_status )
20348 ac_cv_c_bigendian
=yes
20350 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20354 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20355 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20356 if test $ac_cv_c_bigendian = unknown
; then
20357 { 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
20358 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;}
20360 if test $ac_cv_c_bigendian = yes; then
20361 cat >>confdefs.h
<<\_ACEOF
20362 #define WORDS_BIGENDIAN 1
20369 ac_cpp
='$CXXCPP $CPPFLAGS'
20370 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20371 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20372 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20373 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20374 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20375 if test -z "$CXXCPP"; then
20376 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20377 echo $ECHO_N "(cached) $ECHO_C" >&6
20379 # Double quotes because CXXCPP needs to be expanded
20380 for CXXCPP
in "$CXX -E" "/lib/cpp"
20382 ac_preproc_ok
=false
20383 for ac_cxx_preproc_warn_flag
in '' yes
20385 # Use a header file that comes with gcc, so configuring glibc
20386 # with a fresh cross-compiler works.
20387 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20388 # <limits.h> exists even on freestanding compilers.
20389 # On the NeXT, cc -E runs the code through the compiler's parser,
20390 # not just through cpp. "Syntax error" is here to catch this case.
20391 cat >conftest.
$ac_ext <<_ACEOF
20394 cat confdefs.h
>>conftest.
$ac_ext
20395 cat >>conftest.
$ac_ext <<_ACEOF
20396 /* end confdefs.h. */
20398 # include <limits.h>
20400 # include <assert.h>
20404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20405 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20407 grep -v '^ *+' conftest.er1
>conftest.err
20409 cat conftest.err
>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } >/dev
/null
; then
20412 if test -s conftest.err
; then
20413 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20414 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20421 if test -z "$ac_cpp_err"; then
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.
$ac_ext >&5
20427 # Broken: fails on valid input.
20430 rm -f conftest.err conftest.
$ac_ext
20432 # OK, works on sane cases. Now check whether non-existent headers
20433 # can be detected and how.
20434 cat >conftest.
$ac_ext <<_ACEOF
20437 cat confdefs.h
>>conftest.
$ac_ext
20438 cat >>conftest.
$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20440 #include <ac_nonexistent.h>
20442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20443 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20445 grep -v '^ *+' conftest.er1
>conftest.err
20447 cat conftest.err
>&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } >/dev
/null
; then
20450 if test -s conftest.err
; then
20451 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20452 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20459 if test -z "$ac_cpp_err"; then
20460 # Broken: success on invalid input.
20463 echo "$as_me: failed program was:" >&5
20464 sed 's/^/| /' conftest.
$ac_ext >&5
20466 # Passes both tests.
20470 rm -f conftest.err conftest.
$ac_ext
20473 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20474 rm -f conftest.err conftest.
$ac_ext
20475 if $ac_preproc_ok; then
20480 ac_cv_prog_CXXCPP
=$CXXCPP
20483 CXXCPP
=$ac_cv_prog_CXXCPP
20485 ac_cv_prog_CXXCPP
=$CXXCPP
20487 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20488 echo "${ECHO_T}$CXXCPP" >&6
20489 ac_preproc_ok
=false
20490 for ac_cxx_preproc_warn_flag
in '' yes
20492 # Use a header file that comes with gcc, so configuring glibc
20493 # with a fresh cross-compiler works.
20494 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20495 # <limits.h> exists even on freestanding compilers.
20496 # On the NeXT, cc -E runs the code through the compiler's parser,
20497 # not just through cpp. "Syntax error" is here to catch this case.
20498 cat >conftest.
$ac_ext <<_ACEOF
20501 cat confdefs.h
>>conftest.
$ac_ext
20502 cat >>conftest.
$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20505 # include <limits.h>
20507 # include <assert.h>
20511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20512 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20514 grep -v '^ *+' conftest.er1
>conftest.err
20516 cat conftest.err
>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } >/dev
/null
; then
20519 if test -s conftest.err
; then
20520 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20521 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20528 if test -z "$ac_cpp_err"; then
20531 echo "$as_me: failed program was:" >&5
20532 sed 's/^/| /' conftest.
$ac_ext >&5
20534 # Broken: fails on valid input.
20537 rm -f conftest.err conftest.
$ac_ext
20539 # OK, works on sane cases. Now check whether non-existent headers
20540 # can be detected and how.
20541 cat >conftest.
$ac_ext <<_ACEOF
20544 cat confdefs.h
>>conftest.
$ac_ext
20545 cat >>conftest.
$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 #include <ac_nonexistent.h>
20549 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20550 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20552 grep -v '^ *+' conftest.er1
>conftest.err
20554 cat conftest.err
>&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); } >/dev
/null
; then
20557 if test -s conftest.err
; then
20558 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20559 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20566 if test -z "$ac_cpp_err"; then
20567 # Broken: success on invalid input.
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.
$ac_ext >&5
20573 # Passes both tests.
20577 rm -f conftest.err conftest.
$ac_ext
20580 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20581 rm -f conftest.err conftest.
$ac_ext
20582 if $ac_preproc_ok; then
20585 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20586 See \`config.log' for more details." >&5
20587 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20588 See \`config.log' for more details." >&2;}
20589 { (exit 1); exit 1; }; }
20593 ac_cpp
='$CXXCPP $CPPFLAGS'
20594 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20595 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20596 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20603 ac_cpp
='$CXXCPP $CPPFLAGS'
20604 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20605 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20606 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20610 for ac_header
in iostream
20612 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20614 echo "$as_me:$LINENO: checking for $ac_header" >&5
20615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20617 echo $ECHO_N "(cached) $ECHO_C" >&6
20619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20622 # Is the header compilable?
20623 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20625 cat >conftest.
$ac_ext <<_ACEOF
20628 cat confdefs.h
>>conftest.
$ac_ext
20629 cat >>conftest.
$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 $ac_includes_default
20632 #include <$ac_header>
20634 rm -f conftest.
$ac_objext
20635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20636 (eval $ac_compile) 2>conftest.er1
20638 grep -v '^ *+' conftest.er1
>conftest.err
20640 cat conftest.err
>&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } &&
20643 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20645 (eval $ac_try) 2>&5
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); }; } &&
20649 { ac_try
='test -s conftest.$ac_objext'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; }; then
20655 ac_header_compiler
=yes
20657 echo "$as_me: failed program was:" >&5
20658 sed 's/^/| /' conftest.
$ac_ext >&5
20660 ac_header_compiler
=no
20662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20663 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20664 echo "${ECHO_T}$ac_header_compiler" >&6
20666 # Is the header present?
20667 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20668 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20669 cat >conftest.
$ac_ext <<_ACEOF
20672 cat confdefs.h
>>conftest.
$ac_ext
20673 cat >>conftest.
$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675 #include <$ac_header>
20677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20678 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20680 grep -v '^ *+' conftest.er1
>conftest.err
20682 cat conftest.err
>&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); } >/dev
/null
; then
20685 if test -s conftest.err
; then
20686 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20687 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20694 if test -z "$ac_cpp_err"; then
20695 ac_header_preproc
=yes
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.
$ac_ext >&5
20700 ac_header_preproc
=no
20702 rm -f conftest.err conftest.
$ac_ext
20703 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20704 echo "${ECHO_T}$ac_header_preproc" >&6
20706 # So? What about this header?
20707 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20709 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20710 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20712 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20713 ac_header_preproc
=yes
20716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20719 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20720 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20721 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20722 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20723 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20726 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20727 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20730 ## ----------------------------------------- ##
20731 ## Report this to wx-dev@lists.wxwidgets.org ##
20732 ## ----------------------------------------- ##
20735 sed "s/^/$as_me: WARNING: /" >&2
20738 echo "$as_me:$LINENO: checking for $ac_header" >&5
20739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20741 echo $ECHO_N "(cached) $ECHO_C" >&6
20743 eval "$as_ac_Header=\$ac_header_preproc"
20745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20750 cat >>confdefs.h
<<_ACEOF
20751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20759 if test "$ac_cv_header_iostream" = "yes" ; then
20762 cat >>confdefs.h
<<\_ACEOF
20763 #define wxUSE_IOSTREAMH 1
20769 ac_cpp
='$CPP $CPPFLAGS'
20770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20777 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20778 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20779 if test "${wx_cv_cpp_bool+set}" = set; then
20780 echo $ECHO_N "(cached) $ECHO_C" >&6
20786 ac_cpp
='$CXXCPP $CPPFLAGS'
20787 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20788 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20789 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20792 cat >conftest.
$ac_ext <<_ACEOF
20795 cat confdefs.h
>>conftest.
$ac_ext
20796 cat >>conftest.
$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20812 rm -f conftest.
$ac_objext
20813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20814 (eval $ac_compile) 2>conftest.er1
20816 grep -v '^ *+' conftest.er1
>conftest.err
20818 cat conftest.err
>&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } &&
20821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20823 (eval $ac_try) 2>&5
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); }; } &&
20827 { ac_try
='test -s conftest.$ac_objext'
20828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829 (eval $ac_try) 2>&5
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; }; then
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.
$ac_ext >&5
20845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20848 ac_cpp
='$CPP $CPPFLAGS'
20849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20855 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20856 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20858 if test "$wx_cv_cpp_bool" = "yes"; then
20859 cat >>confdefs.h
<<\_ACEOF
20860 #define HAVE_BOOL 1
20867 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20868 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20869 if test "${wx_cv_explicit+set}" = set; then
20870 echo $ECHO_N "(cached) $ECHO_C" >&6
20876 ac_cpp
='$CXXCPP $CPPFLAGS'
20877 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20878 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20879 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20882 cat >conftest.
$ac_ext <<_ACEOF
20885 cat confdefs.h
>>conftest.
$ac_ext
20886 cat >>conftest.
$ac_ext <<_ACEOF
20887 /* end confdefs.h. */
20889 class Foo { public: explicit Foo(int) {} };
20901 rm -f conftest.
$ac_objext
20902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20903 (eval $ac_compile) 2>conftest.er1
20905 grep -v '^ *+' conftest.er1
>conftest.err
20907 cat conftest.err
>&5
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); } &&
20910 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20912 (eval $ac_try) 2>&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); }; } &&
20916 { ac_try
='test -s conftest.$ac_objext'
20917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20918 (eval $ac_try) 2>&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); }; }; then
20923 cat >conftest.
$ac_ext <<_ACEOF
20926 cat confdefs.h
>>conftest.
$ac_ext
20927 cat >>conftest.
$ac_ext <<_ACEOF
20928 /* end confdefs.h. */
20930 class Foo { public: explicit Foo(int) {} };
20931 static void TakeFoo(const Foo& foo) { }
20944 rm -f conftest.
$ac_objext
20945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20946 (eval $ac_compile) 2>conftest.er1
20948 grep -v '^ *+' conftest.er1
>conftest.err
20950 cat conftest.err
>&5
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); } &&
20953 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20955 (eval $ac_try) 2>&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; } &&
20959 { ac_try
='test -s conftest.$ac_objext'
20960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20961 (eval $ac_try) 2>&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); }; }; then
20967 echo "$as_me: failed program was:" >&5
20968 sed 's/^/| /' conftest.
$ac_ext >&5
20973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20976 echo "$as_me: failed program was:" >&5
20977 sed 's/^/| /' conftest.
$ac_ext >&5
20982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20985 ac_cpp
='$CPP $CPPFLAGS'
20986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20992 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20993 echo "${ECHO_T}$wx_cv_explicit" >&6
20995 if test "$wx_cv_explicit" = "yes"; then
20996 cat >>confdefs.h
<<\_ACEOF
20997 #define HAVE_EXPLICIT 1
21003 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21004 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21005 if test "${ac_cv_cxx_const_cast+set}" = set; then
21006 echo $ECHO_N "(cached) $ECHO_C" >&6
21011 ac_cpp
='$CXXCPP $CPPFLAGS'
21012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21016 cat >conftest.
$ac_ext <<_ACEOF
21019 cat confdefs.h
>>conftest.
$ac_ext
21020 cat >>conftest.
$ac_ext <<_ACEOF
21021 /* end confdefs.h. */
21026 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21031 rm -f conftest.
$ac_objext
21032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21033 (eval $ac_compile) 2>conftest.er1
21035 grep -v '^ *+' conftest.er1
>conftest.err
21037 cat conftest.err
>&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } &&
21040 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21042 (eval $ac_try) 2>&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); }; } &&
21046 { ac_try
='test -s conftest.$ac_objext'
21047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21048 (eval $ac_try) 2>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; }; then
21052 ac_cv_cxx_const_cast
=yes
21054 echo "$as_me: failed program was:" >&5
21055 sed 's/^/| /' conftest.
$ac_ext >&5
21057 ac_cv_cxx_const_cast
=no
21059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21061 ac_cpp
='$CPP $CPPFLAGS'
21062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21068 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21069 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21070 if test "$ac_cv_cxx_const_cast" = yes; then
21072 cat >>confdefs.h
<<\_ACEOF
21073 #define HAVE_CONST_CAST
21078 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21079 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21080 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21081 echo $ECHO_N "(cached) $ECHO_C" >&6
21086 ac_cpp
='$CXXCPP $CPPFLAGS'
21087 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21088 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21089 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21091 cat >conftest.
$ac_ext <<_ACEOF
21094 cat confdefs.h
>>conftest.
$ac_ext
21095 cat >>conftest.
$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 #include <typeinfo>
21098 class Base { public : Base () {} virtual void f () = 0;};
21099 class Derived : public Base { public : Derived () {} virtual void f () {} };
21100 class Unrelated { public : Unrelated () {} };
21101 int g (Unrelated&) { return 0; }
21106 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21111 rm -f conftest.
$ac_objext
21112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21113 (eval $ac_compile) 2>conftest.er1
21115 grep -v '^ *+' conftest.er1
>conftest.err
21117 cat conftest.err
>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); } &&
21120 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21122 (eval $ac_try) 2>&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); }; } &&
21126 { ac_try
='test -s conftest.$ac_objext'
21127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21128 (eval $ac_try) 2>&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); }; }; then
21132 ac_cv_cxx_reinterpret_cast
=yes
21134 echo "$as_me: failed program was:" >&5
21135 sed 's/^/| /' conftest.
$ac_ext >&5
21137 ac_cv_cxx_reinterpret_cast
=no
21139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21141 ac_cpp
='$CPP $CPPFLAGS'
21142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21148 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21149 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21150 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21152 cat >>confdefs.h
<<\_ACEOF
21153 #define HAVE_REINTERPRET_CAST
21158 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21159 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21160 if test "${ac_cv_cxx_static_cast+set}" = set; then
21161 echo $ECHO_N "(cached) $ECHO_C" >&6
21166 ac_cpp
='$CXXCPP $CPPFLAGS'
21167 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21168 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21169 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21171 cat >conftest.
$ac_ext <<_ACEOF
21174 cat confdefs.h
>>conftest.
$ac_ext
21175 cat >>conftest.
$ac_ext <<_ACEOF
21176 /* end confdefs.h. */
21177 #include <typeinfo>
21178 class Base { public : Base () {} virtual void f () = 0; };
21179 class Derived : public Base { public : Derived () {} virtual void f () {} };
21180 int g (Derived&) { return 0; }
21185 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21190 rm -f conftest.
$ac_objext
21191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21192 (eval $ac_compile) 2>conftest.er1
21194 grep -v '^ *+' conftest.er1
>conftest.err
21196 cat conftest.err
>&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); } &&
21199 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
21205 { ac_try
='test -s conftest.$ac_objext'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; }; then
21211 ac_cv_cxx_static_cast
=yes
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.
$ac_ext >&5
21216 ac_cv_cxx_static_cast
=no
21218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21220 ac_cpp
='$CPP $CPPFLAGS'
21221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21227 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21228 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21229 if test "$ac_cv_cxx_static_cast" = yes; then
21231 cat >>confdefs.h
<<\_ACEOF
21232 #define HAVE_STATIC_CAST
21238 if test "$wxUSE_UNICODE" = "yes" -a \
21239 \
( "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes" \
); then
21241 ac_cpp
='$CXXCPP $CPPFLAGS'
21242 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21243 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21244 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21247 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21248 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21249 cat >conftest.
$ac_ext <<_ACEOF
21252 cat confdefs.h
>>conftest.
$ac_ext
21253 cat >>conftest.
$ac_ext <<_ACEOF
21254 /* end confdefs.h. */
21264 rm -f conftest.
$ac_objext
21265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21266 (eval $ac_compile) 2>conftest.er1
21268 grep -v '^ *+' conftest.er1
>conftest.err
21270 cat conftest.err
>&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); } &&
21273 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21275 (eval $ac_try) 2>&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; } &&
21279 { ac_try
='test -s conftest.$ac_objext'
21280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21281 (eval $ac_try) 2>&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); }; }; then
21285 echo "$as_me:$LINENO: result: yes" >&5
21286 echo "${ECHO_T}yes" >&6
21287 cat >>confdefs.h
<<\_ACEOF
21288 #define HAVE_STD_WSTRING 1
21292 echo "$as_me: failed program was:" >&5
21293 sed 's/^/| /' conftest.
$ac_ext >&5
21295 echo "$as_me:$LINENO: result: no" >&5
21296 echo "${ECHO_T}no" >&6
21297 echo "$as_me:$LINENO: checking if std::basic_string<wchar_t> works" >&5
21298 echo $ECHO_N "checking if std::basic_string<wchar_t> works... $ECHO_C" >&6
21299 cat >conftest.
$ac_ext <<_ACEOF
21302 cat confdefs.h
>>conftest.
$ac_ext
21303 cat >>conftest.
$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21306 #ifdef HAVE_WCHAR_H
21308 # include <stddef.h>
21310 # include <wchar.h>
21312 #ifdef HAVE_STDLIB_H
21313 # include <stdlib.h>
21321 std::basic_string<wchar_t> foo;
21322 const wchar_t* dummy = foo.c_str();
21327 rm -f conftest.
$ac_objext
21328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21329 (eval $ac_compile) 2>conftest.er1
21331 grep -v '^ *+' conftest.er1
>conftest.err
21333 cat conftest.err
>&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); } &&
21336 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21338 (eval $ac_try) 2>&5
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); }; } &&
21342 { ac_try
='test -s conftest.$ac_objext'
21343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21344 (eval $ac_try) 2>&5
21346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347 (exit $ac_status); }; }; then
21348 echo "$as_me:$LINENO: result: yes" >&5
21349 echo "${ECHO_T}yes" >&6
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.
$ac_ext >&5
21354 echo "$as_me:$LINENO: result: no" >&5
21355 echo "${ECHO_T}no" >&6
21356 { { echo "$as_me:$LINENO: error: Can't compile without unicode string class" >&5
21357 echo "$as_me: error: Can't compile without unicode string class" >&2;}
21358 { (exit 1); exit 1; }; }
21361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21367 ac_cpp
='$CPP $CPPFLAGS'
21368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21374 if test "$wxUSE_STL" = "yes"; then
21376 ac_cpp
='$CXXCPP $CPPFLAGS'
21377 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21378 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21379 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21382 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21383 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21384 cat >conftest.
$ac_ext <<_ACEOF
21387 cat confdefs.h
>>conftest.
$ac_ext
21388 cat >>conftest.
$ac_ext <<_ACEOF
21389 /* end confdefs.h. */
21391 #include <functional>
21392 #include <algorithm>
21398 std::vector<int> moo;
21399 std::list<int> foo;
21400 std::vector<int>::iterator it =
21401 std::find_if(moo.begin(), moo.end(),
21402 std::bind2nd(std::less<int>(), 3));
21407 rm -f conftest.
$ac_objext
21408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21409 (eval $ac_compile) 2>conftest.er1
21411 grep -v '^ *+' conftest.er1
>conftest.err
21413 cat conftest.err
>&5
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); } &&
21416 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21418 (eval $ac_try) 2>&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); }; } &&
21422 { ac_try
='test -s conftest.$ac_objext'
21423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21424 (eval $ac_try) 2>&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); }; }; then
21428 echo "$as_me:$LINENO: result: yes" >&5
21429 echo "${ECHO_T}yes" >&6
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.
$ac_ext >&5
21434 echo "$as_me:$LINENO: result: no" >&5
21435 echo "${ECHO_T}no" >&6
21436 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21437 echo "$as_me: error: Basic STL functionality missing" >&2;}
21438 { (exit 1); exit 1; }; }
21440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21442 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21443 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21444 cat >conftest.
$ac_ext <<_ACEOF
21447 cat confdefs.h
>>conftest.
$ac_ext
21448 cat >>conftest.
$ac_ext <<_ACEOF
21449 /* end confdefs.h. */
21454 std::string foo, bar;
21456 foo.compare(1, 1, bar);
21457 foo.compare(1, 1, bar, 1, 1);
21459 foo.compare(1, 1, "");
21460 foo.compare(1, 1, "", 2);
21465 rm -f conftest.
$ac_objext
21466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21467 (eval $ac_compile) 2>conftest.er1
21469 grep -v '^ *+' conftest.er1
>conftest.err
21471 cat conftest.err
>&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); } &&
21474 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21476 (eval $ac_try) 2>&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); }; } &&
21480 { ac_try
='test -s conftest.$ac_objext'
21481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482 (eval $ac_try) 2>&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); }; }; then
21486 echo "$as_me:$LINENO: result: yes" >&5
21487 echo "${ECHO_T}yes" >&6
21488 cat >>confdefs.h
<<\_ACEOF
21489 #define HAVE_STD_STRING_COMPARE 1
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.
$ac_ext >&5
21496 echo "$as_me:$LINENO: result: no" >&5
21497 echo "${ECHO_T}no" >&6
21499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21501 if test "${ac_cv_header_hash_map+set}" = set; then
21502 echo "$as_me:$LINENO: checking for hash_map" >&5
21503 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21504 if test "${ac_cv_header_hash_map+set}" = set; then
21505 echo $ECHO_N "(cached) $ECHO_C" >&6
21507 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21508 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21510 # Is the header compilable?
21511 echo "$as_me:$LINENO: checking hash_map usability" >&5
21512 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21513 cat >conftest.
$ac_ext <<_ACEOF
21516 cat confdefs.h
>>conftest.
$ac_ext
21517 cat >>conftest.
$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21519 $ac_includes_default
21520 #include <hash_map>
21522 rm -f conftest.
$ac_objext
21523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21524 (eval $ac_compile) 2>conftest.er1
21526 grep -v '^ *+' conftest.er1
>conftest.err
21528 cat conftest.err
>&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } &&
21531 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21533 (eval $ac_try) 2>&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; } &&
21537 { ac_try
='test -s conftest.$ac_objext'
21538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21539 (eval $ac_try) 2>&5
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); }; }; then
21543 ac_header_compiler
=yes
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.
$ac_ext >&5
21548 ac_header_compiler
=no
21550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21552 echo "${ECHO_T}$ac_header_compiler" >&6
21554 # Is the header present?
21555 echo "$as_me:$LINENO: checking hash_map presence" >&5
21556 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21557 cat >conftest.
$ac_ext <<_ACEOF
21560 cat confdefs.h
>>conftest.
$ac_ext
21561 cat >>conftest.
$ac_ext <<_ACEOF
21562 /* end confdefs.h. */
21563 #include <hash_map>
21565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21566 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21568 grep -v '^ *+' conftest.er1
>conftest.err
21570 cat conftest.err
>&5
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); } >/dev
/null
; then
21573 if test -s conftest.err
; then
21574 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21575 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21582 if test -z "$ac_cpp_err"; then
21583 ac_header_preproc
=yes
21585 echo "$as_me: failed program was:" >&5
21586 sed 's/^/| /' conftest.
$ac_ext >&5
21588 ac_header_preproc
=no
21590 rm -f conftest.err conftest.
$ac_ext
21591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21592 echo "${ECHO_T}$ac_header_preproc" >&6
21594 # So? What about this header?
21595 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21597 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21598 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21599 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21600 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21601 ac_header_preproc
=yes
21604 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21605 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21606 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21607 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21608 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21609 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21610 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21611 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21612 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21613 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21614 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21615 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21618 ## ----------------------------------------- ##
21619 ## Report this to wx-dev@lists.wxwidgets.org ##
21620 ## ----------------------------------------- ##
21623 sed "s/^/$as_me: WARNING: /" >&2
21626 echo "$as_me:$LINENO: checking for hash_map" >&5
21627 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21628 if test "${ac_cv_header_hash_map+set}" = set; then
21629 echo $ECHO_N "(cached) $ECHO_C" >&6
21631 ac_cv_header_hash_map
=$ac_header_preproc
21633 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21634 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21637 if test $ac_cv_header_hash_map = yes; then
21638 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21639 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21640 cat >conftest.
$ac_ext <<_ACEOF
21643 cat confdefs.h
>>conftest.
$ac_ext
21644 cat >>conftest.
$ac_ext <<_ACEOF
21645 /* end confdefs.h. */
21646 #include <hash_map>
21647 #include <hash_set>
21651 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21652 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21657 rm -f conftest.
$ac_objext
21658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21659 (eval $ac_compile) 2>conftest.er1
21661 grep -v '^ *+' conftest.er1
>conftest.err
21663 cat conftest.err
>&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); } &&
21666 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668 (eval $ac_try) 2>&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); }; } &&
21672 { ac_try
='test -s conftest.$ac_objext'
21673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674 (eval $ac_try) 2>&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); }; }; then
21678 echo "$as_me:$LINENO: result: yes" >&5
21679 echo "${ECHO_T}yes" >&6
21680 cat >>confdefs.h
<<\_ACEOF
21681 #define HAVE_HASH_MAP 1
21684 cat >>confdefs.h
<<\_ACEOF
21685 #define HAVE_STD_HASH_MAP 1
21689 echo "$as_me: failed program was:" >&5
21690 sed 's/^/| /' conftest.
$ac_ext >&5
21692 echo "$as_me:$LINENO: result: no" >&5
21693 echo "${ECHO_T}no" >&6
21695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21701 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21702 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21703 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21704 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21705 echo $ECHO_N "(cached) $ECHO_C" >&6
21707 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21708 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21710 # Is the header compilable?
21711 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21712 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21713 cat >conftest.
$ac_ext <<_ACEOF
21716 cat confdefs.h
>>conftest.
$ac_ext
21717 cat >>conftest.
$ac_ext <<_ACEOF
21718 /* end confdefs.h. */
21719 $ac_includes_default
21720 #include <ext/hash_map>
21722 rm -f conftest.
$ac_objext
21723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21724 (eval $ac_compile) 2>conftest.er1
21726 grep -v '^ *+' conftest.er1
>conftest.err
21728 cat conftest.err
>&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } &&
21731 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21733 (eval $ac_try) 2>&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); }; } &&
21737 { ac_try
='test -s conftest.$ac_objext'
21738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739 (eval $ac_try) 2>&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; }; then
21743 ac_header_compiler
=yes
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.
$ac_ext >&5
21748 ac_header_compiler
=no
21750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21752 echo "${ECHO_T}$ac_header_compiler" >&6
21754 # Is the header present?
21755 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21756 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21757 cat >conftest.
$ac_ext <<_ACEOF
21760 cat confdefs.h
>>conftest.
$ac_ext
21761 cat >>conftest.
$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 #include <ext/hash_map>
21765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21766 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21768 grep -v '^ *+' conftest.er1
>conftest.err
21770 cat conftest.err
>&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } >/dev
/null
; then
21773 if test -s conftest.err
; then
21774 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21775 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21782 if test -z "$ac_cpp_err"; then
21783 ac_header_preproc
=yes
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.
$ac_ext >&5
21788 ac_header_preproc
=no
21790 rm -f conftest.err conftest.
$ac_ext
21791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21792 echo "${ECHO_T}$ac_header_preproc" >&6
21794 # So? What about this header?
21795 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21797 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21798 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21799 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21800 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21801 ac_header_preproc
=yes
21804 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21805 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21806 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21807 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21808 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21809 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21810 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21811 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21812 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21813 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21814 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21815 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21818 ## ----------------------------------------- ##
21819 ## Report this to wx-dev@lists.wxwidgets.org ##
21820 ## ----------------------------------------- ##
21823 sed "s/^/$as_me: WARNING: /" >&2
21826 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21827 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21828 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21829 echo $ECHO_N "(cached) $ECHO_C" >&6
21831 ac_cv_header_ext_hash_map
=$ac_header_preproc
21833 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21834 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21837 if test $ac_cv_header_ext_hash_map = yes; then
21838 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21839 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21840 cat >conftest.
$ac_ext <<_ACEOF
21843 cat confdefs.h
>>conftest.
$ac_ext
21844 cat >>conftest.
$ac_ext <<_ACEOF
21845 /* end confdefs.h. */
21846 #include <ext/hash_map>
21847 #include <ext/hash_set>
21851 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21852 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21857 rm -f conftest.
$ac_objext
21858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21859 (eval $ac_compile) 2>conftest.er1
21861 grep -v '^ *+' conftest.er1
>conftest.err
21863 cat conftest.err
>&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); } &&
21866 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868 (eval $ac_try) 2>&5
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); }; } &&
21872 { ac_try
='test -s conftest.$ac_objext'
21873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21874 (eval $ac_try) 2>&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); }; }; then
21878 echo "$as_me:$LINENO: result: yes" >&5
21879 echo "${ECHO_T}yes" >&6
21880 cat >>confdefs.h
<<\_ACEOF
21881 #define HAVE_EXT_HASH_MAP 1
21884 cat >>confdefs.h
<<\_ACEOF
21885 #define HAVE_GNU_CXX_HASH_MAP 1
21889 echo "$as_me: failed program was:" >&5
21890 sed 's/^/| /' conftest.
$ac_ext >&5
21892 echo "$as_me:$LINENO: result: no" >&5
21893 echo "${ECHO_T}no" >&6
21895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21902 ac_cpp
='$CPP $CPPFLAGS'
21903 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21904 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21905 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21911 /usr/local/include \
21913 /usr/Motif-2.1/include \
21914 /usr/Motif-1.2/include \
21915 /usr/include/Motif1.2 \
21916 /opt/xpm/include/X11 \
21917 /opt/GBxpm/include/ \
21918 /opt/GBxpm/X11/include/ \
21921 /usr/openwin/include \
21925 /usr/X11R6/include \
21926 /usr/X11R6.4/include \
21927 /usr/X11R5/include \
21928 /usr/X11R4/include \
21930 /usr/include/X11R6 \
21931 /usr/include/X11R5 \
21932 /usr/include/X11R4 \
21934 /usr/local/X11R6/include \
21935 /usr/local/X11R5/include \
21936 /usr/local/X11R4/include \
21938 /usr/local/include/X11R6 \
21939 /usr/local/include/X11R5 \
21940 /usr/local/include/X11R4 \
21944 /usr/local/X11/include \
21945 /usr/local/include/X11 \
21947 /usr/X386/include \
21948 /usr/x386/include \
21949 /usr/XFree86/include/X11 \
21951 X:/XFree86/include \
21952 X:/XFree86/include/X11 \
21955 /usr/local/include/gtk \
21956 /usr/include/glib \
21957 /usr/local/include/glib \
21960 /usr/local/include/qt \
21962 /usr/local/arm/3.3.2/include \
21964 /usr/include/windows \
21965 /usr/include/wine \
21966 /usr/local/include/wine \
21968 /usr/unsupported/include \
21969 /usr/athena/include \
21970 /usr/local/x11r5/include \
21971 /usr/lpp/Xamples/include \
21973 /usr/openwin/share/include"
21975 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21978 cat >confcache
<<\_ACEOF
21979 # This file is a shell script that caches the results of configure
21980 # tests run on this system so they can be shared between configure
21981 # scripts and configure runs, see configure's option --config-cache.
21982 # It is not useful on other systems. If it contains results you don't
21983 # want to keep, you may remove or edit it.
21985 # config.status only pays attention to the cache file if you give it
21986 # the --recheck option to rerun configure.
21988 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21989 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21990 # following values.
21994 # The following way of writing the cache mishandles newlines in values,
21995 # but we know of no workaround that is simple, portable, and efficient.
21996 # So, don't put newlines in cache variables' values.
21997 # Ultrix sh set writes to stderr and can't be redirected directly,
21998 # and sets the high bit in the cache file unless we assign to the vars.
22001 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22003 # `set' does not quote correctly, so add quotes (double-quote
22004 # substitution turns \\\\ into \\, and sed turns \\ into \).
22007 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22010 # `set' quotes correctly as required by POSIX, so do not add quotes.
22012 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22019 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22021 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22023 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22024 if test -w $cache_file; then
22025 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22026 cat confcache
>$cache_file
22028 echo "not updating unwritable cache $cache_file"
22033 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22034 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22035 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22036 if test "${wx_cv_lib_glibc21+set}" = set; then
22037 echo $ECHO_N "(cached) $ECHO_C" >&6
22040 cat >conftest.
$ac_ext <<_ACEOF
22043 cat confdefs.h
>>conftest.
$ac_ext
22044 cat >>conftest.
$ac_ext <<_ACEOF
22045 /* end confdefs.h. */
22046 #include <features.h>
22051 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22052 #error not glibc2.1
22059 rm -f conftest.
$ac_objext
22060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22061 (eval $ac_compile) 2>conftest.er1
22063 grep -v '^ *+' conftest.er1
>conftest.err
22065 cat conftest.err
>&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } &&
22068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22070 (eval $ac_try) 2>&5
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; } &&
22074 { ac_try
='test -s conftest.$ac_objext'
22075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22076 (eval $ac_try) 2>&5
22078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079 (exit $ac_status); }; }; then
22081 wx_cv_lib_glibc21
=yes
22084 echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.
$ac_ext >&5
22088 wx_cv_lib_glibc21
=no
22092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22095 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22096 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22097 if test "$wx_cv_lib_glibc21" = "yes"; then
22098 cat >>confdefs.h
<<\_ACEOF
22099 #define wxHAVE_GLIBC2 1
22105 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22106 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22107 cat >>confdefs.h
<<\_ACEOF
22108 #define _GNU_SOURCE 1
22116 if test "$wxUSE_REGEX" != "no"; then
22117 cat >>confdefs.h
<<\_ACEOF
22118 #define wxUSE_REGEX 1
22122 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22123 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22124 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22125 wxUSE_REGEX
=builtin
22128 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22129 if test "${ac_cv_header_regex_h+set}" = set; then
22130 echo "$as_me:$LINENO: checking for regex.h" >&5
22131 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22132 if test "${ac_cv_header_regex_h+set}" = set; then
22133 echo $ECHO_N "(cached) $ECHO_C" >&6
22135 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22136 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22138 # Is the header compilable?
22139 echo "$as_me:$LINENO: checking regex.h usability" >&5
22140 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22141 cat >conftest.
$ac_ext <<_ACEOF
22144 cat confdefs.h
>>conftest.
$ac_ext
22145 cat >>conftest.
$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 $ac_includes_default
22150 rm -f conftest.
$ac_objext
22151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22152 (eval $ac_compile) 2>conftest.er1
22154 grep -v '^ *+' conftest.er1
>conftest.err
22156 cat conftest.err
>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); } &&
22159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22161 (eval $ac_try) 2>&5
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); }; } &&
22165 { ac_try
='test -s conftest.$ac_objext'
22166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22167 (eval $ac_try) 2>&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); }; }; then
22171 ac_header_compiler
=yes
22173 echo "$as_me: failed program was:" >&5
22174 sed 's/^/| /' conftest.
$ac_ext >&5
22176 ac_header_compiler
=no
22178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22180 echo "${ECHO_T}$ac_header_compiler" >&6
22182 # Is the header present?
22183 echo "$as_me:$LINENO: checking regex.h presence" >&5
22184 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22185 cat >conftest.
$ac_ext <<_ACEOF
22188 cat confdefs.h
>>conftest.
$ac_ext
22189 cat >>conftest.
$ac_ext <<_ACEOF
22190 /* end confdefs.h. */
22193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22194 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22196 grep -v '^ *+' conftest.er1
>conftest.err
22198 cat conftest.err
>&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); } >/dev
/null
; then
22201 if test -s conftest.err
; then
22202 ac_cpp_err
=$ac_c_preproc_warn_flag
22203 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22210 if test -z "$ac_cpp_err"; then
22211 ac_header_preproc
=yes
22213 echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.
$ac_ext >&5
22216 ac_header_preproc
=no
22218 rm -f conftest.err conftest.
$ac_ext
22219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22220 echo "${ECHO_T}$ac_header_preproc" >&6
22222 # So? What about this header?
22223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22225 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22226 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22227 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22228 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22229 ac_header_preproc
=yes
22232 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22233 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22234 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22235 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22236 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22237 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22238 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22239 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22240 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22241 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22242 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22243 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22246 ## ----------------------------------------- ##
22247 ## Report this to wx-dev@lists.wxwidgets.org ##
22248 ## ----------------------------------------- ##
22251 sed "s/^/$as_me: WARNING: /" >&2
22254 echo "$as_me:$LINENO: checking for regex.h" >&5
22255 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22256 if test "${ac_cv_header_regex_h+set}" = set; then
22257 echo $ECHO_N "(cached) $ECHO_C" >&6
22259 ac_cv_header_regex_h
=$ac_header_preproc
22261 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22262 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22265 if test $ac_cv_header_regex_h = yes; then
22267 for ac_func
in regcomp
22269 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22270 echo "$as_me:$LINENO: checking for $ac_func" >&5
22271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22272 if eval "test \"\${$as_ac_var+set}\" = set"; then
22273 echo $ECHO_N "(cached) $ECHO_C" >&6
22275 cat >conftest.
$ac_ext <<_ACEOF
22278 cat confdefs.h
>>conftest.
$ac_ext
22279 cat >>conftest.
$ac_ext <<_ACEOF
22280 /* end confdefs.h. */
22281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22283 #define $ac_func innocuous_$ac_func
22285 /* System header to define __stub macros and hopefully few prototypes,
22286 which can conflict with char $ac_func (); below.
22287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22288 <limits.h> exists even on freestanding compilers. */
22291 # include <limits.h>
22293 # include <assert.h>
22298 /* Override any gcc2 internal prototype to avoid an error. */
22303 /* We use char because int might match the return type of a gcc2
22304 builtin and then its argument prototype would still apply. */
22306 /* The GNU C library defines this for functions which it implements
22307 to always fail with ENOSYS. Some functions are actually named
22308 something starting with __ and the normal name is an alias. */
22309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22312 char (*f) () = $ac_func;
22321 return f != $ac_func;
22326 rm -f conftest.
$ac_objext conftest
$ac_exeext
22327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22328 (eval $ac_link) 2>conftest.er1
22330 grep -v '^ *+' conftest.er1
>conftest.err
22332 cat conftest.err
>&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); } &&
22335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22337 (eval $ac_try) 2>&5
22339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22340 (exit $ac_status); }; } &&
22341 { ac_try
='test -s conftest$ac_exeext'
22342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22343 (eval $ac_try) 2>&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); }; }; then
22347 eval "$as_ac_var=yes"
22349 echo "$as_me: failed program was:" >&5
22350 sed 's/^/| /' conftest.
$ac_ext >&5
22352 eval "$as_ac_var=no"
22354 rm -f conftest.err conftest.
$ac_objext \
22355 conftest
$ac_exeext conftest.
$ac_ext
22357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22359 if test `eval echo '${'$as_ac_var'}'` = yes; then
22360 cat >>confdefs.h
<<_ACEOF
22361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22371 if test "x$ac_cv_func_regcomp" != "xyes"; then
22372 if test "$wxUSE_REGEX" = "sys" ; then
22373 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22374 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22375 { (exit 1); exit 1; }; }
22377 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22378 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22379 wxUSE_REGEX
=builtin
22383 cat >>confdefs.h
<<\_ACEOF
22384 #define WX_NO_REGEX_ADVANCED 1
22393 if test "$wxUSE_ZLIB" != "no" ; then
22394 cat >>confdefs.h
<<\_ACEOF
22395 #define wxUSE_ZLIB 1
22399 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22400 if test "$USE_DARWIN" = 1; then
22401 system_zlib_h_ok
="yes"
22403 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22404 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22405 if test "${ac_cv_header_zlib_h+set}" = set; then
22406 echo $ECHO_N "(cached) $ECHO_C" >&6
22408 if test "$cross_compiling" = yes; then
22409 unset ac_cv_header_zlib_h
22412 cat >conftest.
$ac_ext <<_ACEOF
22415 cat confdefs.h
>>conftest.
$ac_ext
22416 cat >>conftest.
$ac_ext <<_ACEOF
22417 /* end confdefs.h. */
22424 FILE *f=fopen("conftestval", "w");
22427 ZLIB_VERSION[0] == '1' &&
22428 (ZLIB_VERSION[2] > '1' ||
22429 (ZLIB_VERSION[2] == '1' &&
22430 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22435 rm -f conftest
$ac_exeext
22436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22437 (eval $ac_link) 2>&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22442 (eval $ac_try) 2>&5
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); }; }; then
22446 ac_cv_header_zlib_h
=`cat conftestval`
22448 echo "$as_me: program exited with status $ac_status" >&5
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.
$ac_ext >&5
22452 ( exit $ac_status )
22453 ac_cv_header_zlib_h
=no
22455 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22459 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22460 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22461 if test "${ac_cv_header_zlib_h+set}" = set; then
22462 echo "$as_me:$LINENO: checking for zlib.h" >&5
22463 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22464 if test "${ac_cv_header_zlib_h+set}" = set; then
22465 echo $ECHO_N "(cached) $ECHO_C" >&6
22467 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22468 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22470 # Is the header compilable?
22471 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22472 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22473 cat >conftest.
$ac_ext <<_ACEOF
22476 cat confdefs.h
>>conftest.
$ac_ext
22477 cat >>conftest.
$ac_ext <<_ACEOF
22478 /* end confdefs.h. */
22479 $ac_includes_default
22482 rm -f conftest.
$ac_objext
22483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22484 (eval $ac_compile) 2>conftest.er1
22486 grep -v '^ *+' conftest.er1
>conftest.err
22488 cat conftest.err
>&5
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); } &&
22491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; } &&
22497 { ac_try
='test -s conftest.$ac_objext'
22498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499 (eval $ac_try) 2>&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; }; then
22503 ac_header_compiler
=yes
22505 echo "$as_me: failed program was:" >&5
22506 sed 's/^/| /' conftest.
$ac_ext >&5
22508 ac_header_compiler
=no
22510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22512 echo "${ECHO_T}$ac_header_compiler" >&6
22514 # Is the header present?
22515 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22516 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22517 cat >conftest.
$ac_ext <<_ACEOF
22520 cat confdefs.h
>>conftest.
$ac_ext
22521 cat >>conftest.
$ac_ext <<_ACEOF
22522 /* end confdefs.h. */
22525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22528 grep -v '^ *+' conftest.er1
>conftest.err
22530 cat conftest.err
>&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); } >/dev
/null
; then
22533 if test -s conftest.err
; then
22534 ac_cpp_err
=$ac_c_preproc_warn_flag
22535 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22542 if test -z "$ac_cpp_err"; then
22543 ac_header_preproc
=yes
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.
$ac_ext >&5
22548 ac_header_preproc
=no
22550 rm -f conftest.err conftest.
$ac_ext
22551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22552 echo "${ECHO_T}$ac_header_preproc" >&6
22554 # So? What about this header?
22555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22557 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22558 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22559 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22560 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22561 ac_header_preproc
=yes
22564 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22565 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22566 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22567 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22568 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22569 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22570 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22571 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22572 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22573 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22574 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22575 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22578 ## ----------------------------------------- ##
22579 ## Report this to wx-dev@lists.wxwidgets.org ##
22580 ## ----------------------------------------- ##
22583 sed "s/^/$as_me: WARNING: /" >&2
22586 echo "$as_me:$LINENO: checking for zlib.h" >&5
22587 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22588 if test "${ac_cv_header_zlib_h+set}" = set; then
22589 echo $ECHO_N "(cached) $ECHO_C" >&6
22591 ac_cv_header_zlib_h
=$ac_header_preproc
22593 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22594 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22600 system_zlib_h_ok
=$ac_cv_header_zlib_h
22603 if test "$system_zlib_h_ok" = "yes"; then
22604 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22605 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22606 if test "${ac_cv_lib_z_deflate+set}" = set; then
22607 echo $ECHO_N "(cached) $ECHO_C" >&6
22609 ac_check_lib_save_LIBS
=$LIBS
22611 cat >conftest.
$ac_ext <<_ACEOF
22614 cat confdefs.h
>>conftest.
$ac_ext
22615 cat >>conftest.
$ac_ext <<_ACEOF
22616 /* end confdefs.h. */
22618 /* Override any gcc2 internal prototype to avoid an error. */
22622 /* We use char because int might match the return type of a gcc2
22623 builtin and then its argument prototype would still apply. */
22633 rm -f conftest.
$ac_objext conftest
$ac_exeext
22634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22635 (eval $ac_link) 2>conftest.er1
22637 grep -v '^ *+' conftest.er1
>conftest.err
22639 cat conftest.err
>&5
22640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641 (exit $ac_status); } &&
22642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22644 (eval $ac_try) 2>&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); }; } &&
22648 { ac_try
='test -s conftest$ac_exeext'
22649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650 (eval $ac_try) 2>&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; }; then
22654 ac_cv_lib_z_deflate
=yes
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.
$ac_ext >&5
22659 ac_cv_lib_z_deflate
=no
22661 rm -f conftest.err conftest.
$ac_objext \
22662 conftest
$ac_exeext conftest.
$ac_ext
22663 LIBS
=$ac_check_lib_save_LIBS
22665 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22666 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22667 if test $ac_cv_lib_z_deflate = yes; then
22673 if test "x$ZLIB_LINK" = "x" ; then
22674 if test "$wxUSE_ZLIB" = "sys" ; then
22675 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22676 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22677 { (exit 1); exit 1; }; }
22679 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22680 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22691 if test "$wxUSE_LIBPNG" != "no" ; then
22692 cat >>confdefs.h
<<\_ACEOF
22693 #define wxUSE_LIBPNG 1
22697 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22698 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22699 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22703 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22704 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22705 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22706 wxUSE_LIBPNG
=builtin
22709 if test "$wxUSE_MGL" != 1 ; then
22710 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22711 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22712 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22713 if test "${ac_cv_header_png_h+set}" = set; then
22714 echo $ECHO_N "(cached) $ECHO_C" >&6
22716 if test "$cross_compiling" = yes; then
22717 unset ac_cv_header_png_h
22720 cat >conftest.
$ac_ext <<_ACEOF
22723 cat confdefs.h
>>conftest.
$ac_ext
22724 cat >>conftest.
$ac_ext <<_ACEOF
22725 /* end confdefs.h. */
22732 FILE *f=fopen("conftestval", "w");
22735 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22740 rm -f conftest
$ac_exeext
22741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22742 (eval $ac_link) 2>&5
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22747 (eval $ac_try) 2>&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); }; }; then
22751 ac_cv_header_png_h
=`cat conftestval`
22753 echo "$as_me: program exited with status $ac_status" >&5
22754 echo "$as_me: failed program was:" >&5
22755 sed 's/^/| /' conftest.
$ac_ext >&5
22757 ( exit $ac_status )
22758 ac_cv_header_png_h
=no
22760 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22764 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22765 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22766 if test "${ac_cv_header_png_h+set}" = set; then
22767 echo "$as_me:$LINENO: checking for png.h" >&5
22768 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22769 if test "${ac_cv_header_png_h+set}" = set; then
22770 echo $ECHO_N "(cached) $ECHO_C" >&6
22772 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22773 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22775 # Is the header compilable?
22776 echo "$as_me:$LINENO: checking png.h usability" >&5
22777 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22778 cat >conftest.
$ac_ext <<_ACEOF
22781 cat confdefs.h
>>conftest.
$ac_ext
22782 cat >>conftest.
$ac_ext <<_ACEOF
22783 /* end confdefs.h. */
22784 $ac_includes_default
22787 rm -f conftest.
$ac_objext
22788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22789 (eval $ac_compile) 2>conftest.er1
22791 grep -v '^ *+' conftest.er1
>conftest.err
22793 cat conftest.err
>&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); } &&
22796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22798 (eval $ac_try) 2>&5
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); }; } &&
22802 { ac_try
='test -s conftest.$ac_objext'
22803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22804 (eval $ac_try) 2>&5
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); }; }; then
22808 ac_header_compiler
=yes
22810 echo "$as_me: failed program was:" >&5
22811 sed 's/^/| /' conftest.
$ac_ext >&5
22813 ac_header_compiler
=no
22815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22817 echo "${ECHO_T}$ac_header_compiler" >&6
22819 # Is the header present?
22820 echo "$as_me:$LINENO: checking png.h presence" >&5
22821 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22822 cat >conftest.
$ac_ext <<_ACEOF
22825 cat confdefs.h
>>conftest.
$ac_ext
22826 cat >>conftest.
$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22833 grep -v '^ *+' conftest.er1
>conftest.err
22835 cat conftest.err
>&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } >/dev
/null
; then
22838 if test -s conftest.err
; then
22839 ac_cpp_err
=$ac_c_preproc_warn_flag
22840 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22847 if test -z "$ac_cpp_err"; then
22848 ac_header_preproc
=yes
22850 echo "$as_me: failed program was:" >&5
22851 sed 's/^/| /' conftest.
$ac_ext >&5
22853 ac_header_preproc
=no
22855 rm -f conftest.err conftest.
$ac_ext
22856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22857 echo "${ECHO_T}$ac_header_preproc" >&6
22859 # So? What about this header?
22860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22862 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22863 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22864 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22865 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22866 ac_header_preproc
=yes
22869 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22870 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22871 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22872 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22873 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22874 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22875 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22876 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22877 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22878 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22879 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22880 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22883 ## ----------------------------------------- ##
22884 ## Report this to wx-dev@lists.wxwidgets.org ##
22885 ## ----------------------------------------- ##
22888 sed "s/^/$as_me: WARNING: /" >&2
22891 echo "$as_me:$LINENO: checking for png.h" >&5
22892 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22893 if test "${ac_cv_header_png_h+set}" = set; then
22894 echo $ECHO_N "(cached) $ECHO_C" >&6
22896 ac_cv_header_png_h
=$ac_header_preproc
22898 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22899 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22905 if test "$ac_cv_header_png_h" = "yes"; then
22906 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22907 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22908 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22909 echo $ECHO_N "(cached) $ECHO_C" >&6
22911 ac_check_lib_save_LIBS
=$LIBS
22912 LIBS
="-lpng -lz -lm $LIBS"
22913 cat >conftest.
$ac_ext <<_ACEOF
22916 cat confdefs.h
>>conftest.
$ac_ext
22917 cat >>conftest.
$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22920 /* Override any gcc2 internal prototype to avoid an error. */
22924 /* We use char because int might match the return type of a gcc2
22925 builtin and then its argument prototype would still apply. */
22926 char png_check_sig ();
22935 rm -f conftest.
$ac_objext conftest
$ac_exeext
22936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22937 (eval $ac_link) 2>conftest.er1
22939 grep -v '^ *+' conftest.er1
>conftest.err
22941 cat conftest.err
>&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } &&
22944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22946 (eval $ac_try) 2>&5
22948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22949 (exit $ac_status); }; } &&
22950 { ac_try
='test -s conftest$ac_exeext'
22951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22952 (eval $ac_try) 2>&5
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); }; }; then
22956 ac_cv_lib_png_png_check_sig
=yes
22958 echo "$as_me: failed program was:" >&5
22959 sed 's/^/| /' conftest.
$ac_ext >&5
22961 ac_cv_lib_png_png_check_sig
=no
22963 rm -f conftest.err conftest.
$ac_objext \
22964 conftest
$ac_exeext conftest.
$ac_ext
22965 LIBS
=$ac_check_lib_save_LIBS
22967 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22968 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22969 if test $ac_cv_lib_png_png_check_sig = yes; then
22970 PNG_LINK
=" -lpng -lz"
22975 if test "x$PNG_LINK" = "x" ; then
22976 if test "$wxUSE_LIBPNG" = "sys" ; then
22977 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22978 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22979 { (exit 1); exit 1; }; }
22981 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22982 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22983 wxUSE_LIBPNG
=builtin
22991 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
22996 if test "$wxUSE_LIBJPEG" != "no" ; then
22997 cat >>confdefs.h
<<\_ACEOF
22998 #define wxUSE_LIBJPEG 1
23002 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23003 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23004 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23008 if test "$wxUSE_MGL" != 1 ; then
23009 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23010 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23011 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23012 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23013 echo $ECHO_N "(cached) $ECHO_C" >&6
23015 cat >conftest.
$ac_ext <<_ACEOF
23018 cat confdefs.h
>>conftest.
$ac_ext
23019 cat >>conftest.
$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23022 #undef HAVE_STDLIB_H
23024 #include <jpeglib.h>
23035 rm -f conftest.
$ac_objext
23036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23037 (eval $ac_compile) 2>conftest.er1
23039 grep -v '^ *+' conftest.er1
>conftest.err
23041 cat conftest.err
>&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); } &&
23044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23046 (eval $ac_try) 2>&5
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); }; } &&
23050 { ac_try
='test -s conftest.$ac_objext'
23051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23052 (eval $ac_try) 2>&5
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); }; }; then
23056 ac_cv_header_jpeglib_h
=yes
23058 echo "$as_me: failed program was:" >&5
23059 sed 's/^/| /' conftest.
$ac_ext >&5
23061 ac_cv_header_jpeglib_h
=no
23064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23068 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23069 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23071 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23072 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23073 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23074 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23075 echo $ECHO_N "(cached) $ECHO_C" >&6
23077 ac_check_lib_save_LIBS
=$LIBS
23078 LIBS
="-ljpeg $LIBS"
23079 cat >conftest.
$ac_ext <<_ACEOF
23082 cat confdefs.h
>>conftest.
$ac_ext
23083 cat >>conftest.
$ac_ext <<_ACEOF
23084 /* end confdefs.h. */
23086 /* Override any gcc2 internal prototype to avoid an error. */
23090 /* We use char because int might match the return type of a gcc2
23091 builtin and then its argument prototype would still apply. */
23092 char jpeg_read_header ();
23096 jpeg_read_header ();
23101 rm -f conftest.
$ac_objext conftest
$ac_exeext
23102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23103 (eval $ac_link) 2>conftest.er1
23105 grep -v '^ *+' conftest.er1
>conftest.err
23107 cat conftest.err
>&5
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); } &&
23110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; } &&
23116 { ac_try
='test -s conftest$ac_exeext'
23117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23118 (eval $ac_try) 2>&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); }; }; then
23122 ac_cv_lib_jpeg_jpeg_read_header
=yes
23124 echo "$as_me: failed program was:" >&5
23125 sed 's/^/| /' conftest.
$ac_ext >&5
23127 ac_cv_lib_jpeg_jpeg_read_header
=no
23129 rm -f conftest.err conftest.
$ac_objext \
23130 conftest
$ac_exeext conftest.
$ac_ext
23131 LIBS
=$ac_check_lib_save_LIBS
23133 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23134 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23135 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23136 JPEG_LINK
=" -ljpeg"
23141 if test "x$JPEG_LINK" = "x" ; then
23142 if test "$wxUSE_LIBJPEG" = "sys" ; then
23143 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23144 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23145 { (exit 1); exit 1; }; }
23147 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23148 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23149 wxUSE_LIBJPEG
=builtin
23160 TIFF_PREREQ_LINKS
=-lm
23161 if test "$wxUSE_LIBTIFF" != "no" ; then
23162 cat >>confdefs.h
<<\_ACEOF
23163 #define wxUSE_LIBTIFF 1
23167 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23168 if test "$wxUSE_LIBJPEG" = "sys"; then
23169 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23171 if test "$wxUSE_ZLIB" = "sys"; then
23172 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23174 if test "${ac_cv_header_tiffio_h+set}" = set; then
23175 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23176 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23177 if test "${ac_cv_header_tiffio_h+set}" = set; then
23178 echo $ECHO_N "(cached) $ECHO_C" >&6
23180 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23181 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23183 # Is the header compilable?
23184 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23185 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23186 cat >conftest.
$ac_ext <<_ACEOF
23189 cat confdefs.h
>>conftest.
$ac_ext
23190 cat >>conftest.
$ac_ext <<_ACEOF
23191 /* end confdefs.h. */
23192 $ac_includes_default
23193 #include <tiffio.h>
23195 rm -f conftest.
$ac_objext
23196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23197 (eval $ac_compile) 2>conftest.er1
23199 grep -v '^ *+' conftest.er1
>conftest.err
23201 cat conftest.err
>&5
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); } &&
23204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206 (eval $ac_try) 2>&5
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; } &&
23210 { ac_try
='test -s conftest.$ac_objext'
23211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23212 (eval $ac_try) 2>&5
23214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215 (exit $ac_status); }; }; then
23216 ac_header_compiler
=yes
23218 echo "$as_me: failed program was:" >&5
23219 sed 's/^/| /' conftest.
$ac_ext >&5
23221 ac_header_compiler
=no
23223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23224 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23225 echo "${ECHO_T}$ac_header_compiler" >&6
23227 # Is the header present?
23228 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23229 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23230 cat >conftest.
$ac_ext <<_ACEOF
23233 cat confdefs.h
>>conftest.
$ac_ext
23234 cat >>conftest.
$ac_ext <<_ACEOF
23235 /* end confdefs.h. */
23236 #include <tiffio.h>
23238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23239 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23241 grep -v '^ *+' conftest.er1
>conftest.err
23243 cat conftest.err
>&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); } >/dev
/null
; then
23246 if test -s conftest.err
; then
23247 ac_cpp_err
=$ac_c_preproc_warn_flag
23248 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23255 if test -z "$ac_cpp_err"; then
23256 ac_header_preproc
=yes
23258 echo "$as_me: failed program was:" >&5
23259 sed 's/^/| /' conftest.
$ac_ext >&5
23261 ac_header_preproc
=no
23263 rm -f conftest.err conftest.
$ac_ext
23264 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23265 echo "${ECHO_T}$ac_header_preproc" >&6
23267 # So? What about this header?
23268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23270 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23271 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23272 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23273 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23274 ac_header_preproc
=yes
23277 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23278 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23279 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23280 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23281 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23282 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23283 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23284 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23285 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23286 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23287 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23288 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23291 ## ----------------------------------------- ##
23292 ## Report this to wx-dev@lists.wxwidgets.org ##
23293 ## ----------------------------------------- ##
23296 sed "s/^/$as_me: WARNING: /" >&2
23299 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23300 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23301 if test "${ac_cv_header_tiffio_h+set}" = set; then
23302 echo $ECHO_N "(cached) $ECHO_C" >&6
23304 ac_cv_header_tiffio_h
=$ac_header_preproc
23306 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23307 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23310 if test $ac_cv_header_tiffio_h = yes; then
23312 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23313 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23314 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23315 echo $ECHO_N "(cached) $ECHO_C" >&6
23317 ac_check_lib_save_LIBS
=$LIBS
23318 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23319 cat >conftest.
$ac_ext <<_ACEOF
23322 cat confdefs.h
>>conftest.
$ac_ext
23323 cat >>conftest.
$ac_ext <<_ACEOF
23324 /* end confdefs.h. */
23326 /* Override any gcc2 internal prototype to avoid an error. */
23330 /* We use char because int might match the return type of a gcc2
23331 builtin and then its argument prototype would still apply. */
23341 rm -f conftest.
$ac_objext conftest
$ac_exeext
23342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23343 (eval $ac_link) 2>conftest.er1
23345 grep -v '^ *+' conftest.er1
>conftest.err
23347 cat conftest.err
>&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); } &&
23350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; } &&
23356 { ac_try
='test -s conftest$ac_exeext'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 ac_cv_lib_tiff_TIFFError
=yes
23364 echo "$as_me: failed program was:" >&5
23365 sed 's/^/| /' conftest.
$ac_ext >&5
23367 ac_cv_lib_tiff_TIFFError
=no
23369 rm -f conftest.err conftest.
$ac_objext \
23370 conftest
$ac_exeext conftest.
$ac_ext
23371 LIBS
=$ac_check_lib_save_LIBS
23373 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23374 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23375 if test $ac_cv_lib_tiff_TIFFError = yes; then
23376 TIFF_LINK
=" -ltiff"
23385 if test "x$TIFF_LINK" = "x" ; then
23386 if test "$wxUSE_LIBTIFF" = "sys" ; then
23387 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23388 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23389 { (exit 1); exit 1; }; }
23391 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23392 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23393 wxUSE_LIBTIFF
=builtin
23402 if test "$wxUSE_EXPAT" != "no"; then
23404 cat >>confdefs.h
<<\_ACEOF
23405 #define wxUSE_EXPAT 1
23408 cat >>confdefs.h
<<\_ACEOF
23409 #define wxUSE_XML 1
23413 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23414 if test "${ac_cv_header_expat_h+set}" = set; then
23415 echo "$as_me:$LINENO: checking for expat.h" >&5
23416 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23417 if test "${ac_cv_header_expat_h+set}" = set; then
23418 echo $ECHO_N "(cached) $ECHO_C" >&6
23420 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23421 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23423 # Is the header compilable?
23424 echo "$as_me:$LINENO: checking expat.h usability" >&5
23425 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23426 cat >conftest.
$ac_ext <<_ACEOF
23429 cat confdefs.h
>>conftest.
$ac_ext
23430 cat >>conftest.
$ac_ext <<_ACEOF
23431 /* end confdefs.h. */
23432 $ac_includes_default
23435 rm -f conftest.
$ac_objext
23436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23437 (eval $ac_compile) 2>conftest.er1
23439 grep -v '^ *+' conftest.er1
>conftest.err
23441 cat conftest.err
>&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); } &&
23444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446 (eval $ac_try) 2>&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; } &&
23450 { ac_try
='test -s conftest.$ac_objext'
23451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23452 (eval $ac_try) 2>&5
23454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455 (exit $ac_status); }; }; then
23456 ac_header_compiler
=yes
23458 echo "$as_me: failed program was:" >&5
23459 sed 's/^/| /' conftest.
$ac_ext >&5
23461 ac_header_compiler
=no
23463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23465 echo "${ECHO_T}$ac_header_compiler" >&6
23467 # Is the header present?
23468 echo "$as_me:$LINENO: checking expat.h presence" >&5
23469 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23470 cat >conftest.
$ac_ext <<_ACEOF
23473 cat confdefs.h
>>conftest.
$ac_ext
23474 cat >>conftest.
$ac_ext <<_ACEOF
23475 /* end confdefs.h. */
23478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23479 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23481 grep -v '^ *+' conftest.er1
>conftest.err
23483 cat conftest.err
>&5
23484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485 (exit $ac_status); } >/dev
/null
; then
23486 if test -s conftest.err
; then
23487 ac_cpp_err
=$ac_c_preproc_warn_flag
23488 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23495 if test -z "$ac_cpp_err"; then
23496 ac_header_preproc
=yes
23498 echo "$as_me: failed program was:" >&5
23499 sed 's/^/| /' conftest.
$ac_ext >&5
23501 ac_header_preproc
=no
23503 rm -f conftest.err conftest.
$ac_ext
23504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23505 echo "${ECHO_T}$ac_header_preproc" >&6
23507 # So? What about this header?
23508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23510 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23511 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23512 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23513 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23514 ac_header_preproc
=yes
23517 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23518 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23519 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23520 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23521 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23522 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23523 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23524 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23525 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23526 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23527 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23528 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23531 ## ----------------------------------------- ##
23532 ## Report this to wx-dev@lists.wxwidgets.org ##
23533 ## ----------------------------------------- ##
23536 sed "s/^/$as_me: WARNING: /" >&2
23539 echo "$as_me:$LINENO: checking for expat.h" >&5
23540 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23541 if test "${ac_cv_header_expat_h+set}" = set; then
23542 echo $ECHO_N "(cached) $ECHO_C" >&6
23544 ac_cv_header_expat_h
=$ac_header_preproc
23546 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23547 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23550 if test $ac_cv_header_expat_h = yes; then
23555 if test "x$found_expat_h" = "x1"; then
23556 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23557 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23558 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23559 echo $ECHO_N "(cached) $ECHO_C" >&6
23565 ac_cpp
='$CXXCPP $CPPFLAGS'
23566 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23567 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23568 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23570 cat >conftest.
$ac_ext <<_ACEOF
23573 cat confdefs.h
>>conftest.
$ac_ext
23574 cat >>conftest.
$ac_ext <<_ACEOF
23575 /* end confdefs.h. */
23585 rm -f conftest.
$ac_objext
23586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23587 (eval $ac_compile) 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_cxx_werror_flag" || test ! -s conftest.err'
23595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23596 (eval $ac_try) 2>&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; } &&
23600 { ac_try
='test -s conftest.$ac_objext'
23601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23602 (eval $ac_try) 2>&5
23604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605 (exit $ac_status); }; }; then
23606 wx_cv_expat_is_not_broken
=yes
23608 echo "$as_me: failed program was:" >&5
23609 sed 's/^/| /' conftest.
$ac_ext >&5
23611 wx_cv_expat_is_not_broken
=no
23614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23616 ac_cpp
='$CPP $CPPFLAGS'
23617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23624 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23625 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23626 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23627 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23628 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23629 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23630 echo $ECHO_N "(cached) $ECHO_C" >&6
23632 ac_check_lib_save_LIBS
=$LIBS
23633 LIBS
="-lexpat $LIBS"
23634 cat >conftest.
$ac_ext <<_ACEOF
23637 cat confdefs.h
>>conftest.
$ac_ext
23638 cat >>conftest.
$ac_ext <<_ACEOF
23639 /* end confdefs.h. */
23641 /* Override any gcc2 internal prototype to avoid an error. */
23645 /* We use char because int might match the return type of a gcc2
23646 builtin and then its argument prototype would still apply. */
23647 char XML_ParserCreate ();
23651 XML_ParserCreate ();
23656 rm -f conftest.
$ac_objext conftest
$ac_exeext
23657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23658 (eval $ac_link) 2>conftest.er1
23660 grep -v '^ *+' conftest.er1
>conftest.err
23662 cat conftest.err
>&5
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); } &&
23665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23667 (eval $ac_try) 2>&5
23669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23670 (exit $ac_status); }; } &&
23671 { ac_try
='test -s conftest$ac_exeext'
23672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23673 (eval $ac_try) 2>&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); }; }; then
23677 ac_cv_lib_expat_XML_ParserCreate
=yes
23679 echo "$as_me: failed program was:" >&5
23680 sed 's/^/| /' conftest.
$ac_ext >&5
23682 ac_cv_lib_expat_XML_ParserCreate
=no
23684 rm -f conftest.err conftest.
$ac_objext \
23685 conftest
$ac_exeext conftest.
$ac_ext
23686 LIBS
=$ac_check_lib_save_LIBS
23688 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23689 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23690 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23691 EXPAT_LINK
=" -lexpat"
23696 if test "x$EXPAT_LINK" = "x" ; then
23697 if test "$wxUSE_EXPAT" = "sys" ; then
23698 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23699 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23700 { (exit 1); exit 1; }; }
23702 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23703 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23704 wxUSE_EXPAT
=builtin
23710 if test "$wxUSE_EXPAT" = "builtin" ; then
23713 subdirs
="$subdirs src/expat"
23720 if test "$wxUSE_LIBMSPACK" != "no"; then
23721 if test "${ac_cv_header_mspack_h+set}" = set; then
23722 echo "$as_me:$LINENO: checking for mspack.h" >&5
23723 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23724 if test "${ac_cv_header_mspack_h+set}" = set; then
23725 echo $ECHO_N "(cached) $ECHO_C" >&6
23727 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23728 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23730 # Is the header compilable?
23731 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23732 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23733 cat >conftest.
$ac_ext <<_ACEOF
23736 cat confdefs.h
>>conftest.
$ac_ext
23737 cat >>conftest.
$ac_ext <<_ACEOF
23738 /* end confdefs.h. */
23739 $ac_includes_default
23740 #include <mspack.h>
23742 rm -f conftest.
$ac_objext
23743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23744 (eval $ac_compile) 2>conftest.er1
23746 grep -v '^ *+' conftest.er1
>conftest.err
23748 cat conftest.err
>&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); } &&
23751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23753 (eval $ac_try) 2>&5
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); }; } &&
23757 { ac_try
='test -s conftest.$ac_objext'
23758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23759 (eval $ac_try) 2>&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); }; }; then
23763 ac_header_compiler
=yes
23765 echo "$as_me: failed program was:" >&5
23766 sed 's/^/| /' conftest.
$ac_ext >&5
23768 ac_header_compiler
=no
23770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23771 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23772 echo "${ECHO_T}$ac_header_compiler" >&6
23774 # Is the header present?
23775 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23776 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23777 cat >conftest.
$ac_ext <<_ACEOF
23780 cat confdefs.h
>>conftest.
$ac_ext
23781 cat >>conftest.
$ac_ext <<_ACEOF
23782 /* end confdefs.h. */
23783 #include <mspack.h>
23785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23786 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23788 grep -v '^ *+' conftest.er1
>conftest.err
23790 cat conftest.err
>&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } >/dev
/null
; then
23793 if test -s conftest.err
; then
23794 ac_cpp_err
=$ac_c_preproc_warn_flag
23795 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23802 if test -z "$ac_cpp_err"; then
23803 ac_header_preproc
=yes
23805 echo "$as_me: failed program was:" >&5
23806 sed 's/^/| /' conftest.
$ac_ext >&5
23808 ac_header_preproc
=no
23810 rm -f conftest.err conftest.
$ac_ext
23811 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23812 echo "${ECHO_T}$ac_header_preproc" >&6
23814 # So? What about this header?
23815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23817 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23818 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23819 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23820 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23821 ac_header_preproc
=yes
23824 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23825 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23826 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23827 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23828 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23829 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23830 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23831 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23832 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23833 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23834 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23835 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23838 ## ----------------------------------------- ##
23839 ## Report this to wx-dev@lists.wxwidgets.org ##
23840 ## ----------------------------------------- ##
23843 sed "s/^/$as_me: WARNING: /" >&2
23846 echo "$as_me:$LINENO: checking for mspack.h" >&5
23847 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23848 if test "${ac_cv_header_mspack_h+set}" = set; then
23849 echo $ECHO_N "(cached) $ECHO_C" >&6
23851 ac_cv_header_mspack_h
=$ac_header_preproc
23853 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23854 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23857 if test $ac_cv_header_mspack_h = yes; then
23862 if test "x$found_mspack_h" = "x1"; then
23863 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23864 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23865 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23866 echo $ECHO_N "(cached) $ECHO_C" >&6
23868 ac_check_lib_save_LIBS
=$LIBS
23869 LIBS
="-lmspack $LIBS"
23870 cat >conftest.
$ac_ext <<_ACEOF
23873 cat confdefs.h
>>conftest.
$ac_ext
23874 cat >>conftest.
$ac_ext <<_ACEOF
23875 /* end confdefs.h. */
23877 /* Override any gcc2 internal prototype to avoid an error. */
23881 /* We use char because int might match the return type of a gcc2
23882 builtin and then its argument prototype would still apply. */
23883 char mspack_create_chm_decompressor ();
23887 mspack_create_chm_decompressor ();
23892 rm -f conftest.
$ac_objext conftest
$ac_exeext
23893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23894 (eval $ac_link) 2>conftest.er1
23896 grep -v '^ *+' conftest.er1
>conftest.err
23898 cat conftest.err
>&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); } &&
23901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23903 (eval $ac_try) 2>&5
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); }; } &&
23907 { ac_try
='test -s conftest$ac_exeext'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; }; then
23913 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23915 echo "$as_me: failed program was:" >&5
23916 sed 's/^/| /' conftest.
$ac_ext >&5
23918 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23920 rm -f conftest.err conftest.
$ac_objext \
23921 conftest
$ac_exeext conftest.
$ac_ext
23922 LIBS
=$ac_check_lib_save_LIBS
23924 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23925 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23926 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23927 MSPACK_LINK
=" -lmspack"
23931 if test "x$MSPACK_LINK" = "x" ; then
23936 if test "$wxUSE_LIBMSPACK" != "no"; then
23937 cat >>confdefs.h
<<\_ACEOF
23938 #define wxUSE_LIBMSPACK 1
23952 if test "$USE_WIN32" = 1 ; then
23954 for ac_header
in w32api.h
23956 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23958 echo "$as_me:$LINENO: checking for $ac_header" >&5
23959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23961 echo $ECHO_N "(cached) $ECHO_C" >&6
23963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23966 # Is the header compilable?
23967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23969 cat >conftest.
$ac_ext <<_ACEOF
23972 cat confdefs.h
>>conftest.
$ac_ext
23973 cat >>conftest.
$ac_ext <<_ACEOF
23974 /* end confdefs.h. */
23975 $ac_includes_default
23976 #include <$ac_header>
23978 rm -f conftest.
$ac_objext
23979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23980 (eval $ac_compile) 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); } &&
23987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23989 (eval $ac_try) 2>&5
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); }; } &&
23993 { ac_try
='test -s conftest.$ac_objext'
23994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23995 (eval $ac_try) 2>&5
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); }; }; then
23999 ac_header_compiler
=yes
24001 echo "$as_me: failed program was:" >&5
24002 sed 's/^/| /' conftest.
$ac_ext >&5
24004 ac_header_compiler
=no
24006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24008 echo "${ECHO_T}$ac_header_compiler" >&6
24010 # Is the header present?
24011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24013 cat >conftest.
$ac_ext <<_ACEOF
24016 cat confdefs.h
>>conftest.
$ac_ext
24017 cat >>conftest.
$ac_ext <<_ACEOF
24018 /* end confdefs.h. */
24019 #include <$ac_header>
24021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24024 grep -v '^ *+' conftest.er1
>conftest.err
24026 cat conftest.err
>&5
24027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); } >/dev
/null
; then
24029 if test -s conftest.err
; then
24030 ac_cpp_err
=$ac_c_preproc_warn_flag
24031 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24038 if test -z "$ac_cpp_err"; then
24039 ac_header_preproc
=yes
24041 echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.
$ac_ext >&5
24044 ac_header_preproc
=no
24046 rm -f conftest.err conftest.
$ac_ext
24047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24048 echo "${ECHO_T}$ac_header_preproc" >&6
24050 # So? What about this header?
24051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24057 ac_header_preproc
=yes
24060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24074 ## ----------------------------------------- ##
24075 ## Report this to wx-dev@lists.wxwidgets.org ##
24076 ## ----------------------------------------- ##
24079 sed "s/^/$as_me: WARNING: /" >&2
24082 echo "$as_me:$LINENO: checking for $ac_header" >&5
24083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24085 echo $ECHO_N "(cached) $ECHO_C" >&6
24087 eval "$as_ac_Header=\$ac_header_preproc"
24089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24094 cat >>confdefs.h
<<_ACEOF
24095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24102 if test "${ac_cv_header_windows_h+set}" = set; then
24103 echo "$as_me:$LINENO: checking for windows.h" >&5
24104 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24105 if test "${ac_cv_header_windows_h+set}" = set; then
24106 echo $ECHO_N "(cached) $ECHO_C" >&6
24108 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24109 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24111 # Is the header compilable?
24112 echo "$as_me:$LINENO: checking windows.h usability" >&5
24113 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24114 cat >conftest.
$ac_ext <<_ACEOF
24117 cat confdefs.h
>>conftest.
$ac_ext
24118 cat >>conftest.
$ac_ext <<_ACEOF
24119 /* end confdefs.h. */
24120 $ac_includes_default
24121 #include <windows.h>
24123 rm -f conftest.
$ac_objext
24124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24125 (eval $ac_compile) 2>conftest.er1
24127 grep -v '^ *+' conftest.er1
>conftest.err
24129 cat conftest.err
>&5
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); } &&
24132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24134 (eval $ac_try) 2>&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); }; } &&
24138 { ac_try
='test -s conftest.$ac_objext'
24139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24140 (eval $ac_try) 2>&5
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); }; }; then
24144 ac_header_compiler
=yes
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.
$ac_ext >&5
24149 ac_header_compiler
=no
24151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24153 echo "${ECHO_T}$ac_header_compiler" >&6
24155 # Is the header present?
24156 echo "$as_me:$LINENO: checking windows.h presence" >&5
24157 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24158 cat >conftest.
$ac_ext <<_ACEOF
24161 cat confdefs.h
>>conftest.
$ac_ext
24162 cat >>conftest.
$ac_ext <<_ACEOF
24163 /* end confdefs.h. */
24164 #include <windows.h>
24166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24167 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24169 grep -v '^ *+' conftest.er1
>conftest.err
24171 cat conftest.err
>&5
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); } >/dev
/null
; then
24174 if test -s conftest.err
; then
24175 ac_cpp_err
=$ac_c_preproc_warn_flag
24176 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24183 if test -z "$ac_cpp_err"; then
24184 ac_header_preproc
=yes
24186 echo "$as_me: failed program was:" >&5
24187 sed 's/^/| /' conftest.
$ac_ext >&5
24189 ac_header_preproc
=no
24191 rm -f conftest.err conftest.
$ac_ext
24192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24193 echo "${ECHO_T}$ac_header_preproc" >&6
24195 # So? What about this header?
24196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24198 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24199 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24200 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24201 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24202 ac_header_preproc
=yes
24205 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24206 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24207 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24208 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24209 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24210 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24211 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24212 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24213 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24214 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24215 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24216 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24219 ## ----------------------------------------- ##
24220 ## Report this to wx-dev@lists.wxwidgets.org ##
24221 ## ----------------------------------------- ##
24224 sed "s/^/$as_me: WARNING: /" >&2
24227 echo "$as_me:$LINENO: checking for windows.h" >&5
24228 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24229 if test "${ac_cv_header_windows_h+set}" = set; then
24230 echo $ECHO_N "(cached) $ECHO_C" >&6
24232 ac_cv_header_windows_h
=$ac_header_preproc
24234 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24235 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24238 if test $ac_cv_header_windows_h = yes; then
24242 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24243 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24244 { (exit 1); exit 1; }; }
24250 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24252 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24253 LIBS
="$LIBS -loleacc"
24258 LIBS
="$LIBS -lkernel32 -luser32"
24259 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24262 if test "$wxUSE_ODBC" = "sys" ; then
24265 if test "$wxUSE_ODBC" = "yes" ; then
24266 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24267 cat >>confdefs.h
<<\_ACEOF
24268 #define wxUSE_ODBC 1
24273 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24274 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24276 WIN32INSTALL
=win32install
24279 if test "$wxUSE_GUI" = "yes"; then
24289 if test "$wxUSE_COCOA" = 1 ; then
24290 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24291 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24292 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24293 wxUSE_PRINTING_ARCHITECTURE
=no
24295 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24296 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24297 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24298 wxUSE_DRAG_AND_DROP
=no
24300 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24301 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24302 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24307 if test "$wxUSE_MSW" = 1 ; then
24313 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24317 if test "$wxUSE_GTK" = 1; then
24318 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24319 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24321 gtk_version_cached
=1
24322 if test "${wx_cv_lib_gtk+set}" = set; then
24323 echo $ECHO_N "(cached) $ECHO_C" >&6
24326 gtk_version_cached
=0
24327 echo "$as_me:$LINENO: result: " >&5
24328 echo "${ECHO_T}" >&6
24331 if test "$wxUSE_THREADS" = "yes"; then
24332 GTK_MODULES
=gthread
24335 if test "x$wxUSE_GTK1" != "xyes" -a "x$wxUSE_GTK2" != "xyes"; then
24340 if test "x$wxUSE_GTK2" = "xyes"; then
24341 # Check whether --enable-gtktest or --disable-gtktest was given.
24342 if test "${enable_gtktest+set}" = set; then
24343 enableval
="$enable_gtktest"
24349 pkg_config_args
=gtk
+-2.0
24350 for module
in .
$GTK_MODULES
24354 pkg_config_args
="$pkg_config_args gthread-2.0"
24361 # Extract the first word of "pkg-config", so it can be a program name with args.
24362 set dummy pkg
-config; ac_word
=$2
24363 echo "$as_me:$LINENO: checking for $ac_word" >&5
24364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24365 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24366 echo $ECHO_N "(cached) $ECHO_C" >&6
24368 case $PKG_CONFIG in
24370 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24374 for as_dir
in $PATH
24377 test -z "$as_dir" && as_dir
=.
24378 for ac_exec_ext
in '' $ac_executable_extensions; do
24379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24380 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24387 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24391 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24393 if test -n "$PKG_CONFIG"; then
24394 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24395 echo "${ECHO_T}$PKG_CONFIG" >&6
24397 echo "$as_me:$LINENO: result: no" >&5
24398 echo "${ECHO_T}no" >&6
24402 if test x
$PKG_CONFIG != xno
; then
24403 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24406 echo "*** pkg-config too old; version 0.7 or better required."
24414 min_gtk_version
=2.0.0
24415 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24416 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24418 if test x
$PKG_CONFIG != xno
; then
24419 ## don't try to run the test against uninstalled libtool libs
24420 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24421 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24425 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24432 if test x
"$no_gtk" = x
; then
24433 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24434 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24435 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24437 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24439 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24441 if test "x$enable_gtktest" = "xyes" ; then
24442 ac_save_CFLAGS
="$CFLAGS"
24443 ac_save_LIBS
="$LIBS"
24444 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24445 LIBS
="$GTK_LIBS $LIBS"
24447 if test "$cross_compiling" = yes; then
24448 echo $ac_n "cross compiling; assumed OK... $ac_c"
24450 cat >conftest.
$ac_ext <<_ACEOF
24453 cat confdefs.h
>>conftest.
$ac_ext
24454 cat >>conftest.
$ac_ext <<_ACEOF
24455 /* end confdefs.h. */
24457 #include <gtk/gtk.h>
24459 #include <stdlib.h>
24464 int major, minor, micro;
24467 system ("touch conf.gtktest");
24469 /* HP/UX 9 (%@#!) writes to sscanf strings */
24470 tmp_version = g_strdup("$min_gtk_version");
24471 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24472 printf("%s, bad version string\n", "$min_gtk_version");
24476 if ((gtk_major_version != $gtk_config_major_version) ||
24477 (gtk_minor_version != $gtk_config_minor_version) ||
24478 (gtk_micro_version != $gtk_config_micro_version))
24480 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24481 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24482 gtk_major_version, gtk_minor_version, gtk_micro_version);
24483 printf ("*** was found! If pkg-config was correct, then it is best\n");
24484 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24485 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24486 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24487 printf("*** required on your system.\n");
24488 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24489 printf("*** to point to the correct configuration files\n");
24491 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24492 (gtk_minor_version != GTK_MINOR_VERSION) ||
24493 (gtk_micro_version != GTK_MICRO_VERSION))
24495 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24496 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24497 printf("*** library (version %d.%d.%d)\n",
24498 gtk_major_version, gtk_minor_version, gtk_micro_version);
24502 if ((gtk_major_version > major) ||
24503 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24504 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24510 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24511 gtk_major_version, gtk_minor_version, gtk_micro_version);
24512 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24513 major, minor, micro);
24514 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24516 printf("*** If you have already installed a sufficiently new version, this error\n");
24517 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24518 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24519 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24520 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24521 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24522 printf("*** so that the correct libraries are found at run-time))\n");
24529 rm -f conftest
$ac_exeext
24530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24531 (eval $ac_link) 2>&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24536 (eval $ac_try) 2>&5
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); }; }; then
24542 echo "$as_me: program exited with status $ac_status" >&5
24543 echo "$as_me: failed program was:" >&5
24544 sed 's/^/| /' conftest.
$ac_ext >&5
24546 ( exit $ac_status )
24549 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24551 CFLAGS
="$ac_save_CFLAGS"
24552 LIBS
="$ac_save_LIBS"
24555 if test "x$no_gtk" = x
; then
24556 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24557 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24560 echo "$as_me:$LINENO: result: no" >&5
24561 echo "${ECHO_T}no" >&6
24562 if test "$PKG_CONFIG" = "no" ; then
24563 echo "*** A new enough version of pkg-config was not found."
24564 echo "*** See http://pkgconfig.sourceforge.net"
24566 if test -f conf.gtktest
; then
24569 echo "*** Could not run GTK+ test program, checking why..."
24570 ac_save_CFLAGS
="$CFLAGS"
24571 ac_save_LIBS
="$LIBS"
24572 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24573 LIBS
="$LIBS $GTK_LIBS"
24574 cat >conftest.
$ac_ext <<_ACEOF
24577 cat confdefs.h
>>conftest.
$ac_ext
24578 cat >>conftest.
$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24581 #include <gtk/gtk.h>
24587 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24592 rm -f conftest.
$ac_objext conftest
$ac_exeext
24593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24594 (eval $ac_link) 2>conftest.er1
24596 grep -v '^ *+' conftest.er1
>conftest.err
24598 cat conftest.err
>&5
24599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600 (exit $ac_status); } &&
24601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24603 (eval $ac_try) 2>&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); }; } &&
24607 { ac_try
='test -s conftest$ac_exeext'
24608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24609 (eval $ac_try) 2>&5
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); }; }; then
24613 echo "*** The test program compiled, but did not run. This usually means"
24614 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24615 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24616 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24617 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24618 echo "*** is required on your system"
24620 echo "*** If you have an old version installed, it is best to remove it, although"
24621 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24623 echo "$as_me: failed program was:" >&5
24624 sed 's/^/| /' conftest.
$ac_ext >&5
24626 echo "*** The test program failed to compile or link. See the file config.log for the"
24627 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24629 rm -f conftest.err conftest.
$ac_objext \
24630 conftest
$ac_exeext conftest.
$ac_ext
24631 CFLAGS
="$ac_save_CFLAGS"
24632 LIBS
="$ac_save_LIBS"
24645 if test -z "$wx_cv_lib_gtk" -a "x$wxUSE_GTK1" = "xyes"; then
24647 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24648 if test "${with_gtk_prefix+set}" = set; then
24649 withval
="$with_gtk_prefix"
24650 gtk_config_prefix
="$withval"
24652 gtk_config_prefix
=""
24655 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24656 if test "${with_gtk_exec_prefix+set}" = set; then
24657 withval
="$with_gtk_exec_prefix"
24658 gtk_config_exec_prefix
="$withval"
24660 gtk_config_exec_prefix
=""
24662 # Check whether --enable-gtktest or --disable-gtktest was given.
24663 if test "${enable_gtktest+set}" = set; then
24664 enableval
="$enable_gtktest"
24670 for module
in .
$GTK_MODULES
24674 gtk_config_args
="$gtk_config_args gthread"
24679 if test x
$gtk_config_exec_prefix != x
; then
24680 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24681 if test x
${GTK_CONFIG+set} != xset
; then
24682 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24685 if test x
$gtk_config_prefix != x
; then
24686 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24687 if test x
${GTK_CONFIG+set} != xset
; then
24688 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24692 # Extract the first word of "gtk-config", so it can be a program name with args.
24693 set dummy gtk
-config; ac_word
=$2
24694 echo "$as_me:$LINENO: checking for $ac_word" >&5
24695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24696 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24697 echo $ECHO_N "(cached) $ECHO_C" >&6
24699 case $GTK_CONFIG in
24701 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24705 for as_dir
in $PATH
24708 test -z "$as_dir" && as_dir
=.
24709 for ac_exec_ext
in '' $ac_executable_extensions; do
24710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24711 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24718 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24722 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24724 if test -n "$GTK_CONFIG"; then
24725 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24726 echo "${ECHO_T}$GTK_CONFIG" >&6
24728 echo "$as_me:$LINENO: result: no" >&5
24729 echo "${ECHO_T}no" >&6
24732 min_gtk_version
=1.2.7
24733 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24734 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24736 if test "$GTK_CONFIG" = "no" ; then
24739 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24740 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24741 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24742 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24743 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24744 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24745 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24746 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24747 if test "x$enable_gtktest" = "xyes" ; then
24748 ac_save_CFLAGS
="$CFLAGS"
24749 ac_save_LIBS
="$LIBS"
24750 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24751 LIBS
="$GTK_LIBS $LIBS"
24753 if test "$cross_compiling" = yes; then
24754 echo $ac_n "cross compiling; assumed OK... $ac_c"
24756 cat >conftest.
$ac_ext <<_ACEOF
24759 cat confdefs.h
>>conftest.
$ac_ext
24760 cat >>conftest.
$ac_ext <<_ACEOF
24761 /* end confdefs.h. */
24763 #include <gtk/gtk.h>
24765 #include <stdlib.h>
24770 int major, minor, micro;
24773 system ("touch conf.gtktest");
24775 /* HP/UX 9 (%@#!) writes to sscanf strings */
24776 tmp_version = g_strdup("$min_gtk_version");
24777 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24778 printf("%s, bad version string\n", "$min_gtk_version");
24782 if ((gtk_major_version != $gtk_config_major_version) ||
24783 (gtk_minor_version != $gtk_config_minor_version) ||
24784 (gtk_micro_version != $gtk_config_micro_version))
24786 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24787 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24788 gtk_major_version, gtk_minor_version, gtk_micro_version);
24789 printf ("*** was found! If gtk-config was correct, then it is best\n");
24790 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24791 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24792 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24793 printf("*** required on your system.\n");
24794 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24795 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24796 printf("*** before re-running configure\n");
24798 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24799 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24800 (gtk_minor_version != GTK_MINOR_VERSION) ||
24801 (gtk_micro_version != GTK_MICRO_VERSION))
24803 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24804 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24805 printf("*** library (version %d.%d.%d)\n",
24806 gtk_major_version, gtk_minor_version, gtk_micro_version);
24808 #endif /* defined (GTK_MAJOR_VERSION) ... */
24811 if ((gtk_major_version > major) ||
24812 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24813 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24819 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24820 gtk_major_version, gtk_minor_version, gtk_micro_version);
24821 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24822 major, minor, micro);
24823 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24825 printf("*** If you have already installed a sufficiently new version, this error\n");
24826 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24827 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24828 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24829 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24830 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24831 printf("*** so that the correct libraries are found at run-time))\n");
24838 rm -f conftest
$ac_exeext
24839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24840 (eval $ac_link) 2>&5
24842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24845 (eval $ac_try) 2>&5
24847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24848 (exit $ac_status); }; }; then
24851 echo "$as_me: program exited with status $ac_status" >&5
24852 echo "$as_me: failed program was:" >&5
24853 sed 's/^/| /' conftest.
$ac_ext >&5
24855 ( exit $ac_status )
24858 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24860 CFLAGS
="$ac_save_CFLAGS"
24861 LIBS
="$ac_save_LIBS"
24864 if test "x$no_gtk" = x
; then
24865 echo "$as_me:$LINENO: result: yes" >&5
24866 echo "${ECHO_T}yes" >&6
24867 wx_cv_lib_gtk
=1.2.7
24869 echo "$as_me:$LINENO: result: no" >&5
24870 echo "${ECHO_T}no" >&6
24871 if test "$GTK_CONFIG" = "no" ; then
24872 echo "*** The gtk-config script installed by GTK could not be found"
24873 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24874 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24875 echo "*** full path to gtk-config."
24877 if test -f conf.gtktest
; then
24880 echo "*** Could not run GTK test program, checking why..."
24881 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24882 LIBS
="$LIBS $GTK_LIBS"
24883 cat >conftest.
$ac_ext <<_ACEOF
24886 cat confdefs.h
>>conftest.
$ac_ext
24887 cat >>conftest.
$ac_ext <<_ACEOF
24888 /* end confdefs.h. */
24890 #include <gtk/gtk.h>
24896 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24901 rm -f conftest.
$ac_objext conftest
$ac_exeext
24902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24903 (eval $ac_link) 2>conftest.er1
24905 grep -v '^ *+' conftest.er1
>conftest.err
24907 cat conftest.err
>&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } &&
24910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912 (eval $ac_try) 2>&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; } &&
24916 { ac_try
='test -s conftest$ac_exeext'
24917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24918 (eval $ac_try) 2>&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); }; }; then
24922 echo "*** The test program compiled, but did not run. This usually means"
24923 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24924 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24925 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24926 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24927 echo "*** is required on your system"
24929 echo "*** If you have an old version installed, it is best to remove it, although"
24930 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24932 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24933 echo "*** came with the system with the command"
24935 echo "*** rpm --erase --nodeps gtk gtk-devel"
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.
$ac_ext >&5
24940 echo "*** The test program failed to compile or link. See the file config.log for the"
24941 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24942 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24943 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24945 rm -f conftest.err conftest.
$ac_objext \
24946 conftest
$ac_exeext conftest.
$ac_ext
24947 CFLAGS
="$ac_save_CFLAGS"
24948 LIBS
="$ac_save_LIBS"
24960 if test -z "$wx_cv_lib_gtk"; then
24962 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24963 if test "${with_gtk_prefix+set}" = set; then
24964 withval
="$with_gtk_prefix"
24965 gtk_config_prefix
="$withval"
24967 gtk_config_prefix
=""
24970 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24971 if test "${with_gtk_exec_prefix+set}" = set; then
24972 withval
="$with_gtk_exec_prefix"
24973 gtk_config_exec_prefix
="$withval"
24975 gtk_config_exec_prefix
=""
24977 # Check whether --enable-gtktest or --disable-gtktest was given.
24978 if test "${enable_gtktest+set}" = set; then
24979 enableval
="$enable_gtktest"
24985 for module
in .
$GTK_MODULES
24989 gtk_config_args
="$gtk_config_args gthread"
24994 if test x
$gtk_config_exec_prefix != x
; then
24995 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24996 if test x
${GTK_CONFIG+set} != xset
; then
24997 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25000 if test x
$gtk_config_prefix != x
; then
25001 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25002 if test x
${GTK_CONFIG+set} != xset
; then
25003 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25007 # Extract the first word of "gtk-config", so it can be a program name with args.
25008 set dummy gtk
-config; ac_word
=$2
25009 echo "$as_me:$LINENO: checking for $ac_word" >&5
25010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25011 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25012 echo $ECHO_N "(cached) $ECHO_C" >&6
25014 case $GTK_CONFIG in
25016 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25020 for as_dir
in $PATH
25023 test -z "$as_dir" && as_dir
=.
25024 for ac_exec_ext
in '' $ac_executable_extensions; do
25025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25026 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25033 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25037 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25039 if test -n "$GTK_CONFIG"; then
25040 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25041 echo "${ECHO_T}$GTK_CONFIG" >&6
25043 echo "$as_me:$LINENO: result: no" >&5
25044 echo "${ECHO_T}no" >&6
25047 min_gtk_version
=1.2.3
25048 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25049 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25051 if test "$GTK_CONFIG" = "no" ; then
25054 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25055 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25056 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25057 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25058 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25059 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25060 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25061 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25062 if test "x$enable_gtktest" = "xyes" ; then
25063 ac_save_CFLAGS
="$CFLAGS"
25064 ac_save_LIBS
="$LIBS"
25065 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25066 LIBS
="$GTK_LIBS $LIBS"
25068 if test "$cross_compiling" = yes; then
25069 echo $ac_n "cross compiling; assumed OK... $ac_c"
25071 cat >conftest.
$ac_ext <<_ACEOF
25074 cat confdefs.h
>>conftest.
$ac_ext
25075 cat >>conftest.
$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25078 #include <gtk/gtk.h>
25080 #include <stdlib.h>
25085 int major, minor, micro;
25088 system ("touch conf.gtktest");
25090 /* HP/UX 9 (%@#!) writes to sscanf strings */
25091 tmp_version = g_strdup("$min_gtk_version");
25092 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25093 printf("%s, bad version string\n", "$min_gtk_version");
25097 if ((gtk_major_version != $gtk_config_major_version) ||
25098 (gtk_minor_version != $gtk_config_minor_version) ||
25099 (gtk_micro_version != $gtk_config_micro_version))
25101 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25102 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25103 gtk_major_version, gtk_minor_version, gtk_micro_version);
25104 printf ("*** was found! If gtk-config was correct, then it is best\n");
25105 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25106 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25107 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25108 printf("*** required on your system.\n");
25109 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25110 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25111 printf("*** before re-running configure\n");
25113 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25114 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25115 (gtk_minor_version != GTK_MINOR_VERSION) ||
25116 (gtk_micro_version != GTK_MICRO_VERSION))
25118 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25119 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25120 printf("*** library (version %d.%d.%d)\n",
25121 gtk_major_version, gtk_minor_version, gtk_micro_version);
25123 #endif /* defined (GTK_MAJOR_VERSION) ... */
25126 if ((gtk_major_version > major) ||
25127 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25128 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25134 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25135 gtk_major_version, gtk_minor_version, gtk_micro_version);
25136 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25137 major, minor, micro);
25138 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25140 printf("*** If you have already installed a sufficiently new version, this error\n");
25141 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25142 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25143 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25144 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25145 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25146 printf("*** so that the correct libraries are found at run-time))\n");
25153 rm -f conftest
$ac_exeext
25154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25155 (eval $ac_link) 2>&5
25157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25160 (eval $ac_try) 2>&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); }; }; then
25166 echo "$as_me: program exited with status $ac_status" >&5
25167 echo "$as_me: failed program was:" >&5
25168 sed 's/^/| /' conftest.
$ac_ext >&5
25170 ( exit $ac_status )
25173 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25175 CFLAGS
="$ac_save_CFLAGS"
25176 LIBS
="$ac_save_LIBS"
25179 if test "x$no_gtk" = x
; then
25180 echo "$as_me:$LINENO: result: yes" >&5
25181 echo "${ECHO_T}yes" >&6
25182 wx_cv_lib_gtk
=1.2.3
25184 echo "$as_me:$LINENO: result: no" >&5
25185 echo "${ECHO_T}no" >&6
25186 if test "$GTK_CONFIG" = "no" ; then
25187 echo "*** The gtk-config script installed by GTK could not be found"
25188 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25189 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25190 echo "*** full path to gtk-config."
25192 if test -f conf.gtktest
; then
25195 echo "*** Could not run GTK test program, checking why..."
25196 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25197 LIBS
="$LIBS $GTK_LIBS"
25198 cat >conftest.
$ac_ext <<_ACEOF
25201 cat confdefs.h
>>conftest.
$ac_ext
25202 cat >>conftest.
$ac_ext <<_ACEOF
25203 /* end confdefs.h. */
25205 #include <gtk/gtk.h>
25211 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25216 rm -f conftest.
$ac_objext conftest
$ac_exeext
25217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25218 (eval $ac_link) 2>conftest.er1
25220 grep -v '^ *+' conftest.er1
>conftest.err
25222 cat conftest.err
>&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); } &&
25225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25227 (eval $ac_try) 2>&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); }; } &&
25231 { ac_try
='test -s conftest$ac_exeext'
25232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25233 (eval $ac_try) 2>&5
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); }; }; then
25237 echo "*** The test program compiled, but did not run. This usually means"
25238 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25239 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25240 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25241 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25242 echo "*** is required on your system"
25244 echo "*** If you have an old version installed, it is best to remove it, although"
25245 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25247 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25248 echo "*** came with the system with the command"
25250 echo "*** rpm --erase --nodeps gtk gtk-devel"
25252 echo "$as_me: failed program was:" >&5
25253 sed 's/^/| /' conftest.
$ac_ext >&5
25255 echo "*** The test program failed to compile or link. See the file config.log for the"
25256 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25257 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25258 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25260 rm -f conftest.err conftest.
$ac_objext \
25261 conftest
$ac_exeext conftest.
$ac_ext
25262 CFLAGS
="$ac_save_CFLAGS"
25263 LIBS
="$ac_save_LIBS"
25277 if test -z "$wx_cv_lib_gtk"; then
25280 wx_cv_cflags_gtk
=$GTK_CFLAGS
25281 wx_cv_libs_gtk
=$GTK_LIBS
25288 if test "$gtk_version_cached" = 1; then
25289 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25290 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25293 case "$wx_cv_lib_gtk" in
25302 *) { { echo "$as_me:$LINENO: error:
25303 The development files for GTK+ were not found. For GTK+ 2, please
25304 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25305 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25306 and that the version is 1.2.3 or above. Also check that the
25307 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25308 --libs' are in the LD_LIBRARY_PATH or equivalent.
25310 echo "$as_me: error:
25311 The development files for GTK+ were not found. For GTK+ 2, please
25312 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25313 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25314 and that the version is 1.2.3 or above. Also check that the
25315 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25316 --libs' are in the LD_LIBRARY_PATH or equivalent.
25318 { (exit 1); exit 1; }; }
25322 if test "$WXGTK20" = 1; then
25323 save_CFLAGS
="$CFLAGS"
25325 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25326 LIBS
="$LIBS $wx_cv_lib_gtk"
25329 for ac_func
in pango_font_family_is_monospace
25331 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25332 echo "$as_me:$LINENO: checking for $ac_func" >&5
25333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25334 if eval "test \"\${$as_ac_var+set}\" = set"; then
25335 echo $ECHO_N "(cached) $ECHO_C" >&6
25337 cat >conftest.
$ac_ext <<_ACEOF
25340 cat confdefs.h
>>conftest.
$ac_ext
25341 cat >>conftest.
$ac_ext <<_ACEOF
25342 /* end confdefs.h. */
25343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25345 #define $ac_func innocuous_$ac_func
25347 /* System header to define __stub macros and hopefully few prototypes,
25348 which can conflict with char $ac_func (); below.
25349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25350 <limits.h> exists even on freestanding compilers. */
25353 # include <limits.h>
25355 # include <assert.h>
25360 /* Override any gcc2 internal prototype to avoid an error. */
25365 /* We use char because int might match the return type of a gcc2
25366 builtin and then its argument prototype would still apply. */
25368 /* The GNU C library defines this for functions which it implements
25369 to always fail with ENOSYS. Some functions are actually named
25370 something starting with __ and the normal name is an alias. */
25371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25374 char (*f) () = $ac_func;
25383 return f != $ac_func;
25388 rm -f conftest.
$ac_objext conftest
$ac_exeext
25389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25390 (eval $ac_link) 2>conftest.er1
25392 grep -v '^ *+' conftest.er1
>conftest.err
25394 cat conftest.err
>&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); } &&
25397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25399 (eval $ac_try) 2>&5
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); }; } &&
25403 { ac_try
='test -s conftest$ac_exeext'
25404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25405 (eval $ac_try) 2>&5
25407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408 (exit $ac_status); }; }; then
25409 eval "$as_ac_var=yes"
25411 echo "$as_me: failed program was:" >&5
25412 sed 's/^/| /' conftest.
$ac_ext >&5
25414 eval "$as_ac_var=no"
25416 rm -f conftest.err conftest.
$ac_objext \
25417 conftest
$ac_exeext conftest.
$ac_ext
25419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25421 if test `eval echo '${'$as_ac_var'}'` = yes; then
25422 cat >>confdefs.h
<<_ACEOF
25423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25430 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25431 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25432 cat >conftest.
$ac_ext <<_ACEOF
25435 cat confdefs.h
>>conftest.
$ac_ext
25436 cat >>conftest.
$ac_ext <<_ACEOF
25437 /* end confdefs.h. */
25439 #include <gtk/gtk.h>
25445 #if !GTK_CHECK_VERSION(2,4,0)
25446 #error "Not GTK+ 2.4"
25453 rm -f conftest.
$ac_objext
25454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25455 (eval $ac_compile) 2>conftest.er1
25457 grep -v '^ *+' conftest.er1
>conftest.err
25459 cat conftest.err
>&5
25460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461 (exit $ac_status); } &&
25462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25464 (eval $ac_try) 2>&5
25466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467 (exit $ac_status); }; } &&
25468 { ac_try
='test -s conftest.$ac_objext'
25469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25470 (eval $ac_try) 2>&5
25472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25473 (exit $ac_status); }; }; then
25475 cat >>confdefs.h
<<\_ACEOF
25476 #define __WXGTK24__ 1
25479 echo "$as_me:$LINENO: result: yes" >&5
25480 echo "${ECHO_T}yes" >&6
25483 echo "$as_me: failed program was:" >&5
25484 sed 's/^/| /' conftest.
$ac_ext >&5
25487 echo "$as_me:$LINENO: result: no" >&5
25488 echo "${ECHO_T}no" >&6
25491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25493 CFLAGS
="$save_CFLAGS"
25496 if test "$wxUSE_UNICODE" = "yes"; then
25497 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25498 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25503 if test "$USE_DARWIN" != 1; then
25505 for ac_func
in poll
25507 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25508 echo "$as_me:$LINENO: checking for $ac_func" >&5
25509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25510 if eval "test \"\${$as_ac_var+set}\" = set"; then
25511 echo $ECHO_N "(cached) $ECHO_C" >&6
25513 cat >conftest.
$ac_ext <<_ACEOF
25516 cat confdefs.h
>>conftest.
$ac_ext
25517 cat >>conftest.
$ac_ext <<_ACEOF
25518 /* end confdefs.h. */
25519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25521 #define $ac_func innocuous_$ac_func
25523 /* System header to define __stub macros and hopefully few prototypes,
25524 which can conflict with char $ac_func (); below.
25525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25526 <limits.h> exists even on freestanding compilers. */
25529 # include <limits.h>
25531 # include <assert.h>
25536 /* Override any gcc2 internal prototype to avoid an error. */
25541 /* We use char because int might match the return type of a gcc2
25542 builtin and then its argument prototype would still apply. */
25544 /* The GNU C library defines this for functions which it implements
25545 to always fail with ENOSYS. Some functions are actually named
25546 something starting with __ and the normal name is an alias. */
25547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25550 char (*f) () = $ac_func;
25559 return f != $ac_func;
25564 rm -f conftest.
$ac_objext conftest
$ac_exeext
25565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25566 (eval $ac_link) 2>conftest.er1
25568 grep -v '^ *+' conftest.er1
>conftest.err
25570 cat conftest.err
>&5
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); } &&
25573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25575 (eval $ac_try) 2>&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); }; } &&
25579 { ac_try
='test -s conftest$ac_exeext'
25580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25581 (eval $ac_try) 2>&5
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); }; }; then
25585 eval "$as_ac_var=yes"
25587 echo "$as_me: failed program was:" >&5
25588 sed 's/^/| /' conftest.
$ac_ext >&5
25590 eval "$as_ac_var=no"
25592 rm -f conftest.err conftest.
$ac_objext \
25593 conftest
$ac_exeext conftest.
$ac_ext
25595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25597 if test `eval echo '${'$as_ac_var'}'` = yes; then
25598 cat >>confdefs.h
<<_ACEOF
25599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25607 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25608 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25610 AFMINSTALL
=afminstall
25614 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25615 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25616 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25619 ac_check_lib_save_LIBS
=$LIBS
25621 cat >conftest.
$ac_ext <<_ACEOF
25624 cat confdefs.h
>>conftest.
$ac_ext
25625 cat >>conftest.
$ac_ext <<_ACEOF
25626 /* end confdefs.h. */
25628 /* Override any gcc2 internal prototype to avoid an error. */
25632 /* We use char because int might match the return type of a gcc2
25633 builtin and then its argument prototype would still apply. */
25634 char gdk_im_open ();
25643 rm -f conftest.
$ac_objext conftest
$ac_exeext
25644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25645 (eval $ac_link) 2>conftest.er1
25647 grep -v '^ *+' conftest.er1
>conftest.err
25649 cat conftest.err
>&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } &&
25652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654 (eval $ac_try) 2>&5
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); }; } &&
25658 { ac_try
='test -s conftest$ac_exeext'
25659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25660 (eval $ac_try) 2>&5
25662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663 (exit $ac_status); }; }; then
25664 ac_cv_lib_gdk_gdk_im_open
=yes
25666 echo "$as_me: failed program was:" >&5
25667 sed 's/^/| /' conftest.
$ac_ext >&5
25669 ac_cv_lib_gdk_gdk_im_open
=no
25671 rm -f conftest.err conftest.
$ac_objext \
25672 conftest
$ac_exeext conftest.
$ac_ext
25673 LIBS
=$ac_check_lib_save_LIBS
25675 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25676 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25677 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25678 cat >>confdefs.h
<<\_ACEOF
25686 if test "$wxUSE_GPE" = "yes"; then
25687 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25688 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25691 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25693 for ac_extension
in a so sl dylib
; do
25694 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25695 ac_find_libraries
=$ac_dir
25701 if test "$ac_find_libraries" != "" ; then
25703 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25705 if test $result = 0; then
25708 ac_path_to_link
=" -L$ac_find_libraries"
25711 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25713 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25714 echo "${ECHO_T}found at $ac_find_libraries" >&6
25716 echo "$as_me:$LINENO: result: not found" >&5
25717 echo "${ECHO_T}not found" >&6
25723 if test "$wxUSE_MGL" = 1; then
25724 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25725 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25726 if test "x$MGL_ROOT" = x
; then
25727 echo "$as_me:$LINENO: result: not found" >&5
25728 echo "${ECHO_T}not found" >&6
25729 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25730 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25731 { (exit 1); exit 1; }; }
25733 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25734 echo "${ECHO_T}$MGL_ROOT" >&6
25737 echo "$as_me:$LINENO: checking for libmgl location" >&5
25738 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25741 if test "x$wxUSE_SHARED" = xyes
; then
25742 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25744 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25748 mgl_os_candidates
="dos32/dj2"
25751 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25752 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25753 { (exit 1); exit 1; }; }
25759 for mgl_os_i
in $mgl_os_candidates ; do
25760 if test "x$mgl_os" = x
; then
25761 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25762 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
25763 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
25768 if test "x$mgl_lib_type" = x
; then
25769 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
25770 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
25771 mgl_lib_type
=release
25778 if test "x$mgl_os" = x
; then
25779 echo "$as_me:$LINENO: result: not found" >&5
25780 echo "${ECHO_T}not found" >&6
25781 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25782 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25783 { (exit 1); exit 1; }; }
25785 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25786 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25788 wxUSE_UNIVERSAL
="yes"
25790 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
25791 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25793 AFMINSTALL
=afminstall
25798 if test "$wxUSE_MICROWIN" = 1; then
25799 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25800 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25801 if test "x$MICROWINDOWS" = x
; then
25802 echo "$as_me:$LINENO: result: not found" >&5
25803 echo "${ECHO_T}not found" >&6
25804 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25805 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25806 { (exit 1); exit 1; }; }
25808 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25809 echo "${ECHO_T}$MICROWINDOWS" >&6
25812 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
25813 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25814 echo "${ECHO_T}MicroWindows' libraries found." >&6
25816 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25817 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25818 { (exit 1); exit 1; }; }
25821 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
25822 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25824 wxUSE_UNIVERSAL
="yes"
25826 AFMINSTALL
=afminstall
25828 GUIDIST
=MICROWIN_DIST
25830 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25833 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25835 if test "x$ac_path_x_has_been_run" != xyes
; then
25836 echo "$as_me:$LINENO: checking for X" >&5
25837 echo $ECHO_N "checking for X... $ECHO_C" >&6
25839 ac_path_x_has_been_run
=yes
25841 # Check whether --with-x or --without-x was given.
25842 if test "${with_x+set}" = set; then
25846 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25847 if test "x$with_x" = xno
; then
25848 # The user explicitly disabled X.
25851 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25852 # Both variables are already set.
25855 if test "${ac_cv_have_x+set}" = set; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25858 # One or both of the vars are not set, and there is no cached value.
25859 ac_x_includes
=no ac_x_libraries
=no
25860 rm -fr conftest.dir
25861 if mkdir conftest.dir
; then
25863 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25864 cat >Imakefile
<<'_ACEOF'
25866 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25868 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25869 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25870 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25871 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25872 for ac_extension
in a so sl
; do
25873 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25874 test -f $ac_im_libdir/libX11.
$ac_extension; then
25875 ac_im_usrlibdir
=$ac_im_libdir; break
25878 # Screen out bogus values from the imake configuration. They are
25879 # bogus both because they are the default anyway, and because
25880 # using them would break gcc on systems where it needs fixed includes.
25881 case $ac_im_incroot in
25883 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25885 case $ac_im_usrlibdir in
25886 /usr
/lib
| /lib
) ;;
25887 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25891 rm -fr conftest.dir
25894 # Standard set of common directories for X headers.
25895 # Check X11 before X11Rn because it is often a symlink to the current release.
25907 /usr/local/X11/include
25908 /usr/local/X11R6/include
25909 /usr/local/X11R5/include
25910 /usr/local/X11R4/include
25912 /usr/local/include/X11
25913 /usr/local/include/X11R6
25914 /usr/local/include/X11R5
25915 /usr/local/include/X11R4
25919 /usr/XFree86/include/X11
25923 /usr/unsupported/include
25924 /usr/athena/include
25925 /usr/local/x11r5/include
25926 /usr/lpp/Xamples/include
25928 /usr/openwin/include
25929 /usr/openwin/share/include'
25931 if test "$ac_x_includes" = no
; then
25932 # Guess where to find include files, by looking for a specified header file.
25933 # First, try using that file with no special directory specified.
25934 cat >conftest.
$ac_ext <<_ACEOF
25937 cat confdefs.h
>>conftest.
$ac_ext
25938 cat >>conftest.
$ac_ext <<_ACEOF
25939 /* end confdefs.h. */
25940 #include <X11/Intrinsic.h>
25942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25945 grep -v '^ *+' conftest.er1
>conftest.err
25947 cat conftest.err
>&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); } >/dev
/null
; then
25950 if test -s conftest.err
; then
25951 ac_cpp_err
=$ac_c_preproc_warn_flag
25952 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25959 if test -z "$ac_cpp_err"; then
25960 # We can compile using X headers with no special include directory.
25963 echo "$as_me: failed program was:" >&5
25964 sed 's/^/| /' conftest.
$ac_ext >&5
25966 for ac_dir
in $ac_x_header_dirs; do
25967 if test -r "$ac_dir/X11/Intrinsic.h"; then
25968 ac_x_includes
=$ac_dir
25973 rm -f conftest.err conftest.
$ac_ext
25974 fi # $ac_x_includes = no
25976 if test "$ac_x_libraries" = no
; then
25977 # Check for the libraries.
25978 # See if we find them without any special options.
25979 # Don't add to $LIBS permanently.
25982 cat >conftest.
$ac_ext <<_ACEOF
25985 cat confdefs.h
>>conftest.
$ac_ext
25986 cat >>conftest.
$ac_ext <<_ACEOF
25987 /* end confdefs.h. */
25988 #include <X11/Intrinsic.h>
25997 rm -f conftest.
$ac_objext conftest
$ac_exeext
25998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25999 (eval $ac_link) 2>conftest.er1
26001 grep -v '^ *+' conftest.er1
>conftest.err
26003 cat conftest.err
>&5
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); } &&
26006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008 (eval $ac_try) 2>&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); }; } &&
26012 { ac_try
='test -s conftest$ac_exeext'
26013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26014 (eval $ac_try) 2>&5
26016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017 (exit $ac_status); }; }; then
26019 # We can link X programs with no special library path.
26022 echo "$as_me: failed program was:" >&5
26023 sed 's/^/| /' conftest.
$ac_ext >&5
26026 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26028 # Don't even attempt the hair of trying to link an X program!
26029 for ac_extension
in a so sl
; do
26030 if test -r $ac_dir/libXt.
$ac_extension; then
26031 ac_x_libraries
=$ac_dir
26037 rm -f conftest.err conftest.
$ac_objext \
26038 conftest
$ac_exeext conftest.
$ac_ext
26039 fi # $ac_x_libraries = no
26041 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26042 # Didn't find X anywhere. Cache the known absence of X.
26043 ac_cv_have_x
="have_x=no"
26045 # Record where we found X for the cache.
26046 ac_cv_have_x
="have_x=yes \
26047 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26052 eval "$ac_cv_have_x"
26055 if test "$have_x" != yes; then
26056 echo "$as_me:$LINENO: result: $have_x" >&5
26057 echo "${ECHO_T}$have_x" >&6
26060 # If each of the values was on the command line, it overrides each guess.
26061 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26062 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26063 # Update the cache value to reflect the command line values.
26064 ac_cv_have_x
="have_x=yes \
26065 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26066 # It might be that x_includes is empty (headers are found in the
26067 # standard search path. Then output the corresponding message
26068 ac_out_x_includes
=$x_includes
26069 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
26070 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26071 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26075 if test "$no_x" = yes; then
26076 # Not all programs may use this symbol, but it does not hurt to define it.
26078 cat >>confdefs.h
<<\_ACEOF
26079 #define X_DISPLAY_MISSING 1
26082 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26084 if test -n "$x_includes"; then
26085 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26088 # It would also be nice to do this for all -L options, not just this one.
26089 if test -n "$x_libraries"; then
26090 X_LIBS
="$X_LIBS -L$x_libraries"
26091 # For Solaris; some versions of Sun CC require a space after -R and
26092 # others require no space. Words are not sufficient . . . .
26093 case `(uname -sr) 2>/dev/null` in
26095 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26096 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26097 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26098 cat >conftest.
$ac_ext <<_ACEOF
26101 cat confdefs.h
>>conftest.
$ac_ext
26102 cat >>conftest.
$ac_ext <<_ACEOF
26103 /* end confdefs.h. */
26113 rm -f conftest.
$ac_objext conftest
$ac_exeext
26114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26115 (eval $ac_link) 2>conftest.er1
26117 grep -v '^ *+' conftest.er1
>conftest.err
26119 cat conftest.err
>&5
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); } &&
26122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26124 (eval $ac_try) 2>&5
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); }; } &&
26128 { ac_try
='test -s conftest$ac_exeext'
26129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26130 (eval $ac_try) 2>&5
26132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26133 (exit $ac_status); }; }; then
26136 echo "$as_me: failed program was:" >&5
26137 sed 's/^/| /' conftest.
$ac_ext >&5
26141 rm -f conftest.err conftest.
$ac_objext \
26142 conftest
$ac_exeext conftest.
$ac_ext
26143 if test $ac_R_nospace = yes; then
26144 echo "$as_me:$LINENO: result: no" >&5
26145 echo "${ECHO_T}no" >&6
26146 X_LIBS
="$X_LIBS -R$x_libraries"
26148 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26149 cat >conftest.
$ac_ext <<_ACEOF
26152 cat confdefs.h
>>conftest.
$ac_ext
26153 cat >>conftest.
$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26164 rm -f conftest.
$ac_objext conftest
$ac_exeext
26165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26166 (eval $ac_link) 2>conftest.er1
26168 grep -v '^ *+' conftest.er1
>conftest.err
26170 cat conftest.err
>&5
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); } &&
26173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26175 (eval $ac_try) 2>&5
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); }; } &&
26179 { ac_try
='test -s conftest$ac_exeext'
26180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181 (eval $ac_try) 2>&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); }; }; then
26187 echo "$as_me: failed program was:" >&5
26188 sed 's/^/| /' conftest.
$ac_ext >&5
26192 rm -f conftest.err conftest.
$ac_objext \
26193 conftest
$ac_exeext conftest.
$ac_ext
26194 if test $ac_R_space = yes; then
26195 echo "$as_me:$LINENO: result: yes" >&5
26196 echo "${ECHO_T}yes" >&6
26197 X_LIBS
="$X_LIBS -R $x_libraries"
26199 echo "$as_me:$LINENO: result: neither works" >&5
26200 echo "${ECHO_T}neither works" >&6
26203 LIBS
=$ac_xsave_LIBS
26207 # Check for system-dependent libraries X programs must link with.
26208 # Do this before checking for the system-independent R6 libraries
26209 # (-lICE), since we may need -lsocket or whatever for X linking.
26211 if test "$ISC" = yes; then
26212 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26214 # Martyn Johnson says this is needed for Ultrix, if the X
26215 # libraries were built with DECnet support. And Karl Berry says
26216 # the Alpha needs dnet_stub (dnet does not exist).
26217 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26218 cat >conftest.
$ac_ext <<_ACEOF
26221 cat confdefs.h
>>conftest.
$ac_ext
26222 cat >>conftest.
$ac_ext <<_ACEOF
26223 /* end confdefs.h. */
26225 /* Override any gcc2 internal prototype to avoid an error. */
26229 /* We use char because int might match the return type of a gcc2
26230 builtin and then its argument prototype would still apply. */
26231 char XOpenDisplay ();
26240 rm -f conftest.
$ac_objext conftest
$ac_exeext
26241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26242 (eval $ac_link) 2>conftest.er1
26244 grep -v '^ *+' conftest.er1
>conftest.err
26246 cat conftest.err
>&5
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); } &&
26249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26251 (eval $ac_try) 2>&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); }; } &&
26255 { ac_try
='test -s conftest$ac_exeext'
26256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26257 (eval $ac_try) 2>&5
26259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260 (exit $ac_status); }; }; then
26263 echo "$as_me: failed program was:" >&5
26264 sed 's/^/| /' conftest.
$ac_ext >&5
26266 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26267 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26268 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26269 echo $ECHO_N "(cached) $ECHO_C" >&6
26271 ac_check_lib_save_LIBS
=$LIBS
26272 LIBS
="-ldnet $LIBS"
26273 cat >conftest.
$ac_ext <<_ACEOF
26276 cat confdefs.h
>>conftest.
$ac_ext
26277 cat >>conftest.
$ac_ext <<_ACEOF
26278 /* end confdefs.h. */
26280 /* Override any gcc2 internal prototype to avoid an error. */
26284 /* We use char because int might match the return type of a gcc2
26285 builtin and then its argument prototype would still apply. */
26295 rm -f conftest.
$ac_objext conftest
$ac_exeext
26296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26297 (eval $ac_link) 2>conftest.er1
26299 grep -v '^ *+' conftest.er1
>conftest.err
26301 cat conftest.err
>&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } &&
26304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26306 (eval $ac_try) 2>&5
26308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309 (exit $ac_status); }; } &&
26310 { ac_try
='test -s conftest$ac_exeext'
26311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26312 (eval $ac_try) 2>&5
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); }; }; then
26316 ac_cv_lib_dnet_dnet_ntoa
=yes
26318 echo "$as_me: failed program was:" >&5
26319 sed 's/^/| /' conftest.
$ac_ext >&5
26321 ac_cv_lib_dnet_dnet_ntoa
=no
26323 rm -f conftest.err conftest.
$ac_objext \
26324 conftest
$ac_exeext conftest.
$ac_ext
26325 LIBS
=$ac_check_lib_save_LIBS
26327 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26328 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26329 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26330 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26333 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26334 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26335 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26336 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26337 echo $ECHO_N "(cached) $ECHO_C" >&6
26339 ac_check_lib_save_LIBS
=$LIBS
26340 LIBS
="-ldnet_stub $LIBS"
26341 cat >conftest.
$ac_ext <<_ACEOF
26344 cat confdefs.h
>>conftest.
$ac_ext
26345 cat >>conftest.
$ac_ext <<_ACEOF
26346 /* end confdefs.h. */
26348 /* Override any gcc2 internal prototype to avoid an error. */
26352 /* We use char because int might match the return type of a gcc2
26353 builtin and then its argument prototype would still apply. */
26363 rm -f conftest.
$ac_objext conftest
$ac_exeext
26364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26365 (eval $ac_link) 2>conftest.er1
26367 grep -v '^ *+' conftest.er1
>conftest.err
26369 cat conftest.err
>&5
26370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371 (exit $ac_status); } &&
26372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26374 (eval $ac_try) 2>&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); }; } &&
26378 { ac_try
='test -s conftest$ac_exeext'
26379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26380 (eval $ac_try) 2>&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); }; }; then
26384 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26386 echo "$as_me: failed program was:" >&5
26387 sed 's/^/| /' conftest.
$ac_ext >&5
26389 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26391 rm -f conftest.err conftest.
$ac_objext \
26392 conftest
$ac_exeext conftest.
$ac_ext
26393 LIBS
=$ac_check_lib_save_LIBS
26395 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26396 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26397 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26398 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26403 rm -f conftest.err conftest.
$ac_objext \
26404 conftest
$ac_exeext conftest.
$ac_ext
26405 LIBS
="$ac_xsave_LIBS"
26407 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26408 # to get the SysV transport functions.
26409 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26411 # The nsl library prevents programs from opening the X display
26412 # on Irix 5.2, according to T.E. Dickey.
26413 # The functions gethostbyname, getservbyname, and inet_addr are
26414 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26415 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26416 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26417 if test "${ac_cv_func_gethostbyname+set}" = set; then
26418 echo $ECHO_N "(cached) $ECHO_C" >&6
26420 cat >conftest.
$ac_ext <<_ACEOF
26423 cat confdefs.h
>>conftest.
$ac_ext
26424 cat >>conftest.
$ac_ext <<_ACEOF
26425 /* end confdefs.h. */
26426 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26428 #define gethostbyname innocuous_gethostbyname
26430 /* System header to define __stub macros and hopefully few prototypes,
26431 which can conflict with char gethostbyname (); below.
26432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26433 <limits.h> exists even on freestanding compilers. */
26436 # include <limits.h>
26438 # include <assert.h>
26441 #undef gethostbyname
26443 /* Override any gcc2 internal prototype to avoid an error. */
26448 /* We use char because int might match the return type of a gcc2
26449 builtin and then its argument prototype would still apply. */
26450 char gethostbyname ();
26451 /* The GNU C library defines this for functions which it implements
26452 to always fail with ENOSYS. Some functions are actually named
26453 something starting with __ and the normal name is an alias. */
26454 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26457 char (*f) () = gethostbyname;
26466 return f != gethostbyname;
26471 rm -f conftest.
$ac_objext conftest
$ac_exeext
26472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26473 (eval $ac_link) 2>conftest.er1
26475 grep -v '^ *+' conftest.er1
>conftest.err
26477 cat conftest.err
>&5
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); } &&
26480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26482 (eval $ac_try) 2>&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); }; } &&
26486 { ac_try
='test -s conftest$ac_exeext'
26487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26488 (eval $ac_try) 2>&5
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); }; }; then
26492 ac_cv_func_gethostbyname
=yes
26494 echo "$as_me: failed program was:" >&5
26495 sed 's/^/| /' conftest.
$ac_ext >&5
26497 ac_cv_func_gethostbyname
=no
26499 rm -f conftest.err conftest.
$ac_objext \
26500 conftest
$ac_exeext conftest.
$ac_ext
26502 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26503 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26505 if test $ac_cv_func_gethostbyname = no
; then
26506 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26507 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26508 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26509 echo $ECHO_N "(cached) $ECHO_C" >&6
26511 ac_check_lib_save_LIBS
=$LIBS
26513 cat >conftest.
$ac_ext <<_ACEOF
26516 cat confdefs.h
>>conftest.
$ac_ext
26517 cat >>conftest.
$ac_ext <<_ACEOF
26518 /* end confdefs.h. */
26520 /* Override any gcc2 internal prototype to avoid an error. */
26524 /* We use char because int might match the return type of a gcc2
26525 builtin and then its argument prototype would still apply. */
26526 char gethostbyname ();
26535 rm -f conftest.
$ac_objext conftest
$ac_exeext
26536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26537 (eval $ac_link) 2>conftest.er1
26539 grep -v '^ *+' conftest.er1
>conftest.err
26541 cat conftest.err
>&5
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); } &&
26544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546 (eval $ac_try) 2>&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); }; } &&
26550 { ac_try
='test -s conftest$ac_exeext'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; }; then
26556 ac_cv_lib_nsl_gethostbyname
=yes
26558 echo "$as_me: failed program was:" >&5
26559 sed 's/^/| /' conftest.
$ac_ext >&5
26561 ac_cv_lib_nsl_gethostbyname
=no
26563 rm -f conftest.err conftest.
$ac_objext \
26564 conftest
$ac_exeext conftest.
$ac_ext
26565 LIBS
=$ac_check_lib_save_LIBS
26567 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26568 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26569 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26570 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26573 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26574 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26575 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26576 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26577 echo $ECHO_N "(cached) $ECHO_C" >&6
26579 ac_check_lib_save_LIBS
=$LIBS
26581 cat >conftest.
$ac_ext <<_ACEOF
26584 cat confdefs.h
>>conftest.
$ac_ext
26585 cat >>conftest.
$ac_ext <<_ACEOF
26586 /* end confdefs.h. */
26588 /* Override any gcc2 internal prototype to avoid an error. */
26592 /* We use char because int might match the return type of a gcc2
26593 builtin and then its argument prototype would still apply. */
26594 char gethostbyname ();
26603 rm -f conftest.
$ac_objext conftest
$ac_exeext
26604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26605 (eval $ac_link) 2>conftest.er1
26607 grep -v '^ *+' conftest.er1
>conftest.err
26609 cat conftest.err
>&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); } &&
26612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; } &&
26618 { ac_try
='test -s conftest$ac_exeext'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; }; then
26624 ac_cv_lib_bsd_gethostbyname
=yes
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.
$ac_ext >&5
26629 ac_cv_lib_bsd_gethostbyname
=no
26631 rm -f conftest.err conftest.
$ac_objext \
26632 conftest
$ac_exeext conftest.
$ac_ext
26633 LIBS
=$ac_check_lib_save_LIBS
26635 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26636 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26637 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26638 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26644 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26645 # socket/setsockopt and other routines are undefined under SCO ODT
26646 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26647 # on later versions), says Simon Leinen: it contains gethostby*
26648 # variants that don't use the name server (or something). -lsocket
26649 # must be given before -lnsl if both are needed. We assume that
26650 # if connect needs -lnsl, so does gethostbyname.
26651 echo "$as_me:$LINENO: checking for connect" >&5
26652 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26653 if test "${ac_cv_func_connect+set}" = set; then
26654 echo $ECHO_N "(cached) $ECHO_C" >&6
26656 cat >conftest.
$ac_ext <<_ACEOF
26659 cat confdefs.h
>>conftest.
$ac_ext
26660 cat >>conftest.
$ac_ext <<_ACEOF
26661 /* end confdefs.h. */
26662 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26664 #define connect innocuous_connect
26666 /* System header to define __stub macros and hopefully few prototypes,
26667 which can conflict with char connect (); below.
26668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26669 <limits.h> exists even on freestanding compilers. */
26672 # include <limits.h>
26674 # include <assert.h>
26679 /* Override any gcc2 internal prototype to avoid an error. */
26684 /* We use char because int might match the return type of a gcc2
26685 builtin and then its argument prototype would still apply. */
26687 /* The GNU C library defines this for functions which it implements
26688 to always fail with ENOSYS. Some functions are actually named
26689 something starting with __ and the normal name is an alias. */
26690 #if defined (__stub_connect) || defined (__stub___connect)
26693 char (*f) () = connect;
26702 return f != connect;
26707 rm -f conftest.
$ac_objext conftest
$ac_exeext
26708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26709 (eval $ac_link) 2>conftest.er1
26711 grep -v '^ *+' conftest.er1
>conftest.err
26713 cat conftest.err
>&5
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); } &&
26716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26718 (eval $ac_try) 2>&5
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); }; } &&
26722 { ac_try
='test -s conftest$ac_exeext'
26723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26724 (eval $ac_try) 2>&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); }; }; then
26728 ac_cv_func_connect
=yes
26730 echo "$as_me: failed program was:" >&5
26731 sed 's/^/| /' conftest.
$ac_ext >&5
26733 ac_cv_func_connect
=no
26735 rm -f conftest.err conftest.
$ac_objext \
26736 conftest
$ac_exeext conftest.
$ac_ext
26738 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26739 echo "${ECHO_T}$ac_cv_func_connect" >&6
26741 if test $ac_cv_func_connect = no
; then
26742 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26743 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26744 if test "${ac_cv_lib_socket_connect+set}" = set; then
26745 echo $ECHO_N "(cached) $ECHO_C" >&6
26747 ac_check_lib_save_LIBS
=$LIBS
26748 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26749 cat >conftest.
$ac_ext <<_ACEOF
26752 cat confdefs.h
>>conftest.
$ac_ext
26753 cat >>conftest.
$ac_ext <<_ACEOF
26754 /* end confdefs.h. */
26756 /* Override any gcc2 internal prototype to avoid an error. */
26760 /* We use char because int might match the return type of a gcc2
26761 builtin and then its argument prototype would still apply. */
26771 rm -f conftest.
$ac_objext conftest
$ac_exeext
26772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26773 (eval $ac_link) 2>conftest.er1
26775 grep -v '^ *+' conftest.er1
>conftest.err
26777 cat conftest.err
>&5
26778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26779 (exit $ac_status); } &&
26780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26782 (eval $ac_try) 2>&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); }; } &&
26786 { ac_try
='test -s conftest$ac_exeext'
26787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26788 (eval $ac_try) 2>&5
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); }; }; then
26792 ac_cv_lib_socket_connect
=yes
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.
$ac_ext >&5
26797 ac_cv_lib_socket_connect
=no
26799 rm -f conftest.err conftest.
$ac_objext \
26800 conftest
$ac_exeext conftest.
$ac_ext
26801 LIBS
=$ac_check_lib_save_LIBS
26803 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26804 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26805 if test $ac_cv_lib_socket_connect = yes; then
26806 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26811 # Guillermo Gomez says -lposix is necessary on A/UX.
26812 echo "$as_me:$LINENO: checking for remove" >&5
26813 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26814 if test "${ac_cv_func_remove+set}" = set; then
26815 echo $ECHO_N "(cached) $ECHO_C" >&6
26817 cat >conftest.
$ac_ext <<_ACEOF
26820 cat confdefs.h
>>conftest.
$ac_ext
26821 cat >>conftest.
$ac_ext <<_ACEOF
26822 /* end confdefs.h. */
26823 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26825 #define remove innocuous_remove
26827 /* System header to define __stub macros and hopefully few prototypes,
26828 which can conflict with char remove (); below.
26829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26830 <limits.h> exists even on freestanding compilers. */
26833 # include <limits.h>
26835 # include <assert.h>
26840 /* Override any gcc2 internal prototype to avoid an error. */
26845 /* We use char because int might match the return type of a gcc2
26846 builtin and then its argument prototype would still apply. */
26848 /* The GNU C library defines this for functions which it implements
26849 to always fail with ENOSYS. Some functions are actually named
26850 something starting with __ and the normal name is an alias. */
26851 #if defined (__stub_remove) || defined (__stub___remove)
26854 char (*f) () = remove;
26863 return f != remove;
26868 rm -f conftest.
$ac_objext conftest
$ac_exeext
26869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26870 (eval $ac_link) 2>conftest.er1
26872 grep -v '^ *+' conftest.er1
>conftest.err
26874 cat conftest.err
>&5
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); } &&
26877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26879 (eval $ac_try) 2>&5
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); }; } &&
26883 { ac_try
='test -s conftest$ac_exeext'
26884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26885 (eval $ac_try) 2>&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); }; }; then
26889 ac_cv_func_remove
=yes
26891 echo "$as_me: failed program was:" >&5
26892 sed 's/^/| /' conftest.
$ac_ext >&5
26894 ac_cv_func_remove
=no
26896 rm -f conftest.err conftest.
$ac_objext \
26897 conftest
$ac_exeext conftest.
$ac_ext
26899 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26900 echo "${ECHO_T}$ac_cv_func_remove" >&6
26902 if test $ac_cv_func_remove = no
; then
26903 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26904 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26905 if test "${ac_cv_lib_posix_remove+set}" = set; then
26906 echo $ECHO_N "(cached) $ECHO_C" >&6
26908 ac_check_lib_save_LIBS
=$LIBS
26909 LIBS
="-lposix $LIBS"
26910 cat >conftest.
$ac_ext <<_ACEOF
26913 cat confdefs.h
>>conftest.
$ac_ext
26914 cat >>conftest.
$ac_ext <<_ACEOF
26915 /* end confdefs.h. */
26917 /* Override any gcc2 internal prototype to avoid an error. */
26921 /* We use char because int might match the return type of a gcc2
26922 builtin and then its argument prototype would still apply. */
26932 rm -f conftest.
$ac_objext conftest
$ac_exeext
26933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26934 (eval $ac_link) 2>conftest.er1
26936 grep -v '^ *+' conftest.er1
>conftest.err
26938 cat conftest.err
>&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); } &&
26941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943 (eval $ac_try) 2>&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); }; } &&
26947 { ac_try
='test -s conftest$ac_exeext'
26948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26949 (eval $ac_try) 2>&5
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; }; then
26953 ac_cv_lib_posix_remove
=yes
26955 echo "$as_me: failed program was:" >&5
26956 sed 's/^/| /' conftest.
$ac_ext >&5
26958 ac_cv_lib_posix_remove
=no
26960 rm -f conftest.err conftest.
$ac_objext \
26961 conftest
$ac_exeext conftest.
$ac_ext
26962 LIBS
=$ac_check_lib_save_LIBS
26964 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26965 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26966 if test $ac_cv_lib_posix_remove = yes; then
26967 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26972 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26973 echo "$as_me:$LINENO: checking for shmat" >&5
26974 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26975 if test "${ac_cv_func_shmat+set}" = set; then
26976 echo $ECHO_N "(cached) $ECHO_C" >&6
26978 cat >conftest.
$ac_ext <<_ACEOF
26981 cat confdefs.h
>>conftest.
$ac_ext
26982 cat >>conftest.
$ac_ext <<_ACEOF
26983 /* end confdefs.h. */
26984 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26986 #define shmat innocuous_shmat
26988 /* System header to define __stub macros and hopefully few prototypes,
26989 which can conflict with char shmat (); below.
26990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26991 <limits.h> exists even on freestanding compilers. */
26994 # include <limits.h>
26996 # include <assert.h>
27001 /* Override any gcc2 internal prototype to avoid an error. */
27006 /* We use char because int might match the return type of a gcc2
27007 builtin and then its argument prototype would still apply. */
27009 /* The GNU C library defines this for functions which it implements
27010 to always fail with ENOSYS. Some functions are actually named
27011 something starting with __ and the normal name is an alias. */
27012 #if defined (__stub_shmat) || defined (__stub___shmat)
27015 char (*f) () = shmat;
27029 rm -f conftest.
$ac_objext conftest
$ac_exeext
27030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27031 (eval $ac_link) 2>conftest.er1
27033 grep -v '^ *+' conftest.er1
>conftest.err
27035 cat conftest.err
>&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); } &&
27038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27040 (eval $ac_try) 2>&5
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); }; } &&
27044 { ac_try
='test -s conftest$ac_exeext'
27045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27046 (eval $ac_try) 2>&5
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); }; }; then
27050 ac_cv_func_shmat
=yes
27052 echo "$as_me: failed program was:" >&5
27053 sed 's/^/| /' conftest.
$ac_ext >&5
27055 ac_cv_func_shmat
=no
27057 rm -f conftest.err conftest.
$ac_objext \
27058 conftest
$ac_exeext conftest.
$ac_ext
27060 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27061 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27063 if test $ac_cv_func_shmat = no
; then
27064 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27065 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27066 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27067 echo $ECHO_N "(cached) $ECHO_C" >&6
27069 ac_check_lib_save_LIBS
=$LIBS
27071 cat >conftest.
$ac_ext <<_ACEOF
27074 cat confdefs.h
>>conftest.
$ac_ext
27075 cat >>conftest.
$ac_ext <<_ACEOF
27076 /* end confdefs.h. */
27078 /* Override any gcc2 internal prototype to avoid an error. */
27082 /* We use char because int might match the return type of a gcc2
27083 builtin and then its argument prototype would still apply. */
27093 rm -f conftest.
$ac_objext conftest
$ac_exeext
27094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27095 (eval $ac_link) 2>conftest.er1
27097 grep -v '^ *+' conftest.er1
>conftest.err
27099 cat conftest.err
>&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } &&
27102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104 (eval $ac_try) 2>&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; } &&
27108 { ac_try
='test -s conftest$ac_exeext'
27109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27110 (eval $ac_try) 2>&5
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); }; }; then
27114 ac_cv_lib_ipc_shmat
=yes
27116 echo "$as_me: failed program was:" >&5
27117 sed 's/^/| /' conftest.
$ac_ext >&5
27119 ac_cv_lib_ipc_shmat
=no
27121 rm -f conftest.err conftest.
$ac_objext \
27122 conftest
$ac_exeext conftest.
$ac_ext
27123 LIBS
=$ac_check_lib_save_LIBS
27125 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27126 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27127 if test $ac_cv_lib_ipc_shmat = yes; then
27128 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27134 # Check for libraries that X11R6 Xt/Xaw programs need.
27135 ac_save_LDFLAGS
=$LDFLAGS
27136 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27137 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27138 # check for ICE first), but we must link in the order -lSM -lICE or
27139 # we get undefined symbols. So assume we have SM if we have ICE.
27140 # These have to be linked with before -lX11, unlike the other
27141 # libraries we check for below, so use a different variable.
27142 # John Interrante, Karl Berry
27143 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27144 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27145 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27146 echo $ECHO_N "(cached) $ECHO_C" >&6
27148 ac_check_lib_save_LIBS
=$LIBS
27149 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27150 cat >conftest.
$ac_ext <<_ACEOF
27153 cat confdefs.h
>>conftest.
$ac_ext
27154 cat >>conftest.
$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27157 /* Override any gcc2 internal prototype to avoid an error. */
27161 /* We use char because int might match the return type of a gcc2
27162 builtin and then its argument prototype would still apply. */
27163 char IceConnectionNumber ();
27167 IceConnectionNumber ();
27172 rm -f conftest.
$ac_objext conftest
$ac_exeext
27173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27174 (eval $ac_link) 2>conftest.er1
27176 grep -v '^ *+' conftest.er1
>conftest.err
27178 cat conftest.err
>&5
27179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180 (exit $ac_status); } &&
27181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27183 (eval $ac_try) 2>&5
27185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186 (exit $ac_status); }; } &&
27187 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
27193 ac_cv_lib_ICE_IceConnectionNumber
=yes
27195 echo "$as_me: failed program was:" >&5
27196 sed 's/^/| /' conftest.
$ac_ext >&5
27198 ac_cv_lib_ICE_IceConnectionNumber
=no
27200 rm -f conftest.err conftest.
$ac_objext \
27201 conftest
$ac_exeext conftest.
$ac_ext
27202 LIBS
=$ac_check_lib_save_LIBS
27204 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27205 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27206 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27207 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27210 LDFLAGS
=$ac_save_LDFLAGS
27215 if test "$no_x" = "yes"; then
27216 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27217 echo "$as_me: error: X11 not found" >&2;}
27218 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27221 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27222 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27223 AFMINSTALL
=afminstall
27224 COMPILED_X_PROGRAM
=0
27228 if test "$wxUSE_X11" = 1; then
27229 if test "$wxUSE_NANOX" = "yes"; then
27230 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27231 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27232 if test "x$MICROWIN" = x
; then
27233 echo "$as_me:$LINENO: result: not found" >&5
27234 echo "${ECHO_T}not found" >&6
27235 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27236 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27237 { (exit 1); exit 1; }; }
27239 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27240 echo "${ECHO_T}$MICROWIN" >&6
27241 cat >>confdefs.h
<<\_ACEOF
27242 #define wxUSE_NANOX 1
27248 if test "$wxUSE_UNICODE" = "yes"; then
27252 if test -z "$PKG_CONFIG"; then
27253 # Extract the first word of "pkg-config", so it can be a program name with args.
27254 set dummy pkg
-config; ac_word
=$2
27255 echo "$as_me:$LINENO: checking for $ac_word" >&5
27256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27257 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27258 echo $ECHO_N "(cached) $ECHO_C" >&6
27260 case $PKG_CONFIG in
27262 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27266 for as_dir
in $PATH
27269 test -z "$as_dir" && as_dir
=.
27270 for ac_exec_ext
in '' $ac_executable_extensions; do
27271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27272 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27279 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27283 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27285 if test -n "$PKG_CONFIG"; then
27286 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27287 echo "${ECHO_T}$PKG_CONFIG" >&6
27289 echo "$as_me:$LINENO: result: no" >&5
27290 echo "${ECHO_T}no" >&6
27295 if test "$PKG_CONFIG" = "no" ; then
27296 echo "*** The pkg-config script could not be found. Make sure it is"
27297 echo "*** in your path, or set the PKG_CONFIG environment variable"
27298 echo "*** to the full path to pkg-config."
27299 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27301 PKG_CONFIG_MIN_VERSION
=0.9.0
27302 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27303 echo "$as_me:$LINENO: checking for pangox" >&5
27304 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27306 if $PKG_CONFIG --exists "pangox" ; then
27307 echo "$as_me:$LINENO: result: yes" >&5
27308 echo "${ECHO_T}yes" >&6
27311 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27312 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27313 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27314 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27315 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27317 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27318 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27319 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27320 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27321 echo "${ECHO_T}$PANGOX_LIBS" >&6
27325 ## If we have a custom action on failure, don't print errors, but
27326 ## do set a variable so people can do so.
27327 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27334 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27335 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27339 if test $succeeded = yes; then
27341 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27342 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27346 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27347 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27348 { (exit 1); exit 1; }; }
27356 if test -z "$PKG_CONFIG"; then
27357 # Extract the first word of "pkg-config", so it can be a program name with args.
27358 set dummy pkg
-config; ac_word
=$2
27359 echo "$as_me:$LINENO: checking for $ac_word" >&5
27360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27361 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27362 echo $ECHO_N "(cached) $ECHO_C" >&6
27364 case $PKG_CONFIG in
27366 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27370 for as_dir
in $PATH
27373 test -z "$as_dir" && as_dir
=.
27374 for ac_exec_ext
in '' $ac_executable_extensions; do
27375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27376 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27383 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27387 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27389 if test -n "$PKG_CONFIG"; then
27390 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27391 echo "${ECHO_T}$PKG_CONFIG" >&6
27393 echo "$as_me:$LINENO: result: no" >&5
27394 echo "${ECHO_T}no" >&6
27399 if test "$PKG_CONFIG" = "no" ; then
27400 echo "*** The pkg-config script could not be found. Make sure it is"
27401 echo "*** in your path, or set the PKG_CONFIG environment variable"
27402 echo "*** to the full path to pkg-config."
27403 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27405 PKG_CONFIG_MIN_VERSION
=0.9.0
27406 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27407 echo "$as_me:$LINENO: checking for pangoft2" >&5
27408 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27410 if $PKG_CONFIG --exists "pangoft2" ; then
27411 echo "$as_me:$LINENO: result: yes" >&5
27412 echo "${ECHO_T}yes" >&6
27415 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27416 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27417 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27418 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27419 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27421 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27422 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27423 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27424 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27425 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27429 ## If we have a custom action on failure, don't print errors, but
27430 ## do set a variable so people can do so.
27431 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27438 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27439 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27443 if test $succeeded = yes; then
27445 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27446 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27450 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27451 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27452 wxUSE_PRINTING_ARCHITECTURE
="no"
27460 if test -z "$PKG_CONFIG"; then
27461 # Extract the first word of "pkg-config", so it can be a program name with args.
27462 set dummy pkg
-config; ac_word
=$2
27463 echo "$as_me:$LINENO: checking for $ac_word" >&5
27464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27465 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27466 echo $ECHO_N "(cached) $ECHO_C" >&6
27468 case $PKG_CONFIG in
27470 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27474 for as_dir
in $PATH
27477 test -z "$as_dir" && as_dir
=.
27478 for ac_exec_ext
in '' $ac_executable_extensions; do
27479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27480 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27487 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27491 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27493 if test -n "$PKG_CONFIG"; then
27494 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27495 echo "${ECHO_T}$PKG_CONFIG" >&6
27497 echo "$as_me:$LINENO: result: no" >&5
27498 echo "${ECHO_T}no" >&6
27503 if test "$PKG_CONFIG" = "no" ; then
27504 echo "*** The pkg-config script could not be found. Make sure it is"
27505 echo "*** in your path, or set the PKG_CONFIG environment variable"
27506 echo "*** to the full path to pkg-config."
27507 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27509 PKG_CONFIG_MIN_VERSION
=0.9.0
27510 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27511 echo "$as_me:$LINENO: checking for pangoxft" >&5
27512 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27514 if $PKG_CONFIG --exists "pangoxft" ; then
27515 echo "$as_me:$LINENO: result: yes" >&5
27516 echo "${ECHO_T}yes" >&6
27519 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27520 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27521 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27522 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27523 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27525 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27526 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27527 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27528 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27529 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27533 ## If we have a custom action on failure, don't print errors, but
27534 ## do set a variable so people can do so.
27535 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27542 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27543 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27547 if test $succeeded = yes; then
27549 cat >>confdefs.h
<<\_ACEOF
27550 #define HAVE_PANGO_XFT 1
27553 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27554 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27558 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27559 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27564 save_CFLAGS
="$CFLAGS"
27566 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27567 LIBS
="$LIBS $PANGOX_LIBS"
27569 for ac_func
in pango_font_family_is_monospace
27571 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27572 echo "$as_me:$LINENO: checking for $ac_func" >&5
27573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27574 if eval "test \"\${$as_ac_var+set}\" = set"; then
27575 echo $ECHO_N "(cached) $ECHO_C" >&6
27577 cat >conftest.
$ac_ext <<_ACEOF
27580 cat confdefs.h
>>conftest.
$ac_ext
27581 cat >>conftest.
$ac_ext <<_ACEOF
27582 /* end confdefs.h. */
27583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27585 #define $ac_func innocuous_$ac_func
27587 /* System header to define __stub macros and hopefully few prototypes,
27588 which can conflict with char $ac_func (); below.
27589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27590 <limits.h> exists even on freestanding compilers. */
27593 # include <limits.h>
27595 # include <assert.h>
27600 /* Override any gcc2 internal prototype to avoid an error. */
27605 /* We use char because int might match the return type of a gcc2
27606 builtin and then its argument prototype would still apply. */
27608 /* The GNU C library defines this for functions which it implements
27609 to always fail with ENOSYS. Some functions are actually named
27610 something starting with __ and the normal name is an alias. */
27611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27614 char (*f) () = $ac_func;
27623 return f != $ac_func;
27628 rm -f conftest.
$ac_objext conftest
$ac_exeext
27629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27630 (eval $ac_link) 2>conftest.er1
27632 grep -v '^ *+' conftest.er1
>conftest.err
27634 cat conftest.err
>&5
27635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27636 (exit $ac_status); } &&
27637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27639 (eval $ac_try) 2>&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); }; } &&
27643 { ac_try
='test -s conftest$ac_exeext'
27644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27645 (eval $ac_try) 2>&5
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); }; }; then
27649 eval "$as_ac_var=yes"
27651 echo "$as_me: failed program was:" >&5
27652 sed 's/^/| /' conftest.
$ac_ext >&5
27654 eval "$as_ac_var=no"
27656 rm -f conftest.err conftest.
$ac_objext \
27657 conftest
$ac_exeext conftest.
$ac_ext
27659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27661 if test `eval echo '${'$as_ac_var'}'` = yes; then
27662 cat >>confdefs.h
<<_ACEOF
27663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27669 CFLAGS
="$save_CFLAGS"
27673 wxUSE_UNIVERSAL
="yes"
27675 if test "$wxUSE_NANOX" = "yes"; then
27676 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27677 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"
27678 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27680 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
27687 if test "$wxUSE_MOTIF" = 1; then
27688 if test "$wxUSE_UNICODE" = "yes"; then
27689 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
27690 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
27691 { (exit 1); exit 1; }; }
27694 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27695 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27698 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27700 if test -f "$ac_dir/Xm/Xm.h"; then
27701 ac_find_includes
=$ac_dir
27706 if test "$ac_find_includes" != "" ; then
27707 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27708 echo "${ECHO_T}found in $ac_find_includes" >&6
27710 if test "x$ac_find_includes" = "x/usr/include"; then
27711 ac_path_to_include
=""
27713 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
27715 if test $result = 0; then
27716 ac_path_to_include
=""
27718 ac_path_to_include
=" -I$ac_find_includes"
27722 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
27724 cat >conftest.
$ac_ext <<_ACEOF
27727 cat confdefs.h
>>conftest.
$ac_ext
27728 cat >>conftest.
$ac_ext <<_ACEOF
27729 /* end confdefs.h. */
27738 version = xmUseVersion;
27744 rm -f conftest.
$ac_objext
27745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27746 (eval $ac_compile) 2>conftest.er1
27748 grep -v '^ *+' conftest.er1
>conftest.err
27750 cat conftest.err
>&5
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); } &&
27753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27755 (eval $ac_try) 2>&5
27757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27758 (exit $ac_status); }; } &&
27759 { ac_try
='test -s conftest.$ac_objext'
27760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27761 (eval $ac_try) 2>&5
27763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27764 (exit $ac_status); }; }; then
27766 echo "$as_me:$LINENO: result: found in default search path" >&5
27767 echo "${ECHO_T}found in default search path" >&6
27768 COMPILED_X_PROGRAM
=1
27771 echo "$as_me: failed program was:" >&5
27772 sed 's/^/| /' conftest.
$ac_ext >&5
27775 echo "$as_me:$LINENO: result: no" >&5
27776 echo "${ECHO_T}no" >&6
27777 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27778 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27779 { (exit 1); exit 1; }; }
27783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27786 if test "$COMPILED_X_PROGRAM" = 0; then
27787 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27788 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27791 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27793 for ac_extension
in a so sl dylib
; do
27794 if test -f "$ac_dir/libXm.$ac_extension"; then
27795 ac_find_libraries
=$ac_dir
27801 if test "$ac_find_libraries" != "" ; then
27802 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27803 echo "${ECHO_T}found at $ac_find_libraries" >&6
27806 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27808 if test $result = 0; then
27811 ac_path_to_link
=" -L$ac_find_libraries"
27814 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27816 save_CFLAGS
=$CFLAGS
27817 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27819 cat >conftest.
$ac_ext <<_ACEOF
27822 cat confdefs.h
>>conftest.
$ac_ext
27823 cat >>conftest.
$ac_ext <<_ACEOF
27824 /* end confdefs.h. */
27833 version = xmUseVersion;
27839 rm -f conftest.
$ac_objext
27840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27841 (eval $ac_compile) 2>conftest.er1
27843 grep -v '^ *+' conftest.er1
>conftest.err
27845 cat conftest.err
>&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); } &&
27848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27850 (eval $ac_try) 2>&5
27852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27853 (exit $ac_status); }; } &&
27854 { ac_try
='test -s conftest.$ac_objext'
27855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27856 (eval $ac_try) 2>&5
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); }; }; then
27861 echo "$as_me:$LINENO: result: found in default search path" >&5
27862 echo "${ECHO_T}found in default search path" >&6
27863 COMPILED_X_PROGRAM
=1
27866 echo "$as_me: failed program was:" >&5
27867 sed 's/^/| /' conftest.
$ac_ext >&5
27870 echo "$as_me:$LINENO: result: no" >&5
27871 echo "${ECHO_T}no" >&6
27872 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27873 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27874 { (exit 1); exit 1; }; }
27878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27880 CFLAGS
=$save_CFLAGS
27884 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27885 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27889 for libp
in "" " -lXp"; do
27890 if test "$libs_found" = "0"; then
27891 for libsm_ice
in "" " -lSM -lICE"; do
27892 if test "$libs_found" = "0"; then
27894 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27895 save_CFLAGS
=$CFLAGS
27896 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27898 cat >conftest.
$ac_ext <<_ACEOF
27901 cat confdefs.h
>>conftest.
$ac_ext
27902 cat >>conftest.
$ac_ext <<_ACEOF
27903 /* end confdefs.h. */
27906 #include <Xm/List.h>
27912 XmString string = NULL;
27915 XmListAddItem(w, string, position);
27921 rm -f conftest.
$ac_objext conftest
$ac_exeext
27922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27923 (eval $ac_link) 2>conftest.er1
27925 grep -v '^ *+' conftest.er1
>conftest.err
27927 cat conftest.err
>&5
27928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27929 (exit $ac_status); } &&
27930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27932 (eval $ac_try) 2>&5
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); }; } &&
27936 { ac_try
='test -s conftest$ac_exeext'
27937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27938 (eval $ac_try) 2>&5
27940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27941 (exit $ac_status); }; }; then
27944 libsm_ice_link
="$libsm_ice"
27945 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27946 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27950 echo "$as_me: failed program was:" >&5
27951 sed 's/^/| /' conftest.
$ac_ext >&5
27956 rm -f conftest.err conftest.
$ac_objext \
27957 conftest
$ac_exeext conftest.
$ac_ext
27960 CFLAGS
=$save_CFLAGS
27966 if test "$libs_found" = "0"; then
27967 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27968 echo "${ECHO_T}can't find the right libraries" >&6
27969 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27970 echo "$as_me: error: can't link a simple motif program" >&2;}
27971 { (exit 1); exit 1; }; }
27974 save_CFLAGS
=$CFLAGS
27975 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27976 echo "$as_me:$LINENO: checking for Motif 2" >&5
27977 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27978 cat >conftest.
$ac_ext <<_ACEOF
27981 cat confdefs.h
>>conftest.
$ac_ext
27982 cat >>conftest.
$ac_ext <<_ACEOF
27983 /* end confdefs.h. */
27991 #if XmVersion < 2000
27992 #error "Not Motif 2"
27999 rm -f conftest.
$ac_objext
28000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28001 (eval $ac_compile) 2>conftest.er1
28003 grep -v '^ *+' conftest.er1
>conftest.err
28005 cat conftest.err
>&5
28006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28007 (exit $ac_status); } &&
28008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28010 (eval $ac_try) 2>&5
28012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28013 (exit $ac_status); }; } &&
28014 { ac_try
='test -s conftest.$ac_objext'
28015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28016 (eval $ac_try) 2>&5
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); }; }; then
28021 cat >>confdefs.h
<<\_ACEOF
28022 #define __WXMOTIF20__ 1
28025 echo "$as_me:$LINENO: result: found" >&5
28026 echo "${ECHO_T}found" >&6
28029 echo "$as_me: failed program was:" >&5
28030 sed 's/^/| /' conftest.
$ac_ext >&5
28033 cat >>confdefs.h
<<\_ACEOF
28034 #define __WXMOTIF20__ 0
28037 echo "$as_me:$LINENO: result: not found" >&5
28038 echo "${ECHO_T}not found" >&6
28041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28042 CFLAGS
=$save_CFLAGS
28044 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28049 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28050 if test "$wxUSE_LIBXPM" = "sys"; then
28051 echo "$as_me:$LINENO: checking for Xpm library" >&5
28052 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28055 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28057 for ac_extension
in a so sl dylib
; do
28058 if test -f "$ac_dir/libXpm.$ac_extension"; then
28059 ac_find_libraries
=$ac_dir
28065 if test "$ac_find_libraries" != "" ; then
28067 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28069 if test $result = 0; then
28072 ac_path_to_link
=" -L$ac_find_libraries"
28075 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28076 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28077 echo "${ECHO_T}found at $ac_find_libraries" >&6
28079 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28080 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28081 if test "${wx_cv_x11_xpm_h+set}" = set; then
28082 echo $ECHO_N "(cached) $ECHO_C" >&6
28085 save_CFLAGS
=$CFLAGS
28086 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28088 cat >conftest.
$ac_ext <<_ACEOF
28091 cat confdefs.h
>>conftest.
$ac_ext
28092 cat >>conftest.
$ac_ext <<_ACEOF
28093 /* end confdefs.h. */
28095 #include <X11/xpm.h>
28102 version = XpmLibraryVersion();
28108 rm -f conftest.
$ac_objext
28109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28110 (eval $ac_compile) 2>conftest.er1
28112 grep -v '^ *+' conftest.er1
>conftest.err
28114 cat conftest.err
>&5
28115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116 (exit $ac_status); } &&
28117 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28119 (eval $ac_try) 2>&5
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); }; } &&
28123 { ac_try
='test -s conftest.$ac_objext'
28124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28125 (eval $ac_try) 2>&5
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); }; }; then
28129 wx_cv_x11_xpm_h
=yes
28131 echo "$as_me: failed program was:" >&5
28132 sed 's/^/| /' conftest.
$ac_ext >&5
28137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28139 CFLAGS
=$save_CFLAGS
28143 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28144 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28146 if test $wx_cv_x11_xpm_h = "yes"; then
28147 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
28148 cat >>confdefs.h
<<\_ACEOF
28149 #define wxHAVE_LIB_XPM 1
28153 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28154 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28160 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28161 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28162 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28163 echo $ECHO_N "(cached) $ECHO_C" >&6
28165 ac_check_lib_save_LIBS
=$LIBS
28166 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28167 cat >conftest.
$ac_ext <<_ACEOF
28170 cat confdefs.h
>>conftest.
$ac_ext
28171 cat >>conftest.
$ac_ext <<_ACEOF
28172 /* end confdefs.h. */
28174 /* Override any gcc2 internal prototype to avoid an error. */
28178 /* We use char because int might match the return type of a gcc2
28179 builtin and then its argument prototype would still apply. */
28180 char XShapeQueryExtension ();
28184 XShapeQueryExtension ();
28189 rm -f conftest.
$ac_objext conftest
$ac_exeext
28190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28191 (eval $ac_link) 2>conftest.er1
28193 grep -v '^ *+' conftest.er1
>conftest.err
28195 cat conftest.err
>&5
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); } &&
28198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28200 (eval $ac_try) 2>&5
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); }; } &&
28204 { ac_try
='test -s conftest$ac_exeext'
28205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28206 (eval $ac_try) 2>&5
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); }; }; then
28210 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28212 echo "$as_me: failed program was:" >&5
28213 sed 's/^/| /' conftest.
$ac_ext >&5
28215 ac_cv_lib_Xext_XShapeQueryExtension
=no
28217 rm -f conftest.err conftest.
$ac_objext \
28218 conftest
$ac_exeext conftest.
$ac_ext
28219 LIBS
=$ac_check_lib_save_LIBS
28221 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28222 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28223 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28225 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28231 if test "$wxHAVE_XEXT_LIB" = 1; then
28232 save_CFLAGS
="$CFLAGS"
28233 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28235 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28236 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28237 cat >conftest.
$ac_ext <<_ACEOF
28240 cat confdefs.h
>>conftest.
$ac_ext
28241 cat >>conftest.
$ac_ext <<_ACEOF
28242 /* end confdefs.h. */
28244 #include <X11/Xlib.h>
28245 #include <X11/extensions/shape.h>
28251 int dummy1, dummy2;
28252 XShapeQueryExtension((Display*)NULL,
28253 (int*)NULL, (int*)NULL);
28259 rm -f conftest.
$ac_objext
28260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28261 (eval $ac_compile) 2>conftest.er1
28263 grep -v '^ *+' conftest.er1
>conftest.err
28265 cat conftest.err
>&5
28266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28267 (exit $ac_status); } &&
28268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270 (eval $ac_try) 2>&5
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; } &&
28274 { ac_try
='test -s conftest.$ac_objext'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; }; then
28281 cat >>confdefs.h
<<\_ACEOF
28282 #define HAVE_XSHAPE 1
28285 echo "$as_me:$LINENO: result: found" >&5
28286 echo "${ECHO_T}found" >&6
28289 echo "$as_me: failed program was:" >&5
28290 sed 's/^/| /' conftest.
$ac_ext >&5
28293 echo "$as_me:$LINENO: result: not found" >&5
28294 echo "${ECHO_T}not found" >&6
28297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28298 CFLAGS
="$save_CFLAGS"
28303 if test "$wxUSE_MAC" = 1; then
28304 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28305 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28306 if test "$GCC" = yes; then
28307 echo "$as_me:$LINENO: result: gcc" >&5
28308 echo "${ECHO_T}gcc" >&6
28309 CPPFLAGS_PASCAL
="-fpascal-strings"
28310 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28311 echo "$as_me:$LINENO: result: xlc" >&5
28312 echo "${ECHO_T}xlc" >&6
28313 CPPFLAGS_PASCAL
="-qmacpstr"
28315 echo "$as_me:$LINENO: result: none" >&5
28316 echo "${ECHO_T}none" >&6
28319 if test "x$wxUSE_UNIX" = "xyes"; then
28320 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28322 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28327 WXBASEPORT
="_carbon"
28330 if test "$wxUSE_COCOA" = 1; then
28335 if test "$wxUSE_PM" = 1; then
28338 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28339 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28340 if test "${wx_cv_spbcdata+set}" = set; then
28341 echo $ECHO_N "(cached) $ECHO_C" >&6
28344 cat >conftest.
$ac_ext <<_ACEOF
28347 cat confdefs.h
>>conftest.
$ac_ext
28348 cat >>conftest.
$ac_ext <<_ACEOF
28349 /* end confdefs.h. */
28364 rm -f conftest.
$ac_objext
28365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28366 (eval $ac_compile) 2>conftest.er1
28368 grep -v '^ *+' conftest.er1
>conftest.err
28370 cat conftest.err
>&5
28371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28372 (exit $ac_status); } &&
28373 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28375 (eval $ac_try) 2>&5
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 (exit $ac_status); }; } &&
28379 { ac_try
='test -s conftest.$ac_objext'
28380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28381 (eval $ac_try) 2>&5
28383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28384 (exit $ac_status); }; }; then
28387 echo "$as_me: failed program was:" >&5
28388 sed 's/^/| /' conftest.
$ac_ext >&5
28393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28397 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28398 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28400 if test $wx_cv_spbcdata = "yes"; then
28401 cat >>confdefs.h
<<\_ACEOF
28402 #define HAVE_SPBCDATA 1
28408 if test "$TOOLKIT" = "PM" ; then
28411 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28414 if test "$wxUSE_UNIVERSAL" = "yes"; then
28415 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28419 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28420 DISTDIR
="wx\$(TOOLKIT)"
28426 if test "$USE_WIN32" = 1 ; then
28430 GUIDIST
="BASE_DIST"
28440 if test "$TOOLKIT" != "MSW" ; then
28442 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28444 if test "${ac_cv_header_sql_h+set}" = set; then
28445 echo "$as_me:$LINENO: checking for sql.h" >&5
28446 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28447 if test "${ac_cv_header_sql_h+set}" = set; then
28448 echo $ECHO_N "(cached) $ECHO_C" >&6
28450 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28451 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28453 # Is the header compilable?
28454 echo "$as_me:$LINENO: checking sql.h usability" >&5
28455 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28456 cat >conftest.
$ac_ext <<_ACEOF
28459 cat confdefs.h
>>conftest.
$ac_ext
28460 cat >>conftest.
$ac_ext <<_ACEOF
28461 /* end confdefs.h. */
28462 $ac_includes_default
28465 rm -f conftest.
$ac_objext
28466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28467 (eval $ac_compile) 2>conftest.er1
28469 grep -v '^ *+' conftest.er1
>conftest.err
28471 cat conftest.err
>&5
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); } &&
28474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28476 (eval $ac_try) 2>&5
28478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28479 (exit $ac_status); }; } &&
28480 { ac_try
='test -s conftest.$ac_objext'
28481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28482 (eval $ac_try) 2>&5
28484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28485 (exit $ac_status); }; }; then
28486 ac_header_compiler
=yes
28488 echo "$as_me: failed program was:" >&5
28489 sed 's/^/| /' conftest.
$ac_ext >&5
28491 ac_header_compiler
=no
28493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28495 echo "${ECHO_T}$ac_header_compiler" >&6
28497 # Is the header present?
28498 echo "$as_me:$LINENO: checking sql.h presence" >&5
28499 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28500 cat >conftest.
$ac_ext <<_ACEOF
28503 cat confdefs.h
>>conftest.
$ac_ext
28504 cat >>conftest.
$ac_ext <<_ACEOF
28505 /* end confdefs.h. */
28508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28509 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28511 grep -v '^ *+' conftest.er1
>conftest.err
28513 cat conftest.err
>&5
28514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515 (exit $ac_status); } >/dev
/null
; then
28516 if test -s conftest.err
; then
28517 ac_cpp_err
=$ac_c_preproc_warn_flag
28518 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28525 if test -z "$ac_cpp_err"; then
28526 ac_header_preproc
=yes
28528 echo "$as_me: failed program was:" >&5
28529 sed 's/^/| /' conftest.
$ac_ext >&5
28531 ac_header_preproc
=no
28533 rm -f conftest.err conftest.
$ac_ext
28534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28535 echo "${ECHO_T}$ac_header_preproc" >&6
28537 # So? What about this header?
28538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28540 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28541 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28542 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28543 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28544 ac_header_preproc
=yes
28547 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28548 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28549 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28550 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28551 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28552 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28553 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28554 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28555 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28556 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28557 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28558 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28561 ## ----------------------------------------- ##
28562 ## Report this to wx-dev@lists.wxwidgets.org ##
28563 ## ----------------------------------------- ##
28566 sed "s/^/$as_me: WARNING: /" >&2
28569 echo "$as_me:$LINENO: checking for sql.h" >&5
28570 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28571 if test "${ac_cv_header_sql_h+set}" = set; then
28572 echo $ECHO_N "(cached) $ECHO_C" >&6
28574 ac_cv_header_sql_h
=$ac_header_preproc
28576 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28577 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28580 if test $ac_cv_header_sql_h = yes; then
28585 if test "x$found_sql_h" = "x1" ; then
28586 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28587 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28588 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28589 echo $ECHO_N "(cached) $ECHO_C" >&6
28591 ac_check_lib_save_LIBS
=$LIBS
28592 LIBS
="-liodbc $LIBS"
28593 cat >conftest.
$ac_ext <<_ACEOF
28596 cat confdefs.h
>>conftest.
$ac_ext
28597 cat >>conftest.
$ac_ext <<_ACEOF
28598 /* end confdefs.h. */
28600 /* Override any gcc2 internal prototype to avoid an error. */
28604 /* We use char because int might match the return type of a gcc2
28605 builtin and then its argument prototype would still apply. */
28606 char SQLAllocEnv ();
28615 rm -f conftest.
$ac_objext conftest
$ac_exeext
28616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28617 (eval $ac_link) 2>conftest.er1
28619 grep -v '^ *+' conftest.er1
>conftest.err
28621 cat conftest.err
>&5
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); } &&
28624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28626 (eval $ac_try) 2>&5
28628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28629 (exit $ac_status); }; } &&
28630 { ac_try
='test -s conftest$ac_exeext'
28631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28632 (eval $ac_try) 2>&5
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); }; }; then
28636 ac_cv_lib_iodbc_SQLAllocEnv
=yes
28638 echo "$as_me: failed program was:" >&5
28639 sed 's/^/| /' conftest.
$ac_ext >&5
28641 ac_cv_lib_iodbc_SQLAllocEnv
=no
28643 rm -f conftest.err conftest.
$ac_objext \
28644 conftest
$ac_exeext conftest.
$ac_ext
28645 LIBS
=$ac_check_lib_save_LIBS
28647 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28648 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28649 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28650 ODBC_LINK
=" -liodbc"
28653 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28654 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28655 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28656 echo $ECHO_N "(cached) $ECHO_C" >&6
28658 ac_check_lib_save_LIBS
=$LIBS
28659 LIBS
="-lunixodbc $LIBS"
28660 cat >conftest.
$ac_ext <<_ACEOF
28663 cat confdefs.h
>>conftest.
$ac_ext
28664 cat >>conftest.
$ac_ext <<_ACEOF
28665 /* end confdefs.h. */
28667 /* Override any gcc2 internal prototype to avoid an error. */
28671 /* We use char because int might match the return type of a gcc2
28672 builtin and then its argument prototype would still apply. */
28673 char SQLAllocEnv ();
28682 rm -f conftest.
$ac_objext conftest
$ac_exeext
28683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28684 (eval $ac_link) 2>conftest.er1
28686 grep -v '^ *+' conftest.er1
>conftest.err
28688 cat conftest.err
>&5
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); } &&
28691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28693 (eval $ac_try) 2>&5
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); }; } &&
28697 { ac_try
='test -s conftest$ac_exeext'
28698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28699 (eval $ac_try) 2>&5
28701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28702 (exit $ac_status); }; }; then
28703 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
28705 echo "$as_me: failed program was:" >&5
28706 sed 's/^/| /' conftest.
$ac_ext >&5
28708 ac_cv_lib_unixodbc_SQLAllocEnv
=no
28710 rm -f conftest.err conftest.
$ac_objext \
28711 conftest
$ac_exeext conftest.
$ac_ext
28712 LIBS
=$ac_check_lib_save_LIBS
28714 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28715 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28716 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28717 ODBC_LINK
=" -lunixodbc"
28720 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28721 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28722 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28723 echo $ECHO_N "(cached) $ECHO_C" >&6
28725 ac_check_lib_save_LIBS
=$LIBS
28726 LIBS
="-lodbc $LIBS"
28727 cat >conftest.
$ac_ext <<_ACEOF
28730 cat confdefs.h
>>conftest.
$ac_ext
28731 cat >>conftest.
$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28734 /* Override any gcc2 internal prototype to avoid an error. */
28738 /* We use char because int might match the return type of a gcc2
28739 builtin and then its argument prototype would still apply. */
28740 char SQLAllocEnv ();
28749 rm -f conftest.
$ac_objext conftest
$ac_exeext
28750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28751 (eval $ac_link) 2>conftest.er1
28753 grep -v '^ *+' conftest.er1
>conftest.err
28755 cat conftest.err
>&5
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); } &&
28758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28760 (eval $ac_try) 2>&5
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); }; } &&
28764 { ac_try
='test -s conftest$ac_exeext'
28765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28766 (eval $ac_try) 2>&5
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); }; }; then
28770 ac_cv_lib_odbc_SQLAllocEnv
=yes
28772 echo "$as_me: failed program was:" >&5
28773 sed 's/^/| /' conftest.
$ac_ext >&5
28775 ac_cv_lib_odbc_SQLAllocEnv
=no
28777 rm -f conftest.err conftest.
$ac_objext \
28778 conftest
$ac_exeext conftest.
$ac_ext
28779 LIBS
=$ac_check_lib_save_LIBS
28781 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28782 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28783 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28784 ODBC_LINK
=" -lodbc"
28794 if test "x$ODBC_LINK" = "x" ; then
28795 if test "$wxUSE_ODBC" = "sys" ; then
28796 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28797 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28798 { (exit 1); exit 1; }; }
28800 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28801 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28809 if test "$wxUSE_ODBC" = "builtin" ; then
28810 cat >>confdefs.h
<<\_ACEOF
28811 #define wxUSE_BUILTIN_IODBC 1
28817 if test "$wxUSE_ODBC" != "no" ; then
28818 cat >>confdefs.h
<<\_ACEOF
28819 #define wxUSE_ODBC 1
28822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28824 WXODBCFLAG
="-D_IODBC_"
28828 if test "$wxUSE_DISPLAY" = "yes"; then
28829 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28830 echo "$as_me:$LINENO: checking for Xinerama" >&5
28831 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28834 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28836 for ac_extension
in a so sl dylib
; do
28837 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28838 ac_find_libraries
=$ac_dir
28844 if test "$ac_find_libraries" != "" ; then
28846 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28848 if test $result = 0; then
28851 ac_path_to_link
=" -L$ac_find_libraries"
28854 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28855 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28857 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28858 echo "$as_me:$LINENO: result: yes" >&5
28859 echo "${ECHO_T}yes" >&6
28861 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28862 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28865 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28867 for ac_extension
in a so sl dylib
; do
28868 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28869 ac_find_libraries
=$ac_dir
28875 if test "$ac_find_libraries" != "" ; then
28876 echo "$as_me:$LINENO: result: yes" >&5
28877 echo "${ECHO_T}yes" >&6
28879 for ac_header
in X
11/extensions
/xf86vmode.h
28881 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28882 echo "$as_me:$LINENO: checking for $ac_header" >&5
28883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28884 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28885 echo $ECHO_N "(cached) $ECHO_C" >&6
28887 cat >conftest.
$ac_ext <<_ACEOF
28890 cat confdefs.h
>>conftest.
$ac_ext
28891 cat >>conftest.
$ac_ext <<_ACEOF
28892 /* end confdefs.h. */
28894 #if HAVE_X11_XLIB_H
28895 #include <X11/Xlib.h>
28899 #include <$ac_header>
28901 rm -f conftest.
$ac_objext
28902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28903 (eval $ac_compile) 2>conftest.er1
28905 grep -v '^ *+' conftest.er1
>conftest.err
28907 cat conftest.err
>&5
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); } &&
28910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28912 (eval $ac_try) 2>&5
28914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915 (exit $ac_status); }; } &&
28916 { ac_try
='test -s conftest.$ac_objext'
28917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28918 (eval $ac_try) 2>&5
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); }; }; then
28922 eval "$as_ac_Header=yes"
28924 echo "$as_me: failed program was:" >&5
28925 sed 's/^/| /' conftest.
$ac_ext >&5
28927 eval "$as_ac_Header=no"
28929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28934 cat >>confdefs.h
<<_ACEOF
28935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28938 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28945 echo "$as_me:$LINENO: result: no" >&5
28946 echo "${ECHO_T}no" >&6
28950 echo "$as_me:$LINENO: result: no" >&5
28951 echo "${ECHO_T}no" >&6
28952 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28953 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28956 elif test "$wxUSE_MSW" = 1; then
28959 for ac_header
in multimon.h ddraw.h
28961 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28962 echo "$as_me:$LINENO: checking for $ac_header" >&5
28963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28965 echo $ECHO_N "(cached) $ECHO_C" >&6
28967 cat >conftest.
$ac_ext <<_ACEOF
28970 cat confdefs.h
>>conftest.
$ac_ext
28971 cat >>conftest.
$ac_ext <<_ACEOF
28972 /* end confdefs.h. */
28973 #include <windows.h>
28975 #include <$ac_header>
28977 rm -f conftest.
$ac_objext
28978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28979 (eval $ac_compile) 2>conftest.er1
28981 grep -v '^ *+' conftest.er1
>conftest.err
28983 cat conftest.err
>&5
28984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985 (exit $ac_status); } &&
28986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28988 (eval $ac_try) 2>&5
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); }; } &&
28992 { ac_try
='test -s conftest.$ac_objext'
28993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994 (eval $ac_try) 2>&5
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); }; }; then
28998 eval "$as_ac_Header=yes"
29000 echo "$as_me: failed program was:" >&5
29001 sed 's/^/| /' conftest.
$ac_ext >&5
29003 eval "$as_ac_Header=no"
29005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29010 cat >>confdefs.h
<<_ACEOF
29011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29017 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29018 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29029 if test "$wxUSE_OPENGL" = "yes"; then
29030 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29031 OPENGL_LIBS
="-framework OpenGL -framework AGL"
29032 elif test "$wxUSE_MSW" = 1; then
29033 OPENGL_LIBS
="-lopengl32 -lglu32"
29038 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29040 if test -f "$ac_dir/GL/gl.h"; then
29041 ac_find_includes
=$ac_dir
29046 if test "$ac_find_includes" != "" ; then
29047 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29048 echo "${ECHO_T}found in $ac_find_includes" >&6
29050 if test "x$ac_find_includes" = "x/usr/include"; then
29051 ac_path_to_include
=""
29053 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
29055 if test $result = 0; then
29056 ac_path_to_include
=""
29058 ac_path_to_include
=" -I$ac_find_includes"
29062 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
29065 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29066 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29067 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29068 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29069 echo $ECHO_N "(cached) $ECHO_C" >&6
29071 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29072 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29074 # Is the header compilable?
29075 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29076 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29077 cat >conftest.
$ac_ext <<_ACEOF
29080 cat confdefs.h
>>conftest.
$ac_ext
29081 cat >>conftest.
$ac_ext <<_ACEOF
29082 /* end confdefs.h. */
29083 $ac_includes_default
29086 rm -f conftest.
$ac_objext
29087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29088 (eval $ac_compile) 2>conftest.er1
29090 grep -v '^ *+' conftest.er1
>conftest.err
29092 cat conftest.err
>&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); } &&
29095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; } &&
29101 { ac_try
='test -s conftest.$ac_objext'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; }; then
29107 ac_header_compiler
=yes
29109 echo "$as_me: failed program was:" >&5
29110 sed 's/^/| /' conftest.
$ac_ext >&5
29112 ac_header_compiler
=no
29114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29116 echo "${ECHO_T}$ac_header_compiler" >&6
29118 # Is the header present?
29119 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29120 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29121 cat >conftest.
$ac_ext <<_ACEOF
29124 cat confdefs.h
>>conftest.
$ac_ext
29125 cat >>conftest.
$ac_ext <<_ACEOF
29126 /* end confdefs.h. */
29129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29132 grep -v '^ *+' conftest.er1
>conftest.err
29134 cat conftest.err
>&5
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); } >/dev
/null
; then
29137 if test -s conftest.err
; then
29138 ac_cpp_err
=$ac_c_preproc_warn_flag
29139 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29146 if test -z "$ac_cpp_err"; then
29147 ac_header_preproc
=yes
29149 echo "$as_me: failed program was:" >&5
29150 sed 's/^/| /' conftest.
$ac_ext >&5
29152 ac_header_preproc
=no
29154 rm -f conftest.err conftest.
$ac_ext
29155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29156 echo "${ECHO_T}$ac_header_preproc" >&6
29158 # So? What about this header?
29159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29161 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29162 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29163 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29164 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29165 ac_header_preproc
=yes
29168 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29169 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29170 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29171 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29172 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29173 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29174 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29175 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29176 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29177 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29178 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29179 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29182 ## ----------------------------------------- ##
29183 ## Report this to wx-dev@lists.wxwidgets.org ##
29184 ## ----------------------------------------- ##
29187 sed "s/^/$as_me: WARNING: /" >&2
29190 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29191 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29192 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29193 echo $ECHO_N "(cached) $ECHO_C" >&6
29195 ac_cv_header_GL_gl_h
=$ac_header_preproc
29197 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29198 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29201 if test $ac_cv_header_GL_gl_h = yes; then
29205 echo "$as_me:$LINENO: checking for -lGL" >&5
29206 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29209 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29211 for ac_extension
in a so sl dylib
; do
29212 if test -f "$ac_dir/libGL.$ac_extension"; then
29213 ac_find_libraries
=$ac_dir
29219 if test "$ac_find_libraries" != "" ; then
29220 echo "$as_me:$LINENO: result: yes" >&5
29221 echo "${ECHO_T}yes" >&6
29224 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29226 if test $result = 0; then
29229 ac_path_to_link
=" -L$ac_find_libraries"
29232 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29233 LDFLAGS_GL
="$ac_path_to_link"
29236 echo "$as_me:$LINENO: checking for -lGLU" >&5
29237 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29240 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29242 for ac_extension
in a so sl dylib
; do
29243 if test -f "$ac_dir/libGLU.$ac_extension"; then
29244 ac_find_libraries
=$ac_dir
29250 if test "$ac_find_libraries" != "" ; then
29252 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29254 if test $result = 0; then
29257 ac_path_to_link
=" -L$ac_find_libraries"
29260 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29261 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29262 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29266 OPENGL_LIBS
="-lGL -lGLU"
29267 echo "$as_me:$LINENO: result: yes" >&5
29268 echo "${ECHO_T}yes" >&6
29270 echo "$as_me:$LINENO: result: no" >&5
29271 echo "${ECHO_T}no" >&6
29274 echo "$as_me:$LINENO: result: no" >&5
29275 echo "${ECHO_T}no" >&6
29278 if test "$found_gl" != 1; then
29279 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29280 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29283 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29285 for ac_extension
in a so sl dylib
; do
29286 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29287 ac_find_libraries
=$ac_dir
29293 if test "$ac_find_libraries" != "" ; then
29295 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29297 if test $result = 0; then
29300 ac_path_to_link
=" -L$ac_find_libraries"
29303 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29304 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29305 echo "$as_me:$LINENO: result: yes" >&5
29306 echo "${ECHO_T}yes" >&6
29308 echo "$as_me:$LINENO: result: no" >&5
29309 echo "${ECHO_T}no" >&6
29317 if test "x$OPENGL_LIBS" = "x"; then
29318 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29319 echo "$as_me: error: OpenGL libraries not available" >&2;}
29320 { (exit 1); exit 1; }; }
29324 if test "$wxUSE_OPENGL" = "yes"; then
29326 cat >>confdefs.h
<<\_ACEOF
29327 #define wxUSE_OPENGL 1
29330 cat >>confdefs.h
<<\_ACEOF
29331 #define wxUSE_GLCANVAS 1
29334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29339 if test -n "$TOOLKIT" ; then
29340 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29345 if test "$wxUSE_SHARED" = "yes"; then
29349 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29350 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29355 if test "$wxUSE_SHARED" = "yes"; then
29358 found_versioning
=no
29361 if test $found_versioning = no
; then
29362 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29363 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29364 if test "${wx_cv_version_script+set}" = set; then
29365 echo $ECHO_N "(cached) $ECHO_C" >&6
29368 echo "VER_1 { *; };" >conftest.sym
29369 echo "int main() { return 0; }" >conftest.cpp
29372 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29373 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29375 (eval $ac_try) 2>&5
29377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378 (exit $ac_status); }; } ; then
29379 if test -s conftest.stderr
; then
29380 wx_cv_version_script
=no
29382 wx_cv_version_script
=yes
29385 wx_cv_version_script
=no
29387 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29390 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29391 echo "${ECHO_T}$wx_cv_version_script" >&6
29392 if test $wx_cv_version_script = yes ; then
29393 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29399 *-*-linux* | *-*-gnu* )
29400 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29401 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29405 if test "$GCC" = yes ; then
29406 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29408 saveLdflags
="$LDFLAGS"
29409 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29410 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29411 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29412 cat >conftest.
$ac_ext <<_ACEOF
29415 cat confdefs.h
>>conftest.
$ac_ext
29416 cat >>conftest.
$ac_ext <<_ACEOF
29417 /* end confdefs.h. */
29427 rm -f conftest.
$ac_objext conftest
$ac_exeext
29428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29429 (eval $ac_link) 2>conftest.er1
29431 grep -v '^ *+' conftest.er1
>conftest.err
29433 cat conftest.err
>&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); } &&
29436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; } &&
29442 { ac_try
='test -s conftest$ac_exeext'
29443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29444 (eval $ac_try) 2>&5
29446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29447 (exit $ac_status); }; }; then
29449 echo "$as_me:$LINENO: result: yes" >&5
29450 echo "${ECHO_T}yes" >&6
29451 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29452 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29455 echo "$as_me: failed program was:" >&5
29456 sed 's/^/| /' conftest.
$ac_ext >&5
29459 echo "$as_me:$LINENO: result: no" >&5
29460 echo "${ECHO_T}no" >&6
29461 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29462 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29463 LDFLAGS
="$saveLdflags -Wl,-R,/"
29464 cat >conftest.
$ac_ext <<_ACEOF
29467 cat confdefs.h
>>conftest.
$ac_ext
29468 cat >>conftest.
$ac_ext <<_ACEOF
29469 /* end confdefs.h. */
29479 rm -f conftest.
$ac_objext conftest
$ac_exeext
29480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29481 (eval $ac_link) 2>conftest.er1
29483 grep -v '^ *+' conftest.er1
>conftest.err
29485 cat conftest.err
>&5
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); } &&
29488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; } &&
29494 { ac_try
='test -s conftest$ac_exeext'
29495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29496 (eval $ac_try) 2>&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); }; }; then
29501 echo "$as_me:$LINENO: result: yes" >&5
29502 echo "${ECHO_T}yes" >&6
29503 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29504 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29507 echo "$as_me: failed program was:" >&5
29508 sed 's/^/| /' conftest.
$ac_ext >&5
29511 echo "$as_me:$LINENO: result: no" >&5
29512 echo "${ECHO_T}no" >&6
29515 rm -f conftest.err conftest.
$ac_objext \
29516 conftest
$ac_exeext conftest.
$ac_ext
29519 rm -f conftest.err conftest.
$ac_objext \
29520 conftest
$ac_exeext conftest.
$ac_ext
29521 LDFLAGS
="$saveLdflags"
29523 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29524 WXCONFIG_RPATH
="-R\$libdir"
29528 powerpc
-*-darwin* )
29529 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29530 cat <<EOF >change-install-names
29532 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29533 inst_cmd="install_name_tool "
29534 for i in \${libnames} ; do
29535 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29539 chmod +x change
-install-names
29542 *-*-cygwin* | *-*-mingw32* )
29543 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29547 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29548 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29553 if test $wxUSE_RPATH = "no"; then
29554 SAMPLES_RPATH_FLAG
=''
29555 SAMPLES_RPATH_POSTLINK
=''
29563 config_linkage_component
="-static"
29570 lib_unicode_suffix
=
29572 if test "$wxUSE_UNICODE" = "yes"; then
29573 lib_unicode_suffix
=u
29574 WX_CHARTYPE
="unicode"
29579 WX_DEBUGTYPE
="release"
29581 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29583 WX_DEBUGTYPE
="debug"
29587 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29588 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29591 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29595 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29597 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29599 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29601 if test "$cross_compiling" = "yes"; then
29602 HOST_SUFFIX
="-$host_alias"
29603 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
29604 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
29607 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29608 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29612 if test "$wxUSE_COCOA" = 1; then
29616 ac_cpp
='$CPP $CPPFLAGS'
29617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29623 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29624 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
29625 cat >conftest.
$ac_ext <<_ACEOF
29628 cat confdefs.h
>>conftest.
$ac_ext
29629 cat >>conftest.
$ac_ext <<_ACEOF
29630 /* end confdefs.h. */
29631 #include <AppKit/NSEvent.h>
29632 #include <CoreFoundation/CoreFoundation.h>
29642 rm -f conftest.
$ac_objext
29643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29644 (eval $ac_compile) 2>conftest.er1
29646 grep -v '^ *+' conftest.er1
>conftest.err
29648 cat conftest.err
>&5
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } &&
29651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 (eval $ac_try) 2>&5
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; } &&
29657 { ac_try
='test -s conftest.$ac_objext'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; }; then
29663 echo "$as_me:$LINENO: result: no" >&5
29664 echo "${ECHO_T}no" >&6
29666 echo "$as_me: failed program was:" >&5
29667 sed 's/^/| /' conftest.
$ac_ext >&5
29669 echo "$as_me:$LINENO: result: yes" >&5
29670 echo "${ECHO_T}yes" >&6
29671 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
29672 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
29673 cat >conftest.
$ac_ext <<_ACEOF
29676 cat confdefs.h
>>conftest.
$ac_ext
29677 cat >>conftest.
$ac_ext <<_ACEOF
29678 /* end confdefs.h. */
29679 #define __Point__ 1
29680 #include <AppKit/NSEvent.h>
29681 #include <CoreFoundation/CoreFoundation.h>
29691 rm -f conftest.
$ac_objext
29692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29693 (eval $ac_compile) 2>conftest.er1
29695 grep -v '^ *+' conftest.er1
>conftest.err
29697 cat conftest.err
>&5
29698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29699 (exit $ac_status); } &&
29700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29702 (eval $ac_try) 2>&5
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); }; } &&
29706 { ac_try
='test -s conftest.$ac_objext'
29707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29708 (eval $ac_try) 2>&5
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); }; }; then
29712 echo "$as_me:$LINENO: result: yes" >&5
29713 echo "${ECHO_T}yes" >&6
29714 cat >>confdefs.h
<<\_ACEOF
29715 #define __Point__ 1
29720 echo "$as_me: failed program was:" >&5
29721 sed 's/^/| /' conftest.
$ac_ext >&5
29723 { { echo "$as_me:$LINENO: error: no
29724 See \`config.log' for more details." >&5
29725 echo "$as_me: error: no
29726 See \`config.log' for more details." >&2;}
29727 { (exit 1); exit 1; }; }
29730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29735 ac_cpp
='$CPP $CPPFLAGS'
29736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29742 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29743 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29744 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29746 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29748 # Extract the first word of "Rez", so it can be a program name with args.
29749 set dummy Rez
; ac_word
=$2
29750 echo "$as_me:$LINENO: checking for $ac_word" >&5
29751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29752 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29755 if test -n "$RESCOMP"; then
29756 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
29758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29759 for as_dir
in $PATH
29762 test -z "$as_dir" && as_dir
=.
29763 for ac_exec_ext
in '' $ac_executable_extensions; do
29764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29765 ac_cv_prog_RESCOMP
="Rez"
29766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29772 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29775 RESCOMP
=$ac_cv_prog_RESCOMP
29776 if test -n "$RESCOMP"; then
29777 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29778 echo "${ECHO_T}$RESCOMP" >&6
29780 echo "$as_me:$LINENO: result: no" >&5
29781 echo "${ECHO_T}no" >&6
29784 # Extract the first word of "DeRez", so it can be a program name with args.
29785 set dummy DeRez
; ac_word
=$2
29786 echo "$as_me:$LINENO: checking for $ac_word" >&5
29787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29788 if test "${ac_cv_prog_DEREZ+set}" = set; then
29789 echo $ECHO_N "(cached) $ECHO_C" >&6
29791 if test -n "$DEREZ"; then
29792 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29795 for as_dir
in $PATH
29798 test -z "$as_dir" && as_dir
=.
29799 for ac_exec_ext
in '' $ac_executable_extensions; do
29800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29801 ac_cv_prog_DEREZ
="DeRez"
29802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29808 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29811 DEREZ
=$ac_cv_prog_DEREZ
29812 if test -n "$DEREZ"; then
29813 echo "$as_me:$LINENO: result: $DEREZ" >&5
29814 echo "${ECHO_T}$DEREZ" >&6
29816 echo "$as_me:$LINENO: result: no" >&5
29817 echo "${ECHO_T}no" >&6
29820 # Extract the first word of "SetFile", so it can be a program name with args.
29821 set dummy SetFile
; ac_word
=$2
29822 echo "$as_me:$LINENO: checking for $ac_word" >&5
29823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29824 if test "${ac_cv_prog_SETFILE+set}" = set; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29827 if test -n "$SETFILE"; then
29828 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29831 for as_dir
in $PATH
29834 test -z "$as_dir" && as_dir
=.
29835 for ac_exec_ext
in '' $ac_executable_extensions; do
29836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29837 ac_cv_prog_SETFILE
="SetFile"
29838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29844 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29847 SETFILE
=$ac_cv_prog_SETFILE
29848 if test -n "$SETFILE"; then
29849 echo "$as_me:$LINENO: result: $SETFILE" >&5
29850 echo "${ECHO_T}$SETFILE" >&6
29852 echo "$as_me:$LINENO: result: no" >&5
29853 echo "${ECHO_T}no" >&6
29857 MACSETFILE
="\$(SETFILE)"
29859 if test "$wxUSE_MAC" = 1; then
29860 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29862 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29864 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29865 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29869 MACRESWXCONFIG
="@true"
29871 if test "$wxUSE_PM" = 1; then
29872 MACRESCOMP
="emxbind -ep"
29880 echo "$as_me:$LINENO: checking for mode_t" >&5
29881 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29882 if test "${ac_cv_type_mode_t+set}" = set; then
29883 echo $ECHO_N "(cached) $ECHO_C" >&6
29885 cat >conftest.
$ac_ext <<_ACEOF
29888 cat confdefs.h
>>conftest.
$ac_ext
29889 cat >>conftest.
$ac_ext <<_ACEOF
29890 /* end confdefs.h. */
29891 $ac_includes_default
29897 if (sizeof (mode_t))
29903 rm -f conftest.
$ac_objext
29904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29905 (eval $ac_compile) 2>conftest.er1
29907 grep -v '^ *+' conftest.er1
>conftest.err
29909 cat conftest.err
>&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); } &&
29912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29914 (eval $ac_try) 2>&5
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); }; } &&
29918 { ac_try
='test -s conftest.$ac_objext'
29919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29920 (eval $ac_try) 2>&5
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); }; }; then
29924 ac_cv_type_mode_t
=yes
29926 echo "$as_me: failed program was:" >&5
29927 sed 's/^/| /' conftest.
$ac_ext >&5
29929 ac_cv_type_mode_t
=no
29931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29933 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29934 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29935 if test $ac_cv_type_mode_t = yes; then
29939 cat >>confdefs.h
<<_ACEOF
29945 echo "$as_me:$LINENO: checking for off_t" >&5
29946 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29947 if test "${ac_cv_type_off_t+set}" = set; then
29948 echo $ECHO_N "(cached) $ECHO_C" >&6
29950 cat >conftest.
$ac_ext <<_ACEOF
29953 cat confdefs.h
>>conftest.
$ac_ext
29954 cat >>conftest.
$ac_ext <<_ACEOF
29955 /* end confdefs.h. */
29956 $ac_includes_default
29962 if (sizeof (off_t))
29968 rm -f conftest.
$ac_objext
29969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29970 (eval $ac_compile) 2>conftest.er1
29972 grep -v '^ *+' conftest.er1
>conftest.err
29974 cat conftest.err
>&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); } &&
29977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979 (eval $ac_try) 2>&5
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); }; } &&
29983 { ac_try
='test -s conftest.$ac_objext'
29984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29985 (eval $ac_try) 2>&5
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); }; }; then
29989 ac_cv_type_off_t
=yes
29991 echo "$as_me: failed program was:" >&5
29992 sed 's/^/| /' conftest.
$ac_ext >&5
29994 ac_cv_type_off_t
=no
29996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29998 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29999 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30000 if test $ac_cv_type_off_t = yes; then
30004 cat >>confdefs.h
<<_ACEOF
30010 echo "$as_me:$LINENO: checking for pid_t" >&5
30011 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30012 if test "${ac_cv_type_pid_t+set}" = set; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30015 cat >conftest.
$ac_ext <<_ACEOF
30018 cat confdefs.h
>>conftest.
$ac_ext
30019 cat >>conftest.
$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30021 $ac_includes_default
30027 if (sizeof (pid_t))
30033 rm -f conftest.
$ac_objext
30034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30035 (eval $ac_compile) 2>conftest.er1
30037 grep -v '^ *+' conftest.er1
>conftest.err
30039 cat conftest.err
>&5
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); } &&
30042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30044 (eval $ac_try) 2>&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); }; } &&
30048 { ac_try
='test -s conftest.$ac_objext'
30049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30050 (eval $ac_try) 2>&5
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); }; }; then
30054 ac_cv_type_pid_t
=yes
30056 echo "$as_me: failed program was:" >&5
30057 sed 's/^/| /' conftest.
$ac_ext >&5
30059 ac_cv_type_pid_t
=no
30061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30063 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30064 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30065 if test $ac_cv_type_pid_t = yes; then
30069 cat >>confdefs.h
<<_ACEOF
30075 echo "$as_me:$LINENO: checking for size_t" >&5
30076 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30077 if test "${ac_cv_type_size_t+set}" = set; then
30078 echo $ECHO_N "(cached) $ECHO_C" >&6
30080 cat >conftest.
$ac_ext <<_ACEOF
30083 cat confdefs.h
>>conftest.
$ac_ext
30084 cat >>conftest.
$ac_ext <<_ACEOF
30085 /* end confdefs.h. */
30086 $ac_includes_default
30092 if (sizeof (size_t))
30098 rm -f conftest.
$ac_objext
30099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30100 (eval $ac_compile) 2>conftest.er1
30102 grep -v '^ *+' conftest.er1
>conftest.err
30104 cat conftest.err
>&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } &&
30107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; } &&
30113 { ac_try
='test -s conftest.$ac_objext'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; }; then
30119 ac_cv_type_size_t
=yes
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.
$ac_ext >&5
30124 ac_cv_type_size_t
=no
30126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30128 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30129 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30130 if test $ac_cv_type_size_t = yes; then
30134 cat >>confdefs.h
<<_ACEOF
30135 #define size_t unsigned
30140 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30141 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30142 if test "${ac_cv_type_uid_t+set}" = set; then
30143 echo $ECHO_N "(cached) $ECHO_C" >&6
30145 cat >conftest.
$ac_ext <<_ACEOF
30148 cat confdefs.h
>>conftest.
$ac_ext
30149 cat >>conftest.
$ac_ext <<_ACEOF
30150 /* end confdefs.h. */
30151 #include <sys/types.h>
30154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30155 $EGREP "uid_t" >/dev
/null
2>&1; then
30156 ac_cv_type_uid_t
=yes
30158 ac_cv_type_uid_t
=no
30163 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30164 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30165 if test $ac_cv_type_uid_t = no
; then
30167 cat >>confdefs.h
<<\_ACEOF
30172 cat >>confdefs.h
<<\_ACEOF
30179 echo "$as_me:$LINENO: checking for ssize_t" >&5
30180 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30181 if test "${ac_cv_type_ssize_t+set}" = set; then
30182 echo $ECHO_N "(cached) $ECHO_C" >&6
30184 cat >conftest.
$ac_ext <<_ACEOF
30187 cat confdefs.h
>>conftest.
$ac_ext
30188 cat >>conftest.
$ac_ext <<_ACEOF
30189 /* end confdefs.h. */
30190 $ac_includes_default
30196 if (sizeof (ssize_t))
30202 rm -f conftest.
$ac_objext
30203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30204 (eval $ac_compile) 2>conftest.er1
30206 grep -v '^ *+' conftest.er1
>conftest.err
30208 cat conftest.err
>&5
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); } &&
30211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213 (eval $ac_try) 2>&5
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); }; } &&
30217 { ac_try
='test -s conftest.$ac_objext'
30218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30219 (eval $ac_try) 2>&5
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); }; }; then
30223 ac_cv_type_ssize_t
=yes
30225 echo "$as_me: failed program was:" >&5
30226 sed 's/^/| /' conftest.
$ac_ext >&5
30228 ac_cv_type_ssize_t
=no
30230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30232 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30233 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30234 if test $ac_cv_type_ssize_t = yes; then
30236 cat >>confdefs.h
<<_ACEOF
30237 #define HAVE_SSIZE_T 1
30247 ac_cpp
='$CXXCPP $CPPFLAGS'
30248 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30249 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30250 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30252 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30253 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30254 if test "${wx_cv_size_t_is_uint+set}" = set; then
30255 echo $ECHO_N "(cached) $ECHO_C" >&6
30258 cat >conftest.
$ac_ext <<_ACEOF
30261 cat confdefs.h
>>conftest.
$ac_ext
30262 cat >>conftest.
$ac_ext <<_ACEOF
30263 /* end confdefs.h. */
30264 #include <stddef.h>
30271 struct Foo { void foo(size_t); void foo(unsigned int); };
30279 rm -f conftest.
$ac_objext
30280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30281 (eval $ac_compile) 2>conftest.er1
30283 grep -v '^ *+' conftest.er1
>conftest.err
30285 cat conftest.err
>&5
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); } &&
30288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30290 (eval $ac_try) 2>&5
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); }; } &&
30294 { ac_try
='test -s conftest.$ac_objext'
30295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30296 (eval $ac_try) 2>&5
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); }; }; then
30300 wx_cv_size_t_is_uint
=no
30302 echo "$as_me: failed program was:" >&5
30303 sed 's/^/| /' conftest.
$ac_ext >&5
30305 wx_cv_size_t_is_uint
=yes
30308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30312 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30313 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30315 if test "$wx_cv_size_t_is_uint" = "yes"; then
30316 cat >>confdefs.h
<<\_ACEOF
30317 #define wxSIZE_T_IS_UINT 1
30321 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30322 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30323 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30324 echo $ECHO_N "(cached) $ECHO_C" >&6
30326 cat >conftest.
$ac_ext <<_ACEOF
30329 cat confdefs.h
>>conftest.
$ac_ext
30330 cat >>conftest.
$ac_ext <<_ACEOF
30331 /* end confdefs.h. */
30332 #include <stddef.h>
30339 struct Foo { void foo(size_t); void foo(unsigned long); };
30347 rm -f conftest.
$ac_objext
30348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30349 (eval $ac_compile) 2>conftest.er1
30351 grep -v '^ *+' conftest.er1
>conftest.err
30353 cat conftest.err
>&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); } &&
30356 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
30362 { ac_try
='test -s conftest.$ac_objext'
30363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30364 (eval $ac_try) 2>&5
30366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30367 (exit $ac_status); }; }; then
30368 wx_cv_size_t_is_ulong
=no
30370 echo "$as_me: failed program was:" >&5
30371 sed 's/^/| /' conftest.
$ac_ext >&5
30373 wx_cv_size_t_is_ulong
=yes
30376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30379 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30380 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30382 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30383 cat >>confdefs.h
<<\_ACEOF
30384 #define wxSIZE_T_IS_ULONG 1
30391 ac_cpp
='$CPP $CPPFLAGS'
30392 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30393 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30394 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30398 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30399 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30400 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30401 echo $ECHO_N "(cached) $ECHO_C" >&6
30404 cat >conftest.
$ac_ext <<_ACEOF
30407 cat confdefs.h
>>conftest.
$ac_ext
30408 cat >>conftest.
$ac_ext <<_ACEOF
30409 /* end confdefs.h. */
30423 rm -f conftest.
$ac_objext
30424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30425 (eval $ac_compile) 2>conftest.er1
30427 grep -v '^ *+' conftest.er1
>conftest.err
30429 cat conftest.err
>&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); } &&
30432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30434 (eval $ac_try) 2>&5
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); }; } &&
30438 { ac_try
='test -s conftest.$ac_objext'
30439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30440 (eval $ac_try) 2>&5
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); }; }; then
30445 wx_cv_struct_pw_gecos
=yes
30448 echo "$as_me: failed program was:" >&5
30449 sed 's/^/| /' conftest.
$ac_ext >&5
30452 wx_cv_struct_pw_gecos
=no
30456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30460 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30461 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30463 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30464 cat >>confdefs.h
<<\_ACEOF
30465 #define HAVE_PW_GECOS 1
30471 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30472 cat >>confdefs.h
<<\_ACEOF
30473 #define wxUSE_WCHAR_T 1
30480 for ac_func
in wcslen
30482 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30483 echo "$as_me:$LINENO: checking for $ac_func" >&5
30484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30485 if eval "test \"\${$as_ac_var+set}\" = set"; then
30486 echo $ECHO_N "(cached) $ECHO_C" >&6
30488 cat >conftest.
$ac_ext <<_ACEOF
30491 cat confdefs.h
>>conftest.
$ac_ext
30492 cat >>conftest.
$ac_ext <<_ACEOF
30493 /* end confdefs.h. */
30494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30496 #define $ac_func innocuous_$ac_func
30498 /* System header to define __stub macros and hopefully few prototypes,
30499 which can conflict with char $ac_func (); below.
30500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30501 <limits.h> exists even on freestanding compilers. */
30504 # include <limits.h>
30506 # include <assert.h>
30511 /* Override any gcc2 internal prototype to avoid an error. */
30516 /* We use char because int might match the return type of a gcc2
30517 builtin and then its argument prototype would still apply. */
30519 /* The GNU C library defines this for functions which it implements
30520 to always fail with ENOSYS. Some functions are actually named
30521 something starting with __ and the normal name is an alias. */
30522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30525 char (*f) () = $ac_func;
30534 return f != $ac_func;
30539 rm -f conftest.
$ac_objext conftest
$ac_exeext
30540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30541 (eval $ac_link) 2>conftest.er1
30543 grep -v '^ *+' conftest.er1
>conftest.err
30545 cat conftest.err
>&5
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); } &&
30548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30550 (eval $ac_try) 2>&5
30552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553 (exit $ac_status); }; } &&
30554 { ac_try
='test -s conftest$ac_exeext'
30555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30556 (eval $ac_try) 2>&5
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); }; }; then
30560 eval "$as_ac_var=yes"
30562 echo "$as_me: failed program was:" >&5
30563 sed 's/^/| /' conftest.
$ac_ext >&5
30565 eval "$as_ac_var=no"
30567 rm -f conftest.err conftest.
$ac_objext \
30568 conftest
$ac_exeext conftest.
$ac_ext
30570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30572 if test `eval echo '${'$as_ac_var'}'` = yes; then
30573 cat >>confdefs.h
<<_ACEOF
30574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30581 if test "$WCSLEN_FOUND" = 0; then
30582 if test "$TOOLKIT" = "MSW"; then
30583 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30584 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30585 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30586 echo $ECHO_N "(cached) $ECHO_C" >&6
30588 ac_check_lib_save_LIBS
=$LIBS
30589 LIBS
="-lmsvcrt $LIBS"
30590 cat >conftest.
$ac_ext <<_ACEOF
30593 cat confdefs.h
>>conftest.
$ac_ext
30594 cat >>conftest.
$ac_ext <<_ACEOF
30595 /* end confdefs.h. */
30597 /* Override any gcc2 internal prototype to avoid an error. */
30601 /* We use char because int might match the return type of a gcc2
30602 builtin and then its argument prototype would still apply. */
30612 rm -f conftest.
$ac_objext conftest
$ac_exeext
30613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30614 (eval $ac_link) 2>conftest.er1
30616 grep -v '^ *+' conftest.er1
>conftest.err
30618 cat conftest.err
>&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); } &&
30621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30623 (eval $ac_try) 2>&5
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); }; } &&
30627 { ac_try
='test -s conftest$ac_exeext'
30628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30629 (eval $ac_try) 2>&5
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); }; }; then
30633 ac_cv_lib_msvcrt_wcslen
=yes
30635 echo "$as_me: failed program was:" >&5
30636 sed 's/^/| /' conftest.
$ac_ext >&5
30638 ac_cv_lib_msvcrt_wcslen
=no
30640 rm -f conftest.err conftest.
$ac_objext \
30641 conftest
$ac_exeext conftest.
$ac_ext
30642 LIBS
=$ac_check_lib_save_LIBS
30644 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30645 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30646 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30651 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30652 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30653 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30654 echo $ECHO_N "(cached) $ECHO_C" >&6
30656 ac_check_lib_save_LIBS
=$LIBS
30658 cat >conftest.
$ac_ext <<_ACEOF
30661 cat confdefs.h
>>conftest.
$ac_ext
30662 cat >>conftest.
$ac_ext <<_ACEOF
30663 /* end confdefs.h. */
30665 /* Override any gcc2 internal prototype to avoid an error. */
30669 /* We use char because int might match the return type of a gcc2
30670 builtin and then its argument prototype would still apply. */
30680 rm -f conftest.
$ac_objext conftest
$ac_exeext
30681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30682 (eval $ac_link) 2>conftest.er1
30684 grep -v '^ *+' conftest.er1
>conftest.err
30686 cat conftest.err
>&5
30687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30688 (exit $ac_status); } &&
30689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30691 (eval $ac_try) 2>&5
30693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30694 (exit $ac_status); }; } &&
30695 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
30701 ac_cv_lib_w_wcslen
=yes
30703 echo "$as_me: failed program was:" >&5
30704 sed 's/^/| /' conftest.
$ac_ext >&5
30706 ac_cv_lib_w_wcslen
=no
30708 rm -f conftest.err conftest.
$ac_objext \
30709 conftest
$ac_exeext conftest.
$ac_ext
30710 LIBS
=$ac_check_lib_save_LIBS
30712 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30713 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30714 if test $ac_cv_lib_w_wcslen = yes; then
30724 if test "$WCSLEN_FOUND" = 1; then
30725 cat >>confdefs.h
<<\_ACEOF
30726 #define HAVE_WCSLEN 1
30731 if test "$USE_HPUX" = 1; then
30732 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30736 for ac_func
in wcsrtombs
30738 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30739 echo "$as_me:$LINENO: checking for $ac_func" >&5
30740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30741 if eval "test \"\${$as_ac_var+set}\" = set"; then
30742 echo $ECHO_N "(cached) $ECHO_C" >&6
30744 cat >conftest.
$ac_ext <<_ACEOF
30747 cat confdefs.h
>>conftest.
$ac_ext
30748 cat >>conftest.
$ac_ext <<_ACEOF
30749 /* end confdefs.h. */
30750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30752 #define $ac_func innocuous_$ac_func
30754 /* System header to define __stub macros and hopefully few prototypes,
30755 which can conflict with char $ac_func (); below.
30756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30757 <limits.h> exists even on freestanding compilers. */
30760 # include <limits.h>
30762 # include <assert.h>
30767 /* Override any gcc2 internal prototype to avoid an error. */
30772 /* We use char because int might match the return type of a gcc2
30773 builtin and then its argument prototype would still apply. */
30775 /* The GNU C library defines this for functions which it implements
30776 to always fail with ENOSYS. Some functions are actually named
30777 something starting with __ and the normal name is an alias. */
30778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30781 char (*f) () = $ac_func;
30790 return f != $ac_func;
30795 rm -f conftest.
$ac_objext conftest
$ac_exeext
30796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30797 (eval $ac_link) 2>conftest.er1
30799 grep -v '^ *+' conftest.er1
>conftest.err
30801 cat conftest.err
>&5
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); } &&
30804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30806 (eval $ac_try) 2>&5
30808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30809 (exit $ac_status); }; } &&
30810 { ac_try
='test -s conftest$ac_exeext'
30811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30812 (eval $ac_try) 2>&5
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); }; }; then
30816 eval "$as_ac_var=yes"
30818 echo "$as_me: failed program was:" >&5
30819 sed 's/^/| /' conftest.
$ac_ext >&5
30821 eval "$as_ac_var=no"
30823 rm -f conftest.err conftest.
$ac_objext \
30824 conftest
$ac_exeext conftest.
$ac_ext
30826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30828 if test `eval echo '${'$as_ac_var'}'` = yes; then
30829 cat >>confdefs.h
<<_ACEOF
30830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30837 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30838 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30844 ac_cpp
='$CXXCPP $CPPFLAGS'
30845 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30846 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30847 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30851 for ac_func
in vsnprintf
30853 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30854 echo "$as_me:$LINENO: checking for $ac_func" >&5
30855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30856 if eval "test \"\${$as_ac_var+set}\" = set"; then
30857 echo $ECHO_N "(cached) $ECHO_C" >&6
30859 cat >conftest.
$ac_ext <<_ACEOF
30862 cat confdefs.h
>>conftest.
$ac_ext
30863 cat >>conftest.
$ac_ext <<_ACEOF
30864 /* end confdefs.h. */
30865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30867 #define $ac_func innocuous_$ac_func
30869 /* System header to define __stub macros and hopefully few prototypes,
30870 which can conflict with char $ac_func (); below.
30871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30872 <limits.h> exists even on freestanding compilers. */
30875 # include <limits.h>
30877 # include <assert.h>
30882 /* Override any gcc2 internal prototype to avoid an error. */
30887 /* We use char because int might match the return type of a gcc2
30888 builtin and then its argument prototype would still apply. */
30890 /* The GNU C library defines this for functions which it implements
30891 to always fail with ENOSYS. Some functions are actually named
30892 something starting with __ and the normal name is an alias. */
30893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30896 char (*f) () = $ac_func;
30905 return f != $ac_func;
30910 rm -f conftest.
$ac_objext conftest
$ac_exeext
30911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30912 (eval $ac_link) 2>conftest.er1
30914 grep -v '^ *+' conftest.er1
>conftest.err
30916 cat conftest.err
>&5
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); } &&
30919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30921 (eval $ac_try) 2>&5
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); }; } &&
30925 { ac_try
='test -s conftest$ac_exeext'
30926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30927 (eval $ac_try) 2>&5
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); }; }; then
30931 eval "$as_ac_var=yes"
30933 echo "$as_me: failed program was:" >&5
30934 sed 's/^/| /' conftest.
$ac_ext >&5
30936 eval "$as_ac_var=no"
30938 rm -f conftest.err conftest.
$ac_objext \
30939 conftest
$ac_exeext conftest.
$ac_ext
30941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30943 if test `eval echo '${'$as_ac_var'}'` = yes; then
30944 cat >>confdefs.h
<<_ACEOF
30945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30952 if test "$ac_cv_func_vsnprintf" = "yes"; then
30953 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30954 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30955 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30956 echo $ECHO_N "(cached) $ECHO_C" >&6
30959 cat >conftest.
$ac_ext <<_ACEOF
30962 cat confdefs.h
>>conftest.
$ac_ext
30963 cat >>conftest.
$ac_ext <<_ACEOF
30964 /* end confdefs.h. */
30967 #include <stdarg.h>
30975 vsnprintf(buf, 10u, "%s", ap);
30981 rm -f conftest.
$ac_objext
30982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30983 (eval $ac_compile) 2>conftest.er1
30985 grep -v '^ *+' conftest.er1
>conftest.err
30987 cat conftest.err
>&5
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); } &&
30990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30992 (eval $ac_try) 2>&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); }; } &&
30996 { ac_try
='test -s conftest.$ac_objext'
30997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30998 (eval $ac_try) 2>&5
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); }; }; then
31002 wx_cv_func_vsnprintf_decl
=yes
31004 echo "$as_me: failed program was:" >&5
31005 sed 's/^/| /' conftest.
$ac_ext >&5
31008 cat >conftest.
$ac_ext <<_ACEOF
31011 cat confdefs.h
>>conftest.
$ac_ext
31012 cat >>conftest.
$ac_ext <<_ACEOF
31013 /* end confdefs.h. */
31016 #include <stdarg.h>
31017 using namespace std;
31025 vsnprintf(buf, 10u, "%s", ap);
31031 rm -f conftest.
$ac_objext
31032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31033 (eval $ac_compile) 2>conftest.er1
31035 grep -v '^ *+' conftest.er1
>conftest.err
31037 cat conftest.err
>&5
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); } &&
31040 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31042 (eval $ac_try) 2>&5
31044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045 (exit $ac_status); }; } &&
31046 { ac_try
='test -s conftest.$ac_objext'
31047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31048 (eval $ac_try) 2>&5
31050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31051 (exit $ac_status); }; }; then
31052 wx_cv_func_vsnprintf_decl
=yes
31054 echo "$as_me: failed program was:" >&5
31055 sed 's/^/| /' conftest.
$ac_ext >&5
31057 wx_cv_func_vsnprintf_decl
=no
31060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31068 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31069 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31071 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31072 cat >>confdefs.h
<<\_ACEOF
31073 #define HAVE_VSNPRINTF_DECL 1
31079 if test "$wxUSE_UNICODE" = yes; then
31086 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
31088 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31089 echo "$as_me:$LINENO: checking for $ac_func" >&5
31090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31091 if eval "test \"\${$as_ac_var+set}\" = set"; then
31092 echo $ECHO_N "(cached) $ECHO_C" >&6
31094 cat >conftest.
$ac_ext <<_ACEOF
31097 cat confdefs.h
>>conftest.
$ac_ext
31098 cat >>conftest.
$ac_ext <<_ACEOF
31099 /* end confdefs.h. */
31100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31102 #define $ac_func innocuous_$ac_func
31104 /* System header to define __stub macros and hopefully few prototypes,
31105 which can conflict with char $ac_func (); below.
31106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31107 <limits.h> exists even on freestanding compilers. */
31110 # include <limits.h>
31112 # include <assert.h>
31117 /* Override any gcc2 internal prototype to avoid an error. */
31122 /* We use char because int might match the return type of a gcc2
31123 builtin and then its argument prototype would still apply. */
31125 /* The GNU C library defines this for functions which it implements
31126 to always fail with ENOSYS. Some functions are actually named
31127 something starting with __ and the normal name is an alias. */
31128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31131 char (*f) () = $ac_func;
31140 return f != $ac_func;
31145 rm -f conftest.
$ac_objext conftest
$ac_exeext
31146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31147 (eval $ac_link) 2>conftest.er1
31149 grep -v '^ *+' conftest.er1
>conftest.err
31151 cat conftest.err
>&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } &&
31154 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31156 (eval $ac_try) 2>&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); }; } &&
31160 { ac_try
='test -s conftest$ac_exeext'
31161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31162 (eval $ac_try) 2>&5
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); }; }; then
31166 eval "$as_ac_var=yes"
31168 echo "$as_me: failed program was:" >&5
31169 sed 's/^/| /' conftest.
$ac_ext >&5
31171 eval "$as_ac_var=no"
31173 rm -f conftest.err conftest.
$ac_objext \
31174 conftest
$ac_exeext conftest.
$ac_ext
31176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31178 if test `eval echo '${'$as_ac_var'}'` = yes; then
31179 cat >>confdefs.h
<<_ACEOF
31180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31187 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31188 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31189 cat >conftest.
$ac_ext <<_ACEOF
31192 cat confdefs.h
>>conftest.
$ac_ext
31193 cat >>conftest.
$ac_ext <<_ACEOF
31194 /* end confdefs.h. */
31204 rm -f conftest.
$ac_objext
31205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31206 (eval $ac_compile) 2>conftest.er1
31208 grep -v '^ *+' conftest.er1
>conftest.err
31210 cat conftest.err
>&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } &&
31213 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
31219 { ac_try
='test -s conftest.$ac_objext'
31220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31221 (eval $ac_try) 2>&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); }; }; then
31225 echo "$as_me:$LINENO: result: yes" >&5
31226 echo "${ECHO_T}yes" >&6
31227 cat >>confdefs.h
<<\_ACEOF
31228 #define HAVE__VSNWPRINTF 1
31232 echo "$as_me: failed program was:" >&5
31233 sed 's/^/| /' conftest.
$ac_ext >&5
31235 echo "$as_me:$LINENO: result: no" >&5
31236 echo "${ECHO_T}no" >&6
31238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
31242 ac_cpp
='$CPP $CPPFLAGS'
31243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31250 if test "$TOOLKIT" != "MSW"; then
31256 ac_cpp
='$CXXCPP $CPPFLAGS'
31257 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31258 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31259 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31264 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31265 if test "${with_libiconv_prefix+set}" = set; then
31266 withval
="$with_libiconv_prefix"
31268 for dir
in `echo "$withval" | tr : ' '`; do
31269 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31270 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31275 echo "$as_me:$LINENO: checking for iconv" >&5
31276 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31277 if test "${am_cv_func_iconv+set}" = set; then
31278 echo $ECHO_N "(cached) $ECHO_C" >&6
31281 am_cv_func_iconv
="no, consider installing GNU libiconv"
31283 cat >conftest.
$ac_ext <<_ACEOF
31286 cat confdefs.h
>>conftest.
$ac_ext
31287 cat >>conftest.
$ac_ext <<_ACEOF
31288 /* end confdefs.h. */
31289 #include <stdlib.h>
31294 iconv_t cd = iconv_open("","");
31295 iconv(cd,NULL,NULL,NULL,NULL);
31301 rm -f conftest.
$ac_objext conftest
$ac_exeext
31302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31303 (eval $ac_link) 2>conftest.er1
31305 grep -v '^ *+' conftest.er1
>conftest.err
31307 cat conftest.err
>&5
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); } &&
31310 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312 (eval $ac_try) 2>&5
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); }; } &&
31316 { ac_try
='test -s conftest$ac_exeext'
31317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318 (eval $ac_try) 2>&5
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); }; }; then
31322 am_cv_func_iconv
=yes
31324 echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.
$ac_ext >&5
31328 rm -f conftest.err conftest.
$ac_objext \
31329 conftest
$ac_exeext conftest.
$ac_ext
31330 if test "$am_cv_func_iconv" != yes; then
31331 am_save_LIBS
="$LIBS"
31332 LIBS
="$LIBS -liconv"
31333 cat >conftest.
$ac_ext <<_ACEOF
31336 cat confdefs.h
>>conftest.
$ac_ext
31337 cat >>conftest.
$ac_ext <<_ACEOF
31338 /* end confdefs.h. */
31339 #include <stdlib.h>
31344 iconv_t cd = iconv_open("","");
31345 iconv(cd,NULL,NULL,NULL,NULL);
31351 rm -f conftest.
$ac_objext conftest
$ac_exeext
31352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31353 (eval $ac_link) 2>conftest.er1
31355 grep -v '^ *+' conftest.er1
>conftest.err
31357 cat conftest.err
>&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); } &&
31360 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31362 (eval $ac_try) 2>&5
31364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31365 (exit $ac_status); }; } &&
31366 { ac_try
='test -s conftest$ac_exeext'
31367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31368 (eval $ac_try) 2>&5
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); }; }; then
31372 am_cv_lib_iconv
=yes
31373 am_cv_func_iconv
=yes
31375 echo "$as_me: failed program was:" >&5
31376 sed 's/^/| /' conftest.
$ac_ext >&5
31379 rm -f conftest.err conftest.
$ac_objext \
31380 conftest
$ac_exeext conftest.
$ac_ext
31381 LIBS
="$am_save_LIBS"
31385 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31386 echo "${ECHO_T}$am_cv_func_iconv" >&6
31387 if test "$am_cv_func_iconv" = yes; then
31389 cat >>confdefs.h
<<\_ACEOF
31390 #define HAVE_ICONV 1
31393 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31394 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31395 if test "${wx_cv_func_iconv_const+set}" = set; then
31396 echo $ECHO_N "(cached) $ECHO_C" >&6
31398 cat >conftest.
$ac_ext <<_ACEOF
31401 cat confdefs.h
>>conftest.
$ac_ext
31402 cat >>conftest.
$ac_ext <<_ACEOF
31403 /* end confdefs.h. */
31405 #include <stdlib.h>
31411 #if defined(__STDC__) || defined(__cplusplus)
31412 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31425 rm -f conftest.
$ac_objext
31426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31427 (eval $ac_compile) 2>conftest.er1
31429 grep -v '^ *+' conftest.er1
>conftest.err
31431 cat conftest.err
>&5
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); } &&
31434 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31436 (eval $ac_try) 2>&5
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); }; } &&
31440 { ac_try
='test -s conftest.$ac_objext'
31441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31442 (eval $ac_try) 2>&5
31444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445 (exit $ac_status); }; }; then
31446 wx_cv_func_iconv_const
="no"
31448 echo "$as_me: failed program was:" >&5
31449 sed 's/^/| /' conftest.
$ac_ext >&5
31451 wx_cv_func_iconv_const
="yes"
31454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31457 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31458 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31461 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31462 iconv_const
="const"
31466 cat >>confdefs.h
<<_ACEOF
31467 #define ICONV_CONST $iconv_const
31472 if test "$am_cv_lib_iconv" = yes; then
31477 LIBS
="$LIBICONV $LIBS"
31479 ac_cpp
='$CPP $CPPFLAGS'
31480 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31481 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31482 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31485 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31487 for ac_func
in sigaction
31489 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31490 echo "$as_me:$LINENO: checking for $ac_func" >&5
31491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31492 if eval "test \"\${$as_ac_var+set}\" = set"; then
31493 echo $ECHO_N "(cached) $ECHO_C" >&6
31495 cat >conftest.
$ac_ext <<_ACEOF
31498 cat confdefs.h
>>conftest.
$ac_ext
31499 cat >>conftest.
$ac_ext <<_ACEOF
31500 /* end confdefs.h. */
31501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31503 #define $ac_func innocuous_$ac_func
31505 /* System header to define __stub macros and hopefully few prototypes,
31506 which can conflict with char $ac_func (); below.
31507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31508 <limits.h> exists even on freestanding compilers. */
31511 # include <limits.h>
31513 # include <assert.h>
31518 /* Override any gcc2 internal prototype to avoid an error. */
31523 /* We use char because int might match the return type of a gcc2
31524 builtin and then its argument prototype would still apply. */
31526 /* The GNU C library defines this for functions which it implements
31527 to always fail with ENOSYS. Some functions are actually named
31528 something starting with __ and the normal name is an alias. */
31529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31532 char (*f) () = $ac_func;
31541 return f != $ac_func;
31546 rm -f conftest.
$ac_objext conftest
$ac_exeext
31547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31548 (eval $ac_link) 2>conftest.er1
31550 grep -v '^ *+' conftest.er1
>conftest.err
31552 cat conftest.err
>&5
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); } &&
31555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; } &&
31561 { ac_try
='test -s conftest$ac_exeext'
31562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31563 (eval $ac_try) 2>&5
31565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31566 (exit $ac_status); }; }; then
31567 eval "$as_ac_var=yes"
31569 echo "$as_me: failed program was:" >&5
31570 sed 's/^/| /' conftest.
$ac_ext >&5
31572 eval "$as_ac_var=no"
31574 rm -f conftest.err conftest.
$ac_objext \
31575 conftest
$ac_exeext conftest.
$ac_ext
31577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31579 if test `eval echo '${'$as_ac_var'}'` = yes; then
31580 cat >>confdefs.h
<<_ACEOF
31581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31588 if test "$ac_cv_func_sigaction" = "no"; then
31589 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31590 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31591 wxUSE_ON_FATAL_EXCEPTION
=no
31594 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31598 ac_cpp
='$CXXCPP $CPPFLAGS'
31599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31604 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31605 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31606 if test "${wx_cv_type_sa_handler+set}" = set; then
31607 echo $ECHO_N "(cached) $ECHO_C" >&6
31610 cat >conftest.
$ac_ext <<_ACEOF
31613 cat confdefs.h
>>conftest.
$ac_ext
31614 cat >>conftest.
$ac_ext <<_ACEOF
31615 /* end confdefs.h. */
31616 #include <signal.h>
31621 extern void testSigHandler(int);
31623 struct sigaction sa;
31624 sa.sa_handler = testSigHandler;
31630 rm -f conftest.
$ac_objext
31631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31632 (eval $ac_compile) 2>conftest.er1
31634 grep -v '^ *+' conftest.er1
>conftest.err
31636 cat conftest.err
>&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); } &&
31639 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31641 (eval $ac_try) 2>&5
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); }; } &&
31645 { ac_try
='test -s conftest.$ac_objext'
31646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31647 (eval $ac_try) 2>&5
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); }; }; then
31652 wx_cv_type_sa_handler
=int
31655 echo "$as_me: failed program was:" >&5
31656 sed 's/^/| /' conftest.
$ac_ext >&5
31659 wx_cv_type_sa_handler
=void
31662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31665 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31666 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31669 ac_cpp
='$CPP $CPPFLAGS'
31670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31675 cat >>confdefs.h
<<_ACEOF
31676 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31682 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31686 ac_cpp
='$CXXCPP $CPPFLAGS'
31687 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31688 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31689 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31692 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31693 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31694 if test "${wx_cv_func_backtrace+set}" = set; then
31695 echo $ECHO_N "(cached) $ECHO_C" >&6
31698 cat >conftest.
$ac_ext <<_ACEOF
31701 cat confdefs.h
>>conftest.
$ac_ext
31702 cat >>conftest.
$ac_ext <<_ACEOF
31703 /* end confdefs.h. */
31704 #include <execinfo.h>
31712 backtrace(trace, 1);
31713 messages = backtrace_symbols(trace, 1);
31719 rm -f conftest.
$ac_objext
31720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31721 (eval $ac_compile) 2>conftest.er1
31723 grep -v '^ *+' conftest.er1
>conftest.err
31725 cat conftest.err
>&5
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); } &&
31728 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31730 (eval $ac_try) 2>&5
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); }; } &&
31734 { ac_try
='test -s conftest.$ac_objext'
31735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31736 (eval $ac_try) 2>&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); }; }; then
31740 wx_cv_func_backtrace
=yes
31742 echo "$as_me: failed program was:" >&5
31743 sed 's/^/| /' conftest.
$ac_ext >&5
31745 wx_cv_func_backtrace
=no
31748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31752 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31753 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31756 if test "$wx_cv_func_backtrace" = "no"; then
31757 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31758 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31759 wxUSE_STACKWALKER
=no
31761 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31762 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31763 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31764 echo $ECHO_N "(cached) $ECHO_C" >&6
31767 cat >conftest.
$ac_ext <<_ACEOF
31770 cat confdefs.h
>>conftest.
$ac_ext
31771 cat >>conftest.
$ac_ext <<_ACEOF
31772 /* end confdefs.h. */
31773 #include <cxxabi.h>
31779 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31785 rm -f conftest.
$ac_objext conftest
$ac_exeext
31786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31787 (eval $ac_link) 2>conftest.er1
31789 grep -v '^ *+' conftest.er1
>conftest.err
31791 cat conftest.err
>&5
31792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31793 (exit $ac_status); } &&
31794 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31796 (eval $ac_try) 2>&5
31798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31799 (exit $ac_status); }; } &&
31800 { ac_try
='test -s conftest$ac_exeext'
31801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31802 (eval $ac_try) 2>&5
31804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31805 (exit $ac_status); }; }; then
31806 wx_cv_func_cxa_demangle
=yes
31808 echo "$as_me: failed program was:" >&5
31809 sed 's/^/| /' conftest.
$ac_ext >&5
31811 wx_cv_func_cxa_demangle
=no
31814 rm -f conftest.err conftest.
$ac_objext \
31815 conftest
$ac_exeext conftest.
$ac_ext
31819 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31820 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31822 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31823 cat >>confdefs.h
<<\_ACEOF
31824 #define HAVE_CXA_DEMANGLE 1
31831 ac_cpp
='$CPP $CPPFLAGS'
31832 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31833 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31834 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31838 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
31839 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
31840 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
31841 wxUSE_STACKWALKER
=no
31847 for ac_func
in mkstemp mktemp
31849 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31850 echo "$as_me:$LINENO: checking for $ac_func" >&5
31851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31852 if eval "test \"\${$as_ac_var+set}\" = set"; then
31853 echo $ECHO_N "(cached) $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. */
31861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31863 #define $ac_func innocuous_$ac_func
31865 /* System header to define __stub macros and hopefully few prototypes,
31866 which can conflict with char $ac_func (); below.
31867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31868 <limits.h> exists even on freestanding compilers. */
31871 # include <limits.h>
31873 # include <assert.h>
31878 /* Override any gcc2 internal prototype to avoid an error. */
31883 /* We use char because int might match the return type of a gcc2
31884 builtin and then its argument prototype would still apply. */
31886 /* The GNU C library defines this for functions which it implements
31887 to always fail with ENOSYS. Some functions are actually named
31888 something starting with __ and the normal name is an alias. */
31889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31892 char (*f) () = $ac_func;
31901 return f != $ac_func;
31906 rm -f conftest.
$ac_objext conftest
$ac_exeext
31907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31908 (eval $ac_link) 2>conftest.er1
31910 grep -v '^ *+' conftest.er1
>conftest.err
31912 cat conftest.err
>&5
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); } &&
31915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31917 (eval $ac_try) 2>&5
31919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31920 (exit $ac_status); }; } &&
31921 { ac_try
='test -s conftest$ac_exeext'
31922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31923 (eval $ac_try) 2>&5
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); }; }; then
31927 eval "$as_ac_var=yes"
31929 echo "$as_me: failed program was:" >&5
31930 sed 's/^/| /' conftest.
$ac_ext >&5
31932 eval "$as_ac_var=no"
31934 rm -f conftest.err conftest.
$ac_objext \
31935 conftest
$ac_exeext conftest.
$ac_ext
31937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31939 if test `eval echo '${'$as_ac_var'}'` = yes; then
31940 cat >>confdefs.h
<<_ACEOF
31941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31948 echo "$as_me:$LINENO: checking for statfs" >&5
31949 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31950 if test "${wx_cv_func_statfs+set}" = set; then
31951 echo $ECHO_N "(cached) $ECHO_C" >&6
31953 cat >conftest.
$ac_ext <<_ACEOF
31956 cat confdefs.h
>>conftest.
$ac_ext
31957 cat >>conftest.
$ac_ext <<_ACEOF
31958 /* end confdefs.h. */
31960 #if defined(__BSD__)
31961 #include <sys/param.h>
31962 #include <sys/mount.h>
31964 #include <sys/vfs.h>
31982 rm -f conftest.
$ac_objext
31983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31984 (eval $ac_compile) 2>conftest.er1
31986 grep -v '^ *+' conftest.er1
>conftest.err
31988 cat conftest.err
>&5
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); } &&
31991 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31993 (eval $ac_try) 2>&5
31995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31996 (exit $ac_status); }; } &&
31997 { ac_try
='test -s conftest.$ac_objext'
31998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31999 (eval $ac_try) 2>&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); }; }; then
32004 wx_cv_func_statfs
=yes
32007 echo "$as_me: failed program was:" >&5
32008 sed 's/^/| /' conftest.
$ac_ext >&5
32011 wx_cv_func_statfs
=no
32015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32018 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32019 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32021 if test "$wx_cv_func_statfs" = "yes"; then
32022 wx_cv_type_statvfs_t
="struct statfs"
32023 cat >>confdefs.h
<<\_ACEOF
32024 #define HAVE_STATFS 1
32028 echo "$as_me:$LINENO: checking for statvfs" >&5
32029 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32030 if test "${wx_cv_func_statvfs+set}" = set; then
32031 echo $ECHO_N "(cached) $ECHO_C" >&6
32033 cat >conftest.
$ac_ext <<_ACEOF
32036 cat confdefs.h
>>conftest.
$ac_ext
32037 cat >>conftest.
$ac_ext <<_ACEOF
32038 /* end confdefs.h. */
32040 #include <stddef.h>
32041 #include <sys/statvfs.h>
32047 statvfs("/", NULL);
32053 rm -f conftest.
$ac_objext
32054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32055 (eval $ac_compile) 2>conftest.er1
32057 grep -v '^ *+' conftest.er1
>conftest.err
32059 cat conftest.err
>&5
32060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32061 (exit $ac_status); } &&
32062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32064 (eval $ac_try) 2>&5
32066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32067 (exit $ac_status); }; } &&
32068 { ac_try
='test -s conftest.$ac_objext'
32069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32070 (eval $ac_try) 2>&5
32072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32073 (exit $ac_status); }; }; then
32074 wx_cv_func_statvfs
=yes
32076 echo "$as_me: failed program was:" >&5
32077 sed 's/^/| /' conftest.
$ac_ext >&5
32079 wx_cv_func_statvfs
=no
32082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32085 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32086 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32088 if test "$wx_cv_func_statvfs" = "yes"; then
32092 ac_cpp
='$CXXCPP $CPPFLAGS'
32093 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32094 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32095 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32098 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32099 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32100 if test "${wx_cv_type_statvfs_t+set}" = set; then
32101 echo $ECHO_N "(cached) $ECHO_C" >&6
32103 cat >conftest.
$ac_ext <<_ACEOF
32106 cat confdefs.h
>>conftest.
$ac_ext
32107 cat >>conftest.
$ac_ext <<_ACEOF
32108 /* end confdefs.h. */
32110 #include <sys/statvfs.h>
32127 rm -f conftest.
$ac_objext
32128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32129 (eval $ac_compile) 2>conftest.er1
32131 grep -v '^ *+' conftest.er1
>conftest.err
32133 cat conftest.err
>&5
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); } &&
32136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32138 (eval $ac_try) 2>&5
32140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32141 (exit $ac_status); }; } &&
32142 { ac_try
='test -s conftest.$ac_objext'
32143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32144 (eval $ac_try) 2>&5
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); }; }; then
32148 wx_cv_type_statvfs_t
=statvfs_t
32150 echo "$as_me: failed program was:" >&5
32151 sed 's/^/| /' conftest.
$ac_ext >&5
32154 cat >conftest.
$ac_ext <<_ACEOF
32157 cat confdefs.h
>>conftest.
$ac_ext
32158 cat >>conftest.
$ac_ext <<_ACEOF
32159 /* end confdefs.h. */
32161 #include <sys/statvfs.h>
32178 rm -f conftest.
$ac_objext
32179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32180 (eval $ac_compile) 2>conftest.er1
32182 grep -v '^ *+' conftest.er1
>conftest.err
32184 cat conftest.err
>&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); } &&
32187 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32189 (eval $ac_try) 2>&5
32191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32192 (exit $ac_status); }; } &&
32193 { ac_try
='test -s conftest.$ac_objext'
32194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32195 (eval $ac_try) 2>&5
32197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32198 (exit $ac_status); }; }; then
32199 wx_cv_type_statvfs_t
="struct statvfs"
32201 echo "$as_me: failed program was:" >&5
32202 sed 's/^/| /' conftest.
$ac_ext >&5
32204 wx_cv_type_statvfs_t
="unknown"
32207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32214 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32215 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32218 ac_cpp
='$CPP $CPPFLAGS'
32219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32224 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32225 cat >>confdefs.h
<<\_ACEOF
32226 #define HAVE_STATVFS 1
32231 wx_cv_type_statvfs_t
="unknown"
32235 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32236 cat >>confdefs.h
<<_ACEOF
32237 #define WX_STATFS_T $wx_cv_type_statvfs_t
32241 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32242 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32245 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32248 for ac_func
in fcntl flock
32250 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32251 echo "$as_me:$LINENO: checking for $ac_func" >&5
32252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32253 if eval "test \"\${$as_ac_var+set}\" = set"; then
32254 echo $ECHO_N "(cached) $ECHO_C" >&6
32256 cat >conftest.
$ac_ext <<_ACEOF
32259 cat confdefs.h
>>conftest.
$ac_ext
32260 cat >>conftest.
$ac_ext <<_ACEOF
32261 /* end confdefs.h. */
32262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32264 #define $ac_func innocuous_$ac_func
32266 /* System header to define __stub macros and hopefully few prototypes,
32267 which can conflict with char $ac_func (); below.
32268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32269 <limits.h> exists even on freestanding compilers. */
32272 # include <limits.h>
32274 # include <assert.h>
32279 /* Override any gcc2 internal prototype to avoid an error. */
32284 /* We use char because int might match the return type of a gcc2
32285 builtin and then its argument prototype would still apply. */
32287 /* The GNU C library defines this for functions which it implements
32288 to always fail with ENOSYS. Some functions are actually named
32289 something starting with __ and the normal name is an alias. */
32290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32293 char (*f) () = $ac_func;
32302 return f != $ac_func;
32307 rm -f conftest.
$ac_objext conftest
$ac_exeext
32308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32309 (eval $ac_link) 2>conftest.er1
32311 grep -v '^ *+' conftest.er1
>conftest.err
32313 cat conftest.err
>&5
32314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315 (exit $ac_status); } &&
32316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32318 (eval $ac_try) 2>&5
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); }; } &&
32322 { ac_try
='test -s conftest$ac_exeext'
32323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32324 (eval $ac_try) 2>&5
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); }; }; then
32328 eval "$as_ac_var=yes"
32330 echo "$as_me: failed program was:" >&5
32331 sed 's/^/| /' conftest.
$ac_ext >&5
32333 eval "$as_ac_var=no"
32335 rm -f conftest.err conftest.
$ac_objext \
32336 conftest
$ac_exeext conftest.
$ac_ext
32338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32340 if test `eval echo '${'$as_ac_var'}'` = yes; then
32341 cat >>confdefs.h
<<_ACEOF
32342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32349 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32350 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32351 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32352 wxUSE_SNGLINST_CHECKER
=no
32357 for ac_func
in timegm
32359 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32360 echo "$as_me:$LINENO: checking for $ac_func" >&5
32361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32362 if eval "test \"\${$as_ac_var+set}\" = set"; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 cat >conftest.
$ac_ext <<_ACEOF
32368 cat confdefs.h
>>conftest.
$ac_ext
32369 cat >>conftest.
$ac_ext <<_ACEOF
32370 /* end confdefs.h. */
32371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32373 #define $ac_func innocuous_$ac_func
32375 /* System header to define __stub macros and hopefully few prototypes,
32376 which can conflict with char $ac_func (); below.
32377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32378 <limits.h> exists even on freestanding compilers. */
32381 # include <limits.h>
32383 # include <assert.h>
32388 /* Override any gcc2 internal prototype to avoid an error. */
32393 /* We use char because int might match the return type of a gcc2
32394 builtin and then its argument prototype would still apply. */
32396 /* The GNU C library defines this for functions which it implements
32397 to always fail with ENOSYS. Some functions are actually named
32398 something starting with __ and the normal name is an alias. */
32399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32402 char (*f) () = $ac_func;
32411 return f != $ac_func;
32416 rm -f conftest.
$ac_objext conftest
$ac_exeext
32417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32418 (eval $ac_link) 2>conftest.er1
32420 grep -v '^ *+' conftest.er1
>conftest.err
32422 cat conftest.err
>&5
32423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424 (exit $ac_status); } &&
32425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32427 (eval $ac_try) 2>&5
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); }; } &&
32431 { ac_try
='test -s conftest$ac_exeext'
32432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32433 (eval $ac_try) 2>&5
32435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 (exit $ac_status); }; }; then
32437 eval "$as_ac_var=yes"
32439 echo "$as_me: failed program was:" >&5
32440 sed 's/^/| /' conftest.
$ac_ext >&5
32442 eval "$as_ac_var=no"
32444 rm -f conftest.err conftest.
$ac_objext \
32445 conftest
$ac_exeext conftest.
$ac_ext
32447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32449 if test `eval echo '${'$as_ac_var'}'` = yes; then
32450 cat >>confdefs.h
<<_ACEOF
32451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32460 for ac_func
in putenv setenv
32462 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32463 echo "$as_me:$LINENO: checking for $ac_func" >&5
32464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32465 if eval "test \"\${$as_ac_var+set}\" = set"; then
32466 echo $ECHO_N "(cached) $ECHO_C" >&6
32468 cat >conftest.
$ac_ext <<_ACEOF
32471 cat confdefs.h
>>conftest.
$ac_ext
32472 cat >>conftest.
$ac_ext <<_ACEOF
32473 /* end confdefs.h. */
32474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32476 #define $ac_func innocuous_$ac_func
32478 /* System header to define __stub macros and hopefully few prototypes,
32479 which can conflict with char $ac_func (); below.
32480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32481 <limits.h> exists even on freestanding compilers. */
32484 # include <limits.h>
32486 # include <assert.h>
32491 /* Override any gcc2 internal prototype to avoid an error. */
32496 /* We use char because int might match the return type of a gcc2
32497 builtin and then its argument prototype would still apply. */
32499 /* The GNU C library defines this for functions which it implements
32500 to always fail with ENOSYS. Some functions are actually named
32501 something starting with __ and the normal name is an alias. */
32502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32505 char (*f) () = $ac_func;
32514 return f != $ac_func;
32519 rm -f conftest.
$ac_objext conftest
$ac_exeext
32520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32521 (eval $ac_link) 2>conftest.er1
32523 grep -v '^ *+' conftest.er1
>conftest.err
32525 cat conftest.err
>&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); } &&
32528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32530 (eval $ac_try) 2>&5
32532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32533 (exit $ac_status); }; } &&
32534 { ac_try
='test -s conftest$ac_exeext'
32535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32536 (eval $ac_try) 2>&5
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); }; }; then
32540 eval "$as_ac_var=yes"
32542 echo "$as_me: failed program was:" >&5
32543 sed 's/^/| /' conftest.
$ac_ext >&5
32545 eval "$as_ac_var=no"
32547 rm -f conftest.err conftest.
$ac_objext \
32548 conftest
$ac_exeext conftest.
$ac_ext
32550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32552 if test `eval echo '${'$as_ac_var'}'` = yes; then
32553 cat >>confdefs.h
<<_ACEOF
32554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32561 HAVE_SOME_SLEEP_FUNC
=0
32562 if test "$USE_BEOS" = 1; then
32563 cat >>confdefs.h
<<\_ACEOF
32564 #define HAVE_SLEEP 1
32567 HAVE_SOME_SLEEP_FUNC
=1
32570 if test "$USE_DARWIN" = 1; then
32571 cat >>confdefs.h
<<\_ACEOF
32572 #define HAVE_USLEEP 1
32575 HAVE_SOME_SLEEP_FUNC
=1
32578 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32581 for ac_func
in nanosleep
32583 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32584 echo "$as_me:$LINENO: checking for $ac_func" >&5
32585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32586 if eval "test \"\${$as_ac_var+set}\" = set"; then
32587 echo $ECHO_N "(cached) $ECHO_C" >&6
32589 cat >conftest.
$ac_ext <<_ACEOF
32592 cat confdefs.h
>>conftest.
$ac_ext
32593 cat >>conftest.
$ac_ext <<_ACEOF
32594 /* end confdefs.h. */
32595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32597 #define $ac_func innocuous_$ac_func
32599 /* System header to define __stub macros and hopefully few prototypes,
32600 which can conflict with char $ac_func (); below.
32601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32602 <limits.h> exists even on freestanding compilers. */
32605 # include <limits.h>
32607 # include <assert.h>
32612 /* Override any gcc2 internal prototype to avoid an error. */
32617 /* We use char because int might match the return type of a gcc2
32618 builtin and then its argument prototype would still apply. */
32620 /* The GNU C library defines this for functions which it implements
32621 to always fail with ENOSYS. Some functions are actually named
32622 something starting with __ and the normal name is an alias. */
32623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32626 char (*f) () = $ac_func;
32635 return f != $ac_func;
32640 rm -f conftest.
$ac_objext conftest
$ac_exeext
32641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32642 (eval $ac_link) 2>conftest.er1
32644 grep -v '^ *+' conftest.er1
>conftest.err
32646 cat conftest.err
>&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); } &&
32649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32651 (eval $ac_try) 2>&5
32653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32654 (exit $ac_status); }; } &&
32655 { ac_try
='test -s conftest$ac_exeext'
32656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32657 (eval $ac_try) 2>&5
32659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32660 (exit $ac_status); }; }; then
32661 eval "$as_ac_var=yes"
32663 echo "$as_me: failed program was:" >&5
32664 sed 's/^/| /' conftest.
$ac_ext >&5
32666 eval "$as_ac_var=no"
32668 rm -f conftest.err conftest.
$ac_objext \
32669 conftest
$ac_exeext conftest.
$ac_ext
32671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32673 if test `eval echo '${'$as_ac_var'}'` = yes; then
32674 cat >>confdefs.h
<<_ACEOF
32675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32677 cat >>confdefs.h
<<\_ACEOF
32678 #define HAVE_NANOSLEEP 1
32683 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32684 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32685 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32686 echo $ECHO_N "(cached) $ECHO_C" >&6
32688 ac_check_lib_save_LIBS
=$LIBS
32689 LIBS
="-lposix4 $LIBS"
32690 cat >conftest.
$ac_ext <<_ACEOF
32693 cat confdefs.h
>>conftest.
$ac_ext
32694 cat >>conftest.
$ac_ext <<_ACEOF
32695 /* end confdefs.h. */
32697 /* Override any gcc2 internal prototype to avoid an error. */
32701 /* We use char because int might match the return type of a gcc2
32702 builtin and then its argument prototype would still apply. */
32712 rm -f conftest.
$ac_objext conftest
$ac_exeext
32713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32714 (eval $ac_link) 2>conftest.er1
32716 grep -v '^ *+' conftest.er1
>conftest.err
32718 cat conftest.err
>&5
32719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32720 (exit $ac_status); } &&
32721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32723 (eval $ac_try) 2>&5
32725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726 (exit $ac_status); }; } &&
32727 { ac_try
='test -s conftest$ac_exeext'
32728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32729 (eval $ac_try) 2>&5
32731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732 (exit $ac_status); }; }; then
32733 ac_cv_lib_posix4_nanosleep
=yes
32735 echo "$as_me: failed program was:" >&5
32736 sed 's/^/| /' conftest.
$ac_ext >&5
32738 ac_cv_lib_posix4_nanosleep
=no
32740 rm -f conftest.err conftest.
$ac_objext \
32741 conftest
$ac_exeext conftest.
$ac_ext
32742 LIBS
=$ac_check_lib_save_LIBS
32744 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32745 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32746 if test $ac_cv_lib_posix4_nanosleep = yes; then
32748 cat >>confdefs.h
<<\_ACEOF
32749 #define HAVE_NANOSLEEP 1
32752 POSIX4_LINK
=" -lposix4"
32757 for ac_func
in usleep
32759 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32760 echo "$as_me:$LINENO: checking for $ac_func" >&5
32761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32762 if eval "test \"\${$as_ac_var+set}\" = set"; then
32763 echo $ECHO_N "(cached) $ECHO_C" >&6
32765 cat >conftest.
$ac_ext <<_ACEOF
32768 cat confdefs.h
>>conftest.
$ac_ext
32769 cat >>conftest.
$ac_ext <<_ACEOF
32770 /* end confdefs.h. */
32771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32773 #define $ac_func innocuous_$ac_func
32775 /* System header to define __stub macros and hopefully few prototypes,
32776 which can conflict with char $ac_func (); below.
32777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32778 <limits.h> exists even on freestanding compilers. */
32781 # include <limits.h>
32783 # include <assert.h>
32788 /* Override any gcc2 internal prototype to avoid an error. */
32793 /* We use char because int might match the return type of a gcc2
32794 builtin and then its argument prototype would still apply. */
32796 /* The GNU C library defines this for functions which it implements
32797 to always fail with ENOSYS. Some functions are actually named
32798 something starting with __ and the normal name is an alias. */
32799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32802 char (*f) () = $ac_func;
32811 return f != $ac_func;
32816 rm -f conftest.
$ac_objext conftest
$ac_exeext
32817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32818 (eval $ac_link) 2>conftest.er1
32820 grep -v '^ *+' conftest.er1
>conftest.err
32822 cat conftest.err
>&5
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); } &&
32825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32827 (eval $ac_try) 2>&5
32829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32830 (exit $ac_status); }; } &&
32831 { ac_try
='test -s conftest$ac_exeext'
32832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32833 (eval $ac_try) 2>&5
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); }; }; then
32837 eval "$as_ac_var=yes"
32839 echo "$as_me: failed program was:" >&5
32840 sed 's/^/| /' conftest.
$ac_ext >&5
32842 eval "$as_ac_var=no"
32844 rm -f conftest.err conftest.
$ac_objext \
32845 conftest
$ac_exeext conftest.
$ac_ext
32847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32849 if test `eval echo '${'$as_ac_var'}'` = yes; then
32850 cat >>confdefs.h
<<_ACEOF
32851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32853 cat >>confdefs.h
<<\_ACEOF
32854 #define HAVE_USLEEP 1
32858 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32859 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32877 for ac_func
in uname gethostname
32879 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32880 echo "$as_me:$LINENO: checking for $ac_func" >&5
32881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32882 if eval "test \"\${$as_ac_var+set}\" = set"; then
32883 echo $ECHO_N "(cached) $ECHO_C" >&6
32885 cat >conftest.
$ac_ext <<_ACEOF
32888 cat confdefs.h
>>conftest.
$ac_ext
32889 cat >>conftest.
$ac_ext <<_ACEOF
32890 /* end confdefs.h. */
32891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32893 #define $ac_func innocuous_$ac_func
32895 /* System header to define __stub macros and hopefully few prototypes,
32896 which can conflict with char $ac_func (); below.
32897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32898 <limits.h> exists even on freestanding compilers. */
32901 # include <limits.h>
32903 # include <assert.h>
32908 /* Override any gcc2 internal prototype to avoid an error. */
32913 /* We use char because int might match the return type of a gcc2
32914 builtin and then its argument prototype would still apply. */
32916 /* The GNU C library defines this for functions which it implements
32917 to always fail with ENOSYS. Some functions are actually named
32918 something starting with __ and the normal name is an alias. */
32919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32922 char (*f) () = $ac_func;
32931 return f != $ac_func;
32936 rm -f conftest.
$ac_objext conftest
$ac_exeext
32937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32938 (eval $ac_link) 2>conftest.er1
32940 grep -v '^ *+' conftest.er1
>conftest.err
32942 cat conftest.err
>&5
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); } &&
32945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32947 (eval $ac_try) 2>&5
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); }; } &&
32951 { ac_try
='test -s conftest$ac_exeext'
32952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32953 (eval $ac_try) 2>&5
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); }; }; then
32957 eval "$as_ac_var=yes"
32959 echo "$as_me: failed program was:" >&5
32960 sed 's/^/| /' conftest.
$ac_ext >&5
32962 eval "$as_ac_var=no"
32964 rm -f conftest.err conftest.
$ac_objext \
32965 conftest
$ac_exeext conftest.
$ac_ext
32967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32969 if test `eval echo '${'$as_ac_var'}'` = yes; then
32970 cat >>confdefs.h
<<_ACEOF
32971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32981 ac_cpp
='$CXXCPP $CPPFLAGS'
32982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32988 for ac_func
in strtok_r
32990 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32991 echo "$as_me:$LINENO: checking for $ac_func" >&5
32992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32993 if eval "test \"\${$as_ac_var+set}\" = set"; then
32994 echo $ECHO_N "(cached) $ECHO_C" >&6
32996 cat >conftest.
$ac_ext <<_ACEOF
32999 cat confdefs.h
>>conftest.
$ac_ext
33000 cat >>conftest.
$ac_ext <<_ACEOF
33001 /* end confdefs.h. */
33002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33004 #define $ac_func innocuous_$ac_func
33006 /* System header to define __stub macros and hopefully few prototypes,
33007 which can conflict with char $ac_func (); below.
33008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33009 <limits.h> exists even on freestanding compilers. */
33012 # include <limits.h>
33014 # include <assert.h>
33019 /* Override any gcc2 internal prototype to avoid an error. */
33024 /* We use char because int might match the return type of a gcc2
33025 builtin and then its argument prototype would still apply. */
33027 /* The GNU C library defines this for functions which it implements
33028 to always fail with ENOSYS. Some functions are actually named
33029 something starting with __ and the normal name is an alias. */
33030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33033 char (*f) () = $ac_func;
33042 return f != $ac_func;
33047 rm -f conftest.
$ac_objext conftest
$ac_exeext
33048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33049 (eval $ac_link) 2>conftest.er1
33051 grep -v '^ *+' conftest.er1
>conftest.err
33053 cat conftest.err
>&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); } &&
33056 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33058 (eval $ac_try) 2>&5
33060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33061 (exit $ac_status); }; } &&
33062 { ac_try
='test -s conftest$ac_exeext'
33063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33064 (eval $ac_try) 2>&5
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); }; }; then
33068 eval "$as_ac_var=yes"
33070 echo "$as_me: failed program was:" >&5
33071 sed 's/^/| /' conftest.
$ac_ext >&5
33073 eval "$as_ac_var=no"
33075 rm -f conftest.err conftest.
$ac_objext \
33076 conftest
$ac_exeext conftest.
$ac_ext
33078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33080 if test `eval echo '${'$as_ac_var'}'` = yes; then
33081 cat >>confdefs.h
<<_ACEOF
33082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33090 ac_cpp
='$CPP $CPPFLAGS'
33091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33098 for ac_func
in inet_addr
33100 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33101 echo "$as_me:$LINENO: checking for $ac_func" >&5
33102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33103 if eval "test \"\${$as_ac_var+set}\" = set"; then
33104 echo $ECHO_N "(cached) $ECHO_C" >&6
33106 cat >conftest.
$ac_ext <<_ACEOF
33109 cat confdefs.h
>>conftest.
$ac_ext
33110 cat >>conftest.
$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33114 #define $ac_func innocuous_$ac_func
33116 /* System header to define __stub macros and hopefully few prototypes,
33117 which can conflict with char $ac_func (); below.
33118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33119 <limits.h> exists even on freestanding compilers. */
33122 # include <limits.h>
33124 # include <assert.h>
33129 /* Override any gcc2 internal prototype to avoid an error. */
33134 /* We use char because int might match the return type of a gcc2
33135 builtin and then its argument prototype would still apply. */
33137 /* The GNU C library defines this for functions which it implements
33138 to always fail with ENOSYS. Some functions are actually named
33139 something starting with __ and the normal name is an alias. */
33140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33143 char (*f) () = $ac_func;
33152 return f != $ac_func;
33157 rm -f conftest.
$ac_objext conftest
$ac_exeext
33158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33159 (eval $ac_link) 2>conftest.er1
33161 grep -v '^ *+' conftest.er1
>conftest.err
33163 cat conftest.err
>&5
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); } &&
33166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168 (eval $ac_try) 2>&5
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; } &&
33172 { ac_try
='test -s conftest$ac_exeext'
33173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33174 (eval $ac_try) 2>&5
33176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33177 (exit $ac_status); }; }; then
33178 eval "$as_ac_var=yes"
33180 echo "$as_me: failed program was:" >&5
33181 sed 's/^/| /' conftest.
$ac_ext >&5
33183 eval "$as_ac_var=no"
33185 rm -f conftest.err conftest.
$ac_objext \
33186 conftest
$ac_exeext conftest.
$ac_ext
33188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33190 if test `eval echo '${'$as_ac_var'}'` = yes; then
33191 cat >>confdefs.h
<<_ACEOF
33192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33194 cat >>confdefs.h
<<\_ACEOF
33195 #define HAVE_INET_ADDR 1
33200 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33201 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33202 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33203 echo $ECHO_N "(cached) $ECHO_C" >&6
33205 ac_check_lib_save_LIBS
=$LIBS
33207 cat >conftest.
$ac_ext <<_ACEOF
33210 cat confdefs.h
>>conftest.
$ac_ext
33211 cat >>conftest.
$ac_ext <<_ACEOF
33212 /* end confdefs.h. */
33214 /* Override any gcc2 internal prototype to avoid an error. */
33218 /* We use char because int might match the return type of a gcc2
33219 builtin and then its argument prototype would still apply. */
33229 rm -f conftest.
$ac_objext conftest
$ac_exeext
33230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33231 (eval $ac_link) 2>conftest.er1
33233 grep -v '^ *+' conftest.er1
>conftest.err
33235 cat conftest.err
>&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); } &&
33238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33240 (eval $ac_try) 2>&5
33242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33243 (exit $ac_status); }; } &&
33244 { ac_try
='test -s conftest$ac_exeext'
33245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33246 (eval $ac_try) 2>&5
33248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33249 (exit $ac_status); }; }; then
33250 ac_cv_lib_nsl_inet_addr
=yes
33252 echo "$as_me: failed program was:" >&5
33253 sed 's/^/| /' conftest.
$ac_ext >&5
33255 ac_cv_lib_nsl_inet_addr
=no
33257 rm -f conftest.err conftest.
$ac_objext \
33258 conftest
$ac_exeext conftest.
$ac_ext
33259 LIBS
=$ac_check_lib_save_LIBS
33261 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33262 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33263 if test $ac_cv_lib_nsl_inet_addr = yes; then
33267 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33268 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33269 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33270 echo $ECHO_N "(cached) $ECHO_C" >&6
33272 ac_check_lib_save_LIBS
=$LIBS
33273 LIBS
="-lresolv $LIBS"
33274 cat >conftest.
$ac_ext <<_ACEOF
33277 cat confdefs.h
>>conftest.
$ac_ext
33278 cat >>conftest.
$ac_ext <<_ACEOF
33279 /* end confdefs.h. */
33281 /* Override any gcc2 internal prototype to avoid an error. */
33285 /* We use char because int might match the return type of a gcc2
33286 builtin and then its argument prototype would still apply. */
33296 rm -f conftest.
$ac_objext conftest
$ac_exeext
33297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33298 (eval $ac_link) 2>conftest.er1
33300 grep -v '^ *+' conftest.er1
>conftest.err
33302 cat conftest.err
>&5
33303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304 (exit $ac_status); } &&
33305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33307 (eval $ac_try) 2>&5
33309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33310 (exit $ac_status); }; } &&
33311 { ac_try
='test -s conftest$ac_exeext'
33312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33313 (eval $ac_try) 2>&5
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 (exit $ac_status); }; }; then
33317 ac_cv_lib_resolv_inet_addr
=yes
33319 echo "$as_me: failed program was:" >&5
33320 sed 's/^/| /' conftest.
$ac_ext >&5
33322 ac_cv_lib_resolv_inet_addr
=no
33324 rm -f conftest.err conftest.
$ac_objext \
33325 conftest
$ac_exeext conftest.
$ac_ext
33326 LIBS
=$ac_check_lib_save_LIBS
33328 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33329 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33330 if test $ac_cv_lib_resolv_inet_addr = yes; then
33334 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33335 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33336 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33337 echo $ECHO_N "(cached) $ECHO_C" >&6
33339 ac_check_lib_save_LIBS
=$LIBS
33340 LIBS
="-lsocket $LIBS"
33341 cat >conftest.
$ac_ext <<_ACEOF
33344 cat confdefs.h
>>conftest.
$ac_ext
33345 cat >>conftest.
$ac_ext <<_ACEOF
33346 /* end confdefs.h. */
33348 /* Override any gcc2 internal prototype to avoid an error. */
33352 /* We use char because int might match the return type of a gcc2
33353 builtin and then its argument prototype would still apply. */
33363 rm -f conftest.
$ac_objext conftest
$ac_exeext
33364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33365 (eval $ac_link) 2>conftest.er1
33367 grep -v '^ *+' conftest.er1
>conftest.err
33369 cat conftest.err
>&5
33370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33371 (exit $ac_status); } &&
33372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33374 (eval $ac_try) 2>&5
33376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33377 (exit $ac_status); }; } &&
33378 { ac_try
='test -s conftest$ac_exeext'
33379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33380 (eval $ac_try) 2>&5
33382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383 (exit $ac_status); }; }; then
33384 ac_cv_lib_socket_inet_addr
=yes
33386 echo "$as_me: failed program was:" >&5
33387 sed 's/^/| /' conftest.
$ac_ext >&5
33389 ac_cv_lib_socket_inet_addr
=no
33391 rm -f conftest.err conftest.
$ac_objext \
33392 conftest
$ac_exeext conftest.
$ac_ext
33393 LIBS
=$ac_check_lib_save_LIBS
33395 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33396 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33397 if test $ac_cv_lib_socket_inet_addr = yes; then
33417 for ac_func
in inet_aton
33419 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33420 echo "$as_me:$LINENO: checking for $ac_func" >&5
33421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33422 if eval "test \"\${$as_ac_var+set}\" = set"; then
33423 echo $ECHO_N "(cached) $ECHO_C" >&6
33425 cat >conftest.
$ac_ext <<_ACEOF
33428 cat confdefs.h
>>conftest.
$ac_ext
33429 cat >>conftest.
$ac_ext <<_ACEOF
33430 /* end confdefs.h. */
33431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33433 #define $ac_func innocuous_$ac_func
33435 /* System header to define __stub macros and hopefully few prototypes,
33436 which can conflict with char $ac_func (); below.
33437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33438 <limits.h> exists even on freestanding compilers. */
33441 # include <limits.h>
33443 # include <assert.h>
33448 /* Override any gcc2 internal prototype to avoid an error. */
33453 /* We use char because int might match the return type of a gcc2
33454 builtin and then its argument prototype would still apply. */
33456 /* The GNU C library defines this for functions which it implements
33457 to always fail with ENOSYS. Some functions are actually named
33458 something starting with __ and the normal name is an alias. */
33459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33462 char (*f) () = $ac_func;
33471 return f != $ac_func;
33476 rm -f conftest.
$ac_objext conftest
$ac_exeext
33477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33478 (eval $ac_link) 2>conftest.er1
33480 grep -v '^ *+' conftest.er1
>conftest.err
33482 cat conftest.err
>&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); } &&
33485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33487 (eval $ac_try) 2>&5
33489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490 (exit $ac_status); }; } &&
33491 { ac_try
='test -s conftest$ac_exeext'
33492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33493 (eval $ac_try) 2>&5
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); }; }; then
33497 eval "$as_ac_var=yes"
33499 echo "$as_me: failed program was:" >&5
33500 sed 's/^/| /' conftest.
$ac_ext >&5
33502 eval "$as_ac_var=no"
33504 rm -f conftest.err conftest.
$ac_objext \
33505 conftest
$ac_exeext conftest.
$ac_ext
33507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33509 if test `eval echo '${'$as_ac_var'}'` = yes; then
33510 cat >>confdefs.h
<<_ACEOF
33511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33513 cat >>confdefs.h
<<\_ACEOF
33514 #define HAVE_INET_ATON 1
33519 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33520 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33521 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33522 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33523 echo $ECHO_N "(cached) $ECHO_C" >&6
33525 ac_check_lib_save_LIBS
=$LIBS
33526 LIBS
="-l$INET_LINK $LIBS"
33527 cat >conftest.
$ac_ext <<_ACEOF
33530 cat confdefs.h
>>conftest.
$ac_ext
33531 cat >>conftest.
$ac_ext <<_ACEOF
33532 /* end confdefs.h. */
33534 /* Override any gcc2 internal prototype to avoid an error. */
33538 /* We use char because int might match the return type of a gcc2
33539 builtin and then its argument prototype would still apply. */
33549 rm -f conftest.
$ac_objext conftest
$ac_exeext
33550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33551 (eval $ac_link) 2>conftest.er1
33553 grep -v '^ *+' conftest.er1
>conftest.err
33555 cat conftest.err
>&5
33556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33557 (exit $ac_status); } &&
33558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33560 (eval $ac_try) 2>&5
33562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563 (exit $ac_status); }; } &&
33564 { ac_try
='test -s conftest$ac_exeext'
33565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33566 (eval $ac_try) 2>&5
33568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569 (exit $ac_status); }; }; then
33570 eval "$as_ac_Lib=yes"
33572 echo "$as_me: failed program was:" >&5
33573 sed 's/^/| /' conftest.
$ac_ext >&5
33575 eval "$as_ac_Lib=no"
33577 rm -f conftest.err conftest.
$ac_objext \
33578 conftest
$ac_exeext conftest.
$ac_ext
33579 LIBS
=$ac_check_lib_save_LIBS
33581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33582 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33583 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33584 cat >>confdefs.h
<<\_ACEOF
33585 #define HAVE_INET_ATON 1
33595 if test "x$INET_LINK" != "x"; then
33596 cat >>confdefs.h
<<\_ACEOF
33597 #define HAVE_INET_ADDR 1
33600 INET_LINK
=" -l$INET_LINK"
33608 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33609 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33610 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33611 echo $ECHO_N "(cached) $ECHO_C" >&6
33613 ac_check_lib_save_LIBS
=$LIBS
33615 cat >conftest.
$ac_ext <<_ACEOF
33618 cat confdefs.h
>>conftest.
$ac_ext
33619 cat >>conftest.
$ac_ext <<_ACEOF
33620 /* end confdefs.h. */
33622 /* Override any gcc2 internal prototype to avoid an error. */
33626 /* We use char because int might match the return type of a gcc2
33627 builtin and then its argument prototype would still apply. */
33637 rm -f conftest.
$ac_objext conftest
$ac_exeext
33638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33639 (eval $ac_link) 2>conftest.er1
33641 grep -v '^ *+' conftest.er1
>conftest.err
33643 cat conftest.err
>&5
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); } &&
33646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33648 (eval $ac_try) 2>&5
33650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33651 (exit $ac_status); }; } &&
33652 { ac_try
='test -s conftest$ac_exeext'
33653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33654 (eval $ac_try) 2>&5
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); }; }; then
33658 ac_cv_lib_esd_esd_close
=yes
33660 echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.
$ac_ext >&5
33663 ac_cv_lib_esd_esd_close
=no
33665 rm -f conftest.err conftest.
$ac_objext \
33666 conftest
$ac_exeext conftest.
$ac_ext
33667 LIBS
=$ac_check_lib_save_LIBS
33669 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33670 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33671 if test $ac_cv_lib_esd_esd_close = yes; then
33674 for ac_header
in esd.h
33676 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33678 echo "$as_me:$LINENO: checking for $ac_header" >&5
33679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33681 echo $ECHO_N "(cached) $ECHO_C" >&6
33683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33686 # Is the header compilable?
33687 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33688 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33689 cat >conftest.
$ac_ext <<_ACEOF
33692 cat confdefs.h
>>conftest.
$ac_ext
33693 cat >>conftest.
$ac_ext <<_ACEOF
33694 /* end confdefs.h. */
33695 $ac_includes_default
33696 #include <$ac_header>
33698 rm -f conftest.
$ac_objext
33699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33700 (eval $ac_compile) 2>conftest.er1
33702 grep -v '^ *+' conftest.er1
>conftest.err
33704 cat conftest.err
>&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); } &&
33707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33709 (eval $ac_try) 2>&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); }; } &&
33713 { ac_try
='test -s conftest.$ac_objext'
33714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33715 (eval $ac_try) 2>&5
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); }; }; then
33719 ac_header_compiler
=yes
33721 echo "$as_me: failed program was:" >&5
33722 sed 's/^/| /' conftest.
$ac_ext >&5
33724 ac_header_compiler
=no
33726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33728 echo "${ECHO_T}$ac_header_compiler" >&6
33730 # Is the header present?
33731 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33733 cat >conftest.
$ac_ext <<_ACEOF
33736 cat confdefs.h
>>conftest.
$ac_ext
33737 cat >>conftest.
$ac_ext <<_ACEOF
33738 /* end confdefs.h. */
33739 #include <$ac_header>
33741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33742 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33744 grep -v '^ *+' conftest.er1
>conftest.err
33746 cat conftest.err
>&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); } >/dev
/null
; then
33749 if test -s conftest.err
; then
33750 ac_cpp_err
=$ac_c_preproc_warn_flag
33751 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33758 if test -z "$ac_cpp_err"; then
33759 ac_header_preproc
=yes
33761 echo "$as_me: failed program was:" >&5
33762 sed 's/^/| /' conftest.
$ac_ext >&5
33764 ac_header_preproc
=no
33766 rm -f conftest.err conftest.
$ac_ext
33767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33768 echo "${ECHO_T}$ac_header_preproc" >&6
33770 # So? What about this header?
33771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33776 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33777 ac_header_preproc
=yes
33780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33785 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33787 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33791 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33794 ## ----------------------------------------- ##
33795 ## Report this to wx-dev@lists.wxwidgets.org ##
33796 ## ----------------------------------------- ##
33799 sed "s/^/$as_me: WARNING: /" >&2
33802 echo "$as_me:$LINENO: checking for $ac_header" >&5
33803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33805 echo $ECHO_N "(cached) $ECHO_C" >&6
33807 eval "$as_ac_Header=\$ac_header_preproc"
33809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33814 cat >>confdefs.h
<<_ACEOF
33815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33818 EXTRALIBS_ESD
="-lesd"
33829 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33830 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33831 cat >conftest.
$ac_ext <<_ACEOF
33834 cat confdefs.h
>>conftest.
$ac_ext
33835 cat >>conftest.
$ac_ext <<_ACEOF
33836 /* end confdefs.h. */
33838 #include <linux/cdrom.h>
33841 #include <sys/cdio.h>
33847 struct cdrom_tocentry entry, old_entry;
33852 rm -f conftest.
$ac_objext
33853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33854 (eval $ac_compile) 2>conftest.er1
33856 grep -v '^ *+' conftest.er1
>conftest.err
33858 cat conftest.err
>&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } &&
33861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33863 (eval $ac_try) 2>&5
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); }; } &&
33867 { ac_try
='test -s conftest.$ac_objext'
33868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33869 (eval $ac_try) 2>&5
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); }; }; then
33873 echo "$as_me:$LINENO: result: yes" >&5
33874 echo "${ECHO_T}yes" >&6
33875 cat >>confdefs.h
<<\_ACEOF
33876 #define HAVE_KNOWN_CDROM_INTERFACE 1
33880 echo "$as_me: failed program was:" >&5
33881 sed 's/^/| /' conftest.
$ac_ext >&5
33883 echo "$as_me:$LINENO: result: no" >&5
33884 echo "${ECHO_T}no" >&6
33886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33889 cat >confcache
<<\_ACEOF
33890 # This file is a shell script that caches the results of configure
33891 # tests run on this system so they can be shared between configure
33892 # scripts and configure runs, see configure's option --config-cache.
33893 # It is not useful on other systems. If it contains results you don't
33894 # want to keep, you may remove or edit it.
33896 # config.status only pays attention to the cache file if you give it
33897 # the --recheck option to rerun configure.
33899 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33900 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33901 # following values.
33905 # The following way of writing the cache mishandles newlines in values,
33906 # but we know of no workaround that is simple, portable, and efficient.
33907 # So, don't put newlines in cache variables' values.
33908 # Ultrix sh set writes to stderr and can't be redirected directly,
33909 # and sets the high bit in the cache file unless we assign to the vars.
33912 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33914 # `set' does not quote correctly, so add quotes (double-quote
33915 # substitution turns \\\\ into \\, and sed turns \\ into \).
33918 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33921 # `set' quotes correctly as required by POSIX, so do not add quotes.
33923 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33930 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33932 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33934 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
33935 if test -w $cache_file; then
33936 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33937 cat confcache
>$cache_file
33939 echo "not updating unwritable cache $cache_file"
33946 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33952 if test "$wxUSE_THREADS" = "yes" ; then
33953 if test "$USE_BEOS" = 1; then
33954 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33955 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33960 if test "$wxUSE_THREADS" = "yes" ; then
33963 THREAD_OPTS
="-pthread"
33965 *-*-solaris2* | *-*-sunos4* )
33966 if test "x$GCC" = "xyes"; then
33967 THREAD_OPTS
="-pthreads $THREAD_OPTS"
33969 THREAD_OPTS
="-mt $THREAD_OPTS"
33973 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
33975 *-*-darwin* | *-*-cygwin* )
33979 THREAD_OPTS
="pthreads"
33982 if test "x$GCC" != "xyes"; then
33988 if test "x$GCC" = "xyes"; then
33994 if test "x$GCC" != "xyes"; then
33995 THREAD_OPTS
="-Ethread"
34000 THREAD_OPTS
="$THREAD_OPTS pthread none"
34003 for flag
in $THREAD_OPTS; do
34006 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34007 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34011 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34012 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34013 THREADS_CFLAGS
="$flag"
34017 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34018 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34019 THREADS_LINK
="-l$flag"
34024 save_CFLAGS
="$CFLAGS"
34025 LIBS
="$THREADS_LINK $LIBS"
34026 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
34028 cat >conftest.
$ac_ext <<_ACEOF
34031 cat confdefs.h
>>conftest.
$ac_ext
34032 cat >>conftest.
$ac_ext <<_ACEOF
34033 /* end confdefs.h. */
34034 #include <pthread.h>
34038 pthread_create(0,0,0,0);
34043 rm -f conftest.
$ac_objext conftest
$ac_exeext
34044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34045 (eval $ac_link) 2>conftest.er1
34047 grep -v '^ *+' conftest.er1
>conftest.err
34049 cat conftest.err
>&5
34050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051 (exit $ac_status); } &&
34052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34054 (eval $ac_try) 2>&5
34056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057 (exit $ac_status); }; } &&
34058 { ac_try
='test -s conftest$ac_exeext'
34059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34060 (eval $ac_try) 2>&5
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); }; }; then
34066 echo "$as_me: failed program was:" >&5
34067 sed 's/^/| /' conftest.
$ac_ext >&5
34070 rm -f conftest.err conftest.
$ac_objext \
34071 conftest
$ac_exeext conftest.
$ac_ext
34074 CFLAGS
="$save_CFLAGS"
34076 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34077 echo "${ECHO_T}$THREADS_OK" >&6
34078 if test "x$THREADS_OK" = "xyes"; then
34086 if test "x$THREADS_OK" != "xyes"; then
34088 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34089 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34091 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
34092 LIBS
="$THREADS_LINK $LIBS"
34094 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34095 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34099 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
34100 flag
="-D_THREAD_SAFE"
34103 flag
="-D_THREAD_SAFE"
34106 flag
="-D_REENTRANT"
34107 if test "x$GCC" != "xyes"; then
34108 flag
="$flag -D_RWSTD_MULTI_THREAD"
34111 *solaris
* | alpha
*-osf*)
34112 flag
="-D_REENTRANT"
34115 echo "$as_me:$LINENO: result: ${flag}" >&5
34116 echo "${ECHO_T}${flag}" >&6
34117 if test "x$flag" != xno
; then
34118 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
34121 if test "x$THREADS_CFLAGS" != "x"; then
34122 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
34123 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
34128 if test "$wxUSE_THREADS" = "yes" ; then
34130 for ac_func
in thr_setconcurrency
34132 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34133 echo "$as_me:$LINENO: checking for $ac_func" >&5
34134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34135 if eval "test \"\${$as_ac_var+set}\" = set"; then
34136 echo $ECHO_N "(cached) $ECHO_C" >&6
34138 cat >conftest.
$ac_ext <<_ACEOF
34141 cat confdefs.h
>>conftest.
$ac_ext
34142 cat >>conftest.
$ac_ext <<_ACEOF
34143 /* end confdefs.h. */
34144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34146 #define $ac_func innocuous_$ac_func
34148 /* System header to define __stub macros and hopefully few prototypes,
34149 which can conflict with char $ac_func (); below.
34150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34151 <limits.h> exists even on freestanding compilers. */
34154 # include <limits.h>
34156 # include <assert.h>
34161 /* Override any gcc2 internal prototype to avoid an error. */
34166 /* We use char because int might match the return type of a gcc2
34167 builtin and then its argument prototype would still apply. */
34169 /* The GNU C library defines this for functions which it implements
34170 to always fail with ENOSYS. Some functions are actually named
34171 something starting with __ and the normal name is an alias. */
34172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34175 char (*f) () = $ac_func;
34184 return f != $ac_func;
34189 rm -f conftest.
$ac_objext conftest
$ac_exeext
34190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34191 (eval $ac_link) 2>conftest.er1
34193 grep -v '^ *+' conftest.er1
>conftest.err
34195 cat conftest.err
>&5
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); } &&
34198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34200 (eval $ac_try) 2>&5
34202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34203 (exit $ac_status); }; } &&
34204 { ac_try
='test -s conftest$ac_exeext'
34205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34206 (eval $ac_try) 2>&5
34208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34209 (exit $ac_status); }; }; then
34210 eval "$as_ac_var=yes"
34212 echo "$as_me: failed program was:" >&5
34213 sed 's/^/| /' conftest.
$ac_ext >&5
34215 eval "$as_ac_var=no"
34217 rm -f conftest.err conftest.
$ac_objext \
34218 conftest
$ac_exeext conftest.
$ac_ext
34220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34222 if test `eval echo '${'$as_ac_var'}'` = yes; then
34223 cat >>confdefs.h
<<_ACEOF
34224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34232 for ac_header
in sched.h
34234 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34236 echo "$as_me:$LINENO: checking for $ac_header" >&5
34237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34239 echo $ECHO_N "(cached) $ECHO_C" >&6
34241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34244 # Is the header compilable?
34245 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34246 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34247 cat >conftest.
$ac_ext <<_ACEOF
34250 cat confdefs.h
>>conftest.
$ac_ext
34251 cat >>conftest.
$ac_ext <<_ACEOF
34252 /* end confdefs.h. */
34253 $ac_includes_default
34254 #include <$ac_header>
34256 rm -f conftest.
$ac_objext
34257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34258 (eval $ac_compile) 2>conftest.er1
34260 grep -v '^ *+' conftest.er1
>conftest.err
34262 cat conftest.err
>&5
34263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34264 (exit $ac_status); } &&
34265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34267 (eval $ac_try) 2>&5
34269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270 (exit $ac_status); }; } &&
34271 { ac_try
='test -s conftest.$ac_objext'
34272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34273 (eval $ac_try) 2>&5
34275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34276 (exit $ac_status); }; }; then
34277 ac_header_compiler
=yes
34279 echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.
$ac_ext >&5
34282 ac_header_compiler
=no
34284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34286 echo "${ECHO_T}$ac_header_compiler" >&6
34288 # Is the header present?
34289 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34290 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34291 cat >conftest.
$ac_ext <<_ACEOF
34294 cat confdefs.h
>>conftest.
$ac_ext
34295 cat >>conftest.
$ac_ext <<_ACEOF
34296 /* end confdefs.h. */
34297 #include <$ac_header>
34299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34300 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34302 grep -v '^ *+' conftest.er1
>conftest.err
34304 cat conftest.err
>&5
34305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34306 (exit $ac_status); } >/dev
/null
; then
34307 if test -s conftest.err
; then
34308 ac_cpp_err
=$ac_c_preproc_warn_flag
34309 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34316 if test -z "$ac_cpp_err"; then
34317 ac_header_preproc
=yes
34319 echo "$as_me: failed program was:" >&5
34320 sed 's/^/| /' conftest.
$ac_ext >&5
34322 ac_header_preproc
=no
34324 rm -f conftest.err conftest.
$ac_ext
34325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34326 echo "${ECHO_T}$ac_header_preproc" >&6
34328 # So? What about this header?
34329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34332 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34334 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34335 ac_header_preproc
=yes
34338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34342 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34343 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34344 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34345 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34348 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34349 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34352 ## ----------------------------------------- ##
34353 ## Report this to wx-dev@lists.wxwidgets.org ##
34354 ## ----------------------------------------- ##
34357 sed "s/^/$as_me: WARNING: /" >&2
34360 echo "$as_me:$LINENO: checking for $ac_header" >&5
34361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34363 echo $ECHO_N "(cached) $ECHO_C" >&6
34365 eval "$as_ac_Header=\$ac_header_preproc"
34367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34371 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34372 cat >>confdefs.h
<<_ACEOF
34373 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34380 if test "$ac_cv_header_sched_h" = "yes"; then
34381 echo "$as_me:$LINENO: checking for sched_yield" >&5
34382 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34383 if test "${ac_cv_func_sched_yield+set}" = set; then
34384 echo $ECHO_N "(cached) $ECHO_C" >&6
34386 cat >conftest.
$ac_ext <<_ACEOF
34389 cat confdefs.h
>>conftest.
$ac_ext
34390 cat >>conftest.
$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34392 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34394 #define sched_yield innocuous_sched_yield
34396 /* System header to define __stub macros and hopefully few prototypes,
34397 which can conflict with char sched_yield (); below.
34398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34399 <limits.h> exists even on freestanding compilers. */
34402 # include <limits.h>
34404 # include <assert.h>
34409 /* Override any gcc2 internal prototype to avoid an error. */
34414 /* We use char because int might match the return type of a gcc2
34415 builtin and then its argument prototype would still apply. */
34416 char sched_yield ();
34417 /* The GNU C library defines this for functions which it implements
34418 to always fail with ENOSYS. Some functions are actually named
34419 something starting with __ and the normal name is an alias. */
34420 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34423 char (*f) () = sched_yield;
34432 return f != sched_yield;
34437 rm -f conftest.
$ac_objext conftest
$ac_exeext
34438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34439 (eval $ac_link) 2>conftest.er1
34441 grep -v '^ *+' conftest.er1
>conftest.err
34443 cat conftest.err
>&5
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); } &&
34446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34448 (eval $ac_try) 2>&5
34450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34451 (exit $ac_status); }; } &&
34452 { ac_try
='test -s conftest$ac_exeext'
34453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34454 (eval $ac_try) 2>&5
34456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34457 (exit $ac_status); }; }; then
34458 ac_cv_func_sched_yield
=yes
34460 echo "$as_me: failed program was:" >&5
34461 sed 's/^/| /' conftest.
$ac_ext >&5
34463 ac_cv_func_sched_yield
=no
34465 rm -f conftest.err conftest.
$ac_objext \
34466 conftest
$ac_exeext conftest.
$ac_ext
34468 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34469 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34470 if test $ac_cv_func_sched_yield = yes; then
34471 cat >>confdefs.h
<<\_ACEOF
34472 #define HAVE_SCHED_YIELD 1
34477 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34478 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34479 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34480 echo $ECHO_N "(cached) $ECHO_C" >&6
34482 ac_check_lib_save_LIBS
=$LIBS
34483 LIBS
="-lposix4 $LIBS"
34484 cat >conftest.
$ac_ext <<_ACEOF
34487 cat confdefs.h
>>conftest.
$ac_ext
34488 cat >>conftest.
$ac_ext <<_ACEOF
34489 /* end confdefs.h. */
34491 /* Override any gcc2 internal prototype to avoid an error. */
34495 /* We use char because int might match the return type of a gcc2
34496 builtin and then its argument prototype would still apply. */
34497 char sched_yield ();
34506 rm -f conftest.
$ac_objext conftest
$ac_exeext
34507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34508 (eval $ac_link) 2>conftest.er1
34510 grep -v '^ *+' conftest.er1
>conftest.err
34512 cat conftest.err
>&5
34513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34514 (exit $ac_status); } &&
34515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34517 (eval $ac_try) 2>&5
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); }; } &&
34521 { ac_try
='test -s conftest$ac_exeext'
34522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34523 (eval $ac_try) 2>&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); }; }; then
34527 ac_cv_lib_posix4_sched_yield
=yes
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.
$ac_ext >&5
34532 ac_cv_lib_posix4_sched_yield
=no
34534 rm -f conftest.err conftest.
$ac_objext \
34535 conftest
$ac_exeext conftest.
$ac_ext
34536 LIBS
=$ac_check_lib_save_LIBS
34538 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34539 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34540 if test $ac_cv_lib_posix4_sched_yield = yes; then
34541 cat >>confdefs.h
<<\_ACEOF
34542 #define HAVE_SCHED_YIELD 1
34544 POSIX4_LINK
=" -lposix4"
34546 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34547 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34558 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34559 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34560 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34561 echo $ECHO_N "(cached) $ECHO_C" >&6
34563 cat >conftest.
$ac_ext <<_ACEOF
34566 cat confdefs.h
>>conftest.
$ac_ext
34567 cat >>conftest.
$ac_ext <<_ACEOF
34568 /* end confdefs.h. */
34569 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34571 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34573 /* System header to define __stub macros and hopefully few prototypes,
34574 which can conflict with char pthread_attr_getschedpolicy (); below.
34575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34576 <limits.h> exists even on freestanding compilers. */
34579 # include <limits.h>
34581 # include <assert.h>
34584 #undef pthread_attr_getschedpolicy
34586 /* Override any gcc2 internal prototype to avoid an error. */
34591 /* We use char because int might match the return type of a gcc2
34592 builtin and then its argument prototype would still apply. */
34593 char pthread_attr_getschedpolicy ();
34594 /* The GNU C library defines this for functions which it implements
34595 to always fail with ENOSYS. Some functions are actually named
34596 something starting with __ and the normal name is an alias. */
34597 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34600 char (*f) () = pthread_attr_getschedpolicy;
34609 return f != pthread_attr_getschedpolicy;
34614 rm -f conftest.
$ac_objext conftest
$ac_exeext
34615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34616 (eval $ac_link) 2>conftest.er1
34618 grep -v '^ *+' conftest.er1
>conftest.err
34620 cat conftest.err
>&5
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); } &&
34623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34625 (eval $ac_try) 2>&5
34627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34628 (exit $ac_status); }; } &&
34629 { ac_try
='test -s conftest$ac_exeext'
34630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34631 (eval $ac_try) 2>&5
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); }; }; then
34635 ac_cv_func_pthread_attr_getschedpolicy
=yes
34637 echo "$as_me: failed program was:" >&5
34638 sed 's/^/| /' conftest.
$ac_ext >&5
34640 ac_cv_func_pthread_attr_getschedpolicy
=no
34642 rm -f conftest.err conftest.
$ac_objext \
34643 conftest
$ac_exeext conftest.
$ac_ext
34645 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34646 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34647 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34648 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34649 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34650 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34651 echo $ECHO_N "(cached) $ECHO_C" >&6
34653 cat >conftest.
$ac_ext <<_ACEOF
34656 cat confdefs.h
>>conftest.
$ac_ext
34657 cat >>conftest.
$ac_ext <<_ACEOF
34658 /* end confdefs.h. */
34659 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34661 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34663 /* System header to define __stub macros and hopefully few prototypes,
34664 which can conflict with char pthread_attr_setschedparam (); below.
34665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34666 <limits.h> exists even on freestanding compilers. */
34669 # include <limits.h>
34671 # include <assert.h>
34674 #undef pthread_attr_setschedparam
34676 /* Override any gcc2 internal prototype to avoid an error. */
34681 /* We use char because int might match the return type of a gcc2
34682 builtin and then its argument prototype would still apply. */
34683 char pthread_attr_setschedparam ();
34684 /* The GNU C library defines this for functions which it implements
34685 to always fail with ENOSYS. Some functions are actually named
34686 something starting with __ and the normal name is an alias. */
34687 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34690 char (*f) () = pthread_attr_setschedparam;
34699 return f != pthread_attr_setschedparam;
34704 rm -f conftest.
$ac_objext conftest
$ac_exeext
34705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34706 (eval $ac_link) 2>conftest.er1
34708 grep -v '^ *+' conftest.er1
>conftest.err
34710 cat conftest.err
>&5
34711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34712 (exit $ac_status); } &&
34713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34715 (eval $ac_try) 2>&5
34717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718 (exit $ac_status); }; } &&
34719 { ac_try
='test -s conftest$ac_exeext'
34720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34721 (eval $ac_try) 2>&5
34723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34724 (exit $ac_status); }; }; then
34725 ac_cv_func_pthread_attr_setschedparam
=yes
34727 echo "$as_me: failed program was:" >&5
34728 sed 's/^/| /' conftest.
$ac_ext >&5
34730 ac_cv_func_pthread_attr_setschedparam
=no
34732 rm -f conftest.err conftest.
$ac_objext \
34733 conftest
$ac_exeext conftest.
$ac_ext
34735 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34736 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34737 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34738 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34739 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34740 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34741 echo $ECHO_N "(cached) $ECHO_C" >&6
34743 cat >conftest.
$ac_ext <<_ACEOF
34746 cat confdefs.h
>>conftest.
$ac_ext
34747 cat >>conftest.
$ac_ext <<_ACEOF
34748 /* end confdefs.h. */
34749 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34751 #define sched_get_priority_max innocuous_sched_get_priority_max
34753 /* System header to define __stub macros and hopefully few prototypes,
34754 which can conflict with char sched_get_priority_max (); below.
34755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34756 <limits.h> exists even on freestanding compilers. */
34759 # include <limits.h>
34761 # include <assert.h>
34764 #undef sched_get_priority_max
34766 /* Override any gcc2 internal prototype to avoid an error. */
34771 /* We use char because int might match the return type of a gcc2
34772 builtin and then its argument prototype would still apply. */
34773 char sched_get_priority_max ();
34774 /* The GNU C library defines this for functions which it implements
34775 to always fail with ENOSYS. Some functions are actually named
34776 something starting with __ and the normal name is an alias. */
34777 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34780 char (*f) () = sched_get_priority_max;
34789 return f != sched_get_priority_max;
34794 rm -f conftest.
$ac_objext conftest
$ac_exeext
34795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34796 (eval $ac_link) 2>conftest.er1
34798 grep -v '^ *+' conftest.er1
>conftest.err
34800 cat conftest.err
>&5
34801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34802 (exit $ac_status); } &&
34803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34805 (eval $ac_try) 2>&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); }; } &&
34809 { ac_try
='test -s conftest$ac_exeext'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; }; then
34815 ac_cv_func_sched_get_priority_max
=yes
34817 echo "$as_me: failed program was:" >&5
34818 sed 's/^/| /' conftest.
$ac_ext >&5
34820 ac_cv_func_sched_get_priority_max
=no
34822 rm -f conftest.err conftest.
$ac_objext \
34823 conftest
$ac_exeext conftest.
$ac_ext
34825 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34826 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34827 if test $ac_cv_func_sched_get_priority_max = yes; then
34830 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34831 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34832 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34833 echo $ECHO_N "(cached) $ECHO_C" >&6
34835 ac_check_lib_save_LIBS
=$LIBS
34836 LIBS
="-lposix4 $LIBS"
34837 cat >conftest.
$ac_ext <<_ACEOF
34840 cat confdefs.h
>>conftest.
$ac_ext
34841 cat >>conftest.
$ac_ext <<_ACEOF
34842 /* end confdefs.h. */
34844 /* Override any gcc2 internal prototype to avoid an error. */
34848 /* We use char because int might match the return type of a gcc2
34849 builtin and then its argument prototype would still apply. */
34850 char sched_get_priority_max ();
34854 sched_get_priority_max ();
34859 rm -f conftest.
$ac_objext conftest
$ac_exeext
34860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34861 (eval $ac_link) 2>conftest.er1
34863 grep -v '^ *+' conftest.er1
>conftest.err
34865 cat conftest.err
>&5
34866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34867 (exit $ac_status); } &&
34868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34870 (eval $ac_try) 2>&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); }; } &&
34874 { ac_try
='test -s conftest$ac_exeext'
34875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34876 (eval $ac_try) 2>&5
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); }; }; then
34880 ac_cv_lib_posix4_sched_get_priority_max
=yes
34882 echo "$as_me: failed program was:" >&5
34883 sed 's/^/| /' conftest.
$ac_ext >&5
34885 ac_cv_lib_posix4_sched_get_priority_max
=no
34887 rm -f conftest.err conftest.
$ac_objext \
34888 conftest
$ac_exeext conftest.
$ac_ext
34889 LIBS
=$ac_check_lib_save_LIBS
34891 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34892 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34893 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34896 POSIX4_LINK
=" -lposix4"
34910 if test "$HAVE_PRIOR_FUNCS" = 1; then
34911 cat >>confdefs.h
<<\_ACEOF
34912 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34916 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34917 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34920 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34921 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34922 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34923 echo $ECHO_N "(cached) $ECHO_C" >&6
34925 cat >conftest.
$ac_ext <<_ACEOF
34928 cat confdefs.h
>>conftest.
$ac_ext
34929 cat >>conftest.
$ac_ext <<_ACEOF
34930 /* end confdefs.h. */
34931 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34933 #define pthread_cancel innocuous_pthread_cancel
34935 /* System header to define __stub macros and hopefully few prototypes,
34936 which can conflict with char pthread_cancel (); below.
34937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34938 <limits.h> exists even on freestanding compilers. */
34941 # include <limits.h>
34943 # include <assert.h>
34946 #undef pthread_cancel
34948 /* Override any gcc2 internal prototype to avoid an error. */
34953 /* We use char because int might match the return type of a gcc2
34954 builtin and then its argument prototype would still apply. */
34955 char pthread_cancel ();
34956 /* The GNU C library defines this for functions which it implements
34957 to always fail with ENOSYS. Some functions are actually named
34958 something starting with __ and the normal name is an alias. */
34959 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34962 char (*f) () = pthread_cancel;
34971 return f != pthread_cancel;
34976 rm -f conftest.
$ac_objext conftest
$ac_exeext
34977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34978 (eval $ac_link) 2>conftest.er1
34980 grep -v '^ *+' conftest.er1
>conftest.err
34982 cat conftest.err
>&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); } &&
34985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34987 (eval $ac_try) 2>&5
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 (exit $ac_status); }; } &&
34991 { ac_try
='test -s conftest$ac_exeext'
34992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34993 (eval $ac_try) 2>&5
34995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34996 (exit $ac_status); }; }; then
34997 ac_cv_func_pthread_cancel
=yes
34999 echo "$as_me: failed program was:" >&5
35000 sed 's/^/| /' conftest.
$ac_ext >&5
35002 ac_cv_func_pthread_cancel
=no
35004 rm -f conftest.err conftest.
$ac_objext \
35005 conftest
$ac_exeext conftest.
$ac_ext
35007 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35008 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35009 if test $ac_cv_func_pthread_cancel = yes; then
35010 cat >>confdefs.h
<<\_ACEOF
35011 #define HAVE_PTHREAD_CANCEL 1
35015 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35016 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35022 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35023 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35024 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35025 echo $ECHO_N "(cached) $ECHO_C" >&6
35028 cat >conftest.
$ac_ext <<_ACEOF
35031 cat confdefs.h
>>conftest.
$ac_ext
35032 cat >>conftest.
$ac_ext <<_ACEOF
35033 /* end confdefs.h. */
35034 #include <pthread.h>
35039 pthread_mutexattr_t attr;
35040 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35046 rm -f conftest.
$ac_objext
35047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35048 (eval $ac_compile) 2>conftest.er1
35050 grep -v '^ *+' conftest.er1
>conftest.err
35052 cat conftest.err
>&5
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); } &&
35055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35057 (eval $ac_try) 2>&5
35059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35060 (exit $ac_status); }; } &&
35061 { ac_try
='test -s conftest.$ac_objext'
35062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35063 (eval $ac_try) 2>&5
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); }; }; then
35068 wx_cv_type_pthread_mutexattr_t
=yes
35071 echo "$as_me: failed program was:" >&5
35072 sed 's/^/| /' conftest.
$ac_ext >&5
35075 wx_cv_type_pthread_mutexattr_t
=no
35079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35082 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35083 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35085 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35086 cat >>confdefs.h
<<\_ACEOF
35087 #define HAVE_PTHREAD_MUTEXATTR_T 1
35091 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35092 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35093 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35094 echo $ECHO_N "(cached) $ECHO_C" >&6
35097 cat >conftest.
$ac_ext <<_ACEOF
35100 cat confdefs.h
>>conftest.
$ac_ext
35101 cat >>conftest.
$ac_ext <<_ACEOF
35102 /* end confdefs.h. */
35103 #include <pthread.h>
35108 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35114 rm -f conftest.
$ac_objext
35115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35116 (eval $ac_compile) 2>conftest.er1
35118 grep -v '^ *+' conftest.er1
>conftest.err
35120 cat conftest.err
>&5
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); } &&
35123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35125 (eval $ac_try) 2>&5
35127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35128 (exit $ac_status); }; } &&
35129 { ac_try
='test -s conftest.$ac_objext'
35130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35131 (eval $ac_try) 2>&5
35133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35134 (exit $ac_status); }; }; then
35136 wx_cv_type_pthread_rec_mutex_init
=yes
35139 echo "$as_me: failed program was:" >&5
35140 sed 's/^/| /' conftest.
$ac_ext >&5
35143 wx_cv_type_pthread_rec_mutex_init
=no
35147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35150 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35151 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35152 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35153 cat >>confdefs.h
<<\_ACEOF
35154 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35158 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35159 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35165 if test "$wxUSE_THREADS" = "yes" ; then
35168 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35169 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35170 if test "${wx_cv_cflags_mthread+set}" = set; then
35171 echo $ECHO_N "(cached) $ECHO_C" >&6
35174 CFLAGS_OLD
="$CFLAGS"
35175 CFLAGS
="$CFLAGS -mthreads"
35176 cat >conftest.
$ac_ext <<_ACEOF
35179 cat confdefs.h
>>conftest.
$ac_ext
35180 cat >>conftest.
$ac_ext <<_ACEOF
35181 /* end confdefs.h. */
35191 rm -f conftest.
$ac_objext
35192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35193 (eval $ac_compile) 2>conftest.er1
35195 grep -v '^ *+' conftest.er1
>conftest.err
35197 cat conftest.err
>&5
35198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35199 (exit $ac_status); } &&
35200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35202 (eval $ac_try) 2>&5
35204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35205 (exit $ac_status); }; } &&
35206 { ac_try
='test -s conftest.$ac_objext'
35207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35208 (eval $ac_try) 2>&5
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); }; }; then
35212 wx_cv_cflags_mthread
=yes
35214 echo "$as_me: failed program was:" >&5
35215 sed 's/^/| /' conftest.
$ac_ext >&5
35217 wx_cv_cflags_mthread
=no
35220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35224 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35225 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35227 if test "$wx_cv_cflags_mthread" = "yes"; then
35228 CXXFLAGS
="$CXXFLAGS -mthreads"
35229 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
35230 LDFLAGS
="$LDFLAGS -mthreads"
35232 CFLAGS
="$CFLAGS_OLD"
35236 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35237 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35238 LDFLAGS
="$LDFLAGS -Zmt"
35244 if test "$wxUSE_THREADS" = "yes"; then
35245 cat >>confdefs.h
<<\_ACEOF
35246 #define wxUSE_THREADS 1
35250 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
35252 if test "$ac_cv_func_strtok_r" = "yes"; then
35253 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35254 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35255 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35256 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
35257 echo "$as_me:$LINENO: result: yes" >&5
35258 echo "${ECHO_T}yes" >&6
35260 echo "$as_me:$LINENO: result: no" >&5
35261 echo "${ECHO_T}no" >&6
35266 if test "$WXGTK20" = 1 ; then
35267 cat >>confdefs.h
<<_ACEOF
35268 #define __WXGTK20__ $WXGTK20
35274 if test "$WXGTK12" = 1 ; then
35275 cat >>confdefs.h
<<_ACEOF
35276 #define __WXGTK12__ $WXGTK12
35281 if test "$WXGTK127" = 1 ; then
35282 cat >>confdefs.h
<<_ACEOF
35283 #define __WXGTK127__ $WXGTK127
35288 if test "$WXGPE" = 1 ; then
35289 cat >>confdefs.h
<<_ACEOF
35290 #define __WXGPE__ $WXGPE
35297 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35302 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35303 wxUSE_DEBUG_INFO
=yes
35307 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35308 cat >>confdefs.h
<<\_ACEOF
35312 WXDEBUG_DEFINE
="-D__WXDEBUG__"
35314 if test "$wxUSE_GTK" = 1 ; then
35315 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
35319 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35320 cat >>confdefs.h
<<\_ACEOF
35321 #define wxUSE_MEMORY_TRACING 1
35324 cat >>confdefs.h
<<\_ACEOF
35325 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35328 cat >>confdefs.h
<<\_ACEOF
35329 #define wxUSE_DEBUG_NEW_ALWAYS 1
35332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
35335 if test "$wxUSE_DMALLOC" = "yes" ; then
35336 DMALLOC_LIBS
="-ldmalloc"
35340 if test "$wxUSE_PROFILE" = "yes" ; then
35345 CODE_GEN_FLAGS_CXX
=
35346 if test "$GCC" = "yes" ; then
35347 if test "$wxUSE_NO_RTTI" = "yes" ; then
35348 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
35350 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35351 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35353 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35354 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
35359 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
35362 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
35368 if test "$wxUSE_OPTIMISE" = "no" ; then
35369 if test "$GCC" = yes ; then
35373 if test "$GCC" = yes ; then
35377 i586
-*-*|i686
-*-* )
35378 OPTIMISE
="${OPTIMISE} "
35387 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35388 cat >>confdefs.h
<<\_ACEOF
35389 #define WXWIN_COMPATIBILITY_2_2 1
35393 WXWIN_COMPATIBILITY_2_4
="yes"
35396 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35397 cat >>confdefs.h
<<\_ACEOF
35398 #define WXWIN_COMPATIBILITY_2_4 1
35404 if test "$wxUSE_GUI" = "yes"; then
35405 cat >>confdefs.h
<<\_ACEOF
35406 #define wxUSE_GUI 1
35413 if test "$wxUSE_UNIX" = "yes"; then
35414 cat >>confdefs.h
<<\_ACEOF
35415 #define wxUSE_UNIX 1
35421 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35425 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35426 if test "$USE_DARWIN" = 1; then
35430 for ac_func
in dlopen
35432 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35433 echo "$as_me:$LINENO: checking for $ac_func" >&5
35434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35435 if eval "test \"\${$as_ac_var+set}\" = set"; then
35436 echo $ECHO_N "(cached) $ECHO_C" >&6
35438 cat >conftest.
$ac_ext <<_ACEOF
35441 cat confdefs.h
>>conftest.
$ac_ext
35442 cat >>conftest.
$ac_ext <<_ACEOF
35443 /* end confdefs.h. */
35444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35446 #define $ac_func innocuous_$ac_func
35448 /* System header to define __stub macros and hopefully few prototypes,
35449 which can conflict with char $ac_func (); below.
35450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35451 <limits.h> exists even on freestanding compilers. */
35454 # include <limits.h>
35456 # include <assert.h>
35461 /* Override any gcc2 internal prototype to avoid an error. */
35466 /* We use char because int might match the return type of a gcc2
35467 builtin and then its argument prototype would still apply. */
35469 /* The GNU C library defines this for functions which it implements
35470 to always fail with ENOSYS. Some functions are actually named
35471 something starting with __ and the normal name is an alias. */
35472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35475 char (*f) () = $ac_func;
35484 return f != $ac_func;
35489 rm -f conftest.
$ac_objext conftest
$ac_exeext
35490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35491 (eval $ac_link) 2>conftest.er1
35493 grep -v '^ *+' conftest.er1
>conftest.err
35495 cat conftest.err
>&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); } &&
35498 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35500 (eval $ac_try) 2>&5
35502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35503 (exit $ac_status); }; } &&
35504 { ac_try
='test -s conftest$ac_exeext'
35505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35506 (eval $ac_try) 2>&5
35508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35509 (exit $ac_status); }; }; then
35510 eval "$as_ac_var=yes"
35512 echo "$as_me: failed program was:" >&5
35513 sed 's/^/| /' conftest.
$ac_ext >&5
35515 eval "$as_ac_var=no"
35517 rm -f conftest.err conftest.
$ac_objext \
35518 conftest
$ac_exeext conftest.
$ac_ext
35520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35522 if test `eval echo '${'$as_ac_var'}'` = yes; then
35523 cat >>confdefs.h
<<_ACEOF
35524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35527 cat >>confdefs.h
<<\_ACEOF
35528 #define HAVE_DLOPEN 1
35535 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35536 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35537 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35538 echo $ECHO_N "(cached) $ECHO_C" >&6
35540 ac_check_lib_save_LIBS
=$LIBS
35542 cat >conftest.
$ac_ext <<_ACEOF
35545 cat confdefs.h
>>conftest.
$ac_ext
35546 cat >>conftest.
$ac_ext <<_ACEOF
35547 /* end confdefs.h. */
35549 /* Override any gcc2 internal prototype to avoid an error. */
35553 /* We use char because int might match the return type of a gcc2
35554 builtin and then its argument prototype would still apply. */
35564 rm -f conftest.
$ac_objext conftest
$ac_exeext
35565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35566 (eval $ac_link) 2>conftest.er1
35568 grep -v '^ *+' conftest.er1
>conftest.err
35570 cat conftest.err
>&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); } &&
35573 { ac_try
='test -z "$ac_c_werror_flag" || 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_dl_dlopen
=yes
35587 echo "$as_me: failed program was:" >&5
35588 sed 's/^/| /' conftest.
$ac_ext >&5
35590 ac_cv_lib_dl_dlopen
=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_dl_dlopen" >&5
35597 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35598 if test $ac_cv_lib_dl_dlopen = yes; then
35600 cat >>confdefs.h
<<\_ACEOF
35601 #define HAVE_DLOPEN 1
35605 DL_LINK
=" -ldl$DL_LINK"
35610 for ac_func
in shl_load
35612 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35613 echo "$as_me:$LINENO: checking for $ac_func" >&5
35614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35615 if eval "test \"\${$as_ac_var+set}\" = set"; then
35616 echo $ECHO_N "(cached) $ECHO_C" >&6
35618 cat >conftest.
$ac_ext <<_ACEOF
35621 cat confdefs.h
>>conftest.
$ac_ext
35622 cat >>conftest.
$ac_ext <<_ACEOF
35623 /* end confdefs.h. */
35624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35626 #define $ac_func innocuous_$ac_func
35628 /* System header to define __stub macros and hopefully few prototypes,
35629 which can conflict with char $ac_func (); below.
35630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35631 <limits.h> exists even on freestanding compilers. */
35634 # include <limits.h>
35636 # include <assert.h>
35641 /* Override any gcc2 internal prototype to avoid an error. */
35646 /* We use char because int might match the return type of a gcc2
35647 builtin and then its argument prototype would still apply. */
35649 /* The GNU C library defines this for functions which it implements
35650 to always fail with ENOSYS. Some functions are actually named
35651 something starting with __ and the normal name is an alias. */
35652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35655 char (*f) () = $ac_func;
35664 return f != $ac_func;
35669 rm -f conftest.
$ac_objext conftest
$ac_exeext
35670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35671 (eval $ac_link) 2>conftest.er1
35673 grep -v '^ *+' conftest.er1
>conftest.err
35675 cat conftest.err
>&5
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); } &&
35678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35680 (eval $ac_try) 2>&5
35682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35683 (exit $ac_status); }; } &&
35684 { ac_try
='test -s conftest$ac_exeext'
35685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35686 (eval $ac_try) 2>&5
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); }; }; then
35690 eval "$as_ac_var=yes"
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.
$ac_ext >&5
35695 eval "$as_ac_var=no"
35697 rm -f conftest.err conftest.
$ac_objext \
35698 conftest
$ac_exeext conftest.
$ac_ext
35700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35702 if test `eval echo '${'$as_ac_var'}'` = yes; then
35703 cat >>confdefs.h
<<_ACEOF
35704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35707 cat >>confdefs.h
<<\_ACEOF
35708 #define HAVE_SHL_LOAD 1
35715 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35716 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35717 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35718 echo $ECHO_N "(cached) $ECHO_C" >&6
35720 ac_check_lib_save_LIBS
=$LIBS
35721 LIBS
="-lshl_load $LIBS"
35722 cat >conftest.
$ac_ext <<_ACEOF
35725 cat confdefs.h
>>conftest.
$ac_ext
35726 cat >>conftest.
$ac_ext <<_ACEOF
35727 /* end confdefs.h. */
35729 /* Override any gcc2 internal prototype to avoid an error. */
35733 /* We use char because int might match the return type of a gcc2
35734 builtin and then its argument prototype would still apply. */
35744 rm -f conftest.
$ac_objext conftest
$ac_exeext
35745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35746 (eval $ac_link) 2>conftest.er1
35748 grep -v '^ *+' conftest.er1
>conftest.err
35750 cat conftest.err
>&5
35751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752 (exit $ac_status); } &&
35753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35755 (eval $ac_try) 2>&5
35757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758 (exit $ac_status); }; } &&
35759 { ac_try
='test -s conftest$ac_exeext'
35760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35761 (eval $ac_try) 2>&5
35763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35764 (exit $ac_status); }; }; then
35765 ac_cv_lib_shl_load_dld
=yes
35767 echo "$as_me: failed program was:" >&5
35768 sed 's/^/| /' conftest.
$ac_ext >&5
35770 ac_cv_lib_shl_load_dld
=no
35772 rm -f conftest.err conftest.
$ac_objext \
35773 conftest
$ac_exeext conftest.
$ac_ext
35774 LIBS
=$ac_check_lib_save_LIBS
35776 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35777 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35778 if test $ac_cv_lib_shl_load_dld = yes; then
35781 DL_LINK
=" -ldld$DL_LINK"
35797 if test "$HAVE_DL_FUNCS" = 1; then
35799 for ac_func
in dlerror
35801 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35802 echo "$as_me:$LINENO: checking for $ac_func" >&5
35803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35804 if eval "test \"\${$as_ac_var+set}\" = set"; then
35805 echo $ECHO_N "(cached) $ECHO_C" >&6
35807 cat >conftest.
$ac_ext <<_ACEOF
35810 cat confdefs.h
>>conftest.
$ac_ext
35811 cat >>conftest.
$ac_ext <<_ACEOF
35812 /* end confdefs.h. */
35813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35815 #define $ac_func innocuous_$ac_func
35817 /* System header to define __stub macros and hopefully few prototypes,
35818 which can conflict with char $ac_func (); below.
35819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35820 <limits.h> exists even on freestanding compilers. */
35823 # include <limits.h>
35825 # include <assert.h>
35830 /* Override any gcc2 internal prototype to avoid an error. */
35835 /* We use char because int might match the return type of a gcc2
35836 builtin and then its argument prototype would still apply. */
35838 /* The GNU C library defines this for functions which it implements
35839 to always fail with ENOSYS. Some functions are actually named
35840 something starting with __ and the normal name is an alias. */
35841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35844 char (*f) () = $ac_func;
35853 return f != $ac_func;
35858 rm -f conftest.
$ac_objext conftest
$ac_exeext
35859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35860 (eval $ac_link) 2>conftest.er1
35862 grep -v '^ *+' conftest.er1
>conftest.err
35864 cat conftest.err
>&5
35865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35866 (exit $ac_status); } &&
35867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35869 (eval $ac_try) 2>&5
35871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35872 (exit $ac_status); }; } &&
35873 { ac_try
='test -s conftest$ac_exeext'
35874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35875 (eval $ac_try) 2>&5
35877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35878 (exit $ac_status); }; }; then
35879 eval "$as_ac_var=yes"
35881 echo "$as_me: failed program was:" >&5
35882 sed 's/^/| /' conftest.
$ac_ext >&5
35884 eval "$as_ac_var=no"
35886 rm -f conftest.err conftest.
$ac_objext \
35887 conftest
$ac_exeext conftest.
$ac_ext
35889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35891 if test `eval echo '${'$as_ac_var'}'` = yes; then
35892 cat >>confdefs.h
<<_ACEOF
35893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35895 cat >>confdefs.h
<<\_ACEOF
35896 #define HAVE_DLERROR 1
35901 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35902 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35903 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35904 echo $ECHO_N "(cached) $ECHO_C" >&6
35906 ac_check_lib_save_LIBS
=$LIBS
35908 cat >conftest.
$ac_ext <<_ACEOF
35911 cat confdefs.h
>>conftest.
$ac_ext
35912 cat >>conftest.
$ac_ext <<_ACEOF
35913 /* end confdefs.h. */
35915 /* Override any gcc2 internal prototype to avoid an error. */
35919 /* We use char because int might match the return type of a gcc2
35920 builtin and then its argument prototype would still apply. */
35930 rm -f conftest.
$ac_objext conftest
$ac_exeext
35931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35932 (eval $ac_link) 2>conftest.er1
35934 grep -v '^ *+' conftest.er1
>conftest.err
35936 cat conftest.err
>&5
35937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35938 (exit $ac_status); } &&
35939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35941 (eval $ac_try) 2>&5
35943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35944 (exit $ac_status); }; } &&
35945 { ac_try
='test -s conftest$ac_exeext'
35946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35947 (eval $ac_try) 2>&5
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); }; }; then
35951 ac_cv_lib_dl_dlerror
=yes
35953 echo "$as_me: failed program was:" >&5
35954 sed 's/^/| /' conftest.
$ac_ext >&5
35956 ac_cv_lib_dl_dlerror
=no
35958 rm -f conftest.err conftest.
$ac_objext \
35959 conftest
$ac_exeext conftest.
$ac_ext
35960 LIBS
=$ac_check_lib_save_LIBS
35962 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35963 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35964 if test $ac_cv_lib_dl_dlerror = yes; then
35965 cat >>confdefs.h
<<\_ACEOF
35966 #define HAVE_DLERROR 1
35979 if test "$HAVE_DL_FUNCS" = 0; then
35980 if test "$HAVE_SHL_FUNCS" = 0; then
35981 if test "$USE_UNIX" = 1; then
35982 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35983 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35984 wxUSE_DYNAMIC_LOADER
=no
35985 wxUSE_DYNLIB_CLASS
=no
35987 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35988 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35995 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35996 cat >>confdefs.h
<<\_ACEOF
35997 #define wxUSE_DYNAMIC_LOADER 1
36001 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36002 cat >>confdefs.h
<<\_ACEOF
36003 #define wxUSE_DYNLIB_CLASS 1
36010 if test "$wxUSE_PLUGINS" = "yes" ; then
36011 if test "$wxUSE_SHARED" = "no" ; then
36012 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36013 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36016 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36017 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36018 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36021 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36022 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36023 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36026 if test "$wxUSE_PLUGINS" = "yes" ; then
36027 cat >>confdefs.h
<<\_ACEOF
36028 #define wxUSE_PLUGINS 1
36035 if test "$wxUSE_STL" = "yes"; then
36036 cat >>confdefs.h
<<\_ACEOF
36037 #define wxUSE_STL 1
36042 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36043 cat >>confdefs.h
<<\_ACEOF
36044 #define wxUSE_APPLE_IEEE 1
36049 if test "$wxUSE_TIMER" = "yes"; then
36050 cat >>confdefs.h
<<\_ACEOF
36051 #define wxUSE_TIMER 1
36057 if test "$wxUSE_SOUND" = "yes"; then
36058 if test "$USE_UNIX" = "1" ; then
36060 for ac_header
in sys
/soundcard.h
36062 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36064 echo "$as_me:$LINENO: checking for $ac_header" >&5
36065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36067 echo $ECHO_N "(cached) $ECHO_C" >&6
36069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36072 # Is the header compilable?
36073 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36074 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36075 cat >conftest.
$ac_ext <<_ACEOF
36078 cat confdefs.h
>>conftest.
$ac_ext
36079 cat >>conftest.
$ac_ext <<_ACEOF
36080 /* end confdefs.h. */
36081 $ac_includes_default
36082 #include <$ac_header>
36084 rm -f conftest.
$ac_objext
36085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36086 (eval $ac_compile) 2>conftest.er1
36088 grep -v '^ *+' conftest.er1
>conftest.err
36090 cat conftest.err
>&5
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); } &&
36093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36095 (eval $ac_try) 2>&5
36097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36098 (exit $ac_status); }; } &&
36099 { ac_try
='test -s conftest.$ac_objext'
36100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36101 (eval $ac_try) 2>&5
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); }; }; then
36105 ac_header_compiler
=yes
36107 echo "$as_me: failed program was:" >&5
36108 sed 's/^/| /' conftest.
$ac_ext >&5
36110 ac_header_compiler
=no
36112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36114 echo "${ECHO_T}$ac_header_compiler" >&6
36116 # Is the header present?
36117 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36119 cat >conftest.
$ac_ext <<_ACEOF
36122 cat confdefs.h
>>conftest.
$ac_ext
36123 cat >>conftest.
$ac_ext <<_ACEOF
36124 /* end confdefs.h. */
36125 #include <$ac_header>
36127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36130 grep -v '^ *+' conftest.er1
>conftest.err
36132 cat conftest.err
>&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); } >/dev
/null
; then
36135 if test -s conftest.err
; then
36136 ac_cpp_err
=$ac_c_preproc_warn_flag
36137 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36144 if test -z "$ac_cpp_err"; then
36145 ac_header_preproc
=yes
36147 echo "$as_me: failed program was:" >&5
36148 sed 's/^/| /' conftest.
$ac_ext >&5
36150 ac_header_preproc
=no
36152 rm -f conftest.err conftest.
$ac_ext
36153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36154 echo "${ECHO_T}$ac_header_preproc" >&6
36156 # So? What about this header?
36157 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36159 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36160 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36162 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36163 ac_header_preproc
=yes
36166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36170 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36171 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36172 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36173 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36176 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36177 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36180 ## ----------------------------------------- ##
36181 ## Report this to wx-dev@lists.wxwidgets.org ##
36182 ## ----------------------------------------- ##
36185 sed "s/^/$as_me: WARNING: /" >&2
36188 echo "$as_me:$LINENO: checking for $ac_header" >&5
36189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36191 echo $ECHO_N "(cached) $ECHO_C" >&6
36193 eval "$as_ac_Header=\$ac_header_preproc"
36195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36200 cat >>confdefs.h
<<_ACEOF
36201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36209 if test "$wxUSE_LIBSDL" != "no"; then
36211 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36212 if test "${with_sdl_prefix+set}" = set; then
36213 withval
="$with_sdl_prefix"
36214 sdl_prefix
="$withval"
36219 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36220 if test "${with_sdl_exec_prefix+set}" = set; then
36221 withval
="$with_sdl_exec_prefix"
36222 sdl_exec_prefix
="$withval"
36226 # Check whether --enable-sdltest or --disable-sdltest was given.
36227 if test "${enable_sdltest+set}" = set; then
36228 enableval
="$enable_sdltest"
36234 if test x
$sdl_exec_prefix != x
; then
36235 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
36236 if test x
${SDL_CONFIG+set} != xset
; then
36237 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
36240 if test x
$sdl_prefix != x
; then
36241 sdl_args
="$sdl_args --prefix=$sdl_prefix"
36242 if test x
${SDL_CONFIG+set} != xset
; then
36243 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
36248 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
36249 # Extract the first word of "sdl-config", so it can be a program name with args.
36250 set dummy sdl
-config; ac_word
=$2
36251 echo "$as_me:$LINENO: checking for $ac_word" >&5
36252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36253 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36254 echo $ECHO_N "(cached) $ECHO_C" >&6
36256 case $SDL_CONFIG in
36258 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
36261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36262 for as_dir
in $PATH
36265 test -z "$as_dir" && as_dir
=.
36266 for ac_exec_ext
in '' $ac_executable_extensions; do
36267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36268 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36275 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
36279 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
36281 if test -n "$SDL_CONFIG"; then
36282 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36283 echo "${ECHO_T}$SDL_CONFIG" >&6
36285 echo "$as_me:$LINENO: result: no" >&5
36286 echo "${ECHO_T}no" >&6
36289 min_sdl_version
=1.2.0
36290 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36291 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36293 if test "$SDL_CONFIG" = "no" ; then
36296 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
36297 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
36299 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
36300 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36301 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
36302 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36303 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
36304 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36305 if test "x$enable_sdltest" = "xyes" ; then
36306 ac_save_CFLAGS
="$CFLAGS"
36307 ac_save_CXXFLAGS
="$CXXFLAGS"
36308 ac_save_LIBS
="$LIBS"
36309 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36310 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36311 LIBS
="$LIBS $SDL_LIBS"
36313 if test "$cross_compiling" = yes; then
36314 echo $ac_n "cross compiling; assumed OK... $ac_c"
36316 cat >conftest.
$ac_ext <<_ACEOF
36319 cat confdefs.h
>>conftest.
$ac_ext
36320 cat >>conftest.
$ac_ext <<_ACEOF
36321 /* end confdefs.h. */
36324 #include <stdlib.h>
36325 #include <string.h>
36329 my_strdup (char *str)
36335 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36336 strcpy (new_str, str);
36344 int main (int argc, char *argv[])
36346 int major, minor, micro;
36349 /* This hangs on some systems (?)
36350 system ("touch conf.sdltest");
36352 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36354 /* HP/UX 9 (%@#!) writes to sscanf strings */
36355 tmp_version = my_strdup("$min_sdl_version");
36356 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
36357 printf("%s, bad version string\n", "$min_sdl_version");
36361 if (($sdl_major_version > major) ||
36362 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36363 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36369 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36370 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36371 printf("*** best to upgrade to the required version.\n");
36372 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36373 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36374 printf("*** config.cache before re-running configure\n");
36381 rm -f conftest
$ac_exeext
36382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36383 (eval $ac_link) 2>&5
36385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36388 (eval $ac_try) 2>&5
36390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36391 (exit $ac_status); }; }; then
36394 echo "$as_me: program exited with status $ac_status" >&5
36395 echo "$as_me: failed program was:" >&5
36396 sed 's/^/| /' conftest.
$ac_ext >&5
36398 ( exit $ac_status )
36401 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36403 CFLAGS
="$ac_save_CFLAGS"
36404 CXXFLAGS
="$ac_save_CXXFLAGS"
36405 LIBS
="$ac_save_LIBS"
36408 if test "x$no_sdl" = x
; then
36409 echo "$as_me:$LINENO: result: yes" >&5
36410 echo "${ECHO_T}yes" >&6
36412 EXTRALIBS_SDL
="$SDL_LIBS"
36413 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36414 cat >>confdefs.h
<<\_ACEOF
36415 #define wxUSE_LIBSDL 1
36420 echo "$as_me:$LINENO: result: no" >&5
36421 echo "${ECHO_T}no" >&6
36422 if test "$SDL_CONFIG" = "no" ; then
36423 echo "*** The sdl-config script installed by SDL could not be found"
36424 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36425 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36426 echo "*** full path to sdl-config."
36428 if test -f conf.sdltest
; then
36431 echo "*** Could not run SDL test program, checking why..."
36432 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36433 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36434 LIBS
="$LIBS $SDL_LIBS"
36435 cat >conftest.
$ac_ext <<_ACEOF
36438 cat confdefs.h
>>conftest.
$ac_ext
36439 cat >>conftest.
$ac_ext <<_ACEOF
36440 /* end confdefs.h. */
36445 int main(int argc, char *argv[])
36448 #define main K_and_R_C_main
36458 rm -f conftest.
$ac_objext conftest
$ac_exeext
36459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36460 (eval $ac_link) 2>conftest.er1
36462 grep -v '^ *+' conftest.er1
>conftest.err
36464 cat conftest.err
>&5
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); } &&
36467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36469 (eval $ac_try) 2>&5
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); }; } &&
36473 { ac_try
='test -s conftest$ac_exeext'
36474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36475 (eval $ac_try) 2>&5
36477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36478 (exit $ac_status); }; }; then
36479 echo "*** The test program compiled, but did not run. This usually means"
36480 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36481 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36482 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36483 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36484 echo "*** is required on your system"
36486 echo "*** If you have an old version installed, it is best to remove it, although"
36487 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36489 echo "$as_me: failed program was:" >&5
36490 sed 's/^/| /' conftest.
$ac_ext >&5
36492 echo "*** The test program failed to compile or link. See the file config.log for the"
36493 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36494 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36495 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36497 rm -f conftest.err conftest.
$ac_objext \
36498 conftest
$ac_exeext conftest.
$ac_ext
36499 CFLAGS
="$ac_save_CFLAGS"
36500 CXXFLAGS
="$ac_save_CXXFLAGS"
36501 LIBS
="$ac_save_LIBS"
36512 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36518 cat >>confdefs.h
<<\_ACEOF
36519 #define wxUSE_SOUND 1
36522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
36525 if test "$WXGTK20" = 1; then
36526 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36527 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36532 if test -z "$PKG_CONFIG"; then
36533 # Extract the first word of "pkg-config", so it can be a program name with args.
36534 set dummy pkg
-config; ac_word
=$2
36535 echo "$as_me:$LINENO: checking for $ac_word" >&5
36536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36537 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36538 echo $ECHO_N "(cached) $ECHO_C" >&6
36540 case $PKG_CONFIG in
36542 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36546 for as_dir
in $PATH
36549 test -z "$as_dir" && as_dir
=.
36550 for ac_exec_ext
in '' $ac_executable_extensions; do
36551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36552 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36559 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
36563 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36565 if test -n "$PKG_CONFIG"; then
36566 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36567 echo "${ECHO_T}$PKG_CONFIG" >&6
36569 echo "$as_me:$LINENO: result: no" >&5
36570 echo "${ECHO_T}no" >&6
36575 if test "$PKG_CONFIG" = "no" ; then
36576 echo "*** The pkg-config script could not be found. Make sure it is"
36577 echo "*** in your path, or set the PKG_CONFIG environment variable"
36578 echo "*** to the full path to pkg-config."
36579 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36581 PKG_CONFIG_MIN_VERSION
=0.9.0
36582 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36583 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36584 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36586 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36587 echo "$as_me:$LINENO: result: yes" >&5
36588 echo "${ECHO_T}yes" >&6
36591 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36592 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36593 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36594 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36595 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36597 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36598 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36599 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36600 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36601 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36603 LIBGNOMEPRINTUI_CFLAGS
=""
36604 LIBGNOMEPRINTUI_LIBS
=""
36605 ## If we have a custom action on failure, don't print errors, but
36606 ## do set a variable so people can do so.
36607 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36614 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36615 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36619 if test $succeeded = yes; then
36621 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36622 cat >>confdefs.h
<<\_ACEOF
36623 #define wxUSE_LIBGNOMEPRINT 1
36629 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36630 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36631 wxUSE_LIBGNOMEPRINT
="no"
36641 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36642 cat >>confdefs.h
<<\_ACEOF
36643 #define wxUSE_CMDLINE_PARSER 1
36648 if test "$wxUSE_STOPWATCH" = "yes"; then
36649 cat >>confdefs.h
<<\_ACEOF
36650 #define wxUSE_STOPWATCH 1
36655 if test "$wxUSE_DATETIME" = "yes"; then
36656 cat >>confdefs.h
<<\_ACEOF
36657 #define wxUSE_DATETIME 1
36662 if test "$wxUSE_FILE" = "yes"; then
36663 cat >>confdefs.h
<<\_ACEOF
36664 #define wxUSE_FILE 1
36669 if test "$wxUSE_FFILE" = "yes"; then
36670 cat >>confdefs.h
<<\_ACEOF
36671 #define wxUSE_FFILE 1
36676 if test "$wxUSE_FILESYSTEM" = "yes"; then
36677 cat >>confdefs.h
<<\_ACEOF
36678 #define wxUSE_FILESYSTEM 1
36683 if test "$wxUSE_FS_ZIP" = "yes"; then
36684 cat >>confdefs.h
<<\_ACEOF
36685 #define wxUSE_FS_ZIP 1
36690 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36691 cat >>confdefs.h
<<\_ACEOF
36692 #define wxUSE_ARCHIVE_STREAMS 1
36697 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36698 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36699 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36700 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36701 elif test "$wxUSE_ZLIB" = "no"; then
36702 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36703 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36705 cat >>confdefs.h
<<\_ACEOF
36706 #define wxUSE_ZIPSTREAM 1
36712 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36713 cat >>confdefs.h
<<\_ACEOF
36714 #define wxUSE_ON_FATAL_EXCEPTION 1
36719 if test "$wxUSE_STACKWALKER" = "yes"; then
36720 cat >>confdefs.h
<<\_ACEOF
36721 #define wxUSE_STACKWALKER 1
36726 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36727 if test "$USE_OS2" = "1"; then
36728 { echo "$as_me:$LINENO: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&5
36729 echo "$as_me: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&2;}
36730 wxUSE_DEBUGREPORT
=no
36732 cat >>confdefs.h
<<\_ACEOF
36733 #define wxUSE_DEBUGREPORT 1
36736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
36740 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36741 cat >>confdefs.h
<<\_ACEOF
36742 #define wxUSE_SNGLINST_CHECKER 1
36747 if test "$wxUSE_BUSYINFO" = "yes"; then
36748 cat >>confdefs.h
<<\_ACEOF
36749 #define wxUSE_BUSYINFO 1
36754 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36755 cat >>confdefs.h
<<\_ACEOF
36756 #define wxUSE_STD_IOSTREAM 1
36761 if test "$wxUSE_STD_STRING" = "yes"; then
36762 cat >>confdefs.h
<<\_ACEOF
36763 #define wxUSE_STD_STRING 1
36768 if test "$wxUSE_STDPATHS" = "yes"; then
36769 cat >>confdefs.h
<<\_ACEOF
36770 #define wxUSE_STDPATHS 1
36775 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36776 cat >>confdefs.h
<<\_ACEOF
36777 #define wxUSE_TEXTBUFFER 1
36782 if test "$wxUSE_TEXTFILE" = "yes"; then
36783 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36784 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36785 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36787 cat >>confdefs.h
<<\_ACEOF
36788 #define wxUSE_TEXTFILE 1
36794 if test "$wxUSE_CONFIG" = "yes" ; then
36795 if test "$wxUSE_TEXTFILE" != "yes"; then
36796 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36797 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36799 cat >>confdefs.h
<<\_ACEOF
36800 #define wxUSE_CONFIG 1
36803 cat >>confdefs.h
<<\_ACEOF
36804 #define wxUSE_CONFIG_NATIVE 1
36807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
36811 if test "$wxUSE_INTL" = "yes" ; then
36812 if test "$wxUSE_FILE" != "yes"; then
36813 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36814 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36816 cat >>confdefs.h
<<\_ACEOF
36817 #define wxUSE_INTL 1
36820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
36821 GUIDIST
="$GUIDIST INTL_DIST"
36825 if test "$wxUSE_LOG" = "yes"; then
36826 cat >>confdefs.h
<<\_ACEOF
36827 #define wxUSE_LOG 1
36831 if test "$wxUSE_LOGGUI" = "yes"; then
36832 cat >>confdefs.h
<<\_ACEOF
36833 #define wxUSE_LOGGUI 1
36838 if test "$wxUSE_LOGWINDOW" = "yes"; then
36839 cat >>confdefs.h
<<\_ACEOF
36840 #define wxUSE_LOGWINDOW 1
36845 if test "$wxUSE_LOGDIALOG" = "yes"; then
36846 cat >>confdefs.h
<<\_ACEOF
36847 #define wxUSE_LOG_DIALOG 1
36852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
36855 if test "$wxUSE_LONGLONG" = "yes"; then
36856 cat >>confdefs.h
<<\_ACEOF
36857 #define wxUSE_LONGLONG 1
36862 if test "$wxUSE_GEOMETRY" = "yes"; then
36863 cat >>confdefs.h
<<\_ACEOF
36864 #define wxUSE_GEOMETRY 1
36869 if test "$wxUSE_STREAMS" = "yes" ; then
36870 cat >>confdefs.h
<<\_ACEOF
36871 #define wxUSE_STREAMS 1
36877 if test "$wxUSE_DATETIME" = "yes"; then
36879 for ac_func
in strptime
36881 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36882 echo "$as_me:$LINENO: checking for $ac_func" >&5
36883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36884 if eval "test \"\${$as_ac_var+set}\" = set"; then
36885 echo $ECHO_N "(cached) $ECHO_C" >&6
36887 cat >conftest.
$ac_ext <<_ACEOF
36890 cat confdefs.h
>>conftest.
$ac_ext
36891 cat >>conftest.
$ac_ext <<_ACEOF
36892 /* end confdefs.h. */
36893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36895 #define $ac_func innocuous_$ac_func
36897 /* System header to define __stub macros and hopefully few prototypes,
36898 which can conflict with char $ac_func (); below.
36899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36900 <limits.h> exists even on freestanding compilers. */
36903 # include <limits.h>
36905 # include <assert.h>
36910 /* Override any gcc2 internal prototype to avoid an error. */
36915 /* We use char because int might match the return type of a gcc2
36916 builtin and then its argument prototype would still apply. */
36918 /* The GNU C library defines this for functions which it implements
36919 to always fail with ENOSYS. Some functions are actually named
36920 something starting with __ and the normal name is an alias. */
36921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36924 char (*f) () = $ac_func;
36933 return f != $ac_func;
36938 rm -f conftest.
$ac_objext conftest
$ac_exeext
36939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36940 (eval $ac_link) 2>conftest.er1
36942 grep -v '^ *+' conftest.er1
>conftest.err
36944 cat conftest.err
>&5
36945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946 (exit $ac_status); } &&
36947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36949 (eval $ac_try) 2>&5
36951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952 (exit $ac_status); }; } &&
36953 { ac_try
='test -s conftest$ac_exeext'
36954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36955 (eval $ac_try) 2>&5
36957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36958 (exit $ac_status); }; }; then
36959 eval "$as_ac_var=yes"
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.
$ac_ext >&5
36964 eval "$as_ac_var=no"
36966 rm -f conftest.err conftest.
$ac_objext \
36967 conftest
$ac_exeext conftest.
$ac_ext
36969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36971 if test `eval echo '${'$as_ac_var'}'` = yes; then
36972 cat >>confdefs.h
<<_ACEOF
36973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36980 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36981 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36982 if test "${wx_cv_var_timezone+set}" = set; then
36983 echo $ECHO_N "(cached) $ECHO_C" >&6
36986 cat >conftest.
$ac_ext <<_ACEOF
36989 cat confdefs.h
>>conftest.
$ac_ext
36990 cat >>conftest.
$ac_ext <<_ACEOF
36991 /* end confdefs.h. */
37006 rm -f conftest.
$ac_objext
37007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37008 (eval $ac_compile) 2>conftest.er1
37010 grep -v '^ *+' conftest.er1
>conftest.err
37012 cat conftest.err
>&5
37013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37014 (exit $ac_status); } &&
37015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37017 (eval $ac_try) 2>&5
37019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37020 (exit $ac_status); }; } &&
37021 { ac_try
='test -s conftest.$ac_objext'
37022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37023 (eval $ac_try) 2>&5
37025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026 (exit $ac_status); }; }; then
37028 wx_cv_var_timezone
=timezone
37031 echo "$as_me: failed program was:" >&5
37032 sed 's/^/| /' conftest.
$ac_ext >&5
37035 cat >conftest.
$ac_ext <<_ACEOF
37038 cat confdefs.h
>>conftest.
$ac_ext
37039 cat >>conftest.
$ac_ext <<_ACEOF
37040 /* end confdefs.h. */
37055 rm -f conftest.
$ac_objext
37056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37057 (eval $ac_compile) 2>conftest.er1
37059 grep -v '^ *+' conftest.er1
>conftest.err
37061 cat conftest.err
>&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } &&
37064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37066 (eval $ac_try) 2>&5
37068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37069 (exit $ac_status); }; } &&
37070 { ac_try
='test -s conftest.$ac_objext'
37071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37072 (eval $ac_try) 2>&5
37074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37075 (exit $ac_status); }; }; then
37077 wx_cv_var_timezone
=_timezone
37080 echo "$as_me: failed program was:" >&5
37081 sed 's/^/| /' conftest.
$ac_ext >&5
37084 cat >conftest.
$ac_ext <<_ACEOF
37087 cat confdefs.h
>>conftest.
$ac_ext
37088 cat >>conftest.
$ac_ext <<_ACEOF
37089 /* end confdefs.h. */
37104 rm -f conftest.
$ac_objext
37105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37106 (eval $ac_compile) 2>conftest.er1
37108 grep -v '^ *+' conftest.er1
>conftest.err
37110 cat conftest.err
>&5
37111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37112 (exit $ac_status); } &&
37113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37115 (eval $ac_try) 2>&5
37117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37118 (exit $ac_status); }; } &&
37119 { ac_try
='test -s conftest.$ac_objext'
37120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37121 (eval $ac_try) 2>&5
37123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37124 (exit $ac_status); }; }; then
37126 wx_cv_var_timezone
=__timezone
37129 echo "$as_me: failed program was:" >&5
37130 sed 's/^/| /' conftest.
$ac_ext >&5
37133 if test "$USE_DOS" = 0 ; then
37134 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37135 echo "$as_me: WARNING: no timezone variable" >&2;}
37140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37152 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37153 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37155 if test "x$wx_cv_var_timezone" != x
; then
37156 cat >>confdefs.h
<<_ACEOF
37157 #define WX_TIMEZONE $wx_cv_var_timezone
37163 for ac_func
in localtime
37165 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37166 echo "$as_me:$LINENO: checking for $ac_func" >&5
37167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37168 if eval "test \"\${$as_ac_var+set}\" = set"; then
37169 echo $ECHO_N "(cached) $ECHO_C" >&6
37171 cat >conftest.
$ac_ext <<_ACEOF
37174 cat confdefs.h
>>conftest.
$ac_ext
37175 cat >>conftest.
$ac_ext <<_ACEOF
37176 /* end confdefs.h. */
37177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37179 #define $ac_func innocuous_$ac_func
37181 /* System header to define __stub macros and hopefully few prototypes,
37182 which can conflict with char $ac_func (); below.
37183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37184 <limits.h> exists even on freestanding compilers. */
37187 # include <limits.h>
37189 # include <assert.h>
37194 /* Override any gcc2 internal prototype to avoid an error. */
37199 /* We use char because int might match the return type of a gcc2
37200 builtin and then its argument prototype would still apply. */
37202 /* The GNU C library defines this for functions which it implements
37203 to always fail with ENOSYS. Some functions are actually named
37204 something starting with __ and the normal name is an alias. */
37205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37208 char (*f) () = $ac_func;
37217 return f != $ac_func;
37222 rm -f conftest.
$ac_objext conftest
$ac_exeext
37223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37224 (eval $ac_link) 2>conftest.er1
37226 grep -v '^ *+' conftest.er1
>conftest.err
37228 cat conftest.err
>&5
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); } &&
37231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37233 (eval $ac_try) 2>&5
37235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 (exit $ac_status); }; } &&
37237 { ac_try
='test -s conftest$ac_exeext'
37238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37239 (eval $ac_try) 2>&5
37241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37242 (exit $ac_status); }; }; then
37243 eval "$as_ac_var=yes"
37245 echo "$as_me: failed program was:" >&5
37246 sed 's/^/| /' conftest.
$ac_ext >&5
37248 eval "$as_ac_var=no"
37250 rm -f conftest.err conftest.
$ac_objext \
37251 conftest
$ac_exeext conftest.
$ac_ext
37253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37255 if test `eval echo '${'$as_ac_var'}'` = yes; then
37256 cat >>confdefs.h
<<_ACEOF
37257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37264 if test "$ac_cv_func_localtime" = "yes"; then
37265 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37266 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37267 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37268 echo $ECHO_N "(cached) $ECHO_C" >&6
37271 cat >conftest.
$ac_ext <<_ACEOF
37274 cat confdefs.h
>>conftest.
$ac_ext
37275 cat >>conftest.
$ac_ext <<_ACEOF
37276 /* end confdefs.h. */
37291 rm -f conftest.
$ac_objext
37292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37293 (eval $ac_compile) 2>conftest.er1
37295 grep -v '^ *+' conftest.er1
>conftest.err
37297 cat conftest.err
>&5
37298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37299 (exit $ac_status); } &&
37300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37302 (eval $ac_try) 2>&5
37304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37305 (exit $ac_status); }; } &&
37306 { ac_try
='test -s conftest.$ac_objext'
37307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37308 (eval $ac_try) 2>&5
37310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37311 (exit $ac_status); }; }; then
37313 wx_cv_struct_tm_has_gmtoff
=yes
37316 echo "$as_me: failed program was:" >&5
37317 sed 's/^/| /' conftest.
$ac_ext >&5
37319 wx_cv_struct_tm_has_gmtoff
=no
37322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37325 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37326 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37329 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37330 cat >>confdefs.h
<<\_ACEOF
37331 #define WX_GMTOFF_IN_TM 1
37338 for ac_func
in gettimeofday ftime
37340 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37341 echo "$as_me:$LINENO: checking for $ac_func" >&5
37342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37343 if eval "test \"\${$as_ac_var+set}\" = set"; then
37344 echo $ECHO_N "(cached) $ECHO_C" >&6
37346 cat >conftest.
$ac_ext <<_ACEOF
37349 cat confdefs.h
>>conftest.
$ac_ext
37350 cat >>conftest.
$ac_ext <<_ACEOF
37351 /* end confdefs.h. */
37352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37354 #define $ac_func innocuous_$ac_func
37356 /* System header to define __stub macros and hopefully few prototypes,
37357 which can conflict with char $ac_func (); below.
37358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37359 <limits.h> exists even on freestanding compilers. */
37362 # include <limits.h>
37364 # include <assert.h>
37369 /* Override any gcc2 internal prototype to avoid an error. */
37374 /* We use char because int might match the return type of a gcc2
37375 builtin and then its argument prototype would still apply. */
37377 /* The GNU C library defines this for functions which it implements
37378 to always fail with ENOSYS. Some functions are actually named
37379 something starting with __ and the normal name is an alias. */
37380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37383 char (*f) () = $ac_func;
37392 return f != $ac_func;
37397 rm -f conftest.
$ac_objext conftest
$ac_exeext
37398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37399 (eval $ac_link) 2>conftest.er1
37401 grep -v '^ *+' conftest.er1
>conftest.err
37403 cat conftest.err
>&5
37404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37405 (exit $ac_status); } &&
37406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37408 (eval $ac_try) 2>&5
37410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37411 (exit $ac_status); }; } &&
37412 { ac_try
='test -s conftest$ac_exeext'
37413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37414 (eval $ac_try) 2>&5
37416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417 (exit $ac_status); }; }; then
37418 eval "$as_ac_var=yes"
37420 echo "$as_me: failed program was:" >&5
37421 sed 's/^/| /' conftest.
$ac_ext >&5
37423 eval "$as_ac_var=no"
37425 rm -f conftest.err conftest.
$ac_objext \
37426 conftest
$ac_exeext conftest.
$ac_ext
37428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37430 if test `eval echo '${'$as_ac_var'}'` = yes; then
37431 cat >>confdefs.h
<<_ACEOF
37432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37439 if test "$ac_cv_func_gettimeofday" = "yes"; then
37440 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37441 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37442 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37443 echo $ECHO_N "(cached) $ECHO_C" >&6
37449 ac_cpp
='$CXXCPP $CPPFLAGS'
37450 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37451 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37452 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37455 cat >conftest.
$ac_ext <<_ACEOF
37458 cat confdefs.h
>>conftest.
$ac_ext
37459 cat >>conftest.
$ac_ext <<_ACEOF
37460 /* end confdefs.h. */
37462 #include <sys/time.h>
37463 #include <unistd.h>
37470 gettimeofday(&tv, NULL);
37476 rm -f conftest.
$ac_objext
37477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37478 (eval $ac_compile) 2>conftest.er1
37480 grep -v '^ *+' conftest.er1
>conftest.err
37482 cat conftest.err
>&5
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); } &&
37485 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37487 (eval $ac_try) 2>&5
37489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37490 (exit $ac_status); }; } &&
37491 { ac_try
='test -s conftest.$ac_objext'
37492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37493 (eval $ac_try) 2>&5
37495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37496 (exit $ac_status); }; }; then
37497 wx_cv_func_gettimeofday_has_2_args
=yes
37499 echo "$as_me: failed program was:" >&5
37500 sed 's/^/| /' conftest.
$ac_ext >&5
37502 cat >conftest.
$ac_ext <<_ACEOF
37505 cat confdefs.h
>>conftest.
$ac_ext
37506 cat >>conftest.
$ac_ext <<_ACEOF
37507 /* end confdefs.h. */
37509 #include <sys/time.h>
37510 #include <unistd.h>
37523 rm -f conftest.
$ac_objext
37524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37525 (eval $ac_compile) 2>conftest.er1
37527 grep -v '^ *+' conftest.er1
>conftest.err
37529 cat conftest.err
>&5
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); } &&
37532 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37534 (eval $ac_try) 2>&5
37536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37537 (exit $ac_status); }; } &&
37538 { ac_try
='test -s conftest.$ac_objext'
37539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37540 (eval $ac_try) 2>&5
37542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37543 (exit $ac_status); }; }; then
37544 wx_cv_func_gettimeofday_has_2_args
=no
37546 echo "$as_me: failed program was:" >&5
37547 sed 's/^/| /' conftest.
$ac_ext >&5
37550 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37551 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37552 wx_cv_func_gettimeofday_has_2_args
=unknown
37556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37561 ac_cpp
='$CPP $CPPFLAGS'
37562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37568 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37569 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37571 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37572 cat >>confdefs.h
<<\_ACEOF
37573 #define WX_GETTIMEOFDAY_NO_TZ 1
37579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
37583 if test "$wxUSE_SOCKETS" = "yes"; then
37584 if test "$wxUSE_MGL" = "1"; then
37585 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37586 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37591 if test "$wxUSE_SOCKETS" = "yes"; then
37592 if test "$TOOLKIT" != "MSW"; then
37593 echo "$as_me:$LINENO: checking for socket" >&5
37594 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37595 if test "${ac_cv_func_socket+set}" = set; then
37596 echo $ECHO_N "(cached) $ECHO_C" >&6
37598 cat >conftest.
$ac_ext <<_ACEOF
37601 cat confdefs.h
>>conftest.
$ac_ext
37602 cat >>conftest.
$ac_ext <<_ACEOF
37603 /* end confdefs.h. */
37604 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37606 #define socket innocuous_socket
37608 /* System header to define __stub macros and hopefully few prototypes,
37609 which can conflict with char socket (); below.
37610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37611 <limits.h> exists even on freestanding compilers. */
37614 # include <limits.h>
37616 # include <assert.h>
37621 /* Override any gcc2 internal prototype to avoid an error. */
37626 /* We use char because int might match the return type of a gcc2
37627 builtin and then its argument prototype would still apply. */
37629 /* The GNU C library defines this for functions which it implements
37630 to always fail with ENOSYS. Some functions are actually named
37631 something starting with __ and the normal name is an alias. */
37632 #if defined (__stub_socket) || defined (__stub___socket)
37635 char (*f) () = socket;
37644 return f != socket;
37649 rm -f conftest.
$ac_objext conftest
$ac_exeext
37650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37651 (eval $ac_link) 2>conftest.er1
37653 grep -v '^ *+' conftest.er1
>conftest.err
37655 cat conftest.err
>&5
37656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37657 (exit $ac_status); } &&
37658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37660 (eval $ac_try) 2>&5
37662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37663 (exit $ac_status); }; } &&
37664 { ac_try
='test -s conftest$ac_exeext'
37665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37666 (eval $ac_try) 2>&5
37668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37669 (exit $ac_status); }; }; then
37670 ac_cv_func_socket
=yes
37672 echo "$as_me: failed program was:" >&5
37673 sed 's/^/| /' conftest.
$ac_ext >&5
37675 ac_cv_func_socket
=no
37677 rm -f conftest.err conftest.
$ac_objext \
37678 conftest
$ac_exeext conftest.
$ac_ext
37680 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37681 echo "${ECHO_T}$ac_cv_func_socket" >&6
37682 if test $ac_cv_func_socket = yes; then
37686 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37687 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37688 if test "${ac_cv_lib_socket_socket+set}" = set; then
37689 echo $ECHO_N "(cached) $ECHO_C" >&6
37691 ac_check_lib_save_LIBS
=$LIBS
37692 LIBS
="-lsocket $LIBS"
37693 cat >conftest.
$ac_ext <<_ACEOF
37696 cat confdefs.h
>>conftest.
$ac_ext
37697 cat >>conftest.
$ac_ext <<_ACEOF
37698 /* end confdefs.h. */
37700 /* Override any gcc2 internal prototype to avoid an error. */
37704 /* We use char because int might match the return type of a gcc2
37705 builtin and then its argument prototype would still apply. */
37715 rm -f conftest.
$ac_objext conftest
$ac_exeext
37716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37717 (eval $ac_link) 2>conftest.er1
37719 grep -v '^ *+' conftest.er1
>conftest.err
37721 cat conftest.err
>&5
37722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37723 (exit $ac_status); } &&
37724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37726 (eval $ac_try) 2>&5
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); }; } &&
37730 { ac_try
='test -s conftest$ac_exeext'
37731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37732 (eval $ac_try) 2>&5
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); }; }; then
37736 ac_cv_lib_socket_socket
=yes
37738 echo "$as_me: failed program was:" >&5
37739 sed 's/^/| /' conftest.
$ac_ext >&5
37741 ac_cv_lib_socket_socket
=no
37743 rm -f conftest.err conftest.
$ac_objext \
37744 conftest
$ac_exeext conftest.
$ac_ext
37745 LIBS
=$ac_check_lib_save_LIBS
37747 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37748 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37749 if test $ac_cv_lib_socket_socket = yes; then
37750 if test "$INET_LINK" != " -lsocket"; then
37751 INET_LINK
="$INET_LINK -lsocket"
37755 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37756 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37769 if test "$wxUSE_SOCKETS" = "yes" ; then
37770 if test "$TOOLKIT" != "MSW"; then
37772 ac_cpp
='$CXXCPP $CPPFLAGS'
37773 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37774 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37775 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37777 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37778 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37779 if test "${wx_cv_type_getsockname3+set}" = set; then
37780 echo $ECHO_N "(cached) $ECHO_C" >&6
37783 cat >conftest.
$ac_ext <<_ACEOF
37786 cat confdefs.h
>>conftest.
$ac_ext
37787 cat >>conftest.
$ac_ext <<_ACEOF
37788 /* end confdefs.h. */
37790 #include <sys/types.h>
37791 #include <sys/socket.h>
37798 getsockname(0, 0, &len);
37804 rm -f conftest.
$ac_objext
37805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37806 (eval $ac_compile) 2>conftest.er1
37808 grep -v '^ *+' conftest.er1
>conftest.err
37810 cat conftest.err
>&5
37811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37812 (exit $ac_status); } &&
37813 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37815 (eval $ac_try) 2>&5
37817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37818 (exit $ac_status); }; } &&
37819 { ac_try
='test -s conftest.$ac_objext'
37820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37821 (eval $ac_try) 2>&5
37823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37824 (exit $ac_status); }; }; then
37825 wx_cv_type_getsockname3
=socklen_t
37827 echo "$as_me: failed program was:" >&5
37828 sed 's/^/| /' conftest.
$ac_ext >&5
37831 CFLAGS_OLD
="$CFLAGS"
37832 if test "$GCC" = yes ; then
37833 CFLAGS
="$CFLAGS -Werror"
37836 cat >conftest.
$ac_ext <<_ACEOF
37839 cat confdefs.h
>>conftest.
$ac_ext
37840 cat >>conftest.
$ac_ext <<_ACEOF
37841 /* end confdefs.h. */
37843 #include <sys/types.h>
37844 #include <sys/socket.h>
37851 getsockname(0, 0, &len);
37857 rm -f conftest.
$ac_objext
37858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37859 (eval $ac_compile) 2>conftest.er1
37861 grep -v '^ *+' conftest.er1
>conftest.err
37863 cat conftest.err
>&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); } &&
37866 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; } &&
37872 { ac_try
='test -s conftest.$ac_objext'
37873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37874 (eval $ac_try) 2>&5
37876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877 (exit $ac_status); }; }; then
37878 wx_cv_type_getsockname3
=size_t
37880 echo "$as_me: failed program was:" >&5
37881 sed 's/^/| /' conftest.
$ac_ext >&5
37883 cat >conftest.
$ac_ext <<_ACEOF
37886 cat confdefs.h
>>conftest.
$ac_ext
37887 cat >>conftest.
$ac_ext <<_ACEOF
37888 /* end confdefs.h. */
37890 #include <sys/types.h>
37891 #include <sys/socket.h>
37898 getsockname(0, 0, &len);
37904 rm -f conftest.
$ac_objext
37905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37906 (eval $ac_compile) 2>conftest.er1
37908 grep -v '^ *+' conftest.er1
>conftest.err
37910 cat conftest.err
>&5
37911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37912 (exit $ac_status); } &&
37913 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37915 (eval $ac_try) 2>&5
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); }; } &&
37919 { ac_try
='test -s conftest.$ac_objext'
37920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37921 (eval $ac_try) 2>&5
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); }; }; then
37925 wx_cv_type_getsockname3
=int
37927 echo "$as_me: failed program was:" >&5
37928 sed 's/^/| /' conftest.
$ac_ext >&5
37930 wx_cv_type_getsockname3
=unknown
37933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37938 CFLAGS
="$CFLAGS_OLD"
37942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37945 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37946 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37948 if test "$wx_cv_type_getsockname3" = "unknown"; then
37950 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37951 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37953 cat >>confdefs.h
<<_ACEOF
37954 #define SOCKLEN_T $wx_cv_type_getsockname3
37958 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37959 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37960 if test "${wx_cv_type_getsockopt5+set}" = set; then
37961 echo $ECHO_N "(cached) $ECHO_C" >&6
37964 cat >conftest.
$ac_ext <<_ACEOF
37967 cat confdefs.h
>>conftest.
$ac_ext
37968 cat >>conftest.
$ac_ext <<_ACEOF
37969 /* end confdefs.h. */
37971 #include <sys/types.h>
37972 #include <sys/socket.h>
37979 getsockopt(0, 0, 0, 0, &len);
37985 rm -f conftest.
$ac_objext
37986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37987 (eval $ac_compile) 2>conftest.er1
37989 grep -v '^ *+' conftest.er1
>conftest.err
37991 cat conftest.err
>&5
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); } &&
37994 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37996 (eval $ac_try) 2>&5
37998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999 (exit $ac_status); }; } &&
38000 { ac_try
='test -s conftest.$ac_objext'
38001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38002 (eval $ac_try) 2>&5
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); }; }; then
38006 wx_cv_type_getsockopt5
=socklen_t
38008 echo "$as_me: failed program was:" >&5
38009 sed 's/^/| /' conftest.
$ac_ext >&5
38012 CFLAGS_OLD
="$CFLAGS"
38013 if test "$GCC" = yes ; then
38014 CFLAGS
="$CFLAGS -Werror"
38017 cat >conftest.
$ac_ext <<_ACEOF
38020 cat confdefs.h
>>conftest.
$ac_ext
38021 cat >>conftest.
$ac_ext <<_ACEOF
38022 /* end confdefs.h. */
38024 #include <sys/types.h>
38025 #include <sys/socket.h>
38032 getsockopt(0, 0, 0, 0, &len);
38038 rm -f conftest.
$ac_objext
38039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38040 (eval $ac_compile) 2>conftest.er1
38042 grep -v '^ *+' conftest.er1
>conftest.err
38044 cat conftest.err
>&5
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); } &&
38047 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38049 (eval $ac_try) 2>&5
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); }; } &&
38053 { ac_try
='test -s conftest.$ac_objext'
38054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38055 (eval $ac_try) 2>&5
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); }; }; then
38059 wx_cv_type_getsockopt5
=size_t
38061 echo "$as_me: failed program was:" >&5
38062 sed 's/^/| /' conftest.
$ac_ext >&5
38064 cat >conftest.
$ac_ext <<_ACEOF
38067 cat confdefs.h
>>conftest.
$ac_ext
38068 cat >>conftest.
$ac_ext <<_ACEOF
38069 /* end confdefs.h. */
38071 #include <sys/types.h>
38072 #include <sys/socket.h>
38079 getsockopt(0, 0, 0, 0, &len);
38085 rm -f conftest.
$ac_objext
38086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38087 (eval $ac_compile) 2>conftest.er1
38089 grep -v '^ *+' conftest.er1
>conftest.err
38091 cat conftest.err
>&5
38092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38093 (exit $ac_status); } &&
38094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38096 (eval $ac_try) 2>&5
38098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38099 (exit $ac_status); }; } &&
38100 { ac_try
='test -s conftest.$ac_objext'
38101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38102 (eval $ac_try) 2>&5
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); }; }; then
38106 wx_cv_type_getsockopt5
=int
38108 echo "$as_me: failed program was:" >&5
38109 sed 's/^/| /' conftest.
$ac_ext >&5
38111 wx_cv_type_getsockopt5
=unknown
38114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38119 CFLAGS
="$CFLAGS_OLD"
38123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38126 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38127 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38129 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38131 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38132 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38134 cat >>confdefs.h
<<_ACEOF
38135 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38140 ac_cpp
='$CPP $CPPFLAGS'
38141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38148 if test "$wxUSE_SOCKETS" = "yes" ; then
38149 cat >>confdefs.h
<<\_ACEOF
38150 #define wxUSE_SOCKETS 1
38153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
38156 if test "$wxUSE_PROTOCOL" = "yes"; then
38157 if test "$wxUSE_SOCKETS" != "yes"; then
38158 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38159 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38164 if test "$wxUSE_PROTOCOL" = "yes"; then
38165 cat >>confdefs.h
<<\_ACEOF
38166 #define wxUSE_PROTOCOL 1
38170 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38171 cat >>confdefs.h
<<\_ACEOF
38172 #define wxUSE_PROTOCOL_HTTP 1
38176 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38177 cat >>confdefs.h
<<\_ACEOF
38178 #define wxUSE_PROTOCOL_FTP 1
38182 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38183 cat >>confdefs.h
<<\_ACEOF
38184 #define wxUSE_PROTOCOL_FILE 1
38189 if test "$wxUSE_FS_INET" = "yes"; then
38190 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38191 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38196 if test "$wxUSE_URL" = "yes"; then
38197 if test "$wxUSE_PROTOCOL" != "yes"; then
38198 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38199 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38202 if test "$wxUSE_URL" = "yes"; then
38203 cat >>confdefs.h
<<\_ACEOF
38204 #define wxUSE_URL 1
38210 if test "$wxUSE_FS_INET" = "yes"; then
38211 cat >>confdefs.h
<<\_ACEOF
38212 #define wxUSE_FS_INET 1
38218 if test "$wxUSE_GUI" = "yes"; then
38219 if test "$wxUSE_JOYSTICK" = "yes"; then
38221 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
38223 for ac_header
in linux
/joystick.h
38225 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38227 echo "$as_me:$LINENO: checking for $ac_header" >&5
38228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38230 echo $ECHO_N "(cached) $ECHO_C" >&6
38232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38235 # Is the header compilable?
38236 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38237 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38238 cat >conftest.
$ac_ext <<_ACEOF
38241 cat confdefs.h
>>conftest.
$ac_ext
38242 cat >>conftest.
$ac_ext <<_ACEOF
38243 /* end confdefs.h. */
38244 $ac_includes_default
38245 #include <$ac_header>
38247 rm -f conftest.
$ac_objext
38248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38249 (eval $ac_compile) 2>conftest.er1
38251 grep -v '^ *+' conftest.er1
>conftest.err
38253 cat conftest.err
>&5
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); } &&
38256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38258 (eval $ac_try) 2>&5
38260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38261 (exit $ac_status); }; } &&
38262 { ac_try
='test -s conftest.$ac_objext'
38263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38264 (eval $ac_try) 2>&5
38266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38267 (exit $ac_status); }; }; then
38268 ac_header_compiler
=yes
38270 echo "$as_me: failed program was:" >&5
38271 sed 's/^/| /' conftest.
$ac_ext >&5
38273 ac_header_compiler
=no
38275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38277 echo "${ECHO_T}$ac_header_compiler" >&6
38279 # Is the header present?
38280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38282 cat >conftest.
$ac_ext <<_ACEOF
38285 cat confdefs.h
>>conftest.
$ac_ext
38286 cat >>conftest.
$ac_ext <<_ACEOF
38287 /* end confdefs.h. */
38288 #include <$ac_header>
38290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38291 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38293 grep -v '^ *+' conftest.er1
>conftest.err
38295 cat conftest.err
>&5
38296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38297 (exit $ac_status); } >/dev
/null
; then
38298 if test -s conftest.err
; then
38299 ac_cpp_err
=$ac_c_preproc_warn_flag
38300 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38307 if test -z "$ac_cpp_err"; then
38308 ac_header_preproc
=yes
38310 echo "$as_me: failed program was:" >&5
38311 sed 's/^/| /' conftest.
$ac_ext >&5
38313 ac_header_preproc
=no
38315 rm -f conftest.err conftest.
$ac_ext
38316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38317 echo "${ECHO_T}$ac_header_preproc" >&6
38319 # So? What about this header?
38320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38326 ac_header_preproc
=yes
38329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38343 ## ----------------------------------------- ##
38344 ## Report this to wx-dev@lists.wxwidgets.org ##
38345 ## ----------------------------------------- ##
38348 sed "s/^/$as_me: WARNING: /" >&2
38351 echo "$as_me:$LINENO: checking for $ac_header" >&5
38352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38354 echo $ECHO_N "(cached) $ECHO_C" >&6
38356 eval "$as_ac_Header=\$ac_header_preproc"
38358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38363 cat >>confdefs.h
<<_ACEOF
38364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38371 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38373 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38374 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38377 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38379 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38380 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38385 if test "$wxUSE_JOYSTICK" = "yes"; then
38386 cat >>confdefs.h
<<\_ACEOF
38387 #define wxUSE_JOYSTICK 1
38390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
38397 if test "$wxUSE_FONTMAP" = "yes" ; then
38398 cat >>confdefs.h
<<\_ACEOF
38399 #define wxUSE_FONTMAP 1
38404 if test "$wxUSE_UNICODE" = "yes" ; then
38405 cat >>confdefs.h
<<\_ACEOF
38406 #define wxUSE_UNICODE 1
38410 if test "$USE_WIN32" != 1; then
38411 wxUSE_UNICODE_MSLU
=no
38414 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38415 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38416 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38417 if test "${ac_cv_lib_unicows_main+set}" = set; then
38418 echo $ECHO_N "(cached) $ECHO_C" >&6
38420 ac_check_lib_save_LIBS
=$LIBS
38421 LIBS
="-lunicows $LIBS"
38422 cat >conftest.
$ac_ext <<_ACEOF
38425 cat confdefs.h
>>conftest.
$ac_ext
38426 cat >>conftest.
$ac_ext <<_ACEOF
38427 /* end confdefs.h. */
38438 rm -f conftest.
$ac_objext conftest
$ac_exeext
38439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38440 (eval $ac_link) 2>conftest.er1
38442 grep -v '^ *+' conftest.er1
>conftest.err
38444 cat conftest.err
>&5
38445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38446 (exit $ac_status); } &&
38447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38449 (eval $ac_try) 2>&5
38451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38452 (exit $ac_status); }; } &&
38453 { ac_try
='test -s conftest$ac_exeext'
38454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38455 (eval $ac_try) 2>&5
38457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38458 (exit $ac_status); }; }; then
38459 ac_cv_lib_unicows_main
=yes
38461 echo "$as_me: failed program was:" >&5
38462 sed 's/^/| /' conftest.
$ac_ext >&5
38464 ac_cv_lib_unicows_main
=no
38466 rm -f conftest.err conftest.
$ac_objext \
38467 conftest
$ac_exeext conftest.
$ac_ext
38468 LIBS
=$ac_check_lib_save_LIBS
38470 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38471 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38472 if test $ac_cv_lib_unicows_main = yes; then
38474 cat >>confdefs.h
<<\_ACEOF
38475 #define wxUSE_UNICODE_MSLU 1
38481 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38482 Applications will only run on Windows NT/2000/XP!" >&5
38483 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38484 Applications will only run on Windows NT/2000/XP!" >&2;}
38485 wxUSE_UNICODE_MSLU
=no
38492 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38493 cat >>confdefs.h
<<\_ACEOF
38494 #define wxUSE_EXPERIMENTAL_PRINTF 1
38500 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38501 cat >>confdefs.h
<<\_ACEOF
38502 #define wxUSE_POSTSCRIPT 1
38507 cat >>confdefs.h
<<\_ACEOF
38508 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38512 cat >>confdefs.h
<<\_ACEOF
38513 #define wxUSE_NORMALIZED_PS_FONTS 1
38518 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38519 cat >>confdefs.h
<<\_ACEOF
38520 #define wxUSE_CONSTRAINTS 1
38523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
38526 if test "$wxUSE_MDI" = "yes"; then
38527 cat >>confdefs.h
<<\_ACEOF
38528 #define wxUSE_MDI 1
38532 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38533 cat >>confdefs.h
<<\_ACEOF
38534 #define wxUSE_MDI_ARCHITECTURE 1
38537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
38541 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38542 cat >>confdefs.h
<<\_ACEOF
38543 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
38547 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
38552 if test "$wxUSE_HELP" = "yes"; then
38553 cat >>confdefs.h
<<\_ACEOF
38554 #define wxUSE_HELP 1
38557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
38559 if test "$wxUSE_MSW" = 1; then
38560 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38561 cat >>confdefs.h
<<\_ACEOF
38562 #define wxUSE_MS_HTML_HELP 1
38568 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38569 if test "$wxUSE_HTML" = "yes"; then
38570 cat >>confdefs.h
<<\_ACEOF
38571 #define wxUSE_WXHTML_HELP 1
38575 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38576 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38577 wxUSE_WXHTML_HELP
=no
38582 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38583 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38584 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38585 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38587 cat >>confdefs.h
<<\_ACEOF
38588 #define wxUSE_PRINTING_ARCHITECTURE 1
38592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
38595 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38596 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38597 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38598 { (exit 1); exit 1; }; }
38602 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
38603 -o "$wxUSE_CLIPBOARD" = "yes" \
38604 -o "$wxUSE_OLE" = "yes" \
38605 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
38607 for ac_header
in ole2.h
38609 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38611 echo "$as_me:$LINENO: checking for $ac_header" >&5
38612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38614 echo $ECHO_N "(cached) $ECHO_C" >&6
38616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38619 # Is the header compilable?
38620 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38622 cat >conftest.
$ac_ext <<_ACEOF
38625 cat confdefs.h
>>conftest.
$ac_ext
38626 cat >>conftest.
$ac_ext <<_ACEOF
38627 /* end confdefs.h. */
38628 $ac_includes_default
38629 #include <$ac_header>
38631 rm -f conftest.
$ac_objext
38632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38633 (eval $ac_compile) 2>conftest.er1
38635 grep -v '^ *+' conftest.er1
>conftest.err
38637 cat conftest.err
>&5
38638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38639 (exit $ac_status); } &&
38640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38642 (eval $ac_try) 2>&5
38644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38645 (exit $ac_status); }; } &&
38646 { ac_try
='test -s conftest.$ac_objext'
38647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38648 (eval $ac_try) 2>&5
38650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38651 (exit $ac_status); }; }; then
38652 ac_header_compiler
=yes
38654 echo "$as_me: failed program was:" >&5
38655 sed 's/^/| /' conftest.
$ac_ext >&5
38657 ac_header_compiler
=no
38659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38661 echo "${ECHO_T}$ac_header_compiler" >&6
38663 # Is the header present?
38664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38666 cat >conftest.
$ac_ext <<_ACEOF
38669 cat confdefs.h
>>conftest.
$ac_ext
38670 cat >>conftest.
$ac_ext <<_ACEOF
38671 /* end confdefs.h. */
38672 #include <$ac_header>
38674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38675 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38677 grep -v '^ *+' conftest.er1
>conftest.err
38679 cat conftest.err
>&5
38680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38681 (exit $ac_status); } >/dev
/null
; then
38682 if test -s conftest.err
; then
38683 ac_cpp_err
=$ac_c_preproc_warn_flag
38684 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38691 if test -z "$ac_cpp_err"; then
38692 ac_header_preproc
=yes
38694 echo "$as_me: failed program was:" >&5
38695 sed 's/^/| /' conftest.
$ac_ext >&5
38697 ac_header_preproc
=no
38699 rm -f conftest.err conftest.
$ac_ext
38700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38701 echo "${ECHO_T}$ac_header_preproc" >&6
38703 # So? What about this header?
38704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38709 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38710 ac_header_preproc
=yes
38713 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38714 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38715 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38716 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38717 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38718 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38719 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38720 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38723 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38724 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38727 ## ----------------------------------------- ##
38728 ## Report this to wx-dev@lists.wxwidgets.org ##
38729 ## ----------------------------------------- ##
38732 sed "s/^/$as_me: WARNING: /" >&2
38735 echo "$as_me:$LINENO: checking for $ac_header" >&5
38736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38738 echo $ECHO_N "(cached) $ECHO_C" >&6
38740 eval "$as_ac_Header=\$ac_header_preproc"
38742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38747 cat >>confdefs.h
<<_ACEOF
38748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38756 if test "$ac_cv_header_ole2_h" = "yes" ; then
38757 if test "$GCC" = yes ; then
38761 ac_cpp
='$CXXCPP $CPPFLAGS'
38762 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38763 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38764 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38767 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38768 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38769 cat >conftest.
$ac_ext <<_ACEOF
38772 cat confdefs.h
>>conftest.
$ac_ext
38773 cat >>conftest.
$ac_ext <<_ACEOF
38774 /* end confdefs.h. */
38775 #include <windows.h>
38785 rm -f conftest.
$ac_objext
38786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38787 (eval $ac_compile) 2>conftest.er1
38789 grep -v '^ *+' conftest.er1
>conftest.err
38791 cat conftest.err
>&5
38792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38793 (exit $ac_status); } &&
38794 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38796 (eval $ac_try) 2>&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); }; } &&
38800 { ac_try
='test -s conftest.$ac_objext'
38801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38802 (eval $ac_try) 2>&5
38804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38805 (exit $ac_status); }; }; then
38806 echo "$as_me:$LINENO: result: no" >&5
38807 echo "${ECHO_T}no" >&6
38809 echo "$as_me: failed program was:" >&5
38810 sed 's/^/| /' conftest.
$ac_ext >&5
38812 echo "$as_me:$LINENO: result: yes" >&5
38813 echo "${ECHO_T}yes" >&6
38814 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38818 ac_cpp
='$CPP $CPPFLAGS'
38819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38823 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38824 if test "$wxUSE_OLE" = "yes" ; then
38825 cat >>confdefs.h
<<\_ACEOF
38826 #define wxUSE_OLE 1
38829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
38833 if test "$wxUSE_DATAOBJ" = "yes" ; then
38834 cat >>confdefs.h
<<\_ACEOF
38835 #define wxUSE_DATAOBJ 1
38840 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38841 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38844 wxUSE_DRAG_AND_DROP
=no
38849 if test "$wxUSE_METAFILE" = "yes"; then
38850 cat >>confdefs.h
<<\_ACEOF
38851 #define wxUSE_METAFILE 1
38855 cat >>confdefs.h
<<\_ACEOF
38856 #define wxUSE_ENH_METAFILE 1
38862 if test "$wxUSE_IPC" = "yes"; then
38863 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38864 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38865 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38869 if test "$wxUSE_IPC" = "yes"; then
38870 cat >>confdefs.h
<<\_ACEOF
38871 #define wxUSE_IPC 1
38874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
38878 if test "$wxUSE_CLIPBOARD" = "yes"; then
38879 if test "$wxUSE_MGL" = 1; then
38880 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38881 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38885 if test "$wxUSE_CLIPBOARD" = "yes"; then
38886 cat >>confdefs.h
<<\_ACEOF
38887 #define wxUSE_CLIPBOARD 1
38891 cat >>confdefs.h
<<\_ACEOF
38892 #define wxUSE_DATAOBJ 1
38898 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38899 if test "$wxUSE_GTK" = 1; then
38900 if test "$WXGTK12" != 1; then
38901 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38902 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38903 wxUSE_DRAG_AND_DROP
=no
38907 if test "$wxUSE_MOTIF" = 1; then
38908 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38909 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38910 wxUSE_DRAG_AND_DROP
=no
38913 if test "$wxUSE_X11" = 1; then
38914 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38915 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38916 wxUSE_DRAG_AND_DROP
=no
38919 if test "$wxUSE_MGL" = 1; then
38920 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38921 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38922 wxUSE_DRAG_AND_DROP
=no
38925 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38926 cat >>confdefs.h
<<\_ACEOF
38927 #define wxUSE_DRAG_AND_DROP 1
38934 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
38938 if test "$wxUSE_SPLINES" = "yes" ; then
38939 cat >>confdefs.h
<<\_ACEOF
38940 #define wxUSE_SPLINES 1
38945 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
38946 cat >>confdefs.h
<<\_ACEOF
38947 #define wxUSE_MOUSEWHEEL 1
38954 if test "$wxUSE_CONTROLS" = "yes"; then
38958 if test "$wxUSE_ACCEL" = "yes"; then
38959 cat >>confdefs.h
<<\_ACEOF
38960 #define wxUSE_ACCEL 1
38966 if test "$wxUSE_BUTTON" = "yes"; then
38967 cat >>confdefs.h
<<\_ACEOF
38968 #define wxUSE_BUTTON 1
38974 if test "$wxUSE_BMPBUTTON" = "yes"; then
38975 cat >>confdefs.h
<<\_ACEOF
38976 #define wxUSE_BMPBUTTON 1
38982 if test "$wxUSE_CALCTRL" = "yes"; then
38983 cat >>confdefs.h
<<\_ACEOF
38984 #define wxUSE_CALENDARCTRL 1
38988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
38991 if test "$wxUSE_CARET" = "yes"; then
38992 cat >>confdefs.h
<<\_ACEOF
38993 #define wxUSE_CARET 1
38997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
39000 if test "$wxUSE_COMBOBOX" = "yes"; then
39001 cat >>confdefs.h
<<\_ACEOF
39002 #define wxUSE_COMBOBOX 1
39008 if test "$wxUSE_CHOICE" = "yes"; then
39009 cat >>confdefs.h
<<\_ACEOF
39010 #define wxUSE_CHOICE 1
39016 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39017 cat >>confdefs.h
<<\_ACEOF
39018 #define wxUSE_CHOICEBOOK 1
39024 if test "$wxUSE_CHECKBOX" = "yes"; then
39025 cat >>confdefs.h
<<\_ACEOF
39026 #define wxUSE_CHECKBOX 1
39032 if test "$wxUSE_CHECKLST" = "yes"; then
39033 cat >>confdefs.h
<<\_ACEOF
39034 #define wxUSE_CHECKLISTBOX 1
39038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
39041 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39042 cat >>confdefs.h
<<\_ACEOF
39043 #define wxUSE_DATEPICKCTRL 1
39049 if test "$wxUSE_DISPLAY" = "yes"; then
39050 cat >>confdefs.h
<<\_ACEOF
39051 #define wxUSE_DISPLAY 1
39054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
39057 if test "$wxUSE_GAUGE" = "yes"; then
39058 cat >>confdefs.h
<<\_ACEOF
39059 #define wxUSE_GAUGE 1
39065 if test "$wxUSE_GRID" = "yes"; then
39066 cat >>confdefs.h
<<\_ACEOF
39067 #define wxUSE_GRID 1
39071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
39074 if test "$wxUSE_IMAGLIST" = "yes"; then
39075 cat >>confdefs.h
<<\_ACEOF
39076 #define wxUSE_IMAGLIST 1
39081 if test "$wxUSE_LISTBOOK" = "yes"; then
39082 cat >>confdefs.h
<<\_ACEOF
39083 #define wxUSE_LISTBOOK 1
39089 if test "$wxUSE_LISTBOX" = "yes"; then
39090 cat >>confdefs.h
<<\_ACEOF
39091 #define wxUSE_LISTBOX 1
39095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
39098 if test "$wxUSE_LISTCTRL" = "yes"; then
39099 if test "$wxUSE_IMAGLIST" = "yes"; then
39100 cat >>confdefs.h
<<\_ACEOF
39101 #define wxUSE_LISTCTRL 1
39105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
39107 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39108 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39112 if test "$wxUSE_NOTEBOOK" = "yes"; then
39113 cat >>confdefs.h
<<\_ACEOF
39114 #define wxUSE_NOTEBOOK 1
39118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
39122 if test "$wxUSE_RADIOBOX" = "yes"; then
39123 cat >>confdefs.h
<<\_ACEOF
39124 #define wxUSE_RADIOBOX 1
39130 if test "$wxUSE_RADIOBTN" = "yes"; then
39131 cat >>confdefs.h
<<\_ACEOF
39132 #define wxUSE_RADIOBTN 1
39138 if test "$wxUSE_SASH" = "yes"; then
39139 cat >>confdefs.h
<<\_ACEOF
39140 #define wxUSE_SASH 1
39143 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
39146 if test "$wxUSE_SCROLLBAR" = "yes"; then
39147 cat >>confdefs.h
<<\_ACEOF
39148 #define wxUSE_SCROLLBAR 1
39152 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
39155 if test "$wxUSE_SLIDER" = "yes"; then
39156 cat >>confdefs.h
<<\_ACEOF
39157 #define wxUSE_SLIDER 1
39163 if test "$wxUSE_SPINBTN" = "yes"; then
39164 cat >>confdefs.h
<<\_ACEOF
39165 #define wxUSE_SPINBTN 1
39171 if test "$wxUSE_SPINCTRL" = "yes"; then
39172 cat >>confdefs.h
<<\_ACEOF
39173 #define wxUSE_SPINCTRL 1
39179 if test "$wxUSE_SPLITTER" = "yes"; then
39180 cat >>confdefs.h
<<\_ACEOF
39181 #define wxUSE_SPLITTER 1
39184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
39187 if test "$wxUSE_STATBMP" = "yes"; then
39188 cat >>confdefs.h
<<\_ACEOF
39189 #define wxUSE_STATBMP 1
39195 if test "$wxUSE_STATBOX" = "yes"; then
39196 cat >>confdefs.h
<<\_ACEOF
39197 #define wxUSE_STATBOX 1
39203 if test "$wxUSE_STATTEXT" = "yes"; then
39204 cat >>confdefs.h
<<\_ACEOF
39205 #define wxUSE_STATTEXT 1
39211 if test "$wxUSE_STATLINE" = "yes"; then
39212 cat >>confdefs.h
<<\_ACEOF
39213 #define wxUSE_STATLINE 1
39219 if test "$wxUSE_STATUSBAR" = "yes"; then
39220 cat >>confdefs.h
<<\_ACEOF
39221 #define wxUSE_NATIVE_STATUSBAR 1
39224 cat >>confdefs.h
<<\_ACEOF
39225 #define wxUSE_STATUSBAR 1
39230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
39233 if test "$wxUSE_TABDIALOG" = "yes"; then
39234 cat >>confdefs.h
<<\_ACEOF
39235 #define wxUSE_TAB_DIALOG 1
39240 if test "$wxUSE_TEXTCTRL" = "yes"; then
39241 cat >>confdefs.h
<<\_ACEOF
39242 #define wxUSE_TEXTCTRL 1
39246 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
39249 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39250 if test "$wxUSE_COCOA" = 1 ; then
39251 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39252 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39255 if test "$wxUSE_UNIVERSAL" = "yes"; then
39256 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39257 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39261 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39262 cat >>confdefs.h
<<\_ACEOF
39263 #define wxUSE_TOGGLEBTN 1
39270 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39271 cat >>confdefs.h
<<\_ACEOF
39272 #define wxUSE_TOOLBAR_SIMPLE 1
39275 wxUSE_TOOLBAR
="yes"
39279 if test "$wxUSE_TOOLBAR" = "yes"; then
39280 cat >>confdefs.h
<<\_ACEOF
39281 #define wxUSE_TOOLBAR 1
39286 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39287 wxUSE_TOOLBAR_NATIVE
="yes"
39290 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39291 cat >>confdefs.h
<<\_ACEOF
39292 #define wxUSE_TOOLBAR_NATIVE 1
39298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
39301 if test "$wxUSE_TOOLTIPS" = "yes"; then
39302 if test "$wxUSE_MOTIF" = 1; then
39303 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39304 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39306 if test "$wxUSE_UNIVERSAL" = "yes"; then
39307 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39308 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39310 cat >>confdefs.h
<<\_ACEOF
39311 #define wxUSE_TOOLTIPS 1
39318 if test "$wxUSE_TREECTRL" = "yes"; then
39319 if test "$wxUSE_IMAGLIST" = "yes"; then
39320 cat >>confdefs.h
<<\_ACEOF
39321 #define wxUSE_TREECTRL 1
39325 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
39327 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39328 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39332 if test "$wxUSE_POPUPWIN" = "yes"; then
39333 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39334 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39335 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39337 if test "$wxUSE_PM" = 1; then
39338 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39339 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39341 cat >>confdefs.h
<<\_ACEOF
39342 #define wxUSE_POPUPWIN 1
39345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
39352 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39353 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39354 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39355 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39357 cat >>confdefs.h
<<\_ACEOF
39358 #define wxUSE_DIALUP_MANAGER 1
39361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
39365 if test "$wxUSE_TIPWINDOW" = "yes"; then
39366 if test "$wxUSE_PM" = 1; then
39367 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39368 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39370 cat >>confdefs.h
<<\_ACEOF
39371 #define wxUSE_TIPWINDOW 1
39377 if test "$USES_CONTROLS" = 1; then
39378 cat >>confdefs.h
<<\_ACEOF
39379 #define wxUSE_CONTROLS 1
39385 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39386 cat >>confdefs.h
<<\_ACEOF
39387 #define wxUSE_ACCESSIBILITY 1
39390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
39393 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39394 cat >>confdefs.h
<<\_ACEOF
39395 #define wxUSE_DRAGIMAGE 1
39398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
39401 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39402 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39403 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39404 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39406 cat >>confdefs.h
<<\_ACEOF
39407 #define wxUSE_EXCEPTIONS 1
39410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
39415 if test "$wxUSE_HTML" = "yes"; then
39416 cat >>confdefs.h
<<\_ACEOF
39417 #define wxUSE_HTML 1
39421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39422 if test "$wxUSE_MAC" = 1; then
39423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
39426 if test "$wxUSE_WEBKIT" = "yes"; then
39427 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39428 old_CPPFLAGS
="$CPPFLAGS"
39429 CPPFLAGS
="$CPPFLAGS -x objective-c++"
39430 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39431 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39432 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39433 echo $ECHO_N "(cached) $ECHO_C" >&6
39435 cat >conftest.
$ac_ext <<_ACEOF
39438 cat confdefs.h
>>conftest.
$ac_ext
39439 cat >>conftest.
$ac_ext <<_ACEOF
39440 /* end confdefs.h. */
39441 #include <Carbon/Carbon.h>
39443 #include <WebKit/HIWebView.h>
39445 rm -f conftest.
$ac_objext
39446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39447 (eval $ac_compile) 2>conftest.er1
39449 grep -v '^ *+' conftest.er1
>conftest.err
39451 cat conftest.err
>&5
39452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39453 (exit $ac_status); } &&
39454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39456 (eval $ac_try) 2>&5
39458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39459 (exit $ac_status); }; } &&
39460 { ac_try
='test -s conftest.$ac_objext'
39461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39462 (eval $ac_try) 2>&5
39464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465 (exit $ac_status); }; }; then
39466 ac_cv_header_WebKit_HIWebView_h
=yes
39468 echo "$as_me: failed program was:" >&5
39469 sed 's/^/| /' conftest.
$ac_ext >&5
39471 ac_cv_header_WebKit_HIWebView_h
=no
39473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39475 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39476 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39477 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39479 cat >>confdefs.h
<<\_ACEOF
39480 #define wxUSE_WEBKIT 1
39483 WEBKIT_LINK
="-framework WebKit"
39487 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39488 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39494 CPPFLAGS
="$old_CPPFLAGS"
39495 elif test "$wxUSE_COCOA" = 1; then
39496 cat >>confdefs.h
<<\_ACEOF
39497 #define wxUSE_WEBKIT 1
39506 if test "$wxUSE_XRC" = "yes"; then
39507 if test "$wxUSE_XML" != "yes"; then
39508 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39509 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39512 cat >>confdefs.h
<<\_ACEOF
39513 #define wxUSE_XRC 1
39517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
39521 if test "$wxUSE_MENUS" = "yes"; then
39522 cat >>confdefs.h
<<\_ACEOF
39523 #define wxUSE_MENUS 1
39526 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
39529 if test "$wxUSE_METAFILE" = "yes"; then
39530 cat >>confdefs.h
<<\_ACEOF
39531 #define wxUSE_METAFILE 1
39536 if test "$wxUSE_MIMETYPE" = "yes"; then
39537 cat >>confdefs.h
<<\_ACEOF
39538 #define wxUSE_MIMETYPE 1
39543 if test "$wxUSE_MINIFRAME" = "yes"; then
39544 cat >>confdefs.h
<<\_ACEOF
39545 #define wxUSE_MINIFRAME 1
39548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
39551 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39552 cat >>confdefs.h
<<\_ACEOF
39553 #define wxUSE_SYSTEM_OPTIONS 1
39556 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39557 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39558 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
39563 if test "$wxUSE_VALIDATORS" = "yes"; then
39564 cat >>confdefs.h
<<\_ACEOF
39565 #define wxUSE_VALIDATORS 1
39568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
39571 if test "$wxUSE_PALETTE" = "yes" ; then
39572 cat >>confdefs.h
<<\_ACEOF
39573 #define wxUSE_PALETTE 1
39578 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39579 LIBS
=" -lunicows $LIBS"
39583 if test "$wxUSE_IMAGE" = "yes" ; then
39584 cat >>confdefs.h
<<\_ACEOF
39585 #define wxUSE_IMAGE 1
39589 if test "$wxUSE_GIF" = "yes" ; then
39590 cat >>confdefs.h
<<\_ACEOF
39591 #define wxUSE_GIF 1
39596 if test "$wxUSE_PCX" = "yes" ; then
39597 cat >>confdefs.h
<<\_ACEOF
39598 #define wxUSE_PCX 1
39603 if test "$wxUSE_IFF" = "yes" ; then
39604 cat >>confdefs.h
<<\_ACEOF
39605 #define wxUSE_IFF 1
39610 if test "$wxUSE_PNM" = "yes" ; then
39611 cat >>confdefs.h
<<\_ACEOF
39612 #define wxUSE_PNM 1
39617 if test "$wxUSE_XPM" = "yes" ; then
39618 cat >>confdefs.h
<<\_ACEOF
39619 #define wxUSE_XPM 1
39624 if test "$wxUSE_ICO_CUR" = "yes" ; then
39625 cat >>confdefs.h
<<\_ACEOF
39626 #define wxUSE_ICO_CUR 1
39633 if test "$wxUSE_CHOICEDLG" = "yes"; then
39634 cat >>confdefs.h
<<\_ACEOF
39635 #define wxUSE_CHOICEDLG 1
39640 if test "$wxUSE_COLOURDLG" = "yes"; then
39641 cat >>confdefs.h
<<\_ACEOF
39642 #define wxUSE_COLOURDLG 1
39647 if test "$wxUSE_FILEDLG" = "yes"; then
39648 cat >>confdefs.h
<<\_ACEOF
39649 #define wxUSE_FILEDLG 1
39654 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39655 cat >>confdefs.h
<<\_ACEOF
39656 #define wxUSE_FINDREPLDLG 1
39661 if test "$wxUSE_FONTDLG" = "yes"; then
39662 cat >>confdefs.h
<<\_ACEOF
39663 #define wxUSE_FONTDLG 1
39668 if test "$wxUSE_DIRDLG" = "yes"; then
39669 if test "$wxUSE_TREECTRL" != "yes"; then
39670 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39671 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39673 cat >>confdefs.h
<<\_ACEOF
39674 #define wxUSE_DIRDLG 1
39680 if test "$wxUSE_MSGDLG" = "yes"; then
39681 cat >>confdefs.h
<<\_ACEOF
39682 #define wxUSE_MSGDLG 1
39687 if test "$wxUSE_NUMBERDLG" = "yes"; then
39688 cat >>confdefs.h
<<\_ACEOF
39689 #define wxUSE_NUMBERDLG 1
39694 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39695 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39696 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39697 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39699 cat >>confdefs.h
<<\_ACEOF
39700 #define wxUSE_PROGRESSDLG 1
39706 if test "$wxUSE_SPLASH" = "yes"; then
39707 cat >>confdefs.h
<<\_ACEOF
39708 #define wxUSE_SPLASH 1
39711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
39714 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39715 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39716 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39717 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39719 cat >>confdefs.h
<<\_ACEOF
39720 #define wxUSE_STARTUP_TIPS 1
39726 if test "$wxUSE_TEXTDLG" = "yes"; then
39727 cat >>confdefs.h
<<\_ACEOF
39728 #define wxUSE_TEXTDLG 1
39733 if test "$wxUSE_WIZARDDLG" = "yes"; then
39734 cat >>confdefs.h
<<\_ACEOF
39735 #define wxUSE_WIZARDDLG 1
39738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
39742 if test "$wxUSE_MEDIACTRL" = "yes"; then
39743 if test "$wxUSE_MSW" = 1; then
39744 wxUSE_DIRECTSHOW
="yes"
39746 for ac_header
in dshow.h
39748 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39749 echo "$as_me:$LINENO: checking for $ac_header" >&5
39750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39752 echo $ECHO_N "(cached) $ECHO_C" >&6
39754 cat >conftest.
$ac_ext <<_ACEOF
39757 cat confdefs.h
>>conftest.
$ac_ext
39758 cat >>conftest.
$ac_ext <<_ACEOF
39759 /* end confdefs.h. */
39760 #include <windows.h>
39762 #include <$ac_header>
39764 rm -f conftest.
$ac_objext
39765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39766 (eval $ac_compile) 2>conftest.er1
39768 grep -v '^ *+' conftest.er1
>conftest.err
39770 cat conftest.err
>&5
39771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772 (exit $ac_status); } &&
39773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39775 (eval $ac_try) 2>&5
39777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39778 (exit $ac_status); }; } &&
39779 { ac_try
='test -s conftest.$ac_objext'
39780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39781 (eval $ac_try) 2>&5
39783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784 (exit $ac_status); }; }; then
39785 eval "$as_ac_Header=yes"
39787 echo "$as_me: failed program was:" >&5
39788 sed 's/^/| /' conftest.
$ac_ext >&5
39790 eval "$as_ac_Header=no"
39792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39796 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39797 cat >>confdefs.h
<<_ACEOF
39798 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39803 wxUSE_DIRECTSHOW
="no"
39804 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39805 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39812 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39813 cat >>confdefs.h
<<\_ACEOF
39814 #define wxUSE_DIRECTSHOW 1
39817 LIBS
="$LIBS -lstrmiids"
39821 if test "$wxUSE_GTK" = 1; then
39822 wxUSE_GSTREAMER
="yes"
39827 if test -z "$PKG_CONFIG"; then
39828 # Extract the first word of "pkg-config", so it can be a program name with args.
39829 set dummy pkg
-config; ac_word
=$2
39830 echo "$as_me:$LINENO: checking for $ac_word" >&5
39831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39832 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39833 echo $ECHO_N "(cached) $ECHO_C" >&6
39835 case $PKG_CONFIG in
39837 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39841 for as_dir
in $PATH
39844 test -z "$as_dir" && as_dir
=.
39845 for ac_exec_ext
in '' $ac_executable_extensions; do
39846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39847 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39854 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39858 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39860 if test -n "$PKG_CONFIG"; then
39861 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39862 echo "${ECHO_T}$PKG_CONFIG" >&6
39864 echo "$as_me:$LINENO: result: no" >&5
39865 echo "${ECHO_T}no" >&6
39870 if test "$PKG_CONFIG" = "no" ; then
39871 echo "*** The pkg-config script could not be found. Make sure it is"
39872 echo "*** in your path, or set the PKG_CONFIG environment variable"
39873 echo "*** to the full path to pkg-config."
39874 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39876 PKG_CONFIG_MIN_VERSION
=0.9.0
39877 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39878 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39879 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39881 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39882 echo "$as_me:$LINENO: result: yes" >&5
39883 echo "${ECHO_T}yes" >&6
39886 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39887 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39888 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39889 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39890 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39892 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39893 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39894 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
39895 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39896 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39898 GSTREAMER_CFLAGS
=""
39900 ## If we have a custom action on failure, don't print errors, but
39901 ## do set a variable so people can do so.
39902 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39909 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39910 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39914 if test $succeeded = yes; then
39916 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
39917 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39921 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39922 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39923 wxUSE_GSTREAMER
="no"
39931 if test "x$GST_INSPECT" == "x"; then
39932 # Extract the first word of "gst-inspect", so it can be a program name with args.
39933 set dummy gst
-inspect; ac_word
=$2
39934 echo "$as_me:$LINENO: checking for $ac_word" >&5
39935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39936 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39937 echo $ECHO_N "(cached) $ECHO_C" >&6
39939 if test -n "$GST_INSPECT"; then
39940 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
39942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39943 for as_dir
in $PATH
39946 test -z "$as_dir" && as_dir
=.
39947 for ac_exec_ext
in '' $ac_executable_extensions; do
39948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39949 ac_cv_prog_GST_INSPECT
="gst-inspect"
39950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39958 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
39959 if test -n "$GST_INSPECT"; then
39960 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39961 echo "${ECHO_T}$GST_INSPECT" >&6
39963 echo "$as_me:$LINENO: result: no" >&5
39964 echo "${ECHO_T}no" >&6
39969 if test "x$GST_INSPECT" != "x"; then
39970 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39971 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39972 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
39973 echo "$as_me:$LINENO: result: found." >&5
39974 echo "${ECHO_T}found." >&6
39977 echo "$as_me:$LINENO: result: not found." >&5
39978 echo "${ECHO_T}not found." >&6
39980 wxUSE_GSTREAMER
="no"
39981 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39982 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39988 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39989 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39990 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39991 echo $ECHO_N "(cached) $ECHO_C" >&6
39993 cat >conftest.
$ac_ext <<_ACEOF
39996 cat confdefs.h
>>conftest.
$ac_ext
39997 cat >>conftest.
$ac_ext <<_ACEOF
39998 /* end confdefs.h. */
39999 #include <gst/gst.h>
40001 #include <gst/xoverlay/xoverlay.h>
40003 rm -f conftest.
$ac_objext
40004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40005 (eval $ac_compile) 2>conftest.er1
40007 grep -v '^ *+' conftest.er1
>conftest.err
40009 cat conftest.err
>&5
40010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40011 (exit $ac_status); } &&
40012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40014 (eval $ac_try) 2>&5
40016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40017 (exit $ac_status); }; } &&
40018 { ac_try
='test -s conftest.$ac_objext'
40019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40020 (eval $ac_try) 2>&5
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); }; }; then
40024 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
40026 echo "$as_me: failed program was:" >&5
40027 sed 's/^/| /' conftest.
$ac_ext >&5
40029 ac_cv_header_gst_xoverlay_xoverlay_h
=no
40031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40033 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40034 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40035 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40039 wxUSE_GSTREAMER
="no"
40040 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40041 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40047 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40048 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40051 for ac_dir
in $SEARCH_LIB /usr
/lib
;
40053 for ac_extension
in a so sl dylib
; do
40054 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40055 ac_find_libraries
=$ac_dir
40062 if test "$ac_find_libraries" = "" ; then
40063 echo "$as_me:$LINENO: result: no" >&5
40064 echo "${ECHO_T}no" >&6
40065 wxUSE_GSTREAMER
="no"
40067 echo "$as_me:$LINENO: result: yes" >&5
40068 echo "${ECHO_T}yes" >&6
40071 if test "$wxUSE_GSTREAMER" = "yes"; then
40072 cat >>confdefs.h
<<\_ACEOF
40073 #define wxUSE_GSTREAMER 1
40076 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40077 echo "${ECHO_T}GStreamer detection successful" >&6
40080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
40081 cat >>confdefs.h
<<\_ACEOF
40082 #define wxUSE_MEDIACTRL 1
40088 if test "$cross_compiling" = "yes"; then
40091 OSINFO
=`uname -s -r -m`
40092 OSINFO
="\"$OSINFO\""
40095 cat >>confdefs.h
<<_ACEOF
40096 #define WXWIN_OS_DESCRIPTION $OSINFO
40101 if test "x$prefix" != "xNONE"; then
40104 wxPREFIX
=$ac_default_prefix
40107 cat >>confdefs.h
<<_ACEOF
40108 #define wxINSTALL_PREFIX "$wxPREFIX"
40114 CORE_BASE_LIBS
="net base"
40115 CORE_GUI_LIBS
="adv core"
40117 if test "$wxUSE_XML" = "yes" ; then
40118 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
40120 if test "$wxUSE_ODBC" != "no" ; then
40121 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
40122 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
40124 if test "$wxUSE_HTML" = "yes" ; then
40125 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
40127 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40128 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
40130 if test "$wxUSE_XRC" = "yes" ; then
40131 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
40134 if test "$wxUSE_GUI" != "yes"; then
40145 if test "$wxUSE_MAC" = 1 ; then
40146 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40147 if test "$USE_DARWIN" = 1; then
40148 LDFLAGS
="$LDFLAGS -framework QuickTime"
40150 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
40153 if test "$USE_DARWIN" = 1; then
40154 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40156 LDFLAGS
="$LDFLAGS -lCarbonLib"
40158 elif test "$USE_DARWIN" = 1; then
40159 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System"
40161 if test "$wxUSE_COCOA" = 1 ; then
40162 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
40163 if test "$wxUSE_MEDIACTRL" = "yes"; then
40164 LDFLAGS
="$LDFLAGS -framework QuickTime"
40169 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40176 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40177 echo "$as_me:$LINENO: checking for $ac_func" >&5
40178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40179 if eval "test \"\${$as_ac_var+set}\" = set"; then
40180 echo $ECHO_N "(cached) $ECHO_C" >&6
40182 cat >conftest.
$ac_ext <<_ACEOF
40185 cat confdefs.h
>>conftest.
$ac_ext
40186 cat >>conftest.
$ac_ext <<_ACEOF
40187 /* end confdefs.h. */
40188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40190 #define $ac_func innocuous_$ac_func
40192 /* System header to define __stub macros and hopefully few prototypes,
40193 which can conflict with char $ac_func (); below.
40194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40195 <limits.h> exists even on freestanding compilers. */
40198 # include <limits.h>
40200 # include <assert.h>
40205 /* Override any gcc2 internal prototype to avoid an error. */
40210 /* We use char because int might match the return type of a gcc2
40211 builtin and then its argument prototype would still apply. */
40213 /* The GNU C library defines this for functions which it implements
40214 to always fail with ENOSYS. Some functions are actually named
40215 something starting with __ and the normal name is an alias. */
40216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40219 char (*f) () = $ac_func;
40228 return f != $ac_func;
40233 rm -f conftest.
$ac_objext conftest
$ac_exeext
40234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40235 (eval $ac_link) 2>conftest.er1
40237 grep -v '^ *+' conftest.er1
>conftest.err
40239 cat conftest.err
>&5
40240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241 (exit $ac_status); } &&
40242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40244 (eval $ac_try) 2>&5
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); }; } &&
40248 { ac_try
='test -s conftest$ac_exeext'
40249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40250 (eval $ac_try) 2>&5
40252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40253 (exit $ac_status); }; }; then
40254 eval "$as_ac_var=yes"
40256 echo "$as_me: failed program was:" >&5
40257 sed 's/^/| /' conftest.
$ac_ext >&5
40259 eval "$as_ac_var=no"
40261 rm -f conftest.err conftest.
$ac_objext \
40262 conftest
$ac_exeext conftest.
$ac_ext
40264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40266 if test `eval echo '${'$as_ac_var'}'` = yes; then
40267 cat >>confdefs.h
<<_ACEOF
40268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40275 for ac_func
in floor
40277 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40278 echo "$as_me:$LINENO: checking for $ac_func" >&5
40279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40280 if eval "test \"\${$as_ac_var+set}\" = set"; then
40281 echo $ECHO_N "(cached) $ECHO_C" >&6
40283 cat >conftest.
$ac_ext <<_ACEOF
40286 cat confdefs.h
>>conftest.
$ac_ext
40287 cat >>conftest.
$ac_ext <<_ACEOF
40288 /* end confdefs.h. */
40289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40291 #define $ac_func innocuous_$ac_func
40293 /* System header to define __stub macros and hopefully few prototypes,
40294 which can conflict with char $ac_func (); below.
40295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40296 <limits.h> exists even on freestanding compilers. */
40299 # include <limits.h>
40301 # include <assert.h>
40306 /* Override any gcc2 internal prototype to avoid an error. */
40311 /* We use char because int might match the return type of a gcc2
40312 builtin and then its argument prototype would still apply. */
40314 /* The GNU C library defines this for functions which it implements
40315 to always fail with ENOSYS. Some functions are actually named
40316 something starting with __ and the normal name is an alias. */
40317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40320 char (*f) () = $ac_func;
40329 return f != $ac_func;
40334 rm -f conftest.
$ac_objext conftest
$ac_exeext
40335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40336 (eval $ac_link) 2>conftest.er1
40338 grep -v '^ *+' conftest.er1
>conftest.err
40340 cat conftest.err
>&5
40341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342 (exit $ac_status); } &&
40343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40345 (eval $ac_try) 2>&5
40347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40348 (exit $ac_status); }; } &&
40349 { ac_try
='test -s conftest$ac_exeext'
40350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40351 (eval $ac_try) 2>&5
40353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40354 (exit $ac_status); }; }; then
40355 eval "$as_ac_var=yes"
40357 echo "$as_me: failed program was:" >&5
40358 sed 's/^/| /' conftest.
$ac_ext >&5
40360 eval "$as_ac_var=no"
40362 rm -f conftest.err conftest.
$ac_objext \
40363 conftest
$ac_exeext conftest.
$ac_ext
40365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40367 if test `eval echo '${'$as_ac_var'}'` = yes; then
40368 cat >>confdefs.h
<<_ACEOF
40369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40375 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40376 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40377 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40378 echo "$as_me:$LINENO: result: yes" >&5
40379 echo "${ECHO_T}yes" >&6
40381 echo "$as_me:$LINENO: result: no" >&5
40382 echo "${ECHO_T}no" >&6
40384 # use different functions to avoid configure caching
40390 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40391 echo "$as_me:$LINENO: checking for $ac_func" >&5
40392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40393 if eval "test \"\${$as_ac_var+set}\" = set"; then
40394 echo $ECHO_N "(cached) $ECHO_C" >&6
40396 cat >conftest.
$ac_ext <<_ACEOF
40399 cat confdefs.h
>>conftest.
$ac_ext
40400 cat >>conftest.
$ac_ext <<_ACEOF
40401 /* end confdefs.h. */
40402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40404 #define $ac_func innocuous_$ac_func
40406 /* System header to define __stub macros and hopefully few prototypes,
40407 which can conflict with char $ac_func (); below.
40408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40409 <limits.h> exists even on freestanding compilers. */
40412 # include <limits.h>
40414 # include <assert.h>
40419 /* Override any gcc2 internal prototype to avoid an error. */
40424 /* We use char because int might match the return type of a gcc2
40425 builtin and then its argument prototype would still apply. */
40427 /* The GNU C library defines this for functions which it implements
40428 to always fail with ENOSYS. Some functions are actually named
40429 something starting with __ and the normal name is an alias. */
40430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40433 char (*f) () = $ac_func;
40442 return f != $ac_func;
40447 rm -f conftest.
$ac_objext conftest
$ac_exeext
40448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40449 (eval $ac_link) 2>conftest.er1
40451 grep -v '^ *+' conftest.er1
>conftest.err
40453 cat conftest.err
>&5
40454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40455 (exit $ac_status); } &&
40456 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40458 (eval $ac_try) 2>&5
40460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40461 (exit $ac_status); }; } &&
40462 { ac_try
='test -s conftest$ac_exeext'
40463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40464 (eval $ac_try) 2>&5
40466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40467 (exit $ac_status); }; }; then
40468 eval "$as_ac_var=yes"
40470 echo "$as_me: failed program was:" >&5
40471 sed 's/^/| /' conftest.
$ac_ext >&5
40473 eval "$as_ac_var=no"
40475 rm -f conftest.err conftest.
$ac_objext \
40476 conftest
$ac_exeext conftest.
$ac_ext
40478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40480 if test `eval echo '${'$as_ac_var'}'` = yes; then
40481 cat >>confdefs.h
<<_ACEOF
40482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40489 for ac_func
in ceil
40491 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40492 echo "$as_me:$LINENO: checking for $ac_func" >&5
40493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40494 if eval "test \"\${$as_ac_var+set}\" = set"; then
40495 echo $ECHO_N "(cached) $ECHO_C" >&6
40497 cat >conftest.
$ac_ext <<_ACEOF
40500 cat confdefs.h
>>conftest.
$ac_ext
40501 cat >>conftest.
$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40505 #define $ac_func innocuous_$ac_func
40507 /* System header to define __stub macros and hopefully few prototypes,
40508 which can conflict with char $ac_func (); below.
40509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40510 <limits.h> exists even on freestanding compilers. */
40513 # include <limits.h>
40515 # include <assert.h>
40520 /* Override any gcc2 internal prototype to avoid an error. */
40525 /* We use char because int might match the return type of a gcc2
40526 builtin and then its argument prototype would still apply. */
40528 /* The GNU C library defines this for functions which it implements
40529 to always fail with ENOSYS. Some functions are actually named
40530 something starting with __ and the normal name is an alias. */
40531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40534 char (*f) () = $ac_func;
40543 return f != $ac_func;
40548 rm -f conftest.
$ac_objext conftest
$ac_exeext
40549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40550 (eval $ac_link) 2>conftest.er1
40552 grep -v '^ *+' conftest.er1
>conftest.err
40554 cat conftest.err
>&5
40555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); } &&
40557 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40559 (eval $ac_try) 2>&5
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); }; } &&
40563 { ac_try
='test -s conftest$ac_exeext'
40564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40565 (eval $ac_try) 2>&5
40567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40568 (exit $ac_status); }; }; then
40569 eval "$as_ac_var=yes"
40571 echo "$as_me: failed program was:" >&5
40572 sed 's/^/| /' conftest.
$ac_ext >&5
40574 eval "$as_ac_var=no"
40576 rm -f conftest.err conftest.
$ac_objext \
40577 conftest
$ac_exeext conftest.
$ac_ext
40579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40581 if test `eval echo '${'$as_ac_var'}'` = yes; then
40582 cat >>confdefs.h
<<_ACEOF
40583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40589 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40590 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40591 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40592 echo "$as_me:$LINENO: result: yes" >&5
40593 echo "${ECHO_T}yes" >&6
40595 echo "$as_me:$LINENO: result: no" >&5
40596 echo "${ECHO_T}no" >&6
40597 # not sure we should warn the user, crash, etc.
40601 if test "$wxUSE_GUI" = "yes"; then
40604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40605 dynamic erase event exec font image minimal mobile \
40606 mobile/wxedit mobile/styles propsize render \
40607 richedit rotate shaped vscroll widgets"
40609 if test "$wxUSE_MONOLITHIC" != "yes"; then
40610 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
40612 if test "$TOOLKIT" = "MSW"; then
40613 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
40614 if test "$wxUSE_UNIVERSAL" != "yes"; then
40615 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40618 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
40622 SAMPLES_SUBDIRS
="console"
40626 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40627 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40629 if test "$GXX" = yes ; then
40631 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
40634 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40636 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40637 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40638 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40640 if test "x$MWCC" = "xyes"; then
40642 CC
="$CC -cwd source -I-"
40643 CXX
="$CXX -cwd source -I-"
40648 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40649 EXTRALIBS_XML
="$EXPAT_LINK"
40650 EXTRALIBS_HTML
="$MSPACK_LINK"
40651 EXTRALIBS_ODBC
="$ODBC_LINK"
40652 if test "$wxUSE_GUI" = "yes"; then
40653 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40655 if test "$wxUSE_OPENGL" = "yes"; then
40656 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
40659 LDFLAGS
="$LDFLAGS $PROFILE"
40661 if test "$wxUSE_GTK" = 1; then
40664 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
40667 WXCONFIG_EXTRALIBS
="$LIBS"
40669 if test "$wxUSE_REGEX" = "builtin" ; then
40670 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
40672 if test "$wxUSE_EXPAT" = "builtin" ; then
40673 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
40675 if test "$wxUSE_ODBC" = "builtin" ; then
40676 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
40678 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40679 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
40681 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40682 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
40684 if test "$wxUSE_LIBPNG" = "builtin" ; then
40685 wxconfig_3rdparty
="png $wxconfig_3rdparty"
40687 if test "$wxUSE_ZLIB" = "builtin" ; then
40688 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
40691 for i
in $wxconfig_3rdparty ; do
40692 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
40696 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40710 if test $wxUSE_MONOLITHIC = "yes" ; then
40716 if test $wxUSE_PLUGINS = "yes" ; then
40722 if test $wxUSE_ODBC != "no" ; then
40728 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40734 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40762 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40773 TOOLKIT_USER
="GTK+"
40774 if test "$WXGTK20" = 1; then
40775 TOOLKIT_USER
="$TOOLKIT_USER 2"
40780 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
40787 if test "x$BAKEFILE_HOST" = "x"; then
40788 BAKEFILE_HOST
="${host}"
40791 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40793 if test -n "$ac_tool_prefix"; then
40794 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40795 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
40796 echo "$as_me:$LINENO: checking for $ac_word" >&5
40797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40798 if test "${ac_cv_prog_RANLIB+set}" = set; then
40799 echo $ECHO_N "(cached) $ECHO_C" >&6
40801 if test -n "$RANLIB"; then
40802 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
40804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40805 for as_dir
in $PATH
40808 test -z "$as_dir" && as_dir
=.
40809 for ac_exec_ext
in '' $ac_executable_extensions; do
40810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40811 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
40812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40820 RANLIB
=$ac_cv_prog_RANLIB
40821 if test -n "$RANLIB"; then
40822 echo "$as_me:$LINENO: result: $RANLIB" >&5
40823 echo "${ECHO_T}$RANLIB" >&6
40825 echo "$as_me:$LINENO: result: no" >&5
40826 echo "${ECHO_T}no" >&6
40830 if test -z "$ac_cv_prog_RANLIB"; then
40831 ac_ct_RANLIB
=$RANLIB
40832 # Extract the first word of "ranlib", so it can be a program name with args.
40833 set dummy ranlib
; ac_word
=$2
40834 echo "$as_me:$LINENO: checking for $ac_word" >&5
40835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40836 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40837 echo $ECHO_N "(cached) $ECHO_C" >&6
40839 if test -n "$ac_ct_RANLIB"; then
40840 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
40842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40843 for as_dir
in $PATH
40846 test -z "$as_dir" && as_dir
=.
40847 for ac_exec_ext
in '' $ac_executable_extensions; do
40848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40849 ac_cv_prog_ac_ct_RANLIB
="ranlib"
40850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40856 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
40859 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
40860 if test -n "$ac_ct_RANLIB"; then
40861 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40862 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40864 echo "$as_me:$LINENO: result: no" >&5
40865 echo "${ECHO_T}no" >&6
40868 RANLIB
=$ac_ct_RANLIB
40870 RANLIB
="$ac_cv_prog_RANLIB"
40873 # Find a good install program. We prefer a C program (faster),
40874 # so one script is as good as another. But avoid the broken or
40875 # incompatible versions:
40876 # SysV /etc/install, /usr/sbin/install
40877 # SunOS /usr/etc/install
40878 # IRIX /sbin/install
40880 # AmigaOS /C/install, which installs bootblocks on floppy discs
40881 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40882 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40883 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40884 # OS/2's system install, which has a completely different semantic
40885 # ./install, which can be erroneously created by make from ./install.sh.
40886 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40887 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40888 if test -z "$INSTALL"; then
40889 if test "${ac_cv_path_install+set}" = set; then
40890 echo $ECHO_N "(cached) $ECHO_C" >&6
40892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40893 for as_dir
in $PATH
40896 test -z "$as_dir" && as_dir
=.
40897 # Account for people who put trailing slashes in PATH elements.
40899 .
/ | .
// | /cC
/* | \
40900 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
40901 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
40904 # OSF1 and SCO ODT 3.0 have their own names for install.
40905 # Don't use installbsd from OSF since it installs stuff as root
40907 for ac_prog
in ginstall scoinst
install; do
40908 for ac_exec_ext
in '' $ac_executable_extensions; do
40909 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40910 if test $ac_prog = install &&
40911 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40912 # AIX install. It has an incompatible calling convention.
40914 elif test $ac_prog = install &&
40915 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40916 # program-specific install script used by HP pwplus--don't use.
40919 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
40931 if test "${ac_cv_path_install+set}" = set; then
40932 INSTALL
=$ac_cv_path_install
40934 # As a last resort, use the slow shell script. We don't cache a
40935 # path for INSTALL within a source directory, because that will
40936 # break other packages using the cache if that directory is
40937 # removed, or if the path is relative.
40938 INSTALL
=$ac_install_sh
40941 echo "$as_me:$LINENO: result: $INSTALL" >&5
40942 echo "${ECHO_T}$INSTALL" >&6
40944 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40945 # It thinks the first close brace ends the variable substitution.
40946 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
40948 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
40950 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
40952 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40953 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40955 if test "$LN_S" = "ln -s"; then
40956 echo "$as_me:$LINENO: result: yes" >&5
40957 echo "${ECHO_T}yes" >&6
40959 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40960 echo "${ECHO_T}no, using $LN_S" >&6
40964 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40965 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40966 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40967 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40968 echo $ECHO_N "(cached) $ECHO_C" >&6
40970 cat >conftest.
make <<\_ACEOF
40972 @
echo 'ac_maketemp="$(MAKE)"'
40974 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40975 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40976 if test -n "$ac_maketemp"; then
40977 eval ac_cv_prog_make_
${ac_make}_set
=yes
40979 eval ac_cv_prog_make_
${ac_make}_set
=no
40981 rm -f conftest.
make
40983 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40984 echo "$as_me:$LINENO: result: yes" >&5
40985 echo "${ECHO_T}yes" >&6
40988 echo "$as_me:$LINENO: result: no" >&5
40989 echo "${ECHO_T}no" >&6
40990 SET_MAKE
="MAKE=${MAKE-make}"
40995 if test -n "$ac_tool_prefix"; then
40996 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40997 set dummy
${ac_tool_prefix}ar; ac_word
=$2
40998 echo "$as_me:$LINENO: checking for $ac_word" >&5
40999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41000 if test "${ac_cv_prog_AR+set}" = set; then
41001 echo $ECHO_N "(cached) $ECHO_C" >&6
41003 if test -n "$AR"; then
41004 ac_cv_prog_AR
="$AR" # Let the user override the test.
41006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41007 for as_dir
in $PATH
41010 test -z "$as_dir" && as_dir
=.
41011 for ac_exec_ext
in '' $ac_executable_extensions; do
41012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41013 ac_cv_prog_AR
="${ac_tool_prefix}ar"
41014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41023 if test -n "$AR"; then
41024 echo "$as_me:$LINENO: result: $AR" >&5
41025 echo "${ECHO_T}$AR" >&6
41027 echo "$as_me:$LINENO: result: no" >&5
41028 echo "${ECHO_T}no" >&6
41032 if test -z "$ac_cv_prog_AR"; then
41034 # Extract the first word of "ar", so it can be a program name with args.
41035 set dummy
ar; ac_word
=$2
41036 echo "$as_me:$LINENO: checking for $ac_word" >&5
41037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41038 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41039 echo $ECHO_N "(cached) $ECHO_C" >&6
41041 if test -n "$ac_ct_AR"; then
41042 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
41044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41045 for as_dir
in $PATH
41048 test -z "$as_dir" && as_dir
=.
41049 for ac_exec_ext
in '' $ac_executable_extensions; do
41050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41051 ac_cv_prog_ac_ct_AR
="ar"
41052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41058 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
41061 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
41062 if test -n "$ac_ct_AR"; then
41063 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41064 echo "${ECHO_T}$ac_ct_AR" >&6
41066 echo "$as_me:$LINENO: result: no" >&5
41067 echo "${ECHO_T}no" >&6
41072 AR
="$ac_cv_prog_AR"
41075 if test -n "$ac_tool_prefix"; then
41076 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41077 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
41078 echo "$as_me:$LINENO: checking for $ac_word" >&5
41079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41080 if test "${ac_cv_prog_STRIP+set}" = set; then
41081 echo $ECHO_N "(cached) $ECHO_C" >&6
41083 if test -n "$STRIP"; then
41084 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
41086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41087 for as_dir
in $PATH
41090 test -z "$as_dir" && as_dir
=.
41091 for ac_exec_ext
in '' $ac_executable_extensions; do
41092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41093 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
41094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41102 STRIP
=$ac_cv_prog_STRIP
41103 if test -n "$STRIP"; then
41104 echo "$as_me:$LINENO: result: $STRIP" >&5
41105 echo "${ECHO_T}$STRIP" >&6
41107 echo "$as_me:$LINENO: result: no" >&5
41108 echo "${ECHO_T}no" >&6
41112 if test -z "$ac_cv_prog_STRIP"; then
41114 # Extract the first word of "strip", so it can be a program name with args.
41115 set dummy strip
; ac_word
=$2
41116 echo "$as_me:$LINENO: checking for $ac_word" >&5
41117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41118 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41119 echo $ECHO_N "(cached) $ECHO_C" >&6
41121 if test -n "$ac_ct_STRIP"; then
41122 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
41124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41125 for as_dir
in $PATH
41128 test -z "$as_dir" && as_dir
=.
41129 for ac_exec_ext
in '' $ac_executable_extensions; do
41130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41131 ac_cv_prog_ac_ct_STRIP
="strip"
41132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41138 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
41141 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
41142 if test -n "$ac_ct_STRIP"; then
41143 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41144 echo "${ECHO_T}$ac_ct_STRIP" >&6
41146 echo "$as_me:$LINENO: result: no" >&5
41147 echo "${ECHO_T}no" >&6
41152 STRIP
="$ac_cv_prog_STRIP"
41155 if test -n "$ac_tool_prefix"; then
41156 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41157 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
41158 echo "$as_me:$LINENO: checking for $ac_word" >&5
41159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41160 if test "${ac_cv_prog_NM+set}" = set; then
41161 echo $ECHO_N "(cached) $ECHO_C" >&6
41163 if test -n "$NM"; then
41164 ac_cv_prog_NM
="$NM" # Let the user override the test.
41166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41167 for as_dir
in $PATH
41170 test -z "$as_dir" && as_dir
=.
41171 for ac_exec_ext
in '' $ac_executable_extensions; do
41172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41173 ac_cv_prog_NM
="${ac_tool_prefix}nm"
41174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41183 if test -n "$NM"; then
41184 echo "$as_me:$LINENO: result: $NM" >&5
41185 echo "${ECHO_T}$NM" >&6
41187 echo "$as_me:$LINENO: result: no" >&5
41188 echo "${ECHO_T}no" >&6
41192 if test -z "$ac_cv_prog_NM"; then
41194 # Extract the first word of "nm", so it can be a program name with args.
41195 set dummy nm
; ac_word
=$2
41196 echo "$as_me:$LINENO: checking for $ac_word" >&5
41197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41198 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41199 echo $ECHO_N "(cached) $ECHO_C" >&6
41201 if test -n "$ac_ct_NM"; then
41202 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
41204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41205 for as_dir
in $PATH
41208 test -z "$as_dir" && as_dir
=.
41209 for ac_exec_ext
in '' $ac_executable_extensions; do
41210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41211 ac_cv_prog_ac_ct_NM
="nm"
41212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41218 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
41221 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
41222 if test -n "$ac_ct_NM"; then
41223 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41224 echo "${ECHO_T}$ac_ct_NM" >&6
41226 echo "$as_me:$LINENO: result: no" >&5
41227 echo "${ECHO_T}no" >&6
41232 NM
="$ac_cv_prog_NM"
41236 case ${BAKEFILE_HOST} in
41238 INSTALL_DIR
="mkdir -p"
41240 *) INSTALL_DIR
="$INSTALL -d"
41246 case ${BAKEFILE_HOST} in
41247 *-*-cygwin* | *-*-mingw32* )
41248 LDFLAGS_GUI
="-mwindows"
41254 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41255 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41256 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41257 echo $ECHO_N "(cached) $ECHO_C" >&6
41260 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
41261 egrep -s GNU
> /dev
/null
); then
41262 bakefile_cv_prog_makeisgnu
="yes"
41264 bakefile_cv_prog_makeisgnu
="no"
41268 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41269 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41271 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41288 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41289 case "${BAKEFILE_HOST}" in
41290 *-*-cygwin* | *-*-mingw32* )
41296 *-pc-os2_emx | *-pc-os2-emx )
41299 powerpc
-*-darwin* )
41306 powerpc
-apple-macos* )
41315 case "$BAKEFILE_FORCE_PLATFORM" in
41336 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41337 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41338 { (exit 1); exit 1; }; }
41353 # Check whether --enable-omf or --disable-omf was given.
41354 if test "${enable_omf+set}" = set; then
41355 enableval
="$enable_omf"
41356 bk_os2_use_omf
="$enableval"
41359 case "${BAKEFILE_HOST}" in
41361 CFLAGS
="$CFLAGS -fno-common"
41362 CXXFLAGS
="$CXXFLAGS -fno-common"
41365 *-pc-os2_emx | *-pc-os2-emx )
41366 if test "x$bk_os2_use_omf" = "xyes" ; then
41369 LDFLAGS
="-Zomf $LDFLAGS"
41370 CFLAGS
="-Zomf $CFLAGS"
41371 CXXFLAGS
="-Zomf $CXXFLAGS"
41379 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
41385 SO_SUFFIX_MODULE
="so"
41390 DLLPREFIX_MODULE
=""
41393 case "${BAKEFILE_HOST}" in
41396 SO_SUFFIX_MODULE
="sl"
41400 SO_SUFFIX_MODULE
="a"
41402 *-*-cygwin* | *-*-mingw32* )
41404 SO_SUFFIX_MODULE
="dll"
41405 DLLIMP_SUFFIX
="dll.a"
41413 *-pc-os2_emx | *-pc-os2-emx )
41415 SO_SUFFIX_MODULE
="dll"
41416 DLLIMP_SUFFIX
=$OS2_LIBEXT
41420 LIBEXT
=".$OS2_LIBEXT"
41422 powerpc
-*-darwin* )
41424 SO_SUFFIX_MODULE
="bundle"
41428 if test "x$DLLIMP_SUFFIX" = "x" ; then
41429 DLLIMP_SUFFIX
="$SO_SUFFIX"
41443 if test "x$GCC" = "xyes"; then
41447 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
41448 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
41450 case "${BAKEFILE_HOST}" in
41452 if test "x$GCC" != "xyes"; then
41453 LDFLAGS
="$LDFLAGS -L/usr/lib"
41455 SHARED_LD_CC
="${CC} -b -o"
41456 SHARED_LD_CXX
="${CXX} -b -o"
41462 if test "x$GCC" != "xyes"; then
41463 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41464 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41465 if test "${bakefile_cv_prog_icc+set}" = set; then
41466 echo $ECHO_N "(cached) $ECHO_C" >&6
41469 cat >conftest.
$ac_ext <<_ACEOF
41472 cat confdefs.h
>>conftest.
$ac_ext
41473 cat >>conftest.
$ac_ext <<_ACEOF
41474 /* end confdefs.h. */
41480 #ifndef __INTEL_COMPILER
41488 rm -f conftest.
$ac_objext
41489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41490 (eval $ac_compile) 2>conftest.er1
41492 grep -v '^ *+' conftest.er1
>conftest.err
41494 cat conftest.err
>&5
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); } &&
41497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41499 (eval $ac_try) 2>&5
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); }; } &&
41503 { ac_try
='test -s conftest.$ac_objext'
41504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41505 (eval $ac_try) 2>&5
41507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41508 (exit $ac_status); }; }; then
41509 bakefile_cv_prog_icc
=yes
41511 echo "$as_me: failed program was:" >&5
41512 sed 's/^/| /' conftest.
$ac_ext >&5
41514 bakefile_cv_prog_icc
=no
41517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41520 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41521 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41522 if test "$bakefile_cv_prog_icc" = "yes"; then
41529 if test "x$GCC" != xyes
; then
41530 SHARED_LD_CC
="${CC} -G -o"
41531 SHARED_LD_CXX
="${CXX} -G -o"
41538 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41539 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41540 if test "${wx_cv_gcc31+set}" = set; then
41541 echo $ECHO_N "(cached) $ECHO_C" >&6
41544 cat >conftest.
$ac_ext <<_ACEOF
41547 cat confdefs.h
>>conftest.
$ac_ext
41548 cat >>conftest.
$ac_ext <<_ACEOF
41549 /* end confdefs.h. */
41555 #if (__GNUC__ < 3) || \
41556 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41564 rm -f conftest.
$ac_objext
41565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41566 (eval $ac_compile) 2>conftest.er1
41568 grep -v '^ *+' conftest.er1
>conftest.err
41570 cat conftest.err
>&5
41571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41572 (exit $ac_status); } &&
41573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41575 (eval $ac_try) 2>&5
41577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41578 (exit $ac_status); }; } &&
41579 { ac_try
='test -s conftest.$ac_objext'
41580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41581 (eval $ac_try) 2>&5
41583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41584 (exit $ac_status); }; }; then
41589 echo "$as_me: failed program was:" >&5
41590 sed 's/^/| /' conftest.
$ac_ext >&5
41597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41600 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41601 echo "${ECHO_T}$wx_cv_gcc31" >&6
41602 if test "$wx_cv_gcc31" = "no"; then
41605 cat <<EOF >shared-ld-sh
41607 #-----------------------------------------------------------------------------
41608 #-- Name: distrib/mac/shared-ld-sh
41609 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41610 #-- Author: Gilles Depeyrot
41611 #-- Copyright: (c) 2002 Gilles Depeyrot
41612 #-- Licence: any use permitted
41613 #-----------------------------------------------------------------------------
41618 linking_flag="-dynamiclib"
41620 while test ${D}# -gt 0; do
41627 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41628 # collect these options and values
41629 args="${D}{args} ${D}1 ${D}2"
41633 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41634 # collect these options
41635 args="${D}{args} ${D}1"
41638 -dynamiclib|-bundle)
41639 linking_flag="${D}1"
41643 echo "shared-ld: unhandled option '${D}1'"
41647 *.o | *.a | *.dylib)
41648 # collect object files
41649 objects="${D}{objects} ${D}1"
41653 echo "shared-ld: unhandled argument '${D}1'"
41662 # Link one module containing all the others
41664 if test ${D}{verbose} = 1; then
41665 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41667 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41669 if test ${D}{status} != 0; then
41674 # Link the shared library from the single module created
41676 if test ${D}{verbose} = 1; then
41677 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41679 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41681 if test ${D}{status} != 0; then
41686 # Remove intermediate module
41688 rm -f master.${D}${D}.o
41693 chmod +x shared
-ld-sh
41695 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41696 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41697 SHARED_LD_CXX
="$SHARED_LD_CC"
41698 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
41700 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41701 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41702 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41703 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41706 PIC_FLAG
="-dynamic -fPIC"
41710 if test "x$GCC" != "xyes"; then
41711 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41712 set dummy makeC
++SharedLib
; ac_word
=$2
41713 echo "$as_me:$LINENO: checking for $ac_word" >&5
41714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41715 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41716 echo $ECHO_N "(cached) $ECHO_C" >&6
41718 if test -n "$AIX_CXX_LD"; then
41719 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
41721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41722 for as_dir
in $PATH
41725 test -z "$as_dir" && as_dir
=.
41726 for ac_exec_ext
in '' $ac_executable_extensions; do
41727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41728 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
41729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41735 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
41738 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
41739 if test -n "$AIX_CXX_LD"; then
41740 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41741 echo "${ECHO_T}$AIX_CXX_LD" >&6
41743 echo "$as_me:$LINENO: result: no" >&5
41744 echo "${ECHO_T}no" >&6
41747 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
41748 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
41753 SHARED_LD_CC
="${LD} -nostart -o"
41754 SHARED_LD_CXX
="${LD} -nostart -o"
41758 if test "x$GCC" != "xyes"; then
41763 *-*-cygwin* | *-*-mingw32* )
41765 SHARED_LD_CC
="\$(CC) -shared -o"
41766 SHARED_LD_CXX
="\$(CXX) -shared -o"
41769 *-pc-os2_emx | *-pc-os2-emx )
41770 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41771 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41775 cat <<EOF >dllar.sh
41778 # dllar - a tool to build both a .dll and an .a file
41779 # from a set of object (.o) files for EMX/OS2.
41781 # Written by Andrew Zabolotny, bit@freya.etu.ru
41782 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41784 # This script will accept a set of files on the command line.
41785 # All the public symbols from the .o files will be exported into
41786 # a .DEF file, then linker will be run (through gcc) against them to
41787 # build a shared library consisting of all given .o files. All libraries
41788 # (.a) will be first decompressed into component .o files then act as
41789 # described above. You can optionally give a description (-d "description")
41790 # which will be put into .DLL. To see the list of accepted options (as well
41791 # as command-line format) simply run this program without options. The .DLL
41792 # is built to be imported by name (there is no guarantee that new versions
41793 # of the library you build will have same ordinals for same symbols).
41795 # dllar is free software; you can redistribute it and/or modify
41796 # it under the terms of the GNU General Public License as published by
41797 # the Free Software Foundation; either version 2, or (at your option)
41798 # any later version.
41800 # dllar is distributed in the hope that it will be useful,
41801 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41802 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41803 # GNU General Public License for more details.
41805 # You should have received a copy of the GNU General Public License
41806 # along with dllar; see the file COPYING. If not, write to the Free
41807 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41810 # To successfuly run this program you will need:
41811 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41812 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41814 # (used to build the .dll)
41816 # (used to create .def file from .o files)
41818 # (used to create .a file from .def file)
41819 # - GNU text utilites (cat, sort, uniq)
41820 # used to process emxexp output
41821 # - GNU file utilities (mv, rm)
41823 # - lxlite (optional, see flag below)
41824 # (used for general .dll cleanup)
41831 # basnam, variant of basename, which does _not_ remove the path, _iff_
41832 # second argument (suffix to remove) is given
41836 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41839 echo ${D}1 | sed 's/'${D}2'${D}//'
41842 echo "error in basnam ${D}*"
41848 # Cleanup temporary files and output
41851 for i in ${D}inputFiles ; do
41854 rm -rf \`basnam ${D}i !\`
41861 # Kill result in case of failure as there is just to many stupid make/nmake
41862 # things out there which doesn't do this.
41863 if [ ${D}# -eq 0 ]; then
41864 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41868 # Print usage and exit script with rc=1.
41870 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41871 echo ' [-name-mangler-script script.sh]'
41872 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41873 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41874 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41875 echo ' [*.o] [*.a]'
41876 echo '*> "output_file" should have no extension.'
41877 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41878 echo ' The import library name is derived from this and is set to "name".a,'
41879 echo ' unless overridden by -import'
41880 echo '*> "importlib_name" should have no extension.'
41881 echo ' If it has the .o, or .a extension, it is automatically removed.'
41882 echo ' This name is used as the import library name and may be longer and'
41883 echo ' more descriptive than the DLL name which has to follow the old '
41884 echo ' 8.3 convention of FAT.'
41885 echo '*> "script.sh may be given to override the output_file name by a'
41886 echo ' different name. It is mainly useful if the regular make process'
41887 echo ' of some package does not take into account OS/2 restriction of'
41888 echo ' DLL name lengths. It takes the importlib name as input and is'
41889 echo ' supposed to procude a shorter name as output. The script should'
41890 echo ' expect to get importlib_name without extension and should produce'
41891 echo ' a (max.) 8 letter name without extension.'
41892 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41893 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41894 echo ' These flags will be put at the start of GCC command line.'
41895 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41896 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41897 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41898 echo ' If the last character of a symbol is "*", all symbols beginning'
41899 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41900 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41901 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41902 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41903 echo ' C runtime DLLs.'
41904 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41905 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41906 echo ' unchanged to GCC at the end of command line.'
41907 echo '*> If you create a DLL from a library and you do not specify -o,'
41908 echo ' the basename for DLL and import library will be set to library name,'
41909 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41910 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41911 echo ' library will be renamed into gcc_s.a.'
41914 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41915 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41920 # Execute a command.
41921 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41922 # @Uses Whatever CleanUp() uses.
41928 if [ ${D}rcCmd -ne 0 ]; then
41929 echo "command failed, exit code="${D}rcCmd
41944 CFLAGS="-s -Zcrtdll"
41946 EXPORT_BY_ORDINALS=0
41951 case ${D}curDirS in
41955 curDirS=${D}{curDirS}"/"
41958 # Parse commandline
41961 while [ ${D}1 ]; do
41964 EXPORT_BY_ORDINALS=1;
41974 -name-mangler-script)
41995 exclude_symbols=${D}{exclude_symbols}${D}1" "
41999 library_flags=${D}{library_flags}${D}1" "
42018 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42021 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42022 if [ ${D}omfLinking -eq 1 ]; then
42023 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42025 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42030 if [ ${D}libsToLink -ne 0 ]; then
42031 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42033 for file in ${D}1 ; do
42034 if [ -f ${D}file ]; then
42035 inputFiles="${D}{inputFiles} ${D}file"
42039 if [ ${D}found -eq 0 ]; then
42040 echo "ERROR: No file(s) found: "${D}1
42047 done # iterate cmdline words
42050 if [ -z "${D}inputFiles" ]; then
42051 echo "dllar: no input files"
42055 # Now extract all .o files from .a files
42057 for file in ${D}inputFiles ; do
42068 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42073 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42075 if [ ${D}? -ne 0 ]; then
42076 echo "Failed to create subdirectory ./${D}dirname"
42080 # Append '!' to indicate archive
42081 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42082 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42085 for subfile in ${D}dirname/*.o* ; do
42086 if [ -f ${D}subfile ]; then
42088 if [ -s ${D}subfile ]; then
42089 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42090 newInputFiles="${D}newInputFiles ${D}subfile"
42094 if [ ${D}found -eq 0 ]; then
42095 echo "WARNING: there are no files in archive \\'${D}file\\'"
42099 newInputFiles="${D}{newInputFiles} ${D}file"
42103 inputFiles="${D}newInputFiles"
42105 # Output filename(s).
42107 if [ -z ${D}outFile ]; then
42109 set outFile ${D}inputFiles; outFile=${D}2
42112 # If it is an archive, remove the '!' and the '_%' suffixes
42113 case ${D}outFile in
42115 outFile=\`basnam ${D}outFile _%!\`
42120 case ${D}outFile in
42122 outFile=\`basnam ${D}outFile .dll\`
42125 outFile=\`basnam ${D}outFile .DLL\`
42128 outFile=\`basnam ${D}outFile .o\`
42131 outFile=\`basnam ${D}outFile .obj\`
42134 outFile=\`basnam ${D}outFile .a\`
42137 outFile=\`basnam ${D}outFile .lib\`
42142 case ${D}outimpFile in
42144 outimpFile=\`basnam ${D}outimpFile .a\`
42147 outimpFile=\`basnam ${D}outimpFile .lib\`
42152 if [ -z ${D}outimpFile ]; then
42153 outimpFile=${D}outFile
42155 defFile="${D}{outFile}.def"
42156 arcFile="${D}{outimpFile}.a"
42157 arcFile2="${D}{outimpFile}.lib"
42159 #create ${D}dllFile as something matching 8.3 restrictions,
42160 if [ -z ${D}renameScript ] ; then
42161 dllFile="${D}outFile"
42163 dllFile=\`${D}renameScript ${D}outimpFile\`
42166 if [ ${D}do_backup -ne 0 ] ; then
42167 if [ -f ${D}arcFile ] ; then
42168 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42170 if [ -f ${D}arcFile2 ] ; then
42171 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42175 # Extract public symbols from all the object files.
42176 tmpdefFile=${D}{defFile}_%
42177 rm -f ${D}tmpdefFile
42178 for file in ${D}inputFiles ; do
42183 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42188 # Create the def file.
42190 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42191 dllFile="${D}{dllFile}.dll"
42192 if [ ! -z ${D}description ]; then
42193 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42195 echo "EXPORTS" >> ${D}defFile
42197 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42198 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42200 # Checks if the export is ok or not.
42201 for word in ${D}exclude_symbols; do
42202 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42203 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42207 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42208 sed "=" < ${D}tmpdefFile | \\
42212 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42214 ' > ${D}{tmpdefFile}%
42215 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42217 rm -f ${D}{tmpdefFile}%
42219 cat ${D}tmpdefFile >> ${D}defFile
42220 rm -f ${D}tmpdefFile
42222 # Do linking, create implib, and apply lxlite.
42224 for file in ${D}inputFiles ; do
42229 gccCmdl="${D}gccCmdl ${D}file"
42233 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42234 touch "${D}{outFile}.dll"
42236 doCommand "emximp -o ${D}arcFile ${D}defFile"
42237 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42239 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42242 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42244 doCommand "emxomf -s -l ${D}arcFile"
42254 powerpc
-apple-macos* | \
42255 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42263 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42264 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42265 { (exit 1); exit 1; }; }
42268 if test "x$PIC_FLAG" != "x" ; then
42269 PIC_FLAG
="$PIC_FLAG -DPIC"
42272 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42273 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
42275 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42276 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
42293 case "${BAKEFILE_HOST}" in
42294 *-*-linux* | *-*-freebsd* )
42295 SONAME_FLAG
="-Wl,-soname,"
42323 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42324 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42327 if test "x$GCC" = "xyes"; then
42330 case "${BAKEFILE_HOST}" in
42331 powerpc
-*-darwin* )
42332 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
42335 DEPSFLAG_GCC
="-MMD"
42338 echo "$as_me:$LINENO: result: gcc" >&5
42339 echo "${ECHO_T}gcc" >&6
42340 elif test "x$MWCC" = "xyes"; then
42343 DEPSFLAG_MWCC
="-MM"
42344 echo "$as_me:$LINENO: result: mwcc" >&5
42345 echo "${ECHO_T}mwcc" >&6
42347 echo "$as_me:$LINENO: result: none" >&5
42348 echo "${ECHO_T}none" >&6
42351 if test $DEPS_TRACKING = 1 ; then
42357 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42358 # script. It is used to track C/C++ files dependencies in portable way.
42360 # Permission is given to use this file in any way.
42362 DEPSMODE=${DEPSMODE}
42364 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42365 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42367 mkdir -p ${D}DEPSDIR
42369 if test ${D}DEPSMODE = gcc ; then
42370 ${D}* ${D}{DEPSFLAG_GCC}
42372 if test ${D}{status} != 0 ; then
42375 # move created file to the location we want it in:
42376 while test ${D}# -gt 0; do
42390 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42391 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42392 if test -f ${D}depfile ; then
42393 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42396 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42397 if test -f ${D}depfile ; then
42398 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42403 elif test ${D}DEPSMODE = mwcc ; then
42406 if test ${D}{status} != 0 ; then
42409 # Run mwcc again with -MM and redirect into the dep file we want
42410 # NOTE: We can't use shift here because we need ${D}* to be valid
42412 for arg in ${D}* ; do
42413 if test "${D}prevarg" = "-o"; then
42426 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42443 case ${BAKEFILE_HOST} in
42444 *-*-cygwin* | *-*-mingw32* )
42445 if test "$build" != "$host" ; then
42446 RESCOMP
=$host_alias-windres
42448 # Extract the first word of "windres", so it can be a program name with args.
42449 set dummy windres
; ac_word
=$2
42450 echo "$as_me:$LINENO: checking for $ac_word" >&5
42451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42452 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42453 echo $ECHO_N "(cached) $ECHO_C" >&6
42455 if test -n "$RESCOMP"; then
42456 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42459 for as_dir
in $PATH
42462 test -z "$as_dir" && as_dir
=.
42463 for ac_exec_ext
in '' $ac_executable_extensions; do
42464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42465 ac_cv_prog_RESCOMP
="windres"
42466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42472 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
42475 RESCOMP
=$ac_cv_prog_RESCOMP
42476 if test -n "$RESCOMP"; then
42477 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42478 echo "${ECHO_T}$RESCOMP" >&6
42480 echo "$as_me:$LINENO: result: no" >&5
42481 echo "${ECHO_T}no" >&6
42487 *-*-darwin* | powerpc
-apple-macos* )
42488 # Extract the first word of "Rez", so it can be a program name with args.
42489 set dummy Rez
; ac_word
=$2
42490 echo "$as_me:$LINENO: checking for $ac_word" >&5
42491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42492 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42493 echo $ECHO_N "(cached) $ECHO_C" >&6
42495 if test -n "$RESCOMP"; then
42496 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42499 for as_dir
in $PATH
42502 test -z "$as_dir" && as_dir
=.
42503 for ac_exec_ext
in '' $ac_executable_extensions; do
42504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42505 ac_cv_prog_RESCOMP
="Rez"
42506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42512 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
42515 RESCOMP
=$ac_cv_prog_RESCOMP
42516 if test -n "$RESCOMP"; then
42517 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42518 echo "${ECHO_T}$RESCOMP" >&6
42520 echo "$as_me:$LINENO: result: no" >&5
42521 echo "${ECHO_T}no" >&6
42524 # Extract the first word of "SetFile", so it can be a program name with args.
42525 set dummy SetFile
; ac_word
=$2
42526 echo "$as_me:$LINENO: checking for $ac_word" >&5
42527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42528 if test "${ac_cv_prog_SETFILE+set}" = set; then
42529 echo $ECHO_N "(cached) $ECHO_C" >&6
42531 if test -n "$SETFILE"; then
42532 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
42534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42535 for as_dir
in $PATH
42538 test -z "$as_dir" && as_dir
=.
42539 for ac_exec_ext
in '' $ac_executable_extensions; do
42540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42541 ac_cv_prog_SETFILE
="SetFile"
42542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42548 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
42551 SETFILE
=$ac_cv_prog_SETFILE
42552 if test -n "$SETFILE"; then
42553 echo "$as_me:$LINENO: result: $SETFILE" >&5
42554 echo "${ECHO_T}$SETFILE" >&6
42556 echo "$as_me:$LINENO: result: no" >&5
42557 echo "${ECHO_T}no" >&6
42567 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.8"
42570 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.8"
42574 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42575 if test "${enable_precomp_headers+set}" = set; then
42576 enableval
="$enable_precomp_headers"
42577 bk_use_pch
="$enableval"
42582 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42583 if test "x$GCC" = "xyes"; then
42584 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42585 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42586 cat >conftest.
$ac_ext <<_ACEOF
42589 cat confdefs.h
>>conftest.
$ac_ext
42590 cat >>conftest.
$ac_ext <<_ACEOF
42591 /* end confdefs.h. */
42597 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42598 #error "no pch support"
42601 #error "no pch support"
42603 #if (__GNUC__ == 3) && \
42604 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42605 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42606 #error "no pch support"
42613 rm -f conftest.
$ac_objext
42614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42615 (eval $ac_compile) 2>conftest.er1
42617 grep -v '^ *+' conftest.er1
>conftest.err
42619 cat conftest.err
>&5
42620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42621 (exit $ac_status); } &&
42622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42624 (eval $ac_try) 2>&5
42626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42627 (exit $ac_status); }; } &&
42628 { ac_try
='test -s conftest.$ac_objext'
42629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42630 (eval $ac_try) 2>&5
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); }; }; then
42635 echo "$as_me:$LINENO: result: yes" >&5
42636 echo "${ECHO_T}yes" >&6
42640 echo "$as_me: failed program was:" >&5
42641 sed 's/^/| /' conftest.
$ac_ext >&5
42644 echo "$as_me:$LINENO: result: no" >&5
42645 echo "${ECHO_T}no" >&6
42648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42649 if test $GCC_PCH = 1 ; then
42652 cat <<EOF >bk-make-pch
42655 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42656 # script. It is used to generated precompiled headers.
42658 # Permission is given to use this file in any way.
42667 while test ${D}{#} -gt 0; do
42670 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42671 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42672 headerfile="${D}{incdir}/${D}{header}"
42676 compiler="${D}{compiler} ${D}{1}"
42680 if test "x${D}{headerfile}" = "x" ; then
42681 echo "error: can't find header ${D}{header} in include paths" >2
42683 if test -f ${D}{outfile} ; then
42684 rm -f ${D}{outfile}
42686 mkdir -p \`dirname ${D}{outfile}\`
42688 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42690 # can do this because gcc is >= 3.4:
42691 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42696 chmod +x bk
-make-pch
42703 COND_BUILD_DEBUG
="#"
42704 if test "x$BUILD" = "xdebug" ; then
42705 COND_BUILD_DEBUG
=""
42708 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
42709 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42710 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
42713 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
42714 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42715 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
42718 COND_BUILD_DEBUG_UNICODE_0
="#"
42719 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42720 COND_BUILD_DEBUG_UNICODE_0
=""
42723 COND_BUILD_DEBUG_UNICODE_1
="#"
42724 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42725 COND_BUILD_DEBUG_UNICODE_1
=""
42728 COND_BUILD_RELEASE
="#"
42729 if test "x$BUILD" = "xrelease" ; then
42730 COND_BUILD_RELEASE
=""
42733 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
42734 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42735 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
42738 COND_BUILD_RELEASE_UNICODE_0
="#"
42739 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42740 COND_BUILD_RELEASE_UNICODE_0
=""
42743 COND_BUILD_RELEASE_UNICODE_1
="#"
42744 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42745 COND_BUILD_RELEASE_UNICODE_1
=""
42748 COND_DEBUG_FLAG_1
="#"
42749 if test "x$DEBUG_FLAG" = "x1" ; then
42750 COND_DEBUG_FLAG_1
=""
42753 COND_DEBUG_INFO_0
="#"
42754 if test "x$DEBUG_INFO" = "x0" ; then
42755 COND_DEBUG_INFO_0
=""
42758 COND_DEBUG_INFO_1
="#"
42759 if test "x$DEBUG_INFO" = "x1" ; then
42760 COND_DEBUG_INFO_1
=""
42763 COND_DEPS_TRACKING_0
="#"
42764 if test "x$DEPS_TRACKING" = "x0" ; then
42765 COND_DEPS_TRACKING_0
=""
42768 COND_DEPS_TRACKING_1
="#"
42769 if test "x$DEPS_TRACKING" = "x1" ; then
42770 COND_DEPS_TRACKING_1
=""
42774 if test "x$GCC_PCH" = "x1" ; then
42778 COND_MONOLITHIC_0
="#"
42779 if test "x$MONOLITHIC" = "x0" ; then
42780 COND_MONOLITHIC_0
=""
42783 COND_MONOLITHIC_0_SHARED_0
="#"
42784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42785 COND_MONOLITHIC_0_SHARED_0
=""
42788 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
42789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42790 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
42793 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
42794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42795 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
42798 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
42799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42800 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
42803 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
42804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42805 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
42808 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
42809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42810 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
42813 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
42814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42815 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
42818 COND_MONOLITHIC_0_SHARED_1
="#"
42819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42820 COND_MONOLITHIC_0_SHARED_1
=""
42823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
42824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
42828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
42829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
42833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
42834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
42838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
42839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
42843 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
42844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42845 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
42848 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
42849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42850 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
42853 COND_MONOLITHIC_0_USE_ODBC_1
="#"
42854 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42855 COND_MONOLITHIC_0_USE_ODBC_1
=""
42858 COND_MONOLITHIC_1
="#"
42859 if test "x$MONOLITHIC" = "x1" ; then
42860 COND_MONOLITHIC_1
=""
42863 COND_MONOLITHIC_1_SHARED_0
="#"
42864 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42865 COND_MONOLITHIC_1_SHARED_0
=""
42868 COND_MONOLITHIC_1_SHARED_1
="#"
42869 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42870 COND_MONOLITHIC_1_SHARED_1
=""
42873 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
42874 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
42878 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
42879 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42880 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
42883 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
42884 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
42888 COND_PLATFORM_MACOSX_1
="#"
42889 if test "x$PLATFORM_MACOSX" = "x1" ; then
42890 COND_PLATFORM_MACOSX_1
=""
42893 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
42894 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42895 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
42898 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
42899 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42900 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
42903 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
42904 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42905 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
42908 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
42909 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42910 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
42913 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
42914 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42915 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
42918 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42919 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42920 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42923 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
42924 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42925 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
42928 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
42929 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42930 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
42933 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
42934 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42935 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
42938 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
42939 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42940 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
42943 COND_PLATFORM_MACOS_1
="#"
42944 if test "x$PLATFORM_MACOS" = "x1" ; then
42945 COND_PLATFORM_MACOS_1
=""
42948 COND_PLATFORM_MAC_1
="#"
42949 if test "x$PLATFORM_MAC" = "x1" ; then
42950 COND_PLATFORM_MAC_1
=""
42953 COND_PLATFORM_OS2_1
="#"
42954 if test "x$PLATFORM_OS2" = "x1" ; then
42955 COND_PLATFORM_OS2_1
=""
42958 COND_PLATFORM_UNIX_0
="#"
42959 if test "x$PLATFORM_UNIX" = "x0" ; then
42960 COND_PLATFORM_UNIX_0
=""
42963 COND_PLATFORM_UNIX_1
="#"
42964 if test "x$PLATFORM_UNIX" = "x1" ; then
42965 COND_PLATFORM_UNIX_1
=""
42968 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
42969 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42970 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
42973 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
42974 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42975 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
42978 COND_PLATFORM_WIN32_0
="#"
42979 if test "x$PLATFORM_WIN32" = "x0" ; then
42980 COND_PLATFORM_WIN32_0
=""
42983 COND_PLATFORM_WIN32_1
="#"
42984 if test "x$PLATFORM_WIN32" = "x1" ; then
42985 COND_PLATFORM_WIN32_1
=""
42989 if test "x$SHARED" = "x0" ; then
42993 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
42994 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42995 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
42998 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
42999 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43000 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
43003 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
43004 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43005 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
43008 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
43009 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43010 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
43013 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43014 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43015 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43018 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43019 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43020 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43023 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43024 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43025 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43028 COND_SHARED_0_USE_XRC_1
="#"
43029 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43030 COND_SHARED_0_USE_XRC_1
=""
43033 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
43034 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43035 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
43038 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
43039 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43040 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
43043 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
43044 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43045 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
43048 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
43049 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43050 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
43054 if test "x$SHARED" = "x1" ; then
43058 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
43059 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43060 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
43063 COND_SHARED_1_USE_XRC_1
="#"
43064 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43065 COND_SHARED_1_USE_XRC_1
=""
43069 if test "x$TOOLKIT" = "x" ; then
43073 COND_TOOLKIT_COCOA
="#"
43074 if test "x$TOOLKIT" = "xCOCOA" ; then
43075 COND_TOOLKIT_COCOA
=""
43078 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
43079 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43080 COND_TOOLKIT_COCOA_USE_GUI_1
=""
43083 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
43084 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43085 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
43088 COND_TOOLKIT_GTK
="#"
43089 if test "x$TOOLKIT" = "xGTK" ; then
43090 COND_TOOLKIT_GTK
=""
43093 COND_TOOLKIT_GTK_USE_GUI_1
="#"
43094 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43095 COND_TOOLKIT_GTK_USE_GUI_1
=""
43098 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
43099 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43100 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
43103 COND_TOOLKIT_MAC
="#"
43104 if test "x$TOOLKIT" = "xMAC" ; then
43105 COND_TOOLKIT_MAC
=""
43108 COND_TOOLKIT_MAC_USE_GUI_1
="#"
43109 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43110 COND_TOOLKIT_MAC_USE_GUI_1
=""
43113 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43114 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43115 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43118 COND_TOOLKIT_MGL
="#"
43119 if test "x$TOOLKIT" = "xMGL" ; then
43120 COND_TOOLKIT_MGL
=""
43123 COND_TOOLKIT_MGL_USE_GUI_1
="#"
43124 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43125 COND_TOOLKIT_MGL_USE_GUI_1
=""
43128 COND_TOOLKIT_MOTIF
="#"
43129 if test "x$TOOLKIT" = "xMOTIF" ; then
43130 COND_TOOLKIT_MOTIF
=""
43133 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
43134 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43135 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
43138 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
43139 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43140 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
43143 COND_TOOLKIT_MSW
="#"
43144 if test "x$TOOLKIT" = "xMSW" ; then
43145 COND_TOOLKIT_MSW
=""
43148 COND_TOOLKIT_MSW_USE_GUI_1
="#"
43149 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43150 COND_TOOLKIT_MSW_USE_GUI_1
=""
43153 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
43154 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43155 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
43158 COND_TOOLKIT_PM
="#"
43159 if test "x$TOOLKIT" = "xPM" ; then
43163 COND_TOOLKIT_PM_USE_GUI_1
="#"
43164 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
43165 COND_TOOLKIT_PM_USE_GUI_1
=""
43168 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
43169 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43170 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
43173 COND_TOOLKIT_WINCE
="#"
43174 if test "x$TOOLKIT" = "xWINCE" ; then
43175 COND_TOOLKIT_WINCE
=""
43178 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
43179 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
43180 COND_TOOLKIT_WINCE_USE_GUI_1
=""
43183 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
43184 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43185 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
43188 COND_TOOLKIT_X11
="#"
43189 if test "x$TOOLKIT" = "xX11" ; then
43190 COND_TOOLKIT_X11
=""
43193 COND_TOOLKIT_X11_USE_GUI_1
="#"
43194 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
43195 COND_TOOLKIT_X11_USE_GUI_1
=""
43199 if test "x$UNICODE" = "x1" ; then
43203 COND_USE_EXCEPTIONS_0
="#"
43204 if test "x$USE_EXCEPTIONS" = "x0" ; then
43205 COND_USE_EXCEPTIONS_0
=""
43208 COND_USE_EXCEPTIONS_1
="#"
43209 if test "x$USE_EXCEPTIONS" = "x1" ; then
43210 COND_USE_EXCEPTIONS_1
=""
43214 if test "x$USE_GUI" = "x0" ; then
43219 if test "x$USE_GUI" = "x1" ; then
43223 COND_USE_GUI_1_WXUNIV_0
="#"
43224 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43225 COND_USE_GUI_1_WXUNIV_0
=""
43228 COND_USE_GUI_1_WXUNIV_1
="#"
43229 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43230 COND_USE_GUI_1_WXUNIV_1
=""
43233 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43234 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43235 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43238 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43239 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43240 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43243 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43244 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43245 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43248 COND_USE_ODBC_1
="#"
43249 if test "x$USE_ODBC" = "x1" ; then
43253 COND_USE_OPENGL_1
="#"
43254 if test "x$USE_OPENGL" = "x1" ; then
43255 COND_USE_OPENGL_1
=""
43258 COND_USE_PLUGINS_0
="#"
43259 if test "x$USE_PLUGINS" = "x0" ; then
43260 COND_USE_PLUGINS_0
=""
43263 COND_USE_RTTI_0
="#"
43264 if test "x$USE_RTTI" = "x0" ; then
43268 COND_USE_RTTI_1
="#"
43269 if test "x$USE_RTTI" = "x1" ; then
43273 COND_USE_SOSYMLINKS_1
="#"
43274 if test "x$USE_SOSYMLINKS" = "x1" ; then
43275 COND_USE_SOSYMLINKS_1
=""
43278 COND_USE_SOVERLINUX_1
="#"
43279 if test "x$USE_SOVERLINUX" = "x1" ; then
43280 COND_USE_SOVERLINUX_1
=""
43283 COND_USE_SOVERSION_0
="#"
43284 if test "x$USE_SOVERSION" = "x0" ; then
43285 COND_USE_SOVERSION_0
=""
43288 COND_USE_SOVERSOLARIS_1
="#"
43289 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43290 COND_USE_SOVERSOLARIS_1
=""
43293 COND_USE_THREADS_0
="#"
43294 if test "x$USE_THREADS" = "x0" ; then
43295 COND_USE_THREADS_0
=""
43298 COND_USE_THREADS_1
="#"
43299 if test "x$USE_THREADS" = "x1" ; then
43300 COND_USE_THREADS_1
=""
43304 if test "x$USE_XRC" = "x1" ; then
43308 COND_WITH_PLUGIN_SDL_1
="#"
43309 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43310 COND_WITH_PLUGIN_SDL_1
=""
43314 if test "x$WXUNIV" = "x0" ; then
43319 if test "x$WXUNIV" = "x1" ; then
43323 COND_WXUSE_EXPAT_BUILTIN
="#"
43324 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43325 COND_WXUSE_EXPAT_BUILTIN
=""
43328 COND_WXUSE_LIBJPEG_BUILTIN
="#"
43329 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43330 COND_WXUSE_LIBJPEG_BUILTIN
=""
43333 COND_WXUSE_LIBPNG_BUILTIN
="#"
43334 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43335 COND_WXUSE_LIBPNG_BUILTIN
=""
43338 COND_WXUSE_LIBTIFF_BUILTIN
="#"
43339 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43340 COND_WXUSE_LIBTIFF_BUILTIN
=""
43343 COND_WXUSE_ODBC_BUILTIN
="#"
43344 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43345 COND_WXUSE_ODBC_BUILTIN
=""
43348 COND_WXUSE_REGEX_BUILTIN
="#"
43349 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43350 COND_WXUSE_REGEX_BUILTIN
=""
43353 COND_WXUSE_ZLIB_BUILTIN
="#"
43354 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43355 COND_WXUSE_ZLIB_BUILTIN
=""
43360 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43361 { { 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
43362 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;}
43363 { (exit 1); exit 1; }; }
43367 if test "$wxUSE_SHARED" = "yes"; then
43369 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
43370 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
43373 *-pc-os2_emx | *-pc-os2-emx )
43374 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43375 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43376 cp -p ${srcdir}/src
/os
2/dllnames.sh .
43377 cp -p ${srcdir}/src
/os
2/dllar.sh .
43382 EXE_LINKER
="$CXX -o"
43385 if test "$wxUSE_OMF" = "yes"; then
43387 *-pc-os2_emx | *-pc-os2-emx )
43388 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
43389 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43390 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43395 GCC_PRAGMA_FLAGS
=""
43397 if test $GCC_PCH = 1 ; then
43398 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43399 PCH_FLAGS
="-DWX_PRECOMP"
43402 powerpc
-*-darwin* )
43403 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43406 if test "$wxUSE_STL" = "yes" -o \
43407 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43408 "$wxUSE_NO_RTTI" != "yes"; then
43409 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43410 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43411 cat >conftest.
$ac_ext <<_ACEOF
43414 cat confdefs.h
>>conftest.
$ac_ext
43415 cat >>conftest.
$ac_ext <<_ACEOF
43416 /* end confdefs.h. */
43421 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43422 #error "Not GCC 3.2 or greater"
43429 rm -f conftest.
$ac_objext
43430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43431 (eval $ac_compile) 2>conftest.er1
43433 grep -v '^ *+' conftest.er1
>conftest.err
43435 cat conftest.err
>&5
43436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437 (exit $ac_status); } &&
43438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43440 (eval $ac_try) 2>&5
43442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43443 (exit $ac_status); }; } &&
43444 { ac_try
='test -s conftest.$ac_objext'
43445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43446 (eval $ac_try) 2>&5
43448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43449 (exit $ac_status); }; }; then
43450 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43451 echo "$as_me:$LINENO: result: yes" >&5
43452 echo "${ECHO_T}yes" >&6
43454 echo "$as_me: failed program was:" >&5
43455 sed 's/^/| /' conftest.
$ac_ext >&5
43457 echo "$as_me:$LINENO: result: no" >&5
43458 echo "${ECHO_T}no" >&6
43460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43463 *-pc-os2_emx | *-pc-os2-emx )
43464 if test "$wxUSE_STL" = "yes"; then
43465 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43466 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43467 cat >conftest.
$ac_ext <<_ACEOF
43470 cat confdefs.h
>>conftest.
$ac_ext
43471 cat >>conftest.
$ac_ext <<_ACEOF
43472 /* end confdefs.h. */
43477 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43478 #error "Not GCC 3.2 or greater"
43485 rm -f conftest.
$ac_objext
43486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43487 (eval $ac_compile) 2>conftest.er1
43489 grep -v '^ *+' conftest.er1
>conftest.err
43491 cat conftest.err
>&5
43492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43493 (exit $ac_status); } &&
43494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43496 (eval $ac_try) 2>&5
43498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43499 (exit $ac_status); }; } &&
43500 { ac_try
='test -s conftest.$ac_objext'
43501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43502 (eval $ac_try) 2>&5
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); }; }; then
43506 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43507 echo "$as_me:$LINENO: result: yes" >&5
43508 echo "${ECHO_T}yes" >&6
43510 echo "$as_me: failed program was:" >&5
43511 sed 's/^/| /' conftest.
$ac_ext >&5
43513 echo "$as_me:$LINENO: result: no" >&5
43514 echo "${ECHO_T}no" >&6
43516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43521 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43524 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43588 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43589 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43590 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43591 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43592 echo $ECHO_N "(cached) $ECHO_C" >&6
43594 cat >conftest.
make <<\_ACEOF
43596 @
echo 'ac_maketemp="$(MAKE)"'
43598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43599 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43600 if test -n "$ac_maketemp"; then
43601 eval ac_cv_prog_make_
${ac_make}_set
=yes
43603 eval ac_cv_prog_make_
${ac_make}_set
=no
43605 rm -f conftest.
make
43607 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43608 echo "$as_me:$LINENO: result: yes" >&5
43609 echo "${ECHO_T}yes" >&6
43612 echo "$as_me:$LINENO: result: no" >&5
43613 echo "${ECHO_T}no" >&6
43614 SET_MAKE
="MAKE=${MAKE-make}"
43619 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43622 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43625 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43628 ac_config_files
="$ac_config_files version-script Makefile"
43631 ac_config_commands
="$ac_config_commands wx-config
43637 if test "$wxUSE_GUI" = "yes"; then
43638 SUBDIRS
="samples demos utils contrib"
43639 else SUBDIRS
="samples utils"
43644 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43645 if test "${with_cppunit_prefix+set}" = set; then
43646 withval
="$with_cppunit_prefix"
43647 cppunit_config_prefix
="$withval"
43649 cppunit_config_prefix
=""
43652 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43653 if test "${with_cppunit_exec_prefix+set}" = set; then
43654 withval
="$with_cppunit_exec_prefix"
43655 cppunit_config_exec_prefix
="$withval"
43657 cppunit_config_exec_prefix
=""
43660 if test x
$cppunit_config_exec_prefix != x
; then
43661 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43662 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43663 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
43666 if test x
$cppunit_config_prefix != x
; then
43667 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
43668 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43669 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
43673 # Extract the first word of "cppunit-config", so it can be a program name with args.
43674 set dummy cppunit
-config; ac_word
=$2
43675 echo "$as_me:$LINENO: checking for $ac_word" >&5
43676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43677 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43678 echo $ECHO_N "(cached) $ECHO_C" >&6
43680 case $CPPUNIT_CONFIG in
43682 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43686 for as_dir
in $PATH
43689 test -z "$as_dir" && as_dir
=.
43690 for ac_exec_ext
in '' $ac_executable_extensions; do
43691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43692 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43699 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
43703 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
43705 if test -n "$CPPUNIT_CONFIG"; then
43706 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43707 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43709 echo "$as_me:$LINENO: result: no" >&5
43710 echo "${ECHO_T}no" >&6
43713 cppunit_version_min
=1.8.0
43715 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43716 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43718 if test "$CPPUNIT_CONFIG" = "no" ; then
43721 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
43722 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
43723 cppunit_version
=`$CPPUNIT_CONFIG --version`
43725 cppunit_major_version
=`echo $cppunit_version | \
43726 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43727 cppunit_minor_version
=`echo $cppunit_version | \
43728 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43729 cppunit_micro_version
=`echo $cppunit_version | \
43730 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43732 cppunit_major_min
=`echo $cppunit_version_min | \
43733 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43734 cppunit_minor_min
=`echo $cppunit_version_min | \
43735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43736 cppunit_micro_min
=`echo $cppunit_version_min | \
43737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43739 cppunit_version_proper
=`expr \
43740 $cppunit_major_version \> $cppunit_major_min \| \
43741 $cppunit_major_version \= $cppunit_major_min \& \
43742 $cppunit_minor_version \> $cppunit_minor_min \| \
43743 $cppunit_major_version \= $cppunit_major_min \& \
43744 $cppunit_minor_version \= $cppunit_minor_min \& \
43745 $cppunit_micro_version \>= $cppunit_micro_min `
43747 if test "$cppunit_version_proper" = "1" ; then
43748 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43749 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43751 echo "$as_me:$LINENO: result: no" >&5
43752 echo "${ECHO_T}no" >&6
43757 if test "x$no_cppunit" = x
; then
43758 SUBDIRS
="$SUBDIRS tests"
43769 for subdir
in `echo $SUBDIRS`; do
43770 if test -d ${srcdir}/${subdir} ; then
43771 if test "$wxUSE_GUI" = "yes"; then
43772 if test ${subdir} = "samples"; then
43773 makefiles
="samples/Makefile.in $makefiles"
43774 for sample
in `echo $SAMPLES_SUBDIRS`; do
43775 if test -d $srcdir/samples
/$sample; then
43776 makefiles
="samples/$sample/Makefile.in $makefiles"
43779 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43781 else if test ${subdir} = "samples"; then
43782 makefiles
="samples/Makefile.in samples/console/Makefile.in"
43783 elif test ${subdir} = "utils"; then
43785 for util
in HelpGen tex2rtf
; do
43786 if test -d $srcdir/utils
/$util ; then
43787 makefiles
="utils/$util/Makefile.in \
43788 utils/$util/src/Makefile.in \
43792 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43796 for mkin
in $makefiles ; do
43797 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43798 ac_config_files
="$ac_config_files $mk"
43805 cat >confcache
<<\_ACEOF
43806 # This file is a shell script that caches the results of configure
43807 # tests run on this system so they can be shared between configure
43808 # scripts and configure runs, see configure's option --config-cache.
43809 # It is not useful on other systems. If it contains results you don't
43810 # want to keep, you may remove or edit it.
43812 # config.status only pays attention to the cache file if you give it
43813 # the --recheck option to rerun configure.
43815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43817 # following values.
43821 # The following way of writing the cache mishandles newlines in values,
43822 # but we know of no workaround that is simple, portable, and efficient.
43823 # So, don't put newlines in cache variables' values.
43824 # Ultrix sh set writes to stderr and can't be redirected directly,
43825 # and sets the high bit in the cache file unless we assign to the vars.
43828 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43830 # `set' does not quote correctly, so add quotes (double-quote
43831 # substitution turns \\\\ into \\, and sed turns \\ into \).
43834 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43837 # `set' quotes correctly as required by POSIX, so do not add quotes.
43839 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43846 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43848 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43850 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
43851 if test -w $cache_file; then
43852 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43853 cat confcache
>$cache_file
43855 echo "not updating unwritable cache $cache_file"
43860 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
43861 # Let make expand exec_prefix.
43862 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
43864 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43865 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43866 # trailing colons and then remove the whole line if VPATH becomes empty
43867 # (actually we leave an empty line to preserve line numbers).
43868 if test "x$srcdir" = x.
; then
43869 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
43870 s/:*\$(srcdir):*/:/;
43871 s/:*\${srcdir}:*/:/;
43873 s/^\([^=]*=[ ]*\):*/\1/;
43879 DEFS
=-DHAVE_CONFIG_H
43883 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
43884 # 1. Remove the extension, and $U if already installed.
43885 ac_i
=`echo "$ac_i" |
43886 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43888 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
43889 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
43891 LIBOBJS
=$ac_libobjs
43893 LTLIBOBJS
=$ac_ltlibobjs
43897 : ${CONFIG_STATUS=./config.status}
43898 ac_clean_files_save
=$ac_clean_files
43899 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
43900 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43901 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43902 cat >$CONFIG_STATUS <<_ACEOF
43904 # Generated by $as_me.
43905 # Run this file to recreate the current configuration.
43906 # Compiler output produced by configure, useful for debugging
43907 # configure, is in config.log if it exists.
43910 ac_cs_recheck=false
43912 SHELL=\${CONFIG_SHELL-$SHELL}
43915 cat >>$CONFIG_STATUS <<\_ACEOF
43916 ## --------------------- ##
43917 ## M4sh Initialization. ##
43918 ## --------------------- ##
43920 # Be Bourne compatible
43921 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
43924 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43925 # is contrary to our usage. Disable this feature.
43926 alias -g '${1+"$@"}'='"$@"'
43927 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
43930 DUALCASE
=1; export DUALCASE
# for MKS sh
43932 # Support unset when possible.
43933 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
43940 # Work around bugs in pre-3.0 UWIN ksh.
43941 $as_unset ENV MAIL MAILPATH
43948 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43949 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43950 LC_TELEPHONE LC_TIME
43952 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43953 eval $as_var=C
; export $as_var
43959 # Required to use basename.
43960 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43966 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
43967 as_basename
=basename
43973 # Name of the executable.
43974 as_me
=`$as_basename "$0" ||
43975 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43976 X"$0" : 'X\(//\)$' \| \
43977 X"$0" : 'X\(/\)$' \| \
43978 . : '\(.\)' 2>/dev/null ||
43980 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43981 /^X\/\(\/\/\)$/{ s//\1/; q; }
43982 /^X\/\(\/\).*/{ s//\1/; q; }
43986 # PATH needs CR, and LINENO needs CR and PATH.
43987 # Avoid depending upon Character Ranges.
43988 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
43989 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43990 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
43991 as_cr_digits
='0123456789'
43992 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43994 # The user is always right.
43995 if test "${PATH_SEPARATOR+set}" != set; then
43996 echo "#! /bin/sh" >conf$$.sh
43997 echo "exit 0" >>conf$$.sh
43999 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
44008 as_lineno_1
=$LINENO
44009 as_lineno_2
=$LINENO
44010 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
44011 test "x$as_lineno_1" != "x$as_lineno_2" &&
44012 test "x$as_lineno_3" = "x$as_lineno_2" || {
44013 # Find who we are. Look in the path if we contain no path at all
44016 *[\\/]* ) as_myself
=$0 ;;
44017 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44018 for as_dir
in $PATH
44021 test -z "$as_dir" && as_dir
=.
44022 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
44027 # We did not find ourselves, most probably we were run as `sh COMMAND'
44028 # in which case we are not to be found in the path.
44029 if test "x$as_myself" = x
; then
44032 if test ! -f "$as_myself"; then
44033 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44034 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44035 { (exit 1); exit 1; }; }
44037 case $CONFIG_SHELL in
44039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44040 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
44043 test -z "$as_dir" && as_dir
=.
44044 for as_base
in sh bash ksh sh5
; do
44047 if ("$as_dir/$as_base" -c '
44048 as_lineno_1=$LINENO
44049 as_lineno_2=$LINENO
44050 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44051 test "x$as_lineno_1" != "x$as_lineno_2" &&
44052 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
44053 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
44054 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
44055 CONFIG_SHELL
=$as_dir/$as_base
44056 export CONFIG_SHELL
44057 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44065 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44066 # uniformly replaced by the line number. The first 'sed' inserts a
44067 # line-number line before each line; the second 'sed' does the real
44068 # work. The second script uses 'N' to pair each line-number line
44069 # with the numbered line, and appends trailing '-' during
44070 # substitution so that $LINENO is not a special case at line end.
44071 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44072 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44073 sed '=' <$as_myself |
44078 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44081 s,^['$as_cr_digits']*\n,,
44082 ' >$as_me.lineno
&&
44083 chmod +x
$as_me.lineno
||
44084 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44085 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44086 { (exit 1); exit 1; }; }
44088 # Don't try to exec as it changes $[0], causing all sort of problems
44089 # (the dirname of $[0] is not the place where we might find the
44090 # original and so on. Autoconf is especially sensible to this).
44092 # Exit status is that of the last command.
44097 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44098 *c
*,-n*) ECHO_N
= ECHO_C
='
44100 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
44101 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
44104 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44110 rm -f conf$$ conf$$.exe conf$$.
file
44112 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
44113 # We could just check for DJGPP; but this test a) works b) is more generic
44114 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44115 if test -f conf$$.exe
; then
44116 # Don't use ln at all; we don't have any links
44121 elif ln conf$$.
file conf$$
2>/dev
/null
; then
44126 rm -f conf$$ conf$$.exe conf$$.
file
44128 if mkdir -p .
2>/dev
/null
; then
44131 test -d .
/-p && rmdir .
/-p
44135 as_executable_p
="test -f"
44137 # Sed expression to map a string onto a valid CPP name.
44138 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44140 # Sed expression to map a string onto a valid variable name.
44141 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44145 # We need space, tab and new line, in precisely that order.
44155 # Open the log real soon, to keep \$[0] and so on meaningful, and to
44156 # report actual input values of CONFIG_FILES etc. instead of their
44157 # values after options handling. Logging --version etc. is OK.
44161 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
44162 ## Running $as_me. ##
44167 This file was extended by wxWidgets $as_me 2.6.0, which was
44168 generated by GNU Autoconf 2.59. Invocation command line was
44170 CONFIG_FILES = $CONFIG_FILES
44171 CONFIG_HEADERS = $CONFIG_HEADERS
44172 CONFIG_LINKS = $CONFIG_LINKS
44173 CONFIG_COMMANDS = $CONFIG_COMMANDS
44177 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
44181 # Files that config.status was made for.
44182 if test -n "$ac_config_files"; then
44183 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
44186 if test -n "$ac_config_headers"; then
44187 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
44190 if test -n "$ac_config_links"; then
44191 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
44194 if test -n "$ac_config_commands"; then
44195 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
44198 cat >>$CONFIG_STATUS <<\_ACEOF
44201 \`$as_me' instantiates files from templates according to the
44202 current configuration.
44204 Usage: $0 [OPTIONS] [FILE]...
44206 -h, --help print this help, then exit
44207 -V, --version print version number, then exit
44208 -q, --quiet do not print progress messages
44209 -d, --debug don't remove temporary files
44210 --recheck update $as_me by reconfiguring in the same conditions
44211 --file=FILE[:TEMPLATE]
44212 instantiate the configuration file FILE
44213 --header=FILE[:TEMPLATE]
44214 instantiate the configuration header FILE
44216 Configuration files:
44219 Configuration headers:
44222 Configuration commands:
44225 Report bugs to <bug-autoconf@gnu.org>."
44228 cat >>$CONFIG_STATUS <<_ACEOF
44230 wxWidgets config.status 2.6.0
44231 configured by $0, generated by GNU Autoconf 2.59,
44232 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44234 Copyright (C) 2003 Free Software Foundation, Inc.
44235 This config.status script is free software; the Free Software Foundation
44236 gives unlimited permission to copy, distribute and modify it."
44241 cat >>$CONFIG_STATUS <<\_ACEOF
44242 # If no file are specified by the user, then we need to provide default
44243 # value. By we need to know if files were specified by the user.
44249 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
44250 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
44258 *) # This is not an option, so the user has probably given explicit
44261 ac_need_defaults
=false
;;
44265 # Handling of the options.
44267 cat >>$CONFIG_STATUS <<\_ACEOF
44268 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44270 --version | --vers* | -V )
44271 echo "$ac_cs_version"; exit 0 ;;
44273 # Conflict between --help and --header
44274 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44275 Try \`$0 --help' for more information." >&5
44276 echo "$as_me: error: ambiguous option: $1
44277 Try \`$0 --help' for more information." >&2;}
44278 { (exit 1); exit 1; }; };;
44279 --help | --hel | -h )
44280 echo "$ac_cs_usage"; exit 0 ;;
44281 --debug | --d* | -d )
44283 --file | --fil | --fi | --f )
44285 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
44286 ac_need_defaults
=false
;;
44287 --header | --heade | --head | --hea )
44289 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
44290 ac_need_defaults
=false
;;
44291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44292 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44295 # This is an error.
44296 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44297 Try \`$0 --help' for more information." >&5
44298 echo "$as_me: error: unrecognized option: $1
44299 Try \`$0 --help' for more information." >&2;}
44300 { (exit 1); exit 1; }; } ;;
44302 *) ac_config_targets
="$ac_config_targets $1" ;;
44308 ac_configure_extra_args
=
44310 if $ac_cs_silent; then
44312 ac_configure_extra_args
="$ac_configure_extra_args --silent"
44316 cat >>$CONFIG_STATUS <<_ACEOF
44317 if \$ac_cs_recheck; then
44318 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44319 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44324 cat >>$CONFIG_STATUS <<_ACEOF
44326 # INIT-COMMANDS section.
44329 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44330 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44331 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44339 cat >>$CONFIG_STATUS <<\_ACEOF
44340 for ac_config_target
in $ac_config_targets
44342 case "$ac_config_target" in
44343 # Handling of arguments.
44344 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44345 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44346 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
44347 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
44348 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
44349 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
44350 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44351 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44352 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44353 { (exit 1); exit 1; }; };;
44357 # If the user did not use the arguments to specify the items to instantiate,
44358 # then the envvar interface is used. Set only those that are not.
44359 # We use the long form for the default assignment because of an extremely
44360 # bizarre bug on SunOS 4.1.3.
44361 if $ac_need_defaults; then
44362 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
44363 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
44364 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
44367 # Have a temporary directory for convenience. Make it in the build tree
44368 # simply because there is no reason to put it here, and in addition,
44369 # creating and moving files from /tmp can sometimes cause problems.
44370 # Create a temporary directory, and hook for its removal unless debugging.
44373 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44374 trap '{ (exit 1); exit 1; }' 1 2 13 15
44377 # Create a (secure) tmp directory for tmp files.
44380 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44381 test -n "$tmp" && test -d "$tmp"
44384 tmp
=.
/confstat$$
-$RANDOM
44385 (umask 077 && mkdir $tmp)
44388 echo "$me: cannot create a temporary directory in ." >&2
44389 { (exit 1); exit 1; }
44394 cat >>$CONFIG_STATUS <<_ACEOF
44397 # CONFIG_FILES section.
44400 # No need to generate the scripts if there are no CONFIG_FILES.
44401 # This happens for instance when ./config.status config.h
44402 if test -n "\$CONFIG_FILES"; then
44403 # Protect against being on the right side of a sed subst in config.status.
44404 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44405 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44406 s,@SHELL@,$SHELL,;t t
44407 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44408 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44409 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44410 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44411 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44412 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44413 s,@exec_prefix@,$exec_prefix,;t t
44414 s,@prefix@,$prefix,;t t
44415 s,@program_transform_name@,$program_transform_name,;t t
44416 s,@bindir@,$bindir,;t t
44417 s,@sbindir@,$sbindir,;t t
44418 s,@libexecdir@,$libexecdir,;t t
44419 s,@datadir@,$datadir,;t t
44420 s,@sysconfdir@,$sysconfdir,;t t
44421 s,@sharedstatedir@,$sharedstatedir,;t t
44422 s,@localstatedir@,$localstatedir,;t t
44423 s,@libdir@,$libdir,;t t
44424 s,@includedir@,$includedir,;t t
44425 s,@oldincludedir@,$oldincludedir,;t t
44426 s,@infodir@,$infodir,;t t
44427 s,@mandir@,$mandir,;t t
44428 s,@build_alias@,$build_alias,;t t
44429 s,@host_alias@,$host_alias,;t t
44430 s,@target_alias@,$target_alias,;t t
44431 s,@DEFS@,$DEFS,;t t
44432 s,@ECHO_C@,$ECHO_C,;t t
44433 s,@ECHO_N@,$ECHO_N,;t t
44434 s,@ECHO_T@,$ECHO_T,;t t
44435 s,@LIBS@,$LIBS,;t t
44436 s,@build@,$build,;t t
44437 s,@build_cpu@,$build_cpu,;t t
44438 s,@build_vendor@,$build_vendor,;t t
44439 s,@build_os@,$build_os,;t t
44440 s,@host@,$host,;t t
44441 s,@host_cpu@,$host_cpu,;t t
44442 s,@host_vendor@,$host_vendor,;t t
44443 s,@host_os@,$host_os,;t t
44444 s,@target@,$target,;t t
44445 s,@target_cpu@,$target_cpu,;t t
44446 s,@target_vendor@,$target_vendor,;t t
44447 s,@target_os@,$target_os,;t t
44449 s,@CFLAGS@,$CFLAGS,;t t
44450 s,@LDFLAGS@,$LDFLAGS,;t t
44451 s,@CPPFLAGS@,$CPPFLAGS,;t t
44452 s,@ac_ct_CC@,$ac_ct_CC,;t t
44453 s,@EXEEXT@,$EXEEXT,;t t
44454 s,@OBJEXT@,$OBJEXT,;t t
44456 s,@EGREP@,$EGREP,;t t
44458 s,@CXXFLAGS@,$CXXFLAGS,;t t
44459 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44460 s,@RANLIB@,$RANLIB,;t t
44461 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44463 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44464 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44465 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44466 s,@STRIP@,$STRIP,;t t
44467 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44468 s,@LN_S@,$LN_S,;t t
44469 s,@CXXCPP@,$CXXCPP,;t t
44470 s,@subdirs@,$subdirs,;t t
44471 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44472 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44473 s,@GTK_LIBS@,$GTK_LIBS,;t t
44474 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44475 s,@X_CFLAGS@,$X_CFLAGS,;t t
44476 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44477 s,@X_LIBS@,$X_LIBS,;t t
44478 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44479 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44480 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44481 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44482 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44483 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44484 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44485 s,@RESCOMP@,$RESCOMP,;t t
44486 s,@DEREZ@,$DEREZ,;t t
44487 s,@SETFILE@,$SETFILE,;t t
44488 s,@LIBICONV@,$LIBICONV,;t t
44489 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44490 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44491 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44492 s,@SDL_LIBS@,$SDL_LIBS,;t t
44493 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44494 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44495 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44496 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44497 s,@GST_INSPECT@,$GST_INSPECT,;t t
44498 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44499 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44500 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44501 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44502 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44503 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44504 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44505 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44506 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44507 s,@VENDOR@,$VENDOR,;t t
44508 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44509 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44510 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44511 s,@WXUNIV@,$WXUNIV,;t t
44512 s,@MONOLITHIC@,$MONOLITHIC,;t t
44513 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44514 s,@EXTRALIBS@,$EXTRALIBS,;t t
44515 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44516 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44517 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44518 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44519 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44520 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44521 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44522 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44523 s,@UNICODE@,$UNICODE,;t t
44524 s,@BUILD@,$BUILD,;t t
44525 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44526 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44527 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44528 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44529 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44530 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44531 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44532 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44533 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44534 s,@SET_MAKE@,$SET_MAKE,;t t
44535 s,@MAKE_SET@,$MAKE_SET,;t t
44536 s,@ac_ct_AR@,$ac_ct_AR,;t t
44537 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44539 s,@ac_ct_NM@,$ac_ct_NM,;t t
44540 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44541 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44542 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44543 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44544 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44545 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44546 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44547 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44548 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44549 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44550 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44551 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44552 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44553 s,@LIBPREFIX@,$LIBPREFIX,;t t
44554 s,@LIBEXT@,$LIBEXT,;t t
44555 s,@DLLPREFIX@,$DLLPREFIX,;t t
44556 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44557 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44558 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44559 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44560 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44561 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44562 s,@PIC_FLAG@,$PIC_FLAG,;t t
44563 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44564 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44565 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44566 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44567 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44568 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44569 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44570 s,@GCC_PCH@,$GCC_PCH,;t t
44571 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44572 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44573 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44574 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44575 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44576 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44577 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44578 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44579 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44580 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44581 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44582 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44583 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44584 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44585 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44586 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44587 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44588 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44589 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
44590 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
44591 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
44592 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44593 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44594 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44595 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44596 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
44597 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
44598 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
44599 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44600 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44601 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44602 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44603 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44604 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44605 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44606 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44607 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44608 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44609 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44610 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44611 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44612 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44613 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44614 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
44615 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44616 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44617 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44618 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44619 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44620 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44621 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44622 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44623 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44624 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44625 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44626 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44627 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44628 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44629 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44630 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44631 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44632 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44633 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44634 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44635 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44636 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
44637 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44638 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44639 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44640 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44641 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44642 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44643 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
44644 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44645 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44646 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44647 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44648 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44649 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44650 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44651 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44652 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44653 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44654 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44655 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44656 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44657 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44658 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44659 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44660 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44661 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44662 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44663 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44664 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44665 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44666 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44667 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44668 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44669 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44670 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44671 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44672 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44673 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44674 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44675 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44676 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44677 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44678 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44679 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44680 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44681 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44682 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44683 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44684 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44685 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44686 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44687 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44688 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44689 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44690 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44691 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44692 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44693 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44694 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44695 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44696 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44697 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44698 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44699 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44700 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44701 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44702 s,@SHARED@,$SHARED,;t t
44703 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44704 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44705 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44706 s,@USE_GUI@,$USE_GUI,;t t
44707 s,@AFMINSTALL@,$AFMINSTALL,;t t
44708 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44709 s,@TOOLKIT@,$TOOLKIT,;t t
44710 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44711 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44712 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44713 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44714 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44715 s,@cross_compiling@,$cross_compiling,;t t
44716 s,@WIDGET_SET@,$WIDGET_SET,;t t
44717 s,@WX_RELEASE@,$WX_RELEASE,;t t
44718 s,@WX_VERSION@,$WX_VERSION,;t t
44719 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44720 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44721 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44722 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44723 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44724 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44725 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44726 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44727 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44728 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44729 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44730 s,@EXE_LINKER@,$EXE_LINKER,;t t
44731 s,@GUIDIST@,$GUIDIST,;t t
44732 s,@DISTDIR@,$DISTDIR,;t t
44733 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44734 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44735 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44736 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44737 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44738 s,@RESFLAGS@,$RESFLAGS,;t t
44739 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44740 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44741 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44742 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44743 s,@MACRESCOMP@,$MACRESCOMP,;t t
44744 s,@MACSETFILE@,$MACSETFILE,;t t
44745 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44747 s,@DLLTOOL@,$DLLTOOL,;t t
44748 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44749 s,@LIBOBJS@,$LIBOBJS,;t t
44750 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44755 cat >>$CONFIG_STATUS <<\_ACEOF
44756 # Split the substitutions into bite-sized pieces for seds with
44757 # small command number limits, like on Digital OSF/1 and HP-UX.
44758 ac_max_sed_lines
=48
44759 ac_sed_frag
=1 # Number of current file.
44760 ac_beg
=1 # First line for current file.
44761 ac_end
=$ac_max_sed_lines # Line after last line for current file.
44764 while $ac_more_lines; do
44765 if test $ac_beg -gt 1; then
44766 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44768 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44770 if test ! -s $tmp/subs.frag
; then
44771 ac_more_lines
=false
44773 # The purpose of the label and of the branching condition is to
44774 # speed up the sed processing (if there are no `@' at all, there
44775 # is no need to browse any of the substitutions).
44776 # These are the two extra sed commands mentioned above.
44778 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
44779 if test -z "$ac_sed_cmds"; then
44780 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
44782 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44784 ac_sed_frag
=`expr $ac_sed_frag + 1`
44786 ac_end
=`expr $ac_end + $ac_max_sed_lines`
44789 if test -z "$ac_sed_cmds"; then
44792 fi # test -n "$CONFIG_FILES"
44795 cat >>$CONFIG_STATUS <<\_ACEOF
44796 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
44797 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44799 - | *:- | *:-:* ) # input from stdin
44801 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44802 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44803 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44804 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44805 * ) ac_file_in
=$ac_file.
in ;;
44808 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44809 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44811 X"$ac_file" : 'X\(//\)[^/]' \| \
44812 X"$ac_file" : 'X\(//\)$' \| \
44813 X"$ac_file" : 'X\(/\)' \| \
44814 . : '\(.\)' 2>/dev/null ||
44816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44817 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44818 /^X\(\/\/\)$/{ s//\1/; q; }
44819 /^X\(\/\).*/{ s//\1/; q; }
44821 { if $as_mkdir_p; then
44826 while test ! -d "$as_dir"; do
44827 as_dirs
="$as_dir $as_dirs"
44828 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44829 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44830 X"$as_dir" : 'X\(//\)[^/]' \| \
44831 X"$as_dir" : 'X\(//\)$' \| \
44832 X"$as_dir" : 'X\(/\)' \| \
44833 . : '\(.\)' 2>/dev/null ||
44835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44836 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44837 /^X\(\/\/\)$/{ s//\1/; q; }
44838 /^X\(\/\).*/{ s//\1/; q; }
44841 test ! -n "$as_dirs" || mkdir $as_dirs
44842 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44843 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44844 { (exit 1); exit 1; }; }; }
44848 if test "$ac_dir" != .
; then
44849 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44850 # A "../" for each directory in $ac_dir_suffix.
44851 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44853 ac_dir_suffix
= ac_top_builddir
=
44857 .
) # No --srcdir option. We are building in place.
44859 if test -z "$ac_top_builddir"; then
44862 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44864 [\\/]* | ?
:[\\/]* ) # Absolute path.
44865 ac_srcdir
=$srcdir$ac_dir_suffix;
44866 ac_top_srcdir
=$srcdir ;;
44867 *) # Relative path.
44868 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44869 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44872 # Do not use `cd foo && pwd` to compute absolute paths, because
44873 # the directories may not exist.
44875 .
) ac_abs_builddir
="$ac_dir";;
44878 .
) ac_abs_builddir
=`pwd`;;
44879 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44880 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44883 case $ac_abs_builddir in
44884 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44886 case ${ac_top_builddir}.
in
44887 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44888 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44889 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44892 case $ac_abs_builddir in
44893 .
) ac_abs_srcdir
=$ac_srcdir;;
44896 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44897 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44898 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44901 case $ac_abs_builddir in
44902 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44904 case $ac_top_srcdir in
44905 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44906 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44907 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44913 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
44914 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
44917 # Let's still pretend it is `configure' which instantiates (i.e., don't
44918 # use $as_me), people would be surprised to read:
44919 # /* config.h. Generated by config.status. */
44920 if test x
"$ac_file" = x
-; then
44923 configure_input
="$ac_file. "
44925 configure_input
=$configure_input"Generated from `echo $ac_file_in |
44926 sed 's,.*/,,'` by configure."
44928 # First look for the input files in the build tree, otherwise in the
44930 ac_file_inputs
=`IFS=:
44931 for f in $ac_file_in; do
44933 -) echo $tmp/stdin ;;
44935 # Absolute (can't be DOS-style, as IFS=:)
44936 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44937 echo "$as_me: error: cannot find input file: $f" >&2;}
44938 { (exit 1); exit 1; }; }
44941 if test -f "$f"; then
44944 elif test -f "$srcdir/$f"; then
44949 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44950 echo "$as_me: error: cannot find input file: $f" >&2;}
44951 { (exit 1); exit 1; }; }
44954 done` || { (exit 1); exit 1; }
44956 if test x
"$ac_file" != x
-; then
44957 { echo "$as_me:$LINENO: creating $ac_file" >&5
44958 echo "$as_me: creating $ac_file" >&6;}
44962 cat >>$CONFIG_STATUS <<_ACEOF
44966 cat >>$CONFIG_STATUS <<\_ACEOF
44968 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
44969 s
,@configure_input@
,$configure_input,;t t
44970 s
,@srcdir@
,$ac_srcdir,;t t
44971 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
44972 s
,@top_srcdir@
,$ac_top_srcdir,;t t
44973 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
44974 s
,@builddir@
,$ac_builddir,;t t
44975 s
,@abs_builddir@
,$ac_abs_builddir,;t t
44976 s
,@top_builddir@
,$ac_top_builddir,;t t
44977 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
44978 s
,@INSTALL@
,$ac_INSTALL,;t t
44979 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44981 if test x"$ac_file" != x-; then
44982 mv $tmp/out $ac_file
44988 # Run the commands associated with the file.
44990 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44991 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44995 cat >>$CONFIG_STATUS <<\_ACEOF
44998 # CONFIG_HEADER section.
45001 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
45002 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45004 # ac_d sets the value in "#define NAME VALUE" lines.
45005 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45006 ac_dB
='[ ].*$,\1#\2'
45009 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45010 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45011 ac_uB
='$,\1#\2define\3'
45015 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
45016 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45018 - | *:- | *:-:* ) # input from stdin
45020 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45021 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45022 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45023 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45024 * ) ac_file_in
=$ac_file.
in ;;
45027 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45028 echo "$as_me: creating $ac_file" >&6;}
45030 # First look for the input files in the build tree, otherwise in the
45032 ac_file_inputs
=`IFS=:
45033 for f in $ac_file_in; do
45035 -) echo $tmp/stdin ;;
45037 # Absolute (can't be DOS-style, as IFS=:)
45038 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45039 echo "$as_me: error: cannot find input file: $f" >&2;}
45040 { (exit 1); exit 1; }; }
45041 # Do quote $f, to prevent DOS paths from being IFS'd.
45044 if test -f "$f"; then
45047 elif test -f "$srcdir/$f"; then
45052 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45053 echo "$as_me: error: cannot find input file: $f" >&2;}
45054 { (exit 1); exit 1; }; }
45057 done` || { (exit 1); exit 1; }
45058 # Remove the trailing spaces.
45059 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45063 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45064 # `conftest.undefs', that substitutes the proper values into
45065 # config.h.in to produce config.h. The first handles `#define'
45066 # templates, and the second `#undef' templates.
45067 # And first: Protect against being on the right side of a sed subst in
45068 # config.status. Protect against being in an unquoted here document
45069 # in config.status.
45070 rm -f conftest.defines conftest.undefs
45071 # Using a here document instead of a string reduces the quoting nightmare.
45072 # Putting comments in sed scripts is not portable.
45074 # `end' is used to avoid that the second main sed command (meant for
45075 # 0-ary CPP macros) applies to n-ary macro definitions.
45076 # See the Autoconf documentation for `clear'.
45077 cat >confdef2sed.
sed <<\_ACEOF
45082 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45084 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45087 # If some macros were called several times there might be several times
45088 # the same #defines, which is useless. Nevertheless, we may not want to
45089 # sort them, since we want the *last* AC-DEFINE to be honored.
45090 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45091 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45092 rm -f confdef2sed.sed
45094 # This sed command replaces #undef with comments. This is necessary, for
45095 # example, in the case of _POSIX_SOURCE, which is predefined and required
45096 # on some systems where configure will not decide to define it.
45097 cat >>conftest.undefs <<\_ACEOF
45098 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45101 # Break up conftest.defines because some shells have a limit on the size
45102 # of here documents, and old seds have small limits too (100 cmds).
45103 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45104 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45105 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45106 echo ' :' >>$CONFIG_STATUS
45107 rm -f conftest.tail
45108 while grep . conftest.defines >/dev/null
45110 # Write a limited-size here document to $tmp/defines.sed.
45111 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45112 # Speed up: don't consider the non `#define' lines.
45113 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45114 # Work around the forget-to-reset-the-flag bug.
45115 echo 't clr' >>$CONFIG_STATUS
45116 echo ': clr' >>$CONFIG_STATUS
45117 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
45119 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45121 mv $tmp/out $tmp/in
45123 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
45124 rm -f conftest.defines
45125 mv conftest.
tail conftest.defines
45127 rm -f conftest.defines
45128 echo ' fi # grep' >>$CONFIG_STATUS
45129 echo >>$CONFIG_STATUS
45131 # Break up conftest.undefs because some shells have a limit on the size
45132 # of here documents, and old seds have small limits too (100 cmds).
45133 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45134 rm -f conftest.
tail
45135 while grep . conftest.undefs
>/dev
/null
45137 # Write a limited-size here document to $tmp/undefs.sed.
45138 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45139 # Speed up: don't consider the non
`#undef'
45140 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45141 # Work around the forget-to-reset-the-flag bug.
45142 echo 't clr' >>$CONFIG_STATUS
45143 echo ': clr' >>$CONFIG_STATUS
45144 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45146 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45148 mv $tmp/out $tmp/in
45150 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45151 rm -f conftest.undefs
45152 mv conftest.tail conftest.undefs
45154 rm -f conftest.undefs
45156 cat >>$CONFIG_STATUS <<\_ACEOF
45157 # Let's still pretend it is `configure
' which instantiates (i.e., don't
45158 # use $as_me), people would be surprised to read:
45159 # /* config.h. Generated by config.status. */
45160 if test x
"$ac_file" = x
-; then
45161 echo "/* Generated by configure. */" >$tmp/config.h
45163 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45165 cat $tmp/in >>$tmp/config.h
45167 if test x
"$ac_file" != x
-; then
45168 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
45169 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45170 echo "$as_me: $ac_file is unchanged" >&6;}
45172 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45173 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45174 X"$ac_file" : 'X\(//\)[^/]' \| \
45175 X"$ac_file" : 'X\(//\)$' \| \
45176 X"$ac_file" : 'X\(/\)' \| \
45177 . : '\(.\)' 2>/dev/null ||
45179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45180 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45181 /^X\(\/\/\)$/{ s//\1/; q; }
45182 /^X\(\/\).*/{ s//\1/; q; }
45184 { if $as_mkdir_p; then
45189 while test ! -d "$as_dir"; do
45190 as_dirs
="$as_dir $as_dirs"
45191 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45192 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45193 X"$as_dir" : 'X\(//\)[^/]' \| \
45194 X"$as_dir" : 'X\(//\)$' \| \
45195 X"$as_dir" : 'X\(/\)' \| \
45196 . : '\(.\)' 2>/dev/null ||
45198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45200 /^X\(\/\/\)$/{ s//\1/; q; }
45201 /^X\(\/\).*/{ s//\1/; q; }
45204 test ! -n "$as_dirs" || mkdir $as_dirs
45205 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45206 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45207 { (exit 1); exit 1; }; }; }
45210 mv $tmp/config.h
$ac_file
45214 rm -f $tmp/config.h
45218 cat >>$CONFIG_STATUS <<\_ACEOF
45221 # CONFIG_COMMANDS section.
45223 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
45224 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
45225 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45226 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
45227 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45228 X"$ac_dest" : 'X\(//\)[^/]' \| \
45229 X"$ac_dest" : 'X\(//\)$' \| \
45230 X"$ac_dest" : 'X\(/\)' \| \
45231 . : '\(.\)' 2>/dev/null ||
45233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45234 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45235 /^X\(\/\/\)$/{ s//\1/; q; }
45236 /^X\(\/\).*/{ s//\1/; q; }
45238 { if $as_mkdir_p; then
45243 while test ! -d "$as_dir"; do
45244 as_dirs
="$as_dir $as_dirs"
45245 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45247 X"$as_dir" : 'X\(//\)[^/]' \| \
45248 X"$as_dir" : 'X\(//\)$' \| \
45249 X"$as_dir" : 'X\(/\)' \| \
45250 . : '\(.\)' 2>/dev/null ||
45252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45253 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45254 /^X\(\/\/\)$/{ s//\1/; q; }
45255 /^X\(\/\).*/{ s//\1/; q; }
45258 test ! -n "$as_dirs" || mkdir $as_dirs
45259 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45260 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45261 { (exit 1); exit 1; }; }; }
45265 if test "$ac_dir" != .
; then
45266 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45267 # A "../" for each directory in $ac_dir_suffix.
45268 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45270 ac_dir_suffix
= ac_top_builddir
=
45274 .
) # No --srcdir option. We are building in place.
45276 if test -z "$ac_top_builddir"; then
45279 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45281 [\\/]* | ?
:[\\/]* ) # Absolute path.
45282 ac_srcdir
=$srcdir$ac_dir_suffix;
45283 ac_top_srcdir
=$srcdir ;;
45284 *) # Relative path.
45285 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45286 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45289 # Do not use `cd foo && pwd` to compute absolute paths, because
45290 # the directories may not exist.
45292 .
) ac_abs_builddir
="$ac_dir";;
45295 .
) ac_abs_builddir
=`pwd`;;
45296 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45297 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45300 case $ac_abs_builddir in
45301 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45303 case ${ac_top_builddir}.
in
45304 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45305 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45306 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45309 case $ac_abs_builddir in
45310 .
) ac_abs_srcdir
=$ac_srcdir;;
45313 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45314 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45315 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45318 case $ac_abs_builddir in
45319 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45321 case $ac_top_srcdir in
45322 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45323 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45324 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45329 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45330 echo "$as_me: executing $ac_dest commands" >&6;}
45332 wx
-config ) rm -f wx
-config
45333 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
45339 cat >>$CONFIG_STATUS <<\_ACEOF
45341 { (exit 0); exit 0; }
45343 chmod +x
$CONFIG_STATUS
45344 ac_clean_files
=$ac_clean_files_save
45347 # configure is writing to config.log, and then calls config.status.
45348 # config.status does its own redirection, appending to config.log.
45349 # Unfortunately, on DOS this fails, as config.log is still kept open
45350 # by configure, so config.status won't be able to write to it; its
45351 # output is simply discarded. So we exec the FD to /dev/null,
45352 # effectively closing config.log, so it can be properly (re)opened and
45353 # appended to by config.status. When coming back to configure, we
45354 # need to make the FD available again.
45355 if test "$no_create" != yes; then
45357 ac_config_status_args
=
45358 test "$silent" = yes &&
45359 ac_config_status_args
="$ac_config_status_args --quiet"
45361 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
45363 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45364 # would make configure fail if this is the last instruction.
45365 $ac_cs_success || { (exit 1); exit 1; }
45369 # CONFIG_SUBDIRS section.
45371 if test "$no_recursion" != yes; then
45373 # Remove --cache-file and --srcdir arguments so they do not pile up.
45374 ac_sub_configure_args
=
45376 for ac_arg
in $ac_configure_args; do
45377 if test -n "$ac_prev"; then
45382 -cache-file | --cache-file | --cache-fil | --cache-fi \
45383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45384 ac_prev
=cache_file
;;
45385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45389 --config-cache | -C)
45391 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45393 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45395 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45397 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45399 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
45403 # Always prepend --prefix to ensure using the same prefix
45404 # in subdir configurations.
45405 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
45408 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
45410 # Do not complain, so a configure script can configure whichever
45411 # parts of a large source tree are present.
45412 test -d $srcdir/$ac_dir || continue
45414 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45415 echo "$as_me: configuring in $ac_dir" >&6;}
45416 { if $as_mkdir_p; then
45421 while test ! -d "$as_dir"; do
45422 as_dirs
="$as_dir $as_dirs"
45423 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45424 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45425 X"$as_dir" : 'X\(//\)[^/]' \| \
45426 X"$as_dir" : 'X\(//\)$' \| \
45427 X"$as_dir" : 'X\(/\)' \| \
45428 . : '\(.\)' 2>/dev/null ||
45430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45431 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45432 /^X\(\/\/\)$/{ s//\1/; q; }
45433 /^X\(\/\).*/{ s//\1/; q; }
45436 test ! -n "$as_dirs" || mkdir $as_dirs
45437 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45438 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45439 { (exit 1); exit 1; }; }; }
45443 if test "$ac_dir" != .
; then
45444 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45445 # A "../" for each directory in $ac_dir_suffix.
45446 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45448 ac_dir_suffix
= ac_top_builddir
=
45452 .
) # No --srcdir option. We are building in place.
45454 if test -z "$ac_top_builddir"; then
45457 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45459 [\\/]* | ?
:[\\/]* ) # Absolute path.
45460 ac_srcdir
=$srcdir$ac_dir_suffix;
45461 ac_top_srcdir
=$srcdir ;;
45462 *) # Relative path.
45463 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45464 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45467 # Do not use `cd foo && pwd` to compute absolute paths, because
45468 # the directories may not exist.
45470 .
) ac_abs_builddir
="$ac_dir";;
45473 .
) ac_abs_builddir
=`pwd`;;
45474 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45475 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45478 case $ac_abs_builddir in
45479 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45481 case ${ac_top_builddir}.
in
45482 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45483 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45484 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45487 case $ac_abs_builddir in
45488 .
) ac_abs_srcdir
=$ac_srcdir;;
45491 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45492 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45493 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45496 case $ac_abs_builddir in
45497 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45499 case $ac_top_srcdir in
45500 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45501 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45502 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45509 # Check for guested configure; otherwise get Cygnus style configure.
45510 if test -f $ac_srcdir/configure.gnu
; then
45511 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
45512 elif test -f $ac_srcdir/configure
; then
45513 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
45514 elif test -f $ac_srcdir/configure.
in; then
45515 ac_sub_configure
=$ac_configure
45517 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45518 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45522 # The recursion is here.
45523 if test -n "$ac_sub_configure"; then
45524 # Make the cache file name correct relative to the subdirectory.
45525 case $cache_file in
45526 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
45527 *) # Relative path.
45528 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
45531 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45532 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45533 # The eval makes quoting arguments work.
45534 eval $ac_sub_configure $ac_sub_configure_args \
45535 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45536 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45537 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45538 { (exit 1); exit 1; }; }
45547 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45549 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45550 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45552 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45553 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45554 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45556 echo " What level of wxWidgets compatibility should be enabled?"
45557 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45558 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45560 echo " Which libraries should wxWidgets use?"
45561 echo " jpeg ${wxUSE_LIBJPEG-none}"
45562 echo " png ${wxUSE_LIBPNG-none}"
45563 echo " regex ${wxUSE_REGEX}"
45564 echo " tiff ${wxUSE_LIBTIFF-none}"
45565 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45566 echo " xpm ${wxUSE_LIBXPM-none}"
45568 echo " zlib ${wxUSE_ZLIB}"
45569 echo " odbc ${wxUSE_ODBC}"
45570 echo " expat ${wxUSE_EXPAT}"
45571 echo " libmspack ${wxUSE_LIBMSPACK}"
45572 echo " sdl ${wxUSE_LIBSDL}"
45573 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"