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.7.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.7.0'
274 PACKAGE_STRING
='wxWidgets 2.7.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 ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL 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 REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS 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 EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON 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 NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_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_ICC_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_MEDIA_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_MEDIA_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_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 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_MSW_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_WINCE_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_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC 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.7.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.7.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 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-universal_binary create Mac PowerPC and Intel Universal binary
(not yet working
)
893 --enable-compat24 enable wxWidgets
2.4 compatibility
894 --disable-compat26 disable wxWidgets
2.6 compatibility
895 --disable-rpath disable use of rpath
for uninstalled builds
896 --enable-intl use internationalization system
897 --enable-config use wxConfig
(and derived
) classes
898 --enable-protocols use wxProtocol and derived classes
899 --enable-ftp use wxFTP
(requires wxProtocol
900 --enable-http use wxHTTP
(requires wxProtocol
901 --enable-fileproto use wxFileProto class
(requires wxProtocol
902 --enable-sockets use socket
/network classes
903 --enable-ole use OLE classes
(Win32 only
)
904 --enable-dataobj use data object classes
905 --enable-ipc use interprocess communication
(wxSocket etc.
)
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-arcstream use wxArchive streams
908 --enable-backtrace use wxStackWalker class
for getting backtraces
909 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
910 --enable-cmdline use wxCmdLineParser class
911 --enable-datetime use wxDateTime class
912 --enable-debugreport use wxDebugReport class
913 --enable-dialupman use dialup network classes
914 --enable-dynlib use wxLibrary class
for DLL loading
915 --enable-dynamicloader use
(new
) wxDynamicLibrary class
916 --enable-exceptions build exception
-safe library
917 --enable-ffile use wxFFile class
918 --enable-file use wxFile class
919 --enable-filesystem use virtual
file systems classes
920 --enable-fontmap use font encodings conversion classes
921 --enable-fs_inet use virtual HTTP
/FTP filesystems
922 --enable-fs_zip use virtual ZIP filesystems
923 --enable-geometry use geometry class
924 --enable-log use logging system
925 --enable-longlong use wxLongLong class
926 --enable-mimetype use wxMimeTypesManager
927 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
928 --enable-snglinst use wxSingleInstanceChecker class
929 --enable-std_iostreams use standard C
++ stream classes
930 --enable-std_string use standard C
++ string classes
931 --enable-stdpaths use wxStandardPaths class
932 --enable-stopwatch use wxStopWatch class
933 --enable-streams use wxStream etc classes
934 --enable-sysoptions use wxSystemOptions
935 --enable-textbuf use wxTextBuffer class
936 --enable-textfile use wxTextFile class
937 --enable-timer use wxTimer class
938 --enable-unicode compile wxString with Unicode support
939 --enable-sound use wxSound class
940 --enable-mediactrl use wxMediaCtrl class
941 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
942 --enable-wxprintfv use wxWidgets implementation of vprintf
()
943 --enable-zipstream use wxZip streams
944 --enable-url use wxURL class
945 --enable-protocol use wxProtocol class
946 --enable-protocol-http HTTP support
in wxProtocol
947 --enable-protocol-ftp FTP support
in wxProtocol
948 --enable-protocol-file FILE support
in wxProtocol
949 --enable-threads use threads
950 --enable-docview use document view architecture
951 --enable-help use
help subsystem
952 --enable-mshtmlhelp use MS HTML Help
(win32
)
953 --enable-html use wxHTML sub
-library
954 --enable-htmlhelp use wxHTML
-based help
955 --enable-xrc use XRC resources sub
-library
956 --enable-constraints use layout
-constraints system
957 --enable-printarch use printing architecture
958 --enable-mdi use multiple document interface architecture
959 --enable-mdidoc use docview architecture with MDI
960 --enable-loggui use standard GUI logger
961 --enable-logwin use wxLogWindow
962 --enable-logdialog use wxLogDialog
963 --enable-webkit use wxWebKitCtrl
(Mac
)
964 --enable-richtext use wxRichTextCtrl
965 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
966 --enable-prologio not available
; see contrib
967 --enable-resources not available
; see contrib
968 --enable-clipboard use wxClipboard class
969 --enable-dnd use Drag
'n'Drop classes
970 --enable-metafile use win32 metafiles
971 --enable-controls use all usual controls
972 --enable-accel use accelerators
973 --enable-button use wxButton class
974 --enable-bmpbutton use wxBitmapButton class
975 --enable-calendar use wxCalendarCtrl class
976 --enable-caret use wxCaret class
977 --enable-checkbox use wxCheckBox class
978 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
979 --enable-choice use wxChoice class
980 --enable-choicebook use wxChoicebook class
981 --enable-combobox use wxComboBox class
982 --enable-comboctrl use wxComboCtrl class
983 --enable-datepick use wxDatePickerCtrl class
984 --enable-display use wxDisplay class
985 --enable-gauge use wxGauge class
986 --enable-grid use wxGrid class
987 --enable-dataviewctrl, use wxDataViewCtrl class
988 --enable-imaglist use wxImageList class
989 --enable-listbook use wxListbook class
990 --enable-listbox use wxListBox class
991 --enable-listctrl use wxListCtrl class
992 --enable-notebook use wxNotebook class
993 --enable-odcombobox use wxOwnerDrawnComboBox class
994 --enable-radiobox use wxRadioBox class
995 --enable-radiobtn use wxRadioButton class
996 --enable-sash use wxSashWindow class
997 --enable-scrollbar use wxScrollBar class and scrollable windows
998 --enable-slider use wxSlider class
999 --enable-spinbtn use wxSpinButton class
1000 --enable-spinctrl use wxSpinCtrl class
1001 --enable-splitter use wxSplitterWindow class
1002 --enable-statbmp use wxStaticBitmap class
1003 --enable-statbox use wxStaticBox class
1004 --enable-statline use wxStaticLine class
1005 --enable-stattext use wxStaticText class
1006 --enable-statusbar use wxStatusBar class
1007 --enable-tabdialog use wxTabControl class
1008 --enable-textctrl use wxTextCtrl class
1009 --enable-togglebtn use wxToggleButton class
1010 --enable-toolbar use wxToolBar class
1011 --enable-tbarnative use native wxToolBar class
1012 --enable-tbarsmpl use wxToolBarSimple class
1013 --enable-treebook use wxTreebook class
1014 --enable-toolbook use wxToolbook class
1015 --enable-treectrl use wxTreeCtrl class
1016 --enable-tipwindow use wxTipWindow class
1017 --enable-popupwin use wxPopUpWindow class
1018 --enable-commondlg use all common dialogs
1019 --enable-choicedlg use wxChoiceDialog
1020 --enable-coldlg use wxColourDialog
1021 --enable-filedlg use wxFileDialog
1022 --enable-finddlg use wxFindReplaceDialog
1023 --enable-fontdlg use wxFontDialog
1024 --enable-dirdlg use wxDirDialog
1025 --enable-msgdlg use wxMessageDialog
1026 --enable-numberdlg use wxNumberEntryDialog
1027 --enable-splash use wxSplashScreen
1028 --enable-textdlg use wxTextDialog
1029 --enable-tipdlg use startup tips
1030 --enable-progressdlg use wxProgressDialog
1031 --enable-wizarddlg use wxWizard
1032 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1033 --enable-miniframe use wxMiniFrame class
1034 --enable-tooltips use wxToolTip class
1035 --enable-splines use spline drawing code
1036 --enable-mousewheel use mousewheel
1037 --enable-validators use wxValidator and derived classes
1038 --enable-busyinfo use wxBusyInfo
1039 --enable-joystick use wxJoystick
1040 --enable-metafiles use wxMetaFile
(Win32 only
)
1041 --enable-dragimage use wxDragImage
1042 --enable-accessibility enable accessibility support
1043 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1044 --enable-palette use wxPalette class
1045 --enable-image use wxImage class
1046 --enable-gif use gif images
(GIF
file format
)
1047 --enable-pcx use pcx images
(PCX
file format
)
1048 --enable-iff use iff images
(IFF
file format
)
1049 --enable-pnm use pnm images
(PNM
file format
)
1050 --enable-xpm use xpm images
(XPM
file format
)
1051 --enable-icocur use Windows ICO and CUR formats
1052 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1053 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1054 --disable-largefile omit support
for large files
1055 --disable-gtktest do not try to compile and run a
test GTK
+ program
1056 --disable-gtktest Do not try to compile and run a
test GTK program
1057 --disable-sdltest Do not try to compile and run a
test SDL program
1058 --enable-omf use OMF object format
(OS
/2)
1059 --disable-dependency-tracking
1060 don
't use dependency tracking even if the compiler
1062 --disable-precomp-headers
1063 don't use precompiled headers even
if compiler can
1066 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1067 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1068 --without-subdirs don
't generate makefiles for samples/demos/...
1069 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1070 --with-motif use Motif/Lesstif
1071 --with-mac use Mac OS X
1072 --with-cocoa use Cocoa
1073 --with-wine use Wine
1074 --with-msw use MS-Windows
1075 --with-pm use OS/2 Presentation Manager
1076 --with-mgl use SciTech MGL
1077 --with-microwin use MicroWindows
1079 --with-libpng use libpng (PNG image format)
1080 --with-libjpeg use libjpeg (JPEG file format)
1081 --with-libtiff use libtiff (TIFF file format)
1082 --with-libxpm use libxpm (XPM file format)
1083 --with-libmspack use libmspack (CHM help files loading)
1084 --with-sdl use SDL for audio on Unix
1085 --with-gnomeprint use GNOME print for printing under GNOME
1086 --with-gnomevfs use GNOME VFS for associating MIME types
1087 --with-hildon use Hildon framework for Nokia 770
1088 --with-opengl use OpenGL (or Mesa)
1089 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1090 --with-regex enable support for wxRegEx class
1091 --with-zlib use zlib for LZW compression
1092 --with-odbc use the IODBC and wxODBC classes
1093 --with-expat enable XML support using expat parser
1094 --with-flavour=NAME specify a name to identify this build
1095 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1096 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1097 --with-x use the X Window System
1098 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1099 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1100 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1101 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1102 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1104 Some influential environment variables:
1105 CC C compiler command
1106 CFLAGS C compiler flags
1107 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1108 nonstandard directory <lib dir>
1109 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1110 headers in a nonstandard directory <include dir>
1112 CXX C++ compiler command
1113 CXXFLAGS C++ compiler flags
1114 CXXCPP C++ preprocessor
1116 Use these variables to override the choices made by `configure' or to
help
1117 it to
find libraries and programs with nonstandard names
/locations.
1119 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1123 if test "$ac_init_help" = "recursive"; then
1124 # If there are subdirs, report their specific --help.
1126 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1127 test -d $ac_dir || continue
1130 if test "$ac_dir" != .
; then
1131 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1132 # A "../" for each directory in $ac_dir_suffix.
1133 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1135 ac_dir_suffix
= ac_top_builddir
=
1139 .
) # No --srcdir option. We are building in place.
1141 if test -z "$ac_top_builddir"; then
1144 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1146 [\\/]* | ?
:[\\/]* ) # Absolute path.
1147 ac_srcdir
=$srcdir$ac_dir_suffix;
1148 ac_top_srcdir
=$srcdir ;;
1150 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1151 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1154 # Do not use `cd foo && pwd` to compute absolute paths, because
1155 # the directories may not exist.
1157 .
) ac_abs_builddir
="$ac_dir";;
1160 .
) ac_abs_builddir
=`pwd`;;
1161 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1162 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1165 case $ac_abs_builddir in
1166 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1168 case ${ac_top_builddir}.
in
1169 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1170 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1171 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1174 case $ac_abs_builddir in
1175 .
) ac_abs_srcdir
=$ac_srcdir;;
1178 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1179 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1180 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1183 case $ac_abs_builddir in
1184 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1186 case $ac_top_srcdir in
1187 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1188 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1189 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1194 # Check for guested configure; otherwise get Cygnus style configure.
1195 if test -f $ac_srcdir/configure.gnu
; then
1197 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1198 elif test -f $ac_srcdir/configure
; then
1200 $SHELL $ac_srcdir/configure
--help=recursive
1201 elif test -f $ac_srcdir/configure.ac
||
1202 test -f $ac_srcdir/configure.
in; then
1204 $ac_configure --help
1206 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1212 test -n "$ac_init_help" && exit 0
1213 if $ac_init_version; then
1215 wxWidgets configure
2.7.0
1216 generated by GNU Autoconf
2.59
1218 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1219 This configure
script is free software
; the Free Software Foundation
1220 gives unlimited permission to copy
, distribute and modify it.
1226 This file contains any messages produced by compilers while
1227 running configure, to aid debugging if configure makes a mistake.
1229 It was created by wxWidgets $as_me 2.7.0, which was
1230 generated by GNU Autoconf 2.59. Invocation command line was
1241 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1242 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1243 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1244 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1245 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1247 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1248 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1250 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1251 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1252 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1253 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1254 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1255 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1256 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1264 test -z "$as_dir" && as_dir
=.
1265 echo "PATH: $as_dir"
1280 # Keep a trace of the command line.
1281 # Strip out --no-create and --no-recursion so they do not pile up.
1282 # Strip out --silent because we don't want to record it for future runs.
1283 # Also quote any args containing shell meta-characters.
1284 # Make two passes to allow for proper duplicate-argument suppression.
1289 ac_must_keep_next
=false
1295 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1297 | -silent | --silent | --silen | --sile | --sil)
1299 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1300 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1303 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1305 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1306 if test $ac_must_keep_next = true
; then
1307 ac_must_keep_next
=false
# Got value, back to normal.
1310 *=* | --config-cache | -C | -disable-* | --disable-* \
1311 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1312 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1313 | -with-* | --with-* | -without-* | --without-* | --x)
1314 case "$ac_configure_args0 " in
1315 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1318 -* ) ac_must_keep_next
=true
;;
1321 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1322 # Get rid of the leading space.
1328 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1329 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1331 # When interrupted or exit'd, cleanup temporary files, and complete
1332 # config.log. We remove comments because anyway the quotes in there
1333 # would cause problems or look ugly.
1334 # WARNING: Be sure not to use single quotes in there, as some shells,
1335 # such as our DU 5.0 friend, will then `close' the trap.
1336 trap 'exit_status=$?
1337 # Save into config.log some information that might help in debugging.
1342 ## ---------------- ##
1343 ## Cache variables. ##
1344 ## ---------------- ##
1347 # The following way of writing the cache mishandles newlines in values,
1350 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1353 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1354 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1358 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1365 ## ----------------- ##
1366 ## Output variables. ##
1367 ## ----------------- ##
1370 for ac_var in $ac_subst_vars
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1377 if test -n "$ac_subst_files"; then
1384 for ac_var in $ac_subst_files
1386 eval ac_val=$`echo $ac_var`
1387 echo "$ac_var='"'"'$ac_val'"'"'"
1392 if test -s confdefs.h; then
1399 sed "/^$/d" confdefs.h | sort
1402 test "$ac_signal" != 0 &&
1403 echo "$as_me: caught signal $ac_signal"
1404 echo "$as_me: exit $exit_status"
1406 rm -f core *.core &&
1407 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1410 for ac_signal
in 1 2 13 15; do
1411 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1415 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1416 rm -rf conftest
* confdefs.h
1417 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1420 # Predefined preprocessor variables.
1422 cat >>confdefs.h
<<_ACEOF
1423 #define PACKAGE_NAME "$PACKAGE_NAME"
1427 cat >>confdefs.h
<<_ACEOF
1428 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1432 cat >>confdefs.h
<<_ACEOF
1433 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1437 cat >>confdefs.h
<<_ACEOF
1438 #define PACKAGE_STRING "$PACKAGE_STRING"
1442 cat >>confdefs.h
<<_ACEOF
1443 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1447 # Let the site file select an alternate cache file if it wants to.
1448 # Prefer explicitly selected file to automatically selected ones.
1449 if test -z "$CONFIG_SITE"; then
1450 if test "x$prefix" != xNONE
; then
1451 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1453 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1456 for ac_site_file
in $CONFIG_SITE; do
1457 if test -r "$ac_site_file"; then
1458 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1459 echo "$as_me: loading site script $ac_site_file" >&6;}
1460 sed 's/^/| /' "$ac_site_file" >&5
1465 if test -r "$cache_file"; then
1466 # Some versions of bash will fail to source /dev/null (special
1467 # files actually), so we avoid doing that.
1468 if test -f "$cache_file"; then
1469 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1470 echo "$as_me: loading cache $cache_file" >&6;}
1472 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1473 *) . .
/$cache_file;;
1477 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1478 echo "$as_me: creating cache $cache_file" >&6;}
1482 # Check that the precious variables saved in the cache have kept the same
1484 ac_cache_corrupted
=false
1485 for ac_var
in `(set) 2>&1 |
1486 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1487 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1488 eval ac_new_set
=\
$ac_env_${ac_var}_set
1489 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1490 eval ac_new_val
="\$ac_env_${ac_var}_value"
1491 case $ac_old_set,$ac_new_set in
1493 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1494 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1495 ac_cache_corrupted
=: ;;
1497 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1498 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1499 ac_cache_corrupted
=: ;;
1502 if test "x$ac_old_val" != "x$ac_new_val"; then
1503 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1504 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1505 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1506 echo "$as_me: former value: $ac_old_val" >&2;}
1507 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1508 echo "$as_me: current value: $ac_new_val" >&2;}
1509 ac_cache_corrupted
=:
1512 # Pass precious variables to config.status.
1513 if test "$ac_new_set" = set; then
1515 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1516 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1517 *) ac_arg
=$ac_var=$ac_new_val ;;
1519 case " $ac_configure_args " in
1520 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1521 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1525 if $ac_cache_corrupted; then
1526 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1527 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1528 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1529 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1530 { (exit 1); exit 1; }; }
1534 ac_cpp
='$CPP $CPPFLAGS'
1535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1569 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1570 if test -f $ac_dir/install-sh; then
1572 ac_install_sh
="$ac_aux_dir/install-sh -c"
1574 elif test -f $ac_dir/install.sh
; then
1576 ac_install_sh
="$ac_aux_dir/install.sh -c"
1578 elif test -f $ac_dir/shtool
; then
1580 ac_install_sh
="$ac_aux_dir/shtool install -c"
1584 if test -z "$ac_aux_dir"; then
1585 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1586 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1587 { (exit 1); exit 1; }; }
1589 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1590 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1591 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1593 # Make sure we can run config.sub.
1594 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1595 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1596 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1597 { (exit 1); exit 1; }; }
1599 echo "$as_me:$LINENO: checking build system type" >&5
1600 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1601 if test "${ac_cv_build+set}" = set; then
1602 echo $ECHO_N "(cached) $ECHO_C" >&6
1604 ac_cv_build_alias
=$build_alias
1605 test -z "$ac_cv_build_alias" &&
1606 ac_cv_build_alias
=`$ac_config_guess`
1607 test -z "$ac_cv_build_alias" &&
1608 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1609 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1610 { (exit 1); exit 1; }; }
1611 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1612 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1613 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1614 { (exit 1); exit 1; }; }
1617 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1618 echo "${ECHO_T}$ac_cv_build" >&6
1620 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1621 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1622 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1625 echo "$as_me:$LINENO: checking host system type" >&5
1626 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1627 if test "${ac_cv_host+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 ac_cv_host_alias
=$host_alias
1631 test -z "$ac_cv_host_alias" &&
1632 ac_cv_host_alias
=$ac_cv_build_alias
1633 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1634 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1635 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1636 { (exit 1); exit 1; }; }
1639 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1640 echo "${ECHO_T}$ac_cv_host" >&6
1642 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1643 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1644 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1647 echo "$as_me:$LINENO: checking target system type" >&5
1648 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1649 if test "${ac_cv_target+set}" = set; then
1650 echo $ECHO_N "(cached) $ECHO_C" >&6
1652 ac_cv_target_alias
=$target_alias
1653 test "x$ac_cv_target_alias" = "x" &&
1654 ac_cv_target_alias
=$ac_cv_host_alias
1655 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1656 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1657 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1658 { (exit 1); exit 1; }; }
1661 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1662 echo "${ECHO_T}$ac_cv_target" >&6
1663 target
=$ac_cv_target
1664 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1665 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1666 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1669 # The aliases save the names the user supplied, while $host etc.
1670 # will get canonicalized.
1671 test -n "$target_alias" &&
1672 test "$program_prefix$program_suffix$program_transform_name" = \
1674 program_prefix
=${target_alias}-
1678 wx_major_version_number
=2
1679 wx_minor_version_number
=7
1681 wx_subrelease_number
=0
1683 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1684 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1685 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1687 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1700 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1706 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1712 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1714 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1716 DEFAULT_wxUSE_COCOA
=0
1720 DEFAULT_wxUSE_MICROWIN
=0
1721 DEFAULT_wxUSE_MOTIF
=0
1726 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1727 DEFAULT_DEFAULT_wxUSE_GTK
=0
1728 DEFAULT_DEFAULT_wxUSE_MAC
=0
1729 DEFAULT_DEFAULT_wxUSE_MGL
=0
1730 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1731 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1732 DEFAULT_DEFAULT_wxUSE_MSW
=0
1733 DEFAULT_DEFAULT_wxUSE_PM
=0
1734 DEFAULT_DEFAULT_wxUSE_X11
=0
1739 SAMPLES_RPATH_POSTLINK
=
1741 DEFAULT_STD_FLAG
=yes
1746 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1747 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1749 cat >>confdefs.h
<<\_ACEOF
1754 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1758 cat >>confdefs.h
<<\_ACEOF
1763 if test "x$TMP" = "xalpha"; then
1765 cat >>confdefs.h
<<\_ACEOF
1770 DEFAULT_DEFAULT_wxUSE_GTK
=1
1772 *-*-gnu* | *-*-k*bsd
*-gnu )
1775 if test "x$TMP" = "xalpha"; then
1777 cat >>confdefs.h
<<\_ACEOF
1782 DEFAULT_DEFAULT_wxUSE_GTK
=1
1784 *-*-irix5* | *-*-irix6* )
1787 cat >>confdefs.h
<<\_ACEOF
1791 cat >>confdefs.h
<<\_ACEOF
1795 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1801 cat >>confdefs.h
<<\_ACEOF
1805 cat >>confdefs.h
<<\_ACEOF
1806 #define __SOLARIS__ 1
1809 cat >>confdefs.h
<<\_ACEOF
1813 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1814 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1820 cat >>confdefs.h
<<\_ACEOF
1824 cat >>confdefs.h
<<\_ACEOF
1828 cat >>confdefs.h
<<\_ACEOF
1832 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1837 cat >>confdefs.h
<<\_ACEOF
1838 #define __FREEBSD__ 1
1841 cat >>confdefs.h
<<\_ACEOF
1845 DEFAULT_DEFAULT_wxUSE_GTK
=1
1850 cat >>confdefs.h
<<\_ACEOF
1851 #define __OPENBSD__ 1
1854 cat >>confdefs.h
<<\_ACEOF
1858 DEFAULT_DEFAULT_wxUSE_GTK
=1
1863 cat >>confdefs.h
<<\_ACEOF
1864 #define __NETBSD__ 1
1867 cat >>confdefs.h
<<\_ACEOF
1871 DEFAULT_DEFAULT_wxUSE_GTK
=1
1872 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1874 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1879 cat >>confdefs.h
<<\_ACEOF
1883 cat >>confdefs.h
<<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1888 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1893 cat >>confdefs.h
<<\_ACEOF
1897 cat >>confdefs.h
<<\_ACEOF
1901 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1906 cat >>confdefs.h
<<\_ACEOF
1910 cat >>confdefs.h
<<\_ACEOF
1914 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1921 cat >>confdefs.h
<<\_ACEOF
1925 cat >>confdefs.h
<<\_ACEOF
1929 cat >>confdefs.h
<<\_ACEOF
1933 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1940 cat >>confdefs.h
<<\_ACEOF
1941 #define __UNIXWARE__ 1
1946 *-*-cygwin* | *-*-mingw32* )
1949 DEFAULT_DEFAULT_wxUSE_MSW
=1
1956 cat >>confdefs.h
<<\_ACEOF
1961 DEFAULT_DEFAULT_wxUSE_MGL
=1
1964 *-pc-os2_emx | *-pc-os2-emx )
1965 cat >>confdefs.h
<<\_ACEOF
1970 cat >>confdefs.h
<<\_ACEOF
1975 DEFAULT_DEFAULT_wxUSE_PM
=1
1977 LDFLAGS
="$LDFLAGS -Zcrtdll"
1978 ac_executable_extensions
=".exe"
1979 export ac_executable_extensions
1983 for ac_dir
in $PATH; do
1985 if test -z "$ac_TEMP_PATH"; then
1986 ac_TEMP_PATH
="$ac_dir"
1988 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1991 export PATH
="$ac_TEMP_PATH"
2000 cat >>confdefs.h
<<\_ACEOF
2004 cat >>confdefs.h
<<\_ACEOF
2005 #define __DARWIN__ 1
2008 cat >>confdefs.h
<<\_ACEOF
2009 #define TARGET_CARBON 1
2012 DEFAULT_DEFAULT_wxUSE_MAC
=1
2015 powerpc
-apple-macos* )
2017 ac_cv_c_bigendian
=yes
2019 DEFAULT_DEFAULT_wxUSE_MAC
=1
2025 cat >>confdefs.h
<<\_ACEOF
2032 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2033 echo "$as_me: error: unknown system type ${host}." >&2;}
2034 { (exit 1); exit 1; }; }
2040 wx_arg_cache_file
="configarg.cache"
2041 echo "loading argument cache $wx_arg_cache_file"
2042 rm -f ${wx_arg_cache_file}.tmp
2043 touch ${wx_arg_cache_file}.tmp
2044 touch ${wx_arg_cache_file}
2048 if test $DEBUG_CONFIGURE = 1; then
2049 DEFAULT_wxUSE_UNIVERSAL
=no
2050 DEFAULT_wxUSE_STL
=no
2052 DEFAULT_wxUSE_NANOX
=no
2054 DEFAULT_wxUSE_THREADS
=yes
2056 DEFAULT_wxUSE_SHARED
=yes
2057 DEFAULT_wxUSE_OPTIMISE
=no
2058 DEFAULT_wxUSE_PROFILE
=no
2059 DEFAULT_wxUSE_NO_DEPS
=no
2060 DEFAULT_wxUSE_NO_RTTI
=no
2061 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2062 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2063 DEFAULT_wxUSE_RPATH
=yes
2064 DEFAULT_wxUSE_PERMISSIVE
=no
2065 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2066 DEFAULT_wxUSE_DEBUG_INFO
=yes
2067 DEFAULT_wxUSE_DEBUG_GDB
=yes
2068 DEFAULT_wxUSE_MEM_TRACING
=no
2069 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2070 DEFAULT_wxUSE_DMALLOC
=no
2071 DEFAULT_wxUSE_APPLE_IEEE
=no
2073 DEFAULT_wxUSE_EXCEPTIONS
=no
2074 DEFAULT_wxUSE_LOG
=yes
2075 DEFAULT_wxUSE_LOGWINDOW
=no
2076 DEFAULT_wxUSE_LOGGUI
=no
2077 DEFAULT_wxUSE_LOGDIALOG
=no
2079 DEFAULT_wxUSE_GUI
=yes
2080 DEFAULT_wxUSE_CONTROLS
=no
2082 DEFAULT_wxUSE_REGEX
=no
2083 DEFAULT_wxUSE_XML
=no
2084 DEFAULT_wxUSE_EXPAT
=no
2085 DEFAULT_wxUSE_ZLIB
=no
2086 DEFAULT_wxUSE_LIBPNG
=no
2087 DEFAULT_wxUSE_LIBJPEG
=no
2088 DEFAULT_wxUSE_LIBTIFF
=no
2089 DEFAULT_wxUSE_LIBXPM
=no
2090 DEFAULT_wxUSE_LIBMSPACK
=no
2091 DEFAULT_wxUSE_LIBSDL
=no
2092 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2093 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2094 DEFAULT_wxUSE_LIBHILDON
=no
2095 DEFAULT_wxUSE_ODBC
=no
2096 DEFAULT_wxUSE_OPENGL
=no
2098 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2099 DEFAULT_wxUSE_STACKWALKER
=no
2100 DEFAULT_wxUSE_DEBUGREPORT
=no
2101 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2102 DEFAULT_wxUSE_STD_IOSTREAM
=no
2103 DEFAULT_wxUSE_STD_STRING
=no
2104 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2105 DEFAULT_wxUSE_DATETIME
=no
2106 DEFAULT_wxUSE_TIMER
=no
2107 DEFAULT_wxUSE_STOPWATCH
=no
2108 DEFAULT_wxUSE_FILE
=no
2109 DEFAULT_wxUSE_FFILE
=no
2110 DEFAULT_wxUSE_STDPATHS
=no
2111 DEFAULT_wxUSE_TEXTBUFFER
=no
2112 DEFAULT_wxUSE_TEXTFILE
=no
2113 DEFAULT_wxUSE_SOUND
=no
2114 DEFAULT_wxUSE_MEDIACTRL
=no
2115 DEFAULT_wxUSE_GSTREAMER8
=no
2116 DEFAULT_wxUSE_INTL
=no
2117 DEFAULT_wxUSE_CONFIG
=no
2118 DEFAULT_wxUSE_FONTMAP
=no
2119 DEFAULT_wxUSE_STREAMS
=no
2120 DEFAULT_wxUSE_SOCKETS
=no
2121 DEFAULT_wxUSE_OLE
=no
2122 DEFAULT_wxUSE_DATAOBJ
=no
2123 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2124 DEFAULT_wxUSE_JOYSTICK
=no
2125 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2126 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2127 DEFAULT_wxUSE_LONGLONG
=no
2128 DEFAULT_wxUSE_GEOMETRY
=no
2130 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2131 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2132 DEFAULT_wxUSE_POSTSCRIPT
=no
2134 DEFAULT_wxUSE_CLIPBOARD
=no
2135 DEFAULT_wxUSE_TOOLTIPS
=no
2136 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2137 DEFAULT_wxUSE_DRAGIMAGE
=no
2138 DEFAULT_wxUSE_SPLINES
=no
2139 DEFAULT_wxUSE_MOUSEWHEEL
=no
2141 DEFAULT_wxUSE_MDI
=no
2142 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2143 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2144 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2146 DEFAULT_wxUSE_RESOURCES
=no
2147 DEFAULT_wxUSE_CONSTRAINTS
=no
2148 DEFAULT_wxUSE_IPC
=no
2149 DEFAULT_wxUSE_HELP
=no
2150 DEFAULT_wxUSE_MS_HTML_HELP
=no
2151 DEFAULT_wxUSE_WXHTML_HELP
=no
2152 DEFAULT_wxUSE_TREELAYOUT
=no
2153 DEFAULT_wxUSE_METAFILE
=no
2154 DEFAULT_wxUSE_MIMETYPE
=no
2155 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2156 DEFAULT_wxUSE_PROTOCOL
=no
2157 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2158 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2159 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2160 DEFAULT_wxUSE_URL
=no
2162 DEFAULT_wxUSE_COMMONDLGS
=no
2163 DEFAULT_wxUSE_CHOICEDLG
=no
2164 DEFAULT_wxUSE_COLOURDLG
=no
2165 DEFAULT_wxUSE_DIRDLG
=no
2166 DEFAULT_wxUSE_FILEDLG
=no
2167 DEFAULT_wxUSE_FINDREPLDLG
=no
2168 DEFAULT_wxUSE_FONTDLG
=no
2169 DEFAULT_wxUSE_MSGDLG
=no
2170 DEFAULT_wxUSE_NUMBERDLG
=no
2171 DEFAULT_wxUSE_TEXTDLG
=no
2172 DEFAULT_wxUSE_SPLASH
=no
2173 DEFAULT_wxUSE_STARTUP_TIPS
=no
2174 DEFAULT_wxUSE_PROGRESSDLG
=no
2175 DEFAULT_wxUSE_WIZARDDLG
=no
2177 DEFAULT_wxUSE_MENUS
=no
2178 DEFAULT_wxUSE_MINIFRAME
=no
2179 DEFAULT_wxUSE_HTML
=no
2180 DEFAULT_wxUSE_RICHTEXT
=no
2181 DEFAULT_wxUSE_XRC
=no
2182 DEFAULT_wxUSE_WEBKIT
=no
2183 DEFAULT_wxUSE_FILESYSTEM
=no
2184 DEFAULT_wxUSE_FS_INET
=no
2185 DEFAULT_wxUSE_FS_ZIP
=no
2186 DEFAULT_wxUSE_BUSYINFO
=no
2187 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2188 DEFAULT_wxUSE_ZIPSTREAM
=no
2189 DEFAULT_wxUSE_VALIDATORS
=no
2191 DEFAULT_wxUSE_ACCEL
=no
2192 DEFAULT_wxUSE_BUTTON
=no
2193 DEFAULT_wxUSE_BMPBUTTON
=no
2194 DEFAULT_wxUSE_CALCTRL
=no
2195 DEFAULT_wxUSE_CARET
=no
2196 DEFAULT_wxUSE_CHECKBOX
=no
2197 DEFAULT_wxUSE_CHECKLST
=no
2198 DEFAULT_wxUSE_CHOICE
=no
2199 DEFAULT_wxUSE_CHOICEBOOK
=no
2200 DEFAULT_wxUSE_COMBOBOX
=no
2201 DEFAULT_wxUSE_COMBOCTRL
=no
2202 DEFAULT_wxUSE_DATEPICKCTRL
=no
2203 DEFAULT_wxUSE_DISPLAY
=no
2204 DEFAULT_wxUSE_GAUGE
=no
2205 DEFAULT_wxUSE_GRID
=no
2206 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2207 DEFAULT_wxUSE_IMAGLIST
=no
2208 DEFAULT_wxUSE_LISTBOOK
=no
2209 DEFAULT_wxUSE_LISTBOX
=no
2210 DEFAULT_wxUSE_LISTCTRL
=no
2211 DEFAULT_wxUSE_NOTEBOOK
=no
2212 DEFAULT_wxUSE_ODCOMBOBOX
=no
2213 DEFAULT_wxUSE_RADIOBOX
=no
2214 DEFAULT_wxUSE_RADIOBTN
=no
2215 DEFAULT_wxUSE_SASH
=no
2216 DEFAULT_wxUSE_SCROLLBAR
=no
2217 DEFAULT_wxUSE_SLIDER
=no
2218 DEFAULT_wxUSE_SPINBTN
=no
2219 DEFAULT_wxUSE_SPINCTRL
=no
2220 DEFAULT_wxUSE_SPLITTER
=no
2221 DEFAULT_wxUSE_STATBMP
=no
2222 DEFAULT_wxUSE_STATBOX
=no
2223 DEFAULT_wxUSE_STATLINE
=no
2224 DEFAULT_wxUSE_STATTEXT
=no
2225 DEFAULT_wxUSE_STATUSBAR
=yes
2226 DEFAULT_wxUSE_TAB_DIALOG
=no
2227 DEFAULT_wxUSE_TEXTCTRL
=no
2228 DEFAULT_wxUSE_TOGGLEBTN
=no
2229 DEFAULT_wxUSE_TOOLBAR
=no
2230 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2231 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2232 DEFAULT_wxUSE_TREEBOOK
=no
2233 DEFAULT_wxUSE_TOOLBOOK
=no
2234 DEFAULT_wxUSE_TREECTRL
=no
2235 DEFAULT_wxUSE_POPUPWIN
=no
2236 DEFAULT_wxUSE_TIPWINDOW
=no
2238 DEFAULT_wxUSE_UNICODE
=no
2239 DEFAULT_wxUSE_UNICODE_MSLU
=no
2240 DEFAULT_wxUSE_WCSRTOMBS
=no
2242 DEFAULT_wxUSE_PALETTE
=no
2243 DEFAULT_wxUSE_IMAGE
=no
2244 DEFAULT_wxUSE_GIF
=no
2245 DEFAULT_wxUSE_PCX
=no
2246 DEFAULT_wxUSE_PNM
=no
2247 DEFAULT_wxUSE_IFF
=no
2248 DEFAULT_wxUSE_XPM
=no
2249 DEFAULT_wxUSE_ICO_CUR
=no
2250 DEFAULT_wxUSE_ACCESSIBILITY
=no
2252 DEFAULT_wxUSE_MONOLITHIC
=no
2253 DEFAULT_wxUSE_PLUGINS
=no
2254 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2256 DEFAULT_wxUSE_UNIVERSAL
=no
2257 DEFAULT_wxUSE_STL
=no
2259 DEFAULT_wxUSE_NANOX
=no
2261 DEFAULT_wxUSE_THREADS
=yes
2263 DEFAULT_wxUSE_SHARED
=yes
2264 DEFAULT_wxUSE_OPTIMISE
=yes
2265 DEFAULT_wxUSE_PROFILE
=no
2266 DEFAULT_wxUSE_NO_DEPS
=no
2267 DEFAULT_wxUSE_NO_RTTI
=no
2268 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2269 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2270 DEFAULT_wxUSE_RPATH
=yes
2271 DEFAULT_wxUSE_PERMISSIVE
=no
2272 DEFAULT_wxUSE_DEBUG_FLAG
=no
2273 DEFAULT_wxUSE_DEBUG_INFO
=no
2274 DEFAULT_wxUSE_DEBUG_GDB
=no
2275 DEFAULT_wxUSE_MEM_TRACING
=no
2276 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2277 DEFAULT_wxUSE_DMALLOC
=no
2278 DEFAULT_wxUSE_APPLE_IEEE
=yes
2280 DEFAULT_wxUSE_EXCEPTIONS
=yes
2281 DEFAULT_wxUSE_LOG
=yes
2282 DEFAULT_wxUSE_LOGWINDOW
=yes
2283 DEFAULT_wxUSE_LOGGUI
=yes
2284 DEFAULT_wxUSE_LOGDIALOG
=yes
2286 DEFAULT_wxUSE_GUI
=yes
2288 DEFAULT_wxUSE_REGEX
=yes
2289 DEFAULT_wxUSE_XML
=yes
2290 DEFAULT_wxUSE_EXPAT
=yes
2291 DEFAULT_wxUSE_ZLIB
=yes
2292 DEFAULT_wxUSE_LIBPNG
=yes
2293 DEFAULT_wxUSE_LIBJPEG
=yes
2294 DEFAULT_wxUSE_LIBTIFF
=yes
2295 DEFAULT_wxUSE_LIBXPM
=yes
2296 DEFAULT_wxUSE_LIBMSPACK
=yes
2297 DEFAULT_wxUSE_LIBSDL
=no
2298 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2299 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2300 DEFAULT_wxUSE_LIBHILDON
=no
2301 DEFAULT_wxUSE_ODBC
=no
2302 DEFAULT_wxUSE_OPENGL
=no
2304 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2305 DEFAULT_wxUSE_STACKWALKER
=yes
2306 DEFAULT_wxUSE_DEBUGREPORT
=yes
2307 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2308 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2309 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2310 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2311 DEFAULT_wxUSE_DATETIME
=yes
2312 DEFAULT_wxUSE_TIMER
=yes
2313 DEFAULT_wxUSE_STOPWATCH
=yes
2314 DEFAULT_wxUSE_FILE
=yes
2315 DEFAULT_wxUSE_FFILE
=yes
2316 DEFAULT_wxUSE_STDPATHS
=yes
2317 DEFAULT_wxUSE_TEXTBUFFER
=yes
2318 DEFAULT_wxUSE_TEXTFILE
=yes
2319 DEFAULT_wxUSE_SOUND
=yes
2320 DEFAULT_wxUSE_MEDIACTRL
=no
2321 DEFAULT_wxUSE_GSTREAMER8
=no
2322 DEFAULT_wxUSE_INTL
=yes
2323 DEFAULT_wxUSE_CONFIG
=yes
2324 DEFAULT_wxUSE_FONTMAP
=yes
2325 DEFAULT_wxUSE_STREAMS
=yes
2326 DEFAULT_wxUSE_SOCKETS
=yes
2327 DEFAULT_wxUSE_OLE
=yes
2328 DEFAULT_wxUSE_DATAOBJ
=yes
2329 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2330 DEFAULT_wxUSE_JOYSTICK
=yes
2331 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2332 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2333 DEFAULT_wxUSE_LONGLONG
=yes
2334 DEFAULT_wxUSE_GEOMETRY
=yes
2336 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2337 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2338 DEFAULT_wxUSE_POSTSCRIPT
=yes
2340 DEFAULT_wxUSE_CLIPBOARD
=yes
2341 DEFAULT_wxUSE_TOOLTIPS
=yes
2342 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2343 DEFAULT_wxUSE_DRAGIMAGE
=yes
2344 DEFAULT_wxUSE_SPLINES
=yes
2345 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2347 DEFAULT_wxUSE_MDI
=yes
2348 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2349 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2350 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2352 DEFAULT_wxUSE_RESOURCES
=no
2353 DEFAULT_wxUSE_CONSTRAINTS
=yes
2354 DEFAULT_wxUSE_IPC
=yes
2355 DEFAULT_wxUSE_HELP
=yes
2356 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2357 DEFAULT_wxUSE_WXHTML_HELP
=yes
2358 DEFAULT_wxUSE_TREELAYOUT
=yes
2359 DEFAULT_wxUSE_METAFILE
=yes
2360 DEFAULT_wxUSE_MIMETYPE
=yes
2361 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2362 DEFAULT_wxUSE_PROTOCOL
=yes
2363 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2364 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2365 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2366 DEFAULT_wxUSE_URL
=yes
2368 DEFAULT_wxUSE_COMMONDLGS
=yes
2369 DEFAULT_wxUSE_CHOICEDLG
=yes
2370 DEFAULT_wxUSE_COLOURDLG
=yes
2371 DEFAULT_wxUSE_DIRDLG
=yes
2372 DEFAULT_wxUSE_FILEDLG
=yes
2373 DEFAULT_wxUSE_FINDREPLDLG
=yes
2374 DEFAULT_wxUSE_FONTDLG
=yes
2375 DEFAULT_wxUSE_MSGDLG
=yes
2376 DEFAULT_wxUSE_NUMBERDLG
=yes
2377 DEFAULT_wxUSE_TEXTDLG
=yes
2378 DEFAULT_wxUSE_SPLASH
=yes
2379 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2380 DEFAULT_wxUSE_PROGRESSDLG
=yes
2381 DEFAULT_wxUSE_WIZARDDLG
=yes
2383 DEFAULT_wxUSE_MENUS
=yes
2384 DEFAULT_wxUSE_MINIFRAME
=yes
2385 DEFAULT_wxUSE_HTML
=yes
2386 DEFAULT_wxUSE_RICHTEXT
=yes
2387 DEFAULT_wxUSE_XRC
=yes
2388 DEFAULT_wxUSE_WEBKIT
=yes
2389 DEFAULT_wxUSE_FILESYSTEM
=yes
2390 DEFAULT_wxUSE_FS_INET
=yes
2391 DEFAULT_wxUSE_FS_ZIP
=yes
2392 DEFAULT_wxUSE_BUSYINFO
=yes
2393 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2394 DEFAULT_wxUSE_ZIPSTREAM
=yes
2395 DEFAULT_wxUSE_VALIDATORS
=yes
2397 DEFAULT_wxUSE_ACCEL
=yes
2398 DEFAULT_wxUSE_BUTTON
=yes
2399 DEFAULT_wxUSE_BMPBUTTON
=yes
2400 DEFAULT_wxUSE_CALCTRL
=yes
2401 DEFAULT_wxUSE_CARET
=yes
2402 DEFAULT_wxUSE_CHECKBOX
=yes
2403 DEFAULT_wxUSE_CHECKLST
=yes
2404 DEFAULT_wxUSE_CHOICE
=yes
2405 DEFAULT_wxUSE_CHOICEBOOK
=yes
2406 DEFAULT_wxUSE_COMBOBOX
=yes
2407 DEFAULT_wxUSE_COMBOCTRL
=yes
2408 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2409 DEFAULT_wxUSE_DISPLAY
=yes
2410 DEFAULT_wxUSE_GAUGE
=yes
2411 DEFAULT_wxUSE_GRID
=yes
2412 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2413 DEFAULT_wxUSE_IMAGLIST
=yes
2414 DEFAULT_wxUSE_LISTBOOK
=yes
2415 DEFAULT_wxUSE_LISTBOX
=yes
2416 DEFAULT_wxUSE_LISTCTRL
=yes
2417 DEFAULT_wxUSE_NOTEBOOK
=yes
2418 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2419 DEFAULT_wxUSE_RADIOBOX
=yes
2420 DEFAULT_wxUSE_RADIOBTN
=yes
2421 DEFAULT_wxUSE_SASH
=yes
2422 DEFAULT_wxUSE_SCROLLBAR
=yes
2423 DEFAULT_wxUSE_SLIDER
=yes
2424 DEFAULT_wxUSE_SPINBTN
=yes
2425 DEFAULT_wxUSE_SPINCTRL
=yes
2426 DEFAULT_wxUSE_SPLITTER
=yes
2427 DEFAULT_wxUSE_STATBMP
=yes
2428 DEFAULT_wxUSE_STATBOX
=yes
2429 DEFAULT_wxUSE_STATLINE
=yes
2430 DEFAULT_wxUSE_STATTEXT
=yes
2431 DEFAULT_wxUSE_STATUSBAR
=yes
2432 DEFAULT_wxUSE_TAB_DIALOG
=no
2433 DEFAULT_wxUSE_TEXTCTRL
=yes
2434 DEFAULT_wxUSE_TOGGLEBTN
=yes
2435 DEFAULT_wxUSE_TOOLBAR
=yes
2436 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2437 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2438 DEFAULT_wxUSE_TREEBOOK
=yes
2439 DEFAULT_wxUSE_TOOLBOOK
=yes
2440 DEFAULT_wxUSE_TREECTRL
=yes
2441 DEFAULT_wxUSE_POPUPWIN
=yes
2442 DEFAULT_wxUSE_TIPWINDOW
=yes
2444 DEFAULT_wxUSE_UNICODE
=no
2445 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2446 DEFAULT_wxUSE_WCSRTOMBS
=no
2448 DEFAULT_wxUSE_PALETTE
=yes
2449 DEFAULT_wxUSE_IMAGE
=yes
2450 DEFAULT_wxUSE_GIF
=yes
2451 DEFAULT_wxUSE_PCX
=yes
2452 DEFAULT_wxUSE_IFF
=no
2453 DEFAULT_wxUSE_PNM
=yes
2454 DEFAULT_wxUSE_XPM
=yes
2455 DEFAULT_wxUSE_ICO_CUR
=yes
2456 DEFAULT_wxUSE_ACCESSIBILITY
=no
2458 DEFAULT_wxUSE_MONOLITHIC
=no
2459 DEFAULT_wxUSE_PLUGINS
=no
2460 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2462 DEFAULT_wxUSE_GTK2
=yes
2468 for toolkit
in `echo $ALL_TOOLKITS`; do
2469 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2470 if test "x$LINE" != "x" ; then
2471 has_toolkit_in_cache
=1
2472 eval "DEFAULT_$LINE"
2473 eval "CACHE_$toolkit=1"
2475 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2476 if test "x$LINE" != "x" ; then
2477 eval "DEFAULT_$LINE"
2485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2486 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2488 # Check whether --enable-gui or --disable-gui was given.
2489 if test "${enable_gui+set}" = set; then
2490 enableval
="$enable_gui"
2492 if test "$enableval" = yes; then
2493 ac_cv_use_gui
='wxUSE_GUI=yes'
2495 ac_cv_use_gui
='wxUSE_GUI=no'
2500 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2501 if test "x$LINE" != x
; then
2502 eval "DEFAULT_$LINE"
2507 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2511 eval "$ac_cv_use_gui"
2512 if test "$no_cache" != 1; then
2513 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2516 if test "$wxUSE_GUI" = yes; then
2517 echo "$as_me:$LINENO: result: yes" >&5
2518 echo "${ECHO_T}yes" >&6
2520 echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6
2526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2527 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2529 # Check whether --enable-monolithic or --disable-monolithic was given.
2530 if test "${enable_monolithic+set}" = set; then
2531 enableval
="$enable_monolithic"
2533 if test "$enableval" = yes; then
2534 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2536 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2541 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2542 if test "x$LINE" != x
; then
2543 eval "DEFAULT_$LINE"
2548 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2552 eval "$ac_cv_use_monolithic"
2553 if test "$no_cache" != 1; then
2554 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2557 if test "$wxUSE_MONOLITHIC" = yes; then
2558 echo "$as_me:$LINENO: result: yes" >&5
2559 echo "${ECHO_T}yes" >&6
2561 echo "$as_me:$LINENO: result: no" >&5
2562 echo "${ECHO_T}no" >&6
2567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2568 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2570 # Check whether --enable-plugins or --disable-plugins was given.
2571 if test "${enable_plugins+set}" = set; then
2572 enableval
="$enable_plugins"
2574 if test "$enableval" = yes; then
2575 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2577 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2582 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2583 if test "x$LINE" != x
; then
2584 eval "DEFAULT_$LINE"
2589 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2593 eval "$ac_cv_use_plugins"
2594 if test "$no_cache" != 1; then
2595 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2598 if test "$wxUSE_PLUGINS" = yes; then
2599 echo "$as_me:$LINENO: result: yes" >&5
2600 echo "${ECHO_T}yes" >&6
2602 echo "$as_me:$LINENO: result: no" >&5
2603 echo "${ECHO_T}no" >&6
2608 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2609 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2612 # Check whether --with-subdirs or --without-subdirs was given.
2613 if test "${with_subdirs+set}" = set; then
2614 withval
="$with_subdirs"
2616 if test "$withval" = yes; then
2617 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2619 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2624 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2625 if test "x$LINE" != x
; then
2626 eval "DEFAULT_$LINE"
2631 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2635 eval "$ac_cv_use_subdirs"
2636 if test "$no_cache" != 1; then
2637 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2640 if test "$wxWITH_SUBDIRS" = yes; then
2641 echo "$as_me:$LINENO: result: yes" >&5
2642 echo "${ECHO_T}yes" >&6
2644 echo "$as_me:$LINENO: result: no" >&5
2645 echo "${ECHO_T}no" >&6
2649 if test "$wxUSE_GUI" = "yes"; then
2653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2654 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2656 # Check whether --enable-universal or --disable-universal was given.
2657 if test "${enable_universal+set}" = set; then
2658 enableval
="$enable_universal"
2660 if test "$enableval" = yes; then
2661 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2663 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2668 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x
; then
2670 eval "DEFAULT_$LINE"
2675 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2679 eval "$ac_cv_use_universal"
2680 if test "$no_cache" != 1; then
2681 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2684 if test "$wxUSE_UNIVERSAL" = yes; then
2685 echo "$as_me:$LINENO: result: yes" >&5
2686 echo "${ECHO_T}yes" >&6
2688 echo "$as_me:$LINENO: result: no" >&5
2689 echo "${ECHO_T}no" >&6
2693 # Check whether --with-gtk or --without-gtk was given.
2694 if test "${with_gtk+set}" = set; then
2696 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
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
2794 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2795 if test "${enable_gtk2+set}" = set; then
2796 enableval
="$enable_gtk2"
2797 wxUSE_GTK2
="$enableval"
2801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2802 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2804 # Check whether --enable-gpe or --disable-gpe was given.
2805 if test "${enable_gpe+set}" = set; then
2806 enableval
="$enable_gpe"
2808 if test "$enableval" = yes; then
2809 ac_cv_use_gpe
='wxUSE_GPE=yes'
2811 ac_cv_use_gpe
='wxUSE_GPE=no'
2816 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2817 if test "x$LINE" != x
; then
2818 eval "DEFAULT_$LINE"
2823 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2827 eval "$ac_cv_use_gpe"
2828 if test "$no_cache" != 1; then
2829 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2832 if test "$wxUSE_GPE" = yes; then
2833 echo "$as_me:$LINENO: result: yes" >&5
2834 echo "${ECHO_T}yes" >&6
2836 echo "$as_me:$LINENO: result: no" >&5
2837 echo "${ECHO_T}no" >&6
2842 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2843 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2846 # Check whether --with-libpng or --without-libpng was given.
2847 if test "${with_libpng+set}" = set; then
2848 withval
="$with_libpng"
2850 if test "$withval" = yes; then
2851 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2852 elif test "$withval" = no
; then
2853 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2854 elif test "$withval" = sys
; then
2855 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2856 elif test "$withval" = builtin; then
2857 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2859 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2860 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2861 { (exit 1); exit 1; }; }
2866 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2867 if test "x$LINE" != x
; then
2868 eval "DEFAULT_$LINE"
2873 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2877 eval "$ac_cv_use_libpng"
2878 if test "$no_cache" != 1; then
2879 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2882 if test "$wxUSE_LIBPNG" = yes; then
2883 echo "$as_me:$LINENO: result: yes" >&5
2884 echo "${ECHO_T}yes" >&6
2885 elif test "$wxUSE_LIBPNG" = no
; then
2886 echo "$as_me:$LINENO: result: no" >&5
2887 echo "${ECHO_T}no" >&6
2888 elif test "$wxUSE_LIBPNG" = sys
; then
2889 echo "$as_me:$LINENO: result: system version" >&5
2890 echo "${ECHO_T}system version" >&6
2891 elif test "$wxUSE_LIBPNG" = builtin; then
2892 echo "$as_me:$LINENO: result: builtin version" >&5
2893 echo "${ECHO_T}builtin version" >&6
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2896 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2901 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2902 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2905 # Check whether --with-libjpeg or --without-libjpeg was given.
2906 if test "${with_libjpeg+set}" = set; then
2907 withval
="$with_libjpeg"
2909 if test "$withval" = yes; then
2910 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2911 elif test "$withval" = no
; then
2912 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2913 elif test "$withval" = sys
; then
2914 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2915 elif test "$withval" = builtin; then
2916 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2918 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2919 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2920 { (exit 1); exit 1; }; }
2925 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2926 if test "x$LINE" != x
; then
2927 eval "DEFAULT_$LINE"
2932 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2936 eval "$ac_cv_use_libjpeg"
2937 if test "$no_cache" != 1; then
2938 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2941 if test "$wxUSE_LIBJPEG" = yes; then
2942 echo "$as_me:$LINENO: result: yes" >&5
2943 echo "${ECHO_T}yes" >&6
2944 elif test "$wxUSE_LIBJPEG" = no
; then
2945 echo "$as_me:$LINENO: result: no" >&5
2946 echo "${ECHO_T}no" >&6
2947 elif test "$wxUSE_LIBJPEG" = sys
; then
2948 echo "$as_me:$LINENO: result: system version" >&5
2949 echo "${ECHO_T}system version" >&6
2950 elif test "$wxUSE_LIBJPEG" = builtin; then
2951 echo "$as_me:$LINENO: result: builtin version" >&5
2952 echo "${ECHO_T}builtin version" >&6
2954 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2955 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2956 { (exit 1); exit 1; }; }
2960 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2961 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2964 # Check whether --with-libtiff or --without-libtiff was given.
2965 if test "${with_libtiff+set}" = set; then
2966 withval
="$with_libtiff"
2968 if test "$withval" = yes; then
2969 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2970 elif test "$withval" = no
; then
2971 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2972 elif test "$withval" = sys
; then
2973 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2974 elif test "$withval" = builtin; then
2975 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2977 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2978 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2979 { (exit 1); exit 1; }; }
2984 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x
; then
2986 eval "DEFAULT_$LINE"
2991 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2995 eval "$ac_cv_use_libtiff"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3000 if test "$wxUSE_LIBTIFF" = yes; then
3001 echo "$as_me:$LINENO: result: yes" >&5
3002 echo "${ECHO_T}yes" >&6
3003 elif test "$wxUSE_LIBTIFF" = no
; then
3004 echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6
3006 elif test "$wxUSE_LIBTIFF" = sys
; then
3007 echo "$as_me:$LINENO: result: system version" >&5
3008 echo "${ECHO_T}system version" >&6
3009 elif test "$wxUSE_LIBTIFF" = builtin; then
3010 echo "$as_me:$LINENO: result: builtin version" >&5
3011 echo "${ECHO_T}builtin version" >&6
3013 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3014 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3015 { (exit 1); exit 1; }; }
3019 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3020 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3023 # Check whether --with-libxpm or --without-libxpm was given.
3024 if test "${with_libxpm+set}" = set; then
3025 withval
="$with_libxpm"
3027 if test "$withval" = yes; then
3028 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3029 elif test "$withval" = no
; then
3030 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3031 elif test "$withval" = sys
; then
3032 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3033 elif test "$withval" = builtin; then
3034 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3036 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3037 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3038 { (exit 1); exit 1; }; }
3043 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3044 if test "x$LINE" != x
; then
3045 eval "DEFAULT_$LINE"
3050 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3054 eval "$ac_cv_use_libxpm"
3055 if test "$no_cache" != 1; then
3056 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3059 if test "$wxUSE_LIBXPM" = yes; then
3060 echo "$as_me:$LINENO: result: yes" >&5
3061 echo "${ECHO_T}yes" >&6
3062 elif test "$wxUSE_LIBXPM" = no
; then
3063 echo "$as_me:$LINENO: result: no" >&5
3064 echo "${ECHO_T}no" >&6
3065 elif test "$wxUSE_LIBXPM" = sys
; then
3066 echo "$as_me:$LINENO: result: system version" >&5
3067 echo "${ECHO_T}system version" >&6
3068 elif test "$wxUSE_LIBXPM" = builtin; then
3069 echo "$as_me:$LINENO: result: builtin version" >&5
3070 echo "${ECHO_T}builtin version" >&6
3072 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3073 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3074 { (exit 1); exit 1; }; }
3079 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3080 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3083 # Check whether --with-libmspack or --without-libmspack was given.
3084 if test "${with_libmspack+set}" = set; then
3085 withval
="$with_libmspack"
3087 if test "$withval" = yes; then
3088 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3090 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3095 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3106 eval "$ac_cv_use_libmspack"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3111 if test "$wxUSE_LIBMSPACK" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3121 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3122 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3125 # Check whether --with-sdl or --without-sdl was given.
3126 if test "${with_sdl+set}" = set; then
3129 if test "$withval" = yes; then
3130 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3132 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3137 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x
; then
3139 eval "DEFAULT_$LINE"
3144 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3148 eval "$ac_cv_use_sdl"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3153 if test "$wxUSE_LIBSDL" = yes; then
3154 echo "$as_me:$LINENO: result: yes" >&5
3155 echo "${ECHO_T}yes" >&6
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3163 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3164 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3167 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3168 if test "${with_gnomeprint+set}" = set; then
3169 withval
="$with_gnomeprint"
3171 if test "$withval" = yes; then
3172 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3174 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3179 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3180 if test "x$LINE" != x
; then
3181 eval "DEFAULT_$LINE"
3186 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3190 eval "$ac_cv_use_gnomeprint"
3191 if test "$no_cache" != 1; then
3192 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3195 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3196 echo "$as_me:$LINENO: result: yes" >&5
3197 echo "${ECHO_T}yes" >&6
3199 echo "$as_me:$LINENO: result: no" >&5
3200 echo "${ECHO_T}no" >&6
3205 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3206 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3209 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3210 if test "${with_gnomevfs+set}" = set; then
3211 withval
="$with_gnomevfs"
3213 if test "$withval" = yes; then
3214 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3216 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3221 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3222 if test "x$LINE" != x
; then
3223 eval "DEFAULT_$LINE"
3228 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3232 eval "$ac_cv_use_gnomevfs"
3233 if test "$no_cache" != 1; then
3234 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3237 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3238 echo "$as_me:$LINENO: result: yes" >&5
3239 echo "${ECHO_T}yes" >&6
3241 echo "$as_me:$LINENO: result: no" >&5
3242 echo "${ECHO_T}no" >&6
3247 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3248 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3251 # Check whether --with-hildon or --without-hildon was given.
3252 if test "${with_hildon+set}" = set; then
3253 withval
="$with_hildon"
3255 if test "$withval" = yes; then
3256 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3258 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3263 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3264 if test "x$LINE" != x
; then
3265 eval "DEFAULT_$LINE"
3270 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3274 eval "$ac_cv_use_hildon"
3275 if test "$no_cache" != 1; then
3276 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3279 if test "$wxUSE_LIBHILDON" = yes; then
3280 echo "$as_me:$LINENO: result: yes" >&5
3281 echo "${ECHO_T}yes" >&6
3283 echo "$as_me:$LINENO: result: no" >&5
3284 echo "${ECHO_T}no" >&6
3289 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3290 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3293 # Check whether --with-opengl or --without-opengl was given.
3294 if test "${with_opengl+set}" = set; then
3295 withval
="$with_opengl"
3297 if test "$withval" = yes; then
3298 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3300 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3305 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x
; then
3307 eval "DEFAULT_$LINE"
3312 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3316 eval "$ac_cv_use_opengl"
3317 if test "$no_cache" != 1; then
3318 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3321 if test "$wxUSE_OPENGL" = yes; then
3322 echo "$as_me:$LINENO: result: yes" >&5
3323 echo "${ECHO_T}yes" >&6
3325 echo "$as_me:$LINENO: result: no" >&5
3326 echo "${ECHO_T}no" >&6
3334 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3335 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3338 # Check whether --with-dmalloc or --without-dmalloc was given.
3339 if test "${with_dmalloc+set}" = set; then
3340 withval
="$with_dmalloc"
3342 if test "$withval" = yes; then
3343 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3345 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3350 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x
; then
3352 eval "DEFAULT_$LINE"
3357 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3361 eval "$ac_cv_use_dmalloc"
3362 if test "$no_cache" != 1; then
3363 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3366 if test "$wxUSE_DMALLOC" = yes; then
3367 echo "$as_me:$LINENO: result: yes" >&5
3368 echo "${ECHO_T}yes" >&6
3370 echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6
3375 echo "$as_me:$LINENO: checking for --with-regex" >&5
3376 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3379 # Check whether --with-regex or --without-regex was given.
3380 if test "${with_regex+set}" = set; then
3381 withval
="$with_regex"
3383 if test "$withval" = yes; then
3384 ac_cv_use_regex
='wxUSE_REGEX=yes'
3385 elif test "$withval" = no
; then
3386 ac_cv_use_regex
='wxUSE_REGEX=no'
3387 elif test "$withval" = sys
; then
3388 ac_cv_use_regex
='wxUSE_REGEX=sys'
3389 elif test "$withval" = builtin; then
3390 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3392 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3393 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3394 { (exit 1); exit 1; }; }
3399 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x
; then
3401 eval "DEFAULT_$LINE"
3406 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3410 eval "$ac_cv_use_regex"
3411 if test "$no_cache" != 1; then
3412 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3415 if test "$wxUSE_REGEX" = yes; then
3416 echo "$as_me:$LINENO: result: yes" >&5
3417 echo "${ECHO_T}yes" >&6
3418 elif test "$wxUSE_REGEX" = no
; then
3419 echo "$as_me:$LINENO: result: no" >&5
3420 echo "${ECHO_T}no" >&6
3421 elif test "$wxUSE_REGEX" = sys
; then
3422 echo "$as_me:$LINENO: result: system version" >&5
3423 echo "${ECHO_T}system version" >&6
3424 elif test "$wxUSE_REGEX" = builtin; then
3425 echo "$as_me:$LINENO: result: builtin version" >&5
3426 echo "${ECHO_T}builtin version" >&6
3428 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3429 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3430 { (exit 1); exit 1; }; }
3434 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3435 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3438 # Check whether --with-zlib or --without-zlib was given.
3439 if test "${with_zlib+set}" = set; then
3440 withval
="$with_zlib"
3442 if test "$withval" = yes; then
3443 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3444 elif test "$withval" = no
; then
3445 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3446 elif test "$withval" = sys
; then
3447 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3448 elif test "$withval" = builtin; then
3449 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3451 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3452 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3453 { (exit 1); exit 1; }; }
3458 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3459 if test "x$LINE" != x
; then
3460 eval "DEFAULT_$LINE"
3465 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3469 eval "$ac_cv_use_zlib"
3470 if test "$no_cache" != 1; then
3471 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3474 if test "$wxUSE_ZLIB" = yes; then
3475 echo "$as_me:$LINENO: result: yes" >&5
3476 echo "${ECHO_T}yes" >&6
3477 elif test "$wxUSE_ZLIB" = no
; then
3478 echo "$as_me:$LINENO: result: no" >&5
3479 echo "${ECHO_T}no" >&6
3480 elif test "$wxUSE_ZLIB" = sys
; then
3481 echo "$as_me:$LINENO: result: system version" >&5
3482 echo "${ECHO_T}system version" >&6
3483 elif test "$wxUSE_ZLIB" = builtin; then
3484 echo "$as_me:$LINENO: result: builtin version" >&5
3485 echo "${ECHO_T}builtin version" >&6
3487 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3488 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3489 { (exit 1); exit 1; }; }
3493 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3494 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3497 # Check whether --with-odbc or --without-odbc was given.
3498 if test "${with_odbc+set}" = set; then
3499 withval
="$with_odbc"
3501 if test "$withval" = yes; then
3502 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3503 elif test "$withval" = no
; then
3504 ac_cv_use_odbc
='wxUSE_ODBC=no'
3505 elif test "$withval" = sys
; then
3506 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3507 elif test "$withval" = builtin; then
3508 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3510 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3511 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3512 { (exit 1); exit 1; }; }
3517 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3518 if test "x$LINE" != x
; then
3519 eval "DEFAULT_$LINE"
3524 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3528 eval "$ac_cv_use_odbc"
3529 if test "$no_cache" != 1; then
3530 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3533 if test "$wxUSE_ODBC" = yes; then
3534 echo "$as_me:$LINENO: result: yes" >&5
3535 echo "${ECHO_T}yes" >&6
3536 elif test "$wxUSE_ODBC" = no
; then
3537 echo "$as_me:$LINENO: result: no" >&5
3538 echo "${ECHO_T}no" >&6
3539 elif test "$wxUSE_ODBC" = sys
; then
3540 echo "$as_me:$LINENO: result: system version" >&5
3541 echo "${ECHO_T}system version" >&6
3542 elif test "$wxUSE_ODBC" = builtin; then
3543 echo "$as_me:$LINENO: result: builtin version" >&5
3544 echo "${ECHO_T}builtin version" >&6
3546 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3547 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3548 { (exit 1); exit 1; }; }
3552 echo "$as_me:$LINENO: checking for --with-expat" >&5
3553 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3556 # Check whether --with-expat or --without-expat was given.
3557 if test "${with_expat+set}" = set; then
3558 withval
="$with_expat"
3560 if test "$withval" = yes; then
3561 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3562 elif test "$withval" = no
; then
3563 ac_cv_use_expat
='wxUSE_EXPAT=no'
3564 elif test "$withval" = sys
; then
3565 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3566 elif test "$withval" = builtin; then
3567 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3569 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3570 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3571 { (exit 1); exit 1; }; }
3576 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3577 if test "x$LINE" != x
; then
3578 eval "DEFAULT_$LINE"
3583 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3587 eval "$ac_cv_use_expat"
3588 if test "$no_cache" != 1; then
3589 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3592 if test "$wxUSE_EXPAT" = yes; then
3593 echo "$as_me:$LINENO: result: yes" >&5
3594 echo "${ECHO_T}yes" >&6
3595 elif test "$wxUSE_EXPAT" = no
; then
3596 echo "$as_me:$LINENO: result: no" >&5
3597 echo "${ECHO_T}no" >&6
3598 elif test "$wxUSE_EXPAT" = sys
; then
3599 echo "$as_me:$LINENO: result: system version" >&5
3600 echo "${ECHO_T}system version" >&6
3601 elif test "$wxUSE_EXPAT" = builtin; then
3602 echo "$as_me:$LINENO: result: builtin version" >&5
3603 echo "${ECHO_T}builtin version" >&6
3605 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3606 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3607 { (exit 1); exit 1; }; }
3614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3615 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3617 # Check whether --enable-shared or --disable-shared was given.
3618 if test "${enable_shared+set}" = set; then
3619 enableval
="$enable_shared"
3621 if test "$enableval" = yes; then
3622 ac_cv_use_shared
='wxUSE_SHARED=yes'
3624 ac_cv_use_shared
='wxUSE_SHARED=no'
3629 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3630 if test "x$LINE" != x
; then
3631 eval "DEFAULT_$LINE"
3636 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3640 eval "$ac_cv_use_shared"
3641 if test "$no_cache" != 1; then
3642 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3645 if test "$wxUSE_SHARED" = yes; then
3646 echo "$as_me:$LINENO: result: yes" >&5
3647 echo "${ECHO_T}yes" >&6
3649 echo "$as_me:$LINENO: result: no" >&5
3650 echo "${ECHO_T}no" >&6
3655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3656 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3658 # Check whether --enable-optimise or --disable-optimise was given.
3659 if test "${enable_optimise+set}" = set; then
3660 enableval
="$enable_optimise"
3662 if test "$enableval" = yes; then
3663 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3665 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3670 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3671 if test "x$LINE" != x
; then
3672 eval "DEFAULT_$LINE"
3677 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3681 eval "$ac_cv_use_optimise"
3682 if test "$no_cache" != 1; then
3683 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3686 if test "$wxUSE_OPTIMISE" = yes; then
3687 echo "$as_me:$LINENO: result: yes" >&5
3688 echo "${ECHO_T}yes" >&6
3690 echo "$as_me:$LINENO: result: no" >&5
3691 echo "${ECHO_T}no" >&6
3696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3697 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3699 # Check whether --enable-debug or --disable-debug was given.
3700 if test "${enable_debug+set}" = set; then
3701 enableval
="$enable_debug"
3703 if test "$enableval" = yes; then
3704 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3706 ac_cv_use_debug
='wxUSE_DEBUG=no'
3711 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3712 if test "x$LINE" != x
; then
3713 eval "DEFAULT_$LINE"
3718 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3722 eval "$ac_cv_use_debug"
3723 if test "$no_cache" != 1; then
3724 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3727 if test "$wxUSE_DEBUG" = yes; then
3728 echo "$as_me:$LINENO: result: yes" >&5
3729 echo "${ECHO_T}yes" >&6
3731 echo "$as_me:$LINENO: result: no" >&5
3732 echo "${ECHO_T}no" >&6
3737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3738 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3740 # Check whether --enable-stl or --disable-stl was given.
3741 if test "${enable_stl+set}" = set; then
3742 enableval
="$enable_stl"
3744 if test "$enableval" = yes; then
3745 ac_cv_use_stl
='wxUSE_STL=yes'
3747 ac_cv_use_stl
='wxUSE_STL=no'
3752 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3753 if test "x$LINE" != x
; then
3754 eval "DEFAULT_$LINE"
3759 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3763 eval "$ac_cv_use_stl"
3764 if test "$no_cache" != 1; then
3765 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3768 if test "$wxUSE_STL" = yes; then
3769 echo "$as_me:$LINENO: result: yes" >&5
3770 echo "${ECHO_T}yes" >&6
3772 echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6
3776 if test "$USE_OS2" = "1"; then
3777 DEFAULT_wxUSE_OMF
=no
3780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3781 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3783 # Check whether --enable-omf or --disable-omf was given.
3784 if test "${enable_omf+set}" = set; then
3785 enableval
="$enable_omf"
3787 if test "$enableval" = yes; then
3788 ac_cv_use_omf
='wxUSE_OMF=yes'
3790 ac_cv_use_omf
='wxUSE_OMF=no'
3795 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x
; then
3797 eval "DEFAULT_$LINE"
3802 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3806 eval "$ac_cv_use_omf"
3807 if test "$no_cache" != 1; then
3808 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3811 if test "$wxUSE_OMF" = 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 if test "$wxUSE_DEBUG" = "yes"; then
3822 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3823 DEFAULT_wxUSE_DEBUG_INFO
=yes
3825 elif test "$wxUSE_DEBUG" = "no"; then
3826 DEFAULT_wxUSE_DEBUG_FLAG
=no
3827 DEFAULT_wxUSE_DEBUG_INFO
=no
3833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3834 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3836 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3837 if test "${enable_debug_flag+set}" = set; then
3838 enableval
="$enable_debug_flag"
3840 if test "$enableval" = yes; then
3841 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3843 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3848 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3849 if test "x$LINE" != x
; then
3850 eval "DEFAULT_$LINE"
3855 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3859 eval "$ac_cv_use_debug_flag"
3860 if test "$no_cache" != 1; then
3861 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3864 if test "$wxUSE_DEBUG_FLAG" = yes; then
3865 echo "$as_me:$LINENO: result: yes" >&5
3866 echo "${ECHO_T}yes" >&6
3868 echo "$as_me:$LINENO: result: no" >&5
3869 echo "${ECHO_T}no" >&6
3874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3875 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3877 # Check whether --enable-debug_info or --disable-debug_info was given.
3878 if test "${enable_debug_info+set}" = set; then
3879 enableval
="$enable_debug_info"
3881 if test "$enableval" = yes; then
3882 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3884 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3889 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x
; then
3891 eval "DEFAULT_$LINE"
3896 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3900 eval "$ac_cv_use_debug_info"
3901 if test "$no_cache" != 1; then
3902 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3905 if test "$wxUSE_DEBUG_INFO" = yes; then
3906 echo "$as_me:$LINENO: result: yes" >&5
3907 echo "${ECHO_T}yes" >&6
3909 echo "$as_me:$LINENO: result: no" >&5
3910 echo "${ECHO_T}no" >&6
3915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3916 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3918 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3919 if test "${enable_debug_gdb+set}" = set; then
3920 enableval
="$enable_debug_gdb"
3922 if test "$enableval" = yes; then
3923 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3925 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3930 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3931 if test "x$LINE" != x
; then
3932 eval "DEFAULT_$LINE"
3937 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3941 eval "$ac_cv_use_debug_gdb"
3942 if test "$no_cache" != 1; then
3943 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3946 if test "$wxUSE_DEBUG_GDB" = yes; then
3947 echo "$as_me:$LINENO: result: yes" >&5
3948 echo "${ECHO_T}yes" >&6
3950 echo "$as_me:$LINENO: result: no" >&5
3951 echo "${ECHO_T}no" >&6
3956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3957 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3959 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3960 if test "${enable_debug_cntxt+set}" = set; then
3961 enableval
="$enable_debug_cntxt"
3963 if test "$enableval" = yes; then
3964 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3966 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3971 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x
; then
3973 eval "DEFAULT_$LINE"
3978 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3982 eval "$ac_cv_use_debug_cntxt"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3987 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3988 echo "$as_me:$LINENO: result: yes" >&5
3989 echo "${ECHO_T}yes" >&6
3991 echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6
3997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3998 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4000 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4001 if test "${enable_mem_tracing+set}" = set; then
4002 enableval
="$enable_mem_tracing"
4004 if test "$enableval" = yes; then
4005 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4007 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4012 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4013 if test "x$LINE" != x
; then
4014 eval "DEFAULT_$LINE"
4019 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4023 eval "$ac_cv_use_mem_tracing"
4024 if test "$no_cache" != 1; then
4025 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4028 if test "$wxUSE_MEM_TRACING" = yes; then
4029 echo "$as_me:$LINENO: result: yes" >&5
4030 echo "${ECHO_T}yes" >&6
4032 echo "$as_me:$LINENO: result: no" >&5
4033 echo "${ECHO_T}no" >&6
4038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4039 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4041 # Check whether --enable-profile or --disable-profile was given.
4042 if test "${enable_profile+set}" = set; then
4043 enableval
="$enable_profile"
4045 if test "$enableval" = yes; then
4046 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4048 ac_cv_use_profile
='wxUSE_PROFILE=no'
4053 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4054 if test "x$LINE" != x
; then
4055 eval "DEFAULT_$LINE"
4060 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4064 eval "$ac_cv_use_profile"
4065 if test "$no_cache" != 1; then
4066 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4069 if test "$wxUSE_PROFILE" = yes; then
4070 echo "$as_me:$LINENO: result: yes" >&5
4071 echo "${ECHO_T}yes" >&6
4073 echo "$as_me:$LINENO: result: no" >&5
4074 echo "${ECHO_T}no" >&6
4079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4080 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4082 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4083 if test "${enable_no_rtti+set}" = set; then
4084 enableval
="$enable_no_rtti"
4086 if test "$enableval" = yes; then
4087 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4089 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4094 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4095 if test "x$LINE" != x
; then
4096 eval "DEFAULT_$LINE"
4101 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4105 eval "$ac_cv_use_no_rtti"
4106 if test "$no_cache" != 1; then
4107 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4110 if test "$wxUSE_NO_RTTI" = yes; then
4111 echo "$as_me:$LINENO: result: yes" >&5
4112 echo "${ECHO_T}yes" >&6
4114 echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6
4120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4121 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4123 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4124 if test "${enable_no_exceptions+set}" = set; then
4125 enableval
="$enable_no_exceptions"
4127 if test "$enableval" = yes; then
4128 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4130 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4135 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4136 if test "x$LINE" != x
; then
4137 eval "DEFAULT_$LINE"
4142 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4146 eval "$ac_cv_use_no_exceptions"
4147 if test "$no_cache" != 1; then
4148 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4151 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4152 echo "$as_me:$LINENO: result: yes" >&5
4153 echo "${ECHO_T}yes" >&6
4155 echo "$as_me:$LINENO: result: no" >&5
4156 echo "${ECHO_T}no" >&6
4161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4162 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4164 # Check whether --enable-permissive or --disable-permissive was given.
4165 if test "${enable_permissive+set}" = set; then
4166 enableval
="$enable_permissive"
4168 if test "$enableval" = yes; then
4169 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4171 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4176 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4177 if test "x$LINE" != x
; then
4178 eval "DEFAULT_$LINE"
4183 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4187 eval "$ac_cv_use_permissive"
4188 if test "$no_cache" != 1; then
4189 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4192 if test "$wxUSE_PERMISSIVE" = yes; then
4193 echo "$as_me:$LINENO: result: yes" >&5
4194 echo "${ECHO_T}yes" >&6
4196 echo "$as_me:$LINENO: result: no" >&5
4197 echo "${ECHO_T}no" >&6
4202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4203 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4205 # Check whether --enable-no_deps or --disable-no_deps was given.
4206 if test "${enable_no_deps+set}" = set; then
4207 enableval
="$enable_no_deps"
4209 if test "$enableval" = yes; then
4210 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4212 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4217 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4218 if test "x$LINE" != x
; then
4219 eval "DEFAULT_$LINE"
4224 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4228 eval "$ac_cv_use_no_deps"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4233 if test "$wxUSE_NO_DEPS" = yes; then
4234 echo "$as_me:$LINENO: result: yes" >&5
4235 echo "${ECHO_T}yes" >&6
4237 echo "$as_me:$LINENO: result: no" >&5
4238 echo "${ECHO_T}no" >&6
4243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4244 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4246 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4247 if test "${enable_universal_binary+set}" = set; then
4248 enableval
="$enable_universal_binary"
4250 if test "$enableval" = yes; then
4251 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=yes'
4253 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=no'
4258 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x
; then
4260 eval "DEFAULT_$LINE"
4265 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4269 eval "$ac_cv_use_universal_binary"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4275 echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6
4278 echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4286 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4288 # Check whether --enable-compat24 or --disable-compat24 was given.
4289 if test "${enable_compat24+set}" = set; then
4290 enableval
="$enable_compat24"
4292 if test "$enableval" = yes; then
4293 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4295 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4300 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x
; then
4302 eval "DEFAULT_$LINE"
4307 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4311 eval "$ac_cv_use_compat24"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4316 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4317 echo "$as_me:$LINENO: result: yes" >&5
4318 echo "${ECHO_T}yes" >&6
4320 echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6
4325 enablestring
=disable
4326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4327 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4329 # Check whether --enable-compat26 or --disable-compat26 was given.
4330 if test "${enable_compat26+set}" = set; then
4331 enableval
="$enable_compat26"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4336 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4341 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x
; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4352 eval "$ac_cv_use_compat26"
4353 if test "$no_cache" != 1; then
4354 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4357 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4358 echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6
4361 echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6
4368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4369 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4371 # Check whether --enable-rpath or --disable-rpath was given.
4372 if test "${enable_rpath+set}" = set; then
4373 enableval
="$enable_rpath"
4375 if test "$enableval" = yes; then
4376 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4378 ac_cv_use_rpath
='wxUSE_RPATH=no'
4383 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4384 if test "x$LINE" != x
; then
4385 eval "DEFAULT_$LINE"
4390 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4394 eval "$ac_cv_use_rpath"
4395 if test "$no_cache" != 1; then
4396 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4399 if test "$wxUSE_RPATH" = yes; then
4400 echo "$as_me:$LINENO: result: yes" >&5
4401 echo "${ECHO_T}yes" >&6
4403 echo "$as_me:$LINENO: result: no" >&5
4404 echo "${ECHO_T}no" >&6
4412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4415 # Check whether --enable-intl or --disable-intl was given.
4416 if test "${enable_intl+set}" = set; then
4417 enableval
="$enable_intl"
4419 if test "$enableval" = yes; then
4420 ac_cv_use_intl
='wxUSE_INTL=yes'
4422 ac_cv_use_intl
='wxUSE_INTL=no'
4427 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x
; then
4429 eval "DEFAULT_$LINE"
4434 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4438 eval "$ac_cv_use_intl"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4443 if test "$wxUSE_INTL" = yes; then
4444 echo "$as_me:$LINENO: result: yes" >&5
4445 echo "${ECHO_T}yes" >&6
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4454 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4456 # Check whether --enable-config or --disable-config was given.
4457 if test "${enable_config+set}" = set; then
4458 enableval
="$enable_config"
4460 if test "$enableval" = yes; then
4461 ac_cv_use_config
='wxUSE_CONFIG=yes'
4463 ac_cv_use_config
='wxUSE_CONFIG=no'
4468 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x
; then
4470 eval "DEFAULT_$LINE"
4475 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4479 eval "$ac_cv_use_config"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4484 if test "$wxUSE_CONFIG" = yes; then
4485 echo "$as_me:$LINENO: result: yes" >&5
4486 echo "${ECHO_T}yes" >&6
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4496 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4498 # Check whether --enable-protocols or --disable-protocols was given.
4499 if test "${enable_protocols+set}" = set; then
4500 enableval
="$enable_protocols"
4502 if test "$enableval" = yes; then
4503 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4505 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4510 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x
; then
4512 eval "DEFAULT_$LINE"
4517 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4521 eval "$ac_cv_use_protocols"
4522 if test "$no_cache" != 1; then
4523 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4526 if test "$wxUSE_PROTOCOL" = yes; then
4527 echo "$as_me:$LINENO: result: yes" >&5
4528 echo "${ECHO_T}yes" >&6
4530 echo "$as_me:$LINENO: result: no" >&5
4531 echo "${ECHO_T}no" >&6
4536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4537 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4539 # Check whether --enable-ftp or --disable-ftp was given.
4540 if test "${enable_ftp+set}" = set; then
4541 enableval
="$enable_ftp"
4543 if test "$enableval" = yes; then
4544 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4546 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4551 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x
; then
4553 eval "DEFAULT_$LINE"
4558 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4562 eval "$ac_cv_use_ftp"
4563 if test "$no_cache" != 1; then
4564 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4567 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4568 echo "$as_me:$LINENO: result: yes" >&5
4569 echo "${ECHO_T}yes" >&6
4571 echo "$as_me:$LINENO: result: no" >&5
4572 echo "${ECHO_T}no" >&6
4577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4580 # Check whether --enable-http or --disable-http was given.
4581 if test "${enable_http+set}" = set; then
4582 enableval
="$enable_http"
4584 if test "$enableval" = yes; then
4585 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4587 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4592 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x
; then
4594 eval "DEFAULT_$LINE"
4599 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4603 eval "$ac_cv_use_http"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4608 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4609 echo "$as_me:$LINENO: result: yes" >&5
4610 echo "${ECHO_T}yes" >&6
4612 echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6
4618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4621 # Check whether --enable-fileproto or --disable-fileproto was given.
4622 if test "${enable_fileproto+set}" = set; then
4623 enableval
="$enable_fileproto"
4625 if test "$enableval" = yes; then
4626 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4628 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4633 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4634 if test "x$LINE" != x
; then
4635 eval "DEFAULT_$LINE"
4640 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4644 eval "$ac_cv_use_fileproto"
4645 if test "$no_cache" != 1; then
4646 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4649 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4650 echo "$as_me:$LINENO: result: yes" >&5
4651 echo "${ECHO_T}yes" >&6
4653 echo "$as_me:$LINENO: result: no" >&5
4654 echo "${ECHO_T}no" >&6
4659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4660 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4662 # Check whether --enable-sockets or --disable-sockets was given.
4663 if test "${enable_sockets+set}" = set; then
4664 enableval
="$enable_sockets"
4666 if test "$enableval" = yes; then
4667 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4669 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4674 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4675 if test "x$LINE" != x
; then
4676 eval "DEFAULT_$LINE"
4681 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4685 eval "$ac_cv_use_sockets"
4686 if test "$no_cache" != 1; then
4687 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4690 if test "$wxUSE_SOCKETS" = yes; then
4691 echo "$as_me:$LINENO: result: yes" >&5
4692 echo "${ECHO_T}yes" >&6
4694 echo "$as_me:$LINENO: result: no" >&5
4695 echo "${ECHO_T}no" >&6
4700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4703 # Check whether --enable-ole or --disable-ole was given.
4704 if test "${enable_ole+set}" = set; then
4705 enableval
="$enable_ole"
4707 if test "$enableval" = yes; then
4708 ac_cv_use_ole
='wxUSE_OLE=yes'
4710 ac_cv_use_ole
='wxUSE_OLE=no'
4715 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4716 if test "x$LINE" != x
; then
4717 eval "DEFAULT_$LINE"
4722 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4726 eval "$ac_cv_use_ole"
4727 if test "$no_cache" != 1; then
4728 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4731 if test "$wxUSE_OLE" = yes; then
4732 echo "$as_me:$LINENO: result: yes" >&5
4733 echo "${ECHO_T}yes" >&6
4735 echo "$as_me:$LINENO: result: no" >&5
4736 echo "${ECHO_T}no" >&6
4741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4742 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4744 # Check whether --enable-dataobj or --disable-dataobj was given.
4745 if test "${enable_dataobj+set}" = set; then
4746 enableval
="$enable_dataobj"
4748 if test "$enableval" = yes; then
4749 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4751 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4756 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4757 if test "x$LINE" != x
; then
4758 eval "DEFAULT_$LINE"
4763 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4767 eval "$ac_cv_use_dataobj"
4768 if test "$no_cache" != 1; then
4769 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4772 if test "$wxUSE_DATAOBJ" = yes; then
4773 echo "$as_me:$LINENO: result: yes" >&5
4774 echo "${ECHO_T}yes" >&6
4776 echo "$as_me:$LINENO: result: no" >&5
4777 echo "${ECHO_T}no" >&6
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4786 # Check whether --enable-ipc or --disable-ipc was given.
4787 if test "${enable_ipc+set}" = set; then
4788 enableval
="$enable_ipc"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_ipc
='wxUSE_IPC=yes'
4793 ac_cv_use_ipc
='wxUSE_IPC=no'
4798 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x
; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4809 eval "$ac_cv_use_ipc"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4814 if test "$wxUSE_IPC" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4826 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4828 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4829 if test "${enable_apple_ieee+set}" = set; then
4830 enableval
="$enable_apple_ieee"
4832 if test "$enableval" = yes; then
4833 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4835 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4840 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4841 if test "x$LINE" != x
; then
4842 eval "DEFAULT_$LINE"
4847 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4851 eval "$ac_cv_use_apple_ieee"
4852 if test "$no_cache" != 1; then
4853 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4856 if test "$wxUSE_APPLE_IEEE" = yes; then
4857 echo "$as_me:$LINENO: result: yes" >&5
4858 echo "${ECHO_T}yes" >&6
4860 echo "$as_me:$LINENO: result: no" >&5
4861 echo "${ECHO_T}no" >&6
4866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4867 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4869 # Check whether --enable-arcstream or --disable-arcstream was given.
4870 if test "${enable_arcstream+set}" = set; then
4871 enableval
="$enable_arcstream"
4873 if test "$enableval" = yes; then
4874 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4876 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4881 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x
; then
4883 eval "DEFAULT_$LINE"
4888 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4892 eval "$ac_cv_use_arcstream"
4893 if test "$no_cache" != 1; then
4894 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4897 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4898 echo "$as_me:$LINENO: result: yes" >&5
4899 echo "${ECHO_T}yes" >&6
4901 echo "$as_me:$LINENO: result: no" >&5
4902 echo "${ECHO_T}no" >&6
4907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4908 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4910 # Check whether --enable-backtrace or --disable-backtrace was given.
4911 if test "${enable_backtrace+set}" = set; then
4912 enableval
="$enable_backtrace"
4914 if test "$enableval" = yes; then
4915 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4917 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4922 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4923 if test "x$LINE" != x
; then
4924 eval "DEFAULT_$LINE"
4929 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4933 eval "$ac_cv_use_backtrace"
4934 if test "$no_cache" != 1; then
4935 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4938 if test "$wxUSE_STACKWALKER" = yes; then
4939 echo "$as_me:$LINENO: result: yes" >&5
4940 echo "${ECHO_T}yes" >&6
4942 echo "$as_me:$LINENO: result: no" >&5
4943 echo "${ECHO_T}no" >&6
4948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4951 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4952 if test "${enable_catch_segvs+set}" = set; then
4953 enableval
="$enable_catch_segvs"
4955 if test "$enableval" = yes; then
4956 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4958 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4963 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x
; then
4965 eval "DEFAULT_$LINE"
4970 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4974 eval "$ac_cv_use_catch_segvs"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4979 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4980 echo "$as_me:$LINENO: result: yes" >&5
4981 echo "${ECHO_T}yes" >&6
4983 echo "$as_me:$LINENO: result: no" >&5
4984 echo "${ECHO_T}no" >&6
4989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4990 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4992 # Check whether --enable-cmdline or --disable-cmdline was given.
4993 if test "${enable_cmdline+set}" = set; then
4994 enableval
="$enable_cmdline"
4996 if test "$enableval" = yes; then
4997 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4999 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5004 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5005 if test "x$LINE" != x
; then
5006 eval "DEFAULT_$LINE"
5011 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5015 eval "$ac_cv_use_cmdline"
5016 if test "$no_cache" != 1; then
5017 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5020 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5021 echo "$as_me:$LINENO: result: yes" >&5
5022 echo "${ECHO_T}yes" >&6
5024 echo "$as_me:$LINENO: result: no" >&5
5025 echo "${ECHO_T}no" >&6
5030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5031 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5033 # Check whether --enable-datetime or --disable-datetime was given.
5034 if test "${enable_datetime+set}" = set; then
5035 enableval
="$enable_datetime"
5037 if test "$enableval" = yes; then
5038 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5040 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5045 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5046 if test "x$LINE" != x
; then
5047 eval "DEFAULT_$LINE"
5052 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5056 eval "$ac_cv_use_datetime"
5057 if test "$no_cache" != 1; then
5058 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5061 if test "$wxUSE_DATETIME" = yes; then
5062 echo "$as_me:$LINENO: result: yes" >&5
5063 echo "${ECHO_T}yes" >&6
5065 echo "$as_me:$LINENO: result: no" >&5
5066 echo "${ECHO_T}no" >&6
5071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5072 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5074 # Check whether --enable-debugreport or --disable-debugreport was given.
5075 if test "${enable_debugreport+set}" = set; then
5076 enableval
="$enable_debugreport"
5078 if test "$enableval" = yes; then
5079 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5081 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5086 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5087 if test "x$LINE" != x
; then
5088 eval "DEFAULT_$LINE"
5093 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5097 eval "$ac_cv_use_debugreport"
5098 if test "$no_cache" != 1; then
5099 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5102 if test "$wxUSE_DEBUGREPORT" = yes; then
5103 echo "$as_me:$LINENO: result: yes" >&5
5104 echo "${ECHO_T}yes" >&6
5106 echo "$as_me:$LINENO: result: no" >&5
5107 echo "${ECHO_T}no" >&6
5112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5113 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5115 # Check whether --enable-dialupman or --disable-dialupman was given.
5116 if test "${enable_dialupman+set}" = set; then
5117 enableval
="$enable_dialupman"
5119 if test "$enableval" = yes; then
5120 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5122 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5127 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5128 if test "x$LINE" != x
; then
5129 eval "DEFAULT_$LINE"
5134 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5138 eval "$ac_cv_use_dialupman"
5139 if test "$no_cache" != 1; then
5140 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5143 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5144 echo "$as_me:$LINENO: result: yes" >&5
5145 echo "${ECHO_T}yes" >&6
5147 echo "$as_me:$LINENO: result: no" >&5
5148 echo "${ECHO_T}no" >&6
5153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5154 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5156 # Check whether --enable-dynlib or --disable-dynlib was given.
5157 if test "${enable_dynlib+set}" = set; then
5158 enableval
="$enable_dynlib"
5160 if test "$enableval" = yes; then
5161 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5163 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5168 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5169 if test "x$LINE" != x
; then
5170 eval "DEFAULT_$LINE"
5175 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5179 eval "$ac_cv_use_dynlib"
5180 if test "$no_cache" != 1; then
5181 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5184 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5185 echo "$as_me:$LINENO: result: yes" >&5
5186 echo "${ECHO_T}yes" >&6
5188 echo "$as_me:$LINENO: result: no" >&5
5189 echo "${ECHO_T}no" >&6
5194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5195 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5197 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5198 if test "${enable_dynamicloader+set}" = set; then
5199 enableval
="$enable_dynamicloader"
5201 if test "$enableval" = yes; then
5202 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5204 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5209 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x
; then
5211 eval "DEFAULT_$LINE"
5216 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5220 eval "$ac_cv_use_dynamicloader"
5221 if test "$no_cache" != 1; then
5222 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5225 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5226 echo "$as_me:$LINENO: result: yes" >&5
5227 echo "${ECHO_T}yes" >&6
5229 echo "$as_me:$LINENO: result: no" >&5
5230 echo "${ECHO_T}no" >&6
5235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5236 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5238 # Check whether --enable-exceptions or --disable-exceptions was given.
5239 if test "${enable_exceptions+set}" = set; then
5240 enableval
="$enable_exceptions"
5242 if test "$enableval" = yes; then
5243 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5245 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5250 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x
; then
5252 eval "DEFAULT_$LINE"
5257 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5261 eval "$ac_cv_use_exceptions"
5262 if test "$no_cache" != 1; then
5263 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5266 if test "$wxUSE_EXCEPTIONS" = yes; then
5267 echo "$as_me:$LINENO: result: yes" >&5
5268 echo "${ECHO_T}yes" >&6
5270 echo "$as_me:$LINENO: result: no" >&5
5271 echo "${ECHO_T}no" >&6
5276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5279 # Check whether --enable-ffile or --disable-ffile was given.
5280 if test "${enable_ffile+set}" = set; then
5281 enableval
="$enable_ffile"
5283 if test "$enableval" = yes; then
5284 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5286 ac_cv_use_ffile
='wxUSE_FFILE=no'
5291 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x
; then
5293 eval "DEFAULT_$LINE"
5298 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5302 eval "$ac_cv_use_ffile"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5307 if test "$wxUSE_FFILE" = yes; then
5308 echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6
5311 echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6
5317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5318 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5320 # Check whether --enable-file or --disable-file was given.
5321 if test "${enable_file+set}" = set; then
5322 enableval
="$enable_file"
5324 if test "$enableval" = yes; then
5325 ac_cv_use_file
='wxUSE_FILE=yes'
5327 ac_cv_use_file
='wxUSE_FILE=no'
5332 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5333 if test "x$LINE" != x
; then
5334 eval "DEFAULT_$LINE"
5339 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5343 eval "$ac_cv_use_file"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5348 if test "$wxUSE_FILE" = yes; then
5349 echo "$as_me:$LINENO: result: yes" >&5
5350 echo "${ECHO_T}yes" >&6
5352 echo "$as_me:$LINENO: result: no" >&5
5353 echo "${ECHO_T}no" >&6
5358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5359 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5361 # Check whether --enable-filesystem or --disable-filesystem was given.
5362 if test "${enable_filesystem+set}" = set; then
5363 enableval
="$enable_filesystem"
5365 if test "$enableval" = yes; then
5366 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5368 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5373 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x
; then
5375 eval "DEFAULT_$LINE"
5380 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5384 eval "$ac_cv_use_filesystem"
5385 if test "$no_cache" != 1; then
5386 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5389 if test "$wxUSE_FILESYSTEM" = yes; then
5390 echo "$as_me:$LINENO: result: yes" >&5
5391 echo "${ECHO_T}yes" >&6
5393 echo "$as_me:$LINENO: result: no" >&5
5394 echo "${ECHO_T}no" >&6
5399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5402 # Check whether --enable-fontmap or --disable-fontmap was given.
5403 if test "${enable_fontmap+set}" = set; then
5404 enableval
="$enable_fontmap"
5406 if test "$enableval" = yes; then
5407 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5409 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5414 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x
; then
5416 eval "DEFAULT_$LINE"
5421 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5425 eval "$ac_cv_use_fontmap"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5430 if test "$wxUSE_FONTMAP" = yes; then
5431 echo "$as_me:$LINENO: result: yes" >&5
5432 echo "${ECHO_T}yes" >&6
5434 echo "$as_me:$LINENO: result: no" >&5
5435 echo "${ECHO_T}no" >&6
5440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5441 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5443 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5444 if test "${enable_fs_inet+set}" = set; then
5445 enableval
="$enable_fs_inet"
5447 if test "$enableval" = yes; then
5448 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5450 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5455 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x
; then
5457 eval "DEFAULT_$LINE"
5462 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5466 eval "$ac_cv_use_fs_inet"
5467 if test "$no_cache" != 1; then
5468 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5471 if test "$wxUSE_FS_INET" = yes; then
5472 echo "$as_me:$LINENO: result: yes" >&5
5473 echo "${ECHO_T}yes" >&6
5475 echo "$as_me:$LINENO: result: no" >&5
5476 echo "${ECHO_T}no" >&6
5481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5482 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5484 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5485 if test "${enable_fs_zip+set}" = set; then
5486 enableval
="$enable_fs_zip"
5488 if test "$enableval" = yes; then
5489 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5491 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5496 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5497 if test "x$LINE" != x
; then
5498 eval "DEFAULT_$LINE"
5503 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5507 eval "$ac_cv_use_fs_zip"
5508 if test "$no_cache" != 1; then
5509 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5512 if test "$wxUSE_FS_ZIP" = yes; then
5513 echo "$as_me:$LINENO: result: yes" >&5
5514 echo "${ECHO_T}yes" >&6
5516 echo "$as_me:$LINENO: result: no" >&5
5517 echo "${ECHO_T}no" >&6
5522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5523 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5525 # Check whether --enable-geometry or --disable-geometry was given.
5526 if test "${enable_geometry+set}" = set; then
5527 enableval
="$enable_geometry"
5529 if test "$enableval" = yes; then
5530 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5532 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5537 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x
; then
5539 eval "DEFAULT_$LINE"
5544 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5548 eval "$ac_cv_use_geometry"
5549 if test "$no_cache" != 1; then
5550 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5553 if test "$wxUSE_GEOMETRY" = yes; then
5554 echo "$as_me:$LINENO: result: yes" >&5
5555 echo "${ECHO_T}yes" >&6
5557 echo "$as_me:$LINENO: result: no" >&5
5558 echo "${ECHO_T}no" >&6
5563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5564 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5566 # Check whether --enable-log or --disable-log was given.
5567 if test "${enable_log+set}" = set; then
5568 enableval
="$enable_log"
5570 if test "$enableval" = yes; then
5571 ac_cv_use_log
='wxUSE_LOG=yes'
5573 ac_cv_use_log
='wxUSE_LOG=no'
5578 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5579 if test "x$LINE" != x
; then
5580 eval "DEFAULT_$LINE"
5585 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5589 eval "$ac_cv_use_log"
5590 if test "$no_cache" != 1; then
5591 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5594 if test "$wxUSE_LOG" = yes; then
5595 echo "$as_me:$LINENO: result: yes" >&5
5596 echo "${ECHO_T}yes" >&6
5598 echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5605 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5607 # Check whether --enable-longlong or --disable-longlong was given.
5608 if test "${enable_longlong+set}" = set; then
5609 enableval
="$enable_longlong"
5611 if test "$enableval" = yes; then
5612 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5614 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5619 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5620 if test "x$LINE" != x
; then
5621 eval "DEFAULT_$LINE"
5626 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5630 eval "$ac_cv_use_longlong"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5635 if test "$wxUSE_LONGLONG" = yes; then
5636 echo "$as_me:$LINENO: result: yes" >&5
5637 echo "${ECHO_T}yes" >&6
5639 echo "$as_me:$LINENO: result: no" >&5
5640 echo "${ECHO_T}no" >&6
5645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5646 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5648 # Check whether --enable-mimetype or --disable-mimetype was given.
5649 if test "${enable_mimetype+set}" = set; then
5650 enableval
="$enable_mimetype"
5652 if test "$enableval" = yes; then
5653 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5655 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5660 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5661 if test "x$LINE" != x
; then
5662 eval "DEFAULT_$LINE"
5667 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5671 eval "$ac_cv_use_mimetype"
5672 if test "$no_cache" != 1; then
5673 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5676 if test "$wxUSE_MIMETYPE" = yes; then
5677 echo "$as_me:$LINENO: result: yes" >&5
5678 echo "${ECHO_T}yes" >&6
5680 echo "$as_me:$LINENO: result: no" >&5
5681 echo "${ECHO_T}no" >&6
5686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5687 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5689 # Check whether --enable-mslu or --disable-mslu was given.
5690 if test "${enable_mslu+set}" = set; then
5691 enableval
="$enable_mslu"
5693 if test "$enableval" = yes; then
5694 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5696 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5701 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5702 if test "x$LINE" != x
; then
5703 eval "DEFAULT_$LINE"
5708 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5712 eval "$ac_cv_use_mslu"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5717 if test "$wxUSE_UNICODE_MSLU" = yes; then
5718 echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6
5721 echo "$as_me:$LINENO: result: no" >&5
5722 echo "${ECHO_T}no" >&6
5727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5728 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5730 # Check whether --enable-snglinst or --disable-snglinst was given.
5731 if test "${enable_snglinst+set}" = set; then
5732 enableval
="$enable_snglinst"
5734 if test "$enableval" = yes; then
5735 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5737 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5742 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5743 if test "x$LINE" != x
; then
5744 eval "DEFAULT_$LINE"
5749 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5753 eval "$ac_cv_use_snglinst"
5754 if test "$no_cache" != 1; then
5755 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5758 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5759 echo "$as_me:$LINENO: result: yes" >&5
5760 echo "${ECHO_T}yes" >&6
5762 echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6
5768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5769 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5771 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5772 if test "${enable_std_iostreams+set}" = set; then
5773 enableval
="$enable_std_iostreams"
5775 if test "$enableval" = yes; then
5776 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5778 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5783 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5784 if test "x$LINE" != x
; then
5785 eval "DEFAULT_$LINE"
5790 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5794 eval "$ac_cv_use_std_iostreams"
5795 if test "$no_cache" != 1; then
5796 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5799 if test "$wxUSE_STD_IOSTREAM" = yes; then
5800 echo "$as_me:$LINENO: result: yes" >&5
5801 echo "${ECHO_T}yes" >&6
5803 echo "$as_me:$LINENO: result: no" >&5
5804 echo "${ECHO_T}no" >&6
5809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5810 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5812 # Check whether --enable-std_string or --disable-std_string was given.
5813 if test "${enable_std_string+set}" = set; then
5814 enableval
="$enable_std_string"
5816 if test "$enableval" = yes; then
5817 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5819 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5824 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5825 if test "x$LINE" != x
; then
5826 eval "DEFAULT_$LINE"
5831 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5835 eval "$ac_cv_use_std_string"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5840 if test "$wxUSE_STD_STRING" = yes; then
5841 echo "$as_me:$LINENO: result: yes" >&5
5842 echo "${ECHO_T}yes" >&6
5844 echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6
5850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5851 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5853 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5854 if test "${enable_stdpaths+set}" = set; then
5855 enableval
="$enable_stdpaths"
5857 if test "$enableval" = yes; then
5858 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5860 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5865 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x
; then
5867 eval "DEFAULT_$LINE"
5872 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5876 eval "$ac_cv_use_stdpaths"
5877 if test "$no_cache" != 1; then
5878 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5881 if test "$wxUSE_STDPATHS" = yes; then
5882 echo "$as_me:$LINENO: result: yes" >&5
5883 echo "${ECHO_T}yes" >&6
5885 echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6
5891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5894 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5895 if test "${enable_stopwatch+set}" = set; then
5896 enableval
="$enable_stopwatch"
5898 if test "$enableval" = yes; then
5899 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5901 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5906 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5907 if test "x$LINE" != x
; then
5908 eval "DEFAULT_$LINE"
5913 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5917 eval "$ac_cv_use_stopwatch"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5922 if test "$wxUSE_STOPWATCH" = yes; then
5923 echo "$as_me:$LINENO: result: yes" >&5
5924 echo "${ECHO_T}yes" >&6
5926 echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6
5932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5935 # Check whether --enable-streams or --disable-streams was given.
5936 if test "${enable_streams+set}" = set; then
5937 enableval
="$enable_streams"
5939 if test "$enableval" = yes; then
5940 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5942 ac_cv_use_streams
='wxUSE_STREAMS=no'
5947 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5948 if test "x$LINE" != x
; then
5949 eval "DEFAULT_$LINE"
5954 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5958 eval "$ac_cv_use_streams"
5959 if test "$no_cache" != 1; then
5960 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5963 if test "$wxUSE_STREAMS" = yes; then
5964 echo "$as_me:$LINENO: result: yes" >&5
5965 echo "${ECHO_T}yes" >&6
5967 echo "$as_me:$LINENO: result: no" >&5
5968 echo "${ECHO_T}no" >&6
5973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5974 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5976 # Check whether --enable-system_options or --disable-system_options was given.
5977 if test "${enable_system_options+set}" = set; then
5978 enableval
="$enable_system_options"
5980 if test "$enableval" = yes; then
5981 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5983 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5988 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5989 if test "x$LINE" != x
; then
5990 eval "DEFAULT_$LINE"
5995 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5999 eval "$ac_cv_use_system_options"
6000 if test "$no_cache" != 1; then
6001 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6004 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6005 echo "$as_me:$LINENO: result: yes" >&5
6006 echo "${ECHO_T}yes" >&6
6008 echo "$as_me:$LINENO: result: no" >&5
6009 echo "${ECHO_T}no" >&6
6014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6015 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6017 # Check whether --enable-textbuf or --disable-textbuf was given.
6018 if test "${enable_textbuf+set}" = set; then
6019 enableval
="$enable_textbuf"
6021 if test "$enableval" = yes; then
6022 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6024 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6029 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6030 if test "x$LINE" != x
; then
6031 eval "DEFAULT_$LINE"
6036 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6040 eval "$ac_cv_use_textbuf"
6041 if test "$no_cache" != 1; then
6042 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6045 if test "$wxUSE_TEXTBUFFER" = yes; then
6046 echo "$as_me:$LINENO: result: yes" >&5
6047 echo "${ECHO_T}yes" >&6
6049 echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6
6055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6056 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6058 # Check whether --enable-textfile or --disable-textfile was given.
6059 if test "${enable_textfile+set}" = set; then
6060 enableval
="$enable_textfile"
6062 if test "$enableval" = yes; then
6063 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6065 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6070 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6071 if test "x$LINE" != x
; then
6072 eval "DEFAULT_$LINE"
6077 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6081 eval "$ac_cv_use_textfile"
6082 if test "$no_cache" != 1; then
6083 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6086 if test "$wxUSE_TEXTFILE" = yes; then
6087 echo "$as_me:$LINENO: result: yes" >&5
6088 echo "${ECHO_T}yes" >&6
6090 echo "$as_me:$LINENO: result: no" >&5
6091 echo "${ECHO_T}no" >&6
6096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6099 # Check whether --enable-timer or --disable-timer was given.
6100 if test "${enable_timer+set}" = set; then
6101 enableval
="$enable_timer"
6103 if test "$enableval" = yes; then
6104 ac_cv_use_timer
='wxUSE_TIMER=yes'
6106 ac_cv_use_timer
='wxUSE_TIMER=no'
6111 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6112 if test "x$LINE" != x
; then
6113 eval "DEFAULT_$LINE"
6118 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6122 eval "$ac_cv_use_timer"
6123 if test "$no_cache" != 1; then
6124 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6127 if test "$wxUSE_TIMER" = yes; then
6128 echo "$as_me:$LINENO: result: yes" >&5
6129 echo "${ECHO_T}yes" >&6
6131 echo "$as_me:$LINENO: result: no" >&5
6132 echo "${ECHO_T}no" >&6
6137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6140 # Check whether --enable-unicode or --disable-unicode was given.
6141 if test "${enable_unicode+set}" = set; then
6142 enableval
="$enable_unicode"
6144 if test "$enableval" = yes; then
6145 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6147 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6152 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x
; then
6154 eval "DEFAULT_$LINE"
6159 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6163 eval "$ac_cv_use_unicode"
6164 if test "$no_cache" != 1; then
6165 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6168 if test "$wxUSE_UNICODE" = yes; then
6169 echo "$as_me:$LINENO: result: yes" >&5
6170 echo "${ECHO_T}yes" >&6
6172 echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6
6178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6181 # Check whether --enable-sound or --disable-sound was given.
6182 if test "${enable_sound+set}" = set; then
6183 enableval
="$enable_sound"
6185 if test "$enableval" = yes; then
6186 ac_cv_use_sound
='wxUSE_SOUND=yes'
6188 ac_cv_use_sound
='wxUSE_SOUND=no'
6193 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x
; then
6195 eval "DEFAULT_$LINE"
6200 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6204 eval "$ac_cv_use_sound"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6209 if test "$wxUSE_SOUND" = yes; then
6210 echo "$as_me:$LINENO: result: yes" >&5
6211 echo "${ECHO_T}yes" >&6
6213 echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6222 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6223 if test "${enable_mediactrl+set}" = set; then
6224 enableval
="$enable_mediactrl"
6226 if test "$enableval" = yes; then
6227 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6229 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6234 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x
; then
6236 eval "DEFAULT_$LINE"
6241 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6245 eval "$ac_cv_use_mediactrl"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_MEDIACTRL" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6263 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6264 if test "${enable_gstreamer8+set}" = set; then
6265 enableval
="$enable_gstreamer8"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6270 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6275 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x
; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6286 eval "$ac_cv_use_gstreamer8"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6291 if test "$wxUSE_GSTREAMER8" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6304 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6305 if test "${enable_wxprintfv+set}" = set; then
6306 enableval
="$enable_wxprintfv"
6308 if test "$enableval" = yes; then
6309 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6311 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6316 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x
; then
6318 eval "DEFAULT_$LINE"
6323 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6327 eval "$ac_cv_use_wxprintfv"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6332 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6333 echo "$as_me:$LINENO: result: yes" >&5
6334 echo "${ECHO_T}yes" >&6
6336 echo "$as_me:$LINENO: result: no" >&5
6337 echo "${ECHO_T}no" >&6
6342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6345 # Check whether --enable-zipstream or --disable-zipstream was given.
6346 if test "${enable_zipstream+set}" = set; then
6347 enableval
="$enable_zipstream"
6349 if test "$enableval" = yes; then
6350 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6352 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6357 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x
; then
6359 eval "DEFAULT_$LINE"
6364 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6368 eval "$ac_cv_use_zipstream"
6369 if test "$no_cache" != 1; then
6370 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6373 if test "$wxUSE_ZIPSTREAM" = yes; then
6374 echo "$as_me:$LINENO: result: yes" >&5
6375 echo "${ECHO_T}yes" >&6
6377 echo "$as_me:$LINENO: result: no" >&5
6378 echo "${ECHO_T}no" >&6
6384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6385 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6387 # Check whether --enable-url or --disable-url was given.
6388 if test "${enable_url+set}" = set; then
6389 enableval
="$enable_url"
6391 if test "$enableval" = yes; then
6392 ac_cv_use_url
='wxUSE_URL=yes'
6394 ac_cv_use_url
='wxUSE_URL=no'
6399 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6400 if test "x$LINE" != x
; then
6401 eval "DEFAULT_$LINE"
6406 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6410 eval "$ac_cv_use_url"
6411 if test "$no_cache" != 1; then
6412 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6415 if test "$wxUSE_URL" = yes; then
6416 echo "$as_me:$LINENO: result: yes" >&5
6417 echo "${ECHO_T}yes" >&6
6419 echo "$as_me:$LINENO: result: no" >&5
6420 echo "${ECHO_T}no" >&6
6425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6426 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6428 # Check whether --enable-protocol or --disable-protocol was given.
6429 if test "${enable_protocol+set}" = set; then
6430 enableval
="$enable_protocol"
6432 if test "$enableval" = yes; then
6433 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6435 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6440 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6441 if test "x$LINE" != x
; then
6442 eval "DEFAULT_$LINE"
6447 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6451 eval "$ac_cv_use_protocol"
6452 if test "$no_cache" != 1; then
6453 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6456 if test "$wxUSE_PROTOCOL" = yes; then
6457 echo "$as_me:$LINENO: result: yes" >&5
6458 echo "${ECHO_T}yes" >&6
6460 echo "$as_me:$LINENO: result: no" >&5
6461 echo "${ECHO_T}no" >&6
6466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6469 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6470 if test "${enable_protocol_http+set}" = set; then
6471 enableval
="$enable_protocol_http"
6473 if test "$enableval" = yes; then
6474 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6476 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6481 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x
; then
6483 eval "DEFAULT_$LINE"
6488 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6492 eval "$ac_cv_use_protocol_http"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6497 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6498 echo "$as_me:$LINENO: result: yes" >&5
6499 echo "${ECHO_T}yes" >&6
6501 echo "$as_me:$LINENO: result: no" >&5
6502 echo "${ECHO_T}no" >&6
6507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6510 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6511 if test "${enable_protocol_ftp+set}" = set; then
6512 enableval
="$enable_protocol_ftp"
6514 if test "$enableval" = yes; then
6515 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6517 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6522 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x
; then
6524 eval "DEFAULT_$LINE"
6529 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6533 eval "$ac_cv_use_protocol_ftp"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6538 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6539 echo "$as_me:$LINENO: result: yes" >&5
6540 echo "${ECHO_T}yes" >&6
6542 echo "$as_me:$LINENO: result: no" >&5
6543 echo "${ECHO_T}no" >&6
6548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6551 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6552 if test "${enable_protocol_file+set}" = set; then
6553 enableval
="$enable_protocol_file"
6555 if test "$enableval" = yes; then
6556 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6558 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6563 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6564 if test "x$LINE" != x
; then
6565 eval "DEFAULT_$LINE"
6570 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6574 eval "$ac_cv_use_protocol_file"
6575 if test "$no_cache" != 1; then
6576 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6579 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6580 echo "$as_me:$LINENO: result: yes" >&5
6581 echo "${ECHO_T}yes" >&6
6583 echo "$as_me:$LINENO: result: no" >&5
6584 echo "${ECHO_T}no" >&6
6592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6595 # Check whether --enable-threads or --disable-threads was given.
6596 if test "${enable_threads+set}" = set; then
6597 enableval
="$enable_threads"
6599 if test "$enableval" = yes; then
6600 ac_cv_use_threads
='wxUSE_THREADS=yes'
6602 ac_cv_use_threads
='wxUSE_THREADS=no'
6607 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6608 if test "x$LINE" != x
; then
6609 eval "DEFAULT_$LINE"
6614 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6618 eval "$ac_cv_use_threads"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6623 if test "$wxUSE_THREADS" = yes; then
6624 echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6
6627 echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6
6632 if test "$wxUSE_GUI" = "yes"; then
6637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6638 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6640 # Check whether --enable-docview or --disable-docview was given.
6641 if test "${enable_docview+set}" = set; then
6642 enableval
="$enable_docview"
6644 if test "$enableval" = yes; then
6645 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6647 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6652 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x
; then
6654 eval "DEFAULT_$LINE"
6659 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6663 eval "$ac_cv_use_docview"
6664 if test "$no_cache" != 1; then
6665 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6668 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6669 echo "$as_me:$LINENO: result: yes" >&5
6670 echo "${ECHO_T}yes" >&6
6672 echo "$as_me:$LINENO: result: no" >&5
6673 echo "${ECHO_T}no" >&6
6678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6679 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6681 # Check whether --enable-help or --disable-help was given.
6682 if test "${enable_help+set}" = set; then
6683 enableval
="$enable_help"
6685 if test "$enableval" = yes; then
6686 ac_cv_use_help
='wxUSE_HELP=yes'
6688 ac_cv_use_help
='wxUSE_HELP=no'
6693 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6694 if test "x$LINE" != x
; then
6695 eval "DEFAULT_$LINE"
6700 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6704 eval "$ac_cv_use_help"
6705 if test "$no_cache" != 1; then
6706 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6709 if test "$wxUSE_HELP" = yes; then
6710 echo "$as_me:$LINENO: result: yes" >&5
6711 echo "${ECHO_T}yes" >&6
6713 echo "$as_me:$LINENO: result: no" >&5
6714 echo "${ECHO_T}no" >&6
6719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6720 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6722 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6723 if test "${enable_mshtmlhelp+set}" = set; then
6724 enableval
="$enable_mshtmlhelp"
6726 if test "$enableval" = yes; then
6727 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6729 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6734 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6735 if test "x$LINE" != x
; then
6736 eval "DEFAULT_$LINE"
6741 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6745 eval "$ac_cv_use_mshtmlhelp"
6746 if test "$no_cache" != 1; then
6747 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6750 if test "$wxUSE_MS_HTML_HELP" = yes; then
6751 echo "$as_me:$LINENO: result: yes" >&5
6752 echo "${ECHO_T}yes" >&6
6754 echo "$as_me:$LINENO: result: no" >&5
6755 echo "${ECHO_T}no" >&6
6760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6761 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6763 # Check whether --enable-html or --disable-html was given.
6764 if test "${enable_html+set}" = set; then
6765 enableval
="$enable_html"
6767 if test "$enableval" = yes; then
6768 ac_cv_use_html
='wxUSE_HTML=yes'
6770 ac_cv_use_html
='wxUSE_HTML=no'
6775 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6776 if test "x$LINE" != x
; then
6777 eval "DEFAULT_$LINE"
6782 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6786 eval "$ac_cv_use_html"
6787 if test "$no_cache" != 1; then
6788 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6791 if test "$wxUSE_HTML" = yes; then
6792 echo "$as_me:$LINENO: result: yes" >&5
6793 echo "${ECHO_T}yes" >&6
6795 echo "$as_me:$LINENO: result: no" >&5
6796 echo "${ECHO_T}no" >&6
6801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6802 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6804 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6805 if test "${enable_htmlhelp+set}" = set; then
6806 enableval
="$enable_htmlhelp"
6808 if test "$enableval" = yes; then
6809 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6811 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6816 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6817 if test "x$LINE" != x
; then
6818 eval "DEFAULT_$LINE"
6823 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6827 eval "$ac_cv_use_htmlhelp"
6828 if test "$no_cache" != 1; then
6829 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6832 if test "$wxUSE_WXHTML_HELP" = yes; then
6833 echo "$as_me:$LINENO: result: yes" >&5
6834 echo "${ECHO_T}yes" >&6
6836 echo "$as_me:$LINENO: result: no" >&5
6837 echo "${ECHO_T}no" >&6
6842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6843 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6845 # Check whether --enable-xrc or --disable-xrc was given.
6846 if test "${enable_xrc+set}" = set; then
6847 enableval
="$enable_xrc"
6849 if test "$enableval" = yes; then
6850 ac_cv_use_xrc
='wxUSE_XRC=yes'
6852 ac_cv_use_xrc
='wxUSE_XRC=no'
6857 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6858 if test "x$LINE" != x
; then
6859 eval "DEFAULT_$LINE"
6864 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6868 eval "$ac_cv_use_xrc"
6869 if test "$no_cache" != 1; then
6870 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6873 if test "$wxUSE_XRC" = yes; then
6874 echo "$as_me:$LINENO: result: yes" >&5
6875 echo "${ECHO_T}yes" >&6
6877 echo "$as_me:$LINENO: result: no" >&5
6878 echo "${ECHO_T}no" >&6
6883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6884 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6886 # Check whether --enable-constraints or --disable-constraints was given.
6887 if test "${enable_constraints+set}" = set; then
6888 enableval
="$enable_constraints"
6890 if test "$enableval" = yes; then
6891 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6893 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6898 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6899 if test "x$LINE" != x
; then
6900 eval "DEFAULT_$LINE"
6905 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6909 eval "$ac_cv_use_constraints"
6910 if test "$no_cache" != 1; then
6911 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6914 if test "$wxUSE_CONSTRAINTS" = yes; then
6915 echo "$as_me:$LINENO: result: yes" >&5
6916 echo "${ECHO_T}yes" >&6
6918 echo "$as_me:$LINENO: result: no" >&5
6919 echo "${ECHO_T}no" >&6
6924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6925 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6927 # Check whether --enable-printarch or --disable-printarch was given.
6928 if test "${enable_printarch+set}" = set; then
6929 enableval
="$enable_printarch"
6931 if test "$enableval" = yes; then
6932 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6934 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6939 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6940 if test "x$LINE" != x
; then
6941 eval "DEFAULT_$LINE"
6946 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6950 eval "$ac_cv_use_printarch"
6951 if test "$no_cache" != 1; then
6952 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6955 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6956 echo "$as_me:$LINENO: result: yes" >&5
6957 echo "${ECHO_T}yes" >&6
6959 echo "$as_me:$LINENO: result: no" >&5
6960 echo "${ECHO_T}no" >&6
6965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6966 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6968 # Check whether --enable-mdi or --disable-mdi was given.
6969 if test "${enable_mdi+set}" = set; then
6970 enableval
="$enable_mdi"
6972 if test "$enableval" = yes; then
6973 ac_cv_use_mdi
='wxUSE_MDI=yes'
6975 ac_cv_use_mdi
='wxUSE_MDI=no'
6980 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6981 if test "x$LINE" != x
; then
6982 eval "DEFAULT_$LINE"
6987 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6991 eval "$ac_cv_use_mdi"
6992 if test "$no_cache" != 1; then
6993 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6996 if test "$wxUSE_MDI" = yes; then
6997 echo "$as_me:$LINENO: result: yes" >&5
6998 echo "${ECHO_T}yes" >&6
7000 echo "$as_me:$LINENO: result: no" >&5
7001 echo "${ECHO_T}no" >&6
7006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7007 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7009 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7010 if test "${enable_mdidoc+set}" = set; then
7011 enableval
="$enable_mdidoc"
7013 if test "$enableval" = yes; then
7014 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7016 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7021 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7022 if test "x$LINE" != x
; then
7023 eval "DEFAULT_$LINE"
7028 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7032 eval "$ac_cv_use_mdidoc"
7033 if test "$no_cache" != 1; then
7034 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7037 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7038 echo "$as_me:$LINENO: result: yes" >&5
7039 echo "${ECHO_T}yes" >&6
7041 echo "$as_me:$LINENO: result: no" >&5
7042 echo "${ECHO_T}no" >&6
7047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7048 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7050 # Check whether --enable-loggui or --disable-loggui was given.
7051 if test "${enable_loggui+set}" = set; then
7052 enableval
="$enable_loggui"
7054 if test "$enableval" = yes; then
7055 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7057 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7062 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7063 if test "x$LINE" != x
; then
7064 eval "DEFAULT_$LINE"
7069 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7073 eval "$ac_cv_use_loggui"
7074 if test "$no_cache" != 1; then
7075 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7078 if test "$wxUSE_LOGGUI" = yes; then
7079 echo "$as_me:$LINENO: result: yes" >&5
7080 echo "${ECHO_T}yes" >&6
7082 echo "$as_me:$LINENO: result: no" >&5
7083 echo "${ECHO_T}no" >&6
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7091 # Check whether --enable-logwin or --disable-logwin was given.
7092 if test "${enable_logwin+set}" = set; then
7093 enableval
="$enable_logwin"
7095 if test "$enableval" = yes; then
7096 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7098 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7103 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x
; then
7105 eval "DEFAULT_$LINE"
7110 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7114 eval "$ac_cv_use_logwin"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7119 if test "$wxUSE_LOGWINDOW" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7132 # Check whether --enable-logdialog or --disable-logdialog was given.
7133 if test "${enable_logdialog+set}" = set; then
7134 enableval
="$enable_logdialog"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7139 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7144 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7155 eval "$ac_cv_use_logdialog"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7160 if test "$wxUSE_LOGDIALOG" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7173 # Check whether --enable-webkit or --disable-webkit was given.
7174 if test "${enable_webkit+set}" = set; then
7175 enableval
="$enable_webkit"
7177 if test "$enableval" = yes; then
7178 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7180 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7185 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x
; then
7187 eval "DEFAULT_$LINE"
7192 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7196 eval "$ac_cv_use_webkit"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_WEBKIT" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7212 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7214 # Check whether --enable-html or --disable-html was given.
7215 if test "${enable_html+set}" = set; then
7216 enableval
="$enable_html"
7218 if test "$enableval" = yes; then
7219 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7221 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7226 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7227 if test "x$LINE" != x
; then
7228 eval "DEFAULT_$LINE"
7233 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7237 eval "$ac_cv_use_html"
7238 if test "$no_cache" != 1; then
7239 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7242 if test "$wxUSE_RICHTEXT" = yes; then
7243 echo "$as_me:$LINENO: result: yes" >&5
7244 echo "${ECHO_T}yes" >&6
7246 echo "$as_me:$LINENO: result: no" >&5
7247 echo "${ECHO_T}no" >&6
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7256 # Check whether --enable-postscript or --disable-postscript was given.
7257 if test "${enable_postscript+set}" = set; then
7258 enableval
="$enable_postscript"
7260 if test "$enableval" = yes; then
7261 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7263 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7268 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x
; then
7270 eval "DEFAULT_$LINE"
7275 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7279 eval "$ac_cv_use_postscript"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7284 if test "$wxUSE_POSTSCRIPT" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7298 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7300 # Check whether --enable-prologio or --disable-prologio was given.
7301 if test "${enable_prologio+set}" = set; then
7302 enableval
="$enable_prologio"
7304 if test "$enableval" = yes; then
7305 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7307 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7312 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7313 if test "x$LINE" != x
; then
7314 eval "DEFAULT_$LINE"
7319 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7323 eval "$ac_cv_use_prologio"
7324 if test "$no_cache" != 1; then
7325 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7328 if test "$wxUSE_PROLOGIO" = yes; then
7329 echo "$as_me:$LINENO: result: yes" >&5
7330 echo "${ECHO_T}yes" >&6
7332 echo "$as_me:$LINENO: result: no" >&5
7333 echo "${ECHO_T}no" >&6
7338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7341 # Check whether --enable-resources or --disable-resources was given.
7342 if test "${enable_resources+set}" = set; then
7343 enableval
="$enable_resources"
7345 if test "$enableval" = yes; then
7346 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7348 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7353 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7354 if test "x$LINE" != x
; then
7355 eval "DEFAULT_$LINE"
7360 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7364 eval "$ac_cv_use_resources"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7369 if test "$wxUSE_RESOURCES" = yes; then
7370 echo "$as_me:$LINENO: result: yes" >&5
7371 echo "${ECHO_T}yes" >&6
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7384 # Check whether --enable-clipboard or --disable-clipboard was given.
7385 if test "${enable_clipboard+set}" = set; then
7386 enableval
="$enable_clipboard"
7388 if test "$enableval" = yes; then
7389 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7391 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7396 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x
; then
7398 eval "DEFAULT_$LINE"
7403 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7407 eval "$ac_cv_use_clipboard"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7412 if test "$wxUSE_CLIPBOARD" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7425 # Check whether --enable-dnd or --disable-dnd was given.
7426 if test "${enable_dnd+set}" = set; then
7427 enableval
="$enable_dnd"
7429 if test "$enableval" = yes; then
7430 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7432 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7437 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x
; then
7439 eval "DEFAULT_$LINE"
7444 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7448 eval "$ac_cv_use_dnd"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7453 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7466 # Check whether --enable-metafile or --disable-metafile was given.
7467 if test "${enable_metafile+set}" = set; then
7468 enableval
="$enable_metafile"
7470 if test "$enableval" = yes; then
7471 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7473 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7478 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x
; then
7480 eval "DEFAULT_$LINE"
7485 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7489 eval "$ac_cv_use_metafile"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7494 if test "$wxUSE_METAFILE" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7510 # Check whether --enable-controls or --disable-controls was given.
7511 if test "${enable_controls+set}" = set; then
7512 enableval
="$enable_controls"
7514 if test "$enableval" = yes; then
7515 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7517 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7522 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x
; then
7524 eval "DEFAULT_$LINE"
7529 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7533 eval "$ac_cv_use_controls"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7538 if test "$wxUSE_CONTROLS" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7547 if test "$wxUSE_CONTROLS" = "yes"; then
7548 DEFAULT_wxUSE_ACCEL
=yes
7549 DEFAULT_wxUSE_BMPBUTTON
=yes
7550 DEFAULT_wxUSE_BUTTON
=yes
7551 DEFAULT_wxUSE_CALCTRL
=yes
7552 DEFAULT_wxUSE_CARET
=yes
7553 DEFAULT_wxUSE_COMBOBOX
=yes
7554 DEFAULT_wxUSE_CHECKBOX
=yes
7555 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7556 DEFAULT_wxUSE_CHOICE
=yes
7557 DEFAULT_wxUSE_CHOICEBOOK
=yes
7558 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7559 DEFAULT_wxUSE_GAUGE
=yes
7560 DEFAULT_wxUSE_GRID
=yes
7561 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7562 DEFAULT_wxUSE_IMAGLIST
=yes
7563 DEFAULT_wxUSE_LISTBOOK
=yes
7564 DEFAULT_wxUSE_LISTBOX
=yes
7565 DEFAULT_wxUSE_LISTCTRL
=yes
7566 DEFAULT_wxUSE_NOTEBOOK
=yes
7567 DEFAULT_wxUSE_RADIOBOX
=yes
7568 DEFAULT_wxUSE_RADIOBTN
=yes
7569 DEFAULT_wxUSE_SASH
=yes
7570 DEFAULT_wxUSE_SCROLLBAR
=yes
7571 DEFAULT_wxUSE_SLIDER
=yes
7572 DEFAULT_wxUSE_SPINBTN
=yes
7573 DEFAULT_wxUSE_SPINCTRL
=yes
7574 DEFAULT_wxUSE_SPLITTER
=yes
7575 DEFAULT_wxUSE_STATBMP
=yes
7576 DEFAULT_wxUSE_STATBOX
=yes
7577 DEFAULT_wxUSE_STATLINE
=yes
7578 DEFAULT_wxUSE_STATUSBAR
=yes
7579 DEFAULT_wxUSE_TAB_DIALOG
=yes
7580 DEFAULT_wxUSE_TOGGLEBTN
=yes
7581 DEFAULT_wxUSE_TOOLBAR
=yes
7582 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7583 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7584 DEFAULT_wxUSE_TOOLTIPS
=yes
7585 DEFAULT_wxUSE_TREEBOOK
=yes
7586 DEFAULT_wxUSE_TOOLBOOK
=yes
7587 DEFAULT_wxUSE_TREECTRL
=yes
7588 DEFAULT_wxUSE_POPUPWIN
=yes
7589 DEFAULT_wxUSE_TIPWINDOW
=yes
7590 elif test "$wxUSE_CONTROLS" = "no"; then
7591 DEFAULT_wxUSE_ACCEL
=no
7592 DEFAULT_wxUSE_BMPBUTTON
=no
7593 DEFAULT_wxUSE_BUTTON
=no
7594 DEFAULT_wxUSE_CALCTRL
=no
7595 DEFAULT_wxUSE_CARET
=no
7596 DEFAULT_wxUSE_COMBOBOX
=no
7597 DEFAULT_wxUSE_CHECKBOX
=no
7598 DEFAULT_wxUSE_CHECKLISTBOX
=no
7599 DEFAULT_wxUSE_CHOICE
=no
7600 DEFAULT_wxUSE_CHOICEBOOK
=no
7601 DEFAULT_wxUSE_DATEPICKCTRL
=no
7602 DEFAULT_wxUSE_GAUGE
=no
7603 DEFAULT_wxUSE_GRID
=no
7604 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7605 DEFAULT_wxUSE_IMAGLIST
=no
7606 DEFAULT_wxUSE_LISTBOOK
=no
7607 DEFAULT_wxUSE_LISTBOX
=no
7608 DEFAULT_wxUSE_LISTCTRL
=no
7609 DEFAULT_wxUSE_NOTEBOOK
=no
7610 DEFAULT_wxUSE_RADIOBOX
=no
7611 DEFAULT_wxUSE_RADIOBTN
=no
7612 DEFAULT_wxUSE_SASH
=no
7613 DEFAULT_wxUSE_SCROLLBAR
=no
7614 DEFAULT_wxUSE_SLIDER
=no
7615 DEFAULT_wxUSE_SPINBTN
=no
7616 DEFAULT_wxUSE_SPINCTRL
=no
7617 DEFAULT_wxUSE_SPLITTER
=no
7618 DEFAULT_wxUSE_STATBMP
=no
7619 DEFAULT_wxUSE_STATBOX
=no
7620 DEFAULT_wxUSE_STATLINE
=no
7621 DEFAULT_wxUSE_STATUSBAR
=no
7622 DEFAULT_wxUSE_TAB_DIALOG
=no
7623 DEFAULT_wxUSE_TOGGLEBTN
=no
7624 DEFAULT_wxUSE_TOOLBAR
=no
7625 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7626 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7627 DEFAULT_wxUSE_TOOLTIPS
=no
7628 DEFAULT_wxUSE_TREEBOOK
=no
7629 DEFAULT_wxUSE_TOOLBOOK
=no
7630 DEFAULT_wxUSE_TREECTRL
=no
7631 DEFAULT_wxUSE_POPUPWIN
=no
7632 DEFAULT_wxUSE_TIPWINDOW
=no
7637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7638 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7640 # Check whether --enable-accel or --disable-accel was given.
7641 if test "${enable_accel+set}" = set; then
7642 enableval
="$enable_accel"
7644 if test "$enableval" = yes; then
7645 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7647 ac_cv_use_accel
='wxUSE_ACCEL=no'
7652 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7653 if test "x$LINE" != x
; then
7654 eval "DEFAULT_$LINE"
7659 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7663 eval "$ac_cv_use_accel"
7664 if test "$no_cache" != 1; then
7665 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7668 if test "$wxUSE_ACCEL" = yes; then
7669 echo "$as_me:$LINENO: result: yes" >&5
7670 echo "${ECHO_T}yes" >&6
7672 echo "$as_me:$LINENO: result: no" >&5
7673 echo "${ECHO_T}no" >&6
7678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7679 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7681 # Check whether --enable-button or --disable-button was given.
7682 if test "${enable_button+set}" = set; then
7683 enableval
="$enable_button"
7685 if test "$enableval" = yes; then
7686 ac_cv_use_button
='wxUSE_BUTTON=yes'
7688 ac_cv_use_button
='wxUSE_BUTTON=no'
7693 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7694 if test "x$LINE" != x
; then
7695 eval "DEFAULT_$LINE"
7700 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7704 eval "$ac_cv_use_button"
7705 if test "$no_cache" != 1; then
7706 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7709 if test "$wxUSE_BUTTON" = yes; then
7710 echo "$as_me:$LINENO: result: yes" >&5
7711 echo "${ECHO_T}yes" >&6
7713 echo "$as_me:$LINENO: result: no" >&5
7714 echo "${ECHO_T}no" >&6
7719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7720 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7722 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7723 if test "${enable_bmpbutton+set}" = set; then
7724 enableval
="$enable_bmpbutton"
7726 if test "$enableval" = yes; then
7727 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7729 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7734 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7735 if test "x$LINE" != x
; then
7736 eval "DEFAULT_$LINE"
7741 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7745 eval "$ac_cv_use_bmpbutton"
7746 if test "$no_cache" != 1; then
7747 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7750 if test "$wxUSE_BMPBUTTON" = yes; then
7751 echo "$as_me:$LINENO: result: yes" >&5
7752 echo "${ECHO_T}yes" >&6
7754 echo "$as_me:$LINENO: result: no" >&5
7755 echo "${ECHO_T}no" >&6
7760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7761 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7763 # Check whether --enable-calendar or --disable-calendar was given.
7764 if test "${enable_calendar+set}" = set; then
7765 enableval
="$enable_calendar"
7767 if test "$enableval" = yes; then
7768 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7770 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7775 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7776 if test "x$LINE" != x
; then
7777 eval "DEFAULT_$LINE"
7782 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7786 eval "$ac_cv_use_calendar"
7787 if test "$no_cache" != 1; then
7788 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7791 if test "$wxUSE_CALCTRL" = yes; then
7792 echo "$as_me:$LINENO: result: yes" >&5
7793 echo "${ECHO_T}yes" >&6
7795 echo "$as_me:$LINENO: result: no" >&5
7796 echo "${ECHO_T}no" >&6
7801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7802 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7804 # Check whether --enable-caret or --disable-caret was given.
7805 if test "${enable_caret+set}" = set; then
7806 enableval
="$enable_caret"
7808 if test "$enableval" = yes; then
7809 ac_cv_use_caret
='wxUSE_CARET=yes'
7811 ac_cv_use_caret
='wxUSE_CARET=no'
7816 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7817 if test "x$LINE" != x
; then
7818 eval "DEFAULT_$LINE"
7823 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7827 eval "$ac_cv_use_caret"
7828 if test "$no_cache" != 1; then
7829 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7832 if test "$wxUSE_CARET" = yes; then
7833 echo "$as_me:$LINENO: result: yes" >&5
7834 echo "${ECHO_T}yes" >&6
7836 echo "$as_me:$LINENO: result: no" >&5
7837 echo "${ECHO_T}no" >&6
7842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7843 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7845 # Check whether --enable-checkbox or --disable-checkbox was given.
7846 if test "${enable_checkbox+set}" = set; then
7847 enableval
="$enable_checkbox"
7849 if test "$enableval" = yes; then
7850 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7852 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7857 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7858 if test "x$LINE" != x
; then
7859 eval "DEFAULT_$LINE"
7864 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7868 eval "$ac_cv_use_checkbox"
7869 if test "$no_cache" != 1; then
7870 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7873 if test "$wxUSE_CHECKBOX" = yes; then
7874 echo "$as_me:$LINENO: result: yes" >&5
7875 echo "${ECHO_T}yes" >&6
7877 echo "$as_me:$LINENO: result: no" >&5
7878 echo "${ECHO_T}no" >&6
7883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7884 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7886 # Check whether --enable-checklst or --disable-checklst was given.
7887 if test "${enable_checklst+set}" = set; then
7888 enableval
="$enable_checklst"
7890 if test "$enableval" = yes; then
7891 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7893 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7898 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7899 if test "x$LINE" != x
; then
7900 eval "DEFAULT_$LINE"
7905 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7909 eval "$ac_cv_use_checklst"
7910 if test "$no_cache" != 1; then
7911 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7914 if test "$wxUSE_CHECKLST" = yes; then
7915 echo "$as_me:$LINENO: result: yes" >&5
7916 echo "${ECHO_T}yes" >&6
7918 echo "$as_me:$LINENO: result: no" >&5
7919 echo "${ECHO_T}no" >&6
7924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7925 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7927 # Check whether --enable-choice or --disable-choice was given.
7928 if test "${enable_choice+set}" = set; then
7929 enableval
="$enable_choice"
7931 if test "$enableval" = yes; then
7932 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7934 ac_cv_use_choice
='wxUSE_CHOICE=no'
7939 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7940 if test "x$LINE" != x
; then
7941 eval "DEFAULT_$LINE"
7946 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7950 eval "$ac_cv_use_choice"
7951 if test "$no_cache" != 1; then
7952 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7955 if test "$wxUSE_CHOICE" = yes; then
7956 echo "$as_me:$LINENO: result: yes" >&5
7957 echo "${ECHO_T}yes" >&6
7959 echo "$as_me:$LINENO: result: no" >&5
7960 echo "${ECHO_T}no" >&6
7965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7966 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7968 # Check whether --enable-choicebook or --disable-choicebook was given.
7969 if test "${enable_choicebook+set}" = set; then
7970 enableval
="$enable_choicebook"
7972 if test "$enableval" = yes; then
7973 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7975 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7980 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7981 if test "x$LINE" != x
; then
7982 eval "DEFAULT_$LINE"
7987 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7991 eval "$ac_cv_use_choicebook"
7992 if test "$no_cache" != 1; then
7993 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7996 if test "$wxUSE_CHOICEBOOK" = yes; then
7997 echo "$as_me:$LINENO: result: yes" >&5
7998 echo "${ECHO_T}yes" >&6
8000 echo "$as_me:$LINENO: result: no" >&5
8001 echo "${ECHO_T}no" >&6
8006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8007 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8009 # Check whether --enable-combobox or --disable-combobox was given.
8010 if test "${enable_combobox+set}" = set; then
8011 enableval
="$enable_combobox"
8013 if test "$enableval" = yes; then
8014 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8016 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8021 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8022 if test "x$LINE" != x
; then
8023 eval "DEFAULT_$LINE"
8028 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8032 eval "$ac_cv_use_combobox"
8033 if test "$no_cache" != 1; then
8034 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8037 if test "$wxUSE_COMBOBOX" = yes; then
8038 echo "$as_me:$LINENO: result: yes" >&5
8039 echo "${ECHO_T}yes" >&6
8041 echo "$as_me:$LINENO: result: no" >&5
8042 echo "${ECHO_T}no" >&6
8047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8048 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8050 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8051 if test "${enable_comboctrl+set}" = set; then
8052 enableval
="$enable_comboctrl"
8054 if test "$enableval" = yes; then
8055 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8057 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8062 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8063 if test "x$LINE" != x
; then
8064 eval "DEFAULT_$LINE"
8069 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8073 eval "$ac_cv_use_comboctrl"
8074 if test "$no_cache" != 1; then
8075 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8078 if test "$wxUSE_COMBOCTRL" = yes; then
8079 echo "$as_me:$LINENO: result: yes" >&5
8080 echo "${ECHO_T}yes" >&6
8082 echo "$as_me:$LINENO: result: no" >&5
8083 echo "${ECHO_T}no" >&6
8088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8089 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8091 # Check whether --enable-datepick or --disable-datepick was given.
8092 if test "${enable_datepick+set}" = set; then
8093 enableval
="$enable_datepick"
8095 if test "$enableval" = yes; then
8096 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8098 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8103 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8104 if test "x$LINE" != x
; then
8105 eval "DEFAULT_$LINE"
8110 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8114 eval "$ac_cv_use_datepick"
8115 if test "$no_cache" != 1; then
8116 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8119 if test "$wxUSE_DATEPICKCTRL" = yes; then
8120 echo "$as_me:$LINENO: result: yes" >&5
8121 echo "${ECHO_T}yes" >&6
8123 echo "$as_me:$LINENO: result: no" >&5
8124 echo "${ECHO_T}no" >&6
8129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8130 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8132 # Check whether --enable-display or --disable-display was given.
8133 if test "${enable_display+set}" = set; then
8134 enableval
="$enable_display"
8136 if test "$enableval" = yes; then
8137 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8139 ac_cv_use_display
='wxUSE_DISPLAY=no'
8144 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8145 if test "x$LINE" != x
; then
8146 eval "DEFAULT_$LINE"
8151 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8155 eval "$ac_cv_use_display"
8156 if test "$no_cache" != 1; then
8157 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8160 if test "$wxUSE_DISPLAY" = yes; then
8161 echo "$as_me:$LINENO: result: yes" >&5
8162 echo "${ECHO_T}yes" >&6
8164 echo "$as_me:$LINENO: result: no" >&5
8165 echo "${ECHO_T}no" >&6
8170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8171 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8173 # Check whether --enable-gauge or --disable-gauge was given.
8174 if test "${enable_gauge+set}" = set; then
8175 enableval
="$enable_gauge"
8177 if test "$enableval" = yes; then
8178 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8180 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8185 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8186 if test "x$LINE" != x
; then
8187 eval "DEFAULT_$LINE"
8192 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8196 eval "$ac_cv_use_gauge"
8197 if test "$no_cache" != 1; then
8198 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8201 if test "$wxUSE_GAUGE" = yes; then
8202 echo "$as_me:$LINENO: result: yes" >&5
8203 echo "${ECHO_T}yes" >&6
8205 echo "$as_me:$LINENO: result: no" >&5
8206 echo "${ECHO_T}no" >&6
8211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8212 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8214 # Check whether --enable-grid or --disable-grid was given.
8215 if test "${enable_grid+set}" = set; then
8216 enableval
="$enable_grid"
8218 if test "$enableval" = yes; then
8219 ac_cv_use_grid
='wxUSE_GRID=yes'
8221 ac_cv_use_grid
='wxUSE_GRID=no'
8226 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8227 if test "x$LINE" != x
; then
8228 eval "DEFAULT_$LINE"
8233 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8237 eval "$ac_cv_use_grid"
8238 if test "$no_cache" != 1; then
8239 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8242 if test "$wxUSE_GRID" = yes; then
8243 echo "$as_me:$LINENO: result: yes" >&5
8244 echo "${ECHO_T}yes" >&6
8246 echo "$as_me:$LINENO: result: no" >&5
8247 echo "${ECHO_T}no" >&6
8252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8253 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8255 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8256 if test "${enable_dataviewctrl+set}" = set; then
8257 enableval
="$enable_dataviewctrl"
8259 if test "$enableval" = yes; then
8260 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8262 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8267 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8268 if test "x$LINE" != x
; then
8269 eval "DEFAULT_$LINE"
8274 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8278 eval "$ac_cv_use_dataviewctrl"
8279 if test "$no_cache" != 1; then
8280 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8283 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8284 echo "$as_me:$LINENO: result: yes" >&5
8285 echo "${ECHO_T}yes" >&6
8287 echo "$as_me:$LINENO: result: no" >&5
8288 echo "${ECHO_T}no" >&6
8293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8294 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8296 # Check whether --enable-imaglist or --disable-imaglist was given.
8297 if test "${enable_imaglist+set}" = set; then
8298 enableval
="$enable_imaglist"
8300 if test "$enableval" = yes; then
8301 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8303 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8308 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8309 if test "x$LINE" != x
; then
8310 eval "DEFAULT_$LINE"
8315 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8319 eval "$ac_cv_use_imaglist"
8320 if test "$no_cache" != 1; then
8321 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8324 if test "$wxUSE_IMAGLIST" = yes; then
8325 echo "$as_me:$LINENO: result: yes" >&5
8326 echo "${ECHO_T}yes" >&6
8328 echo "$as_me:$LINENO: result: no" >&5
8329 echo "${ECHO_T}no" >&6
8334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8335 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8337 # Check whether --enable-listbook or --disable-listbook was given.
8338 if test "${enable_listbook+set}" = set; then
8339 enableval
="$enable_listbook"
8341 if test "$enableval" = yes; then
8342 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8344 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8349 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8350 if test "x$LINE" != x
; then
8351 eval "DEFAULT_$LINE"
8356 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8360 eval "$ac_cv_use_listbook"
8361 if test "$no_cache" != 1; then
8362 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8365 if test "$wxUSE_LISTBOOK" = yes; then
8366 echo "$as_me:$LINENO: result: yes" >&5
8367 echo "${ECHO_T}yes" >&6
8369 echo "$as_me:$LINENO: result: no" >&5
8370 echo "${ECHO_T}no" >&6
8375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8376 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8378 # Check whether --enable-listbox or --disable-listbox was given.
8379 if test "${enable_listbox+set}" = set; then
8380 enableval
="$enable_listbox"
8382 if test "$enableval" = yes; then
8383 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8385 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8390 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8391 if test "x$LINE" != x
; then
8392 eval "DEFAULT_$LINE"
8397 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8401 eval "$ac_cv_use_listbox"
8402 if test "$no_cache" != 1; then
8403 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8406 if test "$wxUSE_LISTBOX" = yes; then
8407 echo "$as_me:$LINENO: result: yes" >&5
8408 echo "${ECHO_T}yes" >&6
8410 echo "$as_me:$LINENO: result: no" >&5
8411 echo "${ECHO_T}no" >&6
8416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8417 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8419 # Check whether --enable-listctrl or --disable-listctrl was given.
8420 if test "${enable_listctrl+set}" = set; then
8421 enableval
="$enable_listctrl"
8423 if test "$enableval" = yes; then
8424 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8426 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8431 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8432 if test "x$LINE" != x
; then
8433 eval "DEFAULT_$LINE"
8438 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8442 eval "$ac_cv_use_listctrl"
8443 if test "$no_cache" != 1; then
8444 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8447 if test "$wxUSE_LISTCTRL" = yes; then
8448 echo "$as_me:$LINENO: result: yes" >&5
8449 echo "${ECHO_T}yes" >&6
8451 echo "$as_me:$LINENO: result: no" >&5
8452 echo "${ECHO_T}no" >&6
8457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8458 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8460 # Check whether --enable-notebook or --disable-notebook was given.
8461 if test "${enable_notebook+set}" = set; then
8462 enableval
="$enable_notebook"
8464 if test "$enableval" = yes; then
8465 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8467 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8472 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8473 if test "x$LINE" != x
; then
8474 eval "DEFAULT_$LINE"
8479 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8483 eval "$ac_cv_use_notebook"
8484 if test "$no_cache" != 1; then
8485 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8488 if test "$wxUSE_NOTEBOOK" = yes; then
8489 echo "$as_me:$LINENO: result: yes" >&5
8490 echo "${ECHO_T}yes" >&6
8492 echo "$as_me:$LINENO: result: no" >&5
8493 echo "${ECHO_T}no" >&6
8498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8499 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8501 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8502 if test "${enable_odcombobox+set}" = set; then
8503 enableval
="$enable_odcombobox"
8505 if test "$enableval" = yes; then
8506 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
8508 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
8513 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8514 if test "x$LINE" != x
; then
8515 eval "DEFAULT_$LINE"
8520 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8524 eval "$ac_cv_use_odcombobox"
8525 if test "$no_cache" != 1; then
8526 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8529 if test "$wxUSE_ODCOMBOBOX" = yes; then
8530 echo "$as_me:$LINENO: result: yes" >&5
8531 echo "${ECHO_T}yes" >&6
8533 echo "$as_me:$LINENO: result: no" >&5
8534 echo "${ECHO_T}no" >&6
8539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8540 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8542 # Check whether --enable-radiobox or --disable-radiobox was given.
8543 if test "${enable_radiobox+set}" = set; then
8544 enableval
="$enable_radiobox"
8546 if test "$enableval" = yes; then
8547 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8549 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8554 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8555 if test "x$LINE" != x
; then
8556 eval "DEFAULT_$LINE"
8561 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8565 eval "$ac_cv_use_radiobox"
8566 if test "$no_cache" != 1; then
8567 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8570 if test "$wxUSE_RADIOBOX" = yes; then
8571 echo "$as_me:$LINENO: result: yes" >&5
8572 echo "${ECHO_T}yes" >&6
8574 echo "$as_me:$LINENO: result: no" >&5
8575 echo "${ECHO_T}no" >&6
8580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8581 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8583 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8584 if test "${enable_radiobtn+set}" = set; then
8585 enableval
="$enable_radiobtn"
8587 if test "$enableval" = yes; then
8588 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8590 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8595 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8596 if test "x$LINE" != x
; then
8597 eval "DEFAULT_$LINE"
8602 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8606 eval "$ac_cv_use_radiobtn"
8607 if test "$no_cache" != 1; then
8608 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8611 if test "$wxUSE_RADIOBTN" = yes; then
8612 echo "$as_me:$LINENO: result: yes" >&5
8613 echo "${ECHO_T}yes" >&6
8615 echo "$as_me:$LINENO: result: no" >&5
8616 echo "${ECHO_T}no" >&6
8621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8622 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8624 # Check whether --enable-sash or --disable-sash was given.
8625 if test "${enable_sash+set}" = set; then
8626 enableval
="$enable_sash"
8628 if test "$enableval" = yes; then
8629 ac_cv_use_sash
='wxUSE_SASH=yes'
8631 ac_cv_use_sash
='wxUSE_SASH=no'
8636 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8637 if test "x$LINE" != x
; then
8638 eval "DEFAULT_$LINE"
8643 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8647 eval "$ac_cv_use_sash"
8648 if test "$no_cache" != 1; then
8649 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8652 if test "$wxUSE_SASH" = yes; then
8653 echo "$as_me:$LINENO: result: yes" >&5
8654 echo "${ECHO_T}yes" >&6
8656 echo "$as_me:$LINENO: result: no" >&5
8657 echo "${ECHO_T}no" >&6
8662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8665 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8666 if test "${enable_scrollbar+set}" = set; then
8667 enableval
="$enable_scrollbar"
8669 if test "$enableval" = yes; then
8670 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8672 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8677 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8678 if test "x$LINE" != x
; then
8679 eval "DEFAULT_$LINE"
8684 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8688 eval "$ac_cv_use_scrollbar"
8689 if test "$no_cache" != 1; then
8690 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8693 if test "$wxUSE_SCROLLBAR" = yes; then
8694 echo "$as_me:$LINENO: result: yes" >&5
8695 echo "${ECHO_T}yes" >&6
8697 echo "$as_me:$LINENO: result: no" >&5
8698 echo "${ECHO_T}no" >&6
8703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8704 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8706 # Check whether --enable-slider or --disable-slider was given.
8707 if test "${enable_slider+set}" = set; then
8708 enableval
="$enable_slider"
8710 if test "$enableval" = yes; then
8711 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8713 ac_cv_use_slider
='wxUSE_SLIDER=no'
8718 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8719 if test "x$LINE" != x
; then
8720 eval "DEFAULT_$LINE"
8725 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8729 eval "$ac_cv_use_slider"
8730 if test "$no_cache" != 1; then
8731 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8734 if test "$wxUSE_SLIDER" = yes; then
8735 echo "$as_me:$LINENO: result: yes" >&5
8736 echo "${ECHO_T}yes" >&6
8738 echo "$as_me:$LINENO: result: no" >&5
8739 echo "${ECHO_T}no" >&6
8744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8745 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8747 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8748 if test "${enable_spinbtn+set}" = set; then
8749 enableval
="$enable_spinbtn"
8751 if test "$enableval" = yes; then
8752 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8754 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8759 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8760 if test "x$LINE" != x
; then
8761 eval "DEFAULT_$LINE"
8766 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8770 eval "$ac_cv_use_spinbtn"
8771 if test "$no_cache" != 1; then
8772 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8775 if test "$wxUSE_SPINBTN" = yes; then
8776 echo "$as_me:$LINENO: result: yes" >&5
8777 echo "${ECHO_T}yes" >&6
8779 echo "$as_me:$LINENO: result: no" >&5
8780 echo "${ECHO_T}no" >&6
8785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8788 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8789 if test "${enable_spinctrl+set}" = set; then
8790 enableval
="$enable_spinctrl"
8792 if test "$enableval" = yes; then
8793 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8795 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8800 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8801 if test "x$LINE" != x
; then
8802 eval "DEFAULT_$LINE"
8807 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8811 eval "$ac_cv_use_spinctrl"
8812 if test "$no_cache" != 1; then
8813 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8816 if test "$wxUSE_SPINCTRL" = yes; then
8817 echo "$as_me:$LINENO: result: yes" >&5
8818 echo "${ECHO_T}yes" >&6
8820 echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6
8826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8827 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8829 # Check whether --enable-splitter or --disable-splitter was given.
8830 if test "${enable_splitter+set}" = set; then
8831 enableval
="$enable_splitter"
8833 if test "$enableval" = yes; then
8834 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8836 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8841 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8842 if test "x$LINE" != x
; then
8843 eval "DEFAULT_$LINE"
8848 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8852 eval "$ac_cv_use_splitter"
8853 if test "$no_cache" != 1; then
8854 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8857 if test "$wxUSE_SPLITTER" = yes; then
8858 echo "$as_me:$LINENO: result: yes" >&5
8859 echo "${ECHO_T}yes" >&6
8861 echo "$as_me:$LINENO: result: no" >&5
8862 echo "${ECHO_T}no" >&6
8867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8870 # Check whether --enable-statbmp or --disable-statbmp was given.
8871 if test "${enable_statbmp+set}" = set; then
8872 enableval
="$enable_statbmp"
8874 if test "$enableval" = yes; then
8875 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8877 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8882 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8883 if test "x$LINE" != x
; then
8884 eval "DEFAULT_$LINE"
8889 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8893 eval "$ac_cv_use_statbmp"
8894 if test "$no_cache" != 1; then
8895 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8898 if test "$wxUSE_STATBMP" = yes; then
8899 echo "$as_me:$LINENO: result: yes" >&5
8900 echo "${ECHO_T}yes" >&6
8902 echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6
8908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8909 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8911 # Check whether --enable-statbox or --disable-statbox was given.
8912 if test "${enable_statbox+set}" = set; then
8913 enableval
="$enable_statbox"
8915 if test "$enableval" = yes; then
8916 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8918 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8923 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8924 if test "x$LINE" != x
; then
8925 eval "DEFAULT_$LINE"
8930 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8934 eval "$ac_cv_use_statbox"
8935 if test "$no_cache" != 1; then
8936 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8939 if test "$wxUSE_STATBOX" = yes; then
8940 echo "$as_me:$LINENO: result: yes" >&5
8941 echo "${ECHO_T}yes" >&6
8943 echo "$as_me:$LINENO: result: no" >&5
8944 echo "${ECHO_T}no" >&6
8949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8950 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8952 # Check whether --enable-statline or --disable-statline was given.
8953 if test "${enable_statline+set}" = set; then
8954 enableval
="$enable_statline"
8956 if test "$enableval" = yes; then
8957 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8959 ac_cv_use_statline
='wxUSE_STATLINE=no'
8964 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8965 if test "x$LINE" != x
; then
8966 eval "DEFAULT_$LINE"
8971 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8975 eval "$ac_cv_use_statline"
8976 if test "$no_cache" != 1; then
8977 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8980 if test "$wxUSE_STATLINE" = yes; then
8981 echo "$as_me:$LINENO: result: yes" >&5
8982 echo "${ECHO_T}yes" >&6
8984 echo "$as_me:$LINENO: result: no" >&5
8985 echo "${ECHO_T}no" >&6
8990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8993 # Check whether --enable-stattext or --disable-stattext was given.
8994 if test "${enable_stattext+set}" = set; then
8995 enableval
="$enable_stattext"
8997 if test "$enableval" = yes; then
8998 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9000 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9005 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9006 if test "x$LINE" != x
; then
9007 eval "DEFAULT_$LINE"
9012 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9016 eval "$ac_cv_use_stattext"
9017 if test "$no_cache" != 1; then
9018 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9021 if test "$wxUSE_STATTEXT" = yes; then
9022 echo "$as_me:$LINENO: result: yes" >&5
9023 echo "${ECHO_T}yes" >&6
9025 echo "$as_me:$LINENO: result: no" >&5
9026 echo "${ECHO_T}no" >&6
9031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9034 # Check whether --enable-statusbar or --disable-statusbar was given.
9035 if test "${enable_statusbar+set}" = set; then
9036 enableval
="$enable_statusbar"
9038 if test "$enableval" = yes; then
9039 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9041 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9046 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x
; then
9048 eval "DEFAULT_$LINE"
9053 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9057 eval "$ac_cv_use_statusbar"
9058 if test "$no_cache" != 1; then
9059 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9062 if test "$wxUSE_STATUSBAR" = yes; then
9063 echo "$as_me:$LINENO: result: yes" >&5
9064 echo "${ECHO_T}yes" >&6
9066 echo "$as_me:$LINENO: result: no" >&5
9067 echo "${ECHO_T}no" >&6
9072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9075 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9076 if test "${enable_tabdialog+set}" = set; then
9077 enableval
="$enable_tabdialog"
9079 if test "$enableval" = yes; then
9080 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9082 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9087 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9088 if test "x$LINE" != x
; then
9089 eval "DEFAULT_$LINE"
9094 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9098 eval "$ac_cv_use_tabdialog"
9099 if test "$no_cache" != 1; then
9100 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9103 if test "$wxUSE_TAB_DIALOG" = yes; then
9104 echo "$as_me:$LINENO: result: yes" >&5
9105 echo "${ECHO_T}yes" >&6
9107 echo "$as_me:$LINENO: result: no" >&5
9108 echo "${ECHO_T}no" >&6
9113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9116 # Check whether --enable-textctrl or --disable-textctrl was given.
9117 if test "${enable_textctrl+set}" = set; then
9118 enableval
="$enable_textctrl"
9120 if test "$enableval" = yes; then
9121 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9123 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9128 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9129 if test "x$LINE" != x
; then
9130 eval "DEFAULT_$LINE"
9135 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9139 eval "$ac_cv_use_textctrl"
9140 if test "$no_cache" != 1; then
9141 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9144 if test "$wxUSE_TEXTCTRL" = yes; then
9145 echo "$as_me:$LINENO: result: yes" >&5
9146 echo "${ECHO_T}yes" >&6
9148 echo "$as_me:$LINENO: result: no" >&5
9149 echo "${ECHO_T}no" >&6
9154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9155 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9157 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9158 if test "${enable_togglebtn+set}" = set; then
9159 enableval
="$enable_togglebtn"
9161 if test "$enableval" = yes; then
9162 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9164 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9169 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9170 if test "x$LINE" != x
; then
9171 eval "DEFAULT_$LINE"
9176 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9180 eval "$ac_cv_use_togglebtn"
9181 if test "$no_cache" != 1; then
9182 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9185 if test "$wxUSE_TOGGLEBTN" = yes; then
9186 echo "$as_me:$LINENO: result: yes" >&5
9187 echo "${ECHO_T}yes" >&6
9189 echo "$as_me:$LINENO: result: no" >&5
9190 echo "${ECHO_T}no" >&6
9195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9196 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9198 # Check whether --enable-toolbar or --disable-toolbar was given.
9199 if test "${enable_toolbar+set}" = set; then
9200 enableval
="$enable_toolbar"
9202 if test "$enableval" = yes; then
9203 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9205 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9210 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9211 if test "x$LINE" != x
; then
9212 eval "DEFAULT_$LINE"
9217 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9221 eval "$ac_cv_use_toolbar"
9222 if test "$no_cache" != 1; then
9223 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9226 if test "$wxUSE_TOOLBAR" = yes; then
9227 echo "$as_me:$LINENO: result: yes" >&5
9228 echo "${ECHO_T}yes" >&6
9230 echo "$as_me:$LINENO: result: no" >&5
9231 echo "${ECHO_T}no" >&6
9236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9237 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9239 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9240 if test "${enable_tbarnative+set}" = set; then
9241 enableval
="$enable_tbarnative"
9243 if test "$enableval" = yes; then
9244 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9246 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9251 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9252 if test "x$LINE" != x
; then
9253 eval "DEFAULT_$LINE"
9258 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9262 eval "$ac_cv_use_tbarnative"
9263 if test "$no_cache" != 1; then
9264 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9267 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9268 echo "$as_me:$LINENO: result: yes" >&5
9269 echo "${ECHO_T}yes" >&6
9271 echo "$as_me:$LINENO: result: no" >&5
9272 echo "${ECHO_T}no" >&6
9277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9278 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9280 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9281 if test "${enable_tbarsmpl+set}" = set; then
9282 enableval
="$enable_tbarsmpl"
9284 if test "$enableval" = yes; then
9285 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
9287 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
9292 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9293 if test "x$LINE" != x
; then
9294 eval "DEFAULT_$LINE"
9299 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9303 eval "$ac_cv_use_tbarsmpl"
9304 if test "$no_cache" != 1; then
9305 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9308 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9309 echo "$as_me:$LINENO: result: yes" >&5
9310 echo "${ECHO_T}yes" >&6
9312 echo "$as_me:$LINENO: result: no" >&5
9313 echo "${ECHO_T}no" >&6
9318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9319 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9321 # Check whether --enable-treebook or --disable-treebook was given.
9322 if test "${enable_treebook+set}" = set; then
9323 enableval
="$enable_treebook"
9325 if test "$enableval" = yes; then
9326 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9328 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9333 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9334 if test "x$LINE" != x
; then
9335 eval "DEFAULT_$LINE"
9340 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9344 eval "$ac_cv_use_treebook"
9345 if test "$no_cache" != 1; then
9346 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9349 if test "$wxUSE_TREEBOOK" = yes; then
9350 echo "$as_me:$LINENO: result: yes" >&5
9351 echo "${ECHO_T}yes" >&6
9353 echo "$as_me:$LINENO: result: no" >&5
9354 echo "${ECHO_T}no" >&6
9359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9360 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9362 # Check whether --enable-toolbook or --disable-toolbook was given.
9363 if test "${enable_toolbook+set}" = set; then
9364 enableval
="$enable_toolbook"
9366 if test "$enableval" = yes; then
9367 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9369 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9374 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9375 if test "x$LINE" != x
; then
9376 eval "DEFAULT_$LINE"
9381 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9385 eval "$ac_cv_use_toolbook"
9386 if test "$no_cache" != 1; then
9387 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9390 if test "$wxUSE_TOOLBOOK" = yes; then
9391 echo "$as_me:$LINENO: result: yes" >&5
9392 echo "${ECHO_T}yes" >&6
9394 echo "$as_me:$LINENO: result: no" >&5
9395 echo "${ECHO_T}no" >&6
9400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9401 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9403 # Check whether --enable-treectrl or --disable-treectrl was given.
9404 if test "${enable_treectrl+set}" = set; then
9405 enableval
="$enable_treectrl"
9407 if test "$enableval" = yes; then
9408 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9410 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9415 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9416 if test "x$LINE" != x
; then
9417 eval "DEFAULT_$LINE"
9422 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9426 eval "$ac_cv_use_treectrl"
9427 if test "$no_cache" != 1; then
9428 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9431 if test "$wxUSE_TREECTRL" = yes; then
9432 echo "$as_me:$LINENO: result: yes" >&5
9433 echo "${ECHO_T}yes" >&6
9435 echo "$as_me:$LINENO: result: no" >&5
9436 echo "${ECHO_T}no" >&6
9441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9442 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9444 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9445 if test "${enable_tipwindow+set}" = set; then
9446 enableval
="$enable_tipwindow"
9448 if test "$enableval" = yes; then
9449 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9451 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9456 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9457 if test "x$LINE" != x
; then
9458 eval "DEFAULT_$LINE"
9463 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9467 eval "$ac_cv_use_tipwindow"
9468 if test "$no_cache" != 1; then
9469 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9472 if test "$wxUSE_TIPWINDOW" = yes; then
9473 echo "$as_me:$LINENO: result: yes" >&5
9474 echo "${ECHO_T}yes" >&6
9476 echo "$as_me:$LINENO: result: no" >&5
9477 echo "${ECHO_T}no" >&6
9482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9483 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9485 # Check whether --enable-popupwin or --disable-popupwin was given.
9486 if test "${enable_popupwin+set}" = set; then
9487 enableval
="$enable_popupwin"
9489 if test "$enableval" = yes; then
9490 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9492 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9497 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9498 if test "x$LINE" != x
; then
9499 eval "DEFAULT_$LINE"
9504 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9508 eval "$ac_cv_use_popupwin"
9509 if test "$no_cache" != 1; then
9510 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9513 if test "$wxUSE_POPUPWIN" = yes; then
9514 echo "$as_me:$LINENO: result: yes" >&5
9515 echo "${ECHO_T}yes" >&6
9517 echo "$as_me:$LINENO: result: no" >&5
9518 echo "${ECHO_T}no" >&6
9525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9528 # Check whether --enable-commondlg or --disable-commondlg was given.
9529 if test "${enable_commondlg+set}" = set; then
9530 enableval
="$enable_commondlg"
9532 if test "$enableval" = yes; then
9533 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9535 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9540 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9541 if test "x$LINE" != x
; then
9542 eval "DEFAULT_$LINE"
9547 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9551 eval "$ac_cv_use_commondlg"
9552 if test "$no_cache" != 1; then
9553 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9556 if test "$wxUSE_COMMONDLGS" = yes; then
9557 echo "$as_me:$LINENO: result: yes" >&5
9558 echo "${ECHO_T}yes" >&6
9560 echo "$as_me:$LINENO: result: no" >&5
9561 echo "${ECHO_T}no" >&6
9566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9569 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9570 if test "${enable_choicedlg+set}" = set; then
9571 enableval
="$enable_choicedlg"
9573 if test "$enableval" = yes; then
9574 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9576 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9581 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9582 if test "x$LINE" != x
; then
9583 eval "DEFAULT_$LINE"
9588 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9592 eval "$ac_cv_use_choicedlg"
9593 if test "$no_cache" != 1; then
9594 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9597 if test "$wxUSE_CHOICEDLG" = yes; then
9598 echo "$as_me:$LINENO: result: yes" >&5
9599 echo "${ECHO_T}yes" >&6
9601 echo "$as_me:$LINENO: result: no" >&5
9602 echo "${ECHO_T}no" >&6
9607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9608 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9610 # Check whether --enable-coldlg or --disable-coldlg was given.
9611 if test "${enable_coldlg+set}" = set; then
9612 enableval
="$enable_coldlg"
9614 if test "$enableval" = yes; then
9615 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9617 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9622 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9623 if test "x$LINE" != x
; then
9624 eval "DEFAULT_$LINE"
9629 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9633 eval "$ac_cv_use_coldlg"
9634 if test "$no_cache" != 1; then
9635 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9638 if test "$wxUSE_COLOURDLG" = yes; then
9639 echo "$as_me:$LINENO: result: yes" >&5
9640 echo "${ECHO_T}yes" >&6
9642 echo "$as_me:$LINENO: result: no" >&5
9643 echo "${ECHO_T}no" >&6
9648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9649 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9651 # Check whether --enable-filedlg or --disable-filedlg was given.
9652 if test "${enable_filedlg+set}" = set; then
9653 enableval
="$enable_filedlg"
9655 if test "$enableval" = yes; then
9656 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9658 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9663 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9664 if test "x$LINE" != x
; then
9665 eval "DEFAULT_$LINE"
9670 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9674 eval "$ac_cv_use_filedlg"
9675 if test "$no_cache" != 1; then
9676 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9679 if test "$wxUSE_FILEDLG" = yes; then
9680 echo "$as_me:$LINENO: result: yes" >&5
9681 echo "${ECHO_T}yes" >&6
9683 echo "$as_me:$LINENO: result: no" >&5
9684 echo "${ECHO_T}no" >&6
9689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9690 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9692 # Check whether --enable-finddlg or --disable-finddlg was given.
9693 if test "${enable_finddlg+set}" = set; then
9694 enableval
="$enable_finddlg"
9696 if test "$enableval" = yes; then
9697 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9699 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9704 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9705 if test "x$LINE" != x
; then
9706 eval "DEFAULT_$LINE"
9711 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9715 eval "$ac_cv_use_finddlg"
9716 if test "$no_cache" != 1; then
9717 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9720 if test "$wxUSE_FINDREPLDLG" = yes; then
9721 echo "$as_me:$LINENO: result: yes" >&5
9722 echo "${ECHO_T}yes" >&6
9724 echo "$as_me:$LINENO: result: no" >&5
9725 echo "${ECHO_T}no" >&6
9730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9731 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9733 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9734 if test "${enable_fontdlg+set}" = set; then
9735 enableval
="$enable_fontdlg"
9737 if test "$enableval" = yes; then
9738 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9740 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9745 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9746 if test "x$LINE" != x
; then
9747 eval "DEFAULT_$LINE"
9752 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9756 eval "$ac_cv_use_fontdlg"
9757 if test "$no_cache" != 1; then
9758 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9761 if test "$wxUSE_FONTDLG" = yes; then
9762 echo "$as_me:$LINENO: result: yes" >&5
9763 echo "${ECHO_T}yes" >&6
9765 echo "$as_me:$LINENO: result: no" >&5
9766 echo "${ECHO_T}no" >&6
9771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9772 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9774 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9775 if test "${enable_dirdlg+set}" = set; then
9776 enableval
="$enable_dirdlg"
9778 if test "$enableval" = yes; then
9779 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9781 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9786 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9787 if test "x$LINE" != x
; then
9788 eval "DEFAULT_$LINE"
9793 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9797 eval "$ac_cv_use_dirdlg"
9798 if test "$no_cache" != 1; then
9799 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9802 if test "$wxUSE_DIRDLG" = yes; then
9803 echo "$as_me:$LINENO: result: yes" >&5
9804 echo "${ECHO_T}yes" >&6
9806 echo "$as_me:$LINENO: result: no" >&5
9807 echo "${ECHO_T}no" >&6
9812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9813 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9815 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9816 if test "${enable_msgdlg+set}" = set; then
9817 enableval
="$enable_msgdlg"
9819 if test "$enableval" = yes; then
9820 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9822 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9827 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9828 if test "x$LINE" != x
; then
9829 eval "DEFAULT_$LINE"
9834 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9838 eval "$ac_cv_use_msgdlg"
9839 if test "$no_cache" != 1; then
9840 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9843 if test "$wxUSE_MSGDLG" = yes; then
9844 echo "$as_me:$LINENO: result: yes" >&5
9845 echo "${ECHO_T}yes" >&6
9847 echo "$as_me:$LINENO: result: no" >&5
9848 echo "${ECHO_T}no" >&6
9853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9854 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9856 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9857 if test "${enable_numberdlg+set}" = set; then
9858 enableval
="$enable_numberdlg"
9860 if test "$enableval" = yes; then
9861 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9863 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9868 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9869 if test "x$LINE" != x
; then
9870 eval "DEFAULT_$LINE"
9875 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9879 eval "$ac_cv_use_numberdlg"
9880 if test "$no_cache" != 1; then
9881 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9884 if test "$wxUSE_NUMBERDLG" = yes; then
9885 echo "$as_me:$LINENO: result: yes" >&5
9886 echo "${ECHO_T}yes" >&6
9888 echo "$as_me:$LINENO: result: no" >&5
9889 echo "${ECHO_T}no" >&6
9894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9895 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9897 # Check whether --enable-splash or --disable-splash was given.
9898 if test "${enable_splash+set}" = set; then
9899 enableval
="$enable_splash"
9901 if test "$enableval" = yes; then
9902 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9904 ac_cv_use_splash
='wxUSE_SPLASH=no'
9909 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9910 if test "x$LINE" != x
; then
9911 eval "DEFAULT_$LINE"
9916 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9920 eval "$ac_cv_use_splash"
9921 if test "$no_cache" != 1; then
9922 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9925 if test "$wxUSE_SPLASH" = yes; then
9926 echo "$as_me:$LINENO: result: yes" >&5
9927 echo "${ECHO_T}yes" >&6
9929 echo "$as_me:$LINENO: result: no" >&5
9930 echo "${ECHO_T}no" >&6
9935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9938 # Check whether --enable-textdlg or --disable-textdlg was given.
9939 if test "${enable_textdlg+set}" = set; then
9940 enableval
="$enable_textdlg"
9942 if test "$enableval" = yes; then
9943 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9945 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9950 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9951 if test "x$LINE" != x
; then
9952 eval "DEFAULT_$LINE"
9957 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9961 eval "$ac_cv_use_textdlg"
9962 if test "$no_cache" != 1; then
9963 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9966 if test "$wxUSE_TEXTDLG" = yes; then
9967 echo "$as_me:$LINENO: result: yes" >&5
9968 echo "${ECHO_T}yes" >&6
9970 echo "$as_me:$LINENO: result: no" >&5
9971 echo "${ECHO_T}no" >&6
9976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9977 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9979 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9980 if test "${enable_tipdlg+set}" = set; then
9981 enableval
="$enable_tipdlg"
9983 if test "$enableval" = yes; then
9984 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9986 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9991 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9992 if test "x$LINE" != x
; then
9993 eval "DEFAULT_$LINE"
9998 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10002 eval "$ac_cv_use_tipdlg"
10003 if test "$no_cache" != 1; then
10004 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10007 if test "$wxUSE_STARTUP_TIPS" = yes; then
10008 echo "$as_me:$LINENO: result: yes" >&5
10009 echo "${ECHO_T}yes" >&6
10011 echo "$as_me:$LINENO: result: no" >&5
10012 echo "${ECHO_T}no" >&6
10017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10020 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10021 if test "${enable_progressdlg+set}" = set; then
10022 enableval
="$enable_progressdlg"
10024 if test "$enableval" = yes; then
10025 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10027 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10032 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10033 if test "x$LINE" != x
; then
10034 eval "DEFAULT_$LINE"
10039 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10043 eval "$ac_cv_use_progressdlg"
10044 if test "$no_cache" != 1; then
10045 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10048 if test "$wxUSE_PROGRESSDLG" = yes; then
10049 echo "$as_me:$LINENO: result: yes" >&5
10050 echo "${ECHO_T}yes" >&6
10052 echo "$as_me:$LINENO: result: no" >&5
10053 echo "${ECHO_T}no" >&6
10058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10059 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10061 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10062 if test "${enable_wizarddlg+set}" = set; then
10063 enableval
="$enable_wizarddlg"
10065 if test "$enableval" = yes; then
10066 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10068 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10073 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10074 if test "x$LINE" != x
; then
10075 eval "DEFAULT_$LINE"
10080 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10084 eval "$ac_cv_use_wizarddlg"
10085 if test "$no_cache" != 1; then
10086 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10089 if test "$wxUSE_WIZARDDLG" = yes; then
10090 echo "$as_me:$LINENO: result: yes" >&5
10091 echo "${ECHO_T}yes" >&6
10093 echo "$as_me:$LINENO: result: no" >&5
10094 echo "${ECHO_T}no" >&6
10101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10102 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10104 # Check whether --enable-menus or --disable-menus was given.
10105 if test "${enable_menus+set}" = set; then
10106 enableval
="$enable_menus"
10108 if test "$enableval" = yes; then
10109 ac_cv_use_menus
='wxUSE_MENUS=yes'
10111 ac_cv_use_menus
='wxUSE_MENUS=no'
10116 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10117 if test "x$LINE" != x
; then
10118 eval "DEFAULT_$LINE"
10123 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10127 eval "$ac_cv_use_menus"
10128 if test "$no_cache" != 1; then
10129 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10132 if test "$wxUSE_MENUS" = yes; then
10133 echo "$as_me:$LINENO: result: yes" >&5
10134 echo "${ECHO_T}yes" >&6
10136 echo "$as_me:$LINENO: result: no" >&5
10137 echo "${ECHO_T}no" >&6
10142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10143 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10145 # Check whether --enable-miniframe or --disable-miniframe was given.
10146 if test "${enable_miniframe+set}" = set; then
10147 enableval
="$enable_miniframe"
10149 if test "$enableval" = yes; then
10150 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10152 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10157 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10158 if test "x$LINE" != x
; then
10159 eval "DEFAULT_$LINE"
10164 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10168 eval "$ac_cv_use_miniframe"
10169 if test "$no_cache" != 1; then
10170 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10173 if test "$wxUSE_MINIFRAME" = yes; then
10174 echo "$as_me:$LINENO: result: yes" >&5
10175 echo "${ECHO_T}yes" >&6
10177 echo "$as_me:$LINENO: result: no" >&5
10178 echo "${ECHO_T}no" >&6
10183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10186 # Check whether --enable-tooltips or --disable-tooltips was given.
10187 if test "${enable_tooltips+set}" = set; then
10188 enableval
="$enable_tooltips"
10190 if test "$enableval" = yes; then
10191 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10193 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10198 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10199 if test "x$LINE" != x
; then
10200 eval "DEFAULT_$LINE"
10205 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10209 eval "$ac_cv_use_tooltips"
10210 if test "$no_cache" != 1; then
10211 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10214 if test "$wxUSE_TOOLTIPS" = yes; then
10215 echo "$as_me:$LINENO: result: yes" >&5
10216 echo "${ECHO_T}yes" >&6
10218 echo "$as_me:$LINENO: result: no" >&5
10219 echo "${ECHO_T}no" >&6
10224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10225 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10227 # Check whether --enable-splines or --disable-splines was given.
10228 if test "${enable_splines+set}" = set; then
10229 enableval
="$enable_splines"
10231 if test "$enableval" = yes; then
10232 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10234 ac_cv_use_splines
='wxUSE_SPLINES=no'
10239 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10240 if test "x$LINE" != x
; then
10241 eval "DEFAULT_$LINE"
10246 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10250 eval "$ac_cv_use_splines"
10251 if test "$no_cache" != 1; then
10252 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10255 if test "$wxUSE_SPLINES" = yes; then
10256 echo "$as_me:$LINENO: result: yes" >&5
10257 echo "${ECHO_T}yes" >&6
10259 echo "$as_me:$LINENO: result: no" >&5
10260 echo "${ECHO_T}no" >&6
10265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10266 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10268 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10269 if test "${enable_mousewheel+set}" = set; then
10270 enableval
="$enable_mousewheel"
10272 if test "$enableval" = yes; then
10273 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10275 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10280 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10281 if test "x$LINE" != x
; then
10282 eval "DEFAULT_$LINE"
10287 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10291 eval "$ac_cv_use_mousewheel"
10292 if test "$no_cache" != 1; then
10293 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10296 if test "$wxUSE_MOUSEWHEEL" = yes; then
10297 echo "$as_me:$LINENO: result: yes" >&5
10298 echo "${ECHO_T}yes" >&6
10300 echo "$as_me:$LINENO: result: no" >&5
10301 echo "${ECHO_T}no" >&6
10306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10307 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10309 # Check whether --enable-validators or --disable-validators was given.
10310 if test "${enable_validators+set}" = set; then
10311 enableval
="$enable_validators"
10313 if test "$enableval" = yes; then
10314 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10316 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10321 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10322 if test "x$LINE" != x
; then
10323 eval "DEFAULT_$LINE"
10328 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10332 eval "$ac_cv_use_validators"
10333 if test "$no_cache" != 1; then
10334 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10337 if test "$wxUSE_VALIDATORS" = yes; then
10338 echo "$as_me:$LINENO: result: yes" >&5
10339 echo "${ECHO_T}yes" >&6
10341 echo "$as_me:$LINENO: result: no" >&5
10342 echo "${ECHO_T}no" >&6
10347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10348 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10350 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10351 if test "${enable_busyinfo+set}" = set; then
10352 enableval
="$enable_busyinfo"
10354 if test "$enableval" = yes; then
10355 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10357 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10362 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10363 if test "x$LINE" != x
; then
10364 eval "DEFAULT_$LINE"
10369 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10373 eval "$ac_cv_use_busyinfo"
10374 if test "$no_cache" != 1; then
10375 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10378 if test "$wxUSE_BUSYINFO" = yes; then
10379 echo "$as_me:$LINENO: result: yes" >&5
10380 echo "${ECHO_T}yes" >&6
10382 echo "$as_me:$LINENO: result: no" >&5
10383 echo "${ECHO_T}no" >&6
10388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10389 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10391 # Check whether --enable-joystick or --disable-joystick was given.
10392 if test "${enable_joystick+set}" = set; then
10393 enableval
="$enable_joystick"
10395 if test "$enableval" = yes; then
10396 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10398 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10403 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10404 if test "x$LINE" != x
; then
10405 eval "DEFAULT_$LINE"
10410 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10414 eval "$ac_cv_use_joystick"
10415 if test "$no_cache" != 1; then
10416 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10419 if test "$wxUSE_JOYSTICK" = yes; then
10420 echo "$as_me:$LINENO: result: yes" >&5
10421 echo "${ECHO_T}yes" >&6
10423 echo "$as_me:$LINENO: result: no" >&5
10424 echo "${ECHO_T}no" >&6
10429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10430 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10432 # Check whether --enable-metafile or --disable-metafile was given.
10433 if test "${enable_metafile+set}" = set; then
10434 enableval
="$enable_metafile"
10436 if test "$enableval" = yes; then
10437 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10439 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10444 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10445 if test "x$LINE" != x
; then
10446 eval "DEFAULT_$LINE"
10451 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10455 eval "$ac_cv_use_metafile"
10456 if test "$no_cache" != 1; then
10457 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10460 if test "$wxUSE_METAFILE" = yes; then
10461 echo "$as_me:$LINENO: result: yes" >&5
10462 echo "${ECHO_T}yes" >&6
10464 echo "$as_me:$LINENO: result: no" >&5
10465 echo "${ECHO_T}no" >&6
10470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10471 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10473 # Check whether --enable-dragimage or --disable-dragimage was given.
10474 if test "${enable_dragimage+set}" = set; then
10475 enableval
="$enable_dragimage"
10477 if test "$enableval" = yes; then
10478 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10480 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10485 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10486 if test "x$LINE" != x
; then
10487 eval "DEFAULT_$LINE"
10492 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10496 eval "$ac_cv_use_dragimage"
10497 if test "$no_cache" != 1; then
10498 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10501 if test "$wxUSE_DRAGIMAGE" = yes; then
10502 echo "$as_me:$LINENO: result: yes" >&5
10503 echo "${ECHO_T}yes" >&6
10505 echo "$as_me:$LINENO: result: no" >&5
10506 echo "${ECHO_T}no" >&6
10511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10512 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10514 # Check whether --enable-accessibility or --disable-accessibility was given.
10515 if test "${enable_accessibility+set}" = set; then
10516 enableval
="$enable_accessibility"
10518 if test "$enableval" = yes; then
10519 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10521 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10526 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10527 if test "x$LINE" != x
; then
10528 eval "DEFAULT_$LINE"
10533 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10537 eval "$ac_cv_use_accessibility"
10538 if test "$no_cache" != 1; then
10539 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10542 if test "$wxUSE_ACCESSIBILITY" = yes; then
10543 echo "$as_me:$LINENO: result: yes" >&5
10544 echo "${ECHO_T}yes" >&6
10546 echo "$as_me:$LINENO: result: no" >&5
10547 echo "${ECHO_T}no" >&6
10551 if test "$wxUSE_MSW" = "1"; then
10554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10557 # Check whether --enable-dccache or --disable-dccache was given.
10558 if test "${enable_dccache+set}" = set; then
10559 enableval
="$enable_dccache"
10561 if test "$enableval" = yes; then
10562 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10564 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10569 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10570 if test "x$LINE" != x
; then
10571 eval "DEFAULT_$LINE"
10576 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10580 eval "$ac_cv_use_dccache"
10581 if test "$no_cache" != 1; then
10582 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10585 if test "$wxUSE_DC_CACHEING" = yes; then
10586 echo "$as_me:$LINENO: result: yes" >&5
10587 echo "${ECHO_T}yes" >&6
10589 echo "$as_me:$LINENO: result: no" >&5
10590 echo "${ECHO_T}no" >&6
10598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10599 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10601 # Check whether --enable-palette or --disable-palette was given.
10602 if test "${enable_palette+set}" = set; then
10603 enableval
="$enable_palette"
10605 if test "$enableval" = yes; then
10606 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10608 ac_cv_use_palette
='wxUSE_PALETTE=no'
10613 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10614 if test "x$LINE" != x
; then
10615 eval "DEFAULT_$LINE"
10620 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10624 eval "$ac_cv_use_palette"
10625 if test "$no_cache" != 1; then
10626 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10629 if test "$wxUSE_PALETTE" = yes; then
10630 echo "$as_me:$LINENO: result: yes" >&5
10631 echo "${ECHO_T}yes" >&6
10633 echo "$as_me:$LINENO: result: no" >&5
10634 echo "${ECHO_T}no" >&6
10639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10642 # Check whether --enable-image or --disable-image was given.
10643 if test "${enable_image+set}" = set; then
10644 enableval
="$enable_image"
10646 if test "$enableval" = yes; then
10647 ac_cv_use_image
='wxUSE_IMAGE=yes'
10649 ac_cv_use_image
='wxUSE_IMAGE=no'
10654 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10655 if test "x$LINE" != x
; then
10656 eval "DEFAULT_$LINE"
10661 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10665 eval "$ac_cv_use_image"
10666 if test "$no_cache" != 1; then
10667 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10670 if test "$wxUSE_IMAGE" = yes; then
10671 echo "$as_me:$LINENO: result: yes" >&5
10672 echo "${ECHO_T}yes" >&6
10674 echo "$as_me:$LINENO: result: no" >&5
10675 echo "${ECHO_T}no" >&6
10680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10681 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10683 # Check whether --enable-gif or --disable-gif was given.
10684 if test "${enable_gif+set}" = set; then
10685 enableval
="$enable_gif"
10687 if test "$enableval" = yes; then
10688 ac_cv_use_gif
='wxUSE_GIF=yes'
10690 ac_cv_use_gif
='wxUSE_GIF=no'
10695 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10696 if test "x$LINE" != x
; then
10697 eval "DEFAULT_$LINE"
10702 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10706 eval "$ac_cv_use_gif"
10707 if test "$no_cache" != 1; then
10708 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10711 if test "$wxUSE_GIF" = yes; then
10712 echo "$as_me:$LINENO: result: yes" >&5
10713 echo "${ECHO_T}yes" >&6
10715 echo "$as_me:$LINENO: result: no" >&5
10716 echo "${ECHO_T}no" >&6
10721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10722 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10724 # Check whether --enable-pcx or --disable-pcx was given.
10725 if test "${enable_pcx+set}" = set; then
10726 enableval
="$enable_pcx"
10728 if test "$enableval" = yes; then
10729 ac_cv_use_pcx
='wxUSE_PCX=yes'
10731 ac_cv_use_pcx
='wxUSE_PCX=no'
10736 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10737 if test "x$LINE" != x
; then
10738 eval "DEFAULT_$LINE"
10743 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10747 eval "$ac_cv_use_pcx"
10748 if test "$no_cache" != 1; then
10749 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10752 if test "$wxUSE_PCX" = yes; then
10753 echo "$as_me:$LINENO: result: yes" >&5
10754 echo "${ECHO_T}yes" >&6
10756 echo "$as_me:$LINENO: result: no" >&5
10757 echo "${ECHO_T}no" >&6
10762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10763 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10765 # Check whether --enable-iff or --disable-iff was given.
10766 if test "${enable_iff+set}" = set; then
10767 enableval
="$enable_iff"
10769 if test "$enableval" = yes; then
10770 ac_cv_use_iff
='wxUSE_IFF=yes'
10772 ac_cv_use_iff
='wxUSE_IFF=no'
10777 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10778 if test "x$LINE" != x
; then
10779 eval "DEFAULT_$LINE"
10784 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10788 eval "$ac_cv_use_iff"
10789 if test "$no_cache" != 1; then
10790 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10793 if test "$wxUSE_IFF" = yes; then
10794 echo "$as_me:$LINENO: result: yes" >&5
10795 echo "${ECHO_T}yes" >&6
10797 echo "$as_me:$LINENO: result: no" >&5
10798 echo "${ECHO_T}no" >&6
10803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10804 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10806 # Check whether --enable-pnm or --disable-pnm was given.
10807 if test "${enable_pnm+set}" = set; then
10808 enableval
="$enable_pnm"
10810 if test "$enableval" = yes; then
10811 ac_cv_use_pnm
='wxUSE_PNM=yes'
10813 ac_cv_use_pnm
='wxUSE_PNM=no'
10818 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10819 if test "x$LINE" != x
; then
10820 eval "DEFAULT_$LINE"
10825 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10829 eval "$ac_cv_use_pnm"
10830 if test "$no_cache" != 1; then
10831 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10834 if test "$wxUSE_PNM" = yes; then
10835 echo "$as_me:$LINENO: result: yes" >&5
10836 echo "${ECHO_T}yes" >&6
10838 echo "$as_me:$LINENO: result: no" >&5
10839 echo "${ECHO_T}no" >&6
10844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10845 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10847 # Check whether --enable-xpm or --disable-xpm was given.
10848 if test "${enable_xpm+set}" = set; then
10849 enableval
="$enable_xpm"
10851 if test "$enableval" = yes; then
10852 ac_cv_use_xpm
='wxUSE_XPM=yes'
10854 ac_cv_use_xpm
='wxUSE_XPM=no'
10859 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10860 if test "x$LINE" != x
; then
10861 eval "DEFAULT_$LINE"
10866 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10870 eval "$ac_cv_use_xpm"
10871 if test "$no_cache" != 1; then
10872 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10875 if test "$wxUSE_XPM" = yes; then
10876 echo "$as_me:$LINENO: result: yes" >&5
10877 echo "${ECHO_T}yes" >&6
10879 echo "$as_me:$LINENO: result: no" >&5
10880 echo "${ECHO_T}no" >&6
10885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10886 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10888 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10889 if test "${enable_ico_cur+set}" = set; then
10890 enableval
="$enable_ico_cur"
10892 if test "$enableval" = yes; then
10893 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10895 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10900 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10901 if test "x$LINE" != x
; then
10902 eval "DEFAULT_$LINE"
10907 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10911 eval "$ac_cv_use_ico_cur"
10912 if test "$no_cache" != 1; then
10913 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10916 if test "$wxUSE_ICO_CUR" = yes; then
10917 echo "$as_me:$LINENO: result: yes" >&5
10918 echo "${ECHO_T}yes" >&6
10920 echo "$as_me:$LINENO: result: no" >&5
10921 echo "${ECHO_T}no" >&6
10929 # Check whether --with-flavour or --without-flavour was given.
10930 if test "${with_flavour+set}" = set; then
10931 withval
="$with_flavour"
10932 WX_FLAVOUR
="$withval"
10938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10939 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10941 # Check whether --enable-official_build or --disable-official_build was given.
10942 if test "${enable_official_build+set}" = set; then
10943 enableval
="$enable_official_build"
10945 if test "$enableval" = yes; then
10946 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10948 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10953 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10954 if test "x$LINE" != x
; then
10955 eval "DEFAULT_$LINE"
10960 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10964 eval "$ac_cv_use_official_build"
10965 if test "$no_cache" != 1; then
10966 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10969 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10970 echo "$as_me:$LINENO: result: yes" >&5
10971 echo "${ECHO_T}yes" >&6
10973 echo "$as_me:$LINENO: result: no" >&5
10974 echo "${ECHO_T}no" >&6
10977 # Check whether --enable-vendor or --disable-vendor was given.
10978 if test "${enable_vendor+set}" = set; then
10979 enableval
="$enable_vendor"
10980 VENDOR
="$enableval"
10982 if test "x$VENDOR" = "x"; then
10989 echo "saving argument cache $wx_arg_cache_file"
10990 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10994 echo "$as_me:$LINENO: checking for toolkit" >&5
10995 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10997 # In Wine, we need to default to MSW, not GTK or MOTIF
10998 if test "$wxUSE_WINE" = "yes"; then
10999 DEFAULT_DEFAULT_wxUSE_GTK
=0
11000 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11001 DEFAULT_DEFAULT_wxUSE_MSW
=1
11006 if test "$wxUSE_GUI" = "yes"; then
11008 if test "$USE_BEOS" = 1; then
11009 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11010 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11011 { (exit 1); exit 1; }; }
11014 if test "$TOOLKIT_GIVEN" = 1; then
11015 for toolkit
in `echo $ALL_TOOLKITS`; do
11017 eval "value=\$${var}"
11018 if test "x$value" = "xno"; then
11020 elif test "x$value" != "x"; then
11024 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11025 eval "wx${toolkit}_VERSION=$value"
11029 for toolkit
in `echo $ALL_TOOLKITS`; do
11030 if test "$has_toolkit_in_cache" != 1; then
11031 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11033 var
=DEFAULT_wxUSE_
$toolkit
11035 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11036 if test "x$version" != "x"; then
11037 eval "wx${toolkit}_VERSION=$version"
11040 eval "wxUSE_$toolkit=\$${var}"
11044 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11045 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
11046 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11049 *-pc-os2_emx | *-pc-os2-emx )
11050 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11053 case "$NUM_TOOLKITS" in
11057 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11058 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11059 { (exit 1); exit 1; }; }
11062 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11063 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11064 { (exit 1); exit 1; }; }
11067 # to be removed when --disable-gtk2 isn't needed
11068 if test "x$wxUSE_GTK2" = "xyes"; then
11070 elif test "x$wxUSE_GTK2" = "xno"; then
11074 for toolkit
in `echo $ALL_TOOLKITS`; do
11076 eval "value=\$${var}"
11077 if test "x$value" != x
; then
11078 cache_var
=CACHE_
$toolkit
11079 eval "cache=\$${cache_var}"
11080 if test "$cache" = 1; then
11081 echo "$var=$value" >> ${wx_arg_cache_file}
11082 eval "version=\$wx${toolkit}_VERSION"
11083 if test "x$version" != "x"; then
11084 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11087 if test "$value" = 1; then
11088 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11089 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11090 echo "${ECHO_T}$toolkit_echo" >&6
11095 if test "x$host_alias" != "x"; then
11096 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11097 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11099 echo "$as_me:$LINENO: result: base only" >&5
11100 echo "${ECHO_T}base only" >&6
11105 doesnt_want_win32
=0
11108 if test "$wxUSE_MSW" = 1 ; then
11110 BAKEFILE_FORCE_PLATFORM
=win32
11112 doesnt_want_win32
=1
11120 if test "$wxUSE_WINE" = "yes"; then
11124 LDFLAGS_GUI
="-mwindows"
11127 if test "$wants_win32" = 1 ; then
11130 cat >>confdefs.h
<<\_ACEOF
11131 #define __WIN32__ 1
11134 cat >>confdefs.h
<<\_ACEOF
11135 #define __WIN95__ 1
11138 cat >>confdefs.h
<<\_ACEOF
11139 #define __WINDOWS__ 1
11142 cat >>confdefs.h
<<\_ACEOF
11143 #define __GNUWIN32__ 1
11146 cat >>confdefs.h
<<\_ACEOF
11150 cat >>confdefs.h
<<\_ACEOF
11151 #define WINVER 0x0400
11155 if test "$doesnt_want_win32" = 1 ; then
11160 if test "$USE_UNIX" = 1 ; then
11162 cat >>confdefs.h
<<\_ACEOF
11169 cat >confcache
<<\_ACEOF
11170 # This file is a shell script that caches the results of configure
11171 # tests run on this system so they can be shared between configure
11172 # scripts and configure runs, see configure's option --config-cache.
11173 # It is not useful on other systems. If it contains results you don't
11174 # want to keep, you may remove or edit it.
11176 # config.status only pays attention to the cache file if you give it
11177 # the --recheck option to rerun configure.
11179 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11180 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11181 # following values.
11185 # The following way of writing the cache mishandles newlines in values,
11186 # but we know of no workaround that is simple, portable, and efficient.
11187 # So, don't put newlines in cache variables' values.
11188 # Ultrix sh set writes to stderr and can't be redirected directly,
11189 # and sets the high bit in the cache file unless we assign to the vars.
11192 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11194 # `set' does not quote correctly, so add quotes (double-quote
11195 # substitution turns \\\\ into \\, and sed turns \\ into \).
11198 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11201 # `set' quotes correctly as required by POSIX, so do not add quotes.
11203 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11210 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11212 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11214 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11215 if test -w $cache_file; then
11216 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11217 cat confcache
>$cache_file
11219 echo "not updating unwritable cache $cache_file"
11229 ac_cpp
='$CPP $CPPFLAGS'
11230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11233 if test -n "$ac_tool_prefix"; then
11234 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11235 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11236 echo "$as_me:$LINENO: checking for $ac_word" >&5
11237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11238 if test "${ac_cv_prog_CC+set}" = set; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 if test -n "$CC"; then
11242 ac_cv_prog_CC
="$CC" # Let the user override the test.
11244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11245 for as_dir
in $PATH
11248 test -z "$as_dir" && as_dir
=.
11249 for ac_exec_ext
in '' $ac_executable_extensions; do
11250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11251 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11261 if test -n "$CC"; then
11262 echo "$as_me:$LINENO: result: $CC" >&5
11263 echo "${ECHO_T}$CC" >&6
11265 echo "$as_me:$LINENO: result: no" >&5
11266 echo "${ECHO_T}no" >&6
11270 if test -z "$ac_cv_prog_CC"; then
11272 # Extract the first word of "gcc", so it can be a program name with args.
11273 set dummy gcc
; ac_word
=$2
11274 echo "$as_me:$LINENO: checking for $ac_word" >&5
11275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11276 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11279 if test -n "$ac_ct_CC"; then
11280 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11283 for as_dir
in $PATH
11286 test -z "$as_dir" && as_dir
=.
11287 for ac_exec_ext
in '' $ac_executable_extensions; do
11288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11289 ac_cv_prog_ac_ct_CC
="gcc"
11290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11298 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11299 if test -n "$ac_ct_CC"; then
11300 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11301 echo "${ECHO_T}$ac_ct_CC" >&6
11303 echo "$as_me:$LINENO: result: no" >&5
11304 echo "${ECHO_T}no" >&6
11309 CC
="$ac_cv_prog_CC"
11312 if test -z "$CC"; then
11313 if test -n "$ac_tool_prefix"; then
11314 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11315 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11316 echo "$as_me:$LINENO: checking for $ac_word" >&5
11317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11318 if test "${ac_cv_prog_CC+set}" = set; then
11319 echo $ECHO_N "(cached) $ECHO_C" >&6
11321 if test -n "$CC"; then
11322 ac_cv_prog_CC
="$CC" # Let the user override the test.
11324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11325 for as_dir
in $PATH
11328 test -z "$as_dir" && as_dir
=.
11329 for ac_exec_ext
in '' $ac_executable_extensions; do
11330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11331 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11341 if test -n "$CC"; then
11342 echo "$as_me:$LINENO: result: $CC" >&5
11343 echo "${ECHO_T}$CC" >&6
11345 echo "$as_me:$LINENO: result: no" >&5
11346 echo "${ECHO_T}no" >&6
11350 if test -z "$ac_cv_prog_CC"; then
11352 # Extract the first word of "cc", so it can be a program name with args.
11353 set dummy cc
; ac_word
=$2
11354 echo "$as_me:$LINENO: checking for $ac_word" >&5
11355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11356 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11357 echo $ECHO_N "(cached) $ECHO_C" >&6
11359 if test -n "$ac_ct_CC"; then
11360 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11363 for as_dir
in $PATH
11366 test -z "$as_dir" && as_dir
=.
11367 for ac_exec_ext
in '' $ac_executable_extensions; do
11368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11369 ac_cv_prog_ac_ct_CC
="cc"
11370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11378 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11379 if test -n "$ac_ct_CC"; then
11380 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11381 echo "${ECHO_T}$ac_ct_CC" >&6
11383 echo "$as_me:$LINENO: result: no" >&5
11384 echo "${ECHO_T}no" >&6
11389 CC
="$ac_cv_prog_CC"
11393 if test -z "$CC"; then
11394 # Extract the first word of "cc", so it can be a program name with args.
11395 set dummy cc
; ac_word
=$2
11396 echo "$as_me:$LINENO: checking for $ac_word" >&5
11397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11398 if test "${ac_cv_prog_CC+set}" = set; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 if test -n "$CC"; then
11402 ac_cv_prog_CC
="$CC" # Let the user override the test.
11404 ac_prog_rejected
=no
11405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11406 for as_dir
in $PATH
11409 test -z "$as_dir" && as_dir
=.
11410 for ac_exec_ext
in '' $ac_executable_extensions; do
11411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11412 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11413 ac_prog_rejected
=yes
11417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11423 if test $ac_prog_rejected = yes; then
11424 # We found a bogon in the path, so make sure we never use it.
11425 set dummy
$ac_cv_prog_CC
11427 if test $# != 0; then
11428 # We chose a different compiler from the bogus one.
11429 # However, it has the same basename, so the bogon will be chosen
11430 # first if we set CC to just the basename; use the full file name.
11432 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11438 if test -n "$CC"; then
11439 echo "$as_me:$LINENO: result: $CC" >&5
11440 echo "${ECHO_T}$CC" >&6
11442 echo "$as_me:$LINENO: result: no" >&5
11443 echo "${ECHO_T}no" >&6
11447 if test -z "$CC"; then
11448 if test -n "$ac_tool_prefix"; then
11451 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11452 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11453 echo "$as_me:$LINENO: checking for $ac_word" >&5
11454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11455 if test "${ac_cv_prog_CC+set}" = set; then
11456 echo $ECHO_N "(cached) $ECHO_C" >&6
11458 if test -n "$CC"; then
11459 ac_cv_prog_CC
="$CC" # Let the user override the test.
11461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11462 for as_dir
in $PATH
11465 test -z "$as_dir" && as_dir
=.
11466 for ac_exec_ext
in '' $ac_executable_extensions; do
11467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11468 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11478 if test -n "$CC"; then
11479 echo "$as_me:$LINENO: result: $CC" >&5
11480 echo "${ECHO_T}$CC" >&6
11482 echo "$as_me:$LINENO: result: no" >&5
11483 echo "${ECHO_T}no" >&6
11486 test -n "$CC" && break
11489 if test -z "$CC"; then
11493 # Extract the first word of "$ac_prog", so it can be a program name with args.
11494 set dummy
$ac_prog; ac_word
=$2
11495 echo "$as_me:$LINENO: checking for $ac_word" >&5
11496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11497 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11498 echo $ECHO_N "(cached) $ECHO_C" >&6
11500 if test -n "$ac_ct_CC"; then
11501 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11504 for as_dir
in $PATH
11507 test -z "$as_dir" && as_dir
=.
11508 for ac_exec_ext
in '' $ac_executable_extensions; do
11509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11510 ac_cv_prog_ac_ct_CC
="$ac_prog"
11511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11519 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11520 if test -n "$ac_ct_CC"; then
11521 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11522 echo "${ECHO_T}$ac_ct_CC" >&6
11524 echo "$as_me:$LINENO: result: no" >&5
11525 echo "${ECHO_T}no" >&6
11528 test -n "$ac_ct_CC" && break
11537 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11538 See \`config.log' for more details." >&5
11539 echo "$as_me: error: no acceptable C compiler found in \$PATH
11540 See \`config.log' for more details." >&2;}
11541 { (exit 1); exit 1; }; }
11543 # Provide some information about the compiler.
11544 echo "$as_me:$LINENO:" \
11545 "checking for C compiler version" >&5
11546 ac_compiler
=`set X $ac_compile; echo $2`
11547 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11548 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }
11552 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11553 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11556 (exit $ac_status); }
11557 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11558 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); }
11563 cat >conftest.
$ac_ext <<_ACEOF
11566 cat confdefs.h
>>conftest.
$ac_ext
11567 cat >>conftest.
$ac_ext <<_ACEOF
11568 /* end confdefs.h. */
11578 ac_clean_files_save
=$ac_clean_files
11579 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11580 # Try to create an executable without -o first, disregard a.out.
11581 # It will help us diagnose broken compilers, and finding out an intuition
11583 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11584 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11585 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11586 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11587 (eval $ac_link_default) 2>&5
11589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11590 (exit $ac_status); }; then
11591 # Find the output, starting from the most likely. This scheme is
11592 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11595 # Be careful to initialize this variable, since it used to be cached.
11596 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11598 # b.out is created by i960 compilers.
11599 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11601 test -f "$ac_file" || continue
11603 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11606 # This is the source file.
11609 # We found the default executable, but exeext='' is most
11613 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11614 # FIXME: I believe we export ac_cv_exeext for Libtool,
11615 # but it would be cool to find out if it's true. Does anybody
11616 # maintain Libtool? --akim.
11617 export ac_cv_exeext
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.
$ac_ext >&5
11627 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11628 See \`config.log' for more details." >&5
11629 echo "$as_me: error: C compiler cannot create executables
11630 See \`config.log' for more details." >&2;}
11631 { (exit 77); exit 77; }; }
11634 ac_exeext
=$ac_cv_exeext
11635 echo "$as_me:$LINENO: result: $ac_file" >&5
11636 echo "${ECHO_T}$ac_file" >&6
11638 # Check the compiler produces executables we can run. If not, either
11639 # the compiler is broken, or we cross compile.
11640 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11641 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11642 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11643 # If not cross compiling, check that we can run a simple program.
11644 if test "$cross_compiling" != yes; then
11645 if { ac_try
='./$ac_file'
11646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11647 (eval $ac_try) 2>&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); }; }; then
11653 if test "$cross_compiling" = maybe
; then
11654 cross_compiling
=yes
11656 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11657 If you meant to cross compile, use \`--host'.
11658 See \`config.log' for more details." >&5
11659 echo "$as_me: error: cannot run C compiled programs.
11660 If you meant to cross compile, use \`--host'.
11661 See \`config.log' for more details." >&2;}
11662 { (exit 1); exit 1; }; }
11666 echo "$as_me:$LINENO: result: yes" >&5
11667 echo "${ECHO_T}yes" >&6
11669 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11670 ac_clean_files
=$ac_clean_files_save
11671 # Check the compiler produces executables we can run. If not, either
11672 # the compiler is broken, or we cross compile.
11673 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11674 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11675 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11676 echo "${ECHO_T}$cross_compiling" >&6
11678 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11679 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11681 (eval $ac_link) 2>&5
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); }; then
11685 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11686 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11687 # work properly (i.e., refer to `conftest.exe'), while it won't with
11689 for ac_file
in conftest.exe conftest conftest.
*; do
11690 test -f "$ac_file" || continue
11692 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11693 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11694 export ac_cv_exeext
11700 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11701 See \`config.log' for more details." >&5
11702 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11703 See \`config.log' for more details." >&2;}
11704 { (exit 1); exit 1; }; }
11707 rm -f conftest
$ac_cv_exeext
11708 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11709 echo "${ECHO_T}$ac_cv_exeext" >&6
11711 rm -f conftest.
$ac_ext
11712 EXEEXT
=$ac_cv_exeext
11714 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11715 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11716 if test "${ac_cv_objext+set}" = set; then
11717 echo $ECHO_N "(cached) $ECHO_C" >&6
11719 cat >conftest.
$ac_ext <<_ACEOF
11722 cat confdefs.h
>>conftest.
$ac_ext
11723 cat >>conftest.
$ac_ext <<_ACEOF
11724 /* end confdefs.h. */
11734 rm -f conftest.o conftest.obj
11735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11736 (eval $ac_compile) 2>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; then
11740 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11742 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11743 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11748 echo "$as_me: failed program was:" >&5
11749 sed 's/^/| /' conftest.
$ac_ext >&5
11751 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11752 See \`config.log' for more details." >&5
11753 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11754 See \`config.log' for more details." >&2;}
11755 { (exit 1); exit 1; }; }
11758 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11760 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11761 echo "${ECHO_T}$ac_cv_objext" >&6
11762 OBJEXT
=$ac_cv_objext
11764 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11765 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11766 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11767 echo $ECHO_N "(cached) $ECHO_C" >&6
11769 cat >conftest.
$ac_ext <<_ACEOF
11772 cat confdefs.h
>>conftest.
$ac_ext
11773 cat >>conftest.
$ac_ext <<_ACEOF
11774 /* end confdefs.h. */
11787 rm -f conftest.
$ac_objext
11788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11789 (eval $ac_compile) 2>conftest.er1
11791 grep -v '^ *+' conftest.er1
>conftest.err
11793 cat conftest.err
>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); } &&
11796 { ac_try
='test -z "$ac_c_werror_flag"
11797 || test ! -s conftest.err'
11798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11799 (eval $ac_try) 2>&5
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); }; } &&
11803 { ac_try
='test -s conftest.$ac_objext'
11804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11805 (eval $ac_try) 2>&5
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 (exit $ac_status); }; }; then
11809 ac_compiler_gnu
=yes
11811 echo "$as_me: failed program was:" >&5
11812 sed 's/^/| /' conftest.
$ac_ext >&5
11816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11817 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11820 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11821 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11822 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11823 ac_test_CFLAGS
=${CFLAGS+set}
11824 ac_save_CFLAGS
=$CFLAGS
11826 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11827 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11828 if test "${ac_cv_prog_cc_g+set}" = set; then
11829 echo $ECHO_N "(cached) $ECHO_C" >&6
11831 cat >conftest.
$ac_ext <<_ACEOF
11834 cat confdefs.h
>>conftest.
$ac_ext
11835 cat >>conftest.
$ac_ext <<_ACEOF
11836 /* end confdefs.h. */
11846 rm -f conftest.
$ac_objext
11847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11848 (eval $ac_compile) 2>conftest.er1
11850 grep -v '^ *+' conftest.er1
>conftest.err
11852 cat conftest.err
>&5
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); } &&
11855 { ac_try
='test -z "$ac_c_werror_flag"
11856 || test ! -s conftest.err'
11857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11858 (eval $ac_try) 2>&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); }; } &&
11862 { ac_try
='test -s conftest.$ac_objext'
11863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11864 (eval $ac_try) 2>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); }; }; then
11868 ac_cv_prog_cc_g
=yes
11870 echo "$as_me: failed program was:" >&5
11871 sed 's/^/| /' conftest.
$ac_ext >&5
11875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11877 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11878 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11879 if test "$ac_test_CFLAGS" = set; then
11880 CFLAGS
=$ac_save_CFLAGS
11881 elif test $ac_cv_prog_cc_g = yes; then
11882 if test "$GCC" = yes; then
11888 if test "$GCC" = yes; then
11894 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11895 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11896 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11897 echo $ECHO_N "(cached) $ECHO_C" >&6
11899 ac_cv_prog_cc_stdc
=no
11901 cat >conftest.
$ac_ext <<_ACEOF
11904 cat confdefs.h
>>conftest.
$ac_ext
11905 cat >>conftest.
$ac_ext <<_ACEOF
11906 /* end confdefs.h. */
11907 #include <stdarg.h>
11909 #include <sys/types.h>
11910 #include <sys/stat.h>
11911 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11912 struct buf { int x; };
11913 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11914 static char *e (p, i)
11920 static char *f (char * (*g) (char **, int), char **p, ...)
11925 s = g (p, va_arg (v,int));
11930 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11931 function prototypes and stuff, but not '\xHH' hex character constants.
11932 These don't provoke an error unfortunately, instead are silently treated
11933 as 'x'. The following induces an error, until -std1 is added to get
11934 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11935 array size at least. It's necessary to write '\x00'==0 to get something
11936 that's true only with -std1. */
11937 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11939 int test (int i, double x);
11940 struct s1 {int (*f) (int a);};
11941 struct s2 {int (*f) (double a);};
11942 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11948 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11953 # Don't try gcc -ansi; that turns off useful extensions and
11954 # breaks some systems' header files.
11955 # AIX -qlanglvl=ansi
11956 # Ultrix and OSF/1 -std1
11957 # HP-UX 10.20 and later -Ae
11958 # HP-UX older versions -Aa -D_HPUX_SOURCE
11959 # SVR4 -Xc -D__EXTENSIONS__
11960 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11962 CC
="$ac_save_CC $ac_arg"
11963 rm -f conftest.
$ac_objext
11964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11965 (eval $ac_compile) 2>conftest.er1
11967 grep -v '^ *+' conftest.er1
>conftest.err
11969 cat conftest.err
>&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); } &&
11972 { ac_try
='test -z "$ac_c_werror_flag"
11973 || test ! -s conftest.err'
11974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11975 (eval $ac_try) 2>&5
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); }; } &&
11979 { ac_try
='test -s conftest.$ac_objext'
11980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11981 (eval $ac_try) 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; }; then
11985 ac_cv_prog_cc_stdc
=$ac_arg
11988 echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.
$ac_ext >&5
11992 rm -f conftest.err conftest.
$ac_objext
11994 rm -f conftest.
$ac_ext conftest.
$ac_objext
11999 case "x$ac_cv_prog_cc_stdc" in
12001 echo "$as_me:$LINENO: result: none needed" >&5
12002 echo "${ECHO_T}none needed" >&6 ;;
12004 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12005 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12006 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12009 # Some people use a C++ compiler to compile C. Since we use `exit',
12010 # in C++ we need to declare it. In case someone uses the same compiler
12011 # for both compiling C and C++ we need to have the C++ compiler decide
12012 # the declaration of exit, since it's the most demanding environment.
12013 cat >conftest.
$ac_ext <<_ACEOF
12014 #ifndef __cplusplus
12018 rm -f conftest.
$ac_objext
12019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12020 (eval $ac_compile) 2>conftest.er1
12022 grep -v '^ *+' conftest.er1
>conftest.err
12024 cat conftest.err
>&5
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); } &&
12027 { ac_try
='test -z "$ac_c_werror_flag"
12028 || test ! -s conftest.err'
12029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12030 (eval $ac_try) 2>&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); }; } &&
12034 { ac_try
='test -s conftest.$ac_objext'
12035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12036 (eval $ac_try) 2>&5
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); }; }; then
12040 for ac_declaration
in \
12042 'extern "C" void std::exit (int) throw (); using std::exit;' \
12043 'extern "C" void std::exit (int); using std::exit;' \
12044 'extern "C" void exit (int) throw ();' \
12045 'extern "C" void exit (int);' \
12048 cat >conftest.
$ac_ext <<_ACEOF
12051 cat confdefs.h
>>conftest.
$ac_ext
12052 cat >>conftest.
$ac_ext <<_ACEOF
12053 /* end confdefs.h. */
12055 #include <stdlib.h>
12064 rm -f conftest.
$ac_objext
12065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12066 (eval $ac_compile) 2>conftest.er1
12068 grep -v '^ *+' conftest.er1
>conftest.err
12070 cat conftest.err
>&5
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); } &&
12073 { ac_try
='test -z "$ac_c_werror_flag"
12074 || test ! -s conftest.err'
12075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12076 (eval $ac_try) 2>&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); }; } &&
12080 { ac_try
='test -s conftest.$ac_objext'
12081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082 (eval $ac_try) 2>&5
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; }; then
12088 echo "$as_me: failed program was:" >&5
12089 sed 's/^/| /' conftest.
$ac_ext >&5
12093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12094 cat >conftest.
$ac_ext <<_ACEOF
12097 cat confdefs.h
>>conftest.
$ac_ext
12098 cat >>conftest.
$ac_ext <<_ACEOF
12099 /* end confdefs.h. */
12109 rm -f conftest.
$ac_objext
12110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12111 (eval $ac_compile) 2>conftest.er1
12113 grep -v '^ *+' conftest.er1
>conftest.err
12115 cat conftest.err
>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } &&
12118 { ac_try
='test -z "$ac_c_werror_flag"
12119 || test ! -s conftest.err'
12120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; } &&
12125 { ac_try
='test -s conftest.$ac_objext'
12126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12127 (eval $ac_try) 2>&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); }; }; then
12133 echo "$as_me: failed program was:" >&5
12134 sed 's/^/| /' conftest.
$ac_ext >&5
12137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12140 if test -n "$ac_declaration"; then
12141 echo '#ifdef __cplusplus' >>confdefs.h
12142 echo $ac_declaration >>confdefs.h
12143 echo '#endif' >>confdefs.h
12147 echo "$as_me: failed program was:" >&5
12148 sed 's/^/| /' conftest.
$ac_ext >&5
12151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12153 ac_cpp
='$CPP $CPPFLAGS'
12154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12161 ac_cpp
='$CPP $CPPFLAGS'
12162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12166 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12167 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12168 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12171 cat >conftest.
$ac_ext <<_ACEOF
12174 cat confdefs.h
>>conftest.
$ac_ext
12175 cat >>conftest.
$ac_ext <<_ACEOF
12176 /* end confdefs.h. */
12182 #ifndef __INTEL_COMPILER
12190 rm -f conftest.
$ac_objext
12191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12192 (eval $ac_compile) 2>conftest.er1
12194 grep -v '^ *+' conftest.er1
>conftest.err
12196 cat conftest.err
>&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); } &&
12199 { ac_try
='test -z "$ac_c_werror_flag"
12200 || test ! -s conftest.err'
12201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12202 (eval $ac_try) 2>&5
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); }; } &&
12206 { ac_try
='test -s conftest.$ac_objext'
12207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12208 (eval $ac_try) 2>&5
12210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12211 (exit $ac_status); }; }; then
12212 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12214 echo "$as_me: failed program was:" >&5
12215 sed 's/^/| /' conftest.
$ac_ext >&5
12217 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12224 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12225 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12227 ac_cpp
='$CPP $CPPFLAGS'
12228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12232 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12239 if test "x$GCC" != "xyes"; then
12240 if test "xCC" = "xC"; then
12241 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12242 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12243 if test "${bakefile_cv_c_exto+set}" = set; then
12244 echo $ECHO_N "(cached) $ECHO_C" >&6
12246 cat >conftest.
$ac_ext <<_ACEOF
12249 cat confdefs.h
>>conftest.
$ac_ext
12250 cat >>conftest.
$ac_ext <<_ACEOF
12251 /* end confdefs.h. */
12261 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12263 (eval $ac_compile) 2>&5
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); }; then
12267 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12269 conftest.
$ac_ext.o
)
12270 bakefile_cv_c_exto
="-ext o"
12277 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12278 See \`config.log' for more details." >&5
12279 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12280 See \`config.log' for more details." >&2;}
12281 { (exit 1); exit 1; }; }
12285 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12288 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12289 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12290 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12291 if test "c" = "c"; then
12292 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12294 if test "c" = "cxx"; then
12295 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12299 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12300 unset ac_cv_prog_cc_g
12301 ac_test_CFLAGS
=${CFLAGS+set}
12302 ac_save_CFLAGS
=$CFLAGS
12304 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12305 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12306 if test "${ac_cv_prog_cc_g+set}" = set; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12309 cat >conftest.
$ac_ext <<_ACEOF
12312 cat confdefs.h
>>conftest.
$ac_ext
12313 cat >>conftest.
$ac_ext <<_ACEOF
12314 /* end confdefs.h. */
12324 rm -f conftest.
$ac_objext
12325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12326 (eval $ac_compile) 2>conftest.er1
12328 grep -v '^ *+' conftest.er1
>conftest.err
12330 cat conftest.err
>&5
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); } &&
12333 { ac_try
='test -z "$ac_c_werror_flag"
12334 || test ! -s conftest.err'
12335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12336 (eval $ac_try) 2>&5
12338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); }; } &&
12340 { ac_try
='test -s conftest.$ac_objext'
12341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12342 (eval $ac_try) 2>&5
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); }; }; then
12346 ac_cv_prog_cc_g
=yes
12348 echo "$as_me: failed program was:" >&5
12349 sed 's/^/| /' conftest.
$ac_ext >&5
12353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12355 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12356 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12357 if test "$ac_test_CFLAGS" = set; then
12358 CFLAGS
=$ac_save_CFLAGS
12359 elif test $ac_cv_prog_cc_g = yes; then
12360 if test "$GCC" = yes; then
12366 if test "$GCC" = yes; then
12378 ac_cpp
='$CPP $CPPFLAGS'
12379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12383 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12384 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12385 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12386 echo $ECHO_N "(cached) $ECHO_C" >&6
12388 cat >conftest.
$ac_ext <<_ACEOF
12391 cat confdefs.h
>>conftest.
$ac_ext
12392 cat >>conftest.
$ac_ext <<_ACEOF
12393 /* end confdefs.h. */
12406 rm -f conftest.
$ac_objext
12407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12408 (eval $ac_compile) 2>conftest.er1
12410 grep -v '^ *+' conftest.er1
>conftest.err
12412 cat conftest.err
>&5
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); } &&
12415 { ac_try
='test -z "$ac_c_werror_flag"
12416 || test ! -s conftest.err'
12417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12418 (eval $ac_try) 2>&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); }; } &&
12422 { ac_try
='test -s conftest.$ac_objext'
12423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12424 (eval $ac_try) 2>&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); }; }; then
12428 bakefile_compiler_xlc
=yes
12430 echo "$as_me: failed program was:" >&5
12431 sed 's/^/| /' conftest.
$ac_ext >&5
12433 bakefile_compiler_xlc
=no
12435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12436 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12439 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12440 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12442 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12444 ac_cpp
='$CPP $CPPFLAGS'
12445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12454 ac_cpp
='$CPP $CPPFLAGS'
12455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12459 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12460 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12461 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12462 echo $ECHO_N "(cached) $ECHO_C" >&6
12464 cat >conftest.
$ac_ext <<_ACEOF
12467 cat confdefs.h
>>conftest.
$ac_ext
12468 cat >>conftest.
$ac_ext <<_ACEOF
12469 /* end confdefs.h. */
12482 rm -f conftest.
$ac_objext
12483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12484 (eval $ac_compile) 2>conftest.er1
12486 grep -v '^ *+' conftest.er1
>conftest.err
12488 cat conftest.err
>&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); } &&
12491 { ac_try
='test -z "$ac_c_werror_flag"
12492 || test ! -s conftest.err'
12493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12494 (eval $ac_try) 2>&5
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); }; } &&
12498 { ac_try
='test -s conftest.$ac_objext'
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; }; then
12504 bakefile_compiler_mwerks
=yes
12506 echo "$as_me: failed program was:" >&5
12507 sed 's/^/| /' conftest.
$ac_ext >&5
12509 bakefile_compiler_mwerks
=no
12511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12512 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12515 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12516 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12518 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12520 ac_cpp
='$CPP $CPPFLAGS'
12521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12527 ac_cpp
='$CPP $CPPFLAGS'
12528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12532 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12533 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12534 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12535 echo $ECHO_N "(cached) $ECHO_C" >&6
12537 cat >conftest.
$ac_ext <<_ACEOF
12540 cat confdefs.h
>>conftest.
$ac_ext
12541 cat >>conftest.
$ac_ext <<_ACEOF
12542 /* end confdefs.h. */
12555 rm -f conftest.
$ac_objext
12556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12557 (eval $ac_compile) 2>conftest.er1
12559 grep -v '^ *+' conftest.er1
>conftest.err
12561 cat conftest.err
>&5
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); } &&
12564 { ac_try
='test -z "$ac_c_werror_flag"
12565 || test ! -s conftest.err'
12566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12567 (eval $ac_try) 2>&5
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; } &&
12571 { ac_try
='test -s conftest.$ac_objext'
12572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12573 (eval $ac_try) 2>&5
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); }; }; then
12577 bakefile_compiler_xlc
=yes
12579 echo "$as_me: failed program was:" >&5
12580 sed 's/^/| /' conftest.
$ac_ext >&5
12582 bakefile_compiler_xlc
=no
12584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12585 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12588 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12589 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12591 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12593 ac_cpp
='$CPP $CPPFLAGS'
12594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12605 ac_cpp
='$CPP $CPPFLAGS'
12606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12610 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12611 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12612 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12615 cat >conftest.
$ac_ext <<_ACEOF
12618 cat confdefs.h
>>conftest.
$ac_ext
12619 cat >>conftest.
$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12626 #ifndef _SGI_COMPILER_VERSION
12634 rm -f conftest.
$ac_objext
12635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12636 (eval $ac_compile) 2>conftest.er1
12638 grep -v '^ *+' conftest.er1
>conftest.err
12640 cat conftest.err
>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); } &&
12643 { ac_try
='test -z "$ac_c_werror_flag"
12644 || test ! -s conftest.err'
12645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12646 (eval $ac_try) 2>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); }; } &&
12650 { ac_try
='test -s conftest.$ac_objext'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; }; then
12656 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12658 echo "$as_me: failed program was:" >&5
12659 sed 's/^/| /' conftest.
$ac_ext >&5
12661 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12668 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12669 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12671 ac_cpp
='$CPP $CPPFLAGS'
12672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12676 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12689 ac_cpp
='$CPP $CPPFLAGS'
12690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12694 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12695 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12696 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12697 echo $ECHO_N "(cached) $ECHO_C" >&6
12699 cat >conftest.
$ac_ext <<_ACEOF
12702 cat confdefs.h
>>conftest.
$ac_ext
12703 cat >>conftest.
$ac_ext <<_ACEOF
12704 /* end confdefs.h. */
12718 rm -f conftest.
$ac_objext
12719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12720 (eval $ac_compile) 2>conftest.er1
12722 grep -v '^ *+' conftest.er1
>conftest.err
12724 cat conftest.err
>&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); } &&
12727 { ac_try
='test -z "$ac_c_werror_flag"
12728 || test ! -s conftest.err'
12729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12730 (eval $ac_try) 2>&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); }; } &&
12734 { ac_try
='test -s conftest.$ac_objext'
12735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12736 (eval $ac_try) 2>&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); }; }; then
12740 bakefile_cv_c_compiler___HP_cc
=yes
12742 echo "$as_me: failed program was:" >&5
12743 sed 's/^/| /' conftest.
$ac_ext >&5
12745 bakefile_cv_c_compiler___HP_cc
=no
12748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12752 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12753 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12755 ac_cpp
='$CPP $CPPFLAGS'
12756 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12757 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12758 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12760 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12773 ac_cpp
='$CPP $CPPFLAGS'
12774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12778 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12779 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12780 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12781 echo $ECHO_N "(cached) $ECHO_C" >&6
12783 cat >conftest.
$ac_ext <<_ACEOF
12786 cat confdefs.h
>>conftest.
$ac_ext
12787 cat >>conftest.
$ac_ext <<_ACEOF
12788 /* end confdefs.h. */
12802 rm -f conftest.
$ac_objext
12803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12804 (eval $ac_compile) 2>conftest.er1
12806 grep -v '^ *+' conftest.er1
>conftest.err
12808 cat conftest.err
>&5
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); } &&
12811 { ac_try
='test -z "$ac_c_werror_flag"
12812 || test ! -s conftest.err'
12813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12814 (eval $ac_try) 2>&5
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; } &&
12818 { ac_try
='test -s conftest.$ac_objext'
12819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12820 (eval $ac_try) 2>&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); }; }; then
12824 bakefile_cv_c_compiler___DECC
=yes
12826 echo "$as_me: failed program was:" >&5
12827 sed 's/^/| /' conftest.
$ac_ext >&5
12829 bakefile_cv_c_compiler___DECC
=no
12832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12836 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12837 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12839 ac_cpp
='$CPP $CPPFLAGS'
12840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12844 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12857 ac_cpp
='$CPP $CPPFLAGS'
12858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12862 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12863 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12864 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12865 echo $ECHO_N "(cached) $ECHO_C" >&6
12867 cat >conftest.
$ac_ext <<_ACEOF
12870 cat confdefs.h
>>conftest.
$ac_ext
12871 cat >>conftest.
$ac_ext <<_ACEOF
12872 /* end confdefs.h. */
12886 rm -f conftest.
$ac_objext
12887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12888 (eval $ac_compile) 2>conftest.er1
12890 grep -v '^ *+' conftest.er1
>conftest.err
12892 cat conftest.err
>&5
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); } &&
12895 { ac_try
='test -z "$ac_c_werror_flag"
12896 || test ! -s conftest.err'
12897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12898 (eval $ac_try) 2>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); }; } &&
12902 { ac_try
='test -s conftest.$ac_objext'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; }; then
12908 bakefile_cv_c_compiler___SUNPRO_C
=yes
12910 echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.
$ac_ext >&5
12913 bakefile_cv_c_compiler___SUNPRO_C
=no
12916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12920 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12921 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12923 ac_cpp
='$CPP $CPPFLAGS'
12924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12928 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12942 ac_cpp
='$CPP $CPPFLAGS'
12943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12946 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12947 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12948 # On Suns, sometimes $CPP names a directory.
12949 if test -n "$CPP" && test -d "$CPP"; then
12952 if test -z "$CPP"; then
12953 if test "${ac_cv_prog_CPP+set}" = set; then
12954 echo $ECHO_N "(cached) $ECHO_C" >&6
12956 # Double quotes because CPP needs to be expanded
12957 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12959 ac_preproc_ok
=false
12960 for ac_c_preproc_warn_flag
in '' yes
12962 # Use a header file that comes with gcc, so configuring glibc
12963 # with a fresh cross-compiler works.
12964 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12965 # <limits.h> exists even on freestanding compilers.
12966 # On the NeXT, cc -E runs the code through the compiler's parser,
12967 # not just through cpp. "Syntax error" is here to catch this case.
12968 cat >conftest.
$ac_ext <<_ACEOF
12971 cat confdefs.h
>>conftest.
$ac_ext
12972 cat >>conftest.
$ac_ext <<_ACEOF
12973 /* end confdefs.h. */
12975 # include <limits.h>
12977 # include <assert.h>
12981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12982 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12984 grep -v '^ *+' conftest.er1
>conftest.err
12986 cat conftest.err
>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } >/dev
/null
; then
12989 if test -s conftest.err
; then
12990 ac_cpp_err
=$ac_c_preproc_warn_flag
12991 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12998 if test -z "$ac_cpp_err"; then
13001 echo "$as_me: failed program was:" >&5
13002 sed 's/^/| /' conftest.
$ac_ext >&5
13004 # Broken: fails on valid input.
13007 rm -f conftest.err conftest.
$ac_ext
13009 # OK, works on sane cases. Now check whether non-existent headers
13010 # can be detected and how.
13011 cat >conftest.
$ac_ext <<_ACEOF
13014 cat confdefs.h
>>conftest.
$ac_ext
13015 cat >>conftest.
$ac_ext <<_ACEOF
13016 /* end confdefs.h. */
13017 #include <ac_nonexistent.h>
13019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13022 grep -v '^ *+' conftest.er1
>conftest.err
13024 cat conftest.err
>&5
13025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026 (exit $ac_status); } >/dev
/null
; then
13027 if test -s conftest.err
; then
13028 ac_cpp_err
=$ac_c_preproc_warn_flag
13029 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13036 if test -z "$ac_cpp_err"; then
13037 # Broken: success on invalid input.
13040 echo "$as_me: failed program was:" >&5
13041 sed 's/^/| /' conftest.
$ac_ext >&5
13043 # Passes both tests.
13047 rm -f conftest.err conftest.
$ac_ext
13050 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13051 rm -f conftest.err conftest.
$ac_ext
13052 if $ac_preproc_ok; then
13057 ac_cv_prog_CPP
=$CPP
13060 CPP
=$ac_cv_prog_CPP
13062 ac_cv_prog_CPP
=$CPP
13064 echo "$as_me:$LINENO: result: $CPP" >&5
13065 echo "${ECHO_T}$CPP" >&6
13066 ac_preproc_ok
=false
13067 for ac_c_preproc_warn_flag
in '' yes
13069 # Use a header file that comes with gcc, so configuring glibc
13070 # with a fresh cross-compiler works.
13071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13072 # <limits.h> exists even on freestanding compilers.
13073 # On the NeXT, cc -E runs the code through the compiler's parser,
13074 # not just through cpp. "Syntax error" is here to catch this case.
13075 cat >conftest.
$ac_ext <<_ACEOF
13078 cat confdefs.h
>>conftest.
$ac_ext
13079 cat >>conftest.
$ac_ext <<_ACEOF
13080 /* end confdefs.h. */
13082 # include <limits.h>
13084 # include <assert.h>
13088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13089 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13091 grep -v '^ *+' conftest.er1
>conftest.err
13093 cat conftest.err
>&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); } >/dev
/null
; then
13096 if test -s conftest.err
; then
13097 ac_cpp_err
=$ac_c_preproc_warn_flag
13098 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13105 if test -z "$ac_cpp_err"; then
13108 echo "$as_me: failed program was:" >&5
13109 sed 's/^/| /' conftest.
$ac_ext >&5
13111 # Broken: fails on valid input.
13114 rm -f conftest.err conftest.
$ac_ext
13116 # OK, works on sane cases. Now check whether non-existent headers
13117 # can be detected and how.
13118 cat >conftest.
$ac_ext <<_ACEOF
13121 cat confdefs.h
>>conftest.
$ac_ext
13122 cat >>conftest.
$ac_ext <<_ACEOF
13123 /* end confdefs.h. */
13124 #include <ac_nonexistent.h>
13126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13127 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13129 grep -v '^ *+' conftest.er1
>conftest.err
13131 cat conftest.err
>&5
13132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 (exit $ac_status); } >/dev
/null
; then
13134 if test -s conftest.err
; then
13135 ac_cpp_err
=$ac_c_preproc_warn_flag
13136 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13143 if test -z "$ac_cpp_err"; then
13144 # Broken: success on invalid input.
13147 echo "$as_me: failed program was:" >&5
13148 sed 's/^/| /' conftest.
$ac_ext >&5
13150 # Passes both tests.
13154 rm -f conftest.err conftest.
$ac_ext
13157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13158 rm -f conftest.err conftest.
$ac_ext
13159 if $ac_preproc_ok; then
13162 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13163 See \`config.log' for more details." >&5
13164 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13165 See \`config.log' for more details." >&2;}
13166 { (exit 1); exit 1; }; }
13170 ac_cpp
='$CPP $CPPFLAGS'
13171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13176 echo "$as_me:$LINENO: checking for egrep" >&5
13177 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13178 if test "${ac_cv_prog_egrep+set}" = set; then
13179 echo $ECHO_N "(cached) $ECHO_C" >&6
13181 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13182 then ac_cv_prog_egrep
='grep -E'
13183 else ac_cv_prog_egrep
='egrep'
13186 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13187 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13188 EGREP
=$ac_cv_prog_egrep
13191 if test $ac_cv_c_compiler_gnu = yes; then
13192 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13193 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13194 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13195 echo $ECHO_N "(cached) $ECHO_C" >&6
13197 ac_pattern
="Autoconf.*'x'"
13198 cat >conftest.
$ac_ext <<_ACEOF
13201 cat confdefs.h
>>conftest.
$ac_ext
13202 cat >>conftest.
$ac_ext <<_ACEOF
13203 /* end confdefs.h. */
13207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13208 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13209 ac_cv_prog_gcc_traditional
=yes
13211 ac_cv_prog_gcc_traditional
=no
13216 if test $ac_cv_prog_gcc_traditional = no
; then
13217 cat >conftest.
$ac_ext <<_ACEOF
13220 cat confdefs.h
>>conftest.
$ac_ext
13221 cat >>conftest.
$ac_ext <<_ACEOF
13222 /* end confdefs.h. */
13223 #include <termio.h>
13226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13227 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13228 ac_cv_prog_gcc_traditional
=yes
13234 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13235 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13236 if test $ac_cv_prog_gcc_traditional = yes; then
13237 CC
="$CC -traditional"
13243 ac_cpp
='$CXXCPP $CPPFLAGS'
13244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13249 CXXFLAGS
=${CXXFLAGS:=}
13254 ac_cpp
='$CXXCPP $CPPFLAGS'
13255 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13256 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13257 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13258 if test -n "$ac_tool_prefix"; then
13259 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13262 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13263 echo "$as_me:$LINENO: checking for $ac_word" >&5
13264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13265 if test "${ac_cv_prog_CXX+set}" = set; then
13266 echo $ECHO_N "(cached) $ECHO_C" >&6
13268 if test -n "$CXX"; then
13269 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13272 for as_dir
in $PATH
13275 test -z "$as_dir" && as_dir
=.
13276 for ac_exec_ext
in '' $ac_executable_extensions; do
13277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13278 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13287 CXX
=$ac_cv_prog_CXX
13288 if test -n "$CXX"; then
13289 echo "$as_me:$LINENO: result: $CXX" >&5
13290 echo "${ECHO_T}$CXX" >&6
13292 echo "$as_me:$LINENO: result: no" >&5
13293 echo "${ECHO_T}no" >&6
13296 test -n "$CXX" && break
13299 if test -z "$CXX"; then
13301 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13303 # Extract the first word of "$ac_prog", so it can be a program name with args.
13304 set dummy
$ac_prog; ac_word
=$2
13305 echo "$as_me:$LINENO: checking for $ac_word" >&5
13306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13307 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13308 echo $ECHO_N "(cached) $ECHO_C" >&6
13310 if test -n "$ac_ct_CXX"; then
13311 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13314 for as_dir
in $PATH
13317 test -z "$as_dir" && as_dir
=.
13318 for ac_exec_ext
in '' $ac_executable_extensions; do
13319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13320 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13329 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13330 if test -n "$ac_ct_CXX"; then
13331 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13332 echo "${ECHO_T}$ac_ct_CXX" >&6
13334 echo "$as_me:$LINENO: result: no" >&5
13335 echo "${ECHO_T}no" >&6
13338 test -n "$ac_ct_CXX" && break
13340 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13346 # Provide some information about the compiler.
13347 echo "$as_me:$LINENO:" \
13348 "checking for C++ compiler version" >&5
13349 ac_compiler
=`set X $ac_compile; echo $2`
13350 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13351 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }
13355 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13356 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13359 (exit $ac_status); }
13360 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13361 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); }
13366 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13367 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13368 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13369 echo $ECHO_N "(cached) $ECHO_C" >&6
13371 cat >conftest.
$ac_ext <<_ACEOF
13374 cat confdefs.h
>>conftest.
$ac_ext
13375 cat >>conftest.
$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13389 rm -f conftest.
$ac_objext
13390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13391 (eval $ac_compile) 2>conftest.er1
13393 grep -v '^ *+' conftest.er1
>conftest.err
13395 cat conftest.err
>&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); } &&
13398 { ac_try
='test -z "$ac_cxx_werror_flag"
13399 || test ! -s conftest.err'
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); }; } &&
13405 { ac_try
='test -s conftest.$ac_objext'
13406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13407 (eval $ac_try) 2>&5
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); }; }; then
13411 ac_compiler_gnu
=yes
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.
$ac_ext >&5
13418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13419 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13422 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13423 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13424 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13425 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13426 ac_save_CXXFLAGS
=$CXXFLAGS
13428 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13429 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13430 if test "${ac_cv_prog_cxx_g+set}" = set; then
13431 echo $ECHO_N "(cached) $ECHO_C" >&6
13433 cat >conftest.
$ac_ext <<_ACEOF
13436 cat confdefs.h
>>conftest.
$ac_ext
13437 cat >>conftest.
$ac_ext <<_ACEOF
13438 /* end confdefs.h. */
13448 rm -f conftest.
$ac_objext
13449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13450 (eval $ac_compile) 2>conftest.er1
13452 grep -v '^ *+' conftest.er1
>conftest.err
13454 cat conftest.err
>&5
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); } &&
13457 { ac_try
='test -z "$ac_cxx_werror_flag"
13458 || test ! -s conftest.err'
13459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13460 (eval $ac_try) 2>&5
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); }; } &&
13464 { ac_try
='test -s conftest.$ac_objext'
13465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13466 (eval $ac_try) 2>&5
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); }; }; then
13470 ac_cv_prog_cxx_g
=yes
13472 echo "$as_me: failed program was:" >&5
13473 sed 's/^/| /' conftest.
$ac_ext >&5
13475 ac_cv_prog_cxx_g
=no
13477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13479 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13480 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13481 if test "$ac_test_CXXFLAGS" = set; then
13482 CXXFLAGS
=$ac_save_CXXFLAGS
13483 elif test $ac_cv_prog_cxx_g = yes; then
13484 if test "$GXX" = yes; then
13490 if test "$GXX" = yes; then
13496 for ac_declaration
in \
13498 'extern "C" void std::exit (int) throw (); using std::exit;' \
13499 'extern "C" void std::exit (int); using std::exit;' \
13500 'extern "C" void exit (int) throw ();' \
13501 'extern "C" void exit (int);' \
13504 cat >conftest.
$ac_ext <<_ACEOF
13507 cat confdefs.h
>>conftest.
$ac_ext
13508 cat >>conftest.
$ac_ext <<_ACEOF
13509 /* end confdefs.h. */
13511 #include <stdlib.h>
13520 rm -f conftest.
$ac_objext
13521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13522 (eval $ac_compile) 2>conftest.er1
13524 grep -v '^ *+' conftest.er1
>conftest.err
13526 cat conftest.err
>&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); } &&
13529 { ac_try
='test -z "$ac_cxx_werror_flag"
13530 || test ! -s conftest.err'
13531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13532 (eval $ac_try) 2>&5
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); }; } &&
13536 { ac_try
='test -s conftest.$ac_objext'
13537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13538 (eval $ac_try) 2>&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); }; }; then
13544 echo "$as_me: failed program was:" >&5
13545 sed 's/^/| /' conftest.
$ac_ext >&5
13549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13550 cat >conftest.
$ac_ext <<_ACEOF
13553 cat confdefs.h
>>conftest.
$ac_ext
13554 cat >>conftest.
$ac_ext <<_ACEOF
13555 /* end confdefs.h. */
13565 rm -f conftest.
$ac_objext
13566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13567 (eval $ac_compile) 2>conftest.er1
13569 grep -v '^ *+' conftest.er1
>conftest.err
13571 cat conftest.err
>&5
13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573 (exit $ac_status); } &&
13574 { ac_try
='test -z "$ac_cxx_werror_flag"
13575 || test ! -s conftest.err'
13576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13577 (eval $ac_try) 2>&5
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); }; } &&
13581 { ac_try
='test -s conftest.$ac_objext'
13582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13583 (eval $ac_try) 2>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); }; }; then
13589 echo "$as_me: failed program was:" >&5
13590 sed 's/^/| /' conftest.
$ac_ext >&5
13593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13596 if test -n "$ac_declaration"; then
13597 echo '#ifdef __cplusplus' >>confdefs.h
13598 echo $ac_declaration >>confdefs.h
13599 echo '#endif' >>confdefs.h
13603 ac_cpp
='$CXXCPP $CPPFLAGS'
13604 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13605 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13606 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13611 ac_cpp
='$CXXCPP $CPPFLAGS'
13612 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13613 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13614 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13616 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13617 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13618 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13619 echo $ECHO_N "(cached) $ECHO_C" >&6
13621 cat >conftest.
$ac_ext <<_ACEOF
13624 cat confdefs.h
>>conftest.
$ac_ext
13625 cat >>conftest.
$ac_ext <<_ACEOF
13626 /* end confdefs.h. */
13632 #ifndef __INTEL_COMPILER
13640 rm -f conftest.
$ac_objext
13641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13642 (eval $ac_compile) 2>conftest.er1
13644 grep -v '^ *+' conftest.er1
>conftest.err
13646 cat conftest.err
>&5
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); } &&
13649 { ac_try
='test -z "$ac_cxx_werror_flag"
13650 || test ! -s conftest.err'
13651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13652 (eval $ac_try) 2>&5
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); }; } &&
13656 { ac_try
='test -s conftest.$ac_objext'
13657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13658 (eval $ac_try) 2>&5
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); }; }; then
13662 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13664 echo "$as_me: failed program was:" >&5
13665 sed 's/^/| /' conftest.
$ac_ext >&5
13667 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13674 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13675 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13677 ac_cpp
='$CXXCPP $CPPFLAGS'
13678 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13679 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13680 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13682 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13689 if test "x$GCXX" != "xyes"; then
13690 if test "xCXX" = "xC"; then
13691 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13692 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13693 if test "${bakefile_cv_cxx_exto+set}" = set; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13696 cat >conftest.
$ac_ext <<_ACEOF
13699 cat confdefs.h
>>conftest.
$ac_ext
13700 cat >>conftest.
$ac_ext <<_ACEOF
13701 /* end confdefs.h. */
13711 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13713 (eval $ac_compile) 2>&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); }; then
13717 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13719 conftest.
$ac_ext.o
)
13720 bakefile_cv_cxx_exto
="-ext o"
13727 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13728 See \`config.log' for more details." >&5
13729 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13730 See \`config.log' for more details." >&2;}
13731 { (exit 1); exit 1; }; }
13735 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13738 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13739 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13740 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13741 if test "cxx" = "c"; then
13742 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13744 if test "cxx" = "cxx"; then
13745 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13749 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13750 unset ac_cv_prog_cc_g
13751 ac_test_CFLAGS
=${CFLAGS+set}
13752 ac_save_CFLAGS
=$CFLAGS
13754 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13755 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13756 if test "${ac_cv_prog_cc_g+set}" = set; then
13757 echo $ECHO_N "(cached) $ECHO_C" >&6
13759 cat >conftest.
$ac_ext <<_ACEOF
13762 cat confdefs.h
>>conftest.
$ac_ext
13763 cat >>conftest.
$ac_ext <<_ACEOF
13764 /* end confdefs.h. */
13774 rm -f conftest.
$ac_objext
13775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13776 (eval $ac_compile) 2>conftest.er1
13778 grep -v '^ *+' conftest.er1
>conftest.err
13780 cat conftest.err
>&5
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } &&
13783 { ac_try
='test -z "$ac_cxx_werror_flag"
13784 || test ! -s conftest.err'
13785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13786 (eval $ac_try) 2>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; } &&
13790 { ac_try
='test -s conftest.$ac_objext'
13791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13792 (eval $ac_try) 2>&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); }; }; then
13796 ac_cv_prog_cc_g
=yes
13798 echo "$as_me: failed program was:" >&5
13799 sed 's/^/| /' conftest.
$ac_ext >&5
13803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13805 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13806 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13807 if test "$ac_test_CFLAGS" = set; then
13808 CFLAGS
=$ac_save_CFLAGS
13809 elif test $ac_cv_prog_cc_g = yes; then
13810 if test "$GCC" = yes; then
13816 if test "$GCC" = yes; then
13828 ac_cpp
='$CXXCPP $CPPFLAGS'
13829 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13830 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13831 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13833 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13834 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13835 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13836 echo $ECHO_N "(cached) $ECHO_C" >&6
13838 cat >conftest.
$ac_ext <<_ACEOF
13841 cat confdefs.h
>>conftest.
$ac_ext
13842 cat >>conftest.
$ac_ext <<_ACEOF
13843 /* end confdefs.h. */
13856 rm -f conftest.
$ac_objext
13857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13858 (eval $ac_compile) 2>conftest.er1
13860 grep -v '^ *+' conftest.er1
>conftest.err
13862 cat conftest.err
>&5
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 (exit $ac_status); } &&
13865 { ac_try
='test -z "$ac_cxx_werror_flag"
13866 || test ! -s conftest.err'
13867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13868 (eval $ac_try) 2>&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); }; } &&
13872 { ac_try
='test -s conftest.$ac_objext'
13873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13874 (eval $ac_try) 2>&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); }; }; then
13878 bakefile_compiler_xlc
=yes
13880 echo "$as_me: failed program was:" >&5
13881 sed 's/^/| /' conftest.
$ac_ext >&5
13883 bakefile_compiler_xlc
=no
13885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13886 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13889 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13890 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13892 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13894 ac_cpp
='$CXXCPP $CPPFLAGS'
13895 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13896 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13904 ac_cpp
='$CXXCPP $CPPFLAGS'
13905 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13906 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13907 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13909 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13910 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13911 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13912 echo $ECHO_N "(cached) $ECHO_C" >&6
13914 cat >conftest.
$ac_ext <<_ACEOF
13917 cat confdefs.h
>>conftest.
$ac_ext
13918 cat >>conftest.
$ac_ext <<_ACEOF
13919 /* end confdefs.h. */
13932 rm -f conftest.
$ac_objext
13933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13934 (eval $ac_compile) 2>conftest.er1
13936 grep -v '^ *+' conftest.er1
>conftest.err
13938 cat conftest.err
>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); } &&
13941 { ac_try
='test -z "$ac_cxx_werror_flag"
13942 || test ! -s conftest.err'
13943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13944 (eval $ac_try) 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; } &&
13948 { ac_try
='test -s conftest.$ac_objext'
13949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13950 (eval $ac_try) 2>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); }; }; then
13954 bakefile_compiler_mwerks
=yes
13956 echo "$as_me: failed program was:" >&5
13957 sed 's/^/| /' conftest.
$ac_ext >&5
13959 bakefile_compiler_mwerks
=no
13961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13962 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13965 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13966 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13968 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13970 ac_cpp
='$CXXCPP $CPPFLAGS'
13971 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13972 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13973 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13977 ac_cpp
='$CXXCPP $CPPFLAGS'
13978 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13979 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13980 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13982 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13983 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13984 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13985 echo $ECHO_N "(cached) $ECHO_C" >&6
13987 cat >conftest.
$ac_ext <<_ACEOF
13990 cat confdefs.h
>>conftest.
$ac_ext
13991 cat >>conftest.
$ac_ext <<_ACEOF
13992 /* end confdefs.h. */
14005 rm -f conftest.
$ac_objext
14006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14007 (eval $ac_compile) 2>conftest.er1
14009 grep -v '^ *+' conftest.er1
>conftest.err
14011 cat conftest.err
>&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); } &&
14014 { ac_try
='test -z "$ac_cxx_werror_flag"
14015 || test ! -s conftest.err'
14016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14017 (eval $ac_try) 2>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; } &&
14021 { ac_try
='test -s conftest.$ac_objext'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; }; then
14027 bakefile_compiler_xlc
=yes
14029 echo "$as_me: failed program was:" >&5
14030 sed 's/^/| /' conftest.
$ac_ext >&5
14032 bakefile_compiler_xlc
=no
14034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14035 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14038 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14039 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14041 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14043 ac_cpp
='$CXXCPP $CPPFLAGS'
14044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14055 ac_cpp
='$CXXCPP $CPPFLAGS'
14056 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14057 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14058 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14060 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14061 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14062 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14063 echo $ECHO_N "(cached) $ECHO_C" >&6
14065 cat >conftest.
$ac_ext <<_ACEOF
14068 cat confdefs.h
>>conftest.
$ac_ext
14069 cat >>conftest.
$ac_ext <<_ACEOF
14070 /* end confdefs.h. */
14076 #ifndef _SGI_COMPILER_VERSION
14084 rm -f conftest.
$ac_objext
14085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14086 (eval $ac_compile) 2>conftest.er1
14088 grep -v '^ *+' conftest.er1
>conftest.err
14090 cat conftest.err
>&5
14091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14092 (exit $ac_status); } &&
14093 { ac_try
='test -z "$ac_cxx_werror_flag"
14094 || test ! -s conftest.err'
14095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14096 (eval $ac_try) 2>&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); }; } &&
14100 { ac_try
='test -s conftest.$ac_objext'
14101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14102 (eval $ac_try) 2>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }; }; then
14106 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14108 echo "$as_me: failed program was:" >&5
14109 sed 's/^/| /' conftest.
$ac_ext >&5
14111 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14118 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14119 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14121 ac_cpp
='$CXXCPP $CPPFLAGS'
14122 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14123 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14124 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14126 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14139 ac_cpp
='$CXXCPP $CPPFLAGS'
14140 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14141 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14142 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14144 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14145 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14146 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 cat >conftest.
$ac_ext <<_ACEOF
14152 cat confdefs.h
>>conftest.
$ac_ext
14153 cat >>conftest.
$ac_ext <<_ACEOF
14154 /* end confdefs.h. */
14168 rm -f conftest.
$ac_objext
14169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14170 (eval $ac_compile) 2>conftest.er1
14172 grep -v '^ *+' conftest.er1
>conftest.err
14174 cat conftest.err
>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } &&
14177 { ac_try
='test -z "$ac_cxx_werror_flag"
14178 || test ! -s conftest.err'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; } &&
14184 { ac_try
='test -s conftest.$ac_objext'
14185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14186 (eval $ac_try) 2>&5
14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 (exit $ac_status); }; }; then
14190 bakefile_cv_cxx_compiler___HP_aCC
=yes
14192 echo "$as_me: failed program was:" >&5
14193 sed 's/^/| /' conftest.
$ac_ext >&5
14195 bakefile_cv_cxx_compiler___HP_aCC
=no
14198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14202 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14203 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14205 ac_cpp
='$CXXCPP $CPPFLAGS'
14206 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14207 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14208 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14210 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14223 ac_cpp
='$CXXCPP $CPPFLAGS'
14224 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14225 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14226 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14228 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14229 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14230 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14231 echo $ECHO_N "(cached) $ECHO_C" >&6
14233 cat >conftest.
$ac_ext <<_ACEOF
14236 cat confdefs.h
>>conftest.
$ac_ext
14237 cat >>conftest.
$ac_ext <<_ACEOF
14238 /* end confdefs.h. */
14252 rm -f conftest.
$ac_objext
14253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14254 (eval $ac_compile) 2>conftest.er1
14256 grep -v '^ *+' conftest.er1
>conftest.err
14258 cat conftest.err
>&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); } &&
14261 { ac_try
='test -z "$ac_cxx_werror_flag"
14262 || test ! -s conftest.err'
14263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14264 (eval $ac_try) 2>&5
14266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14267 (exit $ac_status); }; } &&
14268 { ac_try
='test -s conftest.$ac_objext'
14269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14270 (eval $ac_try) 2>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); }; }; then
14274 bakefile_cv_cxx_compiler___DECCXX
=yes
14276 echo "$as_me: failed program was:" >&5
14277 sed 's/^/| /' conftest.
$ac_ext >&5
14279 bakefile_cv_cxx_compiler___DECCXX
=no
14282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14286 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14287 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14289 ac_cpp
='$CXXCPP $CPPFLAGS'
14290 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14291 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14292 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14294 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14307 ac_cpp
='$CXXCPP $CPPFLAGS'
14308 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14309 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14310 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14312 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14313 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14314 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14315 echo $ECHO_N "(cached) $ECHO_C" >&6
14317 cat >conftest.
$ac_ext <<_ACEOF
14320 cat confdefs.h
>>conftest.
$ac_ext
14321 cat >>conftest.
$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14328 #ifndef __SUNPRO_CC
14336 rm -f conftest.
$ac_objext
14337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14338 (eval $ac_compile) 2>conftest.er1
14340 grep -v '^ *+' conftest.er1
>conftest.err
14342 cat conftest.err
>&5
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); } &&
14345 { ac_try
='test -z "$ac_cxx_werror_flag"
14346 || test ! -s conftest.err'
14347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14348 (eval $ac_try) 2>&5
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); }; } &&
14352 { ac_try
='test -s conftest.$ac_objext'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; }; then
14358 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14360 echo "$as_me: failed program was:" >&5
14361 sed 's/^/| /' conftest.
$ac_ext >&5
14363 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14370 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14371 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14373 ac_cpp
='$CXXCPP $CPPFLAGS'
14374 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14375 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14376 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14378 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14391 if test -n "$ac_tool_prefix"; then
14392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14393 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14394 echo "$as_me:$LINENO: checking for $ac_word" >&5
14395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14396 if test "${ac_cv_prog_RANLIB+set}" = set; then
14397 echo $ECHO_N "(cached) $ECHO_C" >&6
14399 if test -n "$RANLIB"; then
14400 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14403 for as_dir
in $PATH
14406 test -z "$as_dir" && as_dir
=.
14407 for ac_exec_ext
in '' $ac_executable_extensions; do
14408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14409 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14418 RANLIB
=$ac_cv_prog_RANLIB
14419 if test -n "$RANLIB"; then
14420 echo "$as_me:$LINENO: result: $RANLIB" >&5
14421 echo "${ECHO_T}$RANLIB" >&6
14423 echo "$as_me:$LINENO: result: no" >&5
14424 echo "${ECHO_T}no" >&6
14428 if test -z "$ac_cv_prog_RANLIB"; then
14429 ac_ct_RANLIB
=$RANLIB
14430 # Extract the first word of "ranlib", so it can be a program name with args.
14431 set dummy ranlib
; ac_word
=$2
14432 echo "$as_me:$LINENO: checking for $ac_word" >&5
14433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14434 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14437 if test -n "$ac_ct_RANLIB"; then
14438 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14441 for as_dir
in $PATH
14444 test -z "$as_dir" && as_dir
=.
14445 for ac_exec_ext
in '' $ac_executable_extensions; do
14446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14447 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14454 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14457 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14458 if test -n "$ac_ct_RANLIB"; then
14459 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14460 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14462 echo "$as_me:$LINENO: result: no" >&5
14463 echo "${ECHO_T}no" >&6
14466 RANLIB
=$ac_ct_RANLIB
14468 RANLIB
="$ac_cv_prog_RANLIB"
14472 if test -n "$ac_tool_prefix"; then
14473 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14474 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14475 echo "$as_me:$LINENO: checking for $ac_word" >&5
14476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14477 if test "${ac_cv_prog_AR+set}" = set; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14480 if test -n "$AR"; then
14481 ac_cv_prog_AR
="$AR" # Let the user override the test.
14483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14484 for as_dir
in $PATH
14487 test -z "$as_dir" && as_dir
=.
14488 for ac_exec_ext
in '' $ac_executable_extensions; do
14489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14490 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14500 if test -n "$AR"; then
14501 echo "$as_me:$LINENO: result: $AR" >&5
14502 echo "${ECHO_T}$AR" >&6
14504 echo "$as_me:$LINENO: result: no" >&5
14505 echo "${ECHO_T}no" >&6
14509 if test -z "$ac_cv_prog_AR"; then
14511 # Extract the first word of "ar", so it can be a program name with args.
14512 set dummy
ar; ac_word
=$2
14513 echo "$as_me:$LINENO: checking for $ac_word" >&5
14514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14515 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14516 echo $ECHO_N "(cached) $ECHO_C" >&6
14518 if test -n "$ac_ct_AR"; then
14519 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14522 for as_dir
in $PATH
14525 test -z "$as_dir" && as_dir
=.
14526 for ac_exec_ext
in '' $ac_executable_extensions; do
14527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14528 ac_cv_prog_ac_ct_AR
="ar"
14529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14537 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14538 if test -n "$ac_ct_AR"; then
14539 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14540 echo "${ECHO_T}$ac_ct_AR" >&6
14542 echo "$as_me:$LINENO: result: no" >&5
14543 echo "${ECHO_T}no" >&6
14548 AR
="$ac_cv_prog_AR"
14551 if test "x$AR" = "x" ; then
14552 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14553 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14554 { (exit 1); exit 1; }; }
14557 # Find a good install program. We prefer a C program (faster),
14558 # so one script is as good as another. But avoid the broken or
14559 # incompatible versions:
14560 # SysV /etc/install, /usr/sbin/install
14561 # SunOS /usr/etc/install
14562 # IRIX /sbin/install
14564 # AmigaOS /C/install, which installs bootblocks on floppy discs
14565 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14566 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14567 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14568 # OS/2's system install, which has a completely different semantic
14569 # ./install, which can be erroneously created by make from ./install.sh.
14570 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14571 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14572 if test -z "$INSTALL"; then
14573 if test "${ac_cv_path_install+set}" = set; then
14574 echo $ECHO_N "(cached) $ECHO_C" >&6
14576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14577 for as_dir
in $PATH
14580 test -z "$as_dir" && as_dir
=.
14581 # Account for people who put trailing slashes in PATH elements.
14583 .
/ | .
// | /cC
/* | \
14584 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14585 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14588 # OSF1 and SCO ODT 3.0 have their own names for install.
14589 # Don't use installbsd from OSF since it installs stuff as root
14591 for ac_prog
in ginstall scoinst
install; do
14592 for ac_exec_ext
in '' $ac_executable_extensions; do
14593 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14594 if test $ac_prog = install &&
14595 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14596 # AIX install. It has an incompatible calling convention.
14598 elif test $ac_prog = install &&
14599 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14600 # program-specific install script used by HP pwplus--don't use.
14603 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14615 if test "${ac_cv_path_install+set}" = set; then
14616 INSTALL
=$ac_cv_path_install
14618 # As a last resort, use the slow shell script. We don't cache a
14619 # path for INSTALL within a source directory, because that will
14620 # break other packages using the cache if that directory is
14621 # removed, or if the path is relative.
14622 INSTALL
=$ac_install_sh
14625 echo "$as_me:$LINENO: result: $INSTALL" >&5
14626 echo "${ECHO_T}$INSTALL" >&6
14628 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14629 # It thinks the first close brace ends the variable substitution.
14630 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14632 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14634 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14640 ?
:* ) # Drive letter, considered as absolute.
14643 INSTALL
=`pwd`/${INSTALL} ;;
14650 INSTALL_PROGRAM
="cp -fp"
14651 INSTALL_DATA
="cp -fp"
14657 if test -n "$ac_tool_prefix"; then
14658 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14659 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14660 echo "$as_me:$LINENO: checking for $ac_word" >&5
14661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14662 if test "${ac_cv_prog_STRIP+set}" = set; then
14663 echo $ECHO_N "(cached) $ECHO_C" >&6
14665 if test -n "$STRIP"; then
14666 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14669 for as_dir
in $PATH
14672 test -z "$as_dir" && as_dir
=.
14673 for ac_exec_ext
in '' $ac_executable_extensions; do
14674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14675 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14684 STRIP
=$ac_cv_prog_STRIP
14685 if test -n "$STRIP"; then
14686 echo "$as_me:$LINENO: result: $STRIP" >&5
14687 echo "${ECHO_T}$STRIP" >&6
14689 echo "$as_me:$LINENO: result: no" >&5
14690 echo "${ECHO_T}no" >&6
14694 if test -z "$ac_cv_prog_STRIP"; then
14696 # Extract the first word of "strip", so it can be a program name with args.
14697 set dummy strip
; ac_word
=$2
14698 echo "$as_me:$LINENO: checking for $ac_word" >&5
14699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14700 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14701 echo $ECHO_N "(cached) $ECHO_C" >&6
14703 if test -n "$ac_ct_STRIP"; then
14704 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14707 for as_dir
in $PATH
14710 test -z "$as_dir" && as_dir
=.
14711 for ac_exec_ext
in '' $ac_executable_extensions; do
14712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14713 ac_cv_prog_ac_ct_STRIP
="strip"
14714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14720 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14723 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14724 if test -n "$ac_ct_STRIP"; then
14725 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14726 echo "${ECHO_T}$ac_ct_STRIP" >&6
14728 echo "$as_me:$LINENO: result: no" >&5
14729 echo "${ECHO_T}no" >&6
14734 STRIP
="$ac_cv_prog_STRIP"
14738 if test "$wxUSE_WINE" = "yes"; then
14739 if test -n "$ac_tool_prefix"; then
14740 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14741 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14742 echo "$as_me:$LINENO: checking for $ac_word" >&5
14743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14744 if test "${ac_cv_prog_WINDRES+set}" = set; then
14745 echo $ECHO_N "(cached) $ECHO_C" >&6
14747 if test -n "$WINDRES"; then
14748 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14751 for as_dir
in $PATH
14754 test -z "$as_dir" && as_dir
=.
14755 for ac_exec_ext
in '' $ac_executable_extensions; do
14756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14757 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
14758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14766 WINDRES
=$ac_cv_prog_WINDRES
14767 if test -n "$WINDRES"; then
14768 echo "$as_me:$LINENO: result: $WINDRES" >&5
14769 echo "${ECHO_T}$WINDRES" >&6
14771 echo "$as_me:$LINENO: result: no" >&5
14772 echo "${ECHO_T}no" >&6
14776 if test -z "$ac_cv_prog_WINDRES"; then
14777 ac_ct_WINDRES
=$WINDRES
14778 # Extract the first word of "wrc", so it can be a program name with args.
14779 set dummy wrc
; ac_word
=$2
14780 echo "$as_me:$LINENO: checking for $ac_word" >&5
14781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14782 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14785 if test -n "$ac_ct_WINDRES"; then
14786 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14789 for as_dir
in $PATH
14792 test -z "$as_dir" && as_dir
=.
14793 for ac_exec_ext
in '' $ac_executable_extensions; do
14794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14795 ac_cv_prog_ac_ct_WINDRES
="wrc"
14796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14804 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14805 if test -n "$ac_ct_WINDRES"; then
14806 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14807 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14809 echo "$as_me:$LINENO: result: no" >&5
14810 echo "${ECHO_T}no" >&6
14813 WINDRES
=$ac_ct_WINDRES
14815 WINDRES
="$ac_cv_prog_WINDRES"
14821 *-*-cygwin* | *-*-mingw32* )
14822 if test -n "$ac_tool_prefix"; then
14823 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14824 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14825 echo "$as_me:$LINENO: checking for $ac_word" >&5
14826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14827 if test "${ac_cv_prog_WINDRES+set}" = set; then
14828 echo $ECHO_N "(cached) $ECHO_C" >&6
14830 if test -n "$WINDRES"; then
14831 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14834 for as_dir
in $PATH
14837 test -z "$as_dir" && as_dir
=.
14838 for ac_exec_ext
in '' $ac_executable_extensions; do
14839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14840 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
14841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14849 WINDRES
=$ac_cv_prog_WINDRES
14850 if test -n "$WINDRES"; then
14851 echo "$as_me:$LINENO: result: $WINDRES" >&5
14852 echo "${ECHO_T}$WINDRES" >&6
14854 echo "$as_me:$LINENO: result: no" >&5
14855 echo "${ECHO_T}no" >&6
14859 if test -z "$ac_cv_prog_WINDRES"; then
14860 ac_ct_WINDRES
=$WINDRES
14861 # Extract the first word of "windres", so it can be a program name with args.
14862 set dummy windres
; ac_word
=$2
14863 echo "$as_me:$LINENO: checking for $ac_word" >&5
14864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14865 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14866 echo $ECHO_N "(cached) $ECHO_C" >&6
14868 if test -n "$ac_ct_WINDRES"; then
14869 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14872 for as_dir
in $PATH
14875 test -z "$as_dir" && as_dir
=.
14876 for ac_exec_ext
in '' $ac_executable_extensions; do
14877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14878 ac_cv_prog_ac_ct_WINDRES
="windres"
14879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14887 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14888 if test -n "$ac_ct_WINDRES"; then
14889 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14890 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14892 echo "$as_me:$LINENO: result: no" >&5
14893 echo "${ECHO_T}no" >&6
14896 WINDRES
=$ac_ct_WINDRES
14898 WINDRES
="$ac_cv_prog_WINDRES"
14902 if test -n "$ac_tool_prefix"; then
14903 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14904 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14905 echo "$as_me:$LINENO: checking for $ac_word" >&5
14906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14907 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14908 echo $ECHO_N "(cached) $ECHO_C" >&6
14910 if test -n "$DLLTOOL"; then
14911 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14914 for as_dir
in $PATH
14917 test -z "$as_dir" && as_dir
=.
14918 for ac_exec_ext
in '' $ac_executable_extensions; do
14919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14920 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14929 DLLTOOL
=$ac_cv_prog_DLLTOOL
14930 if test -n "$DLLTOOL"; then
14931 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14932 echo "${ECHO_T}$DLLTOOL" >&6
14934 echo "$as_me:$LINENO: result: no" >&5
14935 echo "${ECHO_T}no" >&6
14939 if test -z "$ac_cv_prog_DLLTOOL"; then
14940 ac_ct_DLLTOOL
=$DLLTOOL
14941 # Extract the first word of "dlltool", so it can be a program name with args.
14942 set dummy dlltool
; ac_word
=$2
14943 echo "$as_me:$LINENO: checking for $ac_word" >&5
14944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14945 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 if test -n "$ac_ct_DLLTOOL"; then
14949 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14952 for as_dir
in $PATH
14955 test -z "$as_dir" && as_dir
=.
14956 for ac_exec_ext
in '' $ac_executable_extensions; do
14957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14958 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14967 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14968 if test -n "$ac_ct_DLLTOOL"; then
14969 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14970 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14972 echo "$as_me:$LINENO: result: no" >&5
14973 echo "${ECHO_T}no" >&6
14976 DLLTOOL
=$ac_ct_DLLTOOL
14978 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14985 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14986 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14987 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14988 echo $ECHO_N "(cached) $ECHO_C" >&6
14991 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14992 egrep -s GNU
> /dev
/null
); then
14993 wx_cv_prog_makeisgnu
="yes"
14995 wx_cv_prog_makeisgnu
="no"
14999 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15000 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15002 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15010 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15011 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15012 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15013 if test "${wx_cv_prog_makevpath+set}" = set; then
15014 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 cat - << EOF > confMake
15023 if test ! -d sub
; then
15026 echo dummy
> sub
/file
15027 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15029 rm -f sub
/file check final_file confMake
15031 if test "$RESULT" = 0; then
15032 wx_cv_prog_makevpath
="yes"
15034 wx_cv_prog_makevpath
="no"
15038 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15039 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15041 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15042 { { echo "$as_me:$LINENO: error:
15043 You need a make-utility that is able to use the variable
15045 If your version of make does not support VPATH correctly,
15046 please install GNU-make (possibly as gmake), and start
15047 configure with the following command:
15048 export MAKE=gmake; ./configure for sh-type shells
15049 setenv MAKE gmake; ./configure for csh-type shells
15050 Also please do remember to use gmake in this case every time
15051 you are trying to compile.
15053 echo "$as_me: error:
15054 You need a make-utility that is able to use the variable
15056 If your version of make does not support VPATH correctly,
15057 please install GNU-make (possibly as gmake), and start
15058 configure with the following command:
15059 export MAKE=gmake; ./configure for sh-type shells
15060 setenv MAKE gmake; ./configure for csh-type shells
15061 Also please do remember to use gmake in this case every time
15062 you are trying to compile.
15064 { (exit 1); exit 1; }; }
15066 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15067 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15069 if test "$LN_S" = "ln -s"; then
15070 echo "$as_me:$LINENO: result: yes" >&5
15071 echo "${ECHO_T}yes" >&6
15073 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15074 echo "${ECHO_T}no, using $LN_S" >&6
15080 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15081 CXXFLAGS
="-qunique $CXXFLAGS"
15085 powerpc
-*-darwin* )
15086 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15087 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15088 cat >conftest.
$ac_ext <<_ACEOF
15091 cat confdefs.h
>>conftest.
$ac_ext
15092 cat >>conftest.
$ac_ext <<_ACEOF
15093 /* end confdefs.h. */
15098 #ifndef __POWERPC__
15099 choke me for lack of PowerPC
15106 rm -f conftest.
$ac_objext
15107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15108 (eval $ac_compile) 2>conftest.er1
15110 grep -v '^ *+' conftest.er1
>conftest.err
15112 cat conftest.err
>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); } &&
15115 { ac_try
='test -z "$ac_cxx_werror_flag"
15116 || test ! -s conftest.err'
15117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118 (eval $ac_try) 2>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }; } &&
15122 { ac_try
='test -s conftest.$ac_objext'
15123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15124 (eval $ac_try) 2>&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); }; }; then
15128 echo "$as_me:$LINENO: result: yes" >&5
15129 echo "${ECHO_T}yes" >&6
15131 echo "$as_me: failed program was:" >&5
15132 sed 's/^/| /' conftest.
$ac_ext >&5
15134 echo "$as_me:$LINENO: result: no" >&5
15135 echo "${ECHO_T}no" >&6
15136 cat >>confdefs.h
<<\_ACEOF
15137 #define __POWERPC__ 1
15142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15148 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15149 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15150 cat >conftest.
$ac_ext <<_ACEOF
15153 cat confdefs.h
>>conftest.
$ac_ext
15154 cat >>conftest.
$ac_ext <<_ACEOF
15155 /* end confdefs.h. */
15156 #include <CoreFoundation/CFBase.h>
15166 rm -f conftest.
$ac_objext
15167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15168 (eval $ac_compile) 2>conftest.er1
15170 grep -v '^ *+' conftest.er1
>conftest.err
15172 cat conftest.err
>&5
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); } &&
15175 { ac_try
='test -z "$ac_cxx_werror_flag"
15176 || test ! -s conftest.err'
15177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15178 (eval $ac_try) 2>&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); }; } &&
15182 { ac_try
='test -s conftest.$ac_objext'
15183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15184 (eval $ac_try) 2>&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); }; }; then
15188 echo "$as_me:$LINENO: result: yes" >&5
15189 echo "${ECHO_T}yes" >&6
15191 echo "$as_me: failed program was:" >&5
15192 sed 's/^/| /' conftest.
$ac_ext >&5
15194 echo "$as_me:$LINENO: result: no" >&5
15195 echo "${ECHO_T}no" >&6
15196 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15197 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15198 cat >conftest.
$ac_ext <<_ACEOF
15201 cat confdefs.h
>>conftest.
$ac_ext
15202 cat >>conftest.
$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15204 #define __CF_USE_FRAMEWORK_INCLUDES__
15205 #include <CoreFoundation/CFBase.h>
15215 rm -f conftest.
$ac_objext
15216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15217 (eval $ac_compile) 2>conftest.er1
15219 grep -v '^ *+' conftest.er1
>conftest.err
15221 cat conftest.err
>&5
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); } &&
15224 { ac_try
='test -z "$ac_cxx_werror_flag"
15225 || test ! -s conftest.err'
15226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227 (eval $ac_try) 2>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }; } &&
15231 { ac_try
='test -s conftest.$ac_objext'
15232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15233 (eval $ac_try) 2>&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); }; }; then
15237 echo "$as_me:$LINENO: result: yes" >&5
15238 echo "${ECHO_T}yes" >&6
15239 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15241 echo "$as_me: failed program was:" >&5
15242 sed 's/^/| /' conftest.
$ac_ext >&5
15244 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15245 See \`config.log' for more details." >&5
15246 echo "$as_me: error: no. CoreFoundation not available.
15247 See \`config.log' for more details." >&2;}
15248 { (exit 1); exit 1; }; }
15251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15260 *-pc-os2_emx | *-pc-os2-emx )
15262 ac_cpp
='$CPP $CPPFLAGS'
15263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15267 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15268 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15269 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15270 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15273 ac_check_lib_save_LIBS
=$LIBS
15274 LIBS
="-lcExt $LIBS"
15275 cat >conftest.
$ac_ext <<_ACEOF
15278 cat confdefs.h
>>conftest.
$ac_ext
15279 cat >>conftest.
$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15282 /* Override any gcc2 internal prototype to avoid an error. */
15286 /* We use char because int might match the return type of a gcc2
15287 builtin and then its argument prototype would still apply. */
15297 rm -f conftest.
$ac_objext conftest
$ac_exeext
15298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15299 (eval $ac_link) 2>conftest.er1
15301 grep -v '^ *+' conftest.er1
>conftest.err
15303 cat conftest.err
>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); } &&
15306 { ac_try
='test -z "$ac_c_werror_flag"
15307 || test ! -s conftest.err'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; } &&
15313 { ac_try
='test -s conftest$ac_exeext'
15314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15315 (eval $ac_try) 2>&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); }; }; then
15319 ac_cv_lib_cExt_drand48
=yes
15321 echo "$as_me: failed program was:" >&5
15322 sed 's/^/| /' conftest.
$ac_ext >&5
15324 ac_cv_lib_cExt_drand48
=no
15326 rm -f conftest.err conftest.
$ac_objext \
15327 conftest
$ac_exeext conftest.
$ac_ext
15328 LIBS
=$ac_check_lib_save_LIBS
15330 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15331 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15332 if test $ac_cv_lib_cExt_drand48 = yes; then
15333 LIBS
="$LIBS -lcExt"
15337 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15339 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15340 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15341 if test "${wx_cv_gccversion+set}" = set; then
15342 echo $ECHO_N "(cached) $ECHO_C" >&6
15345 if test "$cross_compiling" = yes; then
15346 wx_cv_gccversion
="EMX2"
15349 cat >conftest.
$ac_ext <<_ACEOF
15352 cat confdefs.h
>>conftest.
$ac_ext
15353 cat >>conftest.
$ac_ext <<_ACEOF
15354 /* end confdefs.h. */
15360 FILE *f=fopen("conftestval", "w");
15365 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15367 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15377 rm -f conftest
$ac_exeext
15378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15379 (eval $ac_link) 2>&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15384 (eval $ac_try) 2>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); }; }; then
15388 wx_cv_gccversion
=`cat conftestval`
15390 echo "$as_me: program exited with status $ac_status" >&5
15391 echo "$as_me: failed program was:" >&5
15392 sed 's/^/| /' conftest.
$ac_ext >&5
15394 ( exit $ac_status )
15395 wx_cv_gccversion
="EMX2"
15397 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15401 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15402 echo "${ECHO_T}$wx_cv_gccversion" >&6
15404 ac_cpp
='$CXXCPP $CPPFLAGS'
15405 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15406 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15407 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15409 if test "$wx_cv_gccversion" = "EMX2"; then
15410 LIBS
="$LIBS -lstdcpp"
15411 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15413 if test "$wx_cv_gccversion" = "EMX3"; then
15414 LIBS
="$LIBS -lstdcxx -lgcc"
15415 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15417 LIBS
="$LIBS -lstdc++"
15420 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15421 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15422 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15429 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15430 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15431 if test "${ac_cv_string_strcasecmp+set}" = set; then
15432 echo $ECHO_N "(cached) $ECHO_C" >&6
15435 cat >conftest.
$ac_ext <<_ACEOF
15438 cat confdefs.h
>>conftest.
$ac_ext
15439 cat >>conftest.
$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15442 #include <string.h>
15448 strcasecmp("foo", "bar");
15454 rm -f conftest.
$ac_objext conftest
$ac_exeext
15455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15456 (eval $ac_link) 2>conftest.er1
15458 grep -v '^ *+' conftest.er1
>conftest.err
15460 cat conftest.err
>&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); } &&
15463 { ac_try
='test -z "$ac_cxx_werror_flag"
15464 || test ! -s conftest.err'
15465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466 (eval $ac_try) 2>&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); }; } &&
15470 { ac_try
='test -s conftest$ac_exeext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 ac_cv_string_strcasecmp
=yes
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.
$ac_ext >&5
15481 ac_cv_string_strcasecmp
=no
15484 rm -f conftest.err conftest.
$ac_objext \
15485 conftest
$ac_exeext conftest.
$ac_ext
15488 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15489 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15491 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15492 cat >>confdefs.h
<<\_ACEOF
15493 #define HAVE_STRCASECMP_IN_STRING_H 1
15497 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15498 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15499 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15500 echo $ECHO_N "(cached) $ECHO_C" >&6
15503 cat >conftest.
$ac_ext <<_ACEOF
15506 cat confdefs.h
>>conftest.
$ac_ext
15507 cat >>conftest.
$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15510 #include <strings.h>
15516 strcasecmp("foo", "bar");
15522 rm -f conftest.
$ac_objext conftest
$ac_exeext
15523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15524 (eval $ac_link) 2>conftest.er1
15526 grep -v '^ *+' conftest.er1
>conftest.err
15528 cat conftest.err
>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } &&
15531 { ac_try
='test -z "$ac_cxx_werror_flag"
15532 || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try
='test -s conftest$ac_exeext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15544 ac_cv_strings_strcasecmp
=yes
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.
$ac_ext >&5
15549 ac_cv_strings_strcasecmp
=no
15552 rm -f conftest.err conftest.
$ac_objext \
15553 conftest
$ac_exeext conftest.
$ac_ext
15556 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15557 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15559 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15560 cat >>confdefs.h
<<\_ACEOF
15561 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15565 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15566 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15567 { (exit 1); exit 1; }; }
15576 ac_cpp
='$CXXCPP $CPPFLAGS'
15577 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15578 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15579 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15580 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15581 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15582 if test -z "$CXXCPP"; then
15583 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15584 echo $ECHO_N "(cached) $ECHO_C" >&6
15586 # Double quotes because CXXCPP needs to be expanded
15587 for CXXCPP
in "$CXX -E" "/lib/cpp"
15589 ac_preproc_ok
=false
15590 for ac_cxx_preproc_warn_flag
in '' yes
15592 # Use a header file that comes with gcc, so configuring glibc
15593 # with a fresh cross-compiler works.
15594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15595 # <limits.h> exists even on freestanding compilers.
15596 # On the NeXT, cc -E runs the code through the compiler's parser,
15597 # not just through cpp. "Syntax error" is here to catch this case.
15598 cat >conftest.
$ac_ext <<_ACEOF
15601 cat confdefs.h
>>conftest.
$ac_ext
15602 cat >>conftest.
$ac_ext <<_ACEOF
15603 /* end confdefs.h. */
15605 # include <limits.h>
15607 # include <assert.h>
15611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15612 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15614 grep -v '^ *+' conftest.er1
>conftest.err
15616 cat conftest.err
>&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); } >/dev
/null
; then
15619 if test -s conftest.err
; then
15620 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15621 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15628 if test -z "$ac_cpp_err"; then
15631 echo "$as_me: failed program was:" >&5
15632 sed 's/^/| /' conftest.
$ac_ext >&5
15634 # Broken: fails on valid input.
15637 rm -f conftest.err conftest.
$ac_ext
15639 # OK, works on sane cases. Now check whether non-existent headers
15640 # can be detected and how.
15641 cat >conftest.
$ac_ext <<_ACEOF
15644 cat confdefs.h
>>conftest.
$ac_ext
15645 cat >>conftest.
$ac_ext <<_ACEOF
15646 /* end confdefs.h. */
15647 #include <ac_nonexistent.h>
15649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15650 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15652 grep -v '^ *+' conftest.er1
>conftest.err
15654 cat conftest.err
>&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); } >/dev
/null
; then
15657 if test -s conftest.err
; then
15658 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15659 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15666 if test -z "$ac_cpp_err"; then
15667 # Broken: success on invalid input.
15670 echo "$as_me: failed program was:" >&5
15671 sed 's/^/| /' conftest.
$ac_ext >&5
15673 # Passes both tests.
15677 rm -f conftest.err conftest.
$ac_ext
15680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15681 rm -f conftest.err conftest.
$ac_ext
15682 if $ac_preproc_ok; then
15687 ac_cv_prog_CXXCPP
=$CXXCPP
15690 CXXCPP
=$ac_cv_prog_CXXCPP
15692 ac_cv_prog_CXXCPP
=$CXXCPP
15694 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15695 echo "${ECHO_T}$CXXCPP" >&6
15696 ac_preproc_ok
=false
15697 for ac_cxx_preproc_warn_flag
in '' yes
15699 # Use a header file that comes with gcc, so configuring glibc
15700 # with a fresh cross-compiler works.
15701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15702 # <limits.h> exists even on freestanding compilers.
15703 # On the NeXT, cc -E runs the code through the compiler's parser,
15704 # not just through cpp. "Syntax error" is here to catch this case.
15705 cat >conftest.
$ac_ext <<_ACEOF
15708 cat confdefs.h
>>conftest.
$ac_ext
15709 cat >>conftest.
$ac_ext <<_ACEOF
15710 /* end confdefs.h. */
15712 # include <limits.h>
15714 # include <assert.h>
15718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15719 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15721 grep -v '^ *+' conftest.er1
>conftest.err
15723 cat conftest.err
>&5
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); } >/dev
/null
; then
15726 if test -s conftest.err
; then
15727 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15728 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15735 if test -z "$ac_cpp_err"; then
15738 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.
$ac_ext >&5
15741 # Broken: fails on valid input.
15744 rm -f conftest.err conftest.
$ac_ext
15746 # OK, works on sane cases. Now check whether non-existent headers
15747 # can be detected and how.
15748 cat >conftest.
$ac_ext <<_ACEOF
15751 cat confdefs.h
>>conftest.
$ac_ext
15752 cat >>conftest.
$ac_ext <<_ACEOF
15753 /* end confdefs.h. */
15754 #include <ac_nonexistent.h>
15756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15757 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15759 grep -v '^ *+' conftest.er1
>conftest.err
15761 cat conftest.err
>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); } >/dev
/null
; then
15764 if test -s conftest.err
; then
15765 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15766 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15773 if test -z "$ac_cpp_err"; then
15774 # Broken: success on invalid input.
15777 echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.
$ac_ext >&5
15780 # Passes both tests.
15784 rm -f conftest.err conftest.
$ac_ext
15787 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15788 rm -f conftest.err conftest.
$ac_ext
15789 if $ac_preproc_ok; then
15792 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15793 See \`config.log' for more details." >&5
15794 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15795 See \`config.log' for more details." >&2;}
15796 { (exit 1); exit 1; }; }
15800 ac_cpp
='$CXXCPP $CPPFLAGS'
15801 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15802 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15803 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15806 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15807 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15808 if test "${ac_cv_header_stdc+set}" = set; then
15809 echo $ECHO_N "(cached) $ECHO_C" >&6
15811 cat >conftest.
$ac_ext <<_ACEOF
15814 cat confdefs.h
>>conftest.
$ac_ext
15815 cat >>conftest.
$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15817 #include <stdlib.h>
15818 #include <stdarg.h>
15819 #include <string.h>
15830 rm -f conftest.
$ac_objext
15831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15832 (eval $ac_compile) 2>conftest.er1
15834 grep -v '^ *+' conftest.er1
>conftest.err
15836 cat conftest.err
>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); } &&
15839 { ac_try
='test -z "$ac_cxx_werror_flag"
15840 || test ! -s conftest.err'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; } &&
15846 { ac_try
='test -s conftest.$ac_objext'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; }; then
15852 ac_cv_header_stdc
=yes
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.
$ac_ext >&5
15857 ac_cv_header_stdc
=no
15859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15861 if test $ac_cv_header_stdc = yes; then
15862 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15863 cat >conftest.
$ac_ext <<_ACEOF
15866 cat confdefs.h
>>conftest.
$ac_ext
15867 cat >>conftest.
$ac_ext <<_ACEOF
15868 /* end confdefs.h. */
15869 #include <string.h>
15872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15873 $EGREP "memchr" >/dev
/null
2>&1; then
15876 ac_cv_header_stdc
=no
15882 if test $ac_cv_header_stdc = yes; then
15883 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15884 cat >conftest.
$ac_ext <<_ACEOF
15887 cat confdefs.h
>>conftest.
$ac_ext
15888 cat >>conftest.
$ac_ext <<_ACEOF
15889 /* end confdefs.h. */
15890 #include <stdlib.h>
15893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15894 $EGREP "free" >/dev
/null
2>&1; then
15897 ac_cv_header_stdc
=no
15903 if test $ac_cv_header_stdc = yes; then
15904 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15905 if test "$cross_compiling" = yes; then
15908 cat >conftest.
$ac_ext <<_ACEOF
15911 cat confdefs.h
>>conftest.
$ac_ext
15912 cat >>conftest.
$ac_ext <<_ACEOF
15913 /* end confdefs.h. */
15915 #if ((' ' & 0x0FF) == 0x020)
15916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15919 # define ISLOWER(c) \
15920 (('a' <= (c) && (c) <= 'i') \
15921 || ('j' <= (c) && (c) <= 'r') \
15922 || ('s' <= (c) && (c) <= 'z'))
15923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15931 for (i = 0; i < 256; i++)
15932 if (XOR (islower (i), ISLOWER (i))
15933 || toupper (i) != TOUPPER (i))
15938 rm -f conftest
$ac_exeext
15939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15940 (eval $ac_link) 2>&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; }; then
15951 echo "$as_me: program exited with status $ac_status" >&5
15952 echo "$as_me: failed program was:" >&5
15953 sed 's/^/| /' conftest.
$ac_ext >&5
15955 ( exit $ac_status )
15956 ac_cv_header_stdc
=no
15958 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15962 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15963 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15964 if test $ac_cv_header_stdc = yes; then
15966 cat >>confdefs.h
<<\_ACEOF
15967 #define STDC_HEADERS 1
15972 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15982 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15983 inttypes.h stdint.h unistd.h
15985 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15986 echo "$as_me:$LINENO: checking for $ac_header" >&5
15987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15989 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 cat >conftest.
$ac_ext <<_ACEOF
15994 cat confdefs.h
>>conftest.
$ac_ext
15995 cat >>conftest.
$ac_ext <<_ACEOF
15996 /* end confdefs.h. */
15997 $ac_includes_default
15999 #include <$ac_header>
16001 rm -f conftest.
$ac_objext
16002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16003 (eval $ac_compile) 2>conftest.er1
16005 grep -v '^ *+' conftest.er1
>conftest.err
16007 cat conftest.err
>&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); } &&
16010 { ac_try
='test -z "$ac_cxx_werror_flag"
16011 || test ! -s conftest.err'
16012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16013 (eval $ac_try) 2>&5
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); }; } &&
16017 { ac_try
='test -s conftest.$ac_objext'
16018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16019 (eval $ac_try) 2>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); }; }; then
16023 eval "$as_ac_Header=yes"
16025 echo "$as_me: failed program was:" >&5
16026 sed 's/^/| /' conftest.
$ac_ext >&5
16028 eval "$as_ac_Header=no"
16030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16035 cat >>confdefs.h
<<_ACEOF
16036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16045 for ac_header
in stdlib.h
16047 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16049 echo "$as_me:$LINENO: checking for $ac_header" >&5
16050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16052 echo $ECHO_N "(cached) $ECHO_C" >&6
16054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16057 # Is the header compilable?
16058 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16060 cat >conftest.
$ac_ext <<_ACEOF
16063 cat confdefs.h
>>conftest.
$ac_ext
16064 cat >>conftest.
$ac_ext <<_ACEOF
16065 /* end confdefs.h. */
16066 $ac_includes_default
16067 #include <$ac_header>
16069 rm -f conftest.
$ac_objext
16070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16071 (eval $ac_compile) 2>conftest.er1
16073 grep -v '^ *+' conftest.er1
>conftest.err
16075 cat conftest.err
>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); } &&
16078 { ac_try
='test -z "$ac_cxx_werror_flag"
16079 || 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_header_compiler
=yes
16093 echo "$as_me: failed program was:" >&5
16094 sed 's/^/| /' conftest.
$ac_ext >&5
16096 ac_header_compiler
=no
16098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16099 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16100 echo "${ECHO_T}$ac_header_compiler" >&6
16102 # Is the header present?
16103 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16104 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16105 cat >conftest.
$ac_ext <<_ACEOF
16108 cat confdefs.h
>>conftest.
$ac_ext
16109 cat >>conftest.
$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16111 #include <$ac_header>
16113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16114 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16116 grep -v '^ *+' conftest.er1
>conftest.err
16118 cat conftest.err
>&5
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); } >/dev
/null
; then
16121 if test -s conftest.err
; then
16122 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16123 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16130 if test -z "$ac_cpp_err"; then
16131 ac_header_preproc
=yes
16133 echo "$as_me: failed program was:" >&5
16134 sed 's/^/| /' conftest.
$ac_ext >&5
16136 ac_header_preproc
=no
16138 rm -f conftest.err conftest.
$ac_ext
16139 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16140 echo "${ECHO_T}$ac_header_preproc" >&6
16142 # So? What about this header?
16143 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16145 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16146 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16148 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16149 ac_header_preproc
=yes
16152 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16153 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16154 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16155 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16156 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16157 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16158 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16159 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16161 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16162 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16163 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16166 ## ----------------------------------------- ##
16167 ## Report this to wx-dev@lists.wxwidgets.org ##
16168 ## ----------------------------------------- ##
16171 sed "s/^/$as_me: WARNING: /" >&2
16174 echo "$as_me:$LINENO: checking for $ac_header" >&5
16175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16177 echo $ECHO_N "(cached) $ECHO_C" >&6
16179 eval "$as_ac_Header=\$ac_header_preproc"
16181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16186 cat >>confdefs.h
<<_ACEOF
16187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16195 for ac_header
in malloc.h
16197 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16199 echo "$as_me:$LINENO: checking for $ac_header" >&5
16200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16202 echo $ECHO_N "(cached) $ECHO_C" >&6
16204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16207 # Is the header compilable?
16208 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16209 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16210 cat >conftest.
$ac_ext <<_ACEOF
16213 cat confdefs.h
>>conftest.
$ac_ext
16214 cat >>conftest.
$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16216 $ac_includes_default
16217 #include <$ac_header>
16219 rm -f conftest.
$ac_objext
16220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16221 (eval $ac_compile) 2>conftest.er1
16223 grep -v '^ *+' conftest.er1
>conftest.err
16225 cat conftest.err
>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); } &&
16228 { ac_try
='test -z "$ac_cxx_werror_flag"
16229 || test ! -s conftest.err'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; } &&
16235 { ac_try
='test -s conftest.$ac_objext'
16236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16237 (eval $ac_try) 2>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); }; }; then
16241 ac_header_compiler
=yes
16243 echo "$as_me: failed program was:" >&5
16244 sed 's/^/| /' conftest.
$ac_ext >&5
16246 ac_header_compiler
=no
16248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16249 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16250 echo "${ECHO_T}$ac_header_compiler" >&6
16252 # Is the header present?
16253 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16254 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16255 cat >conftest.
$ac_ext <<_ACEOF
16258 cat confdefs.h
>>conftest.
$ac_ext
16259 cat >>conftest.
$ac_ext <<_ACEOF
16260 /* end confdefs.h. */
16261 #include <$ac_header>
16263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16264 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16266 grep -v '^ *+' conftest.er1
>conftest.err
16268 cat conftest.err
>&5
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); } >/dev
/null
; then
16271 if test -s conftest.err
; then
16272 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16273 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16280 if test -z "$ac_cpp_err"; then
16281 ac_header_preproc
=yes
16283 echo "$as_me: failed program was:" >&5
16284 sed 's/^/| /' conftest.
$ac_ext >&5
16286 ac_header_preproc
=no
16288 rm -f conftest.err conftest.
$ac_ext
16289 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16290 echo "${ECHO_T}$ac_header_preproc" >&6
16292 # So? What about this header?
16293 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16295 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16296 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16298 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16299 ac_header_preproc
=yes
16302 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16303 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16304 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16305 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16306 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16307 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16308 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16309 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16312 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16313 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16316 ## ----------------------------------------- ##
16317 ## Report this to wx-dev@lists.wxwidgets.org ##
16318 ## ----------------------------------------- ##
16321 sed "s/^/$as_me: WARNING: /" >&2
16324 echo "$as_me:$LINENO: checking for $ac_header" >&5
16325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16327 echo $ECHO_N "(cached) $ECHO_C" >&6
16329 eval "$as_ac_Header=\$ac_header_preproc"
16331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16336 cat >>confdefs.h
<<_ACEOF
16337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16345 for ac_header
in unistd.h
16347 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16349 echo "$as_me:$LINENO: checking for $ac_header" >&5
16350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16352 echo $ECHO_N "(cached) $ECHO_C" >&6
16354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16355 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16357 # Is the header compilable?
16358 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16359 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16360 cat >conftest.
$ac_ext <<_ACEOF
16363 cat confdefs.h
>>conftest.
$ac_ext
16364 cat >>conftest.
$ac_ext <<_ACEOF
16365 /* end confdefs.h. */
16366 $ac_includes_default
16367 #include <$ac_header>
16369 rm -f conftest.
$ac_objext
16370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16371 (eval $ac_compile) 2>conftest.er1
16373 grep -v '^ *+' conftest.er1
>conftest.err
16375 cat conftest.err
>&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } &&
16378 { ac_try
='test -z "$ac_cxx_werror_flag"
16379 || test ! -s conftest.err'
16380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16381 (eval $ac_try) 2>&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); }; } &&
16385 { ac_try
='test -s conftest.$ac_objext'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; }; then
16391 ac_header_compiler
=yes
16393 echo "$as_me: failed program was:" >&5
16394 sed 's/^/| /' conftest.
$ac_ext >&5
16396 ac_header_compiler
=no
16398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16399 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16400 echo "${ECHO_T}$ac_header_compiler" >&6
16402 # Is the header present?
16403 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16404 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16405 cat >conftest.
$ac_ext <<_ACEOF
16408 cat confdefs.h
>>conftest.
$ac_ext
16409 cat >>conftest.
$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16411 #include <$ac_header>
16413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16414 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16416 grep -v '^ *+' conftest.er1
>conftest.err
16418 cat conftest.err
>&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } >/dev
/null
; then
16421 if test -s conftest.err
; then
16422 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16423 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16430 if test -z "$ac_cpp_err"; then
16431 ac_header_preproc
=yes
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.
$ac_ext >&5
16436 ac_header_preproc
=no
16438 rm -f conftest.err conftest.
$ac_ext
16439 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16440 echo "${ECHO_T}$ac_header_preproc" >&6
16442 # So? What about this header?
16443 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16445 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16446 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16448 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16449 ac_header_preproc
=yes
16452 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16453 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16454 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16455 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16456 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16457 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16458 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16459 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16461 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16462 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16463 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16466 ## ----------------------------------------- ##
16467 ## Report this to wx-dev@lists.wxwidgets.org ##
16468 ## ----------------------------------------- ##
16471 sed "s/^/$as_me: WARNING: /" >&2
16474 echo "$as_me:$LINENO: checking for $ac_header" >&5
16475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16477 echo $ECHO_N "(cached) $ECHO_C" >&6
16479 eval "$as_ac_Header=\$ac_header_preproc"
16481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16486 cat >>confdefs.h
<<_ACEOF
16487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16495 for ac_header
in wchar.h
16497 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16499 echo "$as_me:$LINENO: checking for $ac_header" >&5
16500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16502 echo $ECHO_N "(cached) $ECHO_C" >&6
16504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16507 # Is the header compilable?
16508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16510 cat >conftest.
$ac_ext <<_ACEOF
16513 cat confdefs.h
>>conftest.
$ac_ext
16514 cat >>conftest.
$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16516 $ac_includes_default
16517 #include <$ac_header>
16519 rm -f conftest.
$ac_objext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16521 (eval $ac_compile) 2>conftest.er1
16523 grep -v '^ *+' conftest.er1
>conftest.err
16525 cat conftest.err
>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); } &&
16528 { ac_try
='test -z "$ac_cxx_werror_flag"
16529 || test ! -s conftest.err'
16530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16531 (eval $ac_try) 2>&5
16533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); }; } &&
16535 { ac_try
='test -s conftest.$ac_objext'
16536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16537 (eval $ac_try) 2>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; }; then
16541 ac_header_compiler
=yes
16543 echo "$as_me: failed program was:" >&5
16544 sed 's/^/| /' conftest.
$ac_ext >&5
16546 ac_header_compiler
=no
16548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16550 echo "${ECHO_T}$ac_header_compiler" >&6
16552 # Is the header present?
16553 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16554 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16555 cat >conftest.
$ac_ext <<_ACEOF
16558 cat confdefs.h
>>conftest.
$ac_ext
16559 cat >>conftest.
$ac_ext <<_ACEOF
16560 /* end confdefs.h. */
16561 #include <$ac_header>
16563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16564 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16566 grep -v '^ *+' conftest.er1
>conftest.err
16568 cat conftest.err
>&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); } >/dev
/null
; then
16571 if test -s conftest.err
; then
16572 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16573 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16580 if test -z "$ac_cpp_err"; then
16581 ac_header_preproc
=yes
16583 echo "$as_me: failed program was:" >&5
16584 sed 's/^/| /' conftest.
$ac_ext >&5
16586 ac_header_preproc
=no
16588 rm -f conftest.err conftest.
$ac_ext
16589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16590 echo "${ECHO_T}$ac_header_preproc" >&6
16592 # So? What about this header?
16593 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16595 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16596 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16598 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16599 ac_header_preproc
=yes
16602 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16603 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16604 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16605 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16606 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16607 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16608 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16609 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16612 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16613 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16616 ## ----------------------------------------- ##
16617 ## Report this to wx-dev@lists.wxwidgets.org ##
16618 ## ----------------------------------------- ##
16621 sed "s/^/$as_me: WARNING: /" >&2
16624 echo "$as_me:$LINENO: checking for $ac_header" >&5
16625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 eval "$as_ac_Header=\$ac_header_preproc"
16631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16636 cat >>confdefs.h
<<_ACEOF
16637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16645 if test "$ac_cv_header_wchar_h" != "yes"; then
16647 for ac_header
in wcstr.h
16649 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16651 echo "$as_me:$LINENO: checking for $ac_header" >&5
16652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16654 echo $ECHO_N "(cached) $ECHO_C" >&6
16656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16659 # Is the header compilable?
16660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16662 cat >conftest.
$ac_ext <<_ACEOF
16665 cat confdefs.h
>>conftest.
$ac_ext
16666 cat >>conftest.
$ac_ext <<_ACEOF
16667 /* end confdefs.h. */
16668 $ac_includes_default
16669 #include <$ac_header>
16671 rm -f conftest.
$ac_objext
16672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16673 (eval $ac_compile) 2>conftest.er1
16675 grep -v '^ *+' conftest.er1
>conftest.err
16677 cat conftest.err
>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); } &&
16680 { ac_try
='test -z "$ac_cxx_werror_flag"
16681 || test ! -s conftest.err'
16682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16683 (eval $ac_try) 2>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }; } &&
16687 { ac_try
='test -s conftest.$ac_objext'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; }; then
16693 ac_header_compiler
=yes
16695 echo "$as_me: failed program was:" >&5
16696 sed 's/^/| /' conftest.
$ac_ext >&5
16698 ac_header_compiler
=no
16700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16702 echo "${ECHO_T}$ac_header_compiler" >&6
16704 # Is the header present?
16705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16707 cat >conftest.
$ac_ext <<_ACEOF
16710 cat confdefs.h
>>conftest.
$ac_ext
16711 cat >>conftest.
$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16713 #include <$ac_header>
16715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16718 grep -v '^ *+' conftest.er1
>conftest.err
16720 cat conftest.err
>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } >/dev
/null
; then
16723 if test -s conftest.err
; then
16724 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16725 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16732 if test -z "$ac_cpp_err"; then
16733 ac_header_preproc
=yes
16735 echo "$as_me: failed program was:" >&5
16736 sed 's/^/| /' conftest.
$ac_ext >&5
16738 ac_header_preproc
=no
16740 rm -f conftest.err conftest.
$ac_ext
16741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16742 echo "${ECHO_T}$ac_header_preproc" >&6
16744 # So? What about this header?
16745 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16751 ac_header_preproc
=yes
16754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16768 ## ----------------------------------------- ##
16769 ## Report this to wx-dev@lists.wxwidgets.org ##
16770 ## ----------------------------------------- ##
16773 sed "s/^/$as_me: WARNING: /" >&2
16776 echo "$as_me:$LINENO: checking for $ac_header" >&5
16777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16779 echo $ECHO_N "(cached) $ECHO_C" >&6
16781 eval "$as_ac_Header=\$ac_header_preproc"
16783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16788 cat >>confdefs.h
<<_ACEOF
16789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16799 for ac_header
in fnmatch.h
16801 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16803 echo "$as_me:$LINENO: checking for $ac_header" >&5
16804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16806 echo $ECHO_N "(cached) $ECHO_C" >&6
16808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16811 # Is the header compilable?
16812 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16814 cat >conftest.
$ac_ext <<_ACEOF
16817 cat confdefs.h
>>conftest.
$ac_ext
16818 cat >>conftest.
$ac_ext <<_ACEOF
16819 /* end confdefs.h. */
16820 $ac_includes_default
16821 #include <$ac_header>
16823 rm -f conftest.
$ac_objext
16824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16825 (eval $ac_compile) 2>conftest.er1
16827 grep -v '^ *+' conftest.er1
>conftest.err
16829 cat conftest.err
>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } &&
16832 { ac_try
='test -z "$ac_cxx_werror_flag"
16833 || test ! -s conftest.err'
16834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16835 (eval $ac_try) 2>&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }; } &&
16839 { ac_try
='test -s conftest.$ac_objext'
16840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841 (eval $ac_try) 2>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); }; }; then
16845 ac_header_compiler
=yes
16847 echo "$as_me: failed program was:" >&5
16848 sed 's/^/| /' conftest.
$ac_ext >&5
16850 ac_header_compiler
=no
16852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16854 echo "${ECHO_T}$ac_header_compiler" >&6
16856 # Is the header present?
16857 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16858 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16859 cat >conftest.
$ac_ext <<_ACEOF
16862 cat confdefs.h
>>conftest.
$ac_ext
16863 cat >>conftest.
$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865 #include <$ac_header>
16867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16868 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16870 grep -v '^ *+' conftest.er1
>conftest.err
16872 cat conftest.err
>&5
16873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16874 (exit $ac_status); } >/dev
/null
; then
16875 if test -s conftest.err
; then
16876 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16877 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16884 if test -z "$ac_cpp_err"; then
16885 ac_header_preproc
=yes
16887 echo "$as_me: failed program was:" >&5
16888 sed 's/^/| /' conftest.
$ac_ext >&5
16890 ac_header_preproc
=no
16892 rm -f conftest.err conftest.
$ac_ext
16893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16894 echo "${ECHO_T}$ac_header_preproc" >&6
16896 # So? What about this header?
16897 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16902 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16903 ac_header_preproc
=yes
16906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16909 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16910 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16911 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16912 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16913 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16916 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16917 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16920 ## ----------------------------------------- ##
16921 ## Report this to wx-dev@lists.wxwidgets.org ##
16922 ## ----------------------------------------- ##
16925 sed "s/^/$as_me: WARNING: /" >&2
16928 echo "$as_me:$LINENO: checking for $ac_header" >&5
16929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16931 echo $ECHO_N "(cached) $ECHO_C" >&6
16933 eval "$as_ac_Header=\$ac_header_preproc"
16935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16940 cat >>confdefs.h
<<_ACEOF
16941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16950 for ac_header
in langinfo.h
16952 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16954 echo "$as_me:$LINENO: checking for $ac_header" >&5
16955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16957 echo $ECHO_N "(cached) $ECHO_C" >&6
16959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16962 # Is the header compilable?
16963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16965 cat >conftest.
$ac_ext <<_ACEOF
16968 cat confdefs.h
>>conftest.
$ac_ext
16969 cat >>conftest.
$ac_ext <<_ACEOF
16970 /* end confdefs.h. */
16971 $ac_includes_default
16972 #include <$ac_header>
16974 rm -f conftest.
$ac_objext
16975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16976 (eval $ac_compile) 2>conftest.er1
16978 grep -v '^ *+' conftest.er1
>conftest.err
16980 cat conftest.err
>&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } &&
16983 { ac_try
='test -z "$ac_cxx_werror_flag"
16984 || test ! -s conftest.err'
16985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16986 (eval $ac_try) 2>&5
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); }; } &&
16990 { ac_try
='test -s conftest.$ac_objext'
16991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16992 (eval $ac_try) 2>&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); }; }; then
16996 ac_header_compiler
=yes
16998 echo "$as_me: failed program was:" >&5
16999 sed 's/^/| /' conftest.
$ac_ext >&5
17001 ac_header_compiler
=no
17003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17005 echo "${ECHO_T}$ac_header_compiler" >&6
17007 # Is the header present?
17008 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17010 cat >conftest.
$ac_ext <<_ACEOF
17013 cat confdefs.h
>>conftest.
$ac_ext
17014 cat >>conftest.
$ac_ext <<_ACEOF
17015 /* end confdefs.h. */
17016 #include <$ac_header>
17018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17019 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17021 grep -v '^ *+' conftest.er1
>conftest.err
17023 cat conftest.err
>&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); } >/dev
/null
; then
17026 if test -s conftest.err
; then
17027 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17028 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17035 if test -z "$ac_cpp_err"; then
17036 ac_header_preproc
=yes
17038 echo "$as_me: failed program was:" >&5
17039 sed 's/^/| /' conftest.
$ac_ext >&5
17041 ac_header_preproc
=no
17043 rm -f conftest.err conftest.
$ac_ext
17044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17045 echo "${ECHO_T}$ac_header_preproc" >&6
17047 # So? What about this header?
17048 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17053 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17054 ac_header_preproc
=yes
17057 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17058 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17059 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17060 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17061 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17062 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17063 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17064 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17067 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17068 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17071 ## ----------------------------------------- ##
17072 ## Report this to wx-dev@lists.wxwidgets.org ##
17073 ## ----------------------------------------- ##
17076 sed "s/^/$as_me: WARNING: /" >&2
17079 echo "$as_me:$LINENO: checking for $ac_header" >&5
17080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17084 eval "$as_ac_Header=\$ac_header_preproc"
17086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17091 cat >>confdefs.h
<<_ACEOF
17092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17101 *-pc-os2_emx | *-pc-os2-emx )
17102 if test $ac_cv_header_langinfo_h = "yes" \
17103 -a \
( "$wx_cv_gccversion" = "EMX2" \
17104 -o "$wx_cv_gccversion" = "EMX3" \
17105 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17106 LIBS
="$LIBS -lintl"
17112 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17113 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17114 if test "${ac_cv_c_const+set}" = set; then
17115 echo $ECHO_N "(cached) $ECHO_C" >&6
17117 cat >conftest.
$ac_ext <<_ACEOF
17120 cat confdefs.h
>>conftest.
$ac_ext
17121 cat >>conftest.
$ac_ext <<_ACEOF
17122 /* end confdefs.h. */
17127 /* FIXME: Include the comments suggested by Paul. */
17128 #ifndef __cplusplus
17129 /* Ultrix mips cc rejects this. */
17130 typedef int charset[2];
17132 /* SunOS 4.1.1 cc rejects this. */
17133 char const *const *ccp;
17135 /* NEC SVR4.0.2 mips cc rejects this. */
17136 struct point {int x, y;};
17137 static struct point const zero = {0,0};
17138 /* AIX XL C 1.02.0.0 rejects this.
17139 It does not let you subtract one const X* pointer from another in
17140 an arm of an if-expression whose if-part is not a constant
17142 const char *g = "string";
17143 ccp = &g + (g ? g-g : 0);
17144 /* HPUX 7.0 cc rejects these. */
17147 ccp = (char const *const *) p;
17148 { /* SCO 3.2v4 cc rejects this. */
17150 char const *s = 0 ? (char *) 0 : (char const *) 0;
17154 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17155 int x[] = {25, 17};
17156 const int *foo = &x[0];
17159 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17160 typedef const int *iptr;
17164 { /* AIX XL C 1.02.0.0 rejects this saying
17165 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17166 struct s { int j; const int *ap[3]; };
17167 struct s *b; b->j = 5;
17169 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17170 const int foo = 10;
17178 rm -f conftest.
$ac_objext
17179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17180 (eval $ac_compile) 2>conftest.er1
17182 grep -v '^ *+' conftest.er1
>conftest.err
17184 cat conftest.err
>&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } &&
17187 { ac_try
='test -z "$ac_cxx_werror_flag"
17188 || test ! -s conftest.err'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; } &&
17194 { ac_try
='test -s conftest.$ac_objext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.
$ac_ext >&5
17207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17209 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17210 echo "${ECHO_T}$ac_cv_c_const" >&6
17211 if test $ac_cv_c_const = no
; then
17213 cat >>confdefs.h
<<\_ACEOF
17219 echo "$as_me:$LINENO: checking for inline" >&5
17220 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17221 if test "${ac_cv_c_inline+set}" = set; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17225 for ac_kw
in inline __inline__ __inline
; do
17226 cat >conftest.
$ac_ext <<_ACEOF
17229 cat confdefs.h
>>conftest.
$ac_ext
17230 cat >>conftest.
$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 #ifndef __cplusplus
17234 static $ac_kw foo_t static_foo () {return 0; }
17235 $ac_kw foo_t foo () {return 0; }
17239 rm -f conftest.
$ac_objext
17240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17241 (eval $ac_compile) 2>conftest.er1
17243 grep -v '^ *+' conftest.er1
>conftest.err
17245 cat conftest.err
>&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); } &&
17248 { ac_try
='test -z "$ac_cxx_werror_flag"
17249 || test ! -s conftest.err'
17250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17251 (eval $ac_try) 2>&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); }; } &&
17255 { ac_try
='test -s conftest.$ac_objext'
17256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17257 (eval $ac_try) 2>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); }; }; then
17261 ac_cv_c_inline
=$ac_kw; break
17263 echo "$as_me: failed program was:" >&5
17264 sed 's/^/| /' conftest.
$ac_ext >&5
17267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17271 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17272 echo "${ECHO_T}$ac_cv_c_inline" >&6
17275 case $ac_cv_c_inline in
17278 case $ac_cv_c_inline in
17280 *) ac_val
=$ac_cv_c_inline;;
17282 cat >>confdefs.h
<<_ACEOF
17283 #ifndef __cplusplus
17284 #define inline $ac_val
17291 echo "$as_me:$LINENO: checking for char" >&5
17292 echo $ECHO_N "checking for char... $ECHO_C" >&6
17293 if test "${ac_cv_type_char+set}" = set; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17296 cat >conftest.
$ac_ext <<_ACEOF
17299 cat confdefs.h
>>conftest.
$ac_ext
17300 cat >>conftest.
$ac_ext <<_ACEOF
17301 /* end confdefs.h. */
17302 $ac_includes_default
17314 rm -f conftest.
$ac_objext
17315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17316 (eval $ac_compile) 2>conftest.er1
17318 grep -v '^ *+' conftest.er1
>conftest.err
17320 cat conftest.err
>&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } &&
17323 { ac_try
='test -z "$ac_cxx_werror_flag"
17324 || test ! -s conftest.err'
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17326 (eval $ac_try) 2>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; } &&
17330 { ac_try
='test -s conftest.$ac_objext'
17331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17332 (eval $ac_try) 2>&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); }; }; then
17336 ac_cv_type_char
=yes
17338 echo "$as_me: failed program was:" >&5
17339 sed 's/^/| /' conftest.
$ac_ext >&5
17343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17345 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17346 echo "${ECHO_T}$ac_cv_type_char" >&6
17348 echo "$as_me:$LINENO: checking size of char" >&5
17349 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17350 if test "${ac_cv_sizeof_char+set}" = set; then
17351 echo $ECHO_N "(cached) $ECHO_C" >&6
17353 if test "$ac_cv_type_char" = yes; then
17354 # The cast to unsigned long works around a bug in the HP C Compiler
17355 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17356 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17357 # This bug is HP SR number 8606223364.
17358 if test "$cross_compiling" = yes; then
17359 # Depending upon the size, compute the lo and hi bounds.
17360 cat >conftest.
$ac_ext <<_ACEOF
17363 cat confdefs.h
>>conftest.
$ac_ext
17364 cat >>conftest.
$ac_ext <<_ACEOF
17365 /* end confdefs.h. */
17366 $ac_includes_default
17370 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17377 rm -f conftest.
$ac_objext
17378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17379 (eval $ac_compile) 2>conftest.er1
17381 grep -v '^ *+' conftest.er1
>conftest.err
17383 cat conftest.err
>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } &&
17386 { ac_try
='test -z "$ac_cxx_werror_flag"
17387 || test ! -s conftest.err'
17388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17389 (eval $ac_try) 2>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; } &&
17393 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17401 cat >conftest.
$ac_ext <<_ACEOF
17404 cat confdefs.h
>>conftest.
$ac_ext
17405 cat >>conftest.
$ac_ext <<_ACEOF
17406 /* end confdefs.h. */
17407 $ac_includes_default
17411 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17418 rm -f conftest.
$ac_objext
17419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17420 (eval $ac_compile) 2>conftest.er1
17422 grep -v '^ *+' conftest.er1
>conftest.err
17424 cat conftest.err
>&5
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); } &&
17427 { ac_try
='test -z "$ac_cxx_werror_flag"
17428 || test ! -s conftest.err'
17429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17430 (eval $ac_try) 2>&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); }; } &&
17434 { ac_try
='test -s conftest.$ac_objext'
17435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17436 (eval $ac_try) 2>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); }; }; then
17440 ac_hi
=$ac_mid; break
17442 echo "$as_me: failed program was:" >&5
17443 sed 's/^/| /' conftest.
$ac_ext >&5
17445 ac_lo
=`expr $ac_mid + 1`
17446 if test $ac_lo -le $ac_mid; then
17450 ac_mid
=`expr 2 '*' $ac_mid + 1`
17452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17455 echo "$as_me: failed program was:" >&5
17456 sed 's/^/| /' conftest.
$ac_ext >&5
17458 cat >conftest.
$ac_ext <<_ACEOF
17461 cat confdefs.h
>>conftest.
$ac_ext
17462 cat >>conftest.
$ac_ext <<_ACEOF
17463 /* end confdefs.h. */
17464 $ac_includes_default
17468 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17475 rm -f conftest.
$ac_objext
17476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17477 (eval $ac_compile) 2>conftest.er1
17479 grep -v '^ *+' conftest.er1
>conftest.err
17481 cat conftest.err
>&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); } &&
17484 { ac_try
='test -z "$ac_cxx_werror_flag"
17485 || test ! -s conftest.err'
17486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17487 (eval $ac_try) 2>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); }; } &&
17491 { ac_try
='test -s conftest.$ac_objext'
17492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17493 (eval $ac_try) 2>&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); }; }; then
17499 cat >conftest.
$ac_ext <<_ACEOF
17502 cat confdefs.h
>>conftest.
$ac_ext
17503 cat >>conftest.
$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17505 $ac_includes_default
17509 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17516 rm -f conftest.
$ac_objext
17517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17518 (eval $ac_compile) 2>conftest.er1
17520 grep -v '^ *+' conftest.er1
>conftest.err
17522 cat conftest.err
>&5
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); } &&
17525 { ac_try
='test -z "$ac_cxx_werror_flag"
17526 || test ! -s conftest.err'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; } &&
17532 { ac_try
='test -s conftest.$ac_objext'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; }; then
17538 ac_lo
=$ac_mid; break
17540 echo "$as_me: failed program was:" >&5
17541 sed 's/^/| /' conftest.
$ac_ext >&5
17543 ac_hi
=`expr '(' $ac_mid ')' - 1`
17544 if test $ac_mid -le $ac_hi; then
17548 ac_mid
=`expr 2 '*' $ac_mid`
17550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17553 echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.
$ac_ext >&5
17558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17561 # Binary search between lo and hi bounds.
17562 while test "x$ac_lo" != "x$ac_hi"; do
17563 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17564 cat >conftest.
$ac_ext <<_ACEOF
17567 cat confdefs.h
>>conftest.
$ac_ext
17568 cat >>conftest.
$ac_ext <<_ACEOF
17569 /* end confdefs.h. */
17570 $ac_includes_default
17574 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17581 rm -f conftest.
$ac_objext
17582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17583 (eval $ac_compile) 2>conftest.er1
17585 grep -v '^ *+' conftest.er1
>conftest.err
17587 cat conftest.err
>&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } &&
17590 { ac_try
='test -z "$ac_cxx_werror_flag"
17591 || test ! -s conftest.err'
17592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17593 (eval $ac_try) 2>&5
17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596 (exit $ac_status); }; } &&
17597 { ac_try
='test -s conftest.$ac_objext'
17598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17599 (eval $ac_try) 2>&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; }; then
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.
$ac_ext >&5
17608 ac_lo
=`expr '(' $ac_mid ')' + 1`
17610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17613 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17614 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17615 See \`config.log' for more details." >&5
17616 echo "$as_me: error: cannot compute sizeof (char), 77
17617 See \`config.log' for more details." >&2;}
17618 { (exit 1); exit 1; }; } ;;
17621 if test "$cross_compiling" = yes; then
17622 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17623 See \`config.log' for more details." >&5
17624 echo "$as_me: error: cannot run test program while cross compiling
17625 See \`config.log' for more details." >&2;}
17626 { (exit 1); exit 1; }; }
17628 cat >conftest.
$ac_ext <<_ACEOF
17631 cat confdefs.h
>>conftest.
$ac_ext
17632 cat >>conftest.
$ac_ext <<_ACEOF
17633 /* end confdefs.h. */
17634 $ac_includes_default
17635 long longval () { return (long) (sizeof (char)); }
17636 unsigned long ulongval () { return (long) (sizeof (char)); }
17638 #include <stdlib.h>
17643 FILE *f = fopen ("conftest.val", "w");
17646 if (((long) (sizeof (char))) < 0)
17648 long i = longval ();
17649 if (i != ((long) (sizeof (char))))
17651 fprintf (f, "%ld\n", i);
17655 unsigned long i = ulongval ();
17656 if (i != ((long) (sizeof (char))))
17658 fprintf (f, "%lu\n", i);
17660 exit (ferror (f) || fclose (f) != 0);
17666 rm -f conftest
$ac_exeext
17667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17668 (eval $ac_link) 2>&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17673 (eval $ac_try) 2>&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); }; }; then
17677 ac_cv_sizeof_char
=`cat conftest.val`
17679 echo "$as_me: program exited with status $ac_status" >&5
17680 echo "$as_me: failed program was:" >&5
17681 sed 's/^/| /' conftest.
$ac_ext >&5
17683 ( exit $ac_status )
17684 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17685 See \`config.log' for more details." >&5
17686 echo "$as_me: error: cannot compute sizeof (char), 77
17687 See \`config.log' for more details." >&2;}
17688 { (exit 1); exit 1; }; }
17690 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17695 ac_cv_sizeof_char
=0
17698 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17699 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17700 cat >>confdefs.h
<<_ACEOF
17701 #define SIZEOF_CHAR $ac_cv_sizeof_char
17705 echo "$as_me:$LINENO: checking for short" >&5
17706 echo $ECHO_N "checking for short... $ECHO_C" >&6
17707 if test "${ac_cv_type_short+set}" = set; then
17708 echo $ECHO_N "(cached) $ECHO_C" >&6
17710 cat >conftest.
$ac_ext <<_ACEOF
17713 cat confdefs.h
>>conftest.
$ac_ext
17714 cat >>conftest.
$ac_ext <<_ACEOF
17715 /* end confdefs.h. */
17716 $ac_includes_default
17722 if (sizeof (short))
17728 rm -f conftest.
$ac_objext
17729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17730 (eval $ac_compile) 2>conftest.er1
17732 grep -v '^ *+' conftest.er1
>conftest.err
17734 cat conftest.err
>&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); } &&
17737 { ac_try
='test -z "$ac_cxx_werror_flag"
17738 || test ! -s conftest.err'
17739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17740 (eval $ac_try) 2>&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); }; } &&
17744 { ac_try
='test -s conftest.$ac_objext'
17745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17746 (eval $ac_try) 2>&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); }; }; then
17750 ac_cv_type_short
=yes
17752 echo "$as_me: failed program was:" >&5
17753 sed 's/^/| /' conftest.
$ac_ext >&5
17755 ac_cv_type_short
=no
17757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17759 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17760 echo "${ECHO_T}$ac_cv_type_short" >&6
17762 echo "$as_me:$LINENO: checking size of short" >&5
17763 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17764 if test "${ac_cv_sizeof_short+set}" = set; then
17765 echo $ECHO_N "(cached) $ECHO_C" >&6
17767 if test "$ac_cv_type_short" = yes; then
17768 # The cast to unsigned long works around a bug in the HP C Compiler
17769 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17770 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17771 # This bug is HP SR number 8606223364.
17772 if test "$cross_compiling" = yes; then
17773 # Depending upon the size, compute the lo and hi bounds.
17774 cat >conftest.
$ac_ext <<_ACEOF
17777 cat confdefs.h
>>conftest.
$ac_ext
17778 cat >>conftest.
$ac_ext <<_ACEOF
17779 /* end confdefs.h. */
17780 $ac_includes_default
17784 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17791 rm -f conftest.
$ac_objext
17792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17793 (eval $ac_compile) 2>conftest.er1
17795 grep -v '^ *+' conftest.er1
>conftest.err
17797 cat conftest.err
>&5
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); } &&
17800 { ac_try
='test -z "$ac_cxx_werror_flag"
17801 || test ! -s conftest.err'
17802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17803 (eval $ac_try) 2>&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); }; } &&
17807 { ac_try
='test -s conftest.$ac_objext'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; }; then
17815 cat >conftest.
$ac_ext <<_ACEOF
17818 cat confdefs.h
>>conftest.
$ac_ext
17819 cat >>conftest.
$ac_ext <<_ACEOF
17820 /* end confdefs.h. */
17821 $ac_includes_default
17825 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17832 rm -f conftest.
$ac_objext
17833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17834 (eval $ac_compile) 2>conftest.er1
17836 grep -v '^ *+' conftest.er1
>conftest.err
17838 cat conftest.err
>&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } &&
17841 { ac_try
='test -z "$ac_cxx_werror_flag"
17842 || test ! -s conftest.err'
17843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17844 (eval $ac_try) 2>&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }; } &&
17848 { ac_try
='test -s conftest.$ac_objext'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 2>&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; }; then
17854 ac_hi
=$ac_mid; break
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.
$ac_ext >&5
17859 ac_lo
=`expr $ac_mid + 1`
17860 if test $ac_lo -le $ac_mid; then
17864 ac_mid
=`expr 2 '*' $ac_mid + 1`
17866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17869 echo "$as_me: failed program was:" >&5
17870 sed 's/^/| /' conftest.
$ac_ext >&5
17872 cat >conftest.
$ac_ext <<_ACEOF
17875 cat confdefs.h
>>conftest.
$ac_ext
17876 cat >>conftest.
$ac_ext <<_ACEOF
17877 /* end confdefs.h. */
17878 $ac_includes_default
17882 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17889 rm -f conftest.
$ac_objext
17890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17891 (eval $ac_compile) 2>conftest.er1
17893 grep -v '^ *+' conftest.er1
>conftest.err
17895 cat conftest.err
>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } &&
17898 { ac_try
='test -z "$ac_cxx_werror_flag"
17899 || test ! -s conftest.err'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; } &&
17905 { ac_try
='test -s conftest.$ac_objext'
17906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17907 (eval $ac_try) 2>&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); }; }; then
17913 cat >conftest.
$ac_ext <<_ACEOF
17916 cat confdefs.h
>>conftest.
$ac_ext
17917 cat >>conftest.
$ac_ext <<_ACEOF
17918 /* end confdefs.h. */
17919 $ac_includes_default
17923 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17930 rm -f conftest.
$ac_objext
17931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17932 (eval $ac_compile) 2>conftest.er1
17934 grep -v '^ *+' conftest.er1
>conftest.err
17936 cat conftest.err
>&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); } &&
17939 { ac_try
='test -z "$ac_cxx_werror_flag"
17940 || test ! -s conftest.err'
17941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17942 (eval $ac_try) 2>&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); }; } &&
17946 { ac_try
='test -s conftest.$ac_objext'
17947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17948 (eval $ac_try) 2>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); }; }; then
17952 ac_lo
=$ac_mid; break
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.
$ac_ext >&5
17957 ac_hi
=`expr '(' $ac_mid ')' - 1`
17958 if test $ac_mid -le $ac_hi; then
17962 ac_mid
=`expr 2 '*' $ac_mid`
17964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17967 echo "$as_me: failed program was:" >&5
17968 sed 's/^/| /' conftest.
$ac_ext >&5
17972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17975 # Binary search between lo and hi bounds.
17976 while test "x$ac_lo" != "x$ac_hi"; do
17977 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17978 cat >conftest.
$ac_ext <<_ACEOF
17981 cat confdefs.h
>>conftest.
$ac_ext
17982 cat >>conftest.
$ac_ext <<_ACEOF
17983 /* end confdefs.h. */
17984 $ac_includes_default
17988 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17995 rm -f conftest.
$ac_objext
17996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17997 (eval $ac_compile) 2>conftest.er1
17999 grep -v '^ *+' conftest.er1
>conftest.err
18001 cat conftest.err
>&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } &&
18004 { ac_try
='test -z "$ac_cxx_werror_flag"
18005 || test ! -s conftest.err'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; } &&
18011 { ac_try
='test -s conftest.$ac_objext'
18012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013 (eval $ac_try) 2>&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); }; }; then
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.
$ac_ext >&5
18022 ac_lo
=`expr '(' $ac_mid ')' + 1`
18024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18027 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18028 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18029 See \`config.log' for more details." >&5
18030 echo "$as_me: error: cannot compute sizeof (short), 77
18031 See \`config.log' for more details." >&2;}
18032 { (exit 1); exit 1; }; } ;;
18035 if test "$cross_compiling" = yes; then
18036 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18037 See \`config.log' for more details." >&5
18038 echo "$as_me: error: cannot run test program while cross compiling
18039 See \`config.log' for more details." >&2;}
18040 { (exit 1); exit 1; }; }
18042 cat >conftest.
$ac_ext <<_ACEOF
18045 cat confdefs.h
>>conftest.
$ac_ext
18046 cat >>conftest.
$ac_ext <<_ACEOF
18047 /* end confdefs.h. */
18048 $ac_includes_default
18049 long longval () { return (long) (sizeof (short)); }
18050 unsigned long ulongval () { return (long) (sizeof (short)); }
18052 #include <stdlib.h>
18057 FILE *f = fopen ("conftest.val", "w");
18060 if (((long) (sizeof (short))) < 0)
18062 long i = longval ();
18063 if (i != ((long) (sizeof (short))))
18065 fprintf (f, "%ld\n", i);
18069 unsigned long i = ulongval ();
18070 if (i != ((long) (sizeof (short))))
18072 fprintf (f, "%lu\n", i);
18074 exit (ferror (f) || fclose (f) != 0);
18080 rm -f conftest
$ac_exeext
18081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18082 (eval $ac_link) 2>&5
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18087 (eval $ac_try) 2>&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); }; }; then
18091 ac_cv_sizeof_short
=`cat conftest.val`
18093 echo "$as_me: program exited with status $ac_status" >&5
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.
$ac_ext >&5
18097 ( exit $ac_status )
18098 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18099 See \`config.log' for more details." >&5
18100 echo "$as_me: error: cannot compute sizeof (short), 77
18101 See \`config.log' for more details." >&2;}
18102 { (exit 1); exit 1; }; }
18104 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18109 ac_cv_sizeof_short
=0
18112 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18113 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18114 cat >>confdefs.h
<<_ACEOF
18115 #define SIZEOF_SHORT $ac_cv_sizeof_short
18119 echo "$as_me:$LINENO: checking for void *" >&5
18120 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18121 if test "${ac_cv_type_void_p+set}" = set; then
18122 echo $ECHO_N "(cached) $ECHO_C" >&6
18124 cat >conftest.
$ac_ext <<_ACEOF
18127 cat confdefs.h
>>conftest.
$ac_ext
18128 cat >>conftest.
$ac_ext <<_ACEOF
18129 /* end confdefs.h. */
18130 $ac_includes_default
18136 if (sizeof (void *))
18142 rm -f conftest.
$ac_objext
18143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18144 (eval $ac_compile) 2>conftest.er1
18146 grep -v '^ *+' conftest.er1
>conftest.err
18148 cat conftest.err
>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } &&
18151 { ac_try
='test -z "$ac_cxx_werror_flag"
18152 || test ! -s conftest.err'
18153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18154 (eval $ac_try) 2>&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); }; } &&
18158 { ac_try
='test -s conftest.$ac_objext'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; }; then
18164 ac_cv_type_void_p
=yes
18166 echo "$as_me: failed program was:" >&5
18167 sed 's/^/| /' conftest.
$ac_ext >&5
18169 ac_cv_type_void_p
=no
18171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18173 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18174 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18176 echo "$as_me:$LINENO: checking size of void *" >&5
18177 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18178 if test "${ac_cv_sizeof_void_p+set}" = set; then
18179 echo $ECHO_N "(cached) $ECHO_C" >&6
18181 if test "$ac_cv_type_void_p" = yes; then
18182 # The cast to unsigned long works around a bug in the HP C Compiler
18183 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18184 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18185 # This bug is HP SR number 8606223364.
18186 if test "$cross_compiling" = yes; then
18187 # Depending upon the size, compute the lo and hi bounds.
18188 cat >conftest.
$ac_ext <<_ACEOF
18191 cat confdefs.h
>>conftest.
$ac_ext
18192 cat >>conftest.
$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18194 $ac_includes_default
18198 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18205 rm -f conftest.
$ac_objext
18206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18207 (eval $ac_compile) 2>conftest.er1
18209 grep -v '^ *+' conftest.er1
>conftest.err
18211 cat conftest.err
>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); } &&
18214 { ac_try
='test -z "$ac_cxx_werror_flag"
18215 || test ! -s conftest.err'
18216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217 (eval $ac_try) 2>&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; } &&
18221 { ac_try
='test -s conftest.$ac_objext'
18222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223 (eval $ac_try) 2>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; }; then
18229 cat >conftest.
$ac_ext <<_ACEOF
18232 cat confdefs.h
>>conftest.
$ac_ext
18233 cat >>conftest.
$ac_ext <<_ACEOF
18234 /* end confdefs.h. */
18235 $ac_includes_default
18239 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18246 rm -f conftest.
$ac_objext
18247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18248 (eval $ac_compile) 2>conftest.er1
18250 grep -v '^ *+' conftest.er1
>conftest.err
18252 cat conftest.err
>&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } &&
18255 { ac_try
='test -z "$ac_cxx_werror_flag"
18256 || test ! -s conftest.err'
18257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18258 (eval $ac_try) 2>&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); }; } &&
18262 { ac_try
='test -s conftest.$ac_objext'
18263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264 (eval $ac_try) 2>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); }; }; then
18268 ac_hi
=$ac_mid; break
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.
$ac_ext >&5
18273 ac_lo
=`expr $ac_mid + 1`
18274 if test $ac_lo -le $ac_mid; then
18278 ac_mid
=`expr 2 '*' $ac_mid + 1`
18280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.
$ac_ext >&5
18286 cat >conftest.
$ac_ext <<_ACEOF
18289 cat confdefs.h
>>conftest.
$ac_ext
18290 cat >>conftest.
$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292 $ac_includes_default
18296 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18303 rm -f conftest.
$ac_objext
18304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18305 (eval $ac_compile) 2>conftest.er1
18307 grep -v '^ *+' conftest.er1
>conftest.err
18309 cat conftest.err
>&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); } &&
18312 { ac_try
='test -z "$ac_cxx_werror_flag"
18313 || test ! -s conftest.err'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; } &&
18319 { ac_try
='test -s conftest.$ac_objext'
18320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321 (eval $ac_try) 2>&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; }; then
18327 cat >conftest.
$ac_ext <<_ACEOF
18330 cat confdefs.h
>>conftest.
$ac_ext
18331 cat >>conftest.
$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333 $ac_includes_default
18337 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18344 rm -f conftest.
$ac_objext
18345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18346 (eval $ac_compile) 2>conftest.er1
18348 grep -v '^ *+' conftest.er1
>conftest.err
18350 cat conftest.err
>&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); } &&
18353 { ac_try
='test -z "$ac_cxx_werror_flag"
18354 || test ! -s conftest.err'
18355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18356 (eval $ac_try) 2>&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); }; } &&
18360 { ac_try
='test -s conftest.$ac_objext'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; }; then
18366 ac_lo
=$ac_mid; break
18368 echo "$as_me: failed program was:" >&5
18369 sed 's/^/| /' conftest.
$ac_ext >&5
18371 ac_hi
=`expr '(' $ac_mid ')' - 1`
18372 if test $ac_mid -le $ac_hi; then
18376 ac_mid
=`expr 2 '*' $ac_mid`
18378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18381 echo "$as_me: failed program was:" >&5
18382 sed 's/^/| /' conftest.
$ac_ext >&5
18386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18389 # Binary search between lo and hi bounds.
18390 while test "x$ac_lo" != "x$ac_hi"; do
18391 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18392 cat >conftest.
$ac_ext <<_ACEOF
18395 cat confdefs.h
>>conftest.
$ac_ext
18396 cat >>conftest.
$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398 $ac_includes_default
18402 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
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_cxx_werror_flag"
18419 || test ! -s conftest.err'
18420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18421 (eval $ac_try) 2>&5
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); }; } &&
18425 { ac_try
='test -s conftest.$ac_objext'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; }; then
18433 echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.
$ac_ext >&5
18436 ac_lo
=`expr '(' $ac_mid ')' + 1`
18438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18441 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18442 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18443 See \`config.log' for more details." >&5
18444 echo "$as_me: error: cannot compute sizeof (void *), 77
18445 See \`config.log' for more details." >&2;}
18446 { (exit 1); exit 1; }; } ;;
18449 if test "$cross_compiling" = yes; then
18450 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18451 See \`config.log' for more details." >&5
18452 echo "$as_me: error: cannot run test program while cross compiling
18453 See \`config.log' for more details." >&2;}
18454 { (exit 1); exit 1; }; }
18456 cat >conftest.
$ac_ext <<_ACEOF
18459 cat confdefs.h
>>conftest.
$ac_ext
18460 cat >>conftest.
$ac_ext <<_ACEOF
18461 /* end confdefs.h. */
18462 $ac_includes_default
18463 long longval () { return (long) (sizeof (void *)); }
18464 unsigned long ulongval () { return (long) (sizeof (void *)); }
18466 #include <stdlib.h>
18471 FILE *f = fopen ("conftest.val", "w");
18474 if (((long) (sizeof (void *))) < 0)
18476 long i = longval ();
18477 if (i != ((long) (sizeof (void *))))
18479 fprintf (f, "%ld\n", i);
18483 unsigned long i = ulongval ();
18484 if (i != ((long) (sizeof (void *))))
18486 fprintf (f, "%lu\n", i);
18488 exit (ferror (f) || fclose (f) != 0);
18494 rm -f conftest
$ac_exeext
18495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18496 (eval $ac_link) 2>&5
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501 (eval $ac_try) 2>&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; }; then
18505 ac_cv_sizeof_void_p
=`cat conftest.val`
18507 echo "$as_me: program exited with status $ac_status" >&5
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.
$ac_ext >&5
18511 ( exit $ac_status )
18512 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18513 See \`config.log' for more details." >&5
18514 echo "$as_me: error: cannot compute sizeof (void *), 77
18515 See \`config.log' for more details." >&2;}
18516 { (exit 1); exit 1; }; }
18518 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18523 ac_cv_sizeof_void_p
=0
18526 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18527 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18528 cat >>confdefs.h
<<_ACEOF
18529 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18533 echo "$as_me:$LINENO: checking for int" >&5
18534 echo $ECHO_N "checking for int... $ECHO_C" >&6
18535 if test "${ac_cv_type_int+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18538 cat >conftest.
$ac_ext <<_ACEOF
18541 cat confdefs.h
>>conftest.
$ac_ext
18542 cat >>conftest.
$ac_ext <<_ACEOF
18543 /* end confdefs.h. */
18544 $ac_includes_default
18556 rm -f conftest.
$ac_objext
18557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18558 (eval $ac_compile) 2>conftest.er1
18560 grep -v '^ *+' conftest.er1
>conftest.err
18562 cat conftest.err
>&5
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } &&
18565 { ac_try
='test -z "$ac_cxx_werror_flag"
18566 || test ! -s conftest.err'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; } &&
18572 { ac_try
='test -s conftest.$ac_objext'
18573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 (eval $ac_try) 2>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; }; then
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.
$ac_ext >&5
18585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18587 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18588 echo "${ECHO_T}$ac_cv_type_int" >&6
18590 echo "$as_me:$LINENO: checking size of int" >&5
18591 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18592 if test "${ac_cv_sizeof_int+set}" = set; then
18593 echo $ECHO_N "(cached) $ECHO_C" >&6
18595 if test "$ac_cv_type_int" = yes; then
18596 # The cast to unsigned long works around a bug in the HP C Compiler
18597 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18598 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18599 # This bug is HP SR number 8606223364.
18600 if test "$cross_compiling" = yes; then
18601 # Depending upon the size, compute the lo and hi bounds.
18602 cat >conftest.
$ac_ext <<_ACEOF
18605 cat confdefs.h
>>conftest.
$ac_ext
18606 cat >>conftest.
$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18608 $ac_includes_default
18612 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18619 rm -f conftest.
$ac_objext
18620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18621 (eval $ac_compile) 2>conftest.er1
18623 grep -v '^ *+' conftest.er1
>conftest.err
18625 cat conftest.err
>&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); } &&
18628 { ac_try
='test -z "$ac_cxx_werror_flag"
18629 || test ! -s conftest.err'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; } &&
18635 { ac_try
='test -s conftest.$ac_objext'
18636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637 (eval $ac_try) 2>&5
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); }; }; then
18643 cat >conftest.
$ac_ext <<_ACEOF
18646 cat confdefs.h
>>conftest.
$ac_ext
18647 cat >>conftest.
$ac_ext <<_ACEOF
18648 /* end confdefs.h. */
18649 $ac_includes_default
18653 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18660 rm -f conftest.
$ac_objext
18661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18662 (eval $ac_compile) 2>conftest.er1
18664 grep -v '^ *+' conftest.er1
>conftest.err
18666 cat conftest.err
>&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } &&
18669 { ac_try
='test -z "$ac_cxx_werror_flag"
18670 || test ! -s conftest.err'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; } &&
18676 { ac_try
='test -s conftest.$ac_objext'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; }; then
18682 ac_hi
=$ac_mid; break
18684 echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.
$ac_ext >&5
18687 ac_lo
=`expr $ac_mid + 1`
18688 if test $ac_lo -le $ac_mid; then
18692 ac_mid
=`expr 2 '*' $ac_mid + 1`
18694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18697 echo "$as_me: failed program was:" >&5
18698 sed 's/^/| /' conftest.
$ac_ext >&5
18700 cat >conftest.
$ac_ext <<_ACEOF
18703 cat confdefs.h
>>conftest.
$ac_ext
18704 cat >>conftest.
$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 $ac_includes_default
18710 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18717 rm -f conftest.
$ac_objext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18719 (eval $ac_compile) 2>conftest.er1
18721 grep -v '^ *+' conftest.er1
>conftest.err
18723 cat conftest.err
>&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } &&
18726 { ac_try
='test -z "$ac_cxx_werror_flag"
18727 || test ! -s conftest.err'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; } &&
18733 { ac_try
='test -s conftest.$ac_objext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18741 cat >conftest.
$ac_ext <<_ACEOF
18744 cat confdefs.h
>>conftest.
$ac_ext
18745 cat >>conftest.
$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 $ac_includes_default
18751 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18758 rm -f conftest.
$ac_objext
18759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18760 (eval $ac_compile) 2>conftest.er1
18762 grep -v '^ *+' conftest.er1
>conftest.err
18764 cat conftest.err
>&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } &&
18767 { ac_try
='test -z "$ac_cxx_werror_flag"
18768 || test ! -s conftest.err'
18769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18770 (eval $ac_try) 2>&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); }; } &&
18774 { ac_try
='test -s conftest.$ac_objext'
18775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18776 (eval $ac_try) 2>&5
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); }; }; then
18780 ac_lo
=$ac_mid; break
18782 echo "$as_me: failed program was:" >&5
18783 sed 's/^/| /' conftest.
$ac_ext >&5
18785 ac_hi
=`expr '(' $ac_mid ')' - 1`
18786 if test $ac_mid -le $ac_hi; then
18790 ac_mid
=`expr 2 '*' $ac_mid`
18792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18795 echo "$as_me: failed program was:" >&5
18796 sed 's/^/| /' conftest.
$ac_ext >&5
18800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18803 # Binary search between lo and hi bounds.
18804 while test "x$ac_lo" != "x$ac_hi"; do
18805 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18806 cat >conftest.
$ac_ext <<_ACEOF
18809 cat confdefs.h
>>conftest.
$ac_ext
18810 cat >>conftest.
$ac_ext <<_ACEOF
18811 /* end confdefs.h. */
18812 $ac_includes_default
18816 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18823 rm -f conftest.
$ac_objext
18824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18825 (eval $ac_compile) 2>conftest.er1
18827 grep -v '^ *+' conftest.er1
>conftest.err
18829 cat conftest.err
>&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); } &&
18832 { ac_try
='test -z "$ac_cxx_werror_flag"
18833 || test ! -s conftest.err'
18834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18835 (eval $ac_try) 2>&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); }; } &&
18839 { ac_try
='test -s conftest.$ac_objext'
18840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18841 (eval $ac_try) 2>&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); }; }; then
18847 echo "$as_me: failed program was:" >&5
18848 sed 's/^/| /' conftest.
$ac_ext >&5
18850 ac_lo
=`expr '(' $ac_mid ')' + 1`
18852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18855 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18856 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18857 See \`config.log' for more details." >&5
18858 echo "$as_me: error: cannot compute sizeof (int), 77
18859 See \`config.log' for more details." >&2;}
18860 { (exit 1); exit 1; }; } ;;
18863 if test "$cross_compiling" = yes; then
18864 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18865 See \`config.log' for more details." >&5
18866 echo "$as_me: error: cannot run test program while cross compiling
18867 See \`config.log' for more details." >&2;}
18868 { (exit 1); exit 1; }; }
18870 cat >conftest.
$ac_ext <<_ACEOF
18873 cat confdefs.h
>>conftest.
$ac_ext
18874 cat >>conftest.
$ac_ext <<_ACEOF
18875 /* end confdefs.h. */
18876 $ac_includes_default
18877 long longval () { return (long) (sizeof (int)); }
18878 unsigned long ulongval () { return (long) (sizeof (int)); }
18880 #include <stdlib.h>
18885 FILE *f = fopen ("conftest.val", "w");
18888 if (((long) (sizeof (int))) < 0)
18890 long i = longval ();
18891 if (i != ((long) (sizeof (int))))
18893 fprintf (f, "%ld\n", i);
18897 unsigned long i = ulongval ();
18898 if (i != ((long) (sizeof (int))))
18900 fprintf (f, "%lu\n", i);
18902 exit (ferror (f) || fclose (f) != 0);
18908 rm -f conftest
$ac_exeext
18909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18910 (eval $ac_link) 2>&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18915 (eval $ac_try) 2>&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); }; }; then
18919 ac_cv_sizeof_int
=`cat conftest.val`
18921 echo "$as_me: program exited with status $ac_status" >&5
18922 echo "$as_me: failed program was:" >&5
18923 sed 's/^/| /' conftest.
$ac_ext >&5
18925 ( exit $ac_status )
18926 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18927 See \`config.log' for more details." >&5
18928 echo "$as_me: error: cannot compute sizeof (int), 77
18929 See \`config.log' for more details." >&2;}
18930 { (exit 1); exit 1; }; }
18932 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18940 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18941 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18942 cat >>confdefs.h
<<_ACEOF
18943 #define SIZEOF_INT $ac_cv_sizeof_int
18947 echo "$as_me:$LINENO: checking for long" >&5
18948 echo $ECHO_N "checking for long... $ECHO_C" >&6
18949 if test "${ac_cv_type_long+set}" = set; then
18950 echo $ECHO_N "(cached) $ECHO_C" >&6
18952 cat >conftest.
$ac_ext <<_ACEOF
18955 cat confdefs.h
>>conftest.
$ac_ext
18956 cat >>conftest.
$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18958 $ac_includes_default
18970 rm -f conftest.
$ac_objext
18971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18972 (eval $ac_compile) 2>conftest.er1
18974 grep -v '^ *+' conftest.er1
>conftest.err
18976 cat conftest.err
>&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); } &&
18979 { ac_try
='test -z "$ac_cxx_werror_flag"
18980 || test ! -s conftest.err'
18981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18982 (eval $ac_try) 2>&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); }; } &&
18986 { ac_try
='test -s conftest.$ac_objext'
18987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18988 (eval $ac_try) 2>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); }; }; then
18992 ac_cv_type_long
=yes
18994 echo "$as_me: failed program was:" >&5
18995 sed 's/^/| /' conftest.
$ac_ext >&5
18999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19001 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19002 echo "${ECHO_T}$ac_cv_type_long" >&6
19004 echo "$as_me:$LINENO: checking size of long" >&5
19005 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19006 if test "${ac_cv_sizeof_long+set}" = set; then
19007 echo $ECHO_N "(cached) $ECHO_C" >&6
19009 if test "$ac_cv_type_long" = yes; then
19010 # The cast to unsigned long works around a bug in the HP C Compiler
19011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19013 # This bug is HP SR number 8606223364.
19014 if test "$cross_compiling" = yes; then
19015 # Depending upon the size, compute the lo and hi bounds.
19016 cat >conftest.
$ac_ext <<_ACEOF
19019 cat confdefs.h
>>conftest.
$ac_ext
19020 cat >>conftest.
$ac_ext <<_ACEOF
19021 /* end confdefs.h. */
19022 $ac_includes_default
19026 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19033 rm -f conftest.
$ac_objext
19034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19035 (eval $ac_compile) 2>conftest.er1
19037 grep -v '^ *+' conftest.er1
>conftest.err
19039 cat conftest.err
>&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); } &&
19042 { ac_try
='test -z "$ac_cxx_werror_flag"
19043 || test ! -s conftest.err'
19044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19045 (eval $ac_try) 2>&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); }; } &&
19049 { ac_try
='test -s conftest.$ac_objext'
19050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19051 (eval $ac_try) 2>&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); }; }; then
19057 cat >conftest.
$ac_ext <<_ACEOF
19060 cat confdefs.h
>>conftest.
$ac_ext
19061 cat >>conftest.
$ac_ext <<_ACEOF
19062 /* end confdefs.h. */
19063 $ac_includes_default
19067 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19074 rm -f conftest.
$ac_objext
19075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19076 (eval $ac_compile) 2>conftest.er1
19078 grep -v '^ *+' conftest.er1
>conftest.err
19080 cat conftest.err
>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); } &&
19083 { ac_try
='test -z "$ac_cxx_werror_flag"
19084 || test ! -s conftest.err'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; } &&
19090 { ac_try
='test -s conftest.$ac_objext'
19091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19092 (eval $ac_try) 2>&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); }; }; then
19096 ac_hi
=$ac_mid; break
19098 echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.
$ac_ext >&5
19101 ac_lo
=`expr $ac_mid + 1`
19102 if test $ac_lo -le $ac_mid; then
19106 ac_mid
=`expr 2 '*' $ac_mid + 1`
19108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19111 echo "$as_me: failed program was:" >&5
19112 sed 's/^/| /' conftest.
$ac_ext >&5
19114 cat >conftest.
$ac_ext <<_ACEOF
19117 cat confdefs.h
>>conftest.
$ac_ext
19118 cat >>conftest.
$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 $ac_includes_default
19124 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19131 rm -f conftest.
$ac_objext
19132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19133 (eval $ac_compile) 2>conftest.er1
19135 grep -v '^ *+' conftest.er1
>conftest.err
19137 cat conftest.err
>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } &&
19140 { ac_try
='test -z "$ac_cxx_werror_flag"
19141 || test ! -s conftest.err'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; } &&
19147 { ac_try
='test -s conftest.$ac_objext'
19148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19149 (eval $ac_try) 2>&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); }; }; then
19155 cat >conftest.
$ac_ext <<_ACEOF
19158 cat confdefs.h
>>conftest.
$ac_ext
19159 cat >>conftest.
$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161 $ac_includes_default
19165 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19172 rm -f conftest.
$ac_objext
19173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19174 (eval $ac_compile) 2>conftest.er1
19176 grep -v '^ *+' conftest.er1
>conftest.err
19178 cat conftest.err
>&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); } &&
19181 { ac_try
='test -z "$ac_cxx_werror_flag"
19182 || test ! -s conftest.err'
19183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19184 (eval $ac_try) 2>&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); }; } &&
19188 { ac_try
='test -s conftest.$ac_objext'
19189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19190 (eval $ac_try) 2>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); }; }; then
19194 ac_lo
=$ac_mid; break
19196 echo "$as_me: failed program was:" >&5
19197 sed 's/^/| /' conftest.
$ac_ext >&5
19199 ac_hi
=`expr '(' $ac_mid ')' - 1`
19200 if test $ac_mid -le $ac_hi; then
19204 ac_mid
=`expr 2 '*' $ac_mid`
19206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.
$ac_ext >&5
19214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19217 # Binary search between lo and hi bounds.
19218 while test "x$ac_lo" != "x$ac_hi"; do
19219 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19220 cat >conftest.
$ac_ext <<_ACEOF
19223 cat confdefs.h
>>conftest.
$ac_ext
19224 cat >>conftest.
$ac_ext <<_ACEOF
19225 /* end confdefs.h. */
19226 $ac_includes_default
19230 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19237 rm -f conftest.
$ac_objext
19238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19239 (eval $ac_compile) 2>conftest.er1
19241 grep -v '^ *+' conftest.er1
>conftest.err
19243 cat conftest.err
>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); } &&
19246 { ac_try
='test -z "$ac_cxx_werror_flag"
19247 || test ! -s conftest.err'
19248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19249 (eval $ac_try) 2>&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); }; } &&
19253 { ac_try
='test -s conftest.$ac_objext'
19254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19255 (eval $ac_try) 2>&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); }; }; then
19261 echo "$as_me: failed program was:" >&5
19262 sed 's/^/| /' conftest.
$ac_ext >&5
19264 ac_lo
=`expr '(' $ac_mid ')' + 1`
19266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19269 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19270 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19271 See \`config.log' for more details." >&5
19272 echo "$as_me: error: cannot compute sizeof (long), 77
19273 See \`config.log' for more details." >&2;}
19274 { (exit 1); exit 1; }; } ;;
19277 if test "$cross_compiling" = yes; then
19278 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19279 See \`config.log' for more details." >&5
19280 echo "$as_me: error: cannot run test program while cross compiling
19281 See \`config.log' for more details." >&2;}
19282 { (exit 1); exit 1; }; }
19284 cat >conftest.
$ac_ext <<_ACEOF
19287 cat confdefs.h
>>conftest.
$ac_ext
19288 cat >>conftest.
$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19290 $ac_includes_default
19291 long longval () { return (long) (sizeof (long)); }
19292 unsigned long ulongval () { return (long) (sizeof (long)); }
19294 #include <stdlib.h>
19299 FILE *f = fopen ("conftest.val", "w");
19302 if (((long) (sizeof (long))) < 0)
19304 long i = longval ();
19305 if (i != ((long) (sizeof (long))))
19307 fprintf (f, "%ld\n", i);
19311 unsigned long i = ulongval ();
19312 if (i != ((long) (sizeof (long))))
19314 fprintf (f, "%lu\n", i);
19316 exit (ferror (f) || fclose (f) != 0);
19322 rm -f conftest
$ac_exeext
19323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19324 (eval $ac_link) 2>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; }; then
19333 ac_cv_sizeof_long
=`cat conftest.val`
19335 echo "$as_me: program exited with status $ac_status" >&5
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.
$ac_ext >&5
19339 ( exit $ac_status )
19340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19341 See \`config.log' for more details." >&5
19342 echo "$as_me: error: cannot compute sizeof (long), 77
19343 See \`config.log' for more details." >&2;}
19344 { (exit 1); exit 1; }; }
19346 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19351 ac_cv_sizeof_long
=0
19354 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19355 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19356 cat >>confdefs.h
<<_ACEOF
19357 #define SIZEOF_LONG $ac_cv_sizeof_long
19361 echo "$as_me:$LINENO: checking for size_t" >&5
19362 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19363 if test "${ac_cv_type_size_t+set}" = set; then
19364 echo $ECHO_N "(cached) $ECHO_C" >&6
19366 cat >conftest.
$ac_ext <<_ACEOF
19369 cat confdefs.h
>>conftest.
$ac_ext
19370 cat >>conftest.
$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19372 $ac_includes_default
19378 if (sizeof (size_t))
19384 rm -f conftest.
$ac_objext
19385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19386 (eval $ac_compile) 2>conftest.er1
19388 grep -v '^ *+' conftest.er1
>conftest.err
19390 cat conftest.err
>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); } &&
19393 { ac_try
='test -z "$ac_cxx_werror_flag"
19394 || test ! -s conftest.err'
19395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19396 (eval $ac_try) 2>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); }; } &&
19400 { ac_try
='test -s conftest.$ac_objext'
19401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19402 (eval $ac_try) 2>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); }; }; then
19406 ac_cv_type_size_t
=yes
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.
$ac_ext >&5
19411 ac_cv_type_size_t
=no
19413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19415 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19416 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19418 echo "$as_me:$LINENO: checking size of size_t" >&5
19419 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19420 if test "${ac_cv_sizeof_size_t+set}" = set; then
19421 echo $ECHO_N "(cached) $ECHO_C" >&6
19423 if test "$ac_cv_type_size_t" = yes; then
19424 # The cast to unsigned long works around a bug in the HP C Compiler
19425 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19426 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19427 # This bug is HP SR number 8606223364.
19428 if test "$cross_compiling" = yes; then
19429 # Depending upon the size, compute the lo and hi bounds.
19430 cat >conftest.
$ac_ext <<_ACEOF
19433 cat confdefs.h
>>conftest.
$ac_ext
19434 cat >>conftest.
$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 $ac_includes_default
19440 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19447 rm -f conftest.
$ac_objext
19448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19449 (eval $ac_compile) 2>conftest.er1
19451 grep -v '^ *+' conftest.er1
>conftest.err
19453 cat conftest.err
>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } &&
19456 { ac_try
='test -z "$ac_cxx_werror_flag"
19457 || test ! -s conftest.err'
19458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19459 (eval $ac_try) 2>&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); }; } &&
19463 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19471 cat >conftest.
$ac_ext <<_ACEOF
19474 cat confdefs.h
>>conftest.
$ac_ext
19475 cat >>conftest.
$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 $ac_includes_default
19481 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19488 rm -f conftest.
$ac_objext
19489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19490 (eval $ac_compile) 2>conftest.er1
19492 grep -v '^ *+' conftest.er1
>conftest.err
19494 cat conftest.err
>&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } &&
19497 { ac_try
='test -z "$ac_cxx_werror_flag"
19498 || test ! -s conftest.err'
19499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19500 (eval $ac_try) 2>&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); }; } &&
19504 { ac_try
='test -s conftest.$ac_objext'
19505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19506 (eval $ac_try) 2>&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); }; }; then
19510 ac_hi
=$ac_mid; break
19512 echo "$as_me: failed program was:" >&5
19513 sed 's/^/| /' conftest.
$ac_ext >&5
19515 ac_lo
=`expr $ac_mid + 1`
19516 if test $ac_lo -le $ac_mid; then
19520 ac_mid
=`expr 2 '*' $ac_mid + 1`
19522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19525 echo "$as_me: failed program was:" >&5
19526 sed 's/^/| /' conftest.
$ac_ext >&5
19528 cat >conftest.
$ac_ext <<_ACEOF
19531 cat confdefs.h
>>conftest.
$ac_ext
19532 cat >>conftest.
$ac_ext <<_ACEOF
19533 /* end confdefs.h. */
19534 $ac_includes_default
19538 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19545 rm -f conftest.
$ac_objext
19546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19547 (eval $ac_compile) 2>conftest.er1
19549 grep -v '^ *+' conftest.er1
>conftest.err
19551 cat conftest.err
>&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); } &&
19554 { ac_try
='test -z "$ac_cxx_werror_flag"
19555 || test ! -s conftest.err'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; } &&
19561 { ac_try
='test -s conftest.$ac_objext'
19562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19563 (eval $ac_try) 2>&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); }; }; then
19569 cat >conftest.
$ac_ext <<_ACEOF
19572 cat confdefs.h
>>conftest.
$ac_ext
19573 cat >>conftest.
$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 $ac_includes_default
19579 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19586 rm -f conftest.
$ac_objext
19587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19588 (eval $ac_compile) 2>conftest.er1
19590 grep -v '^ *+' conftest.er1
>conftest.err
19592 cat conftest.err
>&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); } &&
19595 { ac_try
='test -z "$ac_cxx_werror_flag"
19596 || test ! -s conftest.err'
19597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19598 (eval $ac_try) 2>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); }; } &&
19602 { ac_try
='test -s conftest.$ac_objext'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; }; then
19608 ac_lo
=$ac_mid; break
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.
$ac_ext >&5
19613 ac_hi
=`expr '(' $ac_mid ')' - 1`
19614 if test $ac_mid -le $ac_hi; then
19618 ac_mid
=`expr 2 '*' $ac_mid`
19620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19623 echo "$as_me: failed program was:" >&5
19624 sed 's/^/| /' conftest.
$ac_ext >&5
19628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19631 # Binary search between lo and hi bounds.
19632 while test "x$ac_lo" != "x$ac_hi"; do
19633 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19634 cat >conftest.
$ac_ext <<_ACEOF
19637 cat confdefs.h
>>conftest.
$ac_ext
19638 cat >>conftest.
$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19640 $ac_includes_default
19644 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19651 rm -f conftest.
$ac_objext
19652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19653 (eval $ac_compile) 2>conftest.er1
19655 grep -v '^ *+' conftest.er1
>conftest.err
19657 cat conftest.err
>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } &&
19660 { ac_try
='test -z "$ac_cxx_werror_flag"
19661 || test ! -s conftest.err'
19662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19663 (eval $ac_try) 2>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; } &&
19667 { ac_try
='test -s conftest.$ac_objext'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.
$ac_ext >&5
19678 ac_lo
=`expr '(' $ac_mid ')' + 1`
19680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19683 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19684 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19685 See \`config.log' for more details." >&5
19686 echo "$as_me: error: cannot compute sizeof (size_t), 77
19687 See \`config.log' for more details." >&2;}
19688 { (exit 1); exit 1; }; } ;;
19691 if test "$cross_compiling" = yes; then
19692 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19693 See \`config.log' for more details." >&5
19694 echo "$as_me: error: cannot run test program while cross compiling
19695 See \`config.log' for more details." >&2;}
19696 { (exit 1); exit 1; }; }
19698 cat >conftest.
$ac_ext <<_ACEOF
19701 cat confdefs.h
>>conftest.
$ac_ext
19702 cat >>conftest.
$ac_ext <<_ACEOF
19703 /* end confdefs.h. */
19704 $ac_includes_default
19705 long longval () { return (long) (sizeof (size_t)); }
19706 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19708 #include <stdlib.h>
19713 FILE *f = fopen ("conftest.val", "w");
19716 if (((long) (sizeof (size_t))) < 0)
19718 long i = longval ();
19719 if (i != ((long) (sizeof (size_t))))
19721 fprintf (f, "%ld\n", i);
19725 unsigned long i = ulongval ();
19726 if (i != ((long) (sizeof (size_t))))
19728 fprintf (f, "%lu\n", i);
19730 exit (ferror (f) || fclose (f) != 0);
19736 rm -f conftest
$ac_exeext
19737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19738 (eval $ac_link) 2>&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743 (eval $ac_try) 2>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); }; }; then
19747 ac_cv_sizeof_size_t
=`cat conftest.val`
19749 echo "$as_me: program exited with status $ac_status" >&5
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.
$ac_ext >&5
19753 ( exit $ac_status )
19754 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19755 See \`config.log' for more details." >&5
19756 echo "$as_me: error: cannot compute sizeof (size_t), 77
19757 See \`config.log' for more details." >&2;}
19758 { (exit 1); exit 1; }; }
19760 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19765 ac_cv_sizeof_size_t
=0
19768 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19769 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19770 cat >>confdefs.h
<<_ACEOF
19771 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19778 echo "$as_me:$LINENO: checking for long long" >&5
19779 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19780 if test "${ac_cv_type_long_long+set}" = set; then
19781 echo $ECHO_N "(cached) $ECHO_C" >&6
19783 cat >conftest.
$ac_ext <<_ACEOF
19786 cat confdefs.h
>>conftest.
$ac_ext
19787 cat >>conftest.
$ac_ext <<_ACEOF
19788 /* end confdefs.h. */
19789 $ac_includes_default
19793 if ((long long *) 0)
19795 if (sizeof (long long))
19801 rm -f conftest.
$ac_objext
19802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19803 (eval $ac_compile) 2>conftest.er1
19805 grep -v '^ *+' conftest.er1
>conftest.err
19807 cat conftest.err
>&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); } &&
19810 { ac_try
='test -z "$ac_cxx_werror_flag"
19811 || test ! -s conftest.err'
19812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19813 (eval $ac_try) 2>&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); }; } &&
19817 { ac_try
='test -s conftest.$ac_objext'
19818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819 (eval $ac_try) 2>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; }; then
19823 ac_cv_type_long_long
=yes
19825 echo "$as_me: failed program was:" >&5
19826 sed 's/^/| /' conftest.
$ac_ext >&5
19828 ac_cv_type_long_long
=no
19830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19832 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19833 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19835 echo "$as_me:$LINENO: checking size of long long" >&5
19836 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19837 if test "${ac_cv_sizeof_long_long+set}" = set; then
19838 echo $ECHO_N "(cached) $ECHO_C" >&6
19840 if test "$ac_cv_type_long_long" = yes; then
19841 # The cast to unsigned long works around a bug in the HP C Compiler
19842 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19843 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19844 # This bug is HP SR number 8606223364.
19845 if test "$cross_compiling" = yes; then
19846 # Depending upon the size, compute the lo and hi bounds.
19847 cat >conftest.
$ac_ext <<_ACEOF
19850 cat confdefs.h
>>conftest.
$ac_ext
19851 cat >>conftest.
$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19853 $ac_includes_default
19857 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19864 rm -f conftest.
$ac_objext
19865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19866 (eval $ac_compile) 2>conftest.er1
19868 grep -v '^ *+' conftest.er1
>conftest.err
19870 cat conftest.err
>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } &&
19873 { ac_try
='test -z "$ac_cxx_werror_flag"
19874 || test ! -s conftest.err'
19875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19876 (eval $ac_try) 2>&5
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); }; } &&
19880 { ac_try
='test -s conftest.$ac_objext'
19881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19882 (eval $ac_try) 2>&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); }; }; then
19888 cat >conftest.
$ac_ext <<_ACEOF
19891 cat confdefs.h
>>conftest.
$ac_ext
19892 cat >>conftest.
$ac_ext <<_ACEOF
19893 /* end confdefs.h. */
19894 $ac_includes_default
19898 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19905 rm -f conftest.
$ac_objext
19906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19907 (eval $ac_compile) 2>conftest.er1
19909 grep -v '^ *+' conftest.er1
>conftest.err
19911 cat conftest.err
>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } &&
19914 { ac_try
='test -z "$ac_cxx_werror_flag"
19915 || test ! -s conftest.err'
19916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19917 (eval $ac_try) 2>&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); }; } &&
19921 { ac_try
='test -s conftest.$ac_objext'
19922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19923 (eval $ac_try) 2>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; }; then
19927 ac_hi
=$ac_mid; break
19929 echo "$as_me: failed program was:" >&5
19930 sed 's/^/| /' conftest.
$ac_ext >&5
19932 ac_lo
=`expr $ac_mid + 1`
19933 if test $ac_lo -le $ac_mid; then
19937 ac_mid
=`expr 2 '*' $ac_mid + 1`
19939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19942 echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.
$ac_ext >&5
19945 cat >conftest.
$ac_ext <<_ACEOF
19948 cat confdefs.h
>>conftest.
$ac_ext
19949 cat >>conftest.
$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19951 $ac_includes_default
19955 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19962 rm -f conftest.
$ac_objext
19963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19964 (eval $ac_compile) 2>conftest.er1
19966 grep -v '^ *+' conftest.er1
>conftest.err
19968 cat conftest.err
>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); } &&
19971 { ac_try
='test -z "$ac_cxx_werror_flag"
19972 || test ! -s conftest.err'
19973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19974 (eval $ac_try) 2>&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); }; } &&
19978 { ac_try
='test -s conftest.$ac_objext'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; }; then
19986 cat >conftest.
$ac_ext <<_ACEOF
19989 cat confdefs.h
>>conftest.
$ac_ext
19990 cat >>conftest.
$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992 $ac_includes_default
19996 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20003 rm -f conftest.
$ac_objext
20004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20005 (eval $ac_compile) 2>conftest.er1
20007 grep -v '^ *+' conftest.er1
>conftest.err
20009 cat conftest.err
>&5
20010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20011 (exit $ac_status); } &&
20012 { ac_try
='test -z "$ac_cxx_werror_flag"
20013 || test ! -s conftest.err'
20014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015 (eval $ac_try) 2>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); }; } &&
20019 { ac_try
='test -s conftest.$ac_objext'
20020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20021 (eval $ac_try) 2>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); }; }; then
20025 ac_lo
=$ac_mid; break
20027 echo "$as_me: failed program was:" >&5
20028 sed 's/^/| /' conftest.
$ac_ext >&5
20030 ac_hi
=`expr '(' $ac_mid ')' - 1`
20031 if test $ac_mid -le $ac_hi; then
20035 ac_mid
=`expr 2 '*' $ac_mid`
20037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20040 echo "$as_me: failed program was:" >&5
20041 sed 's/^/| /' conftest.
$ac_ext >&5
20045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20048 # Binary search between lo and hi bounds.
20049 while test "x$ac_lo" != "x$ac_hi"; do
20050 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20051 cat >conftest.
$ac_ext <<_ACEOF
20054 cat confdefs.h
>>conftest.
$ac_ext
20055 cat >>conftest.
$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20057 $ac_includes_default
20061 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20068 rm -f conftest.
$ac_objext
20069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20070 (eval $ac_compile) 2>conftest.er1
20072 grep -v '^ *+' conftest.er1
>conftest.err
20074 cat conftest.err
>&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } &&
20077 { ac_try
='test -z "$ac_cxx_werror_flag"
20078 || test ! -s conftest.err'
20079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20080 (eval $ac_try) 2>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; } &&
20084 { ac_try
='test -s conftest.$ac_objext'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; }; then
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.
$ac_ext >&5
20095 ac_lo
=`expr '(' $ac_mid ')' + 1`
20097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20100 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20101 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20102 See \`config.log' for more details." >&5
20103 echo "$as_me: error: cannot compute sizeof (long long), 77
20104 See \`config.log' for more details." >&2;}
20105 { (exit 1); exit 1; }; } ;;
20108 if test "$cross_compiling" = yes; then
20109 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20110 See \`config.log' for more details." >&5
20111 echo "$as_me: error: cannot run test program while cross compiling
20112 See \`config.log' for more details." >&2;}
20113 { (exit 1); exit 1; }; }
20115 cat >conftest.
$ac_ext <<_ACEOF
20118 cat confdefs.h
>>conftest.
$ac_ext
20119 cat >>conftest.
$ac_ext <<_ACEOF
20120 /* end confdefs.h. */
20121 $ac_includes_default
20122 long longval () { return (long) (sizeof (long long)); }
20123 unsigned long ulongval () { return (long) (sizeof (long long)); }
20125 #include <stdlib.h>
20130 FILE *f = fopen ("conftest.val", "w");
20133 if (((long) (sizeof (long long))) < 0)
20135 long i = longval ();
20136 if (i != ((long) (sizeof (long long))))
20138 fprintf (f, "%ld\n", i);
20142 unsigned long i = ulongval ();
20143 if (i != ((long) (sizeof (long long))))
20145 fprintf (f, "%lu\n", i);
20147 exit (ferror (f) || fclose (f) != 0);
20153 rm -f conftest
$ac_exeext
20154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20155 (eval $ac_link) 2>&5
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20160 (eval $ac_try) 2>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20164 ac_cv_sizeof_long_long
=`cat conftest.val`
20166 echo "$as_me: program exited with status $ac_status" >&5
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.
$ac_ext >&5
20170 ( exit $ac_status )
20171 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20172 See \`config.log' for more details." >&5
20173 echo "$as_me: error: cannot compute sizeof (long long), 77
20174 See \`config.log' for more details." >&2;}
20175 { (exit 1); exit 1; }; }
20177 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20182 ac_cv_sizeof_long_long
=0
20185 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20186 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20187 cat >>confdefs.h
<<_ACEOF
20188 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20194 echo "$as_me:$LINENO: checking for long long" >&5
20195 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20196 if test "${ac_cv_type_long_long+set}" = set; then
20197 echo $ECHO_N "(cached) $ECHO_C" >&6
20199 cat >conftest.
$ac_ext <<_ACEOF
20202 cat confdefs.h
>>conftest.
$ac_ext
20203 cat >>conftest.
$ac_ext <<_ACEOF
20204 /* end confdefs.h. */
20205 $ac_includes_default
20209 if ((long long *) 0)
20211 if (sizeof (long long))
20217 rm -f conftest.
$ac_objext
20218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20219 (eval $ac_compile) 2>conftest.er1
20221 grep -v '^ *+' conftest.er1
>conftest.err
20223 cat conftest.err
>&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); } &&
20226 { ac_try
='test -z "$ac_cxx_werror_flag"
20227 || test ! -s conftest.err'
20228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20229 (eval $ac_try) 2>&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); }; } &&
20233 { ac_try
='test -s conftest.$ac_objext'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; }; then
20239 ac_cv_type_long_long
=yes
20241 echo "$as_me: failed program was:" >&5
20242 sed 's/^/| /' conftest.
$ac_ext >&5
20244 ac_cv_type_long_long
=no
20246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20248 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20249 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20251 echo "$as_me:$LINENO: checking size of long long" >&5
20252 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20253 if test "${ac_cv_sizeof_long_long+set}" = set; then
20254 echo $ECHO_N "(cached) $ECHO_C" >&6
20256 if test "$ac_cv_type_long_long" = yes; then
20257 # The cast to unsigned long works around a bug in the HP C Compiler
20258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20259 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20260 # This bug is HP SR number 8606223364.
20261 if test "$cross_compiling" = yes; then
20262 # Depending upon the size, compute the lo and hi bounds.
20263 cat >conftest.
$ac_ext <<_ACEOF
20266 cat confdefs.h
>>conftest.
$ac_ext
20267 cat >>conftest.
$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20269 $ac_includes_default
20273 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20280 rm -f conftest.
$ac_objext
20281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20282 (eval $ac_compile) 2>conftest.er1
20284 grep -v '^ *+' conftest.er1
>conftest.err
20286 cat conftest.err
>&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); } &&
20289 { ac_try
='test -z "$ac_cxx_werror_flag"
20290 || test ! -s conftest.err'
20291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20292 (eval $ac_try) 2>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); }; } &&
20296 { ac_try
='test -s conftest.$ac_objext'
20297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20298 (eval $ac_try) 2>&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); }; }; then
20304 cat >conftest.
$ac_ext <<_ACEOF
20307 cat confdefs.h
>>conftest.
$ac_ext
20308 cat >>conftest.
$ac_ext <<_ACEOF
20309 /* end confdefs.h. */
20310 $ac_includes_default
20314 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20321 rm -f conftest.
$ac_objext
20322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20323 (eval $ac_compile) 2>conftest.er1
20325 grep -v '^ *+' conftest.er1
>conftest.err
20327 cat conftest.err
>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); } &&
20330 { ac_try
='test -z "$ac_cxx_werror_flag"
20331 || test ! -s conftest.err'
20332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20333 (eval $ac_try) 2>&5
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); }; } &&
20337 { ac_try
='test -s conftest.$ac_objext'
20338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20339 (eval $ac_try) 2>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); }; }; then
20343 ac_hi
=$ac_mid; break
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.
$ac_ext >&5
20348 ac_lo
=`expr $ac_mid + 1`
20349 if test $ac_lo -le $ac_mid; then
20353 ac_mid
=`expr 2 '*' $ac_mid + 1`
20355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20358 echo "$as_me: failed program was:" >&5
20359 sed 's/^/| /' conftest.
$ac_ext >&5
20361 cat >conftest.
$ac_ext <<_ACEOF
20364 cat confdefs.h
>>conftest.
$ac_ext
20365 cat >>conftest.
$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20367 $ac_includes_default
20371 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20378 rm -f conftest.
$ac_objext
20379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20380 (eval $ac_compile) 2>conftest.er1
20382 grep -v '^ *+' conftest.er1
>conftest.err
20384 cat conftest.err
>&5
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); } &&
20387 { ac_try
='test -z "$ac_cxx_werror_flag"
20388 || test ! -s conftest.err'
20389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20390 (eval $ac_try) 2>&5
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); }; } &&
20394 { ac_try
='test -s conftest.$ac_objext'
20395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20396 (eval $ac_try) 2>&5
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); }; }; then
20402 cat >conftest.
$ac_ext <<_ACEOF
20405 cat confdefs.h
>>conftest.
$ac_ext
20406 cat >>conftest.
$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 $ac_includes_default
20412 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20419 rm -f conftest.
$ac_objext
20420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20421 (eval $ac_compile) 2>conftest.er1
20423 grep -v '^ *+' conftest.er1
>conftest.err
20425 cat conftest.err
>&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } &&
20428 { ac_try
='test -z "$ac_cxx_werror_flag"
20429 || test ! -s conftest.err'
20430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20431 (eval $ac_try) 2>&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); }; } &&
20435 { ac_try
='test -s conftest.$ac_objext'
20436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20437 (eval $ac_try) 2>&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); }; }; then
20441 ac_lo
=$ac_mid; break
20443 echo "$as_me: failed program was:" >&5
20444 sed 's/^/| /' conftest.
$ac_ext >&5
20446 ac_hi
=`expr '(' $ac_mid ')' - 1`
20447 if test $ac_mid -le $ac_hi; then
20451 ac_mid
=`expr 2 '*' $ac_mid`
20453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.
$ac_ext >&5
20461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20464 # Binary search between lo and hi bounds.
20465 while test "x$ac_lo" != "x$ac_hi"; do
20466 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20467 cat >conftest.
$ac_ext <<_ACEOF
20470 cat confdefs.h
>>conftest.
$ac_ext
20471 cat >>conftest.
$ac_ext <<_ACEOF
20472 /* end confdefs.h. */
20473 $ac_includes_default
20477 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20484 rm -f conftest.
$ac_objext
20485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20486 (eval $ac_compile) 2>conftest.er1
20488 grep -v '^ *+' conftest.er1
>conftest.err
20490 cat conftest.err
>&5
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); } &&
20493 { ac_try
='test -z "$ac_cxx_werror_flag"
20494 || test ! -s conftest.err'
20495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20496 (eval $ac_try) 2>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); }; } &&
20500 { ac_try
='test -s conftest.$ac_objext'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; }; then
20508 echo "$as_me: failed program was:" >&5
20509 sed 's/^/| /' conftest.
$ac_ext >&5
20511 ac_lo
=`expr '(' $ac_mid ')' + 1`
20513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20516 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20517 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20518 See \`config.log' for more details." >&5
20519 echo "$as_me: error: cannot compute sizeof (long long), 77
20520 See \`config.log' for more details." >&2;}
20521 { (exit 1); exit 1; }; } ;;
20524 if test "$cross_compiling" = yes; then
20525 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20526 See \`config.log' for more details." >&5
20527 echo "$as_me: error: cannot run test program while cross compiling
20528 See \`config.log' for more details." >&2;}
20529 { (exit 1); exit 1; }; }
20531 cat >conftest.
$ac_ext <<_ACEOF
20534 cat confdefs.h
>>conftest.
$ac_ext
20535 cat >>conftest.
$ac_ext <<_ACEOF
20536 /* end confdefs.h. */
20537 $ac_includes_default
20538 long longval () { return (long) (sizeof (long long)); }
20539 unsigned long ulongval () { return (long) (sizeof (long long)); }
20541 #include <stdlib.h>
20546 FILE *f = fopen ("conftest.val", "w");
20549 if (((long) (sizeof (long long))) < 0)
20551 long i = longval ();
20552 if (i != ((long) (sizeof (long long))))
20554 fprintf (f, "%ld\n", i);
20558 unsigned long i = ulongval ();
20559 if (i != ((long) (sizeof (long long))))
20561 fprintf (f, "%lu\n", i);
20563 exit (ferror (f) || fclose (f) != 0);
20569 rm -f conftest
$ac_exeext
20570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20571 (eval $ac_link) 2>&5
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20576 (eval $ac_try) 2>&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); }; }; then
20580 ac_cv_sizeof_long_long
=`cat conftest.val`
20582 echo "$as_me: program exited with status $ac_status" >&5
20583 echo "$as_me: failed program was:" >&5
20584 sed 's/^/| /' conftest.
$ac_ext >&5
20586 ( exit $ac_status )
20587 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20588 See \`config.log' for more details." >&5
20589 echo "$as_me: error: cannot compute sizeof (long long), 77
20590 See \`config.log' for more details." >&2;}
20591 { (exit 1); exit 1; }; }
20593 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20598 ac_cv_sizeof_long_long
=0
20601 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20602 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20603 cat >>confdefs.h
<<_ACEOF
20604 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20608 if test "$ac_cv_sizeof_long_long" != "0"; then
20609 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20613 echo "$as_me:$LINENO: checking for long long" >&5
20614 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20615 if test "${ac_cv_type_long_long+set}" = set; then
20616 echo $ECHO_N "(cached) $ECHO_C" >&6
20618 cat >conftest.
$ac_ext <<_ACEOF
20621 cat confdefs.h
>>conftest.
$ac_ext
20622 cat >>conftest.
$ac_ext <<_ACEOF
20623 /* end confdefs.h. */
20624 $ac_includes_default
20628 if ((long long *) 0)
20630 if (sizeof (long long))
20636 rm -f conftest.
$ac_objext
20637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20638 (eval $ac_compile) 2>conftest.er1
20640 grep -v '^ *+' conftest.er1
>conftest.err
20642 cat conftest.err
>&5
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); } &&
20645 { ac_try
='test -z "$ac_cxx_werror_flag"
20646 || test ! -s conftest.err'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; } &&
20652 { ac_try
='test -s conftest.$ac_objext'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; }; then
20658 ac_cv_type_long_long
=yes
20660 echo "$as_me: failed program was:" >&5
20661 sed 's/^/| /' conftest.
$ac_ext >&5
20663 ac_cv_type_long_long
=no
20665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20667 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20668 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20670 echo "$as_me:$LINENO: checking size of long long" >&5
20671 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20672 if test "${ac_cv_sizeof_long_long+set}" = set; then
20673 echo $ECHO_N "(cached) $ECHO_C" >&6
20675 if test "$ac_cv_type_long_long" = yes; then
20676 # The cast to unsigned long works around a bug in the HP C Compiler
20677 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20678 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20679 # This bug is HP SR number 8606223364.
20680 if test "$cross_compiling" = yes; then
20681 # Depending upon the size, compute the lo and hi bounds.
20682 cat >conftest.
$ac_ext <<_ACEOF
20685 cat confdefs.h
>>conftest.
$ac_ext
20686 cat >>conftest.
$ac_ext <<_ACEOF
20687 /* end confdefs.h. */
20688 $ac_includes_default
20692 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20699 rm -f conftest.
$ac_objext
20700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20701 (eval $ac_compile) 2>conftest.er1
20703 grep -v '^ *+' conftest.er1
>conftest.err
20705 cat conftest.err
>&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); } &&
20708 { ac_try
='test -z "$ac_cxx_werror_flag"
20709 || test ! -s conftest.err'
20710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711 (eval $ac_try) 2>&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; } &&
20715 { ac_try
='test -s conftest.$ac_objext'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; }; then
20723 cat >conftest.
$ac_ext <<_ACEOF
20726 cat confdefs.h
>>conftest.
$ac_ext
20727 cat >>conftest.
$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20729 $ac_includes_default
20733 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20740 rm -f conftest.
$ac_objext
20741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20742 (eval $ac_compile) 2>conftest.er1
20744 grep -v '^ *+' conftest.er1
>conftest.err
20746 cat conftest.err
>&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); } &&
20749 { ac_try
='test -z "$ac_cxx_werror_flag"
20750 || test ! -s conftest.err'
20751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20752 (eval $ac_try) 2>&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); }; } &&
20756 { ac_try
='test -s conftest.$ac_objext'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; }; then
20762 ac_hi
=$ac_mid; break
20764 echo "$as_me: failed program was:" >&5
20765 sed 's/^/| /' conftest.
$ac_ext >&5
20767 ac_lo
=`expr $ac_mid + 1`
20768 if test $ac_lo -le $ac_mid; then
20772 ac_mid
=`expr 2 '*' $ac_mid + 1`
20774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20777 echo "$as_me: failed program was:" >&5
20778 sed 's/^/| /' conftest.
$ac_ext >&5
20780 cat >conftest.
$ac_ext <<_ACEOF
20783 cat confdefs.h
>>conftest.
$ac_ext
20784 cat >>conftest.
$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20786 $ac_includes_default
20790 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20797 rm -f conftest.
$ac_objext
20798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20799 (eval $ac_compile) 2>conftest.er1
20801 grep -v '^ *+' conftest.er1
>conftest.err
20803 cat conftest.err
>&5
20804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); } &&
20806 { ac_try
='test -z "$ac_cxx_werror_flag"
20807 || test ! -s conftest.err'
20808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20809 (eval $ac_try) 2>&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); }; } &&
20813 { ac_try
='test -s conftest.$ac_objext'
20814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20815 (eval $ac_try) 2>&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); }; }; then
20821 cat >conftest.
$ac_ext <<_ACEOF
20824 cat confdefs.h
>>conftest.
$ac_ext
20825 cat >>conftest.
$ac_ext <<_ACEOF
20826 /* end confdefs.h. */
20827 $ac_includes_default
20831 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20838 rm -f conftest.
$ac_objext
20839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20840 (eval $ac_compile) 2>conftest.er1
20842 grep -v '^ *+' conftest.er1
>conftest.err
20844 cat conftest.err
>&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } &&
20847 { ac_try
='test -z "$ac_cxx_werror_flag"
20848 || test ! -s conftest.err'
20849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20850 (eval $ac_try) 2>&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); }; } &&
20854 { ac_try
='test -s conftest.$ac_objext'
20855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856 (eval $ac_try) 2>&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); }; }; then
20860 ac_lo
=$ac_mid; break
20862 echo "$as_me: failed program was:" >&5
20863 sed 's/^/| /' conftest.
$ac_ext >&5
20865 ac_hi
=`expr '(' $ac_mid ')' - 1`
20866 if test $ac_mid -le $ac_hi; then
20870 ac_mid
=`expr 2 '*' $ac_mid`
20872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20875 echo "$as_me: failed program was:" >&5
20876 sed 's/^/| /' conftest.
$ac_ext >&5
20880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20883 # Binary search between lo and hi bounds.
20884 while test "x$ac_lo" != "x$ac_hi"; do
20885 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20886 cat >conftest.
$ac_ext <<_ACEOF
20889 cat confdefs.h
>>conftest.
$ac_ext
20890 cat >>conftest.
$ac_ext <<_ACEOF
20891 /* end confdefs.h. */
20892 $ac_includes_default
20896 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20903 rm -f conftest.
$ac_objext
20904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20905 (eval $ac_compile) 2>conftest.er1
20907 grep -v '^ *+' conftest.er1
>conftest.err
20909 cat conftest.err
>&5
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); } &&
20912 { ac_try
='test -z "$ac_cxx_werror_flag"
20913 || test ! -s conftest.err'
20914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20915 (eval $ac_try) 2>&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); }; } &&
20919 { ac_try
='test -s conftest.$ac_objext'
20920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20921 (eval $ac_try) 2>&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); }; }; then
20927 echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.
$ac_ext >&5
20930 ac_lo
=`expr '(' $ac_mid ')' + 1`
20932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20935 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20936 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20937 See \`config.log' for more details." >&5
20938 echo "$as_me: error: cannot compute sizeof (long long), 77
20939 See \`config.log' for more details." >&2;}
20940 { (exit 1); exit 1; }; } ;;
20943 if test "$cross_compiling" = yes; then
20944 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20945 See \`config.log' for more details." >&5
20946 echo "$as_me: error: cannot run test program while cross compiling
20947 See \`config.log' for more details." >&2;}
20948 { (exit 1); exit 1; }; }
20950 cat >conftest.
$ac_ext <<_ACEOF
20953 cat confdefs.h
>>conftest.
$ac_ext
20954 cat >>conftest.
$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 $ac_includes_default
20957 long longval () { return (long) (sizeof (long long)); }
20958 unsigned long ulongval () { return (long) (sizeof (long long)); }
20960 #include <stdlib.h>
20965 FILE *f = fopen ("conftest.val", "w");
20968 if (((long) (sizeof (long long))) < 0)
20970 long i = longval ();
20971 if (i != ((long) (sizeof (long long))))
20973 fprintf (f, "%ld\n", i);
20977 unsigned long i = ulongval ();
20978 if (i != ((long) (sizeof (long long))))
20980 fprintf (f, "%lu\n", i);
20982 exit (ferror (f) || fclose (f) != 0);
20988 rm -f conftest
$ac_exeext
20989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20990 (eval $ac_link) 2>&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20995 (eval $ac_try) 2>&5
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); }; }; then
20999 ac_cv_sizeof_long_long
=`cat conftest.val`
21001 echo "$as_me: program exited with status $ac_status" >&5
21002 echo "$as_me: failed program was:" >&5
21003 sed 's/^/| /' conftest.
$ac_ext >&5
21005 ( exit $ac_status )
21006 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21007 See \`config.log' for more details." >&5
21008 echo "$as_me: error: cannot compute sizeof (long long), 77
21009 See \`config.log' for more details." >&2;}
21010 { (exit 1); exit 1; }; }
21012 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21017 ac_cv_sizeof_long_long
=0
21020 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21021 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21022 cat >>confdefs.h
<<_ACEOF
21023 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21029 echo "$as_me:$LINENO: checking for wchar_t" >&5
21030 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21031 if test "${ac_cv_type_wchar_t+set}" = set; then
21032 echo $ECHO_N "(cached) $ECHO_C" >&6
21034 cat >conftest.
$ac_ext <<_ACEOF
21037 cat confdefs.h
>>conftest.
$ac_ext
21038 cat >>conftest.
$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21041 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21042 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21043 # error "fake wchar_t"
21045 #ifdef HAVE_WCHAR_H
21047 # include <stddef.h>
21049 # include <wchar.h>
21051 #ifdef HAVE_STDLIB_H
21052 # include <stdlib.h>
21063 if (sizeof (wchar_t))
21069 rm -f conftest.
$ac_objext
21070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21071 (eval $ac_compile) 2>conftest.er1
21073 grep -v '^ *+' conftest.er1
>conftest.err
21075 cat conftest.err
>&5
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); } &&
21078 { ac_try
='test -z "$ac_cxx_werror_flag"
21079 || test ! -s conftest.err'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; } &&
21085 { ac_try
='test -s conftest.$ac_objext'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; }; then
21091 ac_cv_type_wchar_t
=yes
21093 echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.
$ac_ext >&5
21096 ac_cv_type_wchar_t
=no
21098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21100 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21101 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21103 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21104 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21105 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21106 echo $ECHO_N "(cached) $ECHO_C" >&6
21108 if test "$ac_cv_type_wchar_t" = yes; then
21109 # The cast to unsigned long works around a bug in the HP C Compiler
21110 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21111 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21112 # This bug is HP SR number 8606223364.
21113 if test "$cross_compiling" = yes; then
21114 # Depending upon the size, compute the lo and hi bounds.
21115 cat >conftest.
$ac_ext <<_ACEOF
21118 cat confdefs.h
>>conftest.
$ac_ext
21119 cat >>conftest.
$ac_ext <<_ACEOF
21120 /* end confdefs.h. */
21122 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21123 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21124 # error "fake wchar_t"
21126 #ifdef HAVE_WCHAR_H
21128 # include <stddef.h>
21130 # include <wchar.h>
21132 #ifdef HAVE_STDLIB_H
21133 # include <stdlib.h>
21142 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21149 rm -f conftest.
$ac_objext
21150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21151 (eval $ac_compile) 2>conftest.er1
21153 grep -v '^ *+' conftest.er1
>conftest.err
21155 cat conftest.err
>&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); } &&
21158 { ac_try
='test -z "$ac_cxx_werror_flag"
21159 || test ! -s conftest.err'
21160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21161 (eval $ac_try) 2>&5
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); }; } &&
21165 { ac_try
='test -s conftest.$ac_objext'
21166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21167 (eval $ac_try) 2>&5
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); }; }; then
21173 cat >conftest.
$ac_ext <<_ACEOF
21176 cat confdefs.h
>>conftest.
$ac_ext
21177 cat >>conftest.
$ac_ext <<_ACEOF
21178 /* end confdefs.h. */
21180 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21181 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21182 # error "fake wchar_t"
21184 #ifdef HAVE_WCHAR_H
21186 # include <stddef.h>
21188 # include <wchar.h>
21190 #ifdef HAVE_STDLIB_H
21191 # include <stdlib.h>
21200 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21207 rm -f conftest.
$ac_objext
21208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21209 (eval $ac_compile) 2>conftest.er1
21211 grep -v '^ *+' conftest.er1
>conftest.err
21213 cat conftest.err
>&5
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); } &&
21216 { ac_try
='test -z "$ac_cxx_werror_flag"
21217 || test ! -s conftest.err'
21218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21219 (eval $ac_try) 2>&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; } &&
21223 { ac_try
='test -s conftest.$ac_objext'
21224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21225 (eval $ac_try) 2>&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); }; }; then
21229 ac_hi
=$ac_mid; break
21231 echo "$as_me: failed program was:" >&5
21232 sed 's/^/| /' conftest.
$ac_ext >&5
21234 ac_lo
=`expr $ac_mid + 1`
21235 if test $ac_lo -le $ac_mid; then
21239 ac_mid
=`expr 2 '*' $ac_mid + 1`
21241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.
$ac_ext >&5
21247 cat >conftest.
$ac_ext <<_ACEOF
21250 cat confdefs.h
>>conftest.
$ac_ext
21251 cat >>conftest.
$ac_ext <<_ACEOF
21252 /* end confdefs.h. */
21254 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21255 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21256 # error "fake wchar_t"
21258 #ifdef HAVE_WCHAR_H
21260 # include <stddef.h>
21262 # include <wchar.h>
21264 #ifdef HAVE_STDLIB_H
21265 # include <stdlib.h>
21274 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21281 rm -f conftest.
$ac_objext
21282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21283 (eval $ac_compile) 2>conftest.er1
21285 grep -v '^ *+' conftest.er1
>conftest.err
21287 cat conftest.err
>&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); } &&
21290 { ac_try
='test -z "$ac_cxx_werror_flag"
21291 || test ! -s conftest.err'
21292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293 (eval $ac_try) 2>&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; } &&
21297 { ac_try
='test -s conftest.$ac_objext'
21298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21299 (eval $ac_try) 2>&5
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); }; }; then
21305 cat >conftest.
$ac_ext <<_ACEOF
21308 cat confdefs.h
>>conftest.
$ac_ext
21309 cat >>conftest.
$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21312 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21313 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21314 # error "fake wchar_t"
21316 #ifdef HAVE_WCHAR_H
21318 # include <stddef.h>
21320 # include <wchar.h>
21322 #ifdef HAVE_STDLIB_H
21323 # include <stdlib.h>
21332 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21339 rm -f conftest.
$ac_objext
21340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21341 (eval $ac_compile) 2>conftest.er1
21343 grep -v '^ *+' conftest.er1
>conftest.err
21345 cat conftest.err
>&5
21346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347 (exit $ac_status); } &&
21348 { ac_try
='test -z "$ac_cxx_werror_flag"
21349 || test ! -s conftest.err'
21350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21351 (eval $ac_try) 2>&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); }; } &&
21355 { ac_try
='test -s conftest.$ac_objext'
21356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21357 (eval $ac_try) 2>&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); }; }; then
21361 ac_lo
=$ac_mid; break
21363 echo "$as_me: failed program was:" >&5
21364 sed 's/^/| /' conftest.
$ac_ext >&5
21366 ac_hi
=`expr '(' $ac_mid ')' - 1`
21367 if test $ac_mid -le $ac_hi; then
21371 ac_mid
=`expr 2 '*' $ac_mid`
21373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21376 echo "$as_me: failed program was:" >&5
21377 sed 's/^/| /' conftest.
$ac_ext >&5
21381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21384 # Binary search between lo and hi bounds.
21385 while test "x$ac_lo" != "x$ac_hi"; do
21386 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21387 cat >conftest.
$ac_ext <<_ACEOF
21390 cat confdefs.h
>>conftest.
$ac_ext
21391 cat >>conftest.
$ac_ext <<_ACEOF
21392 /* end confdefs.h. */
21394 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21395 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21396 # error "fake wchar_t"
21398 #ifdef HAVE_WCHAR_H
21400 # include <stddef.h>
21402 # include <wchar.h>
21404 #ifdef HAVE_STDLIB_H
21405 # include <stdlib.h>
21414 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21421 rm -f conftest.
$ac_objext
21422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21423 (eval $ac_compile) 2>conftest.er1
21425 grep -v '^ *+' conftest.er1
>conftest.err
21427 cat conftest.err
>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } &&
21430 { ac_try
='test -z "$ac_cxx_werror_flag"
21431 || test ! -s conftest.err'
21432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21433 (eval $ac_try) 2>&5
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); }; } &&
21437 { ac_try
='test -s conftest.$ac_objext'
21438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21439 (eval $ac_try) 2>&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); }; }; then
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.
$ac_ext >&5
21448 ac_lo
=`expr '(' $ac_mid ')' + 1`
21450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21453 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21454 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21455 See \`config.log' for more details." >&5
21456 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21457 See \`config.log' for more details." >&2;}
21458 { (exit 1); exit 1; }; } ;;
21461 if test "$cross_compiling" = yes; then
21462 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21463 See \`config.log' for more details." >&5
21464 echo "$as_me: error: cannot run test program while cross compiling
21465 See \`config.log' for more details." >&2;}
21466 { (exit 1); exit 1; }; }
21468 cat >conftest.
$ac_ext <<_ACEOF
21471 cat confdefs.h
>>conftest.
$ac_ext
21472 cat >>conftest.
$ac_ext <<_ACEOF
21473 /* end confdefs.h. */
21475 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21476 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21477 # error "fake wchar_t"
21479 #ifdef HAVE_WCHAR_H
21481 # include <stddef.h>
21483 # include <wchar.h>
21485 #ifdef HAVE_STDLIB_H
21486 # include <stdlib.h>
21492 long longval () { return (long) (sizeof (wchar_t)); }
21493 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21495 #include <stdlib.h>
21500 FILE *f = fopen ("conftest.val", "w");
21503 if (((long) (sizeof (wchar_t))) < 0)
21505 long i = longval ();
21506 if (i != ((long) (sizeof (wchar_t))))
21508 fprintf (f, "%ld\n", i);
21512 unsigned long i = ulongval ();
21513 if (i != ((long) (sizeof (wchar_t))))
21515 fprintf (f, "%lu\n", i);
21517 exit (ferror (f) || fclose (f) != 0);
21523 rm -f conftest
$ac_exeext
21524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21525 (eval $ac_link) 2>&5
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21530 (eval $ac_try) 2>&5
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); }; }; then
21534 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21536 echo "$as_me: program exited with status $ac_status" >&5
21537 echo "$as_me: failed program was:" >&5
21538 sed 's/^/| /' conftest.
$ac_ext >&5
21540 ( exit $ac_status )
21541 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21542 See \`config.log' for more details." >&5
21543 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21544 See \`config.log' for more details." >&2;}
21545 { (exit 1); exit 1; }; }
21547 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21552 ac_cv_sizeof_wchar_t
=0
21555 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21556 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21557 cat >>confdefs.h
<<_ACEOF
21558 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21562 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21568 echo "$as_me:$LINENO: checking for va_copy" >&5
21569 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21570 if test "${wx_cv_func_va_copy+set}" = set; then
21571 echo $ECHO_N "(cached) $ECHO_C" >&6
21574 cat >conftest.
$ac_ext <<_ACEOF
21576 #include <stdarg.h>
21577 void foo(char *f, ...)
21591 rm -f conftest.
$ac_objext conftest
$ac_exeext
21592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21593 (eval $ac_link) 2>conftest.er1
21595 grep -v '^ *+' conftest.er1
>conftest.err
21597 cat conftest.err
>&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } &&
21600 { ac_try
='test -z "$ac_cxx_werror_flag"
21601 || test ! -s conftest.err'
21602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21603 (eval $ac_try) 2>&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; } &&
21607 { ac_try
='test -s conftest$ac_exeext'
21608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21609 (eval $ac_try) 2>&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; }; then
21613 wx_cv_func_va_copy
=yes
21615 echo "$as_me: failed program was:" >&5
21616 sed 's/^/| /' conftest.
$ac_ext >&5
21618 wx_cv_func_va_copy
=no
21621 rm -f conftest.err conftest.
$ac_objext \
21622 conftest
$ac_exeext conftest.
$ac_ext
21626 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21627 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21629 if test $wx_cv_func_va_copy = "yes"; then
21630 cat >>confdefs.h
<<\_ACEOF
21631 #define HAVE_VA_COPY 1
21635 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21636 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21637 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21638 echo $ECHO_N "(cached) $ECHO_C" >&6
21641 if test "$cross_compiling" = yes; then
21642 wx_cv_type_va_list_lvalue
=yes
21645 cat >conftest.
$ac_ext <<_ACEOF
21647 #include <stdarg.h>
21648 int foo(char *f, ...)
21653 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21661 return foo("hi", 17);
21664 rm -f conftest
$ac_exeext
21665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21666 (eval $ac_link) 2>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; }; then
21675 wx_cv_type_va_list_lvalue
=yes
21677 echo "$as_me: program exited with status $ac_status" >&5
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.
$ac_ext >&5
21681 ( exit $ac_status )
21682 wx_cv_type_va_list_lvalue
=no
21684 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21689 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21690 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21692 if test $wx_cv_type_va_list_lvalue != "yes"; then
21693 cat >>confdefs.h
<<\_ACEOF
21694 #define VA_LIST_IS_ARRAY 1
21700 # Check whether --enable-largefile or --disable-largefile was given.
21701 if test "${enable_largefile+set}" = set; then
21702 enableval
="$enable_largefile"
21705 if test "$enable_largefile" != no
; then
21708 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21709 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21710 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21711 echo $ECHO_N "(cached) $ECHO_C" >&6
21714 cat >conftest.
$ac_ext <<_ACEOF
21717 cat confdefs.h
>>conftest.
$ac_ext
21718 cat >>conftest.
$ac_ext <<_ACEOF
21719 /* end confdefs.h. */
21720 #define _FILE_OFFSET_BITS 64
21721 #include <sys/types.h>
21726 unsigned int field: sizeof(off_t) == 8;
21733 rm -f conftest.
$ac_objext
21734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21735 (eval $ac_compile) 2>conftest.er1
21737 grep -v '^ *+' conftest.er1
>conftest.err
21739 cat conftest.err
>&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } &&
21742 { ac_try
='test -z "$ac_cxx_werror_flag"
21743 || test ! -s conftest.err'
21744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745 (eval $ac_try) 2>&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; } &&
21749 { ac_try
='test -s conftest.$ac_objext'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; }; then
21755 ac_cv_sys_file_offset_bits
=64
21757 echo "$as_me: failed program was:" >&5
21758 sed 's/^/| /' conftest.
$ac_ext >&5
21760 ac_cv_sys_file_offset_bits
=no
21762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21766 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21767 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21769 if test "$ac_cv_sys_file_offset_bits" != no
; then
21771 cat >>confdefs.h
<<_ACEOF
21772 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21777 if test "x$wx_largefile" != "xyes"; then
21779 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21780 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21781 if test "${ac_cv_sys_large_files+set}" = set; then
21782 echo $ECHO_N "(cached) $ECHO_C" >&6
21785 cat >conftest.
$ac_ext <<_ACEOF
21788 cat confdefs.h
>>conftest.
$ac_ext
21789 cat >>conftest.
$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21791 #define _LARGE_FILES 1
21792 #include <sys/types.h>
21797 unsigned int field: sizeof(off_t) == 8;
21804 rm -f conftest.
$ac_objext
21805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21806 (eval $ac_compile) 2>conftest.er1
21808 grep -v '^ *+' conftest.er1
>conftest.err
21810 cat conftest.err
>&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); } &&
21813 { ac_try
='test -z "$ac_cxx_werror_flag"
21814 || test ! -s conftest.err'
21815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21816 (eval $ac_try) 2>&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); }; } &&
21820 { ac_try
='test -s conftest.$ac_objext'
21821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21822 (eval $ac_try) 2>&5
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); }; }; then
21826 ac_cv_sys_large_files
=1
21828 echo "$as_me: failed program was:" >&5
21829 sed 's/^/| /' conftest.
$ac_ext >&5
21831 ac_cv_sys_large_files
=no
21833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21837 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21838 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21840 if test "$ac_cv_sys_large_files" != no
; then
21842 cat >>confdefs.h
<<_ACEOF
21843 #define _LARGE_FILES $ac_cv_sys_large_files
21850 echo "$as_me:$LINENO: checking if large file support is available" >&5
21851 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21852 if test "x$wx_largefile" = "xyes"; then
21853 cat >>confdefs.h
<<\_ACEOF
21854 #define HAVE_LARGEFILE_SUPPORT 1
21858 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21859 echo "${ECHO_T}$wx_largefile" >&6
21863 if test "x$wx_largefile" = "xyes"; then
21864 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21865 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21867 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21868 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21869 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21870 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21871 echo $ECHO_N "(cached) $ECHO_C" >&6
21874 cat >conftest.
$ac_ext <<_ACEOF
21877 cat confdefs.h
>>conftest.
$ac_ext
21878 cat >>conftest.
$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21885 #ifndef __STDC_EXT__
21893 rm -f conftest.
$ac_objext
21894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21895 (eval $ac_compile) 2>conftest.er1
21897 grep -v '^ *+' conftest.er1
>conftest.err
21899 cat conftest.err
>&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } &&
21902 { ac_try
='test -z "$ac_cxx_werror_flag"
21903 || test ! -s conftest.err'
21904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905 (eval $ac_try) 2>&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); }; } &&
21909 { ac_try
='test -s conftest.$ac_objext'
21910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21911 (eval $ac_try) 2>&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; }; then
21915 wx_cv_STDC_EXT_required
=no
21917 echo "$as_me: failed program was:" >&5
21918 sed 's/^/| /' conftest.
$ac_ext >&5
21920 wx_cv_STDC_EXT_required
=yes
21923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21927 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21928 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21929 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21930 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21934 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21936 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21937 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21938 if test "${ac_cv_sys_largefile_source+set}" = set; then
21939 echo $ECHO_N "(cached) $ECHO_C" >&6
21942 ac_cv_sys_largefile_source
=no
21943 cat >conftest.
$ac_ext <<_ACEOF
21946 cat confdefs.h
>>conftest.
$ac_ext
21947 cat >>conftest.
$ac_ext <<_ACEOF
21948 /* end confdefs.h. */
21958 rm -f conftest.
$ac_objext
21959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21960 (eval $ac_compile) 2>conftest.er1
21962 grep -v '^ *+' conftest.er1
>conftest.err
21964 cat conftest.err
>&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); } &&
21967 { ac_try
='test -z "$ac_cxx_werror_flag"
21968 || test ! -s conftest.err'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; } &&
21974 { ac_try
='test -s conftest.$ac_objext'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.
$ac_ext >&5
21986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21987 cat >conftest.
$ac_ext <<_ACEOF
21990 cat confdefs.h
>>conftest.
$ac_ext
21991 cat >>conftest.
$ac_ext <<_ACEOF
21992 /* end confdefs.h. */
21993 #define _LARGEFILE_SOURCE 1
22003 rm -f conftest.
$ac_objext
22004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22005 (eval $ac_compile) 2>conftest.er1
22007 grep -v '^ *+' conftest.er1
>conftest.err
22009 cat conftest.err
>&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); } &&
22012 { ac_try
='test -z "$ac_cxx_werror_flag"
22013 || test ! -s conftest.err'
22014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22015 (eval $ac_try) 2>&5
22017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22018 (exit $ac_status); }; } &&
22019 { ac_try
='test -s conftest.$ac_objext'
22020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22021 (eval $ac_try) 2>&5
22023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); }; }; then
22025 ac_cv_sys_largefile_source
=1; break
22027 echo "$as_me: failed program was:" >&5
22028 sed 's/^/| /' conftest.
$ac_ext >&5
22031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22035 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22036 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22037 if test "$ac_cv_sys_largefile_source" != no
; then
22039 cat >>confdefs.h
<<_ACEOF
22040 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22046 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22047 # in glibc 2.1.3, but that breaks too many other things.
22048 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22049 echo "$as_me:$LINENO: checking for fseeko" >&5
22050 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22051 if test "${ac_cv_func_fseeko+set}" = set; then
22052 echo $ECHO_N "(cached) $ECHO_C" >&6
22054 cat >conftest.
$ac_ext <<_ACEOF
22057 cat confdefs.h
>>conftest.
$ac_ext
22058 cat >>conftest.
$ac_ext <<_ACEOF
22059 /* end confdefs.h. */
22064 return fseeko && fseeko (stdin, 0, 0);
22069 rm -f conftest.
$ac_objext conftest
$ac_exeext
22070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22071 (eval $ac_link) 2>conftest.er1
22073 grep -v '^ *+' conftest.er1
>conftest.err
22075 cat conftest.err
>&5
22076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077 (exit $ac_status); } &&
22078 { ac_try
='test -z "$ac_cxx_werror_flag"
22079 || test ! -s conftest.err'
22080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22081 (eval $ac_try) 2>&5
22083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084 (exit $ac_status); }; } &&
22085 { ac_try
='test -s conftest$ac_exeext'
22086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22087 (eval $ac_try) 2>&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); }; }; then
22091 ac_cv_func_fseeko
=yes
22093 echo "$as_me: failed program was:" >&5
22094 sed 's/^/| /' conftest.
$ac_ext >&5
22096 ac_cv_func_fseeko
=no
22098 rm -f conftest.err conftest.
$ac_objext \
22099 conftest
$ac_exeext conftest.
$ac_ext
22101 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22102 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22103 if test $ac_cv_func_fseeko = yes; then
22105 cat >>confdefs.h
<<\_ACEOF
22106 #define HAVE_FSEEKO 1
22111 if test "$ac_cv_sys_largefile_source" != no
; then
22112 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22116 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22117 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22118 if test "${ac_cv_c_bigendian+set}" = set; then
22119 echo $ECHO_N "(cached) $ECHO_C" >&6
22121 ac_cv_c_bigendian
=unknown
22122 # See if sys/param.h defines the BYTE_ORDER macro.
22123 cat >conftest.
$ac_ext <<_ACEOF
22126 cat confdefs.h
>>conftest.
$ac_ext
22127 cat >>conftest.
$ac_ext <<_ACEOF
22128 /* end confdefs.h. */
22129 #include <sys/types.h>
22130 #include <sys/param.h>
22135 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22136 bogus endian macros
22142 rm -f conftest.
$ac_objext
22143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22144 (eval $ac_compile) 2>conftest.er1
22146 grep -v '^ *+' conftest.er1
>conftest.err
22148 cat conftest.err
>&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); } &&
22151 { ac_try
='test -z "$ac_cxx_werror_flag"
22152 || test ! -s conftest.err'
22153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22154 (eval $ac_try) 2>&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); }; } &&
22158 { ac_try
='test -s conftest.$ac_objext'
22159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22160 (eval $ac_try) 2>&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); }; }; then
22164 # It does; now see whether it defined to BIG_ENDIAN or not.
22165 cat >conftest.
$ac_ext <<_ACEOF
22168 cat confdefs.h
>>conftest.
$ac_ext
22169 cat >>conftest.
$ac_ext <<_ACEOF
22170 /* end confdefs.h. */
22171 #include <sys/types.h>
22172 #include <sys/param.h>
22177 #if BYTE_ORDER != BIG_ENDIAN
22184 rm -f conftest.
$ac_objext
22185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22186 (eval $ac_compile) 2>conftest.er1
22188 grep -v '^ *+' conftest.er1
>conftest.err
22190 cat conftest.err
>&5
22191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192 (exit $ac_status); } &&
22193 { ac_try
='test -z "$ac_cxx_werror_flag"
22194 || test ! -s conftest.err'
22195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22196 (eval $ac_try) 2>&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); }; } &&
22200 { ac_try
='test -s conftest.$ac_objext'
22201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22202 (eval $ac_try) 2>&5
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); }; }; then
22206 ac_cv_c_bigendian
=yes
22208 echo "$as_me: failed program was:" >&5
22209 sed 's/^/| /' conftest.
$ac_ext >&5
22211 ac_cv_c_bigendian
=no
22213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22215 echo "$as_me: failed program was:" >&5
22216 sed 's/^/| /' conftest.
$ac_ext >&5
22219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22220 if test $ac_cv_c_bigendian = unknown
; then
22221 if test "$cross_compiling" = yes; then
22222 ac_cv_c_bigendian
=unknown
22224 cat >conftest.
$ac_ext <<_ACEOF
22227 cat confdefs.h
>>conftest.
$ac_ext
22228 cat >>conftest.
$ac_ext <<_ACEOF
22229 /* end confdefs.h. */
22231 /* Are we little or big endian? From Harbison&Steele. */
22235 char c[sizeof (long)];
22238 exit (u.c[sizeof (long) - 1] == 1);
22241 rm -f conftest
$ac_exeext
22242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22243 (eval $ac_link) 2>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22248 (eval $ac_try) 2>&5
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); }; }; then
22252 ac_cv_c_bigendian
=no
22254 echo "$as_me: program exited with status $ac_status" >&5
22255 echo "$as_me: failed program was:" >&5
22256 sed 's/^/| /' conftest.
$ac_ext >&5
22258 ( exit $ac_status )
22259 ac_cv_c_bigendian
=yes
22261 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22265 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22266 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22267 if test $ac_cv_c_bigendian = unknown
; then
22268 { 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
22269 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;}
22271 if test $ac_cv_c_bigendian = yes; then
22272 cat >>confdefs.h
<<\_ACEOF
22273 #define WORDS_BIGENDIAN 1
22283 ac_cpp
='$CXXCPP $CPPFLAGS'
22284 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22290 for ac_header
in iostream
22292 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22294 echo "$as_me:$LINENO: checking for $ac_header" >&5
22295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22297 echo $ECHO_N "(cached) $ECHO_C" >&6
22299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22302 # Is the header compilable?
22303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22305 cat >conftest.
$ac_ext <<_ACEOF
22308 cat confdefs.h
>>conftest.
$ac_ext
22309 cat >>conftest.
$ac_ext <<_ACEOF
22310 /* end confdefs.h. */
22311 $ac_includes_default
22312 #include <$ac_header>
22314 rm -f conftest.
$ac_objext
22315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22316 (eval $ac_compile) 2>conftest.er1
22318 grep -v '^ *+' conftest.er1
>conftest.err
22320 cat conftest.err
>&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); } &&
22323 { ac_try
='test -z "$ac_cxx_werror_flag"
22324 || test ! -s conftest.err'
22325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22326 (eval $ac_try) 2>&5
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); }; } &&
22330 { ac_try
='test -s conftest.$ac_objext'
22331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22332 (eval $ac_try) 2>&5
22334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22335 (exit $ac_status); }; }; then
22336 ac_header_compiler
=yes
22338 echo "$as_me: failed program was:" >&5
22339 sed 's/^/| /' conftest.
$ac_ext >&5
22341 ac_header_compiler
=no
22343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22345 echo "${ECHO_T}$ac_header_compiler" >&6
22347 # Is the header present?
22348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22350 cat >conftest.
$ac_ext <<_ACEOF
22353 cat confdefs.h
>>conftest.
$ac_ext
22354 cat >>conftest.
$ac_ext <<_ACEOF
22355 /* end confdefs.h. */
22356 #include <$ac_header>
22358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22359 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22361 grep -v '^ *+' conftest.er1
>conftest.err
22363 cat conftest.err
>&5
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); } >/dev
/null
; then
22366 if test -s conftest.err
; then
22367 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22368 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22375 if test -z "$ac_cpp_err"; then
22376 ac_header_preproc
=yes
22378 echo "$as_me: failed program was:" >&5
22379 sed 's/^/| /' conftest.
$ac_ext >&5
22381 ac_header_preproc
=no
22383 rm -f conftest.err conftest.
$ac_ext
22384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22385 echo "${ECHO_T}$ac_header_preproc" >&6
22387 # So? What about this header?
22388 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22394 ac_header_preproc
=yes
22397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22411 ## ----------------------------------------- ##
22412 ## Report this to wx-dev@lists.wxwidgets.org ##
22413 ## ----------------------------------------- ##
22416 sed "s/^/$as_me: WARNING: /" >&2
22419 echo "$as_me:$LINENO: checking for $ac_header" >&5
22420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22422 echo $ECHO_N "(cached) $ECHO_C" >&6
22424 eval "$as_ac_Header=\$ac_header_preproc"
22426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22431 cat >>confdefs.h
<<_ACEOF
22432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22440 if test "$ac_cv_header_iostream" = "yes" ; then
22443 cat >>confdefs.h
<<\_ACEOF
22444 #define wxUSE_IOSTREAMH 1
22450 ac_cpp
='$CXXCPP $CPPFLAGS'
22451 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22452 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22453 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22458 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22459 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22460 if test "${wx_cv_cpp_bool+set}" = set; then
22461 echo $ECHO_N "(cached) $ECHO_C" >&6
22467 ac_cpp
='$CXXCPP $CPPFLAGS'
22468 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22469 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22470 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22473 cat >conftest.
$ac_ext <<_ACEOF
22476 cat confdefs.h
>>conftest.
$ac_ext
22477 cat >>conftest.
$ac_ext <<_ACEOF
22478 /* end confdefs.h. */
22493 rm -f conftest.
$ac_objext
22494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22495 (eval $ac_compile) 2>conftest.er1
22497 grep -v '^ *+' conftest.er1
>conftest.err
22499 cat conftest.err
>&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } &&
22502 { ac_try
='test -z "$ac_cxx_werror_flag"
22503 || test ! -s conftest.err'
22504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22505 (eval $ac_try) 2>&5
22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508 (exit $ac_status); }; } &&
22509 { ac_try
='test -s conftest.$ac_objext'
22510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22511 (eval $ac_try) 2>&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); }; }; then
22519 echo "$as_me: failed program was:" >&5
22520 sed 's/^/| /' conftest.
$ac_ext >&5
22527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22530 ac_cpp
='$CXXCPP $CPPFLAGS'
22531 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22537 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22538 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22540 if test "$wx_cv_cpp_bool" = "yes"; then
22541 cat >>confdefs.h
<<\_ACEOF
22542 #define HAVE_BOOL 1
22549 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22550 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22551 if test "${wx_cv_explicit+set}" = set; then
22552 echo $ECHO_N "(cached) $ECHO_C" >&6
22558 ac_cpp
='$CXXCPP $CPPFLAGS'
22559 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22560 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22561 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22564 cat >conftest.
$ac_ext <<_ACEOF
22567 cat confdefs.h
>>conftest.
$ac_ext
22568 cat >>conftest.
$ac_ext <<_ACEOF
22569 /* end confdefs.h. */
22571 class Foo { public: explicit Foo(int) {} };
22583 rm -f conftest.
$ac_objext
22584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22585 (eval $ac_compile) 2>conftest.er1
22587 grep -v '^ *+' conftest.er1
>conftest.err
22589 cat conftest.err
>&5
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); } &&
22592 { ac_try
='test -z "$ac_cxx_werror_flag"
22593 || test ! -s conftest.err'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; } &&
22599 { ac_try
='test -s conftest.$ac_objext'
22600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22601 (eval $ac_try) 2>&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); }; }; then
22606 cat >conftest.
$ac_ext <<_ACEOF
22609 cat confdefs.h
>>conftest.
$ac_ext
22610 cat >>conftest.
$ac_ext <<_ACEOF
22611 /* end confdefs.h. */
22613 class Foo { public: explicit Foo(int) {} };
22614 static void TakeFoo(const Foo& foo) { }
22627 rm -f conftest.
$ac_objext
22628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22629 (eval $ac_compile) 2>conftest.er1
22631 grep -v '^ *+' conftest.er1
>conftest.err
22633 cat conftest.err
>&5
22634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22635 (exit $ac_status); } &&
22636 { ac_try
='test -z "$ac_cxx_werror_flag"
22637 || test ! -s conftest.err'
22638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22639 (eval $ac_try) 2>&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); }; } &&
22643 { ac_try
='test -s conftest.$ac_objext'
22644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22645 (eval $ac_try) 2>&5
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); }; }; then
22651 echo "$as_me: failed program was:" >&5
22652 sed 's/^/| /' conftest.
$ac_ext >&5
22657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22660 echo "$as_me: failed program was:" >&5
22661 sed 's/^/| /' conftest.
$ac_ext >&5
22666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22669 ac_cpp
='$CXXCPP $CPPFLAGS'
22670 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22671 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22672 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22676 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22677 echo "${ECHO_T}$wx_cv_explicit" >&6
22679 if test "$wx_cv_explicit" = "yes"; then
22680 cat >>confdefs.h
<<\_ACEOF
22681 #define HAVE_EXPLICIT 1
22687 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22688 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22689 if test "${ac_cv_cxx_const_cast+set}" = set; then
22690 echo $ECHO_N "(cached) $ECHO_C" >&6
22695 ac_cpp
='$CXXCPP $CPPFLAGS'
22696 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22697 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22698 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22700 cat >conftest.
$ac_ext <<_ACEOF
22703 cat confdefs.h
>>conftest.
$ac_ext
22704 cat >>conftest.
$ac_ext <<_ACEOF
22705 /* end confdefs.h. */
22710 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22715 rm -f conftest.
$ac_objext
22716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22717 (eval $ac_compile) 2>conftest.er1
22719 grep -v '^ *+' conftest.er1
>conftest.err
22721 cat conftest.err
>&5
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); } &&
22724 { ac_try
='test -z "$ac_cxx_werror_flag"
22725 || test ! -s conftest.err'
22726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22727 (eval $ac_try) 2>&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); }; } &&
22731 { ac_try
='test -s conftest.$ac_objext'
22732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22733 (eval $ac_try) 2>&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); }; }; then
22737 ac_cv_cxx_const_cast
=yes
22739 echo "$as_me: failed program was:" >&5
22740 sed 's/^/| /' conftest.
$ac_ext >&5
22742 ac_cv_cxx_const_cast
=no
22744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22746 ac_cpp
='$CXXCPP $CPPFLAGS'
22747 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22748 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22749 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22753 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22754 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22755 if test "$ac_cv_cxx_const_cast" = yes; then
22757 cat >>confdefs.h
<<\_ACEOF
22758 #define HAVE_CONST_CAST
22763 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22764 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22765 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22766 echo $ECHO_N "(cached) $ECHO_C" >&6
22771 ac_cpp
='$CXXCPP $CPPFLAGS'
22772 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22773 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22774 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22776 cat >conftest.
$ac_ext <<_ACEOF
22779 cat confdefs.h
>>conftest.
$ac_ext
22780 cat >>conftest.
$ac_ext <<_ACEOF
22781 /* end confdefs.h. */
22782 #include <typeinfo>
22783 class Base { public : Base () {} virtual void f () = 0;};
22784 class Derived : public Base { public : Derived () {} virtual void f () {} };
22785 class Unrelated { public : Unrelated () {} };
22786 int g (Unrelated&) { return 0; }
22791 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22796 rm -f conftest.
$ac_objext
22797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22798 (eval $ac_compile) 2>conftest.er1
22800 grep -v '^ *+' conftest.er1
>conftest.err
22802 cat conftest.err
>&5
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); } &&
22805 { ac_try
='test -z "$ac_cxx_werror_flag"
22806 || test ! -s conftest.err'
22807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22808 (eval $ac_try) 2>&5
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); }; } &&
22812 { ac_try
='test -s conftest.$ac_objext'
22813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22814 (eval $ac_try) 2>&5
22816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22817 (exit $ac_status); }; }; then
22818 ac_cv_cxx_reinterpret_cast
=yes
22820 echo "$as_me: failed program was:" >&5
22821 sed 's/^/| /' conftest.
$ac_ext >&5
22823 ac_cv_cxx_reinterpret_cast
=no
22825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22827 ac_cpp
='$CXXCPP $CPPFLAGS'
22828 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22829 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22830 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22834 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22835 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22836 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22838 cat >>confdefs.h
<<\_ACEOF
22839 #define HAVE_REINTERPRET_CAST
22844 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22845 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22846 if test "${ac_cv_cxx_static_cast+set}" = set; then
22847 echo $ECHO_N "(cached) $ECHO_C" >&6
22852 ac_cpp
='$CXXCPP $CPPFLAGS'
22853 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22854 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22855 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22857 cat >conftest.
$ac_ext <<_ACEOF
22860 cat confdefs.h
>>conftest.
$ac_ext
22861 cat >>conftest.
$ac_ext <<_ACEOF
22862 /* end confdefs.h. */
22863 #include <typeinfo>
22864 class Base { public : Base () {} virtual void f () = 0; };
22865 class Derived : public Base { public : Derived () {} virtual void f () {} };
22866 int g (Derived&) { return 0; }
22871 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22876 rm -f conftest.
$ac_objext
22877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22878 (eval $ac_compile) 2>conftest.er1
22880 grep -v '^ *+' conftest.er1
>conftest.err
22882 cat conftest.err
>&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } &&
22885 { ac_try
='test -z "$ac_cxx_werror_flag"
22886 || test ! -s conftest.err'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; } &&
22892 { ac_try
='test -s conftest.$ac_objext'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; }; then
22898 ac_cv_cxx_static_cast
=yes
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.
$ac_ext >&5
22903 ac_cv_cxx_static_cast
=no
22905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22907 ac_cpp
='$CXXCPP $CPPFLAGS'
22908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22914 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22915 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22916 if test "$ac_cv_cxx_static_cast" = yes; then
22918 cat >>confdefs.h
<<\_ACEOF
22919 #define HAVE_STATIC_CAST
22925 if test "x$SUNCXX" = xyes
; then
22926 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22929 if test "x$SUNCC" = xyes
; then
22930 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22933 if test "x$SGICC" = "xyes"; then
22934 CFLAGS
="-woff 3970 $CFLAGS"
22936 if test "x$SGICXX" = "xyes"; then
22937 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22940 if test "x$HPCC" = "xyes"; then
22941 CFLAGS
="+W 2011,2450 $CFLAGS"
22943 if test "x$HPCXX" = "xyes"; then
22944 CXXFLAGS
="+W 2340 $CXXFLAGS"
22947 if test "x$COMPAQCXX" = "xyes"; then
22948 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22951 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22952 if test "$wxUSE_UNICODE" = "yes"; then
22953 std_string
="std::wstring"
22954 char_type
="wchar_t"
22956 std_string
="std::string"
22960 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22961 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22962 cat >conftest.
$ac_ext <<_ACEOF
22965 cat confdefs.h
>>conftest.
$ac_ext
22966 cat >>conftest.
$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22977 rm -f conftest.
$ac_objext
22978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22979 (eval $ac_compile) 2>conftest.er1
22981 grep -v '^ *+' conftest.er1
>conftest.err
22983 cat conftest.err
>&5
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); } &&
22986 { ac_try
='test -z "$ac_cxx_werror_flag"
22987 || test ! -s conftest.err'
22988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22989 (eval $ac_try) 2>&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); }; } &&
22993 { ac_try
='test -s conftest.$ac_objext'
22994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22995 (eval $ac_try) 2>&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); }; }; then
22999 echo "$as_me:$LINENO: result: yes" >&5
23000 echo "${ECHO_T}yes" >&6
23001 cat >>confdefs.h
<<\_ACEOF
23002 #define HAVE_STD_WSTRING 1
23006 echo "$as_me: failed program was:" >&5
23007 sed 's/^/| /' conftest.
$ac_ext >&5
23009 echo "$as_me:$LINENO: result: no" >&5
23010 echo "${ECHO_T}no" >&6
23011 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23012 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23013 cat >conftest.
$ac_ext <<_ACEOF
23016 cat confdefs.h
>>conftest.
$ac_ext
23017 cat >>conftest.
$ac_ext <<_ACEOF
23018 /* end confdefs.h. */
23020 #ifdef HAVE_WCHAR_H
23022 # include <stddef.h>
23024 # include <wchar.h>
23026 #ifdef HAVE_STDLIB_H
23027 # include <stdlib.h>
23035 std::basic_string<$char_type> foo;
23036 const $char_type* dummy = foo.c_str();
23041 rm -f conftest.
$ac_objext
23042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23043 (eval $ac_compile) 2>conftest.er1
23045 grep -v '^ *+' conftest.er1
>conftest.err
23047 cat conftest.err
>&5
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); } &&
23050 { ac_try
='test -z "$ac_cxx_werror_flag"
23051 || test ! -s conftest.err'
23052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23053 (eval $ac_try) 2>&5
23055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23056 (exit $ac_status); }; } &&
23057 { ac_try
='test -s conftest.$ac_objext'
23058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23059 (eval $ac_try) 2>&5
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); }; }; then
23063 echo "$as_me:$LINENO: result: yes" >&5
23064 echo "${ECHO_T}yes" >&6
23066 echo "$as_me: failed program was:" >&5
23067 sed 's/^/| /' conftest.
$ac_ext >&5
23069 echo "$as_me:$LINENO: result: no" >&5
23070 echo "${ECHO_T}no" >&6
23071 if test "$wxUSE_STL" = "yes"; then
23072 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23073 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23074 { (exit 1); exit 1; }; }
23075 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23076 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23077 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23078 { (exit 1); exit 1; }; }
23080 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23081 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23082 wxUSE_STD_STRING
=no
23087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23093 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23094 echo "$as_me:$LINENO: checking for std::istream" >&5
23095 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23096 if test "${ac_cv_type_std__istream+set}" = set; then
23097 echo $ECHO_N "(cached) $ECHO_C" >&6
23099 cat >conftest.
$ac_ext <<_ACEOF
23102 cat confdefs.h
>>conftest.
$ac_ext
23103 cat >>conftest.
$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23105 #include <iostream>
23110 if ((std::istream *) 0)
23112 if (sizeof (std::istream))
23118 rm -f conftest.
$ac_objext
23119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23120 (eval $ac_compile) 2>conftest.er1
23122 grep -v '^ *+' conftest.er1
>conftest.err
23124 cat conftest.err
>&5
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); } &&
23127 { ac_try
='test -z "$ac_cxx_werror_flag"
23128 || test ! -s conftest.err'
23129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23130 (eval $ac_try) 2>&5
23132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23133 (exit $ac_status); }; } &&
23134 { ac_try
='test -s conftest.$ac_objext'
23135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23136 (eval $ac_try) 2>&5
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); }; }; then
23140 ac_cv_type_std__istream
=yes
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.
$ac_ext >&5
23145 ac_cv_type_std__istream
=no
23147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23149 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23150 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23151 if test $ac_cv_type_std__istream = yes; then
23153 cat >>confdefs.h
<<_ACEOF
23154 #define HAVE_STD__ISTREAM 1
23159 wxUSE_STD_IOSTREAM
=no
23161 echo "$as_me:$LINENO: checking for std::ostream" >&5
23162 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23163 if test "${ac_cv_type_std__ostream+set}" = set; then
23164 echo $ECHO_N "(cached) $ECHO_C" >&6
23166 cat >conftest.
$ac_ext <<_ACEOF
23169 cat confdefs.h
>>conftest.
$ac_ext
23170 cat >>conftest.
$ac_ext <<_ACEOF
23171 /* end confdefs.h. */
23172 #include <iostream>
23177 if ((std::ostream *) 0)
23179 if (sizeof (std::ostream))
23185 rm -f conftest.
$ac_objext
23186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23187 (eval $ac_compile) 2>conftest.er1
23189 grep -v '^ *+' conftest.er1
>conftest.err
23191 cat conftest.err
>&5
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); } &&
23194 { ac_try
='test -z "$ac_cxx_werror_flag"
23195 || test ! -s conftest.err'
23196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23197 (eval $ac_try) 2>&5
23199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23200 (exit $ac_status); }; } &&
23201 { ac_try
='test -s conftest.$ac_objext'
23202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23203 (eval $ac_try) 2>&5
23205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23206 (exit $ac_status); }; }; then
23207 ac_cv_type_std__ostream
=yes
23209 echo "$as_me: failed program was:" >&5
23210 sed 's/^/| /' conftest.
$ac_ext >&5
23212 ac_cv_type_std__ostream
=no
23214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23216 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23217 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23218 if test $ac_cv_type_std__ostream = yes; then
23220 cat >>confdefs.h
<<_ACEOF
23221 #define HAVE_STD__OSTREAM 1
23226 wxUSE_STD_IOSTREAM
=no
23230 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23231 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23232 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23233 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23234 { (exit 1); exit 1; }; }
23236 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23237 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23242 if test "$wxUSE_STL" = "yes"; then
23243 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23244 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23245 cat >conftest.
$ac_ext <<_ACEOF
23248 cat confdefs.h
>>conftest.
$ac_ext
23249 cat >>conftest.
$ac_ext <<_ACEOF
23250 /* end confdefs.h. */
23252 #include <functional>
23253 #include <algorithm>
23259 std::vector<int> moo;
23260 std::list<int> foo;
23261 std::vector<int>::iterator it =
23262 std::find_if(moo.begin(), moo.end(),
23263 std::bind2nd(std::less<int>(), 3));
23268 rm -f conftest.
$ac_objext
23269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23270 (eval $ac_compile) 2>conftest.er1
23272 grep -v '^ *+' conftest.er1
>conftest.err
23274 cat conftest.err
>&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); } &&
23277 { ac_try
='test -z "$ac_cxx_werror_flag"
23278 || test ! -s conftest.err'
23279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23280 (eval $ac_try) 2>&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); }; } &&
23284 { ac_try
='test -s conftest.$ac_objext'
23285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23286 (eval $ac_try) 2>&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); }; }; then
23290 echo "$as_me:$LINENO: result: yes" >&5
23291 echo "${ECHO_T}yes" >&6
23293 echo "$as_me: failed program was:" >&5
23294 sed 's/^/| /' conftest.
$ac_ext >&5
23296 echo "$as_me:$LINENO: result: no" >&5
23297 echo "${ECHO_T}no" >&6
23298 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23299 echo "$as_me: error: Basic STL functionality missing" >&2;}
23300 { (exit 1); exit 1; }; }
23302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23304 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23305 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23306 cat >conftest.
$ac_ext <<_ACEOF
23309 cat confdefs.h
>>conftest.
$ac_ext
23310 cat >>conftest.
$ac_ext <<_ACEOF
23311 /* end confdefs.h. */
23316 std::string foo, bar;
23318 foo.compare(1, 1, bar);
23319 foo.compare(1, 1, bar, 1, 1);
23321 foo.compare(1, 1, "");
23322 foo.compare(1, 1, "", 2);
23327 rm -f conftest.
$ac_objext
23328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23329 (eval $ac_compile) 2>conftest.er1
23331 grep -v '^ *+' conftest.er1
>conftest.err
23333 cat conftest.err
>&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); } &&
23336 { ac_try
='test -z "$ac_cxx_werror_flag"
23337 || test ! -s conftest.err'
23338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23339 (eval $ac_try) 2>&5
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); }; } &&
23343 { ac_try
='test -s conftest.$ac_objext'
23344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23345 (eval $ac_try) 2>&5
23347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348 (exit $ac_status); }; }; then
23349 echo "$as_me:$LINENO: result: yes" >&5
23350 echo "${ECHO_T}yes" >&6
23351 cat >>confdefs.h
<<\_ACEOF
23352 #define HAVE_STD_STRING_COMPARE 1
23356 echo "$as_me: failed program was:" >&5
23357 sed 's/^/| /' conftest.
$ac_ext >&5
23359 echo "$as_me:$LINENO: result: no" >&5
23360 echo "${ECHO_T}no" >&6
23362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23364 if test "${ac_cv_header_hash_map+set}" = set; then
23365 echo "$as_me:$LINENO: checking for hash_map" >&5
23366 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23367 if test "${ac_cv_header_hash_map+set}" = set; then
23368 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23371 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23373 # Is the header compilable?
23374 echo "$as_me:$LINENO: checking hash_map usability" >&5
23375 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23376 cat >conftest.
$ac_ext <<_ACEOF
23379 cat confdefs.h
>>conftest.
$ac_ext
23380 cat >>conftest.
$ac_ext <<_ACEOF
23381 /* end confdefs.h. */
23382 $ac_includes_default
23383 #include <hash_map>
23385 rm -f conftest.
$ac_objext
23386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23387 (eval $ac_compile) 2>conftest.er1
23389 grep -v '^ *+' conftest.er1
>conftest.err
23391 cat conftest.err
>&5
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); } &&
23394 { ac_try
='test -z "$ac_cxx_werror_flag"
23395 || test ! -s conftest.err'
23396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23397 (eval $ac_try) 2>&5
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); }; } &&
23401 { ac_try
='test -s conftest.$ac_objext'
23402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23403 (eval $ac_try) 2>&5
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); }; }; then
23407 ac_header_compiler
=yes
23409 echo "$as_me: failed program was:" >&5
23410 sed 's/^/| /' conftest.
$ac_ext >&5
23412 ac_header_compiler
=no
23414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23416 echo "${ECHO_T}$ac_header_compiler" >&6
23418 # Is the header present?
23419 echo "$as_me:$LINENO: checking hash_map presence" >&5
23420 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23421 cat >conftest.
$ac_ext <<_ACEOF
23424 cat confdefs.h
>>conftest.
$ac_ext
23425 cat >>conftest.
$ac_ext <<_ACEOF
23426 /* end confdefs.h. */
23427 #include <hash_map>
23429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23432 grep -v '^ *+' conftest.er1
>conftest.err
23434 cat conftest.err
>&5
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); } >/dev
/null
; then
23437 if test -s conftest.err
; then
23438 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23439 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23446 if test -z "$ac_cpp_err"; then
23447 ac_header_preproc
=yes
23449 echo "$as_me: failed program was:" >&5
23450 sed 's/^/| /' conftest.
$ac_ext >&5
23452 ac_header_preproc
=no
23454 rm -f conftest.err conftest.
$ac_ext
23455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23456 echo "${ECHO_T}$ac_header_preproc" >&6
23458 # So? What about this header?
23459 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23461 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23462 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23463 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23464 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23465 ac_header_preproc
=yes
23468 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23469 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23470 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23471 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23472 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23473 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23474 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23475 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23476 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23477 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23478 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23479 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23482 ## ----------------------------------------- ##
23483 ## Report this to wx-dev@lists.wxwidgets.org ##
23484 ## ----------------------------------------- ##
23487 sed "s/^/$as_me: WARNING: /" >&2
23490 echo "$as_me:$LINENO: checking for hash_map" >&5
23491 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23492 if test "${ac_cv_header_hash_map+set}" = set; then
23493 echo $ECHO_N "(cached) $ECHO_C" >&6
23495 ac_cv_header_hash_map
=$ac_header_preproc
23497 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23498 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23501 if test $ac_cv_header_hash_map = yes; then
23502 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23503 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23504 cat >conftest.
$ac_ext <<_ACEOF
23507 cat confdefs.h
>>conftest.
$ac_ext
23508 cat >>conftest.
$ac_ext <<_ACEOF
23509 /* end confdefs.h. */
23510 #include <hash_map>
23511 #include <hash_set>
23515 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23516 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23521 rm -f conftest.
$ac_objext
23522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23523 (eval $ac_compile) 2>conftest.er1
23525 grep -v '^ *+' conftest.er1
>conftest.err
23527 cat conftest.err
>&5
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); } &&
23530 { ac_try
='test -z "$ac_cxx_werror_flag"
23531 || test ! -s conftest.err'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; } &&
23537 { ac_try
='test -s conftest.$ac_objext'
23538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23539 (eval $ac_try) 2>&5
23541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 (exit $ac_status); }; }; then
23543 echo "$as_me:$LINENO: result: yes" >&5
23544 echo "${ECHO_T}yes" >&6
23545 cat >>confdefs.h
<<\_ACEOF
23546 #define HAVE_HASH_MAP 1
23549 cat >>confdefs.h
<<\_ACEOF
23550 #define HAVE_STD_HASH_MAP 1
23554 echo "$as_me: failed program was:" >&5
23555 sed 's/^/| /' conftest.
$ac_ext >&5
23557 echo "$as_me:$LINENO: result: no" >&5
23558 echo "${ECHO_T}no" >&6
23560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23566 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23567 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23568 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23569 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23570 echo $ECHO_N "(cached) $ECHO_C" >&6
23572 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23573 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23575 # Is the header compilable?
23576 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23577 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23578 cat >conftest.
$ac_ext <<_ACEOF
23581 cat confdefs.h
>>conftest.
$ac_ext
23582 cat >>conftest.
$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23584 $ac_includes_default
23585 #include <ext/hash_map>
23587 rm -f conftest.
$ac_objext
23588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23589 (eval $ac_compile) 2>conftest.er1
23591 grep -v '^ *+' conftest.er1
>conftest.err
23593 cat conftest.err
>&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); } &&
23596 { ac_try
='test -z "$ac_cxx_werror_flag"
23597 || test ! -s conftest.err'
23598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23599 (eval $ac_try) 2>&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); }; } &&
23603 { ac_try
='test -s conftest.$ac_objext'
23604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23605 (eval $ac_try) 2>&5
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); }; }; then
23609 ac_header_compiler
=yes
23611 echo "$as_me: failed program was:" >&5
23612 sed 's/^/| /' conftest.
$ac_ext >&5
23614 ac_header_compiler
=no
23616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23618 echo "${ECHO_T}$ac_header_compiler" >&6
23620 # Is the header present?
23621 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23622 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23623 cat >conftest.
$ac_ext <<_ACEOF
23626 cat confdefs.h
>>conftest.
$ac_ext
23627 cat >>conftest.
$ac_ext <<_ACEOF
23628 /* end confdefs.h. */
23629 #include <ext/hash_map>
23631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23632 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23634 grep -v '^ *+' conftest.er1
>conftest.err
23636 cat conftest.err
>&5
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); } >/dev
/null
; then
23639 if test -s conftest.err
; then
23640 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23641 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23648 if test -z "$ac_cpp_err"; then
23649 ac_header_preproc
=yes
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.
$ac_ext >&5
23654 ac_header_preproc
=no
23656 rm -f conftest.err conftest.
$ac_ext
23657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23658 echo "${ECHO_T}$ac_header_preproc" >&6
23660 # So? What about this header?
23661 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23663 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23664 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23665 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23666 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23667 ac_header_preproc
=yes
23670 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23671 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23672 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23673 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23674 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23675 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23676 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23677 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23678 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23679 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23680 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23681 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23684 ## ----------------------------------------- ##
23685 ## Report this to wx-dev@lists.wxwidgets.org ##
23686 ## ----------------------------------------- ##
23689 sed "s/^/$as_me: WARNING: /" >&2
23692 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23693 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23694 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23695 echo $ECHO_N "(cached) $ECHO_C" >&6
23697 ac_cv_header_ext_hash_map
=$ac_header_preproc
23699 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23700 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23703 if test $ac_cv_header_ext_hash_map = yes; then
23704 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23705 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23706 cat >conftest.
$ac_ext <<_ACEOF
23709 cat confdefs.h
>>conftest.
$ac_ext
23710 cat >>conftest.
$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23712 #include <ext/hash_map>
23713 #include <ext/hash_set>
23717 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23718 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23723 rm -f conftest.
$ac_objext
23724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23725 (eval $ac_compile) 2>conftest.er1
23727 grep -v '^ *+' conftest.er1
>conftest.err
23729 cat conftest.err
>&5
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); } &&
23732 { ac_try
='test -z "$ac_cxx_werror_flag"
23733 || test ! -s conftest.err'
23734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23735 (eval $ac_try) 2>&5
23737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738 (exit $ac_status); }; } &&
23739 { ac_try
='test -s conftest.$ac_objext'
23740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23741 (eval $ac_try) 2>&5
23743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744 (exit $ac_status); }; }; then
23745 echo "$as_me:$LINENO: result: yes" >&5
23746 echo "${ECHO_T}yes" >&6
23747 cat >>confdefs.h
<<\_ACEOF
23748 #define HAVE_EXT_HASH_MAP 1
23751 cat >>confdefs.h
<<\_ACEOF
23752 #define HAVE_GNU_CXX_HASH_MAP 1
23756 echo "$as_me: failed program was:" >&5
23757 sed 's/^/| /' conftest.
$ac_ext >&5
23759 echo "$as_me:$LINENO: result: no" >&5
23760 echo "${ECHO_T}no" >&6
23762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23771 /usr/local/include \
23773 /usr/Motif-2.1/include \
23774 /usr/Motif-1.2/include \
23775 /usr/include/Motif1.2 \
23778 /usr/openwin/include \
23782 /usr/X11R6/include \
23783 /usr/X11R6.4/include \
23784 /usr/X11R5/include \
23785 /usr/X11R4/include \
23787 /usr/include/X11R6 \
23788 /usr/include/X11R5 \
23789 /usr/include/X11R4 \
23791 /usr/local/X11R6/include \
23792 /usr/local/X11R5/include \
23793 /usr/local/X11R4/include \
23795 /usr/local/include/X11R6 \
23796 /usr/local/include/X11R5 \
23797 /usr/local/include/X11R4 \
23801 /usr/local/X11/include \
23802 /usr/local/include/X11 \
23804 /usr/XFree86/include/X11 \
23807 /usr/openwin/share/include"
23809 echo "$as_me:$LINENO: checking for libraries directory" >&5
23810 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23814 if test "${wx_cv_std_libpath+set}" = set; then
23815 echo $ECHO_N "(cached) $ECHO_C" >&6
23818 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23819 for e
in a so sl dylib dll.a
; do
23821 if test -f $libc; then
23824 cat >conftest.
$ac_ext <<_ACEOF
23825 int main() { return 0; }
23827 rm -f conftest.
$ac_objext conftest
$ac_exeext
23828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23829 (eval $ac_link) 2>conftest.er1
23831 grep -v '^ *+' conftest.er1
>conftest.err
23833 cat conftest.err
>&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } &&
23836 { ac_try
='test -z "$ac_cxx_werror_flag"
23837 || test ! -s conftest.err'
23838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23839 (eval $ac_try) 2>&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); }; } &&
23843 { ac_try
='test -s conftest$ac_exeext'
23844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845 (eval $ac_try) 2>&5
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); }; }; then
23849 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23851 echo "$as_me: failed program was:" >&5
23852 sed 's/^/| /' conftest.
$ac_ext >&5
23855 rm -f conftest.err conftest.
$ac_objext \
23856 conftest
$ac_exeext conftest.
$ac_ext
23858 if test "x$wx_cv_std_libpath" != "x"; then
23864 if test "x$wx_cv_std_libpath" = "x"; then
23865 wx_cv_std_libpath
="lib"
23874 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23875 wx_cv_std_libpath
="lib/64"
23877 wx_cv_std_libpath
="lib"
23882 if test "$ac_cv_sizeof_void_p" = 8 -a \
23883 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23884 wx_cv_std_libpath
="lib64"
23886 wx_cv_std_libpath
="lib"
23891 wx_cv_std_libpath
="lib";
23895 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23896 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23898 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23900 if test "$build" != "$host" -a "$GCC" = yes; then
23901 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23902 cross_root
=`dirname $cross_root`
23903 cross_root
=`dirname $cross_root`
23905 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23906 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23907 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23909 if test -z "$PKG_CONFIG_PATH"; then
23910 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23911 export PKG_CONFIG_PATH
23914 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23917 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23919 if test -f "$ac_dir/X11/Intrinsic.h"; then
23920 ac_find_includes
=$ac_dir
23925 x_includes
=$ac_find_includes
23927 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23930 for ac_dir
in $SEARCH_LIB;
23932 for ac_extension
in a so sl dylib dll.a
; do
23933 if test -f "$ac_dir/libXt.$ac_extension"; then
23934 ac_find_libraries
=$ac_dir
23940 x_libraries
=$ac_find_libraries
23946 cat >confcache
<<\_ACEOF
23947 # This file is a shell script that caches the results of configure
23948 # tests run on this system so they can be shared between configure
23949 # scripts and configure runs, see configure's option --config-cache.
23950 # It is not useful on other systems. If it contains results you don't
23951 # want to keep, you may remove or edit it.
23953 # config.status only pays attention to the cache file if you give it
23954 # the --recheck option to rerun configure.
23956 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23957 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23958 # following values.
23962 # The following way of writing the cache mishandles newlines in values,
23963 # but we know of no workaround that is simple, portable, and efficient.
23964 # So, don't put newlines in cache variables' values.
23965 # Ultrix sh set writes to stderr and can't be redirected directly,
23966 # and sets the high bit in the cache file unless we assign to the vars.
23969 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23971 # `set' does not quote correctly, so add quotes (double-quote
23972 # substitution turns \\\\ into \\, and sed turns \\ into \).
23975 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23978 # `set' quotes correctly as required by POSIX, so do not add quotes.
23980 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23987 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23989 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23991 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23992 if test -w $cache_file; then
23993 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23994 cat confcache
>$cache_file
23996 echo "not updating unwritable cache $cache_file"
24001 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24002 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24003 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24004 if test "${wx_cv_lib_glibc21+set}" = set; then
24005 echo $ECHO_N "(cached) $ECHO_C" >&6
24008 cat >conftest.
$ac_ext <<_ACEOF
24011 cat confdefs.h
>>conftest.
$ac_ext
24012 cat >>conftest.
$ac_ext <<_ACEOF
24013 /* end confdefs.h. */
24014 #include <features.h>
24019 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24027 rm -f conftest.
$ac_objext
24028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24029 (eval $ac_compile) 2>conftest.er1
24031 grep -v '^ *+' conftest.er1
>conftest.err
24033 cat conftest.err
>&5
24034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24035 (exit $ac_status); } &&
24036 { ac_try
='test -z "$ac_cxx_werror_flag"
24037 || test ! -s conftest.err'
24038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24039 (eval $ac_try) 2>&5
24041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24042 (exit $ac_status); }; } &&
24043 { ac_try
='test -s conftest.$ac_objext'
24044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24045 (eval $ac_try) 2>&5
24047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048 (exit $ac_status); }; }; then
24050 wx_cv_lib_glibc21
=yes
24053 echo "$as_me: failed program was:" >&5
24054 sed 's/^/| /' conftest.
$ac_ext >&5
24057 wx_cv_lib_glibc21
=no
24061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24064 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24065 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24066 if test "$wx_cv_lib_glibc21" = "yes"; then
24067 cat >>confdefs.h
<<\_ACEOF
24068 #define wxHAVE_GLIBC2 1
24074 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24075 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24076 cat >>confdefs.h
<<\_ACEOF
24077 #define _GNU_SOURCE 1
24088 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24089 echo "$as_me:$LINENO: checking for $ac_func" >&5
24090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24091 if eval "test \"\${$as_ac_var+set}\" = set"; then
24092 echo $ECHO_N "(cached) $ECHO_C" >&6
24094 cat >conftest.
$ac_ext <<_ACEOF
24097 cat confdefs.h
>>conftest.
$ac_ext
24098 cat >>conftest.
$ac_ext <<_ACEOF
24099 /* end confdefs.h. */
24100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24102 #define $ac_func innocuous_$ac_func
24104 /* System header to define __stub macros and hopefully few prototypes,
24105 which can conflict with char $ac_func (); below.
24106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24107 <limits.h> exists even on freestanding compilers. */
24110 # include <limits.h>
24112 # include <assert.h>
24117 /* Override any gcc2 internal prototype to avoid an error. */
24122 /* We use char because int might match the return type of a gcc2
24123 builtin and then its argument prototype would still apply. */
24125 /* The GNU C library defines this for functions which it implements
24126 to always fail with ENOSYS. Some functions are actually named
24127 something starting with __ and the normal name is an alias. */
24128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24131 char (*f) () = $ac_func;
24140 return f != $ac_func;
24145 rm -f conftest.
$ac_objext conftest
$ac_exeext
24146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24147 (eval $ac_link) 2>conftest.er1
24149 grep -v '^ *+' conftest.er1
>conftest.err
24151 cat conftest.err
>&5
24152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153 (exit $ac_status); } &&
24154 { ac_try
='test -z "$ac_cxx_werror_flag"
24155 || test ! -s conftest.err'
24156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24157 (eval $ac_try) 2>&5
24159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160 (exit $ac_status); }; } &&
24161 { ac_try
='test -s conftest$ac_exeext'
24162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24163 (eval $ac_try) 2>&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); }; }; then
24167 eval "$as_ac_var=yes"
24169 echo "$as_me: failed program was:" >&5
24170 sed 's/^/| /' conftest.
$ac_ext >&5
24172 eval "$as_ac_var=no"
24174 rm -f conftest.err conftest.
$ac_objext \
24175 conftest
$ac_exeext conftest.
$ac_ext
24177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24179 if test `eval echo '${'$as_ac_var'}'` = yes; then
24180 cat >>confdefs.h
<<_ACEOF
24181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24188 for ac_func
in floor
24190 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24191 echo "$as_me:$LINENO: checking for $ac_func" >&5
24192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24193 if eval "test \"\${$as_ac_var+set}\" = set"; then
24194 echo $ECHO_N "(cached) $ECHO_C" >&6
24196 cat >conftest.
$ac_ext <<_ACEOF
24199 cat confdefs.h
>>conftest.
$ac_ext
24200 cat >>conftest.
$ac_ext <<_ACEOF
24201 /* end confdefs.h. */
24202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24204 #define $ac_func innocuous_$ac_func
24206 /* System header to define __stub macros and hopefully few prototypes,
24207 which can conflict with char $ac_func (); below.
24208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24209 <limits.h> exists even on freestanding compilers. */
24212 # include <limits.h>
24214 # include <assert.h>
24219 /* Override any gcc2 internal prototype to avoid an error. */
24224 /* We use char because int might match the return type of a gcc2
24225 builtin and then its argument prototype would still apply. */
24227 /* The GNU C library defines this for functions which it implements
24228 to always fail with ENOSYS. Some functions are actually named
24229 something starting with __ and the normal name is an alias. */
24230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24233 char (*f) () = $ac_func;
24242 return f != $ac_func;
24247 rm -f conftest.
$ac_objext conftest
$ac_exeext
24248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24249 (eval $ac_link) 2>conftest.er1
24251 grep -v '^ *+' conftest.er1
>conftest.err
24253 cat conftest.err
>&5
24254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24255 (exit $ac_status); } &&
24256 { ac_try
='test -z "$ac_cxx_werror_flag"
24257 || test ! -s conftest.err'
24258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24259 (eval $ac_try) 2>&5
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); }; } &&
24263 { ac_try
='test -s conftest$ac_exeext'
24264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24265 (eval $ac_try) 2>&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); }; }; then
24269 eval "$as_ac_var=yes"
24271 echo "$as_me: failed program was:" >&5
24272 sed 's/^/| /' conftest.
$ac_ext >&5
24274 eval "$as_ac_var=no"
24276 rm -f conftest.err conftest.
$ac_objext \
24277 conftest
$ac_exeext conftest.
$ac_ext
24279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24281 if test `eval echo '${'$as_ac_var'}'` = yes; then
24282 cat >>confdefs.h
<<_ACEOF
24283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24289 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24290 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24291 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24292 echo "$as_me:$LINENO: result: yes" >&5
24293 echo "${ECHO_T}yes" >&6
24295 echo "$as_me:$LINENO: result: no" >&5
24296 echo "${ECHO_T}no" >&6
24298 # use different functions to avoid configure caching
24304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24305 echo "$as_me:$LINENO: checking for $ac_func" >&5
24306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24307 if eval "test \"\${$as_ac_var+set}\" = set"; then
24308 echo $ECHO_N "(cached) $ECHO_C" >&6
24310 cat >conftest.
$ac_ext <<_ACEOF
24313 cat confdefs.h
>>conftest.
$ac_ext
24314 cat >>conftest.
$ac_ext <<_ACEOF
24315 /* end confdefs.h. */
24316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24318 #define $ac_func innocuous_$ac_func
24320 /* System header to define __stub macros and hopefully few prototypes,
24321 which can conflict with char $ac_func (); below.
24322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24323 <limits.h> exists even on freestanding compilers. */
24326 # include <limits.h>
24328 # include <assert.h>
24333 /* Override any gcc2 internal prototype to avoid an error. */
24338 /* We use char because int might match the return type of a gcc2
24339 builtin and then its argument prototype would still apply. */
24341 /* The GNU C library defines this for functions which it implements
24342 to always fail with ENOSYS. Some functions are actually named
24343 something starting with __ and the normal name is an alias. */
24344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24347 char (*f) () = $ac_func;
24356 return f != $ac_func;
24361 rm -f conftest.
$ac_objext conftest
$ac_exeext
24362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24363 (eval $ac_link) 2>conftest.er1
24365 grep -v '^ *+' conftest.er1
>conftest.err
24367 cat conftest.err
>&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); } &&
24370 { ac_try
='test -z "$ac_cxx_werror_flag"
24371 || test ! -s conftest.err'
24372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24373 (eval $ac_try) 2>&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); }; } &&
24377 { ac_try
='test -s conftest$ac_exeext'
24378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379 (eval $ac_try) 2>&5
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); }; }; then
24383 eval "$as_ac_var=yes"
24385 echo "$as_me: failed program was:" >&5
24386 sed 's/^/| /' conftest.
$ac_ext >&5
24388 eval "$as_ac_var=no"
24390 rm -f conftest.err conftest.
$ac_objext \
24391 conftest
$ac_exeext conftest.
$ac_ext
24393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24395 if test `eval echo '${'$as_ac_var'}'` = yes; then
24396 cat >>confdefs.h
<<_ACEOF
24397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24404 for ac_func
in ceil
24406 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24407 echo "$as_me:$LINENO: checking for $ac_func" >&5
24408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24409 if eval "test \"\${$as_ac_var+set}\" = set"; then
24410 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 cat >conftest.
$ac_ext <<_ACEOF
24415 cat confdefs.h
>>conftest.
$ac_ext
24416 cat >>conftest.
$ac_ext <<_ACEOF
24417 /* end confdefs.h. */
24418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24420 #define $ac_func innocuous_$ac_func
24422 /* System header to define __stub macros and hopefully few prototypes,
24423 which can conflict with char $ac_func (); below.
24424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24425 <limits.h> exists even on freestanding compilers. */
24428 # include <limits.h>
24430 # include <assert.h>
24435 /* Override any gcc2 internal prototype to avoid an error. */
24440 /* We use char because int might match the return type of a gcc2
24441 builtin and then its argument prototype would still apply. */
24443 /* The GNU C library defines this for functions which it implements
24444 to always fail with ENOSYS. Some functions are actually named
24445 something starting with __ and the normal name is an alias. */
24446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24449 char (*f) () = $ac_func;
24458 return f != $ac_func;
24463 rm -f conftest.
$ac_objext conftest
$ac_exeext
24464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24465 (eval $ac_link) 2>conftest.er1
24467 grep -v '^ *+' conftest.er1
>conftest.err
24469 cat conftest.err
>&5
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); } &&
24472 { ac_try
='test -z "$ac_cxx_werror_flag"
24473 || test ! -s conftest.err'
24474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24475 (eval $ac_try) 2>&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); }; } &&
24479 { ac_try
='test -s conftest$ac_exeext'
24480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24481 (eval $ac_try) 2>&5
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); }; }; then
24485 eval "$as_ac_var=yes"
24487 echo "$as_me: failed program was:" >&5
24488 sed 's/^/| /' conftest.
$ac_ext >&5
24490 eval "$as_ac_var=no"
24492 rm -f conftest.err conftest.
$ac_objext \
24493 conftest
$ac_exeext conftest.
$ac_ext
24495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24497 if test `eval echo '${'$as_ac_var'}'` = yes; then
24498 cat >>confdefs.h
<<_ACEOF
24499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24505 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24506 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24507 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24508 echo "$as_me:$LINENO: result: yes" >&5
24509 echo "${ECHO_T}yes" >&6
24511 echo "$as_me:$LINENO: result: no" >&5
24512 echo "${ECHO_T}no" >&6
24513 # not sure we should warn the user, crash, etc.
24519 if test "$wxUSE_REGEX" != "no"; then
24520 cat >>confdefs.h
<<\_ACEOF
24521 #define wxUSE_REGEX 1
24525 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24526 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24527 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24528 wxUSE_REGEX
=builtin
24531 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24532 if test "${ac_cv_header_regex_h+set}" = set; then
24533 echo "$as_me:$LINENO: checking for regex.h" >&5
24534 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24535 if test "${ac_cv_header_regex_h+set}" = set; then
24536 echo $ECHO_N "(cached) $ECHO_C" >&6
24538 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24539 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24541 # Is the header compilable?
24542 echo "$as_me:$LINENO: checking regex.h usability" >&5
24543 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24544 cat >conftest.
$ac_ext <<_ACEOF
24547 cat confdefs.h
>>conftest.
$ac_ext
24548 cat >>conftest.
$ac_ext <<_ACEOF
24549 /* end confdefs.h. */
24550 $ac_includes_default
24553 rm -f conftest.
$ac_objext
24554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24555 (eval $ac_compile) 2>conftest.er1
24557 grep -v '^ *+' conftest.er1
>conftest.err
24559 cat conftest.err
>&5
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); } &&
24562 { ac_try
='test -z "$ac_cxx_werror_flag"
24563 || test ! -s conftest.err'
24564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24565 (eval $ac_try) 2>&5
24567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24568 (exit $ac_status); }; } &&
24569 { ac_try
='test -s conftest.$ac_objext'
24570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24571 (eval $ac_try) 2>&5
24573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24574 (exit $ac_status); }; }; then
24575 ac_header_compiler
=yes
24577 echo "$as_me: failed program was:" >&5
24578 sed 's/^/| /' conftest.
$ac_ext >&5
24580 ac_header_compiler
=no
24582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24583 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24584 echo "${ECHO_T}$ac_header_compiler" >&6
24586 # Is the header present?
24587 echo "$as_me:$LINENO: checking regex.h presence" >&5
24588 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24589 cat >conftest.
$ac_ext <<_ACEOF
24592 cat confdefs.h
>>conftest.
$ac_ext
24593 cat >>conftest.
$ac_ext <<_ACEOF
24594 /* end confdefs.h. */
24597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24598 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24600 grep -v '^ *+' conftest.er1
>conftest.err
24602 cat conftest.err
>&5
24603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); } >/dev
/null
; then
24605 if test -s conftest.err
; then
24606 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24607 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24614 if test -z "$ac_cpp_err"; then
24615 ac_header_preproc
=yes
24617 echo "$as_me: failed program was:" >&5
24618 sed 's/^/| /' conftest.
$ac_ext >&5
24620 ac_header_preproc
=no
24622 rm -f conftest.err conftest.
$ac_ext
24623 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24624 echo "${ECHO_T}$ac_header_preproc" >&6
24626 # So? What about this header?
24627 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24629 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24630 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24631 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24632 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24633 ac_header_preproc
=yes
24636 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24637 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24638 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24639 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24640 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24641 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24642 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24643 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24644 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24645 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24646 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24647 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24650 ## ----------------------------------------- ##
24651 ## Report this to wx-dev@lists.wxwidgets.org ##
24652 ## ----------------------------------------- ##
24655 sed "s/^/$as_me: WARNING: /" >&2
24658 echo "$as_me:$LINENO: checking for regex.h" >&5
24659 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24660 if test "${ac_cv_header_regex_h+set}" = set; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24663 ac_cv_header_regex_h
=$ac_header_preproc
24665 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24666 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24669 if test $ac_cv_header_regex_h = yes; then
24672 for ac_func
in regcomp re_search
24674 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24675 echo "$as_me:$LINENO: checking for $ac_func" >&5
24676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24677 if eval "test \"\${$as_ac_var+set}\" = set"; then
24678 echo $ECHO_N "(cached) $ECHO_C" >&6
24680 cat >conftest.
$ac_ext <<_ACEOF
24683 cat confdefs.h
>>conftest.
$ac_ext
24684 cat >>conftest.
$ac_ext <<_ACEOF
24685 /* end confdefs.h. */
24686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24688 #define $ac_func innocuous_$ac_func
24690 /* System header to define __stub macros and hopefully few prototypes,
24691 which can conflict with char $ac_func (); below.
24692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24693 <limits.h> exists even on freestanding compilers. */
24696 # include <limits.h>
24698 # include <assert.h>
24703 /* Override any gcc2 internal prototype to avoid an error. */
24708 /* We use char because int might match the return type of a gcc2
24709 builtin and then its argument prototype would still apply. */
24711 /* The GNU C library defines this for functions which it implements
24712 to always fail with ENOSYS. Some functions are actually named
24713 something starting with __ and the normal name is an alias. */
24714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24717 char (*f) () = $ac_func;
24726 return f != $ac_func;
24731 rm -f conftest.
$ac_objext conftest
$ac_exeext
24732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24733 (eval $ac_link) 2>conftest.er1
24735 grep -v '^ *+' conftest.er1
>conftest.err
24737 cat conftest.err
>&5
24738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24739 (exit $ac_status); } &&
24740 { ac_try
='test -z "$ac_cxx_werror_flag"
24741 || test ! -s conftest.err'
24742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24743 (eval $ac_try) 2>&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); }; } &&
24747 { ac_try
='test -s conftest$ac_exeext'
24748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24749 (eval $ac_try) 2>&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); }; }; then
24753 eval "$as_ac_var=yes"
24755 echo "$as_me: failed program was:" >&5
24756 sed 's/^/| /' conftest.
$ac_ext >&5
24758 eval "$as_ac_var=no"
24760 rm -f conftest.err conftest.
$ac_objext \
24761 conftest
$ac_exeext conftest.
$ac_ext
24763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24765 if test `eval echo '${'$as_ac_var'}'` = yes; then
24766 cat >>confdefs.h
<<_ACEOF
24767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24777 if test "x$ac_cv_func_regcomp" != "xyes"; then
24778 if test "$wxUSE_REGEX" = "sys" ; then
24779 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24780 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24781 { (exit 1); exit 1; }; }
24783 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24784 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24785 wxUSE_REGEX
=builtin
24789 cat >>confdefs.h
<<\_ACEOF
24790 #define WX_NO_REGEX_ADVANCED 1
24799 if test "$wxUSE_ZLIB" != "no" ; then
24800 cat >>confdefs.h
<<\_ACEOF
24801 #define wxUSE_ZLIB 1
24805 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24806 if test "$USE_DARWIN" = 1; then
24807 system_zlib_h_ok
="yes"
24809 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24810 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24811 if test "${ac_cv_header_zlib_h+set}" = set; then
24812 echo $ECHO_N "(cached) $ECHO_C" >&6
24814 if test "$cross_compiling" = yes; then
24815 unset ac_cv_header_zlib_h
24818 cat >conftest.
$ac_ext <<_ACEOF
24821 cat confdefs.h
>>conftest.
$ac_ext
24822 cat >>conftest.
$ac_ext <<_ACEOF
24823 /* end confdefs.h. */
24830 FILE *f=fopen("conftestval", "w");
24833 ZLIB_VERSION[0] == '1' &&
24834 (ZLIB_VERSION[2] > '1' ||
24835 (ZLIB_VERSION[2] == '1' &&
24836 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24841 rm -f conftest
$ac_exeext
24842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24843 (eval $ac_link) 2>&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24848 (eval $ac_try) 2>&5
24850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 (exit $ac_status); }; }; then
24852 ac_cv_header_zlib_h
=`cat conftestval`
24854 echo "$as_me: program exited with status $ac_status" >&5
24855 echo "$as_me: failed program was:" >&5
24856 sed 's/^/| /' conftest.
$ac_ext >&5
24858 ( exit $ac_status )
24859 ac_cv_header_zlib_h
=no
24861 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24865 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24866 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24867 if test "${ac_cv_header_zlib_h+set}" = set; then
24868 echo "$as_me:$LINENO: checking for zlib.h" >&5
24869 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24870 if test "${ac_cv_header_zlib_h+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24873 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24874 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24876 # Is the header compilable?
24877 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24878 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24879 cat >conftest.
$ac_ext <<_ACEOF
24882 cat confdefs.h
>>conftest.
$ac_ext
24883 cat >>conftest.
$ac_ext <<_ACEOF
24884 /* end confdefs.h. */
24885 $ac_includes_default
24888 rm -f conftest.
$ac_objext
24889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24890 (eval $ac_compile) 2>conftest.er1
24892 grep -v '^ *+' conftest.er1
>conftest.err
24894 cat conftest.err
>&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); } &&
24897 { ac_try
='test -z "$ac_cxx_werror_flag"
24898 || test ! -s conftest.err'
24899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24900 (eval $ac_try) 2>&5
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); }; } &&
24904 { ac_try
='test -s conftest.$ac_objext'
24905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24906 (eval $ac_try) 2>&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); }; }; then
24910 ac_header_compiler
=yes
24912 echo "$as_me: failed program was:" >&5
24913 sed 's/^/| /' conftest.
$ac_ext >&5
24915 ac_header_compiler
=no
24917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24918 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24919 echo "${ECHO_T}$ac_header_compiler" >&6
24921 # Is the header present?
24922 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24923 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24924 cat >conftest.
$ac_ext <<_ACEOF
24927 cat confdefs.h
>>conftest.
$ac_ext
24928 cat >>conftest.
$ac_ext <<_ACEOF
24929 /* end confdefs.h. */
24932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24933 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24935 grep -v '^ *+' conftest.er1
>conftest.err
24937 cat conftest.err
>&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); } >/dev
/null
; then
24940 if test -s conftest.err
; then
24941 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24942 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24949 if test -z "$ac_cpp_err"; then
24950 ac_header_preproc
=yes
24952 echo "$as_me: failed program was:" >&5
24953 sed 's/^/| /' conftest.
$ac_ext >&5
24955 ac_header_preproc
=no
24957 rm -f conftest.err conftest.
$ac_ext
24958 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24959 echo "${ECHO_T}$ac_header_preproc" >&6
24961 # So? What about this header?
24962 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24964 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24965 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24966 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24967 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24968 ac_header_preproc
=yes
24971 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24972 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24973 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24974 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24975 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24976 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24977 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24978 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24979 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24980 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24981 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24982 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24985 ## ----------------------------------------- ##
24986 ## Report this to wx-dev@lists.wxwidgets.org ##
24987 ## ----------------------------------------- ##
24990 sed "s/^/$as_me: WARNING: /" >&2
24993 echo "$as_me:$LINENO: checking for zlib.h" >&5
24994 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24995 if test "${ac_cv_header_zlib_h+set}" = set; then
24996 echo $ECHO_N "(cached) $ECHO_C" >&6
24998 ac_cv_header_zlib_h
=$ac_header_preproc
25000 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25001 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25007 system_zlib_h_ok
=$ac_cv_header_zlib_h
25010 if test "$system_zlib_h_ok" = "yes"; then
25011 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25012 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25013 if test "${ac_cv_lib_z_deflate+set}" = set; then
25014 echo $ECHO_N "(cached) $ECHO_C" >&6
25016 ac_check_lib_save_LIBS
=$LIBS
25018 cat >conftest.
$ac_ext <<_ACEOF
25021 cat confdefs.h
>>conftest.
$ac_ext
25022 cat >>conftest.
$ac_ext <<_ACEOF
25023 /* end confdefs.h. */
25025 /* Override any gcc2 internal prototype to avoid an error. */
25029 /* We use char because int might match the return type of a gcc2
25030 builtin and then its argument prototype would still apply. */
25040 rm -f conftest.
$ac_objext conftest
$ac_exeext
25041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25042 (eval $ac_link) 2>conftest.er1
25044 grep -v '^ *+' conftest.er1
>conftest.err
25046 cat conftest.err
>&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); } &&
25049 { ac_try
='test -z "$ac_cxx_werror_flag"
25050 || test ! -s conftest.err'
25051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25052 (eval $ac_try) 2>&5
25054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); }; } &&
25056 { ac_try
='test -s conftest$ac_exeext'
25057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25058 (eval $ac_try) 2>&5
25060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25061 (exit $ac_status); }; }; then
25062 ac_cv_lib_z_deflate
=yes
25064 echo "$as_me: failed program was:" >&5
25065 sed 's/^/| /' conftest.
$ac_ext >&5
25067 ac_cv_lib_z_deflate
=no
25069 rm -f conftest.err conftest.
$ac_objext \
25070 conftest
$ac_exeext conftest.
$ac_ext
25071 LIBS
=$ac_check_lib_save_LIBS
25073 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25074 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25075 if test $ac_cv_lib_z_deflate = yes; then
25081 if test "x$ZLIB_LINK" = "x" ; then
25082 if test "$wxUSE_ZLIB" = "sys" ; then
25083 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25084 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25085 { (exit 1); exit 1; }; }
25087 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25088 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25099 if test "$wxUSE_LIBPNG" != "no" ; then
25100 cat >>confdefs.h
<<\_ACEOF
25101 #define wxUSE_LIBPNG 1
25105 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25106 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25107 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25111 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25112 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25113 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25114 wxUSE_LIBPNG
=builtin
25117 if test "$wxUSE_MGL" != 1 ; then
25118 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25119 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25120 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25121 if test "${ac_cv_header_png_h+set}" = set; then
25122 echo $ECHO_N "(cached) $ECHO_C" >&6
25124 if test "$cross_compiling" = yes; then
25125 unset ac_cv_header_png_h
25128 cat >conftest.
$ac_ext <<_ACEOF
25131 cat confdefs.h
>>conftest.
$ac_ext
25132 cat >>conftest.
$ac_ext <<_ACEOF
25133 /* end confdefs.h. */
25140 FILE *f=fopen("conftestval", "w");
25143 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25148 rm -f conftest
$ac_exeext
25149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25150 (eval $ac_link) 2>&5
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25155 (eval $ac_try) 2>&5
25157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158 (exit $ac_status); }; }; then
25159 ac_cv_header_png_h
=`cat conftestval`
25161 echo "$as_me: program exited with status $ac_status" >&5
25162 echo "$as_me: failed program was:" >&5
25163 sed 's/^/| /' conftest.
$ac_ext >&5
25165 ( exit $ac_status )
25166 ac_cv_header_png_h
=no
25168 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25172 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25173 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25174 if test "${ac_cv_header_png_h+set}" = set; then
25175 echo "$as_me:$LINENO: checking for png.h" >&5
25176 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25177 if test "${ac_cv_header_png_h+set}" = set; then
25178 echo $ECHO_N "(cached) $ECHO_C" >&6
25180 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25181 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25183 # Is the header compilable?
25184 echo "$as_me:$LINENO: checking png.h usability" >&5
25185 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25186 cat >conftest.
$ac_ext <<_ACEOF
25189 cat confdefs.h
>>conftest.
$ac_ext
25190 cat >>conftest.
$ac_ext <<_ACEOF
25191 /* end confdefs.h. */
25192 $ac_includes_default
25195 rm -f conftest.
$ac_objext
25196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25197 (eval $ac_compile) 2>conftest.er1
25199 grep -v '^ *+' conftest.er1
>conftest.err
25201 cat conftest.err
>&5
25202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203 (exit $ac_status); } &&
25204 { ac_try
='test -z "$ac_cxx_werror_flag"
25205 || test ! -s conftest.err'
25206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25207 (eval $ac_try) 2>&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); }; } &&
25211 { ac_try
='test -s conftest.$ac_objext'
25212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25213 (eval $ac_try) 2>&5
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); }; }; then
25217 ac_header_compiler
=yes
25219 echo "$as_me: failed program was:" >&5
25220 sed 's/^/| /' conftest.
$ac_ext >&5
25222 ac_header_compiler
=no
25224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25226 echo "${ECHO_T}$ac_header_compiler" >&6
25228 # Is the header present?
25229 echo "$as_me:$LINENO: checking png.h presence" >&5
25230 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25231 cat >conftest.
$ac_ext <<_ACEOF
25234 cat confdefs.h
>>conftest.
$ac_ext
25235 cat >>conftest.
$ac_ext <<_ACEOF
25236 /* end confdefs.h. */
25239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25240 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25242 grep -v '^ *+' conftest.er1
>conftest.err
25244 cat conftest.err
>&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); } >/dev
/null
; then
25247 if test -s conftest.err
; then
25248 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25249 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25256 if test -z "$ac_cpp_err"; then
25257 ac_header_preproc
=yes
25259 echo "$as_me: failed program was:" >&5
25260 sed 's/^/| /' conftest.
$ac_ext >&5
25262 ac_header_preproc
=no
25264 rm -f conftest.err conftest.
$ac_ext
25265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25266 echo "${ECHO_T}$ac_header_preproc" >&6
25268 # So? What about this header?
25269 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25271 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25272 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25273 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25274 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25275 ac_header_preproc
=yes
25278 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25279 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25280 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25281 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25282 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25283 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25284 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25285 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25286 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25287 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25288 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25289 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25292 ## ----------------------------------------- ##
25293 ## Report this to wx-dev@lists.wxwidgets.org ##
25294 ## ----------------------------------------- ##
25297 sed "s/^/$as_me: WARNING: /" >&2
25300 echo "$as_me:$LINENO: checking for png.h" >&5
25301 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25302 if test "${ac_cv_header_png_h+set}" = set; then
25303 echo $ECHO_N "(cached) $ECHO_C" >&6
25305 ac_cv_header_png_h
=$ac_header_preproc
25307 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25308 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25314 if test "$ac_cv_header_png_h" = "yes"; then
25315 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25316 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25317 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25318 echo $ECHO_N "(cached) $ECHO_C" >&6
25320 ac_check_lib_save_LIBS
=$LIBS
25321 LIBS
="-lpng -lz -lm $LIBS"
25322 cat >conftest.
$ac_ext <<_ACEOF
25325 cat confdefs.h
>>conftest.
$ac_ext
25326 cat >>conftest.
$ac_ext <<_ACEOF
25327 /* end confdefs.h. */
25329 /* Override any gcc2 internal prototype to avoid an error. */
25333 /* We use char because int might match the return type of a gcc2
25334 builtin and then its argument prototype would still apply. */
25335 char png_check_sig ();
25344 rm -f conftest.
$ac_objext conftest
$ac_exeext
25345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25346 (eval $ac_link) 2>conftest.er1
25348 grep -v '^ *+' conftest.er1
>conftest.err
25350 cat conftest.err
>&5
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); } &&
25353 { ac_try
='test -z "$ac_cxx_werror_flag"
25354 || test ! -s conftest.err'
25355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25356 (eval $ac_try) 2>&5
25358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25359 (exit $ac_status); }; } &&
25360 { ac_try
='test -s conftest$ac_exeext'
25361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25362 (eval $ac_try) 2>&5
25364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365 (exit $ac_status); }; }; then
25366 ac_cv_lib_png_png_check_sig
=yes
25368 echo "$as_me: failed program was:" >&5
25369 sed 's/^/| /' conftest.
$ac_ext >&5
25371 ac_cv_lib_png_png_check_sig
=no
25373 rm -f conftest.err conftest.
$ac_objext \
25374 conftest
$ac_exeext conftest.
$ac_ext
25375 LIBS
=$ac_check_lib_save_LIBS
25377 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25378 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25379 if test $ac_cv_lib_png_png_check_sig = yes; then
25380 PNG_LINK
=" -lpng -lz"
25385 if test "x$PNG_LINK" = "x" ; then
25386 if test "$wxUSE_LIBPNG" = "sys" ; then
25387 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25388 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25389 { (exit 1); exit 1; }; }
25391 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25392 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25393 wxUSE_LIBPNG
=builtin
25401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25406 if test "$wxUSE_LIBJPEG" != "no" ; then
25407 cat >>confdefs.h
<<\_ACEOF
25408 #define wxUSE_LIBJPEG 1
25412 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25413 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25414 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25418 if test "$wxUSE_MGL" != 1 ; then
25419 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25420 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25421 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25422 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25423 echo $ECHO_N "(cached) $ECHO_C" >&6
25425 cat >conftest.
$ac_ext <<_ACEOF
25428 cat confdefs.h
>>conftest.
$ac_ext
25429 cat >>conftest.
$ac_ext <<_ACEOF
25430 /* end confdefs.h. */
25432 #undef HAVE_STDLIB_H
25434 #include <jpeglib.h>
25445 rm -f conftest.
$ac_objext
25446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25447 (eval $ac_compile) 2>conftest.er1
25449 grep -v '^ *+' conftest.er1
>conftest.err
25451 cat conftest.err
>&5
25452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25453 (exit $ac_status); } &&
25454 { ac_try
='test -z "$ac_cxx_werror_flag"
25455 || test ! -s conftest.err'
25456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25457 (eval $ac_try) 2>&5
25459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25460 (exit $ac_status); }; } &&
25461 { ac_try
='test -s conftest.$ac_objext'
25462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25463 (eval $ac_try) 2>&5
25465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25466 (exit $ac_status); }; }; then
25467 ac_cv_header_jpeglib_h
=yes
25469 echo "$as_me: failed program was:" >&5
25470 sed 's/^/| /' conftest.
$ac_ext >&5
25472 ac_cv_header_jpeglib_h
=no
25475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25479 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25480 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25482 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25483 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25484 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25485 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25486 echo $ECHO_N "(cached) $ECHO_C" >&6
25488 ac_check_lib_save_LIBS
=$LIBS
25489 LIBS
="-ljpeg $LIBS"
25490 cat >conftest.
$ac_ext <<_ACEOF
25493 cat confdefs.h
>>conftest.
$ac_ext
25494 cat >>conftest.
$ac_ext <<_ACEOF
25495 /* end confdefs.h. */
25497 /* Override any gcc2 internal prototype to avoid an error. */
25501 /* We use char because int might match the return type of a gcc2
25502 builtin and then its argument prototype would still apply. */
25503 char jpeg_read_header ();
25507 jpeg_read_header ();
25512 rm -f conftest.
$ac_objext conftest
$ac_exeext
25513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25514 (eval $ac_link) 2>conftest.er1
25516 grep -v '^ *+' conftest.er1
>conftest.err
25518 cat conftest.err
>&5
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); } &&
25521 { ac_try
='test -z "$ac_cxx_werror_flag"
25522 || test ! -s conftest.err'
25523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524 (eval $ac_try) 2>&5
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); }; } &&
25528 { ac_try
='test -s conftest$ac_exeext'
25529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25530 (eval $ac_try) 2>&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); }; }; then
25534 ac_cv_lib_jpeg_jpeg_read_header
=yes
25536 echo "$as_me: failed program was:" >&5
25537 sed 's/^/| /' conftest.
$ac_ext >&5
25539 ac_cv_lib_jpeg_jpeg_read_header
=no
25541 rm -f conftest.err conftest.
$ac_objext \
25542 conftest
$ac_exeext conftest.
$ac_ext
25543 LIBS
=$ac_check_lib_save_LIBS
25545 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25546 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25547 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25548 JPEG_LINK
=" -ljpeg"
25553 if test "x$JPEG_LINK" = "x" ; then
25554 if test "$wxUSE_LIBJPEG" = "sys" ; then
25555 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25556 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25557 { (exit 1); exit 1; }; }
25559 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25560 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25561 wxUSE_LIBJPEG
=builtin
25572 TIFF_PREREQ_LINKS
=-lm
25573 if test "$wxUSE_LIBTIFF" != "no" ; then
25574 cat >>confdefs.h
<<\_ACEOF
25575 #define wxUSE_LIBTIFF 1
25579 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25580 if test "$wxUSE_LIBJPEG" = "sys"; then
25581 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25583 if test "$wxUSE_ZLIB" = "sys"; then
25584 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25586 if test "${ac_cv_header_tiffio_h+set}" = set; then
25587 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25588 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25589 if test "${ac_cv_header_tiffio_h+set}" = set; then
25590 echo $ECHO_N "(cached) $ECHO_C" >&6
25592 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25593 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25595 # Is the header compilable?
25596 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25597 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25598 cat >conftest.
$ac_ext <<_ACEOF
25601 cat confdefs.h
>>conftest.
$ac_ext
25602 cat >>conftest.
$ac_ext <<_ACEOF
25603 /* end confdefs.h. */
25604 $ac_includes_default
25605 #include <tiffio.h>
25607 rm -f conftest.
$ac_objext
25608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25609 (eval $ac_compile) 2>conftest.er1
25611 grep -v '^ *+' conftest.er1
>conftest.err
25613 cat conftest.err
>&5
25614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25615 (exit $ac_status); } &&
25616 { ac_try
='test -z "$ac_cxx_werror_flag"
25617 || test ! -s conftest.err'
25618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25619 (eval $ac_try) 2>&5
25621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25622 (exit $ac_status); }; } &&
25623 { ac_try
='test -s conftest.$ac_objext'
25624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25625 (eval $ac_try) 2>&5
25627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25628 (exit $ac_status); }; }; then
25629 ac_header_compiler
=yes
25631 echo "$as_me: failed program was:" >&5
25632 sed 's/^/| /' conftest.
$ac_ext >&5
25634 ac_header_compiler
=no
25636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25638 echo "${ECHO_T}$ac_header_compiler" >&6
25640 # Is the header present?
25641 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25642 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25643 cat >conftest.
$ac_ext <<_ACEOF
25646 cat confdefs.h
>>conftest.
$ac_ext
25647 cat >>conftest.
$ac_ext <<_ACEOF
25648 /* end confdefs.h. */
25649 #include <tiffio.h>
25651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25652 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25654 grep -v '^ *+' conftest.er1
>conftest.err
25656 cat conftest.err
>&5
25657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25658 (exit $ac_status); } >/dev
/null
; then
25659 if test -s conftest.err
; then
25660 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25661 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25668 if test -z "$ac_cpp_err"; then
25669 ac_header_preproc
=yes
25671 echo "$as_me: failed program was:" >&5
25672 sed 's/^/| /' conftest.
$ac_ext >&5
25674 ac_header_preproc
=no
25676 rm -f conftest.err conftest.
$ac_ext
25677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25678 echo "${ECHO_T}$ac_header_preproc" >&6
25680 # So? What about this header?
25681 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25683 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25684 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25685 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25686 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25687 ac_header_preproc
=yes
25690 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25691 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25692 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25693 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25694 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25695 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25696 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25697 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25698 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25699 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25700 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25701 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25704 ## ----------------------------------------- ##
25705 ## Report this to wx-dev@lists.wxwidgets.org ##
25706 ## ----------------------------------------- ##
25709 sed "s/^/$as_me: WARNING: /" >&2
25712 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25713 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25714 if test "${ac_cv_header_tiffio_h+set}" = set; then
25715 echo $ECHO_N "(cached) $ECHO_C" >&6
25717 ac_cv_header_tiffio_h
=$ac_header_preproc
25719 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25720 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25723 if test $ac_cv_header_tiffio_h = yes; then
25725 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25726 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25727 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25728 echo $ECHO_N "(cached) $ECHO_C" >&6
25730 ac_check_lib_save_LIBS
=$LIBS
25731 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25732 cat >conftest.
$ac_ext <<_ACEOF
25735 cat confdefs.h
>>conftest.
$ac_ext
25736 cat >>conftest.
$ac_ext <<_ACEOF
25737 /* end confdefs.h. */
25739 /* Override any gcc2 internal prototype to avoid an error. */
25743 /* We use char because int might match the return type of a gcc2
25744 builtin and then its argument prototype would still apply. */
25754 rm -f conftest.
$ac_objext conftest
$ac_exeext
25755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25756 (eval $ac_link) 2>conftest.er1
25758 grep -v '^ *+' conftest.er1
>conftest.err
25760 cat conftest.err
>&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); } &&
25763 { ac_try
='test -z "$ac_cxx_werror_flag"
25764 || test ! -s conftest.err'
25765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25766 (eval $ac_try) 2>&5
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); }; } &&
25770 { ac_try
='test -s conftest$ac_exeext'
25771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25772 (eval $ac_try) 2>&5
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); }; }; then
25776 ac_cv_lib_tiff_TIFFError
=yes
25778 echo "$as_me: failed program was:" >&5
25779 sed 's/^/| /' conftest.
$ac_ext >&5
25781 ac_cv_lib_tiff_TIFFError
=no
25783 rm -f conftest.err conftest.
$ac_objext \
25784 conftest
$ac_exeext conftest.
$ac_ext
25785 LIBS
=$ac_check_lib_save_LIBS
25787 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25788 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25789 if test $ac_cv_lib_tiff_TIFFError = yes; then
25790 TIFF_LINK
=" -ltiff"
25799 if test "x$TIFF_LINK" = "x" ; then
25800 if test "$wxUSE_LIBTIFF" = "sys" ; then
25801 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25802 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25803 { (exit 1); exit 1; }; }
25805 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25806 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25807 wxUSE_LIBTIFF
=builtin
25816 if test "$wxUSE_WCHAR_T" != "yes"; then
25817 if test "$wxUSE_EXPAT" != "no"; then
25818 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25819 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25822 if test "$wxUSE_XML" != "no"; then
25823 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25824 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25829 if test "$wxUSE_EXPAT" != "no"; then
25831 cat >>confdefs.h
<<\_ACEOF
25832 #define wxUSE_EXPAT 1
25835 cat >>confdefs.h
<<\_ACEOF
25836 #define wxUSE_XML 1
25840 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25841 if test "${ac_cv_header_expat_h+set}" = set; then
25842 echo "$as_me:$LINENO: checking for expat.h" >&5
25843 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25844 if test "${ac_cv_header_expat_h+set}" = set; then
25845 echo $ECHO_N "(cached) $ECHO_C" >&6
25847 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25848 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25850 # Is the header compilable?
25851 echo "$as_me:$LINENO: checking expat.h usability" >&5
25852 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25853 cat >conftest.
$ac_ext <<_ACEOF
25856 cat confdefs.h
>>conftest.
$ac_ext
25857 cat >>conftest.
$ac_ext <<_ACEOF
25858 /* end confdefs.h. */
25859 $ac_includes_default
25862 rm -f conftest.
$ac_objext
25863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25864 (eval $ac_compile) 2>conftest.er1
25866 grep -v '^ *+' conftest.er1
>conftest.err
25868 cat conftest.err
>&5
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); } &&
25871 { ac_try
='test -z "$ac_cxx_werror_flag"
25872 || test ! -s conftest.err'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; } &&
25878 { ac_try
='test -s conftest.$ac_objext'
25879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25880 (eval $ac_try) 2>&5
25882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25883 (exit $ac_status); }; }; then
25884 ac_header_compiler
=yes
25886 echo "$as_me: failed program was:" >&5
25887 sed 's/^/| /' conftest.
$ac_ext >&5
25889 ac_header_compiler
=no
25891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25893 echo "${ECHO_T}$ac_header_compiler" >&6
25895 # Is the header present?
25896 echo "$as_me:$LINENO: checking expat.h presence" >&5
25897 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25898 cat >conftest.
$ac_ext <<_ACEOF
25901 cat confdefs.h
>>conftest.
$ac_ext
25902 cat >>conftest.
$ac_ext <<_ACEOF
25903 /* end confdefs.h. */
25906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25907 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25909 grep -v '^ *+' conftest.er1
>conftest.err
25911 cat conftest.err
>&5
25912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25913 (exit $ac_status); } >/dev
/null
; then
25914 if test -s conftest.err
; then
25915 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25916 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25923 if test -z "$ac_cpp_err"; then
25924 ac_header_preproc
=yes
25926 echo "$as_me: failed program was:" >&5
25927 sed 's/^/| /' conftest.
$ac_ext >&5
25929 ac_header_preproc
=no
25931 rm -f conftest.err conftest.
$ac_ext
25932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25933 echo "${ECHO_T}$ac_header_preproc" >&6
25935 # So? What about this header?
25936 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25938 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25939 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25940 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25941 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25942 ac_header_preproc
=yes
25945 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25946 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25947 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25948 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25949 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25950 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25951 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25952 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25953 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25954 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25955 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25956 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25959 ## ----------------------------------------- ##
25960 ## Report this to wx-dev@lists.wxwidgets.org ##
25961 ## ----------------------------------------- ##
25964 sed "s/^/$as_me: WARNING: /" >&2
25967 echo "$as_me:$LINENO: checking for expat.h" >&5
25968 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25969 if test "${ac_cv_header_expat_h+set}" = set; then
25970 echo $ECHO_N "(cached) $ECHO_C" >&6
25972 ac_cv_header_expat_h
=$ac_header_preproc
25974 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25975 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25978 if test $ac_cv_header_expat_h = yes; then
25983 if test "x$found_expat_h" = "x1"; then
25984 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25985 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25986 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25987 echo $ECHO_N "(cached) $ECHO_C" >&6
25990 cat >conftest.
$ac_ext <<_ACEOF
25993 cat confdefs.h
>>conftest.
$ac_ext
25994 cat >>conftest.
$ac_ext <<_ACEOF
25995 /* end confdefs.h. */
26005 rm -f conftest.
$ac_objext
26006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26007 (eval $ac_compile) 2>conftest.er1
26009 grep -v '^ *+' conftest.er1
>conftest.err
26011 cat conftest.err
>&5
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); } &&
26014 { ac_try
='test -z "$ac_cxx_werror_flag"
26015 || test ! -s conftest.err'
26016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26017 (eval $ac_try) 2>&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); }; } &&
26021 { ac_try
='test -s conftest.$ac_objext'
26022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26023 (eval $ac_try) 2>&5
26025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026 (exit $ac_status); }; }; then
26027 wx_cv_expat_is_not_broken
=yes
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.
$ac_ext >&5
26032 wx_cv_expat_is_not_broken
=no
26035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26039 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26040 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26041 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26042 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26043 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26044 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26047 ac_check_lib_save_LIBS
=$LIBS
26048 LIBS
="-lexpat $LIBS"
26049 cat >conftest.
$ac_ext <<_ACEOF
26052 cat confdefs.h
>>conftest.
$ac_ext
26053 cat >>conftest.
$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26056 /* Override any gcc2 internal prototype to avoid an error. */
26060 /* We use char because int might match the return type of a gcc2
26061 builtin and then its argument prototype would still apply. */
26062 char XML_ParserCreate ();
26066 XML_ParserCreate ();
26071 rm -f conftest.
$ac_objext conftest
$ac_exeext
26072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26073 (eval $ac_link) 2>conftest.er1
26075 grep -v '^ *+' conftest.er1
>conftest.err
26077 cat conftest.err
>&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } &&
26080 { ac_try
='test -z "$ac_cxx_werror_flag"
26081 || test ! -s conftest.err'
26082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26083 (eval $ac_try) 2>&5
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); }; } &&
26087 { ac_try
='test -s conftest$ac_exeext'
26088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26089 (eval $ac_try) 2>&5
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); }; }; then
26093 ac_cv_lib_expat_XML_ParserCreate
=yes
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.
$ac_ext >&5
26098 ac_cv_lib_expat_XML_ParserCreate
=no
26100 rm -f conftest.err conftest.
$ac_objext \
26101 conftest
$ac_exeext conftest.
$ac_ext
26102 LIBS
=$ac_check_lib_save_LIBS
26104 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26105 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26106 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26107 EXPAT_LINK
=" -lexpat"
26112 if test "x$EXPAT_LINK" = "x" ; then
26113 if test "$wxUSE_EXPAT" = "sys" ; then
26114 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26115 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26116 { (exit 1); exit 1; }; }
26118 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26119 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26120 wxUSE_EXPAT
=builtin
26126 if test "$wxUSE_EXPAT" = "builtin" ; then
26129 subdirs
="$subdirs src/expat"
26136 if test "$wxUSE_LIBMSPACK" != "no"; then
26137 if test "${ac_cv_header_mspack_h+set}" = set; then
26138 echo "$as_me:$LINENO: checking for mspack.h" >&5
26139 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26140 if test "${ac_cv_header_mspack_h+set}" = set; then
26141 echo $ECHO_N "(cached) $ECHO_C" >&6
26143 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26144 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26146 # Is the header compilable?
26147 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26148 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26149 cat >conftest.
$ac_ext <<_ACEOF
26152 cat confdefs.h
>>conftest.
$ac_ext
26153 cat >>conftest.
$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26155 $ac_includes_default
26156 #include <mspack.h>
26158 rm -f conftest.
$ac_objext
26159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26160 (eval $ac_compile) 2>conftest.er1
26162 grep -v '^ *+' conftest.er1
>conftest.err
26164 cat conftest.err
>&5
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); } &&
26167 { ac_try
='test -z "$ac_cxx_werror_flag"
26168 || test ! -s conftest.err'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; } &&
26174 { ac_try
='test -s conftest.$ac_objext'
26175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26176 (eval $ac_try) 2>&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); }; }; then
26180 ac_header_compiler
=yes
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.
$ac_ext >&5
26185 ac_header_compiler
=no
26187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26189 echo "${ECHO_T}$ac_header_compiler" >&6
26191 # Is the header present?
26192 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26193 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26194 cat >conftest.
$ac_ext <<_ACEOF
26197 cat confdefs.h
>>conftest.
$ac_ext
26198 cat >>conftest.
$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26200 #include <mspack.h>
26202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26203 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26205 grep -v '^ *+' conftest.er1
>conftest.err
26207 cat conftest.err
>&5
26208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26209 (exit $ac_status); } >/dev
/null
; then
26210 if test -s conftest.err
; then
26211 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26212 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26219 if test -z "$ac_cpp_err"; then
26220 ac_header_preproc
=yes
26222 echo "$as_me: failed program was:" >&5
26223 sed 's/^/| /' conftest.
$ac_ext >&5
26225 ac_header_preproc
=no
26227 rm -f conftest.err conftest.
$ac_ext
26228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26229 echo "${ECHO_T}$ac_header_preproc" >&6
26231 # So? What about this header?
26232 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26234 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26235 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26236 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26237 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26238 ac_header_preproc
=yes
26241 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26242 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26243 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26244 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26245 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26246 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26247 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26248 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26249 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26250 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26251 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26252 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26255 ## ----------------------------------------- ##
26256 ## Report this to wx-dev@lists.wxwidgets.org ##
26257 ## ----------------------------------------- ##
26260 sed "s/^/$as_me: WARNING: /" >&2
26263 echo "$as_me:$LINENO: checking for mspack.h" >&5
26264 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26265 if test "${ac_cv_header_mspack_h+set}" = set; then
26266 echo $ECHO_N "(cached) $ECHO_C" >&6
26268 ac_cv_header_mspack_h
=$ac_header_preproc
26270 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26271 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26274 if test $ac_cv_header_mspack_h = yes; then
26279 if test "x$found_mspack_h" = "x1"; then
26280 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26281 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26282 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26283 echo $ECHO_N "(cached) $ECHO_C" >&6
26285 ac_check_lib_save_LIBS
=$LIBS
26286 LIBS
="-lmspack $LIBS"
26287 cat >conftest.
$ac_ext <<_ACEOF
26290 cat confdefs.h
>>conftest.
$ac_ext
26291 cat >>conftest.
$ac_ext <<_ACEOF
26292 /* end confdefs.h. */
26294 /* Override any gcc2 internal prototype to avoid an error. */
26298 /* We use char because int might match the return type of a gcc2
26299 builtin and then its argument prototype would still apply. */
26300 char mspack_create_chm_decompressor ();
26304 mspack_create_chm_decompressor ();
26309 rm -f conftest.
$ac_objext conftest
$ac_exeext
26310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26311 (eval $ac_link) 2>conftest.er1
26313 grep -v '^ *+' conftest.er1
>conftest.err
26315 cat conftest.err
>&5
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); } &&
26318 { ac_try
='test -z "$ac_cxx_werror_flag"
26319 || test ! -s conftest.err'
26320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321 (eval $ac_try) 2>&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); }; } &&
26325 { ac_try
='test -s conftest$ac_exeext'
26326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26327 (eval $ac_try) 2>&5
26329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26330 (exit $ac_status); }; }; then
26331 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26333 echo "$as_me: failed program was:" >&5
26334 sed 's/^/| /' conftest.
$ac_ext >&5
26336 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26338 rm -f conftest.err conftest.
$ac_objext \
26339 conftest
$ac_exeext conftest.
$ac_ext
26340 LIBS
=$ac_check_lib_save_LIBS
26342 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26343 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26344 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26345 MSPACK_LINK
=" -lmspack"
26349 if test "x$MSPACK_LINK" = "x" ; then
26354 if test "$wxUSE_LIBMSPACK" != "no"; then
26355 cat >>confdefs.h
<<\_ACEOF
26356 #define wxUSE_LIBMSPACK 1
26370 if test "$USE_WIN32" = 1 ; then
26372 for ac_header
in w32api.h
26374 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26376 echo "$as_me:$LINENO: checking for $ac_header" >&5
26377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26379 echo $ECHO_N "(cached) $ECHO_C" >&6
26381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26384 # Is the header compilable?
26385 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26386 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26387 cat >conftest.
$ac_ext <<_ACEOF
26390 cat confdefs.h
>>conftest.
$ac_ext
26391 cat >>conftest.
$ac_ext <<_ACEOF
26392 /* end confdefs.h. */
26393 $ac_includes_default
26394 #include <$ac_header>
26396 rm -f conftest.
$ac_objext
26397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26398 (eval $ac_compile) 2>conftest.er1
26400 grep -v '^ *+' conftest.er1
>conftest.err
26402 cat conftest.err
>&5
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); } &&
26405 { ac_try
='test -z "$ac_cxx_werror_flag"
26406 || test ! -s conftest.err'
26407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26408 (eval $ac_try) 2>&5
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); }; } &&
26412 { ac_try
='test -s conftest.$ac_objext'
26413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26414 (eval $ac_try) 2>&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); }; }; then
26418 ac_header_compiler
=yes
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.
$ac_ext >&5
26423 ac_header_compiler
=no
26425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26426 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26427 echo "${ECHO_T}$ac_header_compiler" >&6
26429 # Is the header present?
26430 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26431 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26432 cat >conftest.
$ac_ext <<_ACEOF
26435 cat confdefs.h
>>conftest.
$ac_ext
26436 cat >>conftest.
$ac_ext <<_ACEOF
26437 /* end confdefs.h. */
26438 #include <$ac_header>
26440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26441 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26443 grep -v '^ *+' conftest.er1
>conftest.err
26445 cat conftest.err
>&5
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); } >/dev
/null
; then
26448 if test -s conftest.err
; then
26449 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26450 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26457 if test -z "$ac_cpp_err"; then
26458 ac_header_preproc
=yes
26460 echo "$as_me: failed program was:" >&5
26461 sed 's/^/| /' conftest.
$ac_ext >&5
26463 ac_header_preproc
=no
26465 rm -f conftest.err conftest.
$ac_ext
26466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26467 echo "${ECHO_T}$ac_header_preproc" >&6
26469 # So? What about this header?
26470 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26472 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26473 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26475 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26476 ac_header_preproc
=yes
26479 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26480 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26481 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26482 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26483 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26484 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26485 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26486 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26489 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26490 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26493 ## ----------------------------------------- ##
26494 ## Report this to wx-dev@lists.wxwidgets.org ##
26495 ## ----------------------------------------- ##
26498 sed "s/^/$as_me: WARNING: /" >&2
26501 echo "$as_me:$LINENO: checking for $ac_header" >&5
26502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26504 echo $ECHO_N "(cached) $ECHO_C" >&6
26506 eval "$as_ac_Header=\$ac_header_preproc"
26508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26513 cat >>confdefs.h
<<_ACEOF
26514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26521 if test "${ac_cv_header_windows_h+set}" = set; then
26522 echo "$as_me:$LINENO: checking for windows.h" >&5
26523 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26524 if test "${ac_cv_header_windows_h+set}" = set; then
26525 echo $ECHO_N "(cached) $ECHO_C" >&6
26527 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26528 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26530 # Is the header compilable?
26531 echo "$as_me:$LINENO: checking windows.h usability" >&5
26532 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26533 cat >conftest.
$ac_ext <<_ACEOF
26536 cat confdefs.h
>>conftest.
$ac_ext
26537 cat >>conftest.
$ac_ext <<_ACEOF
26538 /* end confdefs.h. */
26539 $ac_includes_default
26540 #include <windows.h>
26542 rm -f conftest.
$ac_objext
26543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26544 (eval $ac_compile) 2>conftest.er1
26546 grep -v '^ *+' conftest.er1
>conftest.err
26548 cat conftest.err
>&5
26549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26550 (exit $ac_status); } &&
26551 { ac_try
='test -z "$ac_cxx_werror_flag"
26552 || test ! -s conftest.err'
26553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26554 (eval $ac_try) 2>&5
26556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26557 (exit $ac_status); }; } &&
26558 { ac_try
='test -s conftest.$ac_objext'
26559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26560 (eval $ac_try) 2>&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); }; }; then
26564 ac_header_compiler
=yes
26566 echo "$as_me: failed program was:" >&5
26567 sed 's/^/| /' conftest.
$ac_ext >&5
26569 ac_header_compiler
=no
26571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26573 echo "${ECHO_T}$ac_header_compiler" >&6
26575 # Is the header present?
26576 echo "$as_me:$LINENO: checking windows.h presence" >&5
26577 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26578 cat >conftest.
$ac_ext <<_ACEOF
26581 cat confdefs.h
>>conftest.
$ac_ext
26582 cat >>conftest.
$ac_ext <<_ACEOF
26583 /* end confdefs.h. */
26584 #include <windows.h>
26586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26587 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26589 grep -v '^ *+' conftest.er1
>conftest.err
26591 cat conftest.err
>&5
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); } >/dev
/null
; then
26594 if test -s conftest.err
; then
26595 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26596 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26603 if test -z "$ac_cpp_err"; then
26604 ac_header_preproc
=yes
26606 echo "$as_me: failed program was:" >&5
26607 sed 's/^/| /' conftest.
$ac_ext >&5
26609 ac_header_preproc
=no
26611 rm -f conftest.err conftest.
$ac_ext
26612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26613 echo "${ECHO_T}$ac_header_preproc" >&6
26615 # So? What about this header?
26616 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26618 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26619 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26620 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26621 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26622 ac_header_preproc
=yes
26625 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26626 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26627 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26628 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26629 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26630 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26631 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26632 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26633 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26634 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26635 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26636 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26639 ## ----------------------------------------- ##
26640 ## Report this to wx-dev@lists.wxwidgets.org ##
26641 ## ----------------------------------------- ##
26644 sed "s/^/$as_me: WARNING: /" >&2
26647 echo "$as_me:$LINENO: checking for windows.h" >&5
26648 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26649 if test "${ac_cv_header_windows_h+set}" = set; then
26650 echo $ECHO_N "(cached) $ECHO_C" >&6
26652 ac_cv_header_windows_h
=$ac_header_preproc
26654 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26655 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26658 if test $ac_cv_header_windows_h = yes; then
26662 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26663 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26664 { (exit 1); exit 1; }; }
26670 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26672 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26673 LIBS
="$LIBS -loleacc"
26678 LIBS
="$LIBS -lkernel32 -luser32"
26681 if test "$wxUSE_ODBC" = "sys" ; then
26684 if test "$wxUSE_ODBC" = "yes" ; then
26685 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26686 cat >>confdefs.h
<<\_ACEOF
26687 #define wxUSE_ODBC 1
26692 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26693 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26695 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26697 WIN32INSTALL
=win32install
26700 if test "$wxUSE_GUI" = "yes"; then
26710 if test "$wxUSE_COCOA" = 1 ; then
26711 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26712 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26713 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26714 wxUSE_PRINTING_ARCHITECTURE
=no
26716 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26717 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26718 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26719 wxUSE_DRAG_AND_DROP
=no
26721 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26722 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26723 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26728 if test "$wxUSE_MSW" = 1 ; then
26734 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26738 if test "$wxUSE_GTK" = 1; then
26740 ac_cpp
='$CPP $CPPFLAGS'
26741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26746 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26747 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26749 gtk_version_cached
=1
26750 if test "${wx_cv_lib_gtk+set}" = set; then
26751 echo $ECHO_N "(cached) $ECHO_C" >&6
26754 gtk_version_cached
=0
26755 echo "$as_me:$LINENO: result: " >&5
26756 echo "${ECHO_T}" >&6
26759 if test "$wxUSE_THREADS" = "yes"; then
26760 GTK_MODULES
=gthread
26764 if test "x$wxGTK_VERSION" != "x1"
26768 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26773 # Check whether --enable-gtktest or --disable-gtktest was given.
26774 if test "${enable_gtktest+set}" = set; then
26775 enableval
="$enable_gtktest"
26781 pkg_config_args
=gtk
+-2.0
26782 for module
in .
$GTK_MODULES
26786 pkg_config_args
="$pkg_config_args gthread-2.0"
26793 # Extract the first word of "pkg-config", so it can be a program name with args.
26794 set dummy pkg
-config; ac_word
=$2
26795 echo "$as_me:$LINENO: checking for $ac_word" >&5
26796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26797 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26798 echo $ECHO_N "(cached) $ECHO_C" >&6
26800 case $PKG_CONFIG in
26802 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26806 for as_dir
in $PATH
26809 test -z "$as_dir" && as_dir
=.
26810 for ac_exec_ext
in '' $ac_executable_extensions; do
26811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26812 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26819 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26823 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26825 if test -n "$PKG_CONFIG"; then
26826 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26827 echo "${ECHO_T}$PKG_CONFIG" >&6
26829 echo "$as_me:$LINENO: result: no" >&5
26830 echo "${ECHO_T}no" >&6
26834 if test x
$PKG_CONFIG != xno
; then
26835 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26838 echo "*** pkg-config too old; version 0.7 or better required."
26846 min_gtk_version
=2.0.0
26847 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26848 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26850 if test x
$PKG_CONFIG != xno
; then
26851 ## don't try to run the test against uninstalled libtool libs
26852 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26853 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26857 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26864 if test x
"$no_gtk" = x
; then
26865 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26866 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26867 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26868 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26869 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26870 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26871 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26872 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26873 if test "x$enable_gtktest" = "xyes" ; then
26874 ac_save_CFLAGS
="$CFLAGS"
26875 ac_save_LIBS
="$LIBS"
26876 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26877 LIBS
="$GTK_LIBS $LIBS"
26879 if test "$cross_compiling" = yes; then
26880 echo $ac_n "cross compiling; assumed OK... $ac_c"
26882 cat >conftest.
$ac_ext <<_ACEOF
26885 cat confdefs.h
>>conftest.
$ac_ext
26886 cat >>conftest.
$ac_ext <<_ACEOF
26887 /* end confdefs.h. */
26889 #include <gtk/gtk.h>
26891 #include <stdlib.h>
26896 int major, minor, micro;
26899 system ("touch conf.gtktest");
26901 /* HP/UX 9 (%@#!) writes to sscanf strings */
26902 tmp_version = g_strdup("$min_gtk_version");
26903 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26904 printf("%s, bad version string\n", "$min_gtk_version");
26908 if ((gtk_major_version != $gtk_config_major_version) ||
26909 (gtk_minor_version != $gtk_config_minor_version) ||
26910 (gtk_micro_version != $gtk_config_micro_version))
26912 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26913 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26914 gtk_major_version, gtk_minor_version, gtk_micro_version);
26915 printf ("*** was found! If pkg-config was correct, then it is best\n");
26916 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26917 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26918 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26919 printf("*** required on your system.\n");
26920 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26921 printf("*** to point to the correct configuration files\n");
26923 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26924 (gtk_minor_version != GTK_MINOR_VERSION) ||
26925 (gtk_micro_version != GTK_MICRO_VERSION))
26927 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26928 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26929 printf("*** library (version %d.%d.%d)\n",
26930 gtk_major_version, gtk_minor_version, gtk_micro_version);
26934 if ((gtk_major_version > major) ||
26935 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26936 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26942 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26943 gtk_major_version, gtk_minor_version, gtk_micro_version);
26944 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26945 major, minor, micro);
26946 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26948 printf("*** If you have already installed a sufficiently new version, this error\n");
26949 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26950 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26951 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26952 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26953 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26954 printf("*** so that the correct libraries are found at run-time))\n");
26961 rm -f conftest
$ac_exeext
26962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26963 (eval $ac_link) 2>&5
26965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26966 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26968 (eval $ac_try) 2>&5
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); }; }; then
26974 echo "$as_me: program exited with status $ac_status" >&5
26975 echo "$as_me: failed program was:" >&5
26976 sed 's/^/| /' conftest.
$ac_ext >&5
26978 ( exit $ac_status )
26981 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26983 CFLAGS
="$ac_save_CFLAGS"
26984 LIBS
="$ac_save_LIBS"
26987 if test "x$no_gtk" = x
; then
26988 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26989 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26992 echo "$as_me:$LINENO: result: no" >&5
26993 echo "${ECHO_T}no" >&6
26994 if test "$PKG_CONFIG" = "no" ; then
26995 echo "*** A new enough version of pkg-config was not found."
26996 echo "*** See http://pkgconfig.sourceforge.net"
26998 if test -f conf.gtktest
; then
27001 echo "*** Could not run GTK+ test program, checking why..."
27002 ac_save_CFLAGS
="$CFLAGS"
27003 ac_save_LIBS
="$LIBS"
27004 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27005 LIBS
="$LIBS $GTK_LIBS"
27006 cat >conftest.
$ac_ext <<_ACEOF
27009 cat confdefs.h
>>conftest.
$ac_ext
27010 cat >>conftest.
$ac_ext <<_ACEOF
27011 /* end confdefs.h. */
27013 #include <gtk/gtk.h>
27019 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27024 rm -f conftest.
$ac_objext conftest
$ac_exeext
27025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27026 (eval $ac_link) 2>conftest.er1
27028 grep -v '^ *+' conftest.er1
>conftest.err
27030 cat conftest.err
>&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); } &&
27033 { ac_try
='test -z "$ac_c_werror_flag"
27034 || test ! -s conftest.err'
27035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27036 (eval $ac_try) 2>&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); }; } &&
27040 { ac_try
='test -s conftest$ac_exeext'
27041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27042 (eval $ac_try) 2>&5
27044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27045 (exit $ac_status); }; }; then
27046 echo "*** The test program compiled, but did not run. This usually means"
27047 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27048 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27049 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27050 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27051 echo "*** is required on your system"
27053 echo "*** If you have an old version installed, it is best to remove it, although"
27054 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27056 echo "$as_me: failed program was:" >&5
27057 sed 's/^/| /' conftest.
$ac_ext >&5
27059 echo "*** The test program failed to compile or link. See the file config.log for the"
27060 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27062 rm -f conftest.err conftest.
$ac_objext \
27063 conftest
$ac_exeext conftest.
$ac_ext
27064 CFLAGS
="$ac_save_CFLAGS"
27065 LIBS
="$ac_save_LIBS"
27079 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27080 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27081 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27083 if test "$wxUSE_SHARED" != "yes"; then
27084 GTK_LIBS
="$GTK_LIBS -lX11"
27089 if test -z "$wx_cv_lib_gtk"; then
27090 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27092 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27093 if test "${with_gtk_prefix+set}" = set; then
27094 withval
="$with_gtk_prefix"
27095 gtk_config_prefix
="$withval"
27097 gtk_config_prefix
=""
27100 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27101 if test "${with_gtk_exec_prefix+set}" = set; then
27102 withval
="$with_gtk_exec_prefix"
27103 gtk_config_exec_prefix
="$withval"
27105 gtk_config_exec_prefix
=""
27107 # Check whether --enable-gtktest or --disable-gtktest was given.
27108 if test "${enable_gtktest+set}" = set; then
27109 enableval
="$enable_gtktest"
27115 for module
in .
$GTK_MODULES
27119 gtk_config_args
="$gtk_config_args gthread"
27124 if test x
$gtk_config_exec_prefix != x
; then
27125 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27126 if test x
${GTK_CONFIG+set} != xset
; then
27127 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27130 if test x
$gtk_config_prefix != x
; then
27131 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27132 if test x
${GTK_CONFIG+set} != xset
; then
27133 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27137 # Extract the first word of "gtk-config", so it can be a program name with args.
27138 set dummy gtk
-config; ac_word
=$2
27139 echo "$as_me:$LINENO: checking for $ac_word" >&5
27140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27141 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27142 echo $ECHO_N "(cached) $ECHO_C" >&6
27144 case $GTK_CONFIG in
27146 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27150 for as_dir
in $PATH
27153 test -z "$as_dir" && as_dir
=.
27154 for ac_exec_ext
in '' $ac_executable_extensions; do
27155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27156 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27163 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27167 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27169 if test -n "$GTK_CONFIG"; then
27170 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27171 echo "${ECHO_T}$GTK_CONFIG" >&6
27173 echo "$as_me:$LINENO: result: no" >&5
27174 echo "${ECHO_T}no" >&6
27177 min_gtk_version
=1.2.7
27178 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27179 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27181 if test "$GTK_CONFIG" = "no" ; then
27184 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27185 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27186 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27187 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27188 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27189 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27190 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27191 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27192 if test "x$enable_gtktest" = "xyes" ; then
27193 ac_save_CFLAGS
="$CFLAGS"
27194 ac_save_LIBS
="$LIBS"
27195 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27196 LIBS
="$GTK_LIBS $LIBS"
27198 if test "$cross_compiling" = yes; then
27199 echo $ac_n "cross compiling; assumed OK... $ac_c"
27201 cat >conftest.
$ac_ext <<_ACEOF
27204 cat confdefs.h
>>conftest.
$ac_ext
27205 cat >>conftest.
$ac_ext <<_ACEOF
27206 /* end confdefs.h. */
27208 #include <gtk/gtk.h>
27210 #include <stdlib.h>
27215 int major, minor, micro;
27218 system ("touch conf.gtktest");
27220 /* HP/UX 9 (%@#!) writes to sscanf strings */
27221 tmp_version = g_strdup("$min_gtk_version");
27222 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27223 printf("%s, bad version string\n", "$min_gtk_version");
27227 if ((gtk_major_version != $gtk_config_major_version) ||
27228 (gtk_minor_version != $gtk_config_minor_version) ||
27229 (gtk_micro_version != $gtk_config_micro_version))
27231 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27232 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27233 gtk_major_version, gtk_minor_version, gtk_micro_version);
27234 printf ("*** was found! If gtk-config was correct, then it is best\n");
27235 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27236 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27237 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27238 printf("*** required on your system.\n");
27239 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27240 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27241 printf("*** before re-running configure\n");
27243 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27244 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27245 (gtk_minor_version != GTK_MINOR_VERSION) ||
27246 (gtk_micro_version != GTK_MICRO_VERSION))
27248 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27249 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27250 printf("*** library (version %d.%d.%d)\n",
27251 gtk_major_version, gtk_minor_version, gtk_micro_version);
27253 #endif /* defined (GTK_MAJOR_VERSION) ... */
27256 if ((gtk_major_version > major) ||
27257 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27258 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27264 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27265 gtk_major_version, gtk_minor_version, gtk_micro_version);
27266 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27267 major, minor, micro);
27268 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27270 printf("*** If you have already installed a sufficiently new version, this error\n");
27271 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27272 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27273 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27274 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27275 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27276 printf("*** so that the correct libraries are found at run-time))\n");
27283 rm -f conftest
$ac_exeext
27284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27285 (eval $ac_link) 2>&5
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27290 (eval $ac_try) 2>&5
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); }; }; then
27296 echo "$as_me: program exited with status $ac_status" >&5
27297 echo "$as_me: failed program was:" >&5
27298 sed 's/^/| /' conftest.
$ac_ext >&5
27300 ( exit $ac_status )
27303 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27305 CFLAGS
="$ac_save_CFLAGS"
27306 LIBS
="$ac_save_LIBS"
27309 if test "x$no_gtk" = x
; then
27310 echo "$as_me:$LINENO: result: yes" >&5
27311 echo "${ECHO_T}yes" >&6
27312 wx_cv_lib_gtk
=1.2.7
27314 echo "$as_me:$LINENO: result: no" >&5
27315 echo "${ECHO_T}no" >&6
27316 if test "$GTK_CONFIG" = "no" ; then
27317 echo "*** The gtk-config script installed by GTK could not be found"
27318 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27319 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27320 echo "*** full path to gtk-config."
27322 if test -f conf.gtktest
; then
27325 echo "*** Could not run GTK test program, checking why..."
27326 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27327 LIBS
="$LIBS $GTK_LIBS"
27328 cat >conftest.
$ac_ext <<_ACEOF
27331 cat confdefs.h
>>conftest.
$ac_ext
27332 cat >>conftest.
$ac_ext <<_ACEOF
27333 /* end confdefs.h. */
27335 #include <gtk/gtk.h>
27341 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27346 rm -f conftest.
$ac_objext conftest
$ac_exeext
27347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27348 (eval $ac_link) 2>conftest.er1
27350 grep -v '^ *+' conftest.er1
>conftest.err
27352 cat conftest.err
>&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } &&
27355 { ac_try
='test -z "$ac_c_werror_flag"
27356 || test ! -s conftest.err'
27357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27358 (eval $ac_try) 2>&5
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); }; } &&
27362 { ac_try
='test -s conftest$ac_exeext'
27363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27364 (eval $ac_try) 2>&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); }; }; then
27368 echo "*** The test program compiled, but did not run. This usually means"
27369 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27370 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27371 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27372 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27373 echo "*** is required on your system"
27375 echo "*** If you have an old version installed, it is best to remove it, although"
27376 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27378 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27379 echo "*** came with the system with the command"
27381 echo "*** rpm --erase --nodeps gtk gtk-devel"
27383 echo "$as_me: failed program was:" >&5
27384 sed 's/^/| /' conftest.
$ac_ext >&5
27386 echo "*** The test program failed to compile or link. See the file config.log for the"
27387 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27388 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27389 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27391 rm -f conftest.err conftest.
$ac_objext \
27392 conftest
$ac_exeext conftest.
$ac_ext
27393 CFLAGS
="$ac_save_CFLAGS"
27394 LIBS
="$ac_save_LIBS"
27406 if test -z "$wx_cv_lib_gtk"; then
27408 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27409 if test "${with_gtk_prefix+set}" = set; then
27410 withval
="$with_gtk_prefix"
27411 gtk_config_prefix
="$withval"
27413 gtk_config_prefix
=""
27416 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27417 if test "${with_gtk_exec_prefix+set}" = set; then
27418 withval
="$with_gtk_exec_prefix"
27419 gtk_config_exec_prefix
="$withval"
27421 gtk_config_exec_prefix
=""
27423 # Check whether --enable-gtktest or --disable-gtktest was given.
27424 if test "${enable_gtktest+set}" = set; then
27425 enableval
="$enable_gtktest"
27431 for module
in .
$GTK_MODULES
27435 gtk_config_args
="$gtk_config_args gthread"
27440 if test x
$gtk_config_exec_prefix != x
; then
27441 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27442 if test x
${GTK_CONFIG+set} != xset
; then
27443 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27446 if test x
$gtk_config_prefix != x
; then
27447 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27448 if test x
${GTK_CONFIG+set} != xset
; then
27449 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27453 # Extract the first word of "gtk-config", so it can be a program name with args.
27454 set dummy gtk
-config; ac_word
=$2
27455 echo "$as_me:$LINENO: checking for $ac_word" >&5
27456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27457 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27458 echo $ECHO_N "(cached) $ECHO_C" >&6
27460 case $GTK_CONFIG in
27462 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27466 for as_dir
in $PATH
27469 test -z "$as_dir" && as_dir
=.
27470 for ac_exec_ext
in '' $ac_executable_extensions; do
27471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27472 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27479 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27483 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27485 if test -n "$GTK_CONFIG"; then
27486 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27487 echo "${ECHO_T}$GTK_CONFIG" >&6
27489 echo "$as_me:$LINENO: result: no" >&5
27490 echo "${ECHO_T}no" >&6
27493 min_gtk_version
=1.2.3
27494 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27495 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27497 if test "$GTK_CONFIG" = "no" ; then
27500 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27501 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27502 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27503 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27504 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27505 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27506 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27507 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27508 if test "x$enable_gtktest" = "xyes" ; then
27509 ac_save_CFLAGS
="$CFLAGS"
27510 ac_save_LIBS
="$LIBS"
27511 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27512 LIBS
="$GTK_LIBS $LIBS"
27514 if test "$cross_compiling" = yes; then
27515 echo $ac_n "cross compiling; assumed OK... $ac_c"
27517 cat >conftest.
$ac_ext <<_ACEOF
27520 cat confdefs.h
>>conftest.
$ac_ext
27521 cat >>conftest.
$ac_ext <<_ACEOF
27522 /* end confdefs.h. */
27524 #include <gtk/gtk.h>
27526 #include <stdlib.h>
27531 int major, minor, micro;
27534 system ("touch conf.gtktest");
27536 /* HP/UX 9 (%@#!) writes to sscanf strings */
27537 tmp_version = g_strdup("$min_gtk_version");
27538 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27539 printf("%s, bad version string\n", "$min_gtk_version");
27543 if ((gtk_major_version != $gtk_config_major_version) ||
27544 (gtk_minor_version != $gtk_config_minor_version) ||
27545 (gtk_micro_version != $gtk_config_micro_version))
27547 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27548 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27549 gtk_major_version, gtk_minor_version, gtk_micro_version);
27550 printf ("*** was found! If gtk-config was correct, then it is best\n");
27551 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27552 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27553 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27554 printf("*** required on your system.\n");
27555 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27556 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27557 printf("*** before re-running configure\n");
27559 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27560 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27561 (gtk_minor_version != GTK_MINOR_VERSION) ||
27562 (gtk_micro_version != GTK_MICRO_VERSION))
27564 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27565 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27566 printf("*** library (version %d.%d.%d)\n",
27567 gtk_major_version, gtk_minor_version, gtk_micro_version);
27569 #endif /* defined (GTK_MAJOR_VERSION) ... */
27572 if ((gtk_major_version > major) ||
27573 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27574 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27580 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27581 gtk_major_version, gtk_minor_version, gtk_micro_version);
27582 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27583 major, minor, micro);
27584 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27586 printf("*** If you have already installed a sufficiently new version, this error\n");
27587 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27588 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27589 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27590 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27591 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27592 printf("*** so that the correct libraries are found at run-time))\n");
27599 rm -f conftest
$ac_exeext
27600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27601 (eval $ac_link) 2>&5
27603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27606 (eval $ac_try) 2>&5
27608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 (exit $ac_status); }; }; then
27612 echo "$as_me: program exited with status $ac_status" >&5
27613 echo "$as_me: failed program was:" >&5
27614 sed 's/^/| /' conftest.
$ac_ext >&5
27616 ( exit $ac_status )
27619 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27621 CFLAGS
="$ac_save_CFLAGS"
27622 LIBS
="$ac_save_LIBS"
27625 if test "x$no_gtk" = x
; then
27626 echo "$as_me:$LINENO: result: yes" >&5
27627 echo "${ECHO_T}yes" >&6
27628 wx_cv_lib_gtk
=1.2.3
27630 echo "$as_me:$LINENO: result: no" >&5
27631 echo "${ECHO_T}no" >&6
27632 if test "$GTK_CONFIG" = "no" ; then
27633 echo "*** The gtk-config script installed by GTK could not be found"
27634 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27635 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27636 echo "*** full path to gtk-config."
27638 if test -f conf.gtktest
; then
27641 echo "*** Could not run GTK test program, checking why..."
27642 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27643 LIBS
="$LIBS $GTK_LIBS"
27644 cat >conftest.
$ac_ext <<_ACEOF
27647 cat confdefs.h
>>conftest.
$ac_ext
27648 cat >>conftest.
$ac_ext <<_ACEOF
27649 /* end confdefs.h. */
27651 #include <gtk/gtk.h>
27657 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27662 rm -f conftest.
$ac_objext conftest
$ac_exeext
27663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27664 (eval $ac_link) 2>conftest.er1
27666 grep -v '^ *+' conftest.er1
>conftest.err
27668 cat conftest.err
>&5
27669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27670 (exit $ac_status); } &&
27671 { ac_try
='test -z "$ac_c_werror_flag"
27672 || test ! -s conftest.err'
27673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27674 (eval $ac_try) 2>&5
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); }; } &&
27678 { ac_try
='test -s conftest$ac_exeext'
27679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27680 (eval $ac_try) 2>&5
27682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27683 (exit $ac_status); }; }; then
27684 echo "*** The test program compiled, but did not run. This usually means"
27685 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27686 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27687 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27688 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27689 echo "*** is required on your system"
27691 echo "*** If you have an old version installed, it is best to remove it, although"
27692 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27694 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27695 echo "*** came with the system with the command"
27697 echo "*** rpm --erase --nodeps gtk gtk-devel"
27699 echo "$as_me: failed program was:" >&5
27700 sed 's/^/| /' conftest.
$ac_ext >&5
27702 echo "*** The test program failed to compile or link. See the file config.log for the"
27703 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27704 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27705 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27707 rm -f conftest.err conftest.
$ac_objext \
27708 conftest
$ac_exeext conftest.
$ac_ext
27709 CFLAGS
="$ac_save_CFLAGS"
27710 LIBS
="$ac_save_LIBS"
27725 if test -z "$wx_cv_lib_gtk"; then
27728 wx_cv_cflags_gtk
=$GTK_CFLAGS
27729 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27736 if test "$gtk_version_cached" = 1; then
27737 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27738 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27741 case "$wx_cv_lib_gtk" in
27750 *) { { echo "$as_me:$LINENO: error:
27751 The development files for GTK+ were not found. For GTK+ 2, please
27752 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27753 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27754 and that the version is 1.2.3 or above. Also check that the
27755 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27756 --libs' are in the LD_LIBRARY_PATH or equivalent.
27758 echo "$as_me: error:
27759 The development files for GTK+ were not found. For GTK+ 2, please
27760 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27761 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27762 and that the version is 1.2.3 or above. Also check that the
27763 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27764 --libs' are in the LD_LIBRARY_PATH or equivalent.
27766 { (exit 1); exit 1; }; }
27770 if test "$WXGTK20" = 1; then
27771 save_CXXFLAGS
="$CXXFLAGS"
27773 CXXFLAGS
="$wx_cv_cflags_gtk $CXXFLAGS"
27774 LIBS
="$LIBS $wx_cv_libs_gtk"
27776 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27777 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27778 cat >conftest.
$ac_ext <<_ACEOF
27781 cat confdefs.h
>>conftest.
$ac_ext
27782 cat >>conftest.
$ac_ext <<_ACEOF
27783 /* end confdefs.h. */
27785 #include <gtk/gtk.h>
27791 void *f = gtk_icon_size_lookup;
27797 rm -f conftest.
$ac_objext
27798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27799 (eval $ac_compile) 2>conftest.er1
27801 grep -v '^ *+' conftest.er1
>conftest.err
27803 cat conftest.err
>&5
27804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805 (exit $ac_status); } &&
27806 { ac_try
='test -z "$ac_c_werror_flag"
27807 || test ! -s conftest.err'
27808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27809 (eval $ac_try) 2>&5
27811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27812 (exit $ac_status); }; } &&
27813 { ac_try
='test -s conftest.$ac_objext'
27814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27815 (eval $ac_try) 2>&5
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); }; }; then
27820 echo "$as_me:$LINENO: result: no" >&5
27821 echo "${ECHO_T}no" >&6
27824 echo "$as_me: failed program was:" >&5
27825 sed 's/^/| /' conftest.
$ac_ext >&5
27828 cat >>confdefs.h
<<\_ACEOF
27829 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27832 echo "$as_me:$LINENO: result: yes" >&5
27833 echo "${ECHO_T}yes" >&6
27836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27838 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27839 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27840 cat >conftest.
$ac_ext <<_ACEOF
27843 cat confdefs.h
>>conftest.
$ac_ext
27844 cat >>conftest.
$ac_ext <<_ACEOF
27845 /* end confdefs.h. */
27847 #include <gtk/gtk.h>
27853 #if !GTK_CHECK_VERSION(2,4,0)
27861 rm -f conftest.
$ac_objext
27862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27863 (eval $ac_compile) 2>conftest.er1
27865 grep -v '^ *+' conftest.er1
>conftest.err
27867 cat conftest.err
>&5
27868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27869 (exit $ac_status); } &&
27870 { ac_try
='test -z "$ac_c_werror_flag"
27871 || test ! -s conftest.err'
27872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27873 (eval $ac_try) 2>&5
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); }; } &&
27877 { ac_try
='test -s conftest.$ac_objext'
27878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27879 (eval $ac_try) 2>&5
27881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882 (exit $ac_status); }; }; then
27884 cat >>confdefs.h
<<\_ACEOF
27885 #define __WXGTK24__ 1
27888 echo "$as_me:$LINENO: result: yes" >&5
27889 echo "${ECHO_T}yes" >&6
27892 echo "$as_me: failed program was:" >&5
27893 sed 's/^/| /' conftest.
$ac_ext >&5
27896 echo "$as_me:$LINENO: result: no" >&5
27897 echo "${ECHO_T}no" >&6
27900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27902 CXXFLAGS
="$save_CXXFLAGS"
27905 if test "$wxUSE_UNICODE" = "yes"; then
27906 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27907 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27913 ac_cpp
='$CXXCPP $CPPFLAGS'
27914 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27915 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27916 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27919 if test "$USE_DARWIN" != 1; then
27921 for ac_func
in poll
27923 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27924 echo "$as_me:$LINENO: checking for $ac_func" >&5
27925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27926 if eval "test \"\${$as_ac_var+set}\" = set"; then
27927 echo $ECHO_N "(cached) $ECHO_C" >&6
27929 cat >conftest.
$ac_ext <<_ACEOF
27932 cat confdefs.h
>>conftest.
$ac_ext
27933 cat >>conftest.
$ac_ext <<_ACEOF
27934 /* end confdefs.h. */
27935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27937 #define $ac_func innocuous_$ac_func
27939 /* System header to define __stub macros and hopefully few prototypes,
27940 which can conflict with char $ac_func (); below.
27941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27942 <limits.h> exists even on freestanding compilers. */
27945 # include <limits.h>
27947 # include <assert.h>
27952 /* Override any gcc2 internal prototype to avoid an error. */
27957 /* We use char because int might match the return type of a gcc2
27958 builtin and then its argument prototype would still apply. */
27960 /* The GNU C library defines this for functions which it implements
27961 to always fail with ENOSYS. Some functions are actually named
27962 something starting with __ and the normal name is an alias. */
27963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27966 char (*f) () = $ac_func;
27975 return f != $ac_func;
27980 rm -f conftest.
$ac_objext conftest
$ac_exeext
27981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27982 (eval $ac_link) 2>conftest.er1
27984 grep -v '^ *+' conftest.er1
>conftest.err
27986 cat conftest.err
>&5
27987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27988 (exit $ac_status); } &&
27989 { ac_try
='test -z "$ac_cxx_werror_flag"
27990 || test ! -s conftest.err'
27991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27992 (eval $ac_try) 2>&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); }; } &&
27996 { ac_try
='test -s conftest$ac_exeext'
27997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27998 (eval $ac_try) 2>&5
28000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28001 (exit $ac_status); }; }; then
28002 eval "$as_ac_var=yes"
28004 echo "$as_me: failed program was:" >&5
28005 sed 's/^/| /' conftest.
$ac_ext >&5
28007 eval "$as_ac_var=no"
28009 rm -f conftest.err conftest.
$ac_objext \
28010 conftest
$ac_exeext conftest.
$ac_ext
28012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28014 if test `eval echo '${'$as_ac_var'}'` = yes; then
28015 cat >>confdefs.h
<<_ACEOF
28016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28024 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28025 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28027 AFMINSTALL
=afminstall
28031 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28032 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28033 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28034 echo $ECHO_N "(cached) $ECHO_C" >&6
28036 ac_check_lib_save_LIBS
=$LIBS
28038 cat >conftest.
$ac_ext <<_ACEOF
28041 cat confdefs.h
>>conftest.
$ac_ext
28042 cat >>conftest.
$ac_ext <<_ACEOF
28043 /* end confdefs.h. */
28045 /* Override any gcc2 internal prototype to avoid an error. */
28049 /* We use char because int might match the return type of a gcc2
28050 builtin and then its argument prototype would still apply. */
28051 char gdk_im_open ();
28060 rm -f conftest.
$ac_objext conftest
$ac_exeext
28061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28062 (eval $ac_link) 2>conftest.er1
28064 grep -v '^ *+' conftest.er1
>conftest.err
28066 cat conftest.err
>&5
28067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28068 (exit $ac_status); } &&
28069 { ac_try
='test -z "$ac_cxx_werror_flag"
28070 || test ! -s conftest.err'
28071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28072 (eval $ac_try) 2>&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); }; } &&
28076 { ac_try
='test -s conftest$ac_exeext'
28077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28078 (eval $ac_try) 2>&5
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); }; }; then
28082 ac_cv_lib_gdk_gdk_im_open
=yes
28084 echo "$as_me: failed program was:" >&5
28085 sed 's/^/| /' conftest.
$ac_ext >&5
28087 ac_cv_lib_gdk_gdk_im_open
=no
28089 rm -f conftest.err conftest.
$ac_objext \
28090 conftest
$ac_exeext conftest.
$ac_ext
28091 LIBS
=$ac_check_lib_save_LIBS
28093 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28094 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28095 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28096 cat >>confdefs.h
<<\_ACEOF
28104 if test "$wxUSE_GPE" = "yes"; then
28105 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28106 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28109 for ac_dir
in $SEARCH_LIB;
28111 for ac_extension
in a so sl dylib dll.a
; do
28112 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28113 ac_find_libraries
=$ac_dir
28119 if test "$ac_find_libraries" != "" ; then
28121 if test "$ac_find_libraries" = "default location"; then
28124 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28126 if test $result = 0; then
28129 ac_path_to_link
=" -L$ac_find_libraries"
28133 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28135 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28136 echo "${ECHO_T}found in $ac_find_libraries" >&6
28138 echo "$as_me:$LINENO: result: not found" >&5
28139 echo "${ECHO_T}not found" >&6
28145 if test "$wxUSE_MGL" = 1; then
28146 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28147 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28148 if test "x$MGL_ROOT" = x
; then
28149 echo "$as_me:$LINENO: result: not found" >&5
28150 echo "${ECHO_T}not found" >&6
28151 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28152 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28153 { (exit 1); exit 1; }; }
28155 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28156 echo "${ECHO_T}$MGL_ROOT" >&6
28159 echo "$as_me:$LINENO: checking for libmgl location" >&5
28160 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28163 if test "x$wxUSE_SHARED" = xyes
; then
28164 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28166 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28170 mgl_os_candidates
="dos32/dj2"
28173 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28174 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28175 { (exit 1); exit 1; }; }
28181 for mgl_os_i
in $mgl_os_candidates ; do
28182 if test "x$mgl_os" = x
; then
28183 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28184 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
28185 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
28190 if test "x$mgl_lib_type" = x
; then
28191 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
28192 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
28193 mgl_lib_type
=release
28200 if test "x$mgl_os" = x
; then
28201 echo "$as_me:$LINENO: result: not found" >&5
28202 echo "${ECHO_T}not found" >&6
28203 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28204 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28205 { (exit 1); exit 1; }; }
28207 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28208 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28210 wxUSE_UNIVERSAL
="yes"
28212 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
28213 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28215 AFMINSTALL
=afminstall
28220 if test "$wxUSE_MICROWIN" = 1; then
28221 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28222 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28223 if test "x$MICROWINDOWS" = x
; then
28224 echo "$as_me:$LINENO: result: not found" >&5
28225 echo "${ECHO_T}not found" >&6
28226 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28227 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28228 { (exit 1); exit 1; }; }
28230 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28231 echo "${ECHO_T}$MICROWINDOWS" >&6
28234 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
28235 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28236 echo "${ECHO_T}MicroWindows' libraries found." >&6
28238 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28239 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28240 { (exit 1); exit 1; }; }
28243 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
28244 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28246 wxUSE_UNIVERSAL
="yes"
28248 AFMINSTALL
=afminstall
28250 GUIDIST
=MICROWIN_DIST
28252 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28255 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28256 echo "$as_me:$LINENO: checking for X" >&5
28257 echo $ECHO_N "checking for X... $ECHO_C" >&6
28260 # Check whether --with-x or --without-x was given.
28261 if test "${with_x+set}" = set; then
28265 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28266 if test "x$with_x" = xno
; then
28267 # The user explicitly disabled X.
28270 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28271 # Both variables are already set.
28274 if test "${ac_cv_have_x+set}" = set; then
28275 echo $ECHO_N "(cached) $ECHO_C" >&6
28277 # One or both of the vars are not set, and there is no cached value.
28278 ac_x_includes
=no ac_x_libraries
=no
28279 rm -fr conftest.dir
28280 if mkdir conftest.dir
; then
28282 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28283 cat >Imakefile
<<'_ACEOF'
28285 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28287 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28288 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28289 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28290 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28291 for ac_extension
in a so sl
; do
28292 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28293 test -f $ac_im_libdir/libX11.
$ac_extension; then
28294 ac_im_usrlibdir
=$ac_im_libdir; break
28297 # Screen out bogus values from the imake configuration. They are
28298 # bogus both because they are the default anyway, and because
28299 # using them would break gcc on systems where it needs fixed includes.
28300 case $ac_im_incroot in
28302 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28304 case $ac_im_usrlibdir in
28305 /usr
/lib
| /lib
) ;;
28306 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28310 rm -fr conftest.dir
28313 # Standard set of common directories for X headers.
28314 # Check X11 before X11Rn because it is often a symlink to the current release.
28326 /usr/local/X11/include
28327 /usr/local/X11R6/include
28328 /usr/local/X11R5/include
28329 /usr/local/X11R4/include
28331 /usr/local/include/X11
28332 /usr/local/include/X11R6
28333 /usr/local/include/X11R5
28334 /usr/local/include/X11R4
28338 /usr/XFree86/include/X11
28342 /usr/unsupported/include
28343 /usr/athena/include
28344 /usr/local/x11r5/include
28345 /usr/lpp/Xamples/include
28347 /usr/openwin/include
28348 /usr/openwin/share/include'
28350 if test "$ac_x_includes" = no
; then
28351 # Guess where to find include files, by looking for Intrinsic.h.
28352 # First, try using that file with no special directory specified.
28353 cat >conftest.
$ac_ext <<_ACEOF
28356 cat confdefs.h
>>conftest.
$ac_ext
28357 cat >>conftest.
$ac_ext <<_ACEOF
28358 /* end confdefs.h. */
28359 #include <X11/Intrinsic.h>
28361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28362 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28364 grep -v '^ *+' conftest.er1
>conftest.err
28366 cat conftest.err
>&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } >/dev
/null
; then
28369 if test -s conftest.err
; then
28370 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28371 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28378 if test -z "$ac_cpp_err"; then
28379 # We can compile using X headers with no special include directory.
28382 echo "$as_me: failed program was:" >&5
28383 sed 's/^/| /' conftest.
$ac_ext >&5
28385 for ac_dir
in $ac_x_header_dirs; do
28386 if test -r "$ac_dir/X11/Intrinsic.h"; then
28387 ac_x_includes
=$ac_dir
28392 rm -f conftest.err conftest.
$ac_ext
28393 fi # $ac_x_includes = no
28395 if test "$ac_x_libraries" = no
; then
28396 # Check for the libraries.
28397 # See if we find them without any special options.
28398 # Don't add to $LIBS permanently.
28401 cat >conftest.
$ac_ext <<_ACEOF
28404 cat confdefs.h
>>conftest.
$ac_ext
28405 cat >>conftest.
$ac_ext <<_ACEOF
28406 /* end confdefs.h. */
28407 #include <X11/Intrinsic.h>
28416 rm -f conftest.
$ac_objext conftest
$ac_exeext
28417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28418 (eval $ac_link) 2>conftest.er1
28420 grep -v '^ *+' conftest.er1
>conftest.err
28422 cat conftest.err
>&5
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); } &&
28425 { ac_try
='test -z "$ac_cxx_werror_flag"
28426 || test ! -s conftest.err'
28427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28428 (eval $ac_try) 2>&5
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); }; } &&
28432 { ac_try
='test -s conftest$ac_exeext'
28433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28434 (eval $ac_try) 2>&5
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); }; }; then
28439 # We can link X programs with no special library path.
28442 echo "$as_me: failed program was:" >&5
28443 sed 's/^/| /' conftest.
$ac_ext >&5
28446 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28448 # Don't even attempt the hair of trying to link an X program!
28449 for ac_extension
in a so sl
; do
28450 if test -r $ac_dir/libXt.
$ac_extension; then
28451 ac_x_libraries
=$ac_dir
28457 rm -f conftest.err conftest.
$ac_objext \
28458 conftest
$ac_exeext conftest.
$ac_ext
28459 fi # $ac_x_libraries = no
28461 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28462 # Didn't find X anywhere. Cache the known absence of X.
28463 ac_cv_have_x
="have_x=no"
28465 # Record where we found X for the cache.
28466 ac_cv_have_x
="have_x=yes \
28467 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28472 eval "$ac_cv_have_x"
28475 if test "$have_x" != yes; then
28476 echo "$as_me:$LINENO: result: $have_x" >&5
28477 echo "${ECHO_T}$have_x" >&6
28480 # If each of the values was on the command line, it overrides each guess.
28481 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28482 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28483 # Update the cache value to reflect the command line values.
28484 ac_cv_have_x
="have_x=yes \
28485 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28486 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28487 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28490 if test "$no_x" = yes; then
28491 # Not all programs may use this symbol, but it does not hurt to define it.
28493 cat >>confdefs.h
<<\_ACEOF
28494 #define X_DISPLAY_MISSING 1
28497 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28499 if test -n "$x_includes"; then
28500 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28503 # It would also be nice to do this for all -L options, not just this one.
28504 if test -n "$x_libraries"; then
28505 X_LIBS
="$X_LIBS -L$x_libraries"
28506 # For Solaris; some versions of Sun CC require a space after -R and
28507 # others require no space. Words are not sufficient . . . .
28508 case `(uname -sr) 2>/dev/null` in
28510 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28511 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28512 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28513 cat >conftest.
$ac_ext <<_ACEOF
28516 cat confdefs.h
>>conftest.
$ac_ext
28517 cat >>conftest.
$ac_ext <<_ACEOF
28518 /* end confdefs.h. */
28528 rm -f conftest.
$ac_objext conftest
$ac_exeext
28529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28530 (eval $ac_link) 2>conftest.er1
28532 grep -v '^ *+' conftest.er1
>conftest.err
28534 cat conftest.err
>&5
28535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536 (exit $ac_status); } &&
28537 { ac_try
='test -z "$ac_cxx_werror_flag"
28538 || test ! -s conftest.err'
28539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28540 (eval $ac_try) 2>&5
28542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28543 (exit $ac_status); }; } &&
28544 { ac_try
='test -s conftest$ac_exeext'
28545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28546 (eval $ac_try) 2>&5
28548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28549 (exit $ac_status); }; }; then
28552 echo "$as_me: failed program was:" >&5
28553 sed 's/^/| /' conftest.
$ac_ext >&5
28557 rm -f conftest.err conftest.
$ac_objext \
28558 conftest
$ac_exeext conftest.
$ac_ext
28559 if test $ac_R_nospace = yes; then
28560 echo "$as_me:$LINENO: result: no" >&5
28561 echo "${ECHO_T}no" >&6
28562 X_LIBS
="$X_LIBS -R$x_libraries"
28564 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28565 cat >conftest.
$ac_ext <<_ACEOF
28568 cat confdefs.h
>>conftest.
$ac_ext
28569 cat >>conftest.
$ac_ext <<_ACEOF
28570 /* end confdefs.h. */
28580 rm -f conftest.
$ac_objext conftest
$ac_exeext
28581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28582 (eval $ac_link) 2>conftest.er1
28584 grep -v '^ *+' conftest.er1
>conftest.err
28586 cat conftest.err
>&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } &&
28589 { ac_try
='test -z "$ac_cxx_werror_flag"
28590 || test ! -s conftest.err'
28591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28592 (eval $ac_try) 2>&5
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); }; } &&
28596 { ac_try
='test -s conftest$ac_exeext'
28597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28598 (eval $ac_try) 2>&5
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); }; }; then
28604 echo "$as_me: failed program was:" >&5
28605 sed 's/^/| /' conftest.
$ac_ext >&5
28609 rm -f conftest.err conftest.
$ac_objext \
28610 conftest
$ac_exeext conftest.
$ac_ext
28611 if test $ac_R_space = yes; then
28612 echo "$as_me:$LINENO: result: yes" >&5
28613 echo "${ECHO_T}yes" >&6
28614 X_LIBS
="$X_LIBS -R $x_libraries"
28616 echo "$as_me:$LINENO: result: neither works" >&5
28617 echo "${ECHO_T}neither works" >&6
28620 LIBS
=$ac_xsave_LIBS
28624 # Check for system-dependent libraries X programs must link with.
28625 # Do this before checking for the system-independent R6 libraries
28626 # (-lICE), since we may need -lsocket or whatever for X linking.
28628 if test "$ISC" = yes; then
28629 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28631 # Martyn Johnson says this is needed for Ultrix, if the X
28632 # libraries were built with DECnet support. And Karl Berry says
28633 # the Alpha needs dnet_stub (dnet does not exist).
28634 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28635 cat >conftest.
$ac_ext <<_ACEOF
28638 cat confdefs.h
>>conftest.
$ac_ext
28639 cat >>conftest.
$ac_ext <<_ACEOF
28640 /* end confdefs.h. */
28642 /* Override any gcc2 internal prototype to avoid an error. */
28646 /* We use char because int might match the return type of a gcc2
28647 builtin and then its argument prototype would still apply. */
28648 char XOpenDisplay ();
28657 rm -f conftest.
$ac_objext conftest
$ac_exeext
28658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28659 (eval $ac_link) 2>conftest.er1
28661 grep -v '^ *+' conftest.er1
>conftest.err
28663 cat conftest.err
>&5
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); } &&
28666 { ac_try
='test -z "$ac_cxx_werror_flag"
28667 || test ! -s conftest.err'
28668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28669 (eval $ac_try) 2>&5
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); }; } &&
28673 { ac_try
='test -s conftest$ac_exeext'
28674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28675 (eval $ac_try) 2>&5
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); }; }; then
28681 echo "$as_me: failed program was:" >&5
28682 sed 's/^/| /' conftest.
$ac_ext >&5
28684 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28685 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28686 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28687 echo $ECHO_N "(cached) $ECHO_C" >&6
28689 ac_check_lib_save_LIBS
=$LIBS
28690 LIBS
="-ldnet $LIBS"
28691 cat >conftest.
$ac_ext <<_ACEOF
28694 cat confdefs.h
>>conftest.
$ac_ext
28695 cat >>conftest.
$ac_ext <<_ACEOF
28696 /* end confdefs.h. */
28698 /* Override any gcc2 internal prototype to avoid an error. */
28702 /* We use char because int might match the return type of a gcc2
28703 builtin and then its argument prototype would still apply. */
28713 rm -f conftest.
$ac_objext conftest
$ac_exeext
28714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28715 (eval $ac_link) 2>conftest.er1
28717 grep -v '^ *+' conftest.er1
>conftest.err
28719 cat conftest.err
>&5
28720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28721 (exit $ac_status); } &&
28722 { ac_try
='test -z "$ac_cxx_werror_flag"
28723 || test ! -s conftest.err'
28724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28725 (eval $ac_try) 2>&5
28727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28728 (exit $ac_status); }; } &&
28729 { ac_try
='test -s conftest$ac_exeext'
28730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28731 (eval $ac_try) 2>&5
28733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28734 (exit $ac_status); }; }; then
28735 ac_cv_lib_dnet_dnet_ntoa
=yes
28737 echo "$as_me: failed program was:" >&5
28738 sed 's/^/| /' conftest.
$ac_ext >&5
28740 ac_cv_lib_dnet_dnet_ntoa
=no
28742 rm -f conftest.err conftest.
$ac_objext \
28743 conftest
$ac_exeext conftest.
$ac_ext
28744 LIBS
=$ac_check_lib_save_LIBS
28746 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28747 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28748 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28749 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28752 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28753 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28754 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28755 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28756 echo $ECHO_N "(cached) $ECHO_C" >&6
28758 ac_check_lib_save_LIBS
=$LIBS
28759 LIBS
="-ldnet_stub $LIBS"
28760 cat >conftest.
$ac_ext <<_ACEOF
28763 cat confdefs.h
>>conftest.
$ac_ext
28764 cat >>conftest.
$ac_ext <<_ACEOF
28765 /* end confdefs.h. */
28767 /* Override any gcc2 internal prototype to avoid an error. */
28771 /* We use char because int might match the return type of a gcc2
28772 builtin and then its argument prototype would still apply. */
28782 rm -f conftest.
$ac_objext conftest
$ac_exeext
28783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28784 (eval $ac_link) 2>conftest.er1
28786 grep -v '^ *+' conftest.er1
>conftest.err
28788 cat conftest.err
>&5
28789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28790 (exit $ac_status); } &&
28791 { ac_try
='test -z "$ac_cxx_werror_flag"
28792 || test ! -s conftest.err'
28793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28794 (eval $ac_try) 2>&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); }; } &&
28798 { ac_try
='test -s conftest$ac_exeext'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; }; then
28804 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28806 echo "$as_me: failed program was:" >&5
28807 sed 's/^/| /' conftest.
$ac_ext >&5
28809 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28811 rm -f conftest.err conftest.
$ac_objext \
28812 conftest
$ac_exeext conftest.
$ac_ext
28813 LIBS
=$ac_check_lib_save_LIBS
28815 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28816 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28817 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28818 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28823 rm -f conftest.err conftest.
$ac_objext \
28824 conftest
$ac_exeext conftest.
$ac_ext
28825 LIBS
="$ac_xsave_LIBS"
28827 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28828 # to get the SysV transport functions.
28829 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28831 # The nsl library prevents programs from opening the X display
28832 # on Irix 5.2, according to T.E. Dickey.
28833 # The functions gethostbyname, getservbyname, and inet_addr are
28834 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28835 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28836 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28837 if test "${ac_cv_func_gethostbyname+set}" = set; then
28838 echo $ECHO_N "(cached) $ECHO_C" >&6
28840 cat >conftest.
$ac_ext <<_ACEOF
28843 cat confdefs.h
>>conftest.
$ac_ext
28844 cat >>conftest.
$ac_ext <<_ACEOF
28845 /* end confdefs.h. */
28846 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28848 #define gethostbyname innocuous_gethostbyname
28850 /* System header to define __stub macros and hopefully few prototypes,
28851 which can conflict with char gethostbyname (); below.
28852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28853 <limits.h> exists even on freestanding compilers. */
28856 # include <limits.h>
28858 # include <assert.h>
28861 #undef gethostbyname
28863 /* Override any gcc2 internal prototype to avoid an error. */
28868 /* We use char because int might match the return type of a gcc2
28869 builtin and then its argument prototype would still apply. */
28870 char gethostbyname ();
28871 /* The GNU C library defines this for functions which it implements
28872 to always fail with ENOSYS. Some functions are actually named
28873 something starting with __ and the normal name is an alias. */
28874 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28877 char (*f) () = gethostbyname;
28886 return f != gethostbyname;
28891 rm -f conftest.
$ac_objext conftest
$ac_exeext
28892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28893 (eval $ac_link) 2>conftest.er1
28895 grep -v '^ *+' conftest.er1
>conftest.err
28897 cat conftest.err
>&5
28898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28899 (exit $ac_status); } &&
28900 { ac_try
='test -z "$ac_cxx_werror_flag"
28901 || test ! -s conftest.err'
28902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28903 (eval $ac_try) 2>&5
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); }; } &&
28907 { ac_try
='test -s conftest$ac_exeext'
28908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28909 (eval $ac_try) 2>&5
28911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28912 (exit $ac_status); }; }; then
28913 ac_cv_func_gethostbyname
=yes
28915 echo "$as_me: failed program was:" >&5
28916 sed 's/^/| /' conftest.
$ac_ext >&5
28918 ac_cv_func_gethostbyname
=no
28920 rm -f conftest.err conftest.
$ac_objext \
28921 conftest
$ac_exeext conftest.
$ac_ext
28923 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28924 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28926 if test $ac_cv_func_gethostbyname = no
; then
28927 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28928 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28929 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28930 echo $ECHO_N "(cached) $ECHO_C" >&6
28932 ac_check_lib_save_LIBS
=$LIBS
28934 cat >conftest.
$ac_ext <<_ACEOF
28937 cat confdefs.h
>>conftest.
$ac_ext
28938 cat >>conftest.
$ac_ext <<_ACEOF
28939 /* end confdefs.h. */
28941 /* Override any gcc2 internal prototype to avoid an error. */
28945 /* We use char because int might match the return type of a gcc2
28946 builtin and then its argument prototype would still apply. */
28947 char gethostbyname ();
28956 rm -f conftest.
$ac_objext conftest
$ac_exeext
28957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28958 (eval $ac_link) 2>conftest.er1
28960 grep -v '^ *+' conftest.er1
>conftest.err
28962 cat conftest.err
>&5
28963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964 (exit $ac_status); } &&
28965 { ac_try
='test -z "$ac_cxx_werror_flag"
28966 || test ! -s conftest.err'
28967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28968 (eval $ac_try) 2>&5
28970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28971 (exit $ac_status); }; } &&
28972 { ac_try
='test -s conftest$ac_exeext'
28973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28974 (eval $ac_try) 2>&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); }; }; then
28978 ac_cv_lib_nsl_gethostbyname
=yes
28980 echo "$as_me: failed program was:" >&5
28981 sed 's/^/| /' conftest.
$ac_ext >&5
28983 ac_cv_lib_nsl_gethostbyname
=no
28985 rm -f conftest.err conftest.
$ac_objext \
28986 conftest
$ac_exeext conftest.
$ac_ext
28987 LIBS
=$ac_check_lib_save_LIBS
28989 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28990 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28991 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28992 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28995 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28996 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28997 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28998 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28999 echo $ECHO_N "(cached) $ECHO_C" >&6
29001 ac_check_lib_save_LIBS
=$LIBS
29003 cat >conftest.
$ac_ext <<_ACEOF
29006 cat confdefs.h
>>conftest.
$ac_ext
29007 cat >>conftest.
$ac_ext <<_ACEOF
29008 /* end confdefs.h. */
29010 /* Override any gcc2 internal prototype to avoid an error. */
29014 /* We use char because int might match the return type of a gcc2
29015 builtin and then its argument prototype would still apply. */
29016 char gethostbyname ();
29025 rm -f conftest.
$ac_objext conftest
$ac_exeext
29026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29027 (eval $ac_link) 2>conftest.er1
29029 grep -v '^ *+' conftest.er1
>conftest.err
29031 cat conftest.err
>&5
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); } &&
29034 { ac_try
='test -z "$ac_cxx_werror_flag"
29035 || test ! -s conftest.err'
29036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29037 (eval $ac_try) 2>&5
29039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29040 (exit $ac_status); }; } &&
29041 { ac_try
='test -s conftest$ac_exeext'
29042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29043 (eval $ac_try) 2>&5
29045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29046 (exit $ac_status); }; }; then
29047 ac_cv_lib_bsd_gethostbyname
=yes
29049 echo "$as_me: failed program was:" >&5
29050 sed 's/^/| /' conftest.
$ac_ext >&5
29052 ac_cv_lib_bsd_gethostbyname
=no
29054 rm -f conftest.err conftest.
$ac_objext \
29055 conftest
$ac_exeext conftest.
$ac_ext
29056 LIBS
=$ac_check_lib_save_LIBS
29058 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29059 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29060 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29061 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
29067 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29068 # socket/setsockopt and other routines are undefined under SCO ODT
29069 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29070 # on later versions), says Simon Leinen: it contains gethostby*
29071 # variants that don't use the name server (or something). -lsocket
29072 # must be given before -lnsl if both are needed. We assume that
29073 # if connect needs -lnsl, so does gethostbyname.
29074 echo "$as_me:$LINENO: checking for connect" >&5
29075 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29076 if test "${ac_cv_func_connect+set}" = set; then
29077 echo $ECHO_N "(cached) $ECHO_C" >&6
29079 cat >conftest.
$ac_ext <<_ACEOF
29082 cat confdefs.h
>>conftest.
$ac_ext
29083 cat >>conftest.
$ac_ext <<_ACEOF
29084 /* end confdefs.h. */
29085 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29087 #define connect innocuous_connect
29089 /* System header to define __stub macros and hopefully few prototypes,
29090 which can conflict with char connect (); below.
29091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29092 <limits.h> exists even on freestanding compilers. */
29095 # include <limits.h>
29097 # include <assert.h>
29102 /* Override any gcc2 internal prototype to avoid an error. */
29107 /* We use char because int might match the return type of a gcc2
29108 builtin and then its argument prototype would still apply. */
29110 /* The GNU C library defines this for functions which it implements
29111 to always fail with ENOSYS. Some functions are actually named
29112 something starting with __ and the normal name is an alias. */
29113 #if defined (__stub_connect) || defined (__stub___connect)
29116 char (*f) () = connect;
29125 return f != connect;
29130 rm -f conftest.
$ac_objext conftest
$ac_exeext
29131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29132 (eval $ac_link) 2>conftest.er1
29134 grep -v '^ *+' conftest.er1
>conftest.err
29136 cat conftest.err
>&5
29137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 (exit $ac_status); } &&
29139 { ac_try
='test -z "$ac_cxx_werror_flag"
29140 || test ! -s conftest.err'
29141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29142 (eval $ac_try) 2>&5
29144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29145 (exit $ac_status); }; } &&
29146 { ac_try
='test -s conftest$ac_exeext'
29147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29148 (eval $ac_try) 2>&5
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); }; }; then
29152 ac_cv_func_connect
=yes
29154 echo "$as_me: failed program was:" >&5
29155 sed 's/^/| /' conftest.
$ac_ext >&5
29157 ac_cv_func_connect
=no
29159 rm -f conftest.err conftest.
$ac_objext \
29160 conftest
$ac_exeext conftest.
$ac_ext
29162 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29163 echo "${ECHO_T}$ac_cv_func_connect" >&6
29165 if test $ac_cv_func_connect = no
; then
29166 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29167 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29168 if test "${ac_cv_lib_socket_connect+set}" = set; then
29169 echo $ECHO_N "(cached) $ECHO_C" >&6
29171 ac_check_lib_save_LIBS
=$LIBS
29172 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29173 cat >conftest.
$ac_ext <<_ACEOF
29176 cat confdefs.h
>>conftest.
$ac_ext
29177 cat >>conftest.
$ac_ext <<_ACEOF
29178 /* end confdefs.h. */
29180 /* Override any gcc2 internal prototype to avoid an error. */
29184 /* We use char because int might match the return type of a gcc2
29185 builtin and then its argument prototype would still apply. */
29195 rm -f conftest.
$ac_objext conftest
$ac_exeext
29196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29197 (eval $ac_link) 2>conftest.er1
29199 grep -v '^ *+' conftest.er1
>conftest.err
29201 cat conftest.err
>&5
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); } &&
29204 { ac_try
='test -z "$ac_cxx_werror_flag"
29205 || test ! -s conftest.err'
29206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29207 (eval $ac_try) 2>&5
29209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29210 (exit $ac_status); }; } &&
29211 { ac_try
='test -s conftest$ac_exeext'
29212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29213 (eval $ac_try) 2>&5
29215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29216 (exit $ac_status); }; }; then
29217 ac_cv_lib_socket_connect
=yes
29219 echo "$as_me: failed program was:" >&5
29220 sed 's/^/| /' conftest.
$ac_ext >&5
29222 ac_cv_lib_socket_connect
=no
29224 rm -f conftest.err conftest.
$ac_objext \
29225 conftest
$ac_exeext conftest.
$ac_ext
29226 LIBS
=$ac_check_lib_save_LIBS
29228 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29229 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29230 if test $ac_cv_lib_socket_connect = yes; then
29231 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
29236 # Guillermo Gomez says -lposix is necessary on A/UX.
29237 echo "$as_me:$LINENO: checking for remove" >&5
29238 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29239 if test "${ac_cv_func_remove+set}" = set; then
29240 echo $ECHO_N "(cached) $ECHO_C" >&6
29242 cat >conftest.
$ac_ext <<_ACEOF
29245 cat confdefs.h
>>conftest.
$ac_ext
29246 cat >>conftest.
$ac_ext <<_ACEOF
29247 /* end confdefs.h. */
29248 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29250 #define remove innocuous_remove
29252 /* System header to define __stub macros and hopefully few prototypes,
29253 which can conflict with char remove (); below.
29254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29255 <limits.h> exists even on freestanding compilers. */
29258 # include <limits.h>
29260 # include <assert.h>
29265 /* Override any gcc2 internal prototype to avoid an error. */
29270 /* We use char because int might match the return type of a gcc2
29271 builtin and then its argument prototype would still apply. */
29273 /* The GNU C library defines this for functions which it implements
29274 to always fail with ENOSYS. Some functions are actually named
29275 something starting with __ and the normal name is an alias. */
29276 #if defined (__stub_remove) || defined (__stub___remove)
29279 char (*f) () = remove;
29288 return f != remove;
29293 rm -f conftest.
$ac_objext conftest
$ac_exeext
29294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29295 (eval $ac_link) 2>conftest.er1
29297 grep -v '^ *+' conftest.er1
>conftest.err
29299 cat conftest.err
>&5
29300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29301 (exit $ac_status); } &&
29302 { ac_try
='test -z "$ac_cxx_werror_flag"
29303 || test ! -s conftest.err'
29304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29305 (eval $ac_try) 2>&5
29307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29308 (exit $ac_status); }; } &&
29309 { ac_try
='test -s conftest$ac_exeext'
29310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29311 (eval $ac_try) 2>&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); }; }; then
29315 ac_cv_func_remove
=yes
29317 echo "$as_me: failed program was:" >&5
29318 sed 's/^/| /' conftest.
$ac_ext >&5
29320 ac_cv_func_remove
=no
29322 rm -f conftest.err conftest.
$ac_objext \
29323 conftest
$ac_exeext conftest.
$ac_ext
29325 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29326 echo "${ECHO_T}$ac_cv_func_remove" >&6
29328 if test $ac_cv_func_remove = no
; then
29329 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29330 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29331 if test "${ac_cv_lib_posix_remove+set}" = set; then
29332 echo $ECHO_N "(cached) $ECHO_C" >&6
29334 ac_check_lib_save_LIBS
=$LIBS
29335 LIBS
="-lposix $LIBS"
29336 cat >conftest.
$ac_ext <<_ACEOF
29339 cat confdefs.h
>>conftest.
$ac_ext
29340 cat >>conftest.
$ac_ext <<_ACEOF
29341 /* end confdefs.h. */
29343 /* Override any gcc2 internal prototype to avoid an error. */
29347 /* We use char because int might match the return type of a gcc2
29348 builtin and then its argument prototype would still apply. */
29358 rm -f conftest.
$ac_objext conftest
$ac_exeext
29359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29360 (eval $ac_link) 2>conftest.er1
29362 grep -v '^ *+' conftest.er1
>conftest.err
29364 cat conftest.err
>&5
29365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29366 (exit $ac_status); } &&
29367 { ac_try
='test -z "$ac_cxx_werror_flag"
29368 || test ! -s conftest.err'
29369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29370 (eval $ac_try) 2>&5
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); }; } &&
29374 { ac_try
='test -s conftest$ac_exeext'
29375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29376 (eval $ac_try) 2>&5
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); }; }; then
29380 ac_cv_lib_posix_remove
=yes
29382 echo "$as_me: failed program was:" >&5
29383 sed 's/^/| /' conftest.
$ac_ext >&5
29385 ac_cv_lib_posix_remove
=no
29387 rm -f conftest.err conftest.
$ac_objext \
29388 conftest
$ac_exeext conftest.
$ac_ext
29389 LIBS
=$ac_check_lib_save_LIBS
29391 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29392 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29393 if test $ac_cv_lib_posix_remove = yes; then
29394 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29399 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29400 echo "$as_me:$LINENO: checking for shmat" >&5
29401 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29402 if test "${ac_cv_func_shmat+set}" = set; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29405 cat >conftest.
$ac_ext <<_ACEOF
29408 cat confdefs.h
>>conftest.
$ac_ext
29409 cat >>conftest.
$ac_ext <<_ACEOF
29410 /* end confdefs.h. */
29411 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29413 #define shmat innocuous_shmat
29415 /* System header to define __stub macros and hopefully few prototypes,
29416 which can conflict with char shmat (); below.
29417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29418 <limits.h> exists even on freestanding compilers. */
29421 # include <limits.h>
29423 # include <assert.h>
29428 /* Override any gcc2 internal prototype to avoid an error. */
29433 /* We use char because int might match the return type of a gcc2
29434 builtin and then its argument prototype would still apply. */
29436 /* The GNU C library defines this for functions which it implements
29437 to always fail with ENOSYS. Some functions are actually named
29438 something starting with __ and the normal name is an alias. */
29439 #if defined (__stub_shmat) || defined (__stub___shmat)
29442 char (*f) () = shmat;
29456 rm -f conftest.
$ac_objext conftest
$ac_exeext
29457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29458 (eval $ac_link) 2>conftest.er1
29460 grep -v '^ *+' conftest.er1
>conftest.err
29462 cat conftest.err
>&5
29463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29464 (exit $ac_status); } &&
29465 { ac_try
='test -z "$ac_cxx_werror_flag"
29466 || test ! -s conftest.err'
29467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29468 (eval $ac_try) 2>&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); }; } &&
29472 { ac_try
='test -s conftest$ac_exeext'
29473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 (eval $ac_try) 2>&5
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); }; }; then
29478 ac_cv_func_shmat
=yes
29480 echo "$as_me: failed program was:" >&5
29481 sed 's/^/| /' conftest.
$ac_ext >&5
29483 ac_cv_func_shmat
=no
29485 rm -f conftest.err conftest.
$ac_objext \
29486 conftest
$ac_exeext conftest.
$ac_ext
29488 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29489 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29491 if test $ac_cv_func_shmat = no
; then
29492 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29493 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29494 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29495 echo $ECHO_N "(cached) $ECHO_C" >&6
29497 ac_check_lib_save_LIBS
=$LIBS
29499 cat >conftest.
$ac_ext <<_ACEOF
29502 cat confdefs.h
>>conftest.
$ac_ext
29503 cat >>conftest.
$ac_ext <<_ACEOF
29504 /* end confdefs.h. */
29506 /* Override any gcc2 internal prototype to avoid an error. */
29510 /* We use char because int might match the return type of a gcc2
29511 builtin and then its argument prototype would still apply. */
29521 rm -f conftest.
$ac_objext conftest
$ac_exeext
29522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29523 (eval $ac_link) 2>conftest.er1
29525 grep -v '^ *+' conftest.er1
>conftest.err
29527 cat conftest.err
>&5
29528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29529 (exit $ac_status); } &&
29530 { ac_try
='test -z "$ac_cxx_werror_flag"
29531 || test ! -s conftest.err'
29532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29533 (eval $ac_try) 2>&5
29535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29536 (exit $ac_status); }; } &&
29537 { ac_try
='test -s conftest$ac_exeext'
29538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29539 (eval $ac_try) 2>&5
29541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29542 (exit $ac_status); }; }; then
29543 ac_cv_lib_ipc_shmat
=yes
29545 echo "$as_me: failed program was:" >&5
29546 sed 's/^/| /' conftest.
$ac_ext >&5
29548 ac_cv_lib_ipc_shmat
=no
29550 rm -f conftest.err conftest.
$ac_objext \
29551 conftest
$ac_exeext conftest.
$ac_ext
29552 LIBS
=$ac_check_lib_save_LIBS
29554 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29555 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29556 if test $ac_cv_lib_ipc_shmat = yes; then
29557 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29563 # Check for libraries that X11R6 Xt/Xaw programs need.
29564 ac_save_LDFLAGS
=$LDFLAGS
29565 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29566 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29567 # check for ICE first), but we must link in the order -lSM -lICE or
29568 # we get undefined symbols. So assume we have SM if we have ICE.
29569 # These have to be linked with before -lX11, unlike the other
29570 # libraries we check for below, so use a different variable.
29571 # John Interrante, Karl Berry
29572 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29573 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29574 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29575 echo $ECHO_N "(cached) $ECHO_C" >&6
29577 ac_check_lib_save_LIBS
=$LIBS
29578 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29579 cat >conftest.
$ac_ext <<_ACEOF
29582 cat confdefs.h
>>conftest.
$ac_ext
29583 cat >>conftest.
$ac_ext <<_ACEOF
29584 /* end confdefs.h. */
29586 /* Override any gcc2 internal prototype to avoid an error. */
29590 /* We use char because int might match the return type of a gcc2
29591 builtin and then its argument prototype would still apply. */
29592 char IceConnectionNumber ();
29596 IceConnectionNumber ();
29601 rm -f conftest.
$ac_objext conftest
$ac_exeext
29602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29603 (eval $ac_link) 2>conftest.er1
29605 grep -v '^ *+' conftest.er1
>conftest.err
29607 cat conftest.err
>&5
29608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29609 (exit $ac_status); } &&
29610 { ac_try
='test -z "$ac_cxx_werror_flag"
29611 || test ! -s conftest.err'
29612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29613 (eval $ac_try) 2>&5
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); }; } &&
29617 { ac_try
='test -s conftest$ac_exeext'
29618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29619 (eval $ac_try) 2>&5
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); }; }; then
29623 ac_cv_lib_ICE_IceConnectionNumber
=yes
29625 echo "$as_me: failed program was:" >&5
29626 sed 's/^/| /' conftest.
$ac_ext >&5
29628 ac_cv_lib_ICE_IceConnectionNumber
=no
29630 rm -f conftest.err conftest.
$ac_objext \
29631 conftest
$ac_exeext conftest.
$ac_ext
29632 LIBS
=$ac_check_lib_save_LIBS
29634 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29635 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29636 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29637 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29640 LDFLAGS
=$ac_save_LDFLAGS
29645 if test "$no_x" = "yes"; then
29646 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29647 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29648 { (exit 1); exit 1; }; }
29651 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29652 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29653 AFMINSTALL
=afminstall
29654 COMPILED_X_PROGRAM
=0
29658 if test "$wxUSE_X11" = 1; then
29659 if test "$wxUSE_NANOX" = "yes"; then
29660 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29661 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29662 if test "x$MICROWIN" = x
; then
29663 echo "$as_me:$LINENO: result: not found" >&5
29664 echo "${ECHO_T}not found" >&6
29665 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29666 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29667 { (exit 1); exit 1; }; }
29669 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29670 echo "${ECHO_T}$MICROWIN" >&6
29671 cat >>confdefs.h
<<\_ACEOF
29672 #define wxUSE_NANOX 1
29678 if test "$wxUSE_UNICODE" = "yes"; then
29682 if test -z "$PKG_CONFIG"; then
29683 # Extract the first word of "pkg-config", so it can be a program name with args.
29684 set dummy pkg
-config; ac_word
=$2
29685 echo "$as_me:$LINENO: checking for $ac_word" >&5
29686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29687 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29688 echo $ECHO_N "(cached) $ECHO_C" >&6
29690 case $PKG_CONFIG in
29692 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29696 for as_dir
in $PATH
29699 test -z "$as_dir" && as_dir
=.
29700 for ac_exec_ext
in '' $ac_executable_extensions; do
29701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29702 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29709 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29713 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29715 if test -n "$PKG_CONFIG"; then
29716 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29717 echo "${ECHO_T}$PKG_CONFIG" >&6
29719 echo "$as_me:$LINENO: result: no" >&5
29720 echo "${ECHO_T}no" >&6
29725 if test "$PKG_CONFIG" = "no" ; then
29726 echo "*** The pkg-config script could not be found. Make sure it is"
29727 echo "*** in your path, or set the PKG_CONFIG environment variable"
29728 echo "*** to the full path to pkg-config."
29729 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29731 PKG_CONFIG_MIN_VERSION
=0.9.0
29732 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29733 echo "$as_me:$LINENO: checking for pangox" >&5
29734 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29736 if $PKG_CONFIG --exists "pangox" ; then
29737 echo "$as_me:$LINENO: result: yes" >&5
29738 echo "${ECHO_T}yes" >&6
29741 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29742 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29743 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
29744 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29745 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29747 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29748 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29749 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
29750 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29751 echo "${ECHO_T}$PANGOX_LIBS" >&6
29755 ## If we have a custom action on failure, don't print errors, but
29756 ## do set a variable so people can do so.
29757 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29764 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29765 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29769 if test $succeeded = yes; then
29771 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29772 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29776 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29777 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29778 { (exit 1); exit 1; }; }
29786 if test -z "$PKG_CONFIG"; then
29787 # Extract the first word of "pkg-config", so it can be a program name with args.
29788 set dummy pkg
-config; ac_word
=$2
29789 echo "$as_me:$LINENO: checking for $ac_word" >&5
29790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29791 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29792 echo $ECHO_N "(cached) $ECHO_C" >&6
29794 case $PKG_CONFIG in
29796 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29800 for as_dir
in $PATH
29803 test -z "$as_dir" && as_dir
=.
29804 for ac_exec_ext
in '' $ac_executable_extensions; do
29805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29806 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29813 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29817 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29819 if test -n "$PKG_CONFIG"; then
29820 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29821 echo "${ECHO_T}$PKG_CONFIG" >&6
29823 echo "$as_me:$LINENO: result: no" >&5
29824 echo "${ECHO_T}no" >&6
29829 if test "$PKG_CONFIG" = "no" ; then
29830 echo "*** The pkg-config script could not be found. Make sure it is"
29831 echo "*** in your path, or set the PKG_CONFIG environment variable"
29832 echo "*** to the full path to pkg-config."
29833 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29835 PKG_CONFIG_MIN_VERSION
=0.9.0
29836 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29837 echo "$as_me:$LINENO: checking for pangoft2" >&5
29838 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29840 if $PKG_CONFIG --exists "pangoft2" ; then
29841 echo "$as_me:$LINENO: result: yes" >&5
29842 echo "${ECHO_T}yes" >&6
29845 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29846 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29847 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
29848 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29849 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29851 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29852 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29853 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
29854 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29855 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29859 ## If we have a custom action on failure, don't print errors, but
29860 ## do set a variable so people can do so.
29861 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29868 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29869 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29873 if test $succeeded = yes; then
29875 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29876 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29880 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29881 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29882 wxUSE_PRINTING_ARCHITECTURE
="no"
29890 if test -z "$PKG_CONFIG"; then
29891 # Extract the first word of "pkg-config", so it can be a program name with args.
29892 set dummy pkg
-config; ac_word
=$2
29893 echo "$as_me:$LINENO: checking for $ac_word" >&5
29894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29895 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29896 echo $ECHO_N "(cached) $ECHO_C" >&6
29898 case $PKG_CONFIG in
29900 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29904 for as_dir
in $PATH
29907 test -z "$as_dir" && as_dir
=.
29908 for ac_exec_ext
in '' $ac_executable_extensions; do
29909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29910 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29917 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29921 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29923 if test -n "$PKG_CONFIG"; then
29924 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29925 echo "${ECHO_T}$PKG_CONFIG" >&6
29927 echo "$as_me:$LINENO: result: no" >&5
29928 echo "${ECHO_T}no" >&6
29933 if test "$PKG_CONFIG" = "no" ; then
29934 echo "*** The pkg-config script could not be found. Make sure it is"
29935 echo "*** in your path, or set the PKG_CONFIG environment variable"
29936 echo "*** to the full path to pkg-config."
29937 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29939 PKG_CONFIG_MIN_VERSION
=0.9.0
29940 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29941 echo "$as_me:$LINENO: checking for pangoxft" >&5
29942 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29944 if $PKG_CONFIG --exists "pangoxft" ; then
29945 echo "$as_me:$LINENO: result: yes" >&5
29946 echo "${ECHO_T}yes" >&6
29949 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29950 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29951 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29952 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29953 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29955 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29956 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29957 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29958 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29959 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29963 ## If we have a custom action on failure, don't print errors, but
29964 ## do set a variable so people can do so.
29965 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29972 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29973 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29977 if test $succeeded = yes; then
29979 cat >>confdefs.h
<<\_ACEOF
29980 #define HAVE_PANGO_XFT 1
29983 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29984 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29988 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29989 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29994 save_CXXFLAGS
="$CXXFLAGS"
29996 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29997 LIBS
="$LIBS $PANGOX_LIBS"
29999 for ac_func
in pango_font_family_is_monospace
30001 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30002 echo "$as_me:$LINENO: checking for $ac_func" >&5
30003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30004 if eval "test \"\${$as_ac_var+set}\" = set"; then
30005 echo $ECHO_N "(cached) $ECHO_C" >&6
30007 cat >conftest.
$ac_ext <<_ACEOF
30010 cat confdefs.h
>>conftest.
$ac_ext
30011 cat >>conftest.
$ac_ext <<_ACEOF
30012 /* end confdefs.h. */
30013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30015 #define $ac_func innocuous_$ac_func
30017 /* System header to define __stub macros and hopefully few prototypes,
30018 which can conflict with char $ac_func (); below.
30019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30020 <limits.h> exists even on freestanding compilers. */
30023 # include <limits.h>
30025 # include <assert.h>
30030 /* Override any gcc2 internal prototype to avoid an error. */
30035 /* We use char because int might match the return type of a gcc2
30036 builtin and then its argument prototype would still apply. */
30038 /* The GNU C library defines this for functions which it implements
30039 to always fail with ENOSYS. Some functions are actually named
30040 something starting with __ and the normal name is an alias. */
30041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30044 char (*f) () = $ac_func;
30053 return f != $ac_func;
30058 rm -f conftest.
$ac_objext conftest
$ac_exeext
30059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30060 (eval $ac_link) 2>conftest.er1
30062 grep -v '^ *+' conftest.er1
>conftest.err
30064 cat conftest.err
>&5
30065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30066 (exit $ac_status); } &&
30067 { ac_try
='test -z "$ac_cxx_werror_flag"
30068 || test ! -s conftest.err'
30069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30070 (eval $ac_try) 2>&5
30072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073 (exit $ac_status); }; } &&
30074 { ac_try
='test -s conftest$ac_exeext'
30075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30076 (eval $ac_try) 2>&5
30078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30079 (exit $ac_status); }; }; then
30080 eval "$as_ac_var=yes"
30082 echo "$as_me: failed program was:" >&5
30083 sed 's/^/| /' conftest.
$ac_ext >&5
30085 eval "$as_ac_var=no"
30087 rm -f conftest.err conftest.
$ac_objext \
30088 conftest
$ac_exeext conftest.
$ac_ext
30090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30092 if test `eval echo '${'$as_ac_var'}'` = yes; then
30093 cat >>confdefs.h
<<_ACEOF
30094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30100 CXXFLAGS
="$save_CXXFLAGS"
30104 wxUSE_UNIVERSAL
="yes"
30106 if test "$wxUSE_NANOX" = "yes"; then
30107 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30108 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"
30109 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30111 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
30118 if test "$wxUSE_MOTIF" = 1; then
30119 if test "$wxUSE_UNICODE" = "yes"; then
30120 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30121 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30122 { (exit 1); exit 1; }; }
30125 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30126 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30129 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30131 if test -f "$ac_dir/Xm/Xm.h"; then
30132 ac_find_includes
=$ac_dir
30137 if test "$ac_find_includes" != "" ; then
30138 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30139 echo "${ECHO_T}found in $ac_find_includes" >&6
30141 if test "x$ac_find_includes" = "x/usr/include"; then
30142 ac_path_to_include
=""
30144 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
30146 if test $result = 0; then
30147 ac_path_to_include
=""
30149 ac_path_to_include
=" -I$ac_find_includes"
30153 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
30155 save_CXXFLAGS
=$CXXFLAGS
30156 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30158 cat >conftest.
$ac_ext <<_ACEOF
30161 cat confdefs.h
>>conftest.
$ac_ext
30162 cat >>conftest.
$ac_ext <<_ACEOF
30163 /* end confdefs.h. */
30172 version = xmUseVersion;
30178 rm -f conftest.
$ac_objext
30179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30180 (eval $ac_compile) 2>conftest.er1
30182 grep -v '^ *+' conftest.er1
>conftest.err
30184 cat conftest.err
>&5
30185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30186 (exit $ac_status); } &&
30187 { ac_try
='test -z "$ac_cxx_werror_flag"
30188 || test ! -s conftest.err'
30189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30190 (eval $ac_try) 2>&5
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 (exit $ac_status); }; } &&
30194 { ac_try
='test -s conftest.$ac_objext'
30195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30196 (eval $ac_try) 2>&5
30198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199 (exit $ac_status); }; }; then
30201 echo "$as_me:$LINENO: result: found in default search path" >&5
30202 echo "${ECHO_T}found in default search path" >&6
30203 COMPILED_X_PROGRAM
=1
30206 echo "$as_me: failed program was:" >&5
30207 sed 's/^/| /' conftest.
$ac_ext >&5
30210 echo "$as_me:$LINENO: result: no" >&5
30211 echo "${ECHO_T}no" >&6
30212 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30213 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30214 { (exit 1); exit 1; }; }
30218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30220 CXXFLAGS
=$save_CXXFLAGS
30224 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30225 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30228 for ac_dir
in $SEARCH_LIB;
30230 for ac_extension
in a so sl dylib dll.a
; do
30231 if test -f "$ac_dir/libXm.$ac_extension"; then
30232 ac_find_libraries
=$ac_dir
30239 if test "x$ac_find_libraries" != "x" ; then
30240 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30241 echo "${ECHO_T}found in $ac_find_libraries" >&6
30244 if test "$ac_find_libraries" = "default location"; then
30247 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30249 if test $result = 0; then
30252 ac_path_to_link
=" -L$ac_find_libraries"
30256 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30258 save_CXXFLAGS
=$CXXFLAGS
30259 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30261 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30263 cat >conftest.
$ac_ext <<_ACEOF
30266 cat confdefs.h
>>conftest.
$ac_ext
30267 cat >>conftest.
$ac_ext <<_ACEOF
30268 /* end confdefs.h. */
30277 version = xmUseVersion;
30283 rm -f conftest.
$ac_objext conftest
$ac_exeext
30284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30285 (eval $ac_link) 2>conftest.er1
30287 grep -v '^ *+' conftest.er1
>conftest.err
30289 cat conftest.err
>&5
30290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30291 (exit $ac_status); } &&
30292 { ac_try
='test -z "$ac_cxx_werror_flag"
30293 || test ! -s conftest.err'
30294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30295 (eval $ac_try) 2>&5
30297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30298 (exit $ac_status); }; } &&
30299 { ac_try
='test -s conftest$ac_exeext'
30300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30301 (eval $ac_try) 2>&5
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); }; }; then
30306 echo "$as_me:$LINENO: result: found in default search path" >&5
30307 echo "${ECHO_T}found in default search path" >&6
30308 COMPILED_X_PROGRAM
=1
30311 echo "$as_me: failed program was:" >&5
30312 sed 's/^/| /' conftest.
$ac_ext >&5
30315 echo "$as_me:$LINENO: result: no" >&5
30316 echo "${ECHO_T}no" >&6
30317 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30318 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30319 { (exit 1); exit 1; }; }
30323 rm -f conftest.err conftest.
$ac_objext \
30324 conftest
$ac_exeext conftest.
$ac_ext
30326 CXXFLAGS
=$save_CXXFLAGS
30330 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30331 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30335 for libp
in "" " -lXp"; do
30336 if test "$libs_found" = "0"; then
30337 for libsm_ice
in "" " -lSM -lICE"; do
30338 if test "$libs_found" = "0"; then
30340 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30341 save_CXXFLAGS
=$CXXFLAGS
30342 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30344 cat >conftest.
$ac_ext <<_ACEOF
30347 cat confdefs.h
>>conftest.
$ac_ext
30348 cat >>conftest.
$ac_ext <<_ACEOF
30349 /* end confdefs.h. */
30352 #include <Xm/List.h>
30358 XmString string = NULL;
30361 XmListAddItem(w, string, position);
30367 rm -f conftest.
$ac_objext conftest
$ac_exeext
30368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30369 (eval $ac_link) 2>conftest.er1
30371 grep -v '^ *+' conftest.er1
>conftest.err
30373 cat conftest.err
>&5
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); } &&
30376 { ac_try
='test -z "$ac_cxx_werror_flag"
30377 || test ! -s conftest.err'
30378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30379 (eval $ac_try) 2>&5
30381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30382 (exit $ac_status); }; } &&
30383 { ac_try
='test -s conftest$ac_exeext'
30384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30385 (eval $ac_try) 2>&5
30387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30388 (exit $ac_status); }; }; then
30391 libsm_ice_link
="$libsm_ice"
30392 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30393 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30397 echo "$as_me: failed program was:" >&5
30398 sed 's/^/| /' conftest.
$ac_ext >&5
30403 rm -f conftest.err conftest.
$ac_objext \
30404 conftest
$ac_exeext conftest.
$ac_ext
30407 CXXFLAGS
=$save_CXXFLAGS
30413 if test "$libs_found" = "0"; then
30414 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30415 echo "${ECHO_T}can't find the right libraries" >&6
30416 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30417 echo "$as_me: error: can't link a simple motif program" >&2;}
30418 { (exit 1); exit 1; }; }
30421 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30422 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30423 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30424 echo $ECHO_N "(cached) $ECHO_C" >&6
30426 ac_check_lib_save_LIBS
=$LIBS
30428 cat >conftest.
$ac_ext <<_ACEOF
30431 cat confdefs.h
>>conftest.
$ac_ext
30432 cat >>conftest.
$ac_ext <<_ACEOF
30433 /* end confdefs.h. */
30435 /* Override any gcc2 internal prototype to avoid an error. */
30439 /* We use char because int might match the return type of a gcc2
30440 builtin and then its argument prototype would still apply. */
30441 char SgCreateList ();
30450 rm -f conftest.
$ac_objext conftest
$ac_exeext
30451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30452 (eval $ac_link) 2>conftest.er1
30454 grep -v '^ *+' conftest.er1
>conftest.err
30456 cat conftest.err
>&5
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); } &&
30459 { ac_try
='test -z "$ac_cxx_werror_flag"
30460 || test ! -s conftest.err'
30461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30462 (eval $ac_try) 2>&5
30464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30465 (exit $ac_status); }; } &&
30466 { ac_try
='test -s conftest$ac_exeext'
30467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30468 (eval $ac_try) 2>&5
30470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30471 (exit $ac_status); }; }; then
30472 ac_cv_lib_Sgm_SgCreateList
=yes
30474 echo "$as_me: failed program was:" >&5
30475 sed 's/^/| /' conftest.
$ac_ext >&5
30477 ac_cv_lib_Sgm_SgCreateList
=no
30479 rm -f conftest.err conftest.
$ac_objext \
30480 conftest
$ac_exeext conftest.
$ac_ext
30481 LIBS
=$ac_check_lib_save_LIBS
30483 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30484 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30485 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30486 libsgm_link
=" -lSgm"
30490 save_CXXFLAGS
=$CXXFLAGS
30491 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30493 echo "$as_me:$LINENO: checking for Motif 2" >&5
30494 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30495 if test "${wx_cv_lib_motif2+set}" = set; then
30496 echo $ECHO_N "(cached) $ECHO_C" >&6
30498 cat >conftest.
$ac_ext <<_ACEOF
30501 cat confdefs.h
>>conftest.
$ac_ext
30502 cat >>conftest.
$ac_ext <<_ACEOF
30503 /* end confdefs.h. */
30511 #if XmVersion < 2000
30519 rm -f conftest.
$ac_objext
30520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30521 (eval $ac_compile) 2>conftest.er1
30523 grep -v '^ *+' conftest.er1
>conftest.err
30525 cat conftest.err
>&5
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); } &&
30528 { ac_try
='test -z "$ac_cxx_werror_flag"
30529 || test ! -s conftest.err'
30530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30531 (eval $ac_try) 2>&5
30533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534 (exit $ac_status); }; } &&
30535 { ac_try
='test -s conftest.$ac_objext'
30536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30537 (eval $ac_try) 2>&5
30539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30540 (exit $ac_status); }; }; then
30541 wx_cv_lib_motif2
="yes"
30543 echo "$as_me: failed program was:" >&5
30544 sed 's/^/| /' conftest.
$ac_ext >&5
30546 wx_cv_lib_motif2
="no"
30548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30550 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30551 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30552 if test "$wx_cv_lib_motif2" = "yes"; then
30553 cat >>confdefs.h
<<\_ACEOF
30554 #define __WXMOTIF20__ 1
30558 cat >>confdefs.h
<<\_ACEOF
30559 #define __WXMOTIF20__ 0
30564 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30565 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30566 if test "${wx_cv_lib_lesstif+set}" = set; then
30567 echo $ECHO_N "(cached) $ECHO_C" >&6
30569 cat >conftest.
$ac_ext <<_ACEOF
30572 cat confdefs.h
>>conftest.
$ac_ext
30573 cat >>conftest.
$ac_ext <<_ACEOF
30574 /* end confdefs.h. */
30582 #if !defined(LesstifVersion) || LesstifVersion <= 0
30590 rm -f conftest.
$ac_objext
30591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30592 (eval $ac_compile) 2>conftest.er1
30594 grep -v '^ *+' conftest.er1
>conftest.err
30596 cat conftest.err
>&5
30597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30598 (exit $ac_status); } &&
30599 { ac_try
='test -z "$ac_cxx_werror_flag"
30600 || test ! -s conftest.err'
30601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30602 (eval $ac_try) 2>&5
30604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30605 (exit $ac_status); }; } &&
30606 { ac_try
='test -s conftest.$ac_objext'
30607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30608 (eval $ac_try) 2>&5
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); }; }; then
30612 wx_cv_lib_lesstif
="yes"
30614 echo "$as_me: failed program was:" >&5
30615 sed 's/^/| /' conftest.
$ac_ext >&5
30617 wx_cv_lib_lesstif
="no"
30619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30622 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30623 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30624 if test "$wx_cv_lib_lesstif" = "yes"; then
30625 cat >>confdefs.h
<<\_ACEOF
30626 #define __WXLESSTIF__ 1
30630 cat >>confdefs.h
<<\_ACEOF
30631 #define __WXLESSTIF__ 0
30636 CXXFLAGS
=$save_CXXFLAGS
30638 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30643 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30644 if test "$wxUSE_LIBXPM" = "sys"; then
30645 echo "$as_me:$LINENO: checking for Xpm library" >&5
30646 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30649 for ac_dir
in $SEARCH_LIB;
30651 for ac_extension
in a so sl dylib dll.a
; do
30652 if test -f "$ac_dir/libXpm.$ac_extension"; then
30653 ac_find_libraries
=$ac_dir
30659 if test "$ac_find_libraries" != "" ; then
30661 if test "$ac_find_libraries" = "default location"; then
30664 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30666 if test $result = 0; then
30669 ac_path_to_link
=" -L$ac_find_libraries"
30673 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30674 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30675 echo "${ECHO_T}found in $ac_find_libraries" >&6
30677 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30678 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30679 if test "${wx_cv_x11_xpm_h+set}" = set; then
30680 echo $ECHO_N "(cached) $ECHO_C" >&6
30683 save_CXXFLAGS
=$CXXFLAGS
30684 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30686 cat >conftest.
$ac_ext <<_ACEOF
30689 cat confdefs.h
>>conftest.
$ac_ext
30690 cat >>conftest.
$ac_ext <<_ACEOF
30691 /* end confdefs.h. */
30693 #include <X11/xpm.h>
30700 version = XpmLibraryVersion();
30706 rm -f conftest.
$ac_objext
30707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30708 (eval $ac_compile) 2>conftest.er1
30710 grep -v '^ *+' conftest.er1
>conftest.err
30712 cat conftest.err
>&5
30713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30714 (exit $ac_status); } &&
30715 { ac_try
='test -z "$ac_cxx_werror_flag"
30716 || test ! -s conftest.err'
30717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30718 (eval $ac_try) 2>&5
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); }; } &&
30722 { ac_try
='test -s conftest.$ac_objext'
30723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30724 (eval $ac_try) 2>&5
30726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727 (exit $ac_status); }; }; then
30728 wx_cv_x11_xpm_h
=yes
30730 echo "$as_me: failed program was:" >&5
30731 sed 's/^/| /' conftest.
$ac_ext >&5
30736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30738 CXXFLAGS
=$save_CXXFLAGS
30742 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30743 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30745 if test $wx_cv_x11_xpm_h = "yes"; then
30746 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30747 cat >>confdefs.h
<<\_ACEOF
30748 #define wxHAVE_LIB_XPM 1
30752 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30753 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30759 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30760 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30761 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30762 echo $ECHO_N "(cached) $ECHO_C" >&6
30764 ac_check_lib_save_LIBS
=$LIBS
30765 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30766 cat >conftest.
$ac_ext <<_ACEOF
30769 cat confdefs.h
>>conftest.
$ac_ext
30770 cat >>conftest.
$ac_ext <<_ACEOF
30771 /* end confdefs.h. */
30773 /* Override any gcc2 internal prototype to avoid an error. */
30777 /* We use char because int might match the return type of a gcc2
30778 builtin and then its argument prototype would still apply. */
30779 char XShapeQueryExtension ();
30783 XShapeQueryExtension ();
30788 rm -f conftest.
$ac_objext conftest
$ac_exeext
30789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30790 (eval $ac_link) 2>conftest.er1
30792 grep -v '^ *+' conftest.er1
>conftest.err
30794 cat conftest.err
>&5
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); } &&
30797 { ac_try
='test -z "$ac_cxx_werror_flag"
30798 || test ! -s conftest.err'
30799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30800 (eval $ac_try) 2>&5
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; } &&
30804 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
30810 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30812 echo "$as_me: failed program was:" >&5
30813 sed 's/^/| /' conftest.
$ac_ext >&5
30815 ac_cv_lib_Xext_XShapeQueryExtension
=no
30817 rm -f conftest.err conftest.
$ac_objext \
30818 conftest
$ac_exeext conftest.
$ac_ext
30819 LIBS
=$ac_check_lib_save_LIBS
30821 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30822 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30823 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30825 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30831 if test "$wxHAVE_XEXT_LIB" = 1; then
30832 save_CXXFLAGS
="$CXXFLAGS"
30833 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30835 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30836 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30837 cat >conftest.
$ac_ext <<_ACEOF
30840 cat confdefs.h
>>conftest.
$ac_ext
30841 cat >>conftest.
$ac_ext <<_ACEOF
30842 /* end confdefs.h. */
30844 #include <X11/Xlib.h>
30845 #include <X11/extensions/shape.h>
30851 int dummy1, dummy2;
30852 XShapeQueryExtension((Display*)NULL,
30853 (int*)NULL, (int*)NULL);
30859 rm -f conftest.
$ac_objext
30860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30861 (eval $ac_compile) 2>conftest.er1
30863 grep -v '^ *+' conftest.er1
>conftest.err
30865 cat conftest.err
>&5
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); } &&
30868 { ac_try
='test -z "$ac_cxx_werror_flag"
30869 || test ! -s conftest.err'
30870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30871 (eval $ac_try) 2>&5
30873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30874 (exit $ac_status); }; } &&
30875 { ac_try
='test -s conftest.$ac_objext'
30876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30877 (eval $ac_try) 2>&5
30879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30880 (exit $ac_status); }; }; then
30882 cat >>confdefs.h
<<\_ACEOF
30883 #define HAVE_XSHAPE 1
30886 echo "$as_me:$LINENO: result: found" >&5
30887 echo "${ECHO_T}found" >&6
30890 echo "$as_me: failed program was:" >&5
30891 sed 's/^/| /' conftest.
$ac_ext >&5
30894 echo "$as_me:$LINENO: result: not found" >&5
30895 echo "${ECHO_T}not found" >&6
30898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30899 CXXFLAGS
="$save_CXXFLAGS"
30904 if test "$wxUSE_MAC" = 1; then
30905 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30906 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30907 if test "$GCC" = yes; then
30908 echo "$as_me:$LINENO: result: gcc" >&5
30909 echo "${ECHO_T}gcc" >&6
30910 CPPFLAGS_PASCAL
="-fpascal-strings"
30911 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30912 echo "$as_me:$LINENO: result: xlc" >&5
30913 echo "${ECHO_T}xlc" >&6
30914 CPPFLAGS_PASCAL
="-qmacpstr"
30916 echo "$as_me:$LINENO: result: none" >&5
30917 echo "${ECHO_T}none" >&6
30920 if test "x$wxUSE_UNIX" = "xyes"; then
30921 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30923 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30928 WXBASEPORT
="_carbon"
30931 if test "$wxUSE_COCOA" = 1; then
30936 if test "$wxUSE_PM" = 1; then
30939 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30940 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30941 if test "${wx_cv_spbcdata+set}" = set; then
30942 echo $ECHO_N "(cached) $ECHO_C" >&6
30945 cat >conftest.
$ac_ext <<_ACEOF
30948 cat confdefs.h
>>conftest.
$ac_ext
30949 cat >>conftest.
$ac_ext <<_ACEOF
30950 /* end confdefs.h. */
30965 rm -f conftest.
$ac_objext
30966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30967 (eval $ac_compile) 2>conftest.er1
30969 grep -v '^ *+' conftest.er1
>conftest.err
30971 cat conftest.err
>&5
30972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30973 (exit $ac_status); } &&
30974 { ac_try
='test -z "$ac_cxx_werror_flag"
30975 || test ! -s conftest.err'
30976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30977 (eval $ac_try) 2>&5
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); }; } &&
30981 { ac_try
='test -s conftest.$ac_objext'
30982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30983 (eval $ac_try) 2>&5
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); }; }; then
30989 echo "$as_me: failed program was:" >&5
30990 sed 's/^/| /' conftest.
$ac_ext >&5
30995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30999 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31000 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31002 if test $wx_cv_spbcdata = "yes"; then
31003 cat >>confdefs.h
<<\_ACEOF
31004 #define HAVE_SPBCDATA 1
31010 if test "$TOOLKIT" = "PM" ; then
31013 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31016 if test "$wxUSE_UNIVERSAL" = "yes"; then
31017 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31021 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31022 DISTDIR
="wx\$(TOOLKIT)"
31028 if test "$USE_WIN32" = 1 ; then
31032 GUIDIST
="BASE_DIST"
31037 if test "$wxUSE_GUI" = "yes"; then
31038 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31040 for ac_header
in X
11/Xlib.h
31042 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31044 echo "$as_me:$LINENO: checking for $ac_header" >&5
31045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31047 echo $ECHO_N "(cached) $ECHO_C" >&6
31049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31052 # Is the header compilable?
31053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31055 cat >conftest.
$ac_ext <<_ACEOF
31058 cat confdefs.h
>>conftest.
$ac_ext
31059 cat >>conftest.
$ac_ext <<_ACEOF
31060 /* end confdefs.h. */
31061 $ac_includes_default
31062 #include <$ac_header>
31064 rm -f conftest.
$ac_objext
31065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31066 (eval $ac_compile) 2>conftest.er1
31068 grep -v '^ *+' conftest.er1
>conftest.err
31070 cat conftest.err
>&5
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); } &&
31073 { ac_try
='test -z "$ac_cxx_werror_flag"
31074 || test ! -s conftest.err'
31075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31076 (eval $ac_try) 2>&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); }; } &&
31080 { ac_try
='test -s conftest.$ac_objext'
31081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31082 (eval $ac_try) 2>&5
31084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31085 (exit $ac_status); }; }; then
31086 ac_header_compiler
=yes
31088 echo "$as_me: failed program was:" >&5
31089 sed 's/^/| /' conftest.
$ac_ext >&5
31091 ac_header_compiler
=no
31093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31095 echo "${ECHO_T}$ac_header_compiler" >&6
31097 # Is the header present?
31098 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31099 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31100 cat >conftest.
$ac_ext <<_ACEOF
31103 cat confdefs.h
>>conftest.
$ac_ext
31104 cat >>conftest.
$ac_ext <<_ACEOF
31105 /* end confdefs.h. */
31106 #include <$ac_header>
31108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31109 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31111 grep -v '^ *+' conftest.er1
>conftest.err
31113 cat conftest.err
>&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); } >/dev
/null
; then
31116 if test -s conftest.err
; then
31117 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31118 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31125 if test -z "$ac_cpp_err"; then
31126 ac_header_preproc
=yes
31128 echo "$as_me: failed program was:" >&5
31129 sed 's/^/| /' conftest.
$ac_ext >&5
31131 ac_header_preproc
=no
31133 rm -f conftest.err conftest.
$ac_ext
31134 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31135 echo "${ECHO_T}$ac_header_preproc" >&6
31137 # So? What about this header?
31138 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31144 ac_header_preproc
=yes
31147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31150 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31151 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31152 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31153 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31154 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31157 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31158 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31161 ## ----------------------------------------- ##
31162 ## Report this to wx-dev@lists.wxwidgets.org ##
31163 ## ----------------------------------------- ##
31166 sed "s/^/$as_me: WARNING: /" >&2
31169 echo "$as_me:$LINENO: checking for $ac_header" >&5
31170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31172 echo $ECHO_N "(cached) $ECHO_C" >&6
31174 eval "$as_ac_Header=\$ac_header_preproc"
31176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31181 cat >>confdefs.h
<<_ACEOF
31182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31190 for ac_header
in X
11/XKBlib.h
31192 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31193 echo "$as_me:$LINENO: checking for $ac_header" >&5
31194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31196 echo $ECHO_N "(cached) $ECHO_C" >&6
31198 cat >conftest.
$ac_ext <<_ACEOF
31201 cat confdefs.h
>>conftest.
$ac_ext
31202 cat >>conftest.
$ac_ext <<_ACEOF
31203 /* end confdefs.h. */
31205 #if HAVE_X11_XLIB_H
31206 #include <X11/Xlib.h>
31210 #include <$ac_header>
31212 rm -f conftest.
$ac_objext
31213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31214 (eval $ac_compile) 2>conftest.er1
31216 grep -v '^ *+' conftest.er1
>conftest.err
31218 cat conftest.err
>&5
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); } &&
31221 { ac_try
='test -z "$ac_cxx_werror_flag"
31222 || test ! -s conftest.err'
31223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31224 (eval $ac_try) 2>&5
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); }; } &&
31228 { ac_try
='test -s conftest.$ac_objext'
31229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31230 (eval $ac_try) 2>&5
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); }; }; then
31234 eval "$as_ac_Header=yes"
31236 echo "$as_me: failed program was:" >&5
31237 sed 's/^/| /' conftest.
$ac_ext >&5
31239 eval "$as_ac_Header=no"
31241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31246 cat >>confdefs.h
<<_ACEOF
31247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31262 if test "$TOOLKIT" != "MSW" ; then
31264 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31266 if test "${ac_cv_header_sql_h+set}" = set; then
31267 echo "$as_me:$LINENO: checking for sql.h" >&5
31268 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31269 if test "${ac_cv_header_sql_h+set}" = set; then
31270 echo $ECHO_N "(cached) $ECHO_C" >&6
31272 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31273 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31275 # Is the header compilable?
31276 echo "$as_me:$LINENO: checking sql.h usability" >&5
31277 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31278 cat >conftest.
$ac_ext <<_ACEOF
31281 cat confdefs.h
>>conftest.
$ac_ext
31282 cat >>conftest.
$ac_ext <<_ACEOF
31283 /* end confdefs.h. */
31284 $ac_includes_default
31287 rm -f conftest.
$ac_objext
31288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31289 (eval $ac_compile) 2>conftest.er1
31291 grep -v '^ *+' conftest.er1
>conftest.err
31293 cat conftest.err
>&5
31294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31295 (exit $ac_status); } &&
31296 { ac_try
='test -z "$ac_cxx_werror_flag"
31297 || test ! -s conftest.err'
31298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31299 (eval $ac_try) 2>&5
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); }; } &&
31303 { ac_try
='test -s conftest.$ac_objext'
31304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31305 (eval $ac_try) 2>&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); }; }; then
31309 ac_header_compiler
=yes
31311 echo "$as_me: failed program was:" >&5
31312 sed 's/^/| /' conftest.
$ac_ext >&5
31314 ac_header_compiler
=no
31316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31318 echo "${ECHO_T}$ac_header_compiler" >&6
31320 # Is the header present?
31321 echo "$as_me:$LINENO: checking sql.h presence" >&5
31322 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31323 cat >conftest.
$ac_ext <<_ACEOF
31326 cat confdefs.h
>>conftest.
$ac_ext
31327 cat >>conftest.
$ac_ext <<_ACEOF
31328 /* end confdefs.h. */
31331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31332 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31334 grep -v '^ *+' conftest.er1
>conftest.err
31336 cat conftest.err
>&5
31337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31338 (exit $ac_status); } >/dev
/null
; then
31339 if test -s conftest.err
; then
31340 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31341 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31348 if test -z "$ac_cpp_err"; then
31349 ac_header_preproc
=yes
31351 echo "$as_me: failed program was:" >&5
31352 sed 's/^/| /' conftest.
$ac_ext >&5
31354 ac_header_preproc
=no
31356 rm -f conftest.err conftest.
$ac_ext
31357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31358 echo "${ECHO_T}$ac_header_preproc" >&6
31360 # So? What about this header?
31361 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31363 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31364 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31365 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31366 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31367 ac_header_preproc
=yes
31370 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31371 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31372 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31373 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31374 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31375 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31376 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31377 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31378 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31379 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31380 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31381 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31384 ## ----------------------------------------- ##
31385 ## Report this to wx-dev@lists.wxwidgets.org ##
31386 ## ----------------------------------------- ##
31389 sed "s/^/$as_me: WARNING: /" >&2
31392 echo "$as_me:$LINENO: checking for sql.h" >&5
31393 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31394 if test "${ac_cv_header_sql_h+set}" = set; then
31395 echo $ECHO_N "(cached) $ECHO_C" >&6
31397 ac_cv_header_sql_h
=$ac_header_preproc
31399 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31400 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31403 if test $ac_cv_header_sql_h = yes; then
31408 if test "x$found_sql_h" = "x1" ; then
31409 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31410 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31411 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31412 echo $ECHO_N "(cached) $ECHO_C" >&6
31414 ac_check_lib_save_LIBS
=$LIBS
31415 LIBS
="-liodbc $LIBS"
31416 cat >conftest.
$ac_ext <<_ACEOF
31419 cat confdefs.h
>>conftest.
$ac_ext
31420 cat >>conftest.
$ac_ext <<_ACEOF
31421 /* end confdefs.h. */
31423 /* Override any gcc2 internal prototype to avoid an error. */
31427 /* We use char because int might match the return type of a gcc2
31428 builtin and then its argument prototype would still apply. */
31429 char SQLAllocEnv ();
31438 rm -f conftest.
$ac_objext conftest
$ac_exeext
31439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31440 (eval $ac_link) 2>conftest.er1
31442 grep -v '^ *+' conftest.er1
>conftest.err
31444 cat conftest.err
>&5
31445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31446 (exit $ac_status); } &&
31447 { ac_try
='test -z "$ac_cxx_werror_flag"
31448 || test ! -s conftest.err'
31449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31450 (eval $ac_try) 2>&5
31452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31453 (exit $ac_status); }; } &&
31454 { ac_try
='test -s conftest$ac_exeext'
31455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31456 (eval $ac_try) 2>&5
31458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31459 (exit $ac_status); }; }; then
31460 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31462 echo "$as_me: failed program was:" >&5
31463 sed 's/^/| /' conftest.
$ac_ext >&5
31465 ac_cv_lib_iodbc_SQLAllocEnv
=no
31467 rm -f conftest.err conftest.
$ac_objext \
31468 conftest
$ac_exeext conftest.
$ac_ext
31469 LIBS
=$ac_check_lib_save_LIBS
31471 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31472 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31473 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31474 ODBC_LINK
=" -liodbc"
31477 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31478 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31479 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31480 echo $ECHO_N "(cached) $ECHO_C" >&6
31482 ac_check_lib_save_LIBS
=$LIBS
31483 LIBS
="-lunixodbc $LIBS"
31484 cat >conftest.
$ac_ext <<_ACEOF
31487 cat confdefs.h
>>conftest.
$ac_ext
31488 cat >>conftest.
$ac_ext <<_ACEOF
31489 /* end confdefs.h. */
31491 /* Override any gcc2 internal prototype to avoid an error. */
31495 /* We use char because int might match the return type of a gcc2
31496 builtin and then its argument prototype would still apply. */
31497 char SQLAllocEnv ();
31506 rm -f conftest.
$ac_objext conftest
$ac_exeext
31507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31508 (eval $ac_link) 2>conftest.er1
31510 grep -v '^ *+' conftest.er1
>conftest.err
31512 cat conftest.err
>&5
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); } &&
31515 { ac_try
='test -z "$ac_cxx_werror_flag"
31516 || test ! -s conftest.err'
31517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31518 (eval $ac_try) 2>&5
31520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31521 (exit $ac_status); }; } &&
31522 { ac_try
='test -s conftest$ac_exeext'
31523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31524 (eval $ac_try) 2>&5
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); }; }; then
31528 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31530 echo "$as_me: failed program was:" >&5
31531 sed 's/^/| /' conftest.
$ac_ext >&5
31533 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31535 rm -f conftest.err conftest.
$ac_objext \
31536 conftest
$ac_exeext conftest.
$ac_ext
31537 LIBS
=$ac_check_lib_save_LIBS
31539 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31540 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31541 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31542 ODBC_LINK
=" -lunixodbc"
31545 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31546 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31547 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31548 echo $ECHO_N "(cached) $ECHO_C" >&6
31550 ac_check_lib_save_LIBS
=$LIBS
31551 LIBS
="-lodbc $LIBS"
31552 cat >conftest.
$ac_ext <<_ACEOF
31555 cat confdefs.h
>>conftest.
$ac_ext
31556 cat >>conftest.
$ac_ext <<_ACEOF
31557 /* end confdefs.h. */
31559 /* Override any gcc2 internal prototype to avoid an error. */
31563 /* We use char because int might match the return type of a gcc2
31564 builtin and then its argument prototype would still apply. */
31565 char SQLAllocEnv ();
31574 rm -f conftest.
$ac_objext conftest
$ac_exeext
31575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31576 (eval $ac_link) 2>conftest.er1
31578 grep -v '^ *+' conftest.er1
>conftest.err
31580 cat conftest.err
>&5
31581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31582 (exit $ac_status); } &&
31583 { ac_try
='test -z "$ac_cxx_werror_flag"
31584 || test ! -s conftest.err'
31585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31586 (eval $ac_try) 2>&5
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); }; } &&
31590 { ac_try
='test -s conftest$ac_exeext'
31591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31592 (eval $ac_try) 2>&5
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); }; }; then
31596 ac_cv_lib_odbc_SQLAllocEnv
=yes
31598 echo "$as_me: failed program was:" >&5
31599 sed 's/^/| /' conftest.
$ac_ext >&5
31601 ac_cv_lib_odbc_SQLAllocEnv
=no
31603 rm -f conftest.err conftest.
$ac_objext \
31604 conftest
$ac_exeext conftest.
$ac_ext
31605 LIBS
=$ac_check_lib_save_LIBS
31607 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31608 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31609 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31610 ODBC_LINK
=" -lodbc"
31620 if test "x$ODBC_LINK" = "x" ; then
31621 if test "$wxUSE_ODBC" = "sys" ; then
31622 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31623 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31624 { (exit 1); exit 1; }; }
31626 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31627 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31635 if test "$wxUSE_ODBC" = "builtin" ; then
31636 cat >>confdefs.h
<<\_ACEOF
31637 #define wxUSE_BUILTIN_IODBC 1
31643 if test "$wxUSE_ODBC" != "no" ; then
31644 cat >>confdefs.h
<<\_ACEOF
31645 #define wxUSE_ODBC 1
31648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31650 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31654 if test "$wxUSE_DISPLAY" = "yes"; then
31655 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31656 echo "$as_me:$LINENO: checking for Xinerama" >&5
31657 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31660 for ac_dir
in $SEARCH_LIB;
31662 for ac_extension
in a so sl dylib dll.a
; do
31663 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31664 ac_find_libraries
=$ac_dir
31670 if test "$ac_find_libraries" != "" ; then
31672 if test "$ac_find_libraries" = "default location"; then
31675 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31677 if test $result = 0; then
31680 ac_path_to_link
=" -L$ac_find_libraries"
31684 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31685 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31687 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31688 echo "$as_me:$LINENO: result: yes" >&5
31689 echo "${ECHO_T}yes" >&6
31691 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31692 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31695 for ac_dir
in $SEARCH_LIB;
31697 for ac_extension
in a so sl dylib dll.a
; do
31698 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31699 ac_find_libraries
=$ac_dir
31705 if test "$ac_find_libraries" != "" ; then
31706 echo "$as_me:$LINENO: result: yes" >&5
31707 echo "${ECHO_T}yes" >&6
31709 for ac_header
in X
11/extensions
/xf86vmode.h
31711 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31712 echo "$as_me:$LINENO: checking for $ac_header" >&5
31713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31715 echo $ECHO_N "(cached) $ECHO_C" >&6
31717 cat >conftest.
$ac_ext <<_ACEOF
31720 cat confdefs.h
>>conftest.
$ac_ext
31721 cat >>conftest.
$ac_ext <<_ACEOF
31722 /* end confdefs.h. */
31724 #if HAVE_X11_XLIB_H
31725 #include <X11/Xlib.h>
31729 #include <$ac_header>
31731 rm -f conftest.
$ac_objext
31732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31733 (eval $ac_compile) 2>conftest.er1
31735 grep -v '^ *+' conftest.er1
>conftest.err
31737 cat conftest.err
>&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); } &&
31740 { ac_try
='test -z "$ac_cxx_werror_flag"
31741 || test ! -s conftest.err'
31742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31743 (eval $ac_try) 2>&5
31745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746 (exit $ac_status); }; } &&
31747 { ac_try
='test -s conftest.$ac_objext'
31748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31749 (eval $ac_try) 2>&5
31751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31752 (exit $ac_status); }; }; then
31753 eval "$as_ac_Header=yes"
31755 echo "$as_me: failed program was:" >&5
31756 sed 's/^/| /' conftest.
$ac_ext >&5
31758 eval "$as_ac_Header=no"
31760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31765 cat >>confdefs.h
<<_ACEOF
31766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31769 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31776 echo "$as_me:$LINENO: result: no" >&5
31777 echo "${ECHO_T}no" >&6
31781 echo "$as_me:$LINENO: result: no" >&5
31782 echo "${ECHO_T}no" >&6
31783 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31784 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31787 elif test "$wxUSE_MSW" = 1; then
31789 for ac_header
in ddraw.h
31791 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31792 echo "$as_me:$LINENO: checking for $ac_header" >&5
31793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31795 echo $ECHO_N "(cached) $ECHO_C" >&6
31797 cat >conftest.
$ac_ext <<_ACEOF
31800 cat confdefs.h
>>conftest.
$ac_ext
31801 cat >>conftest.
$ac_ext <<_ACEOF
31802 /* end confdefs.h. */
31803 #include <windows.h>
31805 #include <$ac_header>
31807 rm -f conftest.
$ac_objext
31808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31809 (eval $ac_compile) 2>conftest.er1
31811 grep -v '^ *+' conftest.er1
>conftest.err
31813 cat conftest.err
>&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); } &&
31816 { ac_try
='test -z "$ac_cxx_werror_flag"
31817 || test ! -s conftest.err'
31818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31819 (eval $ac_try) 2>&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); }; } &&
31823 { ac_try
='test -s conftest.$ac_objext'
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; }; then
31829 eval "$as_ac_Header=yes"
31831 echo "$as_me: failed program was:" >&5
31832 sed 's/^/| /' conftest.
$ac_ext >&5
31834 eval "$as_ac_Header=no"
31836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31840 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31841 cat >>confdefs.h
<<_ACEOF
31842 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31854 if test "$wxUSE_OPENGL" = "yes"; then
31855 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31856 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31857 elif test "$wxUSE_MSW" = 1; then
31858 OPENGL_LIBS
="-lopengl32 -lglu32"
31863 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31865 if test -f "$ac_dir/GL/gl.h"; then
31866 ac_find_includes
=$ac_dir
31871 if test "$ac_find_includes" != "" ; then
31872 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31873 echo "${ECHO_T}found in $ac_find_includes" >&6
31875 if test "x$ac_find_includes" = "x/usr/include"; then
31876 ac_path_to_include
=""
31878 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31880 if test $result = 0; then
31881 ac_path_to_include
=""
31883 ac_path_to_include
=" -I$ac_find_includes"
31887 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31890 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31891 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31892 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31893 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31894 echo $ECHO_N "(cached) $ECHO_C" >&6
31896 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31897 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31899 # Is the header compilable?
31900 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31901 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31902 cat >conftest.
$ac_ext <<_ACEOF
31905 cat confdefs.h
>>conftest.
$ac_ext
31906 cat >>conftest.
$ac_ext <<_ACEOF
31907 /* end confdefs.h. */
31908 $ac_includes_default
31911 rm -f conftest.
$ac_objext
31912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31913 (eval $ac_compile) 2>conftest.er1
31915 grep -v '^ *+' conftest.er1
>conftest.err
31917 cat conftest.err
>&5
31918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919 (exit $ac_status); } &&
31920 { ac_try
='test -z "$ac_cxx_werror_flag"
31921 || test ! -s conftest.err'
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); }; } &&
31927 { ac_try
='test -s conftest.$ac_objext'
31928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31929 (eval $ac_try) 2>&5
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); }; }; then
31933 ac_header_compiler
=yes
31935 echo "$as_me: failed program was:" >&5
31936 sed 's/^/| /' conftest.
$ac_ext >&5
31938 ac_header_compiler
=no
31940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31942 echo "${ECHO_T}$ac_header_compiler" >&6
31944 # Is the header present?
31945 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31946 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31947 cat >conftest.
$ac_ext <<_ACEOF
31950 cat confdefs.h
>>conftest.
$ac_ext
31951 cat >>conftest.
$ac_ext <<_ACEOF
31952 /* end confdefs.h. */
31955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31956 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31958 grep -v '^ *+' conftest.er1
>conftest.err
31960 cat conftest.err
>&5
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); } >/dev
/null
; then
31963 if test -s conftest.err
; then
31964 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31965 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31972 if test -z "$ac_cpp_err"; then
31973 ac_header_preproc
=yes
31975 echo "$as_me: failed program was:" >&5
31976 sed 's/^/| /' conftest.
$ac_ext >&5
31978 ac_header_preproc
=no
31980 rm -f conftest.err conftest.
$ac_ext
31981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31982 echo "${ECHO_T}$ac_header_preproc" >&6
31984 # So? What about this header?
31985 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31987 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31988 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31989 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31990 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31991 ac_header_preproc
=yes
31994 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31995 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31996 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31997 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31998 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31999 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32000 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32001 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32002 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32003 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32004 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32005 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32008 ## ----------------------------------------- ##
32009 ## Report this to wx-dev@lists.wxwidgets.org ##
32010 ## ----------------------------------------- ##
32013 sed "s/^/$as_me: WARNING: /" >&2
32016 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32017 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32018 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32019 echo $ECHO_N "(cached) $ECHO_C" >&6
32021 ac_cv_header_GL_gl_h
=$ac_header_preproc
32023 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32024 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32027 if test $ac_cv_header_GL_gl_h = yes; then
32031 echo "$as_me:$LINENO: checking for -lGL" >&5
32032 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32035 for ac_dir
in $SEARCH_LIB;
32037 for ac_extension
in a so sl dylib dll.a
; do
32038 if test -f "$ac_dir/libGL.$ac_extension"; then
32039 ac_find_libraries
=$ac_dir
32045 if test "$ac_find_libraries" != "" ; then
32046 echo "$as_me:$LINENO: result: yes" >&5
32047 echo "${ECHO_T}yes" >&6
32050 if test "$ac_find_libraries" = "default location"; then
32053 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32055 if test $result = 0; then
32058 ac_path_to_link
=" -L$ac_find_libraries"
32062 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32063 LDFLAGS_GL
="$ac_path_to_link"
32066 echo "$as_me:$LINENO: checking for -lGLU" >&5
32067 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32070 for ac_dir
in $SEARCH_LIB;
32072 for ac_extension
in a so sl dylib dll.a
; do
32073 if test -f "$ac_dir/libGLU.$ac_extension"; then
32074 ac_find_libraries
=$ac_dir
32080 if test "$ac_find_libraries" != "" ; then
32082 if test "$ac_find_libraries" = "default location"; then
32085 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32087 if test $result = 0; then
32090 ac_path_to_link
=" -L$ac_find_libraries"
32094 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32095 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32096 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32100 OPENGL_LIBS
="-lGL -lGLU"
32101 echo "$as_me:$LINENO: result: yes" >&5
32102 echo "${ECHO_T}yes" >&6
32104 echo "$as_me:$LINENO: result: no" >&5
32105 echo "${ECHO_T}no" >&6
32108 echo "$as_me:$LINENO: result: no" >&5
32109 echo "${ECHO_T}no" >&6
32112 if test "$found_gl" != 1; then
32113 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32114 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32117 for ac_dir
in $SEARCH_LIB;
32119 for ac_extension
in a so sl dylib dll.a
; do
32120 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32121 ac_find_libraries
=$ac_dir
32127 if test "$ac_find_libraries" != "" ; then
32129 if test "$ac_find_libraries" = "default location"; then
32132 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32134 if test $result = 0; then
32137 ac_path_to_link
=" -L$ac_find_libraries"
32141 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32142 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32143 echo "$as_me:$LINENO: result: yes" >&5
32144 echo "${ECHO_T}yes" >&6
32146 echo "$as_me:$LINENO: result: no" >&5
32147 echo "${ECHO_T}no" >&6
32155 if test "x$OPENGL_LIBS" = "x"; then
32156 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32157 echo "$as_me: error: OpenGL libraries not available" >&2;}
32158 { (exit 1); exit 1; }; }
32162 if test "$wxUSE_OPENGL" = "yes"; then
32164 cat >>confdefs.h
<<\_ACEOF
32165 #define wxUSE_OPENGL 1
32168 cat >>confdefs.h
<<\_ACEOF
32169 #define wxUSE_GLCANVAS 1
32172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32177 if test -n "$TOOLKIT" ; then
32178 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32183 if test "$wxUSE_SHARED" = "yes"; then
32187 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32188 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32193 if test "$wxUSE_SHARED" = "yes"; then
32196 found_versioning
=no
32199 if test $found_versioning = no
; then
32200 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32201 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32202 if test "${wx_cv_version_script+set}" = set; then
32203 echo $ECHO_N "(cached) $ECHO_C" >&6
32206 echo "VER_1 { *; };" >conftest.sym
32207 echo "int main() { return 0; }" >conftest.cpp
32210 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32211 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32213 (eval $ac_try) 2>&5
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); }; } ; then
32217 if test -s conftest.stderr
; then
32218 wx_cv_version_script
=no
32220 wx_cv_version_script
=yes
32223 wx_cv_version_script
=no
32226 if test $wx_cv_version_script = yes
32228 echo "struct B { virtual ~B() { } }; \
32229 struct D : public B { }; \
32230 void F() { D d; }" > conftest.cpp
32233 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32234 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32236 (eval $ac_try) 2>&5
32238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32239 (exit $ac_status); }; } &&
32241 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32242 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32244 (eval $ac_try) 2>&5
32246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247 (exit $ac_status); }; }
32250 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32251 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32253 (eval $ac_try) 2>&5
32255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256 (exit $ac_status); }; }
32258 wx_cv_version_script
=yes
32260 wx_cv_version_script
=no
32265 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32266 rm -f conftest1.output conftest2.output conftest3.output
32269 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32270 echo "${ECHO_T}$wx_cv_version_script" >&6
32271 if test $wx_cv_version_script = yes ; then
32272 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
32278 *-*-linux* | *-*-gnu* )
32279 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32280 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32284 if test "$GCC" = yes ; then
32285 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32287 saveLdflags
="$LDFLAGS"
32288 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32289 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32290 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32291 cat >conftest.
$ac_ext <<_ACEOF
32294 cat confdefs.h
>>conftest.
$ac_ext
32295 cat >>conftest.
$ac_ext <<_ACEOF
32296 /* end confdefs.h. */
32306 rm -f conftest.
$ac_objext conftest
$ac_exeext
32307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32308 (eval $ac_link) 2>conftest.er1
32310 grep -v '^ *+' conftest.er1
>conftest.err
32312 cat conftest.err
>&5
32313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314 (exit $ac_status); } &&
32315 { ac_try
='test -z "$ac_cxx_werror_flag"
32316 || 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
32329 echo "$as_me:$LINENO: result: yes" >&5
32330 echo "${ECHO_T}yes" >&6
32331 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32332 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32335 echo "$as_me: failed program was:" >&5
32336 sed 's/^/| /' conftest.
$ac_ext >&5
32339 echo "$as_me:$LINENO: result: no" >&5
32340 echo "${ECHO_T}no" >&6
32341 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32342 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32343 LDFLAGS
="$saveLdflags -Wl,-R,/"
32344 cat >conftest.
$ac_ext <<_ACEOF
32347 cat confdefs.h
>>conftest.
$ac_ext
32348 cat >>conftest.
$ac_ext <<_ACEOF
32349 /* end confdefs.h. */
32359 rm -f conftest.
$ac_objext conftest
$ac_exeext
32360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32361 (eval $ac_link) 2>conftest.er1
32363 grep -v '^ *+' conftest.er1
>conftest.err
32365 cat conftest.err
>&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); } &&
32368 { ac_try
='test -z "$ac_cxx_werror_flag"
32369 || test ! -s conftest.err'
32370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32371 (eval $ac_try) 2>&5
32373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32374 (exit $ac_status); }; } &&
32375 { ac_try
='test -s conftest$ac_exeext'
32376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32377 (eval $ac_try) 2>&5
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); }; }; then
32382 echo "$as_me:$LINENO: result: yes" >&5
32383 echo "${ECHO_T}yes" >&6
32384 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
32385 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32388 echo "$as_me: failed program was:" >&5
32389 sed 's/^/| /' conftest.
$ac_ext >&5
32392 echo "$as_me:$LINENO: result: no" >&5
32393 echo "${ECHO_T}no" >&6
32396 rm -f conftest.err conftest.
$ac_objext \
32397 conftest
$ac_exeext conftest.
$ac_ext
32400 rm -f conftest.err conftest.
$ac_objext \
32401 conftest
$ac_exeext conftest.
$ac_ext
32402 LDFLAGS
="$saveLdflags"
32404 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
32405 WXCONFIG_RPATH
="-R\$libdir"
32410 install_name_tool
=`which install_name_tool`
32411 if test "$install_name_tool" -a -x "$install_name_tool"; then
32412 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32413 cat <<EOF >change-install-names
32415 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32416 inst_cmd="install_name_tool "
32417 for i in \${libnames} ; do
32418 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32422 chmod +x change
-install-names
32426 *-*-cygwin* | *-*-mingw32* )
32427 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32431 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
32432 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32437 if test $wxUSE_RPATH = "no"; then
32438 SAMPLES_RPATH_FLAG
=''
32439 SAMPLES_RPATH_POSTLINK
=''
32447 config_linkage_component
="-static"
32454 lib_unicode_suffix
=
32456 if test "$wxUSE_UNICODE" = "yes"; then
32457 lib_unicode_suffix
=u
32458 WX_CHARTYPE
="unicode"
32463 WX_DEBUGTYPE
="release"
32465 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32467 WX_DEBUGTYPE
="debug"
32471 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32472 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32475 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32479 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32481 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32483 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32485 if test "$cross_compiling" = "yes"; then
32486 HOST_SUFFIX
="-$host_alias"
32487 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32488 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32491 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32492 if test "${TOOLKIT_DIR}" = "os2"; then
32493 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32495 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32500 if test "$wxUSE_COCOA" = 1; then
32504 ac_cpp
='$CPP $CPPFLAGS'
32505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32511 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32512 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32513 cat >conftest.
$ac_ext <<_ACEOF
32516 cat confdefs.h
>>conftest.
$ac_ext
32517 cat >>conftest.
$ac_ext <<_ACEOF
32518 /* end confdefs.h. */
32519 #include <AppKit/NSEvent.h>
32520 #include <CoreFoundation/CoreFoundation.h>
32530 rm -f conftest.
$ac_objext
32531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32532 (eval $ac_compile) 2>conftest.er1
32534 grep -v '^ *+' conftest.er1
>conftest.err
32536 cat conftest.err
>&5
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); } &&
32539 { ac_try
='test -z "$ac_c_werror_flag"
32540 || test ! -s conftest.err'
32541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32542 (eval $ac_try) 2>&5
32544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32545 (exit $ac_status); }; } &&
32546 { ac_try
='test -s conftest.$ac_objext'
32547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32548 (eval $ac_try) 2>&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); }; }; then
32552 echo "$as_me:$LINENO: result: no" >&5
32553 echo "${ECHO_T}no" >&6
32555 echo "$as_me: failed program was:" >&5
32556 sed 's/^/| /' conftest.
$ac_ext >&5
32558 echo "$as_me:$LINENO: result: yes" >&5
32559 echo "${ECHO_T}yes" >&6
32560 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32561 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32562 cat >conftest.
$ac_ext <<_ACEOF
32565 cat confdefs.h
>>conftest.
$ac_ext
32566 cat >>conftest.
$ac_ext <<_ACEOF
32567 /* end confdefs.h. */
32568 #define __Point__ 1
32569 #include <AppKit/NSEvent.h>
32570 #include <CoreFoundation/CoreFoundation.h>
32580 rm -f conftest.
$ac_objext
32581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32582 (eval $ac_compile) 2>conftest.er1
32584 grep -v '^ *+' conftest.er1
>conftest.err
32586 cat conftest.err
>&5
32587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32588 (exit $ac_status); } &&
32589 { ac_try
='test -z "$ac_c_werror_flag"
32590 || test ! -s conftest.err'
32591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32592 (eval $ac_try) 2>&5
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); }; } &&
32596 { ac_try
='test -s conftest.$ac_objext'
32597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32598 (eval $ac_try) 2>&5
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); }; }; then
32602 echo "$as_me:$LINENO: result: yes" >&5
32603 echo "${ECHO_T}yes" >&6
32604 cat >>confdefs.h
<<\_ACEOF
32605 #define __Point__ 1
32610 echo "$as_me: failed program was:" >&5
32611 sed 's/^/| /' conftest.
$ac_ext >&5
32613 { { echo "$as_me:$LINENO: error: no
32614 See \`config.log' for more details." >&5
32615 echo "$as_me: error: no
32616 See \`config.log' for more details." >&2;}
32617 { (exit 1); exit 1; }; }
32620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32625 ac_cpp
='$CXXCPP $CPPFLAGS'
32626 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32627 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32628 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32632 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32633 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32634 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32636 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32638 # Extract the first word of "Rez", so it can be a program name with args.
32639 set dummy Rez
; ac_word
=$2
32640 echo "$as_me:$LINENO: checking for $ac_word" >&5
32641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32642 if test "${ac_cv_prog_REZ+set}" = set; then
32643 echo $ECHO_N "(cached) $ECHO_C" >&6
32645 if test -n "$REZ"; then
32646 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32649 for as_dir
in $PATH
32652 test -z "$as_dir" && as_dir
=.
32653 for ac_exec_ext
in '' $ac_executable_extensions; do
32654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32655 ac_cv_prog_REZ
="Rez"
32656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32662 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32665 REZ
=$ac_cv_prog_REZ
32666 if test -n "$REZ"; then
32667 echo "$as_me:$LINENO: result: $REZ" >&5
32668 echo "${ECHO_T}$REZ" >&6
32670 echo "$as_me:$LINENO: result: no" >&5
32671 echo "${ECHO_T}no" >&6
32674 # Extract the first word of "DeRez", so it can be a program name with args.
32675 set dummy DeRez
; ac_word
=$2
32676 echo "$as_me:$LINENO: checking for $ac_word" >&5
32677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32678 if test "${ac_cv_prog_DEREZ+set}" = set; then
32679 echo $ECHO_N "(cached) $ECHO_C" >&6
32681 if test -n "$DEREZ"; then
32682 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32685 for as_dir
in $PATH
32688 test -z "$as_dir" && as_dir
=.
32689 for ac_exec_ext
in '' $ac_executable_extensions; do
32690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32691 ac_cv_prog_DEREZ
="DeRez"
32692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32698 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32701 DEREZ
=$ac_cv_prog_DEREZ
32702 if test -n "$DEREZ"; then
32703 echo "$as_me:$LINENO: result: $DEREZ" >&5
32704 echo "${ECHO_T}$DEREZ" >&6
32706 echo "$as_me:$LINENO: result: no" >&5
32707 echo "${ECHO_T}no" >&6
32710 # Extract the first word of "SetFile", so it can be a program name with args.
32711 set dummy SetFile
; ac_word
=$2
32712 echo "$as_me:$LINENO: checking for $ac_word" >&5
32713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32714 if test "${ac_cv_prog_SETFILE+set}" = set; then
32715 echo $ECHO_N "(cached) $ECHO_C" >&6
32717 if test -n "$SETFILE"; then
32718 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32721 for as_dir
in $PATH
32724 test -z "$as_dir" && as_dir
=.
32725 for ac_exec_ext
in '' $ac_executable_extensions; do
32726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32727 ac_cv_prog_SETFILE
="SetFile"
32728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32734 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32737 SETFILE
=$ac_cv_prog_SETFILE
32738 if test -n "$SETFILE"; then
32739 echo "$as_me:$LINENO: result: $SETFILE" >&5
32740 echo "${ECHO_T}$SETFILE" >&6
32742 echo "$as_me:$LINENO: result: no" >&5
32743 echo "${ECHO_T}no" >&6
32747 MACSETFILE
="\$(SETFILE)"
32749 if test "$wxUSE_MAC" = 1; then
32750 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32752 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32754 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32755 RESCOMP
="echo -n \| $REZ"
32756 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32762 if test "$wxUSE_PM" = 1; then
32764 WXCONFIG_RESFLAGS
="-ep"
32766 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32768 POSTLINK_COMMAND
="@true"
32775 echo "$as_me:$LINENO: checking for mode_t" >&5
32776 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32777 if test "${ac_cv_type_mode_t+set}" = set; then
32778 echo $ECHO_N "(cached) $ECHO_C" >&6
32780 cat >conftest.
$ac_ext <<_ACEOF
32783 cat confdefs.h
>>conftest.
$ac_ext
32784 cat >>conftest.
$ac_ext <<_ACEOF
32785 /* end confdefs.h. */
32786 $ac_includes_default
32792 if (sizeof (mode_t))
32798 rm -f conftest.
$ac_objext
32799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32800 (eval $ac_compile) 2>conftest.er1
32802 grep -v '^ *+' conftest.er1
>conftest.err
32804 cat conftest.err
>&5
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); } &&
32807 { ac_try
='test -z "$ac_cxx_werror_flag"
32808 || test ! -s conftest.err'
32809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32810 (eval $ac_try) 2>&5
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); }; } &&
32814 { ac_try
='test -s conftest.$ac_objext'
32815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32816 (eval $ac_try) 2>&5
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); }; }; then
32820 ac_cv_type_mode_t
=yes
32822 echo "$as_me: failed program was:" >&5
32823 sed 's/^/| /' conftest.
$ac_ext >&5
32825 ac_cv_type_mode_t
=no
32827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32829 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32830 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32831 if test $ac_cv_type_mode_t = yes; then
32835 cat >>confdefs.h
<<_ACEOF
32841 echo "$as_me:$LINENO: checking for off_t" >&5
32842 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32843 if test "${ac_cv_type_off_t+set}" = set; then
32844 echo $ECHO_N "(cached) $ECHO_C" >&6
32846 cat >conftest.
$ac_ext <<_ACEOF
32849 cat confdefs.h
>>conftest.
$ac_ext
32850 cat >>conftest.
$ac_ext <<_ACEOF
32851 /* end confdefs.h. */
32852 $ac_includes_default
32858 if (sizeof (off_t))
32864 rm -f conftest.
$ac_objext
32865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32866 (eval $ac_compile) 2>conftest.er1
32868 grep -v '^ *+' conftest.er1
>conftest.err
32870 cat conftest.err
>&5
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); } &&
32873 { ac_try
='test -z "$ac_cxx_werror_flag"
32874 || test ! -s conftest.err'
32875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32876 (eval $ac_try) 2>&5
32878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32879 (exit $ac_status); }; } &&
32880 { ac_try
='test -s conftest.$ac_objext'
32881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32882 (eval $ac_try) 2>&5
32884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32885 (exit $ac_status); }; }; then
32886 ac_cv_type_off_t
=yes
32888 echo "$as_me: failed program was:" >&5
32889 sed 's/^/| /' conftest.
$ac_ext >&5
32891 ac_cv_type_off_t
=no
32893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32895 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32896 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32897 if test $ac_cv_type_off_t = yes; then
32901 cat >>confdefs.h
<<_ACEOF
32907 echo "$as_me:$LINENO: checking for pid_t" >&5
32908 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32909 if test "${ac_cv_type_pid_t+set}" = set; then
32910 echo $ECHO_N "(cached) $ECHO_C" >&6
32912 cat >conftest.
$ac_ext <<_ACEOF
32915 cat confdefs.h
>>conftest.
$ac_ext
32916 cat >>conftest.
$ac_ext <<_ACEOF
32917 /* end confdefs.h. */
32918 $ac_includes_default
32924 if (sizeof (pid_t))
32930 rm -f conftest.
$ac_objext
32931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32932 (eval $ac_compile) 2>conftest.er1
32934 grep -v '^ *+' conftest.er1
>conftest.err
32936 cat conftest.err
>&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); } &&
32939 { ac_try
='test -z "$ac_cxx_werror_flag"
32940 || test ! -s conftest.err'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; } &&
32946 { ac_try
='test -s conftest.$ac_objext'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; }; then
32952 ac_cv_type_pid_t
=yes
32954 echo "$as_me: failed program was:" >&5
32955 sed 's/^/| /' conftest.
$ac_ext >&5
32957 ac_cv_type_pid_t
=no
32959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32961 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32962 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32963 if test $ac_cv_type_pid_t = yes; then
32967 cat >>confdefs.h
<<_ACEOF
32973 echo "$as_me:$LINENO: checking for size_t" >&5
32974 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32975 if test "${ac_cv_type_size_t+set}" = set; then
32976 echo $ECHO_N "(cached) $ECHO_C" >&6
32978 cat >conftest.
$ac_ext <<_ACEOF
32981 cat confdefs.h
>>conftest.
$ac_ext
32982 cat >>conftest.
$ac_ext <<_ACEOF
32983 /* end confdefs.h. */
32984 $ac_includes_default
32990 if (sizeof (size_t))
32996 rm -f conftest.
$ac_objext
32997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32998 (eval $ac_compile) 2>conftest.er1
33000 grep -v '^ *+' conftest.er1
>conftest.err
33002 cat conftest.err
>&5
33003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33004 (exit $ac_status); } &&
33005 { ac_try
='test -z "$ac_cxx_werror_flag"
33006 || test ! -s conftest.err'
33007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33008 (eval $ac_try) 2>&5
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); }; } &&
33012 { ac_try
='test -s conftest.$ac_objext'
33013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33014 (eval $ac_try) 2>&5
33016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017 (exit $ac_status); }; }; then
33018 ac_cv_type_size_t
=yes
33020 echo "$as_me: failed program was:" >&5
33021 sed 's/^/| /' conftest.
$ac_ext >&5
33023 ac_cv_type_size_t
=no
33025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33027 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33028 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33029 if test $ac_cv_type_size_t = yes; then
33033 cat >>confdefs.h
<<_ACEOF
33034 #define size_t unsigned
33039 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33040 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33041 if test "${ac_cv_type_uid_t+set}" = set; then
33042 echo $ECHO_N "(cached) $ECHO_C" >&6
33044 cat >conftest.
$ac_ext <<_ACEOF
33047 cat confdefs.h
>>conftest.
$ac_ext
33048 cat >>conftest.
$ac_ext <<_ACEOF
33049 /* end confdefs.h. */
33050 #include <sys/types.h>
33053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33054 $EGREP "uid_t" >/dev
/null
2>&1; then
33055 ac_cv_type_uid_t
=yes
33057 ac_cv_type_uid_t
=no
33062 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33063 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33064 if test $ac_cv_type_uid_t = no
; then
33066 cat >>confdefs.h
<<\_ACEOF
33071 cat >>confdefs.h
<<\_ACEOF
33078 echo "$as_me:$LINENO: checking for ssize_t" >&5
33079 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33080 if test "${ac_cv_type_ssize_t+set}" = set; then
33081 echo $ECHO_N "(cached) $ECHO_C" >&6
33083 cat >conftest.
$ac_ext <<_ACEOF
33086 cat confdefs.h
>>conftest.
$ac_ext
33087 cat >>conftest.
$ac_ext <<_ACEOF
33088 /* end confdefs.h. */
33089 $ac_includes_default
33095 if (sizeof (ssize_t))
33101 rm -f conftest.
$ac_objext
33102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33103 (eval $ac_compile) 2>conftest.er1
33105 grep -v '^ *+' conftest.er1
>conftest.err
33107 cat conftest.err
>&5
33108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33109 (exit $ac_status); } &&
33110 { ac_try
='test -z "$ac_cxx_werror_flag"
33111 || test ! -s conftest.err'
33112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33113 (eval $ac_try) 2>&5
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); }; } &&
33117 { ac_try
='test -s conftest.$ac_objext'
33118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33119 (eval $ac_try) 2>&5
33121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33122 (exit $ac_status); }; }; then
33123 ac_cv_type_ssize_t
=yes
33125 echo "$as_me: failed program was:" >&5
33126 sed 's/^/| /' conftest.
$ac_ext >&5
33128 ac_cv_type_ssize_t
=no
33130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33132 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33133 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33134 if test $ac_cv_type_ssize_t = yes; then
33136 cat >>confdefs.h
<<_ACEOF
33137 #define HAVE_SSIZE_T 1
33144 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33145 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33146 if test "${wx_cv_size_t_is_uint+set}" = set; then
33147 echo $ECHO_N "(cached) $ECHO_C" >&6
33150 cat >conftest.
$ac_ext <<_ACEOF
33153 cat confdefs.h
>>conftest.
$ac_ext
33154 cat >>conftest.
$ac_ext <<_ACEOF
33155 /* end confdefs.h. */
33156 #include <stddef.h>
33163 struct Foo { void foo(size_t); void foo(unsigned int); };
33171 rm -f conftest.
$ac_objext
33172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33173 (eval $ac_compile) 2>conftest.er1
33175 grep -v '^ *+' conftest.er1
>conftest.err
33177 cat conftest.err
>&5
33178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33179 (exit $ac_status); } &&
33180 { ac_try
='test -z "$ac_cxx_werror_flag"
33181 || test ! -s conftest.err'
33182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33183 (eval $ac_try) 2>&5
33185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33186 (exit $ac_status); }; } &&
33187 { ac_try
='test -s conftest.$ac_objext'
33188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33189 (eval $ac_try) 2>&5
33191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33192 (exit $ac_status); }; }; then
33193 wx_cv_size_t_is_uint
=no
33195 echo "$as_me: failed program was:" >&5
33196 sed 's/^/| /' conftest.
$ac_ext >&5
33198 wx_cv_size_t_is_uint
=yes
33201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33205 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33206 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33208 if test "$wx_cv_size_t_is_uint" = "yes"; then
33209 cat >>confdefs.h
<<\_ACEOF
33210 #define wxSIZE_T_IS_UINT 1
33214 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33215 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33216 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33217 echo $ECHO_N "(cached) $ECHO_C" >&6
33219 cat >conftest.
$ac_ext <<_ACEOF
33222 cat confdefs.h
>>conftest.
$ac_ext
33223 cat >>conftest.
$ac_ext <<_ACEOF
33224 /* end confdefs.h. */
33225 #include <stddef.h>
33232 struct Foo { void foo(size_t); void foo(unsigned long); };
33240 rm -f conftest.
$ac_objext
33241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33242 (eval $ac_compile) 2>conftest.er1
33244 grep -v '^ *+' conftest.er1
>conftest.err
33246 cat conftest.err
>&5
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); } &&
33249 { ac_try
='test -z "$ac_cxx_werror_flag"
33250 || test ! -s conftest.err'
33251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33252 (eval $ac_try) 2>&5
33254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33255 (exit $ac_status); }; } &&
33256 { ac_try
='test -s conftest.$ac_objext'
33257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33258 (eval $ac_try) 2>&5
33260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33261 (exit $ac_status); }; }; then
33262 wx_cv_size_t_is_ulong
=no
33264 echo "$as_me: failed program was:" >&5
33265 sed 's/^/| /' conftest.
$ac_ext >&5
33267 wx_cv_size_t_is_ulong
=yes
33270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33273 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33274 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33276 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33277 cat >>confdefs.h
<<\_ACEOF
33278 #define wxSIZE_T_IS_ULONG 1
33285 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33286 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33287 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33288 echo $ECHO_N "(cached) $ECHO_C" >&6
33291 cat >conftest.
$ac_ext <<_ACEOF
33294 cat confdefs.h
>>conftest.
$ac_ext
33295 cat >>conftest.
$ac_ext <<_ACEOF
33296 /* end confdefs.h. */
33310 rm -f conftest.
$ac_objext
33311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33312 (eval $ac_compile) 2>conftest.er1
33314 grep -v '^ *+' conftest.er1
>conftest.err
33316 cat conftest.err
>&5
33317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33318 (exit $ac_status); } &&
33319 { ac_try
='test -z "$ac_cxx_werror_flag"
33320 || test ! -s conftest.err'
33321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33322 (eval $ac_try) 2>&5
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); }; } &&
33326 { ac_try
='test -s conftest.$ac_objext'
33327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33328 (eval $ac_try) 2>&5
33330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33331 (exit $ac_status); }; }; then
33333 wx_cv_struct_pw_gecos
=yes
33336 echo "$as_me: failed program was:" >&5
33337 sed 's/^/| /' conftest.
$ac_ext >&5
33340 wx_cv_struct_pw_gecos
=no
33344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33348 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33349 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33351 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33352 cat >>confdefs.h
<<\_ACEOF
33353 #define HAVE_PW_GECOS 1
33359 if test "$wxUSE_WCHAR_T" = "yes"; then
33360 cat >>confdefs.h
<<\_ACEOF
33361 #define wxUSE_WCHAR_T 1
33368 for ac_func
in wcslen
33370 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33371 echo "$as_me:$LINENO: checking for $ac_func" >&5
33372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33373 if eval "test \"\${$as_ac_var+set}\" = set"; then
33374 echo $ECHO_N "(cached) $ECHO_C" >&6
33376 cat >conftest.
$ac_ext <<_ACEOF
33379 cat confdefs.h
>>conftest.
$ac_ext
33380 cat >>conftest.
$ac_ext <<_ACEOF
33381 /* end confdefs.h. */
33382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33384 #define $ac_func innocuous_$ac_func
33386 /* System header to define __stub macros and hopefully few prototypes,
33387 which can conflict with char $ac_func (); below.
33388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33389 <limits.h> exists even on freestanding compilers. */
33392 # include <limits.h>
33394 # include <assert.h>
33399 /* Override any gcc2 internal prototype to avoid an error. */
33404 /* We use char because int might match the return type of a gcc2
33405 builtin and then its argument prototype would still apply. */
33407 /* The GNU C library defines this for functions which it implements
33408 to always fail with ENOSYS. Some functions are actually named
33409 something starting with __ and the normal name is an alias. */
33410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33413 char (*f) () = $ac_func;
33422 return f != $ac_func;
33427 rm -f conftest.
$ac_objext conftest
$ac_exeext
33428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33429 (eval $ac_link) 2>conftest.er1
33431 grep -v '^ *+' conftest.er1
>conftest.err
33433 cat conftest.err
>&5
33434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33435 (exit $ac_status); } &&
33436 { ac_try
='test -z "$ac_cxx_werror_flag"
33437 || test ! -s conftest.err'
33438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33439 (eval $ac_try) 2>&5
33441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33442 (exit $ac_status); }; } &&
33443 { ac_try
='test -s conftest$ac_exeext'
33444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33445 (eval $ac_try) 2>&5
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); }; }; then
33449 eval "$as_ac_var=yes"
33451 echo "$as_me: failed program was:" >&5
33452 sed 's/^/| /' conftest.
$ac_ext >&5
33454 eval "$as_ac_var=no"
33456 rm -f conftest.err conftest.
$ac_objext \
33457 conftest
$ac_exeext conftest.
$ac_ext
33459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33461 if test `eval echo '${'$as_ac_var'}'` = yes; then
33462 cat >>confdefs.h
<<_ACEOF
33463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33470 if test "$WCSLEN_FOUND" = 0; then
33471 if test "$TOOLKIT" = "MSW"; then
33472 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33473 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33474 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33475 echo $ECHO_N "(cached) $ECHO_C" >&6
33477 ac_check_lib_save_LIBS
=$LIBS
33478 LIBS
="-lmsvcrt $LIBS"
33479 cat >conftest.
$ac_ext <<_ACEOF
33482 cat confdefs.h
>>conftest.
$ac_ext
33483 cat >>conftest.
$ac_ext <<_ACEOF
33484 /* end confdefs.h. */
33486 /* Override any gcc2 internal prototype to avoid an error. */
33490 /* We use char because int might match the return type of a gcc2
33491 builtin and then its argument prototype would still apply. */
33501 rm -f conftest.
$ac_objext conftest
$ac_exeext
33502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33503 (eval $ac_link) 2>conftest.er1
33505 grep -v '^ *+' conftest.er1
>conftest.err
33507 cat conftest.err
>&5
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); } &&
33510 { ac_try
='test -z "$ac_cxx_werror_flag"
33511 || test ! -s conftest.err'
33512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33513 (eval $ac_try) 2>&5
33515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33516 (exit $ac_status); }; } &&
33517 { ac_try
='test -s conftest$ac_exeext'
33518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33519 (eval $ac_try) 2>&5
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); }; }; then
33523 ac_cv_lib_msvcrt_wcslen
=yes
33525 echo "$as_me: failed program was:" >&5
33526 sed 's/^/| /' conftest.
$ac_ext >&5
33528 ac_cv_lib_msvcrt_wcslen
=no
33530 rm -f conftest.err conftest.
$ac_objext \
33531 conftest
$ac_exeext conftest.
$ac_ext
33532 LIBS
=$ac_check_lib_save_LIBS
33534 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33535 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33536 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33541 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33542 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33543 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33544 echo $ECHO_N "(cached) $ECHO_C" >&6
33546 ac_check_lib_save_LIBS
=$LIBS
33548 cat >conftest.
$ac_ext <<_ACEOF
33551 cat confdefs.h
>>conftest.
$ac_ext
33552 cat >>conftest.
$ac_ext <<_ACEOF
33553 /* end confdefs.h. */
33555 /* Override any gcc2 internal prototype to avoid an error. */
33559 /* We use char because int might match the return type of a gcc2
33560 builtin and then its argument prototype would still apply. */
33570 rm -f conftest.
$ac_objext conftest
$ac_exeext
33571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33572 (eval $ac_link) 2>conftest.er1
33574 grep -v '^ *+' conftest.er1
>conftest.err
33576 cat conftest.err
>&5
33577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578 (exit $ac_status); } &&
33579 { ac_try
='test -z "$ac_cxx_werror_flag"
33580 || test ! -s conftest.err'
33581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33582 (eval $ac_try) 2>&5
33584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33585 (exit $ac_status); }; } &&
33586 { ac_try
='test -s conftest$ac_exeext'
33587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33588 (eval $ac_try) 2>&5
33590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33591 (exit $ac_status); }; }; then
33592 ac_cv_lib_w_wcslen
=yes
33594 echo "$as_me: failed program was:" >&5
33595 sed 's/^/| /' conftest.
$ac_ext >&5
33597 ac_cv_lib_w_wcslen
=no
33599 rm -f conftest.err conftest.
$ac_objext \
33600 conftest
$ac_exeext conftest.
$ac_ext
33601 LIBS
=$ac_check_lib_save_LIBS
33603 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33604 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33605 if test $ac_cv_lib_w_wcslen = yes; then
33615 if test "$WCSLEN_FOUND" = 1; then
33616 cat >>confdefs.h
<<\_ACEOF
33617 #define HAVE_WCSLEN 1
33622 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33623 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33626 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33627 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33628 if test "${ac_cv_type_mbstate_t+set}" = set; then
33629 echo $ECHO_N "(cached) $ECHO_C" >&6
33631 cat >conftest.
$ac_ext <<_ACEOF
33634 cat confdefs.h
>>conftest.
$ac_ext
33635 cat >>conftest.
$ac_ext <<_ACEOF
33636 /* end confdefs.h. */
33642 if ((mbstate_t *) 0)
33644 if (sizeof (mbstate_t))
33650 rm -f conftest.
$ac_objext
33651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33652 (eval $ac_compile) 2>conftest.er1
33654 grep -v '^ *+' conftest.er1
>conftest.err
33656 cat conftest.err
>&5
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); } &&
33659 { ac_try
='test -z "$ac_cxx_werror_flag"
33660 || test ! -s conftest.err'
33661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33662 (eval $ac_try) 2>&5
33664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33665 (exit $ac_status); }; } &&
33666 { ac_try
='test -s conftest.$ac_objext'
33667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33668 (eval $ac_try) 2>&5
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); }; }; then
33672 ac_cv_type_mbstate_t
=yes
33674 echo "$as_me: failed program was:" >&5
33675 sed 's/^/| /' conftest.
$ac_ext >&5
33677 ac_cv_type_mbstate_t
=no
33679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33681 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33682 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33683 if test $ac_cv_type_mbstate_t = yes; then
33685 cat >>confdefs.h
<<_ACEOF
33686 #define HAVE_MBSTATE_T 1
33690 for ac_func
in wcsrtombs
33692 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33693 echo "$as_me:$LINENO: checking for $ac_func" >&5
33694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33695 if eval "test \"\${$as_ac_var+set}\" = set"; then
33696 echo $ECHO_N "(cached) $ECHO_C" >&6
33698 cat >conftest.
$ac_ext <<_ACEOF
33701 cat confdefs.h
>>conftest.
$ac_ext
33702 cat >>conftest.
$ac_ext <<_ACEOF
33703 /* end confdefs.h. */
33704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33706 #define $ac_func innocuous_$ac_func
33708 /* System header to define __stub macros and hopefully few prototypes,
33709 which can conflict with char $ac_func (); below.
33710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33711 <limits.h> exists even on freestanding compilers. */
33714 # include <limits.h>
33716 # include <assert.h>
33721 /* Override any gcc2 internal prototype to avoid an error. */
33726 /* We use char because int might match the return type of a gcc2
33727 builtin and then its argument prototype would still apply. */
33729 /* The GNU C library defines this for functions which it implements
33730 to always fail with ENOSYS. Some functions are actually named
33731 something starting with __ and the normal name is an alias. */
33732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33735 char (*f) () = $ac_func;
33744 return f != $ac_func;
33749 rm -f conftest.
$ac_objext conftest
$ac_exeext
33750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33751 (eval $ac_link) 2>conftest.er1
33753 grep -v '^ *+' conftest.er1
>conftest.err
33755 cat conftest.err
>&5
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); } &&
33758 { ac_try
='test -z "$ac_cxx_werror_flag"
33759 || test ! -s conftest.err'
33760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33761 (eval $ac_try) 2>&5
33763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33764 (exit $ac_status); }; } &&
33765 { ac_try
='test -s conftest$ac_exeext'
33766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33767 (eval $ac_try) 2>&5
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); }; }; then
33771 eval "$as_ac_var=yes"
33773 echo "$as_me: failed program was:" >&5
33774 sed 's/^/| /' conftest.
$ac_ext >&5
33776 eval "$as_ac_var=no"
33778 rm -f conftest.err conftest.
$ac_objext \
33779 conftest
$ac_exeext conftest.
$ac_ext
33781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33783 if test `eval echo '${'$as_ac_var'}'` = yes; then
33784 cat >>confdefs.h
<<_ACEOF
33785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33794 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33795 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33800 for ac_func
in snprintf vsnprintf
33802 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33803 echo "$as_me:$LINENO: checking for $ac_func" >&5
33804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33805 if eval "test \"\${$as_ac_var+set}\" = set"; then
33806 echo $ECHO_N "(cached) $ECHO_C" >&6
33808 cat >conftest.
$ac_ext <<_ACEOF
33811 cat confdefs.h
>>conftest.
$ac_ext
33812 cat >>conftest.
$ac_ext <<_ACEOF
33813 /* end confdefs.h. */
33814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33816 #define $ac_func innocuous_$ac_func
33818 /* System header to define __stub macros and hopefully few prototypes,
33819 which can conflict with char $ac_func (); below.
33820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33821 <limits.h> exists even on freestanding compilers. */
33824 # include <limits.h>
33826 # include <assert.h>
33831 /* Override any gcc2 internal prototype to avoid an error. */
33836 /* We use char because int might match the return type of a gcc2
33837 builtin and then its argument prototype would still apply. */
33839 /* The GNU C library defines this for functions which it implements
33840 to always fail with ENOSYS. Some functions are actually named
33841 something starting with __ and the normal name is an alias. */
33842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33845 char (*f) () = $ac_func;
33854 return f != $ac_func;
33859 rm -f conftest.
$ac_objext conftest
$ac_exeext
33860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33861 (eval $ac_link) 2>conftest.er1
33863 grep -v '^ *+' conftest.er1
>conftest.err
33865 cat conftest.err
>&5
33866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33867 (exit $ac_status); } &&
33868 { ac_try
='test -z "$ac_cxx_werror_flag"
33869 || test ! -s conftest.err'
33870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33871 (eval $ac_try) 2>&5
33873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33874 (exit $ac_status); }; } &&
33875 { ac_try
='test -s conftest$ac_exeext'
33876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33877 (eval $ac_try) 2>&5
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); }; }; then
33881 eval "$as_ac_var=yes"
33883 echo "$as_me: failed program was:" >&5
33884 sed 's/^/| /' conftest.
$ac_ext >&5
33886 eval "$as_ac_var=no"
33888 rm -f conftest.err conftest.
$ac_objext \
33889 conftest
$ac_exeext conftest.
$ac_ext
33891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33893 if test `eval echo '${'$as_ac_var'}'` = yes; then
33894 cat >>confdefs.h
<<_ACEOF
33895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33902 if test "$ac_cv_func_vsnprintf" = "yes"; then
33903 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33904 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33905 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33906 echo $ECHO_N "(cached) $ECHO_C" >&6
33909 cat >conftest.
$ac_ext <<_ACEOF
33912 cat confdefs.h
>>conftest.
$ac_ext
33913 cat >>conftest.
$ac_ext <<_ACEOF
33914 /* end confdefs.h. */
33917 #include <stdarg.h>
33919 #if __MSL__ >= 0x6000
33921 using namespace std;
33931 vsnprintf(buf, 10u, "%s", ap);
33937 rm -f conftest.
$ac_objext
33938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33939 (eval $ac_compile) 2>conftest.er1
33941 grep -v '^ *+' conftest.er1
>conftest.err
33943 cat conftest.err
>&5
33944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 (exit $ac_status); } &&
33946 { ac_try
='test -z "$ac_cxx_werror_flag"
33947 || test ! -s conftest.err'
33948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33949 (eval $ac_try) 2>&5
33951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33952 (exit $ac_status); }; } &&
33953 { ac_try
='test -s conftest.$ac_objext'
33954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33955 (eval $ac_try) 2>&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); }; }; then
33959 wx_cv_func_vsnprintf_decl
=yes
33961 echo "$as_me: failed program was:" >&5
33962 sed 's/^/| /' conftest.
$ac_ext >&5
33964 wx_cv_func_vsnprintf_decl
=no
33967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33971 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33972 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33974 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33975 cat >>confdefs.h
<<\_ACEOF
33976 #define HAVE_VSNPRINTF_DECL 1
33980 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33981 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33982 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33983 echo $ECHO_N "(cached) $ECHO_C" >&6
33986 cat >conftest.
$ac_ext <<_ACEOF
33989 cat confdefs.h
>>conftest.
$ac_ext
33990 cat >>conftest.
$ac_ext <<_ACEOF
33991 /* end confdefs.h. */
33994 #include <stdarg.h>
33996 #if __MSL__ >= 0x6000
33998 using namespace std;
34008 const char *fmt = "%s";
34009 vsnprintf(buf, 10u, fmt, ap);
34015 rm -f conftest.
$ac_objext
34016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34017 (eval $ac_compile) 2>conftest.er1
34019 grep -v '^ *+' conftest.er1
>conftest.err
34021 cat conftest.err
>&5
34022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 (exit $ac_status); } &&
34024 { ac_try
='test -z "$ac_cxx_werror_flag"
34025 || test ! -s conftest.err'
34026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34027 (eval $ac_try) 2>&5
34029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030 (exit $ac_status); }; } &&
34031 { ac_try
='test -s conftest.$ac_objext'
34032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34033 (eval $ac_try) 2>&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); }; }; then
34037 wx_cv_func_broken_vsnprintf_decl
=no
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.
$ac_ext >&5
34042 wx_cv_func_broken_vsnprintf_decl
=yes
34045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34049 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34050 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34052 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34053 cat >>confdefs.h
<<\_ACEOF
34054 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34061 if test "$ac_cv_func_snprintf" = "yes"; then
34062 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34063 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34064 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34065 echo $ECHO_N "(cached) $ECHO_C" >&6
34068 cat >conftest.
$ac_ext <<_ACEOF
34071 cat confdefs.h
>>conftest.
$ac_ext
34072 cat >>conftest.
$ac_ext <<_ACEOF
34073 /* end confdefs.h. */
34076 #include <stdarg.h>
34078 #if __MSL__ >= 0x6000
34080 using namespace std;
34089 snprintf(buf, 10u, "%s", "wx");
34095 rm -f conftest.
$ac_objext
34096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34097 (eval $ac_compile) 2>conftest.er1
34099 grep -v '^ *+' conftest.er1
>conftest.err
34101 cat conftest.err
>&5
34102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34103 (exit $ac_status); } &&
34104 { ac_try
='test -z "$ac_cxx_werror_flag"
34105 || test ! -s conftest.err'
34106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34107 (eval $ac_try) 2>&5
34109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34110 (exit $ac_status); }; } &&
34111 { ac_try
='test -s conftest.$ac_objext'
34112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34113 (eval $ac_try) 2>&5
34115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34116 (exit $ac_status); }; }; then
34117 wx_cv_func_snprintf_decl
=yes
34119 echo "$as_me: failed program was:" >&5
34120 sed 's/^/| /' conftest.
$ac_ext >&5
34122 wx_cv_func_snprintf_decl
=no
34125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34129 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34130 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34132 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34133 cat >>confdefs.h
<<\_ACEOF
34134 #define HAVE_SNPRINTF_DECL 1
34138 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34139 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34140 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34141 echo $ECHO_N "(cached) $ECHO_C" >&6
34144 cat >conftest.
$ac_ext <<_ACEOF
34147 cat confdefs.h
>>conftest.
$ac_ext
34148 cat >>conftest.
$ac_ext <<_ACEOF
34149 /* end confdefs.h. */
34152 #include <stdarg.h>
34154 #if __MSL__ >= 0x6000
34156 using namespace std;
34165 const char *fmt = "%s";
34166 snprintf(buf, 10u, fmt, "wx");
34172 rm -f conftest.
$ac_objext
34173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34174 (eval $ac_compile) 2>conftest.er1
34176 grep -v '^ *+' conftest.er1
>conftest.err
34178 cat conftest.err
>&5
34179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34180 (exit $ac_status); } &&
34181 { ac_try
='test -z "$ac_cxx_werror_flag"
34182 || test ! -s conftest.err'
34183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34184 (eval $ac_try) 2>&5
34186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34187 (exit $ac_status); }; } &&
34188 { ac_try
='test -s conftest.$ac_objext'
34189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34190 (eval $ac_try) 2>&5
34192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34193 (exit $ac_status); }; }; then
34194 wx_cv_func_broken_snprintf_decl
=no
34196 echo "$as_me: failed program was:" >&5
34197 sed 's/^/| /' conftest.
$ac_ext >&5
34199 wx_cv_func_broken_snprintf_decl
=yes
34202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34206 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34207 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34209 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34210 cat >>confdefs.h
<<\_ACEOF
34211 #define HAVE_BROKEN_SNPRINTF_DECL 1
34218 if test "$wxUSE_UNICODE" = yes; then
34225 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
34227 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34228 echo "$as_me:$LINENO: checking for $ac_func" >&5
34229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34230 if eval "test \"\${$as_ac_var+set}\" = set"; then
34231 echo $ECHO_N "(cached) $ECHO_C" >&6
34233 cat >conftest.
$ac_ext <<_ACEOF
34236 cat confdefs.h
>>conftest.
$ac_ext
34237 cat >>conftest.
$ac_ext <<_ACEOF
34238 /* end confdefs.h. */
34239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34241 #define $ac_func innocuous_$ac_func
34243 /* System header to define __stub macros and hopefully few prototypes,
34244 which can conflict with char $ac_func (); below.
34245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34246 <limits.h> exists even on freestanding compilers. */
34249 # include <limits.h>
34251 # include <assert.h>
34256 /* Override any gcc2 internal prototype to avoid an error. */
34261 /* We use char because int might match the return type of a gcc2
34262 builtin and then its argument prototype would still apply. */
34264 /* The GNU C library defines this for functions which it implements
34265 to always fail with ENOSYS. Some functions are actually named
34266 something starting with __ and the normal name is an alias. */
34267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34270 char (*f) () = $ac_func;
34279 return f != $ac_func;
34284 rm -f conftest.
$ac_objext conftest
$ac_exeext
34285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34286 (eval $ac_link) 2>conftest.er1
34288 grep -v '^ *+' conftest.er1
>conftest.err
34290 cat conftest.err
>&5
34291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292 (exit $ac_status); } &&
34293 { ac_try
='test -z "$ac_cxx_werror_flag"
34294 || test ! -s conftest.err'
34295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34296 (eval $ac_try) 2>&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); }; } &&
34300 { ac_try
='test -s conftest$ac_exeext'
34301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34302 (eval $ac_try) 2>&5
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); }; }; then
34306 eval "$as_ac_var=yes"
34308 echo "$as_me: failed program was:" >&5
34309 sed 's/^/| /' conftest.
$ac_ext >&5
34311 eval "$as_ac_var=no"
34313 rm -f conftest.err conftest.
$ac_objext \
34314 conftest
$ac_exeext conftest.
$ac_ext
34316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34318 if test `eval echo '${'$as_ac_var'}'` = yes; then
34319 cat >>confdefs.h
<<_ACEOF
34320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34327 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34328 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34329 cat >conftest.
$ac_ext <<_ACEOF
34332 cat confdefs.h
>>conftest.
$ac_ext
34333 cat >>conftest.
$ac_ext <<_ACEOF
34334 /* end confdefs.h. */
34344 rm -f conftest.
$ac_objext
34345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34346 (eval $ac_compile) 2>conftest.er1
34348 grep -v '^ *+' conftest.er1
>conftest.err
34350 cat conftest.err
>&5
34351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34352 (exit $ac_status); } &&
34353 { ac_try
='test -z "$ac_cxx_werror_flag"
34354 || test ! -s conftest.err'
34355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34356 (eval $ac_try) 2>&5
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); }; } &&
34360 { ac_try
='test -s conftest.$ac_objext'
34361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34362 (eval $ac_try) 2>&5
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); }; }; then
34366 echo "$as_me:$LINENO: result: yes" >&5
34367 echo "${ECHO_T}yes" >&6
34368 cat >>confdefs.h
<<\_ACEOF
34369 #define HAVE__VSNWPRINTF 1
34373 echo "$as_me: failed program was:" >&5
34374 sed 's/^/| /' conftest.
$ac_ext >&5
34376 echo "$as_me:$LINENO: result: no" >&5
34377 echo "${ECHO_T}no" >&6
34379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34382 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34384 for ac_func
in fnmatch
34386 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34387 echo "$as_me:$LINENO: checking for $ac_func" >&5
34388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34389 if eval "test \"\${$as_ac_var+set}\" = set"; then
34390 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 cat >conftest.
$ac_ext <<_ACEOF
34395 cat confdefs.h
>>conftest.
$ac_ext
34396 cat >>conftest.
$ac_ext <<_ACEOF
34397 /* end confdefs.h. */
34398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34400 #define $ac_func innocuous_$ac_func
34402 /* System header to define __stub macros and hopefully few prototypes,
34403 which can conflict with char $ac_func (); below.
34404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34405 <limits.h> exists even on freestanding compilers. */
34408 # include <limits.h>
34410 # include <assert.h>
34415 /* Override any gcc2 internal prototype to avoid an error. */
34420 /* We use char because int might match the return type of a gcc2
34421 builtin and then its argument prototype would still apply. */
34423 /* The GNU C library defines this for functions which it implements
34424 to always fail with ENOSYS. Some functions are actually named
34425 something starting with __ and the normal name is an alias. */
34426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34429 char (*f) () = $ac_func;
34438 return f != $ac_func;
34443 rm -f conftest.
$ac_objext conftest
$ac_exeext
34444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34445 (eval $ac_link) 2>conftest.er1
34447 grep -v '^ *+' conftest.er1
>conftest.err
34449 cat conftest.err
>&5
34450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34451 (exit $ac_status); } &&
34452 { ac_try
='test -z "$ac_cxx_werror_flag"
34453 || test ! -s conftest.err'
34454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34455 (eval $ac_try) 2>&5
34457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34458 (exit $ac_status); }; } &&
34459 { ac_try
='test -s conftest$ac_exeext'
34460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34461 (eval $ac_try) 2>&5
34463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34464 (exit $ac_status); }; }; then
34465 eval "$as_ac_var=yes"
34467 echo "$as_me: failed program was:" >&5
34468 sed 's/^/| /' conftest.
$ac_ext >&5
34470 eval "$as_ac_var=no"
34472 rm -f conftest.err conftest.
$ac_objext \
34473 conftest
$ac_exeext conftest.
$ac_ext
34475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34477 if test `eval echo '${'$as_ac_var'}'` = yes; then
34478 cat >>confdefs.h
<<_ACEOF
34479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34487 if test "$wxUSE_FILE" = "yes"; then
34489 for ac_func
in fsync
34491 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34492 echo "$as_me:$LINENO: checking for $ac_func" >&5
34493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34494 if eval "test \"\${$as_ac_var+set}\" = set"; then
34495 echo $ECHO_N "(cached) $ECHO_C" >&6
34497 cat >conftest.
$ac_ext <<_ACEOF
34500 cat confdefs.h
>>conftest.
$ac_ext
34501 cat >>conftest.
$ac_ext <<_ACEOF
34502 /* end confdefs.h. */
34503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34505 #define $ac_func innocuous_$ac_func
34507 /* System header to define __stub macros and hopefully few prototypes,
34508 which can conflict with char $ac_func (); below.
34509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34510 <limits.h> exists even on freestanding compilers. */
34513 # include <limits.h>
34515 # include <assert.h>
34520 /* Override any gcc2 internal prototype to avoid an error. */
34525 /* We use char because int might match the return type of a gcc2
34526 builtin and then its argument prototype would still apply. */
34528 /* The GNU C library defines this for functions which it implements
34529 to always fail with ENOSYS. Some functions are actually named
34530 something starting with __ and the normal name is an alias. */
34531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34534 char (*f) () = $ac_func;
34543 return f != $ac_func;
34548 rm -f conftest.
$ac_objext conftest
$ac_exeext
34549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34550 (eval $ac_link) 2>conftest.er1
34552 grep -v '^ *+' conftest.er1
>conftest.err
34554 cat conftest.err
>&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); } &&
34557 { ac_try
='test -z "$ac_cxx_werror_flag"
34558 || test ! -s conftest.err'
34559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34560 (eval $ac_try) 2>&5
34562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34563 (exit $ac_status); }; } &&
34564 { ac_try
='test -s conftest$ac_exeext'
34565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34566 (eval $ac_try) 2>&5
34568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34569 (exit $ac_status); }; }; then
34570 eval "$as_ac_var=yes"
34572 echo "$as_me: failed program was:" >&5
34573 sed 's/^/| /' conftest.
$ac_ext >&5
34575 eval "$as_ac_var=no"
34577 rm -f conftest.err conftest.
$ac_objext \
34578 conftest
$ac_exeext conftest.
$ac_ext
34580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34582 if test `eval echo '${'$as_ac_var'}'` = yes; then
34583 cat >>confdefs.h
<<_ACEOF
34584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34593 if test "$TOOLKIT" != "MSW"; then
34599 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34600 if test "${with_libiconv_prefix+set}" = set; then
34601 withval
="$with_libiconv_prefix"
34603 for dir
in `echo "$withval" | tr : ' '`; do
34604 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34605 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34610 echo "$as_me:$LINENO: checking for iconv" >&5
34611 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34612 if test "${am_cv_func_iconv+set}" = set; then
34613 echo $ECHO_N "(cached) $ECHO_C" >&6
34616 am_cv_func_iconv
="no, consider installing GNU libiconv"
34618 cat >conftest.
$ac_ext <<_ACEOF
34621 cat confdefs.h
>>conftest.
$ac_ext
34622 cat >>conftest.
$ac_ext <<_ACEOF
34623 /* end confdefs.h. */
34624 #include <stdlib.h>
34629 iconv_t cd = iconv_open("","");
34630 iconv(cd,NULL,NULL,NULL,NULL);
34636 rm -f conftest.
$ac_objext conftest
$ac_exeext
34637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34638 (eval $ac_link) 2>conftest.er1
34640 grep -v '^ *+' conftest.er1
>conftest.err
34642 cat conftest.err
>&5
34643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34644 (exit $ac_status); } &&
34645 { ac_try
='test -z "$ac_cxx_werror_flag"
34646 || test ! -s conftest.err'
34647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34648 (eval $ac_try) 2>&5
34650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34651 (exit $ac_status); }; } &&
34652 { ac_try
='test -s conftest$ac_exeext'
34653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34654 (eval $ac_try) 2>&5
34656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34657 (exit $ac_status); }; }; then
34658 am_cv_func_iconv
=yes
34660 echo "$as_me: failed program was:" >&5
34661 sed 's/^/| /' conftest.
$ac_ext >&5
34664 rm -f conftest.err conftest.
$ac_objext \
34665 conftest
$ac_exeext conftest.
$ac_ext
34666 if test "$am_cv_func_iconv" != yes; then
34667 am_save_LIBS
="$LIBS"
34668 LIBS
="$LIBS -liconv"
34669 cat >conftest.
$ac_ext <<_ACEOF
34672 cat confdefs.h
>>conftest.
$ac_ext
34673 cat >>conftest.
$ac_ext <<_ACEOF
34674 /* end confdefs.h. */
34675 #include <stdlib.h>
34680 iconv_t cd = iconv_open("","");
34681 iconv(cd,NULL,NULL,NULL,NULL);
34687 rm -f conftest.
$ac_objext conftest
$ac_exeext
34688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34689 (eval $ac_link) 2>conftest.er1
34691 grep -v '^ *+' conftest.er1
>conftest.err
34693 cat conftest.err
>&5
34694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695 (exit $ac_status); } &&
34696 { ac_try
='test -z "$ac_cxx_werror_flag"
34697 || test ! -s conftest.err'
34698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34699 (eval $ac_try) 2>&5
34701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34702 (exit $ac_status); }; } &&
34703 { ac_try
='test -s conftest$ac_exeext'
34704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34705 (eval $ac_try) 2>&5
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); }; }; then
34709 am_cv_lib_iconv
=yes
34710 am_cv_func_iconv
=yes
34712 echo "$as_me: failed program was:" >&5
34713 sed 's/^/| /' conftest.
$ac_ext >&5
34716 rm -f conftest.err conftest.
$ac_objext \
34717 conftest
$ac_exeext conftest.
$ac_ext
34718 LIBS
="$am_save_LIBS"
34722 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34723 echo "${ECHO_T}$am_cv_func_iconv" >&6
34724 if test "$am_cv_func_iconv" = yes; then
34726 cat >>confdefs.h
<<\_ACEOF
34727 #define HAVE_ICONV 1
34730 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34731 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34732 if test "${wx_cv_func_iconv_const+set}" = set; then
34733 echo $ECHO_N "(cached) $ECHO_C" >&6
34735 cat >conftest.
$ac_ext <<_ACEOF
34738 cat confdefs.h
>>conftest.
$ac_ext
34739 cat >>conftest.
$ac_ext <<_ACEOF
34740 /* end confdefs.h. */
34742 #include <stdlib.h>
34748 #if defined(__STDC__) || defined(__cplusplus)
34749 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34762 rm -f conftest.
$ac_objext
34763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34764 (eval $ac_compile) 2>conftest.er1
34766 grep -v '^ *+' conftest.er1
>conftest.err
34768 cat conftest.err
>&5
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); } &&
34771 { ac_try
='test -z "$ac_cxx_werror_flag"
34772 || test ! -s conftest.err'
34773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34774 (eval $ac_try) 2>&5
34776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34777 (exit $ac_status); }; } &&
34778 { ac_try
='test -s conftest.$ac_objext'
34779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34780 (eval $ac_try) 2>&5
34782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34783 (exit $ac_status); }; }; then
34784 wx_cv_func_iconv_const
="no"
34786 echo "$as_me: failed program was:" >&5
34787 sed 's/^/| /' conftest.
$ac_ext >&5
34789 wx_cv_func_iconv_const
="yes"
34792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34795 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34796 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34799 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34800 iconv_const
="const"
34804 cat >>confdefs.h
<<_ACEOF
34805 #define ICONV_CONST $iconv_const
34810 if test "$am_cv_lib_iconv" = yes; then
34815 LIBS
="$LIBICONV $LIBS"
34817 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34819 for ac_func
in sigaction
34821 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34822 echo "$as_me:$LINENO: checking for $ac_func" >&5
34823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34824 if eval "test \"\${$as_ac_var+set}\" = set"; then
34825 echo $ECHO_N "(cached) $ECHO_C" >&6
34827 cat >conftest.
$ac_ext <<_ACEOF
34830 cat confdefs.h
>>conftest.
$ac_ext
34831 cat >>conftest.
$ac_ext <<_ACEOF
34832 /* end confdefs.h. */
34833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34835 #define $ac_func innocuous_$ac_func
34837 /* System header to define __stub macros and hopefully few prototypes,
34838 which can conflict with char $ac_func (); below.
34839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34840 <limits.h> exists even on freestanding compilers. */
34843 # include <limits.h>
34845 # include <assert.h>
34850 /* Override any gcc2 internal prototype to avoid an error. */
34855 /* We use char because int might match the return type of a gcc2
34856 builtin and then its argument prototype would still apply. */
34858 /* The GNU C library defines this for functions which it implements
34859 to always fail with ENOSYS. Some functions are actually named
34860 something starting with __ and the normal name is an alias. */
34861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34864 char (*f) () = $ac_func;
34873 return f != $ac_func;
34878 rm -f conftest.
$ac_objext conftest
$ac_exeext
34879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34880 (eval $ac_link) 2>conftest.er1
34882 grep -v '^ *+' conftest.er1
>conftest.err
34884 cat conftest.err
>&5
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); } &&
34887 { ac_try
='test -z "$ac_cxx_werror_flag"
34888 || test ! -s conftest.err'
34889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34890 (eval $ac_try) 2>&5
34892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34893 (exit $ac_status); }; } &&
34894 { ac_try
='test -s conftest$ac_exeext'
34895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34896 (eval $ac_try) 2>&5
34898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34899 (exit $ac_status); }; }; then
34900 eval "$as_ac_var=yes"
34902 echo "$as_me: failed program was:" >&5
34903 sed 's/^/| /' conftest.
$ac_ext >&5
34905 eval "$as_ac_var=no"
34907 rm -f conftest.err conftest.
$ac_objext \
34908 conftest
$ac_exeext conftest.
$ac_ext
34910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34912 if test `eval echo '${'$as_ac_var'}'` = yes; then
34913 cat >>confdefs.h
<<_ACEOF
34914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34921 if test "$ac_cv_func_sigaction" = "no"; then
34922 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34923 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34924 wxUSE_ON_FATAL_EXCEPTION
=no
34927 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34928 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34929 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34930 if test "${wx_cv_type_sa_handler+set}" = set; then
34931 echo $ECHO_N "(cached) $ECHO_C" >&6
34934 cat >conftest.
$ac_ext <<_ACEOF
34937 cat confdefs.h
>>conftest.
$ac_ext
34938 cat >>conftest.
$ac_ext <<_ACEOF
34939 /* end confdefs.h. */
34940 #include <signal.h>
34945 extern void testSigHandler(int);
34947 struct sigaction sa;
34948 sa.sa_handler = testSigHandler;
34954 rm -f conftest.
$ac_objext
34955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34956 (eval $ac_compile) 2>conftest.er1
34958 grep -v '^ *+' conftest.er1
>conftest.err
34960 cat conftest.err
>&5
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); } &&
34963 { ac_try
='test -z "$ac_cxx_werror_flag"
34964 || test ! -s conftest.err'
34965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34966 (eval $ac_try) 2>&5
34968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34969 (exit $ac_status); }; } &&
34970 { ac_try
='test -s conftest.$ac_objext'
34971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34972 (eval $ac_try) 2>&5
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); }; }; then
34977 wx_cv_type_sa_handler
=int
34980 echo "$as_me: failed program was:" >&5
34981 sed 's/^/| /' conftest.
$ac_ext >&5
34984 wx_cv_type_sa_handler
=void
34987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34990 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34991 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34993 cat >>confdefs.h
<<_ACEOF
34994 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35000 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35001 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35002 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35003 if test "${wx_cv_func_backtrace+set}" = set; then
35004 echo $ECHO_N "(cached) $ECHO_C" >&6
35007 cat >conftest.
$ac_ext <<_ACEOF
35010 cat confdefs.h
>>conftest.
$ac_ext
35011 cat >>conftest.
$ac_ext <<_ACEOF
35012 /* end confdefs.h. */
35013 #include <execinfo.h>
35021 backtrace(trace, 1);
35022 messages = backtrace_symbols(trace, 1);
35028 rm -f conftest.
$ac_objext
35029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35030 (eval $ac_compile) 2>conftest.er1
35032 grep -v '^ *+' conftest.er1
>conftest.err
35034 cat conftest.err
>&5
35035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35036 (exit $ac_status); } &&
35037 { ac_try
='test -z "$ac_cxx_werror_flag"
35038 || test ! -s conftest.err'
35039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35040 (eval $ac_try) 2>&5
35042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35043 (exit $ac_status); }; } &&
35044 { ac_try
='test -s conftest.$ac_objext'
35045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35046 (eval $ac_try) 2>&5
35048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049 (exit $ac_status); }; }; then
35050 wx_cv_func_backtrace
=yes
35052 echo "$as_me: failed program was:" >&5
35053 sed 's/^/| /' conftest.
$ac_ext >&5
35055 wx_cv_func_backtrace
=no
35058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35062 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35063 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35066 if test "$wx_cv_func_backtrace" = "no"; then
35067 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35068 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35069 wxUSE_STACKWALKER
=no
35071 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35072 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35073 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35074 echo $ECHO_N "(cached) $ECHO_C" >&6
35077 cat >conftest.
$ac_ext <<_ACEOF
35080 cat confdefs.h
>>conftest.
$ac_ext
35081 cat >>conftest.
$ac_ext <<_ACEOF
35082 /* end confdefs.h. */
35083 #include <cxxabi.h>
35089 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35095 rm -f conftest.
$ac_objext conftest
$ac_exeext
35096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35097 (eval $ac_link) 2>conftest.er1
35099 grep -v '^ *+' conftest.er1
>conftest.err
35101 cat conftest.err
>&5
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); } &&
35104 { ac_try
='test -z "$ac_cxx_werror_flag"
35105 || test ! -s conftest.err'
35106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35107 (eval $ac_try) 2>&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); }; } &&
35111 { ac_try
='test -s conftest$ac_exeext'
35112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113 (eval $ac_try) 2>&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; }; then
35117 wx_cv_func_cxa_demangle
=yes
35119 echo "$as_me: failed program was:" >&5
35120 sed 's/^/| /' conftest.
$ac_ext >&5
35122 wx_cv_func_cxa_demangle
=no
35125 rm -f conftest.err conftest.
$ac_objext \
35126 conftest
$ac_exeext conftest.
$ac_ext
35130 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35131 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35133 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35134 cat >>confdefs.h
<<\_ACEOF
35135 #define HAVE_CXA_DEMANGLE 1
35142 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35143 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35144 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35145 wxUSE_STACKWALKER
=no
35151 for ac_func
in mkstemp mktemp
35153 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35154 echo "$as_me:$LINENO: checking for $ac_func" >&5
35155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35156 if eval "test \"\${$as_ac_var+set}\" = set"; then
35157 echo $ECHO_N "(cached) $ECHO_C" >&6
35159 cat >conftest.
$ac_ext <<_ACEOF
35162 cat confdefs.h
>>conftest.
$ac_ext
35163 cat >>conftest.
$ac_ext <<_ACEOF
35164 /* end confdefs.h. */
35165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35167 #define $ac_func innocuous_$ac_func
35169 /* System header to define __stub macros and hopefully few prototypes,
35170 which can conflict with char $ac_func (); below.
35171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35172 <limits.h> exists even on freestanding compilers. */
35175 # include <limits.h>
35177 # include <assert.h>
35182 /* Override any gcc2 internal prototype to avoid an error. */
35187 /* We use char because int might match the return type of a gcc2
35188 builtin and then its argument prototype would still apply. */
35190 /* The GNU C library defines this for functions which it implements
35191 to always fail with ENOSYS. Some functions are actually named
35192 something starting with __ and the normal name is an alias. */
35193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35196 char (*f) () = $ac_func;
35205 return f != $ac_func;
35210 rm -f conftest.
$ac_objext conftest
$ac_exeext
35211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35212 (eval $ac_link) 2>conftest.er1
35214 grep -v '^ *+' conftest.er1
>conftest.err
35216 cat conftest.err
>&5
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); } &&
35219 { ac_try
='test -z "$ac_cxx_werror_flag"
35220 || test ! -s conftest.err'
35221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35222 (eval $ac_try) 2>&5
35224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35225 (exit $ac_status); }; } &&
35226 { ac_try
='test -s conftest$ac_exeext'
35227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35228 (eval $ac_try) 2>&5
35230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231 (exit $ac_status); }; }; then
35232 eval "$as_ac_var=yes"
35234 echo "$as_me: failed program was:" >&5
35235 sed 's/^/| /' conftest.
$ac_ext >&5
35237 eval "$as_ac_var=no"
35239 rm -f conftest.err conftest.
$ac_objext \
35240 conftest
$ac_exeext conftest.
$ac_ext
35242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35244 if test `eval echo '${'$as_ac_var'}'` = yes; then
35245 cat >>confdefs.h
<<_ACEOF
35246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35253 echo "$as_me:$LINENO: checking for statfs" >&5
35254 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35255 if test "${wx_cv_func_statfs+set}" = set; then
35256 echo $ECHO_N "(cached) $ECHO_C" >&6
35258 cat >conftest.
$ac_ext <<_ACEOF
35261 cat confdefs.h
>>conftest.
$ac_ext
35262 cat >>conftest.
$ac_ext <<_ACEOF
35263 /* end confdefs.h. */
35265 #if defined(__BSD__)
35266 #include <sys/param.h>
35267 #include <sys/mount.h>
35269 #include <sys/vfs.h>
35287 rm -f conftest.
$ac_objext
35288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35289 (eval $ac_compile) 2>conftest.er1
35291 grep -v '^ *+' conftest.er1
>conftest.err
35293 cat conftest.err
>&5
35294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35295 (exit $ac_status); } &&
35296 { ac_try
='test -z "$ac_cxx_werror_flag"
35297 || test ! -s conftest.err'
35298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35299 (eval $ac_try) 2>&5
35301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302 (exit $ac_status); }; } &&
35303 { ac_try
='test -s conftest.$ac_objext'
35304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35305 (eval $ac_try) 2>&5
35307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35308 (exit $ac_status); }; }; then
35309 wx_cv_func_statfs
=yes
35311 echo "$as_me: failed program was:" >&5
35312 sed 's/^/| /' conftest.
$ac_ext >&5
35314 wx_cv_func_statfs
=no
35317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35320 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35321 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35323 if test "$wx_cv_func_statfs" = "yes"; then
35324 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35325 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35326 if test "${wx_cv_func_statfs_decl+set}" = set; then
35327 echo $ECHO_N "(cached) $ECHO_C" >&6
35329 cat >conftest.
$ac_ext <<_ACEOF
35332 cat confdefs.h
>>conftest.
$ac_ext
35333 cat >>conftest.
$ac_ext <<_ACEOF
35334 /* end confdefs.h. */
35336 #if defined(__BSD__)
35337 #include <sys/param.h>
35338 #include <sys/mount.h>
35340 #include <sys/vfs.h>
35354 rm -f conftest.
$ac_objext
35355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35356 (eval $ac_compile) 2>conftest.er1
35358 grep -v '^ *+' conftest.er1
>conftest.err
35360 cat conftest.err
>&5
35361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35362 (exit $ac_status); } &&
35363 { ac_try
='test -z "$ac_cxx_werror_flag"
35364 || test ! -s conftest.err'
35365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35366 (eval $ac_try) 2>&5
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); }; } &&
35370 { ac_try
='test -s conftest.$ac_objext'
35371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35372 (eval $ac_try) 2>&5
35374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35375 (exit $ac_status); }; }; then
35376 wx_cv_func_statfs_decl
=yes
35378 echo "$as_me: failed program was:" >&5
35379 sed 's/^/| /' conftest.
$ac_ext >&5
35381 wx_cv_func_statfs_decl
=no
35384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35387 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35388 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35390 if test "$wx_cv_func_statfs_decl" = "yes"; then
35391 cat >>confdefs.h
<<\_ACEOF
35392 #define HAVE_STATFS_DECL 1
35397 wx_cv_type_statvfs_t
="struct statfs"
35398 cat >>confdefs.h
<<\_ACEOF
35399 #define HAVE_STATFS 1
35403 echo "$as_me:$LINENO: checking for statvfs" >&5
35404 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35405 if test "${wx_cv_func_statvfs+set}" = set; then
35406 echo $ECHO_N "(cached) $ECHO_C" >&6
35408 cat >conftest.
$ac_ext <<_ACEOF
35411 cat confdefs.h
>>conftest.
$ac_ext
35412 cat >>conftest.
$ac_ext <<_ACEOF
35413 /* end confdefs.h. */
35415 #include <stddef.h>
35416 #include <sys/statvfs.h>
35422 statvfs("/", NULL);
35428 rm -f conftest.
$ac_objext
35429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35430 (eval $ac_compile) 2>conftest.er1
35432 grep -v '^ *+' conftest.er1
>conftest.err
35434 cat conftest.err
>&5
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); } &&
35437 { ac_try
='test -z "$ac_cxx_werror_flag"
35438 || test ! -s conftest.err'
35439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35440 (eval $ac_try) 2>&5
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); }; } &&
35444 { ac_try
='test -s conftest.$ac_objext'
35445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35446 (eval $ac_try) 2>&5
35448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449 (exit $ac_status); }; }; then
35450 wx_cv_func_statvfs
=yes
35452 echo "$as_me: failed program was:" >&5
35453 sed 's/^/| /' conftest.
$ac_ext >&5
35455 wx_cv_func_statvfs
=no
35458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35461 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35462 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35464 if test "$wx_cv_func_statvfs" = "yes"; then
35465 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35466 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35467 if test "${wx_cv_type_statvfs_t+set}" = set; then
35468 echo $ECHO_N "(cached) $ECHO_C" >&6
35470 cat >conftest.
$ac_ext <<_ACEOF
35473 cat confdefs.h
>>conftest.
$ac_ext
35474 cat >>conftest.
$ac_ext <<_ACEOF
35475 /* end confdefs.h. */
35477 #include <sys/statvfs.h>
35494 rm -f conftest.
$ac_objext
35495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35496 (eval $ac_compile) 2>conftest.er1
35498 grep -v '^ *+' conftest.er1
>conftest.err
35500 cat conftest.err
>&5
35501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35502 (exit $ac_status); } &&
35503 { ac_try
='test -z "$ac_cxx_werror_flag"
35504 || test ! -s conftest.err'
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); }; } &&
35510 { ac_try
='test -s conftest.$ac_objext'
35511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35512 (eval $ac_try) 2>&5
35514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35515 (exit $ac_status); }; }; then
35516 wx_cv_type_statvfs_t
=statvfs_t
35518 echo "$as_me: failed program was:" >&5
35519 sed 's/^/| /' conftest.
$ac_ext >&5
35522 cat >conftest.
$ac_ext <<_ACEOF
35525 cat confdefs.h
>>conftest.
$ac_ext
35526 cat >>conftest.
$ac_ext <<_ACEOF
35527 /* end confdefs.h. */
35529 #include <sys/statvfs.h>
35546 rm -f conftest.
$ac_objext
35547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35548 (eval $ac_compile) 2>conftest.er1
35550 grep -v '^ *+' conftest.er1
>conftest.err
35552 cat conftest.err
>&5
35553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35554 (exit $ac_status); } &&
35555 { ac_try
='test -z "$ac_cxx_werror_flag"
35556 || test ! -s conftest.err'
35557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35558 (eval $ac_try) 2>&5
35560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35561 (exit $ac_status); }; } &&
35562 { ac_try
='test -s conftest.$ac_objext'
35563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35564 (eval $ac_try) 2>&5
35566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35567 (exit $ac_status); }; }; then
35568 wx_cv_type_statvfs_t
="struct statvfs"
35570 echo "$as_me: failed program was:" >&5
35571 sed 's/^/| /' conftest.
$ac_ext >&5
35573 wx_cv_type_statvfs_t
="unknown"
35576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35583 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35584 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35586 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35587 cat >>confdefs.h
<<\_ACEOF
35588 #define HAVE_STATVFS 1
35593 wx_cv_type_statvfs_t
="unknown"
35597 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35598 cat >>confdefs.h
<<_ACEOF
35599 #define WX_STATFS_T $wx_cv_type_statvfs_t
35603 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35604 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35607 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35610 for ac_func
in fcntl flock
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_cxx_werror_flag"
35679 || test ! -s conftest.err'
35680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35681 (eval $ac_try) 2>&5
35683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35684 (exit $ac_status); }; } &&
35685 { ac_try
='test -s conftest$ac_exeext'
35686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35687 (eval $ac_try) 2>&5
35689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35690 (exit $ac_status); }; }; then
35691 eval "$as_ac_var=yes"
35693 echo "$as_me: failed program was:" >&5
35694 sed 's/^/| /' conftest.
$ac_ext >&5
35696 eval "$as_ac_var=no"
35698 rm -f conftest.err conftest.
$ac_objext \
35699 conftest
$ac_exeext conftest.
$ac_ext
35701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35703 if test `eval echo '${'$as_ac_var'}'` = yes; then
35704 cat >>confdefs.h
<<_ACEOF
35705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35712 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35713 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35714 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35715 wxUSE_SNGLINST_CHECKER
=no
35720 for ac_func
in timegm
35722 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35723 echo "$as_me:$LINENO: checking for $ac_func" >&5
35724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35725 if eval "test \"\${$as_ac_var+set}\" = set"; then
35726 echo $ECHO_N "(cached) $ECHO_C" >&6
35728 cat >conftest.
$ac_ext <<_ACEOF
35731 cat confdefs.h
>>conftest.
$ac_ext
35732 cat >>conftest.
$ac_ext <<_ACEOF
35733 /* end confdefs.h. */
35734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35736 #define $ac_func innocuous_$ac_func
35738 /* System header to define __stub macros and hopefully few prototypes,
35739 which can conflict with char $ac_func (); below.
35740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35741 <limits.h> exists even on freestanding compilers. */
35744 # include <limits.h>
35746 # include <assert.h>
35751 /* Override any gcc2 internal prototype to avoid an error. */
35756 /* We use char because int might match the return type of a gcc2
35757 builtin and then its argument prototype would still apply. */
35759 /* The GNU C library defines this for functions which it implements
35760 to always fail with ENOSYS. Some functions are actually named
35761 something starting with __ and the normal name is an alias. */
35762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35765 char (*f) () = $ac_func;
35774 return f != $ac_func;
35779 rm -f conftest.
$ac_objext conftest
$ac_exeext
35780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35781 (eval $ac_link) 2>conftest.er1
35783 grep -v '^ *+' conftest.er1
>conftest.err
35785 cat conftest.err
>&5
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); } &&
35788 { ac_try
='test -z "$ac_cxx_werror_flag"
35789 || test ! -s conftest.err'
35790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35791 (eval $ac_try) 2>&5
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); }; } &&
35795 { ac_try
='test -s conftest$ac_exeext'
35796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35797 (eval $ac_try) 2>&5
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); }; }; then
35801 eval "$as_ac_var=yes"
35803 echo "$as_me: failed program was:" >&5
35804 sed 's/^/| /' conftest.
$ac_ext >&5
35806 eval "$as_ac_var=no"
35808 rm -f conftest.err conftest.
$ac_objext \
35809 conftest
$ac_exeext conftest.
$ac_ext
35811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35813 if test `eval echo '${'$as_ac_var'}'` = yes; then
35814 cat >>confdefs.h
<<_ACEOF
35815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35824 for ac_func
in putenv setenv
35826 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35827 echo "$as_me:$LINENO: checking for $ac_func" >&5
35828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35829 if eval "test \"\${$as_ac_var+set}\" = set"; then
35830 echo $ECHO_N "(cached) $ECHO_C" >&6
35832 cat >conftest.
$ac_ext <<_ACEOF
35835 cat confdefs.h
>>conftest.
$ac_ext
35836 cat >>conftest.
$ac_ext <<_ACEOF
35837 /* end confdefs.h. */
35838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35840 #define $ac_func innocuous_$ac_func
35842 /* System header to define __stub macros and hopefully few prototypes,
35843 which can conflict with char $ac_func (); below.
35844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35845 <limits.h> exists even on freestanding compilers. */
35848 # include <limits.h>
35850 # include <assert.h>
35855 /* Override any gcc2 internal prototype to avoid an error. */
35860 /* We use char because int might match the return type of a gcc2
35861 builtin and then its argument prototype would still apply. */
35863 /* The GNU C library defines this for functions which it implements
35864 to always fail with ENOSYS. Some functions are actually named
35865 something starting with __ and the normal name is an alias. */
35866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35869 char (*f) () = $ac_func;
35878 return f != $ac_func;
35883 rm -f conftest.
$ac_objext conftest
$ac_exeext
35884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35885 (eval $ac_link) 2>conftest.er1
35887 grep -v '^ *+' conftest.er1
>conftest.err
35889 cat conftest.err
>&5
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); } &&
35892 { ac_try
='test -z "$ac_cxx_werror_flag"
35893 || test ! -s conftest.err'
35894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35895 (eval $ac_try) 2>&5
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); }; } &&
35899 { ac_try
='test -s conftest$ac_exeext'
35900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35901 (eval $ac_try) 2>&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); }; }; then
35905 eval "$as_ac_var=yes"
35907 echo "$as_me: failed program was:" >&5
35908 sed 's/^/| /' conftest.
$ac_ext >&5
35910 eval "$as_ac_var=no"
35912 rm -f conftest.err conftest.
$ac_objext \
35913 conftest
$ac_exeext conftest.
$ac_ext
35915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35917 if test `eval echo '${'$as_ac_var'}'` = yes; then
35918 cat >>confdefs.h
<<_ACEOF
35919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35926 HAVE_SOME_SLEEP_FUNC
=0
35927 if test "$USE_BEOS" = 1; then
35928 cat >>confdefs.h
<<\_ACEOF
35929 #define HAVE_SLEEP 1
35932 HAVE_SOME_SLEEP_FUNC
=1
35935 if test "$USE_DARWIN" = 1; then
35936 cat >>confdefs.h
<<\_ACEOF
35937 #define HAVE_USLEEP 1
35940 HAVE_SOME_SLEEP_FUNC
=1
35943 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35946 for ac_func
in nanosleep
35948 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35949 echo "$as_me:$LINENO: checking for $ac_func" >&5
35950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35951 if eval "test \"\${$as_ac_var+set}\" = set"; then
35952 echo $ECHO_N "(cached) $ECHO_C" >&6
35954 cat >conftest.
$ac_ext <<_ACEOF
35957 cat confdefs.h
>>conftest.
$ac_ext
35958 cat >>conftest.
$ac_ext <<_ACEOF
35959 /* end confdefs.h. */
35960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35962 #define $ac_func innocuous_$ac_func
35964 /* System header to define __stub macros and hopefully few prototypes,
35965 which can conflict with char $ac_func (); below.
35966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35967 <limits.h> exists even on freestanding compilers. */
35970 # include <limits.h>
35972 # include <assert.h>
35977 /* Override any gcc2 internal prototype to avoid an error. */
35982 /* We use char because int might match the return type of a gcc2
35983 builtin and then its argument prototype would still apply. */
35985 /* The GNU C library defines this for functions which it implements
35986 to always fail with ENOSYS. Some functions are actually named
35987 something starting with __ and the normal name is an alias. */
35988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35991 char (*f) () = $ac_func;
36000 return f != $ac_func;
36005 rm -f conftest.
$ac_objext conftest
$ac_exeext
36006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36007 (eval $ac_link) 2>conftest.er1
36009 grep -v '^ *+' conftest.er1
>conftest.err
36011 cat conftest.err
>&5
36012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36013 (exit $ac_status); } &&
36014 { ac_try
='test -z "$ac_cxx_werror_flag"
36015 || test ! -s conftest.err'
36016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36017 (eval $ac_try) 2>&5
36019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020 (exit $ac_status); }; } &&
36021 { ac_try
='test -s conftest$ac_exeext'
36022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36023 (eval $ac_try) 2>&5
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); }; }; then
36027 eval "$as_ac_var=yes"
36029 echo "$as_me: failed program was:" >&5
36030 sed 's/^/| /' conftest.
$ac_ext >&5
36032 eval "$as_ac_var=no"
36034 rm -f conftest.err conftest.
$ac_objext \
36035 conftest
$ac_exeext conftest.
$ac_ext
36037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36039 if test `eval echo '${'$as_ac_var'}'` = yes; then
36040 cat >>confdefs.h
<<_ACEOF
36041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36043 cat >>confdefs.h
<<\_ACEOF
36044 #define HAVE_NANOSLEEP 1
36049 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36050 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36051 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36052 echo $ECHO_N "(cached) $ECHO_C" >&6
36054 ac_check_lib_save_LIBS
=$LIBS
36055 LIBS
="-lposix4 $LIBS"
36056 cat >conftest.
$ac_ext <<_ACEOF
36059 cat confdefs.h
>>conftest.
$ac_ext
36060 cat >>conftest.
$ac_ext <<_ACEOF
36061 /* end confdefs.h. */
36063 /* Override any gcc2 internal prototype to avoid an error. */
36067 /* We use char because int might match the return type of a gcc2
36068 builtin and then its argument prototype would still apply. */
36078 rm -f conftest.
$ac_objext conftest
$ac_exeext
36079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36080 (eval $ac_link) 2>conftest.er1
36082 grep -v '^ *+' conftest.er1
>conftest.err
36084 cat conftest.err
>&5
36085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36086 (exit $ac_status); } &&
36087 { ac_try
='test -z "$ac_cxx_werror_flag"
36088 || test ! -s conftest.err'
36089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36090 (eval $ac_try) 2>&5
36092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36093 (exit $ac_status); }; } &&
36094 { ac_try
='test -s conftest$ac_exeext'
36095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36096 (eval $ac_try) 2>&5
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); }; }; then
36100 ac_cv_lib_posix4_nanosleep
=yes
36102 echo "$as_me: failed program was:" >&5
36103 sed 's/^/| /' conftest.
$ac_ext >&5
36105 ac_cv_lib_posix4_nanosleep
=no
36107 rm -f conftest.err conftest.
$ac_objext \
36108 conftest
$ac_exeext conftest.
$ac_ext
36109 LIBS
=$ac_check_lib_save_LIBS
36111 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36112 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36113 if test $ac_cv_lib_posix4_nanosleep = yes; then
36115 cat >>confdefs.h
<<\_ACEOF
36116 #define HAVE_NANOSLEEP 1
36119 POSIX4_LINK
=" -lposix4"
36124 for ac_func
in usleep
36126 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36127 echo "$as_me:$LINENO: checking for $ac_func" >&5
36128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36129 if eval "test \"\${$as_ac_var+set}\" = set"; then
36130 echo $ECHO_N "(cached) $ECHO_C" >&6
36132 cat >conftest.
$ac_ext <<_ACEOF
36135 cat confdefs.h
>>conftest.
$ac_ext
36136 cat >>conftest.
$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36140 #define $ac_func innocuous_$ac_func
36142 /* System header to define __stub macros and hopefully few prototypes,
36143 which can conflict with char $ac_func (); below.
36144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36145 <limits.h> exists even on freestanding compilers. */
36148 # include <limits.h>
36150 # include <assert.h>
36155 /* Override any gcc2 internal prototype to avoid an error. */
36160 /* We use char because int might match the return type of a gcc2
36161 builtin and then its argument prototype would still apply. */
36163 /* The GNU C library defines this for functions which it implements
36164 to always fail with ENOSYS. Some functions are actually named
36165 something starting with __ and the normal name is an alias. */
36166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36169 char (*f) () = $ac_func;
36178 return f != $ac_func;
36183 rm -f conftest.
$ac_objext conftest
$ac_exeext
36184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36185 (eval $ac_link) 2>conftest.er1
36187 grep -v '^ *+' conftest.er1
>conftest.err
36189 cat conftest.err
>&5
36190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191 (exit $ac_status); } &&
36192 { ac_try
='test -z "$ac_cxx_werror_flag"
36193 || test ! -s conftest.err'
36194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36195 (eval $ac_try) 2>&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); }; } &&
36199 { ac_try
='test -s conftest$ac_exeext'
36200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36201 (eval $ac_try) 2>&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); }; }; then
36205 eval "$as_ac_var=yes"
36207 echo "$as_me: failed program was:" >&5
36208 sed 's/^/| /' conftest.
$ac_ext >&5
36210 eval "$as_ac_var=no"
36212 rm -f conftest.err conftest.
$ac_objext \
36213 conftest
$ac_exeext conftest.
$ac_ext
36215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36217 if test `eval echo '${'$as_ac_var'}'` = yes; then
36218 cat >>confdefs.h
<<_ACEOF
36219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36221 cat >>confdefs.h
<<\_ACEOF
36222 #define HAVE_USLEEP 1
36226 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36227 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36245 for ac_func
in uname gethostname
36247 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36248 echo "$as_me:$LINENO: checking for $ac_func" >&5
36249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36250 if eval "test \"\${$as_ac_var+set}\" = set"; then
36251 echo $ECHO_N "(cached) $ECHO_C" >&6
36253 cat >conftest.
$ac_ext <<_ACEOF
36256 cat confdefs.h
>>conftest.
$ac_ext
36257 cat >>conftest.
$ac_ext <<_ACEOF
36258 /* end confdefs.h. */
36259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36261 #define $ac_func innocuous_$ac_func
36263 /* System header to define __stub macros and hopefully few prototypes,
36264 which can conflict with char $ac_func (); below.
36265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36266 <limits.h> exists even on freestanding compilers. */
36269 # include <limits.h>
36271 # include <assert.h>
36276 /* Override any gcc2 internal prototype to avoid an error. */
36281 /* We use char because int might match the return type of a gcc2
36282 builtin and then its argument prototype would still apply. */
36284 /* The GNU C library defines this for functions which it implements
36285 to always fail with ENOSYS. Some functions are actually named
36286 something starting with __ and the normal name is an alias. */
36287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36290 char (*f) () = $ac_func;
36299 return f != $ac_func;
36304 rm -f conftest.
$ac_objext conftest
$ac_exeext
36305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36306 (eval $ac_link) 2>conftest.er1
36308 grep -v '^ *+' conftest.er1
>conftest.err
36310 cat conftest.err
>&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); } &&
36313 { ac_try
='test -z "$ac_cxx_werror_flag"
36314 || test ! -s conftest.err'
36315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36316 (eval $ac_try) 2>&5
36318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36319 (exit $ac_status); }; } &&
36320 { ac_try
='test -s conftest$ac_exeext'
36321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36322 (eval $ac_try) 2>&5
36324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36325 (exit $ac_status); }; }; then
36326 eval "$as_ac_var=yes"
36328 echo "$as_me: failed program was:" >&5
36329 sed 's/^/| /' conftest.
$ac_ext >&5
36331 eval "$as_ac_var=no"
36333 rm -f conftest.err conftest.
$ac_objext \
36334 conftest
$ac_exeext conftest.
$ac_ext
36336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36338 if test `eval echo '${'$as_ac_var'}'` = yes; then
36339 cat >>confdefs.h
<<_ACEOF
36340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36348 for ac_func
in strtok_r
36350 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36351 echo "$as_me:$LINENO: checking for $ac_func" >&5
36352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36353 if eval "test \"\${$as_ac_var+set}\" = set"; then
36354 echo $ECHO_N "(cached) $ECHO_C" >&6
36356 cat >conftest.
$ac_ext <<_ACEOF
36359 cat confdefs.h
>>conftest.
$ac_ext
36360 cat >>conftest.
$ac_ext <<_ACEOF
36361 /* end confdefs.h. */
36362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36364 #define $ac_func innocuous_$ac_func
36366 /* System header to define __stub macros and hopefully few prototypes,
36367 which can conflict with char $ac_func (); below.
36368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36369 <limits.h> exists even on freestanding compilers. */
36372 # include <limits.h>
36374 # include <assert.h>
36379 /* Override any gcc2 internal prototype to avoid an error. */
36384 /* We use char because int might match the return type of a gcc2
36385 builtin and then its argument prototype would still apply. */
36387 /* The GNU C library defines this for functions which it implements
36388 to always fail with ENOSYS. Some functions are actually named
36389 something starting with __ and the normal name is an alias. */
36390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36393 char (*f) () = $ac_func;
36402 return f != $ac_func;
36407 rm -f conftest.
$ac_objext conftest
$ac_exeext
36408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36409 (eval $ac_link) 2>conftest.er1
36411 grep -v '^ *+' conftest.er1
>conftest.err
36413 cat conftest.err
>&5
36414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36415 (exit $ac_status); } &&
36416 { ac_try
='test -z "$ac_cxx_werror_flag"
36417 || test ! -s conftest.err'
36418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36419 (eval $ac_try) 2>&5
36421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36422 (exit $ac_status); }; } &&
36423 { ac_try
='test -s conftest$ac_exeext'
36424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36425 (eval $ac_try) 2>&5
36427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36428 (exit $ac_status); }; }; then
36429 eval "$as_ac_var=yes"
36431 echo "$as_me: failed program was:" >&5
36432 sed 's/^/| /' conftest.
$ac_ext >&5
36434 eval "$as_ac_var=no"
36436 rm -f conftest.err conftest.
$ac_objext \
36437 conftest
$ac_exeext conftest.
$ac_ext
36439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36441 if test `eval echo '${'$as_ac_var'}'` = yes; then
36442 cat >>confdefs.h
<<_ACEOF
36443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36452 for ac_func
in inet_addr
36454 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36455 echo "$as_me:$LINENO: checking for $ac_func" >&5
36456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36457 if eval "test \"\${$as_ac_var+set}\" = set"; then
36458 echo $ECHO_N "(cached) $ECHO_C" >&6
36460 cat >conftest.
$ac_ext <<_ACEOF
36463 cat confdefs.h
>>conftest.
$ac_ext
36464 cat >>conftest.
$ac_ext <<_ACEOF
36465 /* end confdefs.h. */
36466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36468 #define $ac_func innocuous_$ac_func
36470 /* System header to define __stub macros and hopefully few prototypes,
36471 which can conflict with char $ac_func (); below.
36472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36473 <limits.h> exists even on freestanding compilers. */
36476 # include <limits.h>
36478 # include <assert.h>
36483 /* Override any gcc2 internal prototype to avoid an error. */
36488 /* We use char because int might match the return type of a gcc2
36489 builtin and then its argument prototype would still apply. */
36491 /* The GNU C library defines this for functions which it implements
36492 to always fail with ENOSYS. Some functions are actually named
36493 something starting with __ and the normal name is an alias. */
36494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36497 char (*f) () = $ac_func;
36506 return f != $ac_func;
36511 rm -f conftest.
$ac_objext conftest
$ac_exeext
36512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36513 (eval $ac_link) 2>conftest.er1
36515 grep -v '^ *+' conftest.er1
>conftest.err
36517 cat conftest.err
>&5
36518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36519 (exit $ac_status); } &&
36520 { ac_try
='test -z "$ac_cxx_werror_flag"
36521 || test ! -s conftest.err'
36522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36523 (eval $ac_try) 2>&5
36525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36526 (exit $ac_status); }; } &&
36527 { ac_try
='test -s conftest$ac_exeext'
36528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36529 (eval $ac_try) 2>&5
36531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36532 (exit $ac_status); }; }; then
36533 eval "$as_ac_var=yes"
36535 echo "$as_me: failed program was:" >&5
36536 sed 's/^/| /' conftest.
$ac_ext >&5
36538 eval "$as_ac_var=no"
36540 rm -f conftest.err conftest.
$ac_objext \
36541 conftest
$ac_exeext conftest.
$ac_ext
36543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36545 if test `eval echo '${'$as_ac_var'}'` = yes; then
36546 cat >>confdefs.h
<<_ACEOF
36547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36549 cat >>confdefs.h
<<\_ACEOF
36550 #define HAVE_INET_ADDR 1
36555 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36556 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36557 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36558 echo $ECHO_N "(cached) $ECHO_C" >&6
36560 ac_check_lib_save_LIBS
=$LIBS
36562 cat >conftest.
$ac_ext <<_ACEOF
36565 cat confdefs.h
>>conftest.
$ac_ext
36566 cat >>conftest.
$ac_ext <<_ACEOF
36567 /* end confdefs.h. */
36569 /* Override any gcc2 internal prototype to avoid an error. */
36573 /* We use char because int might match the return type of a gcc2
36574 builtin and then its argument prototype would still apply. */
36584 rm -f conftest.
$ac_objext conftest
$ac_exeext
36585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36586 (eval $ac_link) 2>conftest.er1
36588 grep -v '^ *+' conftest.er1
>conftest.err
36590 cat conftest.err
>&5
36591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592 (exit $ac_status); } &&
36593 { ac_try
='test -z "$ac_cxx_werror_flag"
36594 || test ! -s conftest.err'
36595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36596 (eval $ac_try) 2>&5
36598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36599 (exit $ac_status); }; } &&
36600 { ac_try
='test -s conftest$ac_exeext'
36601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36602 (eval $ac_try) 2>&5
36604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36605 (exit $ac_status); }; }; then
36606 ac_cv_lib_nsl_inet_addr
=yes
36608 echo "$as_me: failed program was:" >&5
36609 sed 's/^/| /' conftest.
$ac_ext >&5
36611 ac_cv_lib_nsl_inet_addr
=no
36613 rm -f conftest.err conftest.
$ac_objext \
36614 conftest
$ac_exeext conftest.
$ac_ext
36615 LIBS
=$ac_check_lib_save_LIBS
36617 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36618 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36619 if test $ac_cv_lib_nsl_inet_addr = yes; then
36623 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36624 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36625 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36626 echo $ECHO_N "(cached) $ECHO_C" >&6
36628 ac_check_lib_save_LIBS
=$LIBS
36629 LIBS
="-lresolv $LIBS"
36630 cat >conftest.
$ac_ext <<_ACEOF
36633 cat confdefs.h
>>conftest.
$ac_ext
36634 cat >>conftest.
$ac_ext <<_ACEOF
36635 /* end confdefs.h. */
36637 /* Override any gcc2 internal prototype to avoid an error. */
36641 /* We use char because int might match the return type of a gcc2
36642 builtin and then its argument prototype would still apply. */
36652 rm -f conftest.
$ac_objext conftest
$ac_exeext
36653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36654 (eval $ac_link) 2>conftest.er1
36656 grep -v '^ *+' conftest.er1
>conftest.err
36658 cat conftest.err
>&5
36659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36660 (exit $ac_status); } &&
36661 { ac_try
='test -z "$ac_cxx_werror_flag"
36662 || test ! -s conftest.err'
36663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36664 (eval $ac_try) 2>&5
36666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36667 (exit $ac_status); }; } &&
36668 { ac_try
='test -s conftest$ac_exeext'
36669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36670 (eval $ac_try) 2>&5
36672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36673 (exit $ac_status); }; }; then
36674 ac_cv_lib_resolv_inet_addr
=yes
36676 echo "$as_me: failed program was:" >&5
36677 sed 's/^/| /' conftest.
$ac_ext >&5
36679 ac_cv_lib_resolv_inet_addr
=no
36681 rm -f conftest.err conftest.
$ac_objext \
36682 conftest
$ac_exeext conftest.
$ac_ext
36683 LIBS
=$ac_check_lib_save_LIBS
36685 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36686 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36687 if test $ac_cv_lib_resolv_inet_addr = yes; then
36691 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36692 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36693 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36694 echo $ECHO_N "(cached) $ECHO_C" >&6
36696 ac_check_lib_save_LIBS
=$LIBS
36697 LIBS
="-lsocket $LIBS"
36698 cat >conftest.
$ac_ext <<_ACEOF
36701 cat confdefs.h
>>conftest.
$ac_ext
36702 cat >>conftest.
$ac_ext <<_ACEOF
36703 /* end confdefs.h. */
36705 /* Override any gcc2 internal prototype to avoid an error. */
36709 /* We use char because int might match the return type of a gcc2
36710 builtin and then its argument prototype would still apply. */
36720 rm -f conftest.
$ac_objext conftest
$ac_exeext
36721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36722 (eval $ac_link) 2>conftest.er1
36724 grep -v '^ *+' conftest.er1
>conftest.err
36726 cat conftest.err
>&5
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); } &&
36729 { ac_try
='test -z "$ac_cxx_werror_flag"
36730 || test ! -s conftest.err'
36731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36732 (eval $ac_try) 2>&5
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); }; } &&
36736 { ac_try
='test -s conftest$ac_exeext'
36737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36738 (eval $ac_try) 2>&5
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); }; }; then
36742 ac_cv_lib_socket_inet_addr
=yes
36744 echo "$as_me: failed program was:" >&5
36745 sed 's/^/| /' conftest.
$ac_ext >&5
36747 ac_cv_lib_socket_inet_addr
=no
36749 rm -f conftest.err conftest.
$ac_objext \
36750 conftest
$ac_exeext conftest.
$ac_ext
36751 LIBS
=$ac_check_lib_save_LIBS
36753 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36754 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36755 if test $ac_cv_lib_socket_inet_addr = yes; then
36775 for ac_func
in inet_aton
36777 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36778 echo "$as_me:$LINENO: checking for $ac_func" >&5
36779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36780 if eval "test \"\${$as_ac_var+set}\" = set"; then
36781 echo $ECHO_N "(cached) $ECHO_C" >&6
36783 cat >conftest.
$ac_ext <<_ACEOF
36786 cat confdefs.h
>>conftest.
$ac_ext
36787 cat >>conftest.
$ac_ext <<_ACEOF
36788 /* end confdefs.h. */
36789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36791 #define $ac_func innocuous_$ac_func
36793 /* System header to define __stub macros and hopefully few prototypes,
36794 which can conflict with char $ac_func (); below.
36795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36796 <limits.h> exists even on freestanding compilers. */
36799 # include <limits.h>
36801 # include <assert.h>
36806 /* Override any gcc2 internal prototype to avoid an error. */
36811 /* We use char because int might match the return type of a gcc2
36812 builtin and then its argument prototype would still apply. */
36814 /* The GNU C library defines this for functions which it implements
36815 to always fail with ENOSYS. Some functions are actually named
36816 something starting with __ and the normal name is an alias. */
36817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36820 char (*f) () = $ac_func;
36829 return f != $ac_func;
36834 rm -f conftest.
$ac_objext conftest
$ac_exeext
36835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36836 (eval $ac_link) 2>conftest.er1
36838 grep -v '^ *+' conftest.er1
>conftest.err
36840 cat conftest.err
>&5
36841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36842 (exit $ac_status); } &&
36843 { ac_try
='test -z "$ac_cxx_werror_flag"
36844 || test ! -s conftest.err'
36845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36846 (eval $ac_try) 2>&5
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); }; } &&
36850 { ac_try
='test -s conftest$ac_exeext'
36851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36852 (eval $ac_try) 2>&5
36854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855 (exit $ac_status); }; }; then
36856 eval "$as_ac_var=yes"
36858 echo "$as_me: failed program was:" >&5
36859 sed 's/^/| /' conftest.
$ac_ext >&5
36861 eval "$as_ac_var=no"
36863 rm -f conftest.err conftest.
$ac_objext \
36864 conftest
$ac_exeext conftest.
$ac_ext
36866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36868 if test `eval echo '${'$as_ac_var'}'` = yes; then
36869 cat >>confdefs.h
<<_ACEOF
36870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36872 cat >>confdefs.h
<<\_ACEOF
36873 #define HAVE_INET_ATON 1
36878 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36879 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36880 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36881 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36882 echo $ECHO_N "(cached) $ECHO_C" >&6
36884 ac_check_lib_save_LIBS
=$LIBS
36885 LIBS
="-l$INET_LINK $LIBS"
36886 cat >conftest.
$ac_ext <<_ACEOF
36889 cat confdefs.h
>>conftest.
$ac_ext
36890 cat >>conftest.
$ac_ext <<_ACEOF
36891 /* end confdefs.h. */
36893 /* Override any gcc2 internal prototype to avoid an error. */
36897 /* We use char because int might match the return type of a gcc2
36898 builtin and then its argument prototype would still apply. */
36908 rm -f conftest.
$ac_objext conftest
$ac_exeext
36909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36910 (eval $ac_link) 2>conftest.er1
36912 grep -v '^ *+' conftest.er1
>conftest.err
36914 cat conftest.err
>&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } &&
36917 { ac_try
='test -z "$ac_cxx_werror_flag"
36918 || test ! -s conftest.err'
36919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36920 (eval $ac_try) 2>&5
36922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36923 (exit $ac_status); }; } &&
36924 { ac_try
='test -s conftest$ac_exeext'
36925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36926 (eval $ac_try) 2>&5
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); }; }; then
36930 eval "$as_ac_Lib=yes"
36932 echo "$as_me: failed program was:" >&5
36933 sed 's/^/| /' conftest.
$ac_ext >&5
36935 eval "$as_ac_Lib=no"
36937 rm -f conftest.err conftest.
$ac_objext \
36938 conftest
$ac_exeext conftest.
$ac_ext
36939 LIBS
=$ac_check_lib_save_LIBS
36941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36942 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36943 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36944 cat >>confdefs.h
<<\_ACEOF
36945 #define HAVE_INET_ATON 1
36955 if test "x$INET_LINK" != "x"; then
36956 cat >>confdefs.h
<<\_ACEOF
36957 #define HAVE_INET_ADDR 1
36960 INET_LINK
=" -l$INET_LINK"
36968 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36969 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36970 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36971 echo $ECHO_N "(cached) $ECHO_C" >&6
36973 ac_check_lib_save_LIBS
=$LIBS
36975 cat >conftest.
$ac_ext <<_ACEOF
36978 cat confdefs.h
>>conftest.
$ac_ext
36979 cat >>conftest.
$ac_ext <<_ACEOF
36980 /* end confdefs.h. */
36982 /* Override any gcc2 internal prototype to avoid an error. */
36986 /* We use char because int might match the return type of a gcc2
36987 builtin and then its argument prototype would still apply. */
36997 rm -f conftest.
$ac_objext conftest
$ac_exeext
36998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36999 (eval $ac_link) 2>conftest.er1
37001 grep -v '^ *+' conftest.er1
>conftest.err
37003 cat conftest.err
>&5
37004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37005 (exit $ac_status); } &&
37006 { ac_try
='test -z "$ac_cxx_werror_flag"
37007 || test ! -s conftest.err'
37008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37009 (eval $ac_try) 2>&5
37011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37012 (exit $ac_status); }; } &&
37013 { ac_try
='test -s conftest$ac_exeext'
37014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37015 (eval $ac_try) 2>&5
37017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37018 (exit $ac_status); }; }; then
37019 ac_cv_lib_esd_esd_close
=yes
37021 echo "$as_me: failed program was:" >&5
37022 sed 's/^/| /' conftest.
$ac_ext >&5
37024 ac_cv_lib_esd_esd_close
=no
37026 rm -f conftest.err conftest.
$ac_objext \
37027 conftest
$ac_exeext conftest.
$ac_ext
37028 LIBS
=$ac_check_lib_save_LIBS
37030 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37031 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
37032 if test $ac_cv_lib_esd_esd_close = yes; then
37035 for ac_header
in esd.h
37037 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37039 echo "$as_me:$LINENO: checking for $ac_header" >&5
37040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37042 echo $ECHO_N "(cached) $ECHO_C" >&6
37044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37047 # Is the header compilable?
37048 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37050 cat >conftest.
$ac_ext <<_ACEOF
37053 cat confdefs.h
>>conftest.
$ac_ext
37054 cat >>conftest.
$ac_ext <<_ACEOF
37055 /* end confdefs.h. */
37056 $ac_includes_default
37057 #include <$ac_header>
37059 rm -f conftest.
$ac_objext
37060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37061 (eval $ac_compile) 2>conftest.er1
37063 grep -v '^ *+' conftest.er1
>conftest.err
37065 cat conftest.err
>&5
37066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37067 (exit $ac_status); } &&
37068 { ac_try
='test -z "$ac_cxx_werror_flag"
37069 || test ! -s conftest.err'
37070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37071 (eval $ac_try) 2>&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); }; } &&
37075 { ac_try
='test -s conftest.$ac_objext'
37076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37077 (eval $ac_try) 2>&5
37079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37080 (exit $ac_status); }; }; then
37081 ac_header_compiler
=yes
37083 echo "$as_me: failed program was:" >&5
37084 sed 's/^/| /' conftest.
$ac_ext >&5
37086 ac_header_compiler
=no
37088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37089 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37090 echo "${ECHO_T}$ac_header_compiler" >&6
37092 # Is the header present?
37093 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37095 cat >conftest.
$ac_ext <<_ACEOF
37098 cat confdefs.h
>>conftest.
$ac_ext
37099 cat >>conftest.
$ac_ext <<_ACEOF
37100 /* end confdefs.h. */
37101 #include <$ac_header>
37103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37104 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37106 grep -v '^ *+' conftest.er1
>conftest.err
37108 cat conftest.err
>&5
37109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110 (exit $ac_status); } >/dev
/null
; then
37111 if test -s conftest.err
; then
37112 ac_cpp_err
=$ac_cxx_preproc_warn_flag
37113 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
37120 if test -z "$ac_cpp_err"; then
37121 ac_header_preproc
=yes
37123 echo "$as_me: failed program was:" >&5
37124 sed 's/^/| /' conftest.
$ac_ext >&5
37126 ac_header_preproc
=no
37128 rm -f conftest.err conftest.
$ac_ext
37129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37130 echo "${ECHO_T}$ac_header_preproc" >&6
37132 # So? What about this header?
37133 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37138 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37139 ac_header_preproc
=yes
37142 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37143 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37144 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37145 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37146 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37147 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37148 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37149 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37152 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37153 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37156 ## ----------------------------------------- ##
37157 ## Report this to wx-dev@lists.wxwidgets.org ##
37158 ## ----------------------------------------- ##
37161 sed "s/^/$as_me: WARNING: /" >&2
37164 echo "$as_me:$LINENO: checking for $ac_header" >&5
37165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37167 echo $ECHO_N "(cached) $ECHO_C" >&6
37169 eval "$as_ac_Header=\$ac_header_preproc"
37171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37176 cat >>confdefs.h
<<_ACEOF
37177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37180 EXTRALIBS_ESD
="-lesd"
37191 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37192 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
37193 cat >conftest.
$ac_ext <<_ACEOF
37196 cat confdefs.h
>>conftest.
$ac_ext
37197 cat >>conftest.
$ac_ext <<_ACEOF
37198 /* end confdefs.h. */
37200 #include <linux/cdrom.h>
37203 #include <sys/cdio.h>
37209 struct cdrom_tocentry entry, old_entry;
37214 rm -f conftest.
$ac_objext
37215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37216 (eval $ac_compile) 2>conftest.er1
37218 grep -v '^ *+' conftest.er1
>conftest.err
37220 cat conftest.err
>&5
37221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37222 (exit $ac_status); } &&
37223 { ac_try
='test -z "$ac_cxx_werror_flag"
37224 || test ! -s conftest.err'
37225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37226 (eval $ac_try) 2>&5
37228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37229 (exit $ac_status); }; } &&
37230 { ac_try
='test -s conftest.$ac_objext'
37231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37232 (eval $ac_try) 2>&5
37234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37235 (exit $ac_status); }; }; then
37236 echo "$as_me:$LINENO: result: yes" >&5
37237 echo "${ECHO_T}yes" >&6
37238 cat >>confdefs.h
<<\_ACEOF
37239 #define HAVE_KNOWN_CDROM_INTERFACE 1
37243 echo "$as_me: failed program was:" >&5
37244 sed 's/^/| /' conftest.
$ac_ext >&5
37246 echo "$as_me:$LINENO: result: no" >&5
37247 echo "${ECHO_T}no" >&6
37249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37252 cat >confcache
<<\_ACEOF
37253 # This file is a shell script that caches the results of configure
37254 # tests run on this system so they can be shared between configure
37255 # scripts and configure runs, see configure's option --config-cache.
37256 # It is not useful on other systems. If it contains results you don't
37257 # want to keep, you may remove or edit it.
37259 # config.status only pays attention to the cache file if you give it
37260 # the --recheck option to rerun configure.
37262 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37263 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37264 # following values.
37268 # The following way of writing the cache mishandles newlines in values,
37269 # but we know of no workaround that is simple, portable, and efficient.
37270 # So, don't put newlines in cache variables' values.
37271 # Ultrix sh set writes to stderr and can't be redirected directly,
37272 # and sets the high bit in the cache file unless we assign to the vars.
37275 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37277 # `set' does not quote correctly, so add quotes (double-quote
37278 # substitution turns \\\\ into \\, and sed turns \\ into \).
37281 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37284 # `set' quotes correctly as required by POSIX, so do not add quotes.
37286 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37293 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37295 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37297 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37298 if test -w $cache_file; then
37299 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37300 cat confcache
>$cache_file
37302 echo "not updating unwritable cache $cache_file"
37308 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37314 if test "$wxUSE_THREADS" = "yes" ; then
37315 if test "$USE_BEOS" = 1; then
37316 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37317 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37322 if test "$wxUSE_THREADS" = "yes" ; then
37325 THREAD_OPTS
="-pthread"
37327 *-*-solaris2* | *-*-sunos4* )
37328 if test "x$GCC" = "xyes"; then
37329 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37331 THREAD_OPTS
="-mt $THREAD_OPTS"
37335 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37337 *-*-darwin* | *-*-cygwin* )
37341 THREAD_OPTS
="pthreads"
37344 if test "x$GCC" = "xyes"; then
37345 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37353 if test "x$GCC" = "xyes"; then
37359 if test "x$GCC" != "xyes"; then
37360 THREAD_OPTS
="-Ethread"
37365 THREAD_OPTS
="$THREAD_OPTS pthread none"
37368 for flag
in $THREAD_OPTS; do
37371 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37372 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37376 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37377 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37378 THREADS_CXXFLAGS
="$flag"
37382 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37383 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37384 THREADS_LINK
="-l$flag"
37389 save_CXXFLAGS
="$CXXFLAGS"
37390 LIBS
="$THREADS_LINK $LIBS"
37391 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
37393 cat >conftest.
$ac_ext <<_ACEOF
37396 cat confdefs.h
>>conftest.
$ac_ext
37397 cat >>conftest.
$ac_ext <<_ACEOF
37398 /* end confdefs.h. */
37399 #include <pthread.h>
37403 pthread_create(0,0,0,0);
37408 rm -f conftest.
$ac_objext conftest
$ac_exeext
37409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37410 (eval $ac_link) 2>conftest.er1
37412 grep -v '^ *+' conftest.er1
>conftest.err
37414 cat conftest.err
>&5
37415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37416 (exit $ac_status); } &&
37417 { ac_try
='test -z "$ac_cxx_werror_flag"
37418 || test ! -s conftest.err'
37419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37420 (eval $ac_try) 2>&5
37422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37423 (exit $ac_status); }; } &&
37424 { ac_try
='test -s conftest$ac_exeext'
37425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37426 (eval $ac_try) 2>&5
37428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429 (exit $ac_status); }; }; then
37432 echo "$as_me: failed program was:" >&5
37433 sed 's/^/| /' conftest.
$ac_ext >&5
37436 rm -f conftest.err conftest.
$ac_objext \
37437 conftest
$ac_exeext conftest.
$ac_ext
37440 CXXFLAGS
="$save_CXXFLAGS"
37442 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37443 echo "${ECHO_T}$THREADS_OK" >&6
37444 if test "x$THREADS_OK" = "xyes"; then
37449 THREADS_CXXFLAGS
=""
37452 if test "x$THREADS_OK" != "xyes"; then
37454 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37455 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37457 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
37458 LIBS
="$THREADS_LINK $LIBS"
37460 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37461 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37465 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37466 flag
="-D_THREAD_SAFE"
37469 flag
="-D_THREAD_SAFE"
37472 flag
="-D_REENTRANT"
37473 if test "x$GCC" != "xyes"; then
37474 flag
="$flag -D_RWSTD_MULTI_THREAD"
37477 *solaris
* | alpha
*-osf*)
37478 flag
="-D_REENTRANT"
37481 echo "$as_me:$LINENO: result: ${flag}" >&5
37482 echo "${ECHO_T}${flag}" >&6
37483 if test "x$flag" != xno
; then
37484 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
37487 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
37491 if test "$wxUSE_THREADS" = "yes" ; then
37493 for ac_func
in thr_setconcurrency
37495 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37496 echo "$as_me:$LINENO: checking for $ac_func" >&5
37497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37498 if eval "test \"\${$as_ac_var+set}\" = set"; then
37499 echo $ECHO_N "(cached) $ECHO_C" >&6
37501 cat >conftest.
$ac_ext <<_ACEOF
37504 cat confdefs.h
>>conftest.
$ac_ext
37505 cat >>conftest.
$ac_ext <<_ACEOF
37506 /* end confdefs.h. */
37507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37509 #define $ac_func innocuous_$ac_func
37511 /* System header to define __stub macros and hopefully few prototypes,
37512 which can conflict with char $ac_func (); below.
37513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37514 <limits.h> exists even on freestanding compilers. */
37517 # include <limits.h>
37519 # include <assert.h>
37524 /* Override any gcc2 internal prototype to avoid an error. */
37529 /* We use char because int might match the return type of a gcc2
37530 builtin and then its argument prototype would still apply. */
37532 /* The GNU C library defines this for functions which it implements
37533 to always fail with ENOSYS. Some functions are actually named
37534 something starting with __ and the normal name is an alias. */
37535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37538 char (*f) () = $ac_func;
37547 return f != $ac_func;
37552 rm -f conftest.
$ac_objext conftest
$ac_exeext
37553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37554 (eval $ac_link) 2>conftest.er1
37556 grep -v '^ *+' conftest.er1
>conftest.err
37558 cat conftest.err
>&5
37559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37560 (exit $ac_status); } &&
37561 { ac_try
='test -z "$ac_cxx_werror_flag"
37562 || test ! -s conftest.err'
37563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37564 (eval $ac_try) 2>&5
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); }; } &&
37568 { ac_try
='test -s conftest$ac_exeext'
37569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37570 (eval $ac_try) 2>&5
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); }; }; then
37574 eval "$as_ac_var=yes"
37576 echo "$as_me: failed program was:" >&5
37577 sed 's/^/| /' conftest.
$ac_ext >&5
37579 eval "$as_ac_var=no"
37581 rm -f conftest.err conftest.
$ac_objext \
37582 conftest
$ac_exeext conftest.
$ac_ext
37584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37586 if test `eval echo '${'$as_ac_var'}'` = yes; then
37587 cat >>confdefs.h
<<_ACEOF
37588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37595 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37596 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37597 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37598 echo $ECHO_N "(cached) $ECHO_C" >&6
37601 cat >conftest.
$ac_ext <<_ACEOF
37604 cat confdefs.h
>>conftest.
$ac_ext
37605 cat >>conftest.
$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 #include <pthread.h>
37608 void ThreadCleanupFunc(void *p);
37615 pthread_cleanup_push(ThreadCleanupFunc, p);
37616 pthread_cleanup_pop(0);
37622 rm -f conftest.
$ac_objext
37623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37624 (eval $ac_compile) 2>conftest.er1
37626 grep -v '^ *+' conftest.er1
>conftest.err
37628 cat conftest.err
>&5
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); } &&
37631 { ac_try
='test -z "$ac_cxx_werror_flag"
37632 || test ! -s conftest.err'
37633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37634 (eval $ac_try) 2>&5
37636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637 (exit $ac_status); }; } &&
37638 { ac_try
='test -s conftest.$ac_objext'
37639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37640 (eval $ac_try) 2>&5
37642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643 (exit $ac_status); }; }; then
37645 wx_cv_func_pthread_cleanup
=yes
37648 echo "$as_me: failed program was:" >&5
37649 sed 's/^/| /' conftest.
$ac_ext >&5
37652 wx_cv_func_pthread_cleanup
=no
37656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37659 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37660 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37661 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37662 cat >>confdefs.h
<<\_ACEOF
37663 #define wxHAVE_PTHREAD_CLEANUP 1
37669 for ac_header
in sched.h
37671 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37673 echo "$as_me:$LINENO: checking for $ac_header" >&5
37674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37676 echo $ECHO_N "(cached) $ECHO_C" >&6
37678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37681 # Is the header compilable?
37682 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37683 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37684 cat >conftest.
$ac_ext <<_ACEOF
37687 cat confdefs.h
>>conftest.
$ac_ext
37688 cat >>conftest.
$ac_ext <<_ACEOF
37689 /* end confdefs.h. */
37690 $ac_includes_default
37691 #include <$ac_header>
37693 rm -f conftest.
$ac_objext
37694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37695 (eval $ac_compile) 2>conftest.er1
37697 grep -v '^ *+' conftest.er1
>conftest.err
37699 cat conftest.err
>&5
37700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701 (exit $ac_status); } &&
37702 { ac_try
='test -z "$ac_cxx_werror_flag"
37703 || test ! -s conftest.err'
37704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37705 (eval $ac_try) 2>&5
37707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37708 (exit $ac_status); }; } &&
37709 { ac_try
='test -s conftest.$ac_objext'
37710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37711 (eval $ac_try) 2>&5
37713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37714 (exit $ac_status); }; }; then
37715 ac_header_compiler
=yes
37717 echo "$as_me: failed program was:" >&5
37718 sed 's/^/| /' conftest.
$ac_ext >&5
37720 ac_header_compiler
=no
37722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37724 echo "${ECHO_T}$ac_header_compiler" >&6
37726 # Is the header present?
37727 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37729 cat >conftest.
$ac_ext <<_ACEOF
37732 cat confdefs.h
>>conftest.
$ac_ext
37733 cat >>conftest.
$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37735 #include <$ac_header>
37737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37738 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37740 grep -v '^ *+' conftest.er1
>conftest.err
37742 cat conftest.err
>&5
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); } >/dev
/null
; then
37745 if test -s conftest.err
; then
37746 ac_cpp_err
=$ac_cxx_preproc_warn_flag
37747 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
37754 if test -z "$ac_cpp_err"; then
37755 ac_header_preproc
=yes
37757 echo "$as_me: failed program was:" >&5
37758 sed 's/^/| /' conftest.
$ac_ext >&5
37760 ac_header_preproc
=no
37762 rm -f conftest.err conftest.
$ac_ext
37763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37764 echo "${ECHO_T}$ac_header_preproc" >&6
37766 # So? What about this header?
37767 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37769 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37770 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37772 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37773 ac_header_preproc
=yes
37776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37780 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37781 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37782 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37783 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37786 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37787 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37790 ## ----------------------------------------- ##
37791 ## Report this to wx-dev@lists.wxwidgets.org ##
37792 ## ----------------------------------------- ##
37795 sed "s/^/$as_me: WARNING: /" >&2
37798 echo "$as_me:$LINENO: checking for $ac_header" >&5
37799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37801 echo $ECHO_N "(cached) $ECHO_C" >&6
37803 eval "$as_ac_Header=\$ac_header_preproc"
37805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37810 cat >>confdefs.h
<<_ACEOF
37811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37818 if test "$ac_cv_header_sched_h" = "yes"; then
37819 echo "$as_me:$LINENO: checking for sched_yield" >&5
37820 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37821 if test "${ac_cv_func_sched_yield+set}" = set; then
37822 echo $ECHO_N "(cached) $ECHO_C" >&6
37824 cat >conftest.
$ac_ext <<_ACEOF
37827 cat confdefs.h
>>conftest.
$ac_ext
37828 cat >>conftest.
$ac_ext <<_ACEOF
37829 /* end confdefs.h. */
37830 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37832 #define sched_yield innocuous_sched_yield
37834 /* System header to define __stub macros and hopefully few prototypes,
37835 which can conflict with char sched_yield (); below.
37836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37837 <limits.h> exists even on freestanding compilers. */
37840 # include <limits.h>
37842 # include <assert.h>
37847 /* Override any gcc2 internal prototype to avoid an error. */
37852 /* We use char because int might match the return type of a gcc2
37853 builtin and then its argument prototype would still apply. */
37854 char sched_yield ();
37855 /* The GNU C library defines this for functions which it implements
37856 to always fail with ENOSYS. Some functions are actually named
37857 something starting with __ and the normal name is an alias. */
37858 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37861 char (*f) () = sched_yield;
37870 return f != sched_yield;
37875 rm -f conftest.
$ac_objext conftest
$ac_exeext
37876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37877 (eval $ac_link) 2>conftest.er1
37879 grep -v '^ *+' conftest.er1
>conftest.err
37881 cat conftest.err
>&5
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); } &&
37884 { ac_try
='test -z "$ac_cxx_werror_flag"
37885 || test ! -s conftest.err'
37886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37887 (eval $ac_try) 2>&5
37889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37890 (exit $ac_status); }; } &&
37891 { ac_try
='test -s conftest$ac_exeext'
37892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37893 (eval $ac_try) 2>&5
37895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37896 (exit $ac_status); }; }; then
37897 ac_cv_func_sched_yield
=yes
37899 echo "$as_me: failed program was:" >&5
37900 sed 's/^/| /' conftest.
$ac_ext >&5
37902 ac_cv_func_sched_yield
=no
37904 rm -f conftest.err conftest.
$ac_objext \
37905 conftest
$ac_exeext conftest.
$ac_ext
37907 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37908 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37909 if test $ac_cv_func_sched_yield = yes; then
37910 cat >>confdefs.h
<<\_ACEOF
37911 #define HAVE_SCHED_YIELD 1
37916 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37917 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37918 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37919 echo $ECHO_N "(cached) $ECHO_C" >&6
37921 ac_check_lib_save_LIBS
=$LIBS
37922 LIBS
="-lposix4 $LIBS"
37923 cat >conftest.
$ac_ext <<_ACEOF
37926 cat confdefs.h
>>conftest.
$ac_ext
37927 cat >>conftest.
$ac_ext <<_ACEOF
37928 /* end confdefs.h. */
37930 /* Override any gcc2 internal prototype to avoid an error. */
37934 /* We use char because int might match the return type of a gcc2
37935 builtin and then its argument prototype would still apply. */
37936 char sched_yield ();
37945 rm -f conftest.
$ac_objext conftest
$ac_exeext
37946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37947 (eval $ac_link) 2>conftest.er1
37949 grep -v '^ *+' conftest.er1
>conftest.err
37951 cat conftest.err
>&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } &&
37954 { ac_try
='test -z "$ac_cxx_werror_flag"
37955 || test ! -s conftest.err'
37956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37957 (eval $ac_try) 2>&5
37959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37960 (exit $ac_status); }; } &&
37961 { ac_try
='test -s conftest$ac_exeext'
37962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37963 (eval $ac_try) 2>&5
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); }; }; then
37967 ac_cv_lib_posix4_sched_yield
=yes
37969 echo "$as_me: failed program was:" >&5
37970 sed 's/^/| /' conftest.
$ac_ext >&5
37972 ac_cv_lib_posix4_sched_yield
=no
37974 rm -f conftest.err conftest.
$ac_objext \
37975 conftest
$ac_exeext conftest.
$ac_ext
37976 LIBS
=$ac_check_lib_save_LIBS
37978 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37979 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37980 if test $ac_cv_lib_posix4_sched_yield = yes; then
37981 cat >>confdefs.h
<<\_ACEOF
37982 #define HAVE_SCHED_YIELD 1
37984 POSIX4_LINK
=" -lposix4"
37986 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37987 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37998 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37999 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38000 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38001 echo $ECHO_N "(cached) $ECHO_C" >&6
38003 cat >conftest.
$ac_ext <<_ACEOF
38006 cat confdefs.h
>>conftest.
$ac_ext
38007 cat >>conftest.
$ac_ext <<_ACEOF
38008 /* end confdefs.h. */
38009 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38011 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38013 /* System header to define __stub macros and hopefully few prototypes,
38014 which can conflict with char pthread_attr_getschedpolicy (); below.
38015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38016 <limits.h> exists even on freestanding compilers. */
38019 # include <limits.h>
38021 # include <assert.h>
38024 #undef pthread_attr_getschedpolicy
38026 /* Override any gcc2 internal prototype to avoid an error. */
38031 /* We use char because int might match the return type of a gcc2
38032 builtin and then its argument prototype would still apply. */
38033 char pthread_attr_getschedpolicy ();
38034 /* The GNU C library defines this for functions which it implements
38035 to always fail with ENOSYS. Some functions are actually named
38036 something starting with __ and the normal name is an alias. */
38037 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38040 char (*f) () = pthread_attr_getschedpolicy;
38049 return f != pthread_attr_getschedpolicy;
38054 rm -f conftest.
$ac_objext conftest
$ac_exeext
38055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38056 (eval $ac_link) 2>conftest.er1
38058 grep -v '^ *+' conftest.er1
>conftest.err
38060 cat conftest.err
>&5
38061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38062 (exit $ac_status); } &&
38063 { ac_try
='test -z "$ac_cxx_werror_flag"
38064 || test ! -s conftest.err'
38065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38066 (eval $ac_try) 2>&5
38068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069 (exit $ac_status); }; } &&
38070 { ac_try
='test -s conftest$ac_exeext'
38071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38072 (eval $ac_try) 2>&5
38074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075 (exit $ac_status); }; }; then
38076 ac_cv_func_pthread_attr_getschedpolicy
=yes
38078 echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.
$ac_ext >&5
38081 ac_cv_func_pthread_attr_getschedpolicy
=no
38083 rm -f conftest.err conftest.
$ac_objext \
38084 conftest
$ac_exeext conftest.
$ac_ext
38086 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38087 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
38088 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38089 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38090 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
38091 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38092 echo $ECHO_N "(cached) $ECHO_C" >&6
38094 cat >conftest.
$ac_ext <<_ACEOF
38097 cat confdefs.h
>>conftest.
$ac_ext
38098 cat >>conftest.
$ac_ext <<_ACEOF
38099 /* end confdefs.h. */
38100 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38102 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38104 /* System header to define __stub macros and hopefully few prototypes,
38105 which can conflict with char pthread_attr_setschedparam (); below.
38106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38107 <limits.h> exists even on freestanding compilers. */
38110 # include <limits.h>
38112 # include <assert.h>
38115 #undef pthread_attr_setschedparam
38117 /* Override any gcc2 internal prototype to avoid an error. */
38122 /* We use char because int might match the return type of a gcc2
38123 builtin and then its argument prototype would still apply. */
38124 char pthread_attr_setschedparam ();
38125 /* The GNU C library defines this for functions which it implements
38126 to always fail with ENOSYS. Some functions are actually named
38127 something starting with __ and the normal name is an alias. */
38128 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38131 char (*f) () = pthread_attr_setschedparam;
38140 return f != pthread_attr_setschedparam;
38145 rm -f conftest.
$ac_objext conftest
$ac_exeext
38146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38147 (eval $ac_link) 2>conftest.er1
38149 grep -v '^ *+' conftest.er1
>conftest.err
38151 cat conftest.err
>&5
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); } &&
38154 { ac_try
='test -z "$ac_cxx_werror_flag"
38155 || test ! -s conftest.err'
38156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38157 (eval $ac_try) 2>&5
38159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38160 (exit $ac_status); }; } &&
38161 { ac_try
='test -s conftest$ac_exeext'
38162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38163 (eval $ac_try) 2>&5
38165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166 (exit $ac_status); }; }; then
38167 ac_cv_func_pthread_attr_setschedparam
=yes
38169 echo "$as_me: failed program was:" >&5
38170 sed 's/^/| /' conftest.
$ac_ext >&5
38172 ac_cv_func_pthread_attr_setschedparam
=no
38174 rm -f conftest.err conftest.
$ac_objext \
38175 conftest
$ac_exeext conftest.
$ac_ext
38177 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38178 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38179 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38180 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38181 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38182 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38183 echo $ECHO_N "(cached) $ECHO_C" >&6
38185 cat >conftest.
$ac_ext <<_ACEOF
38188 cat confdefs.h
>>conftest.
$ac_ext
38189 cat >>conftest.
$ac_ext <<_ACEOF
38190 /* end confdefs.h. */
38191 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38193 #define sched_get_priority_max innocuous_sched_get_priority_max
38195 /* System header to define __stub macros and hopefully few prototypes,
38196 which can conflict with char sched_get_priority_max (); below.
38197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38198 <limits.h> exists even on freestanding compilers. */
38201 # include <limits.h>
38203 # include <assert.h>
38206 #undef sched_get_priority_max
38208 /* Override any gcc2 internal prototype to avoid an error. */
38213 /* We use char because int might match the return type of a gcc2
38214 builtin and then its argument prototype would still apply. */
38215 char sched_get_priority_max ();
38216 /* The GNU C library defines this for functions which it implements
38217 to always fail with ENOSYS. Some functions are actually named
38218 something starting with __ and the normal name is an alias. */
38219 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38222 char (*f) () = sched_get_priority_max;
38231 return f != sched_get_priority_max;
38236 rm -f conftest.
$ac_objext conftest
$ac_exeext
38237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38238 (eval $ac_link) 2>conftest.er1
38240 grep -v '^ *+' conftest.er1
>conftest.err
38242 cat conftest.err
>&5
38243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38244 (exit $ac_status); } &&
38245 { ac_try
='test -z "$ac_cxx_werror_flag"
38246 || test ! -s conftest.err'
38247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38248 (eval $ac_try) 2>&5
38250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251 (exit $ac_status); }; } &&
38252 { ac_try
='test -s conftest$ac_exeext'
38253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38254 (eval $ac_try) 2>&5
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); }; }; then
38258 ac_cv_func_sched_get_priority_max
=yes
38260 echo "$as_me: failed program was:" >&5
38261 sed 's/^/| /' conftest.
$ac_ext >&5
38263 ac_cv_func_sched_get_priority_max
=no
38265 rm -f conftest.err conftest.
$ac_objext \
38266 conftest
$ac_exeext conftest.
$ac_ext
38268 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38269 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38270 if test $ac_cv_func_sched_get_priority_max = yes; then
38273 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38274 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38275 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38276 echo $ECHO_N "(cached) $ECHO_C" >&6
38278 ac_check_lib_save_LIBS
=$LIBS
38279 LIBS
="-lposix4 $LIBS"
38280 cat >conftest.
$ac_ext <<_ACEOF
38283 cat confdefs.h
>>conftest.
$ac_ext
38284 cat >>conftest.
$ac_ext <<_ACEOF
38285 /* end confdefs.h. */
38287 /* Override any gcc2 internal prototype to avoid an error. */
38291 /* We use char because int might match the return type of a gcc2
38292 builtin and then its argument prototype would still apply. */
38293 char sched_get_priority_max ();
38297 sched_get_priority_max ();
38302 rm -f conftest.
$ac_objext conftest
$ac_exeext
38303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38304 (eval $ac_link) 2>conftest.er1
38306 grep -v '^ *+' conftest.er1
>conftest.err
38308 cat conftest.err
>&5
38309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310 (exit $ac_status); } &&
38311 { ac_try
='test -z "$ac_cxx_werror_flag"
38312 || test ! -s conftest.err'
38313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38314 (eval $ac_try) 2>&5
38316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317 (exit $ac_status); }; } &&
38318 { ac_try
='test -s conftest$ac_exeext'
38319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38320 (eval $ac_try) 2>&5
38322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38323 (exit $ac_status); }; }; then
38324 ac_cv_lib_posix4_sched_get_priority_max
=yes
38326 echo "$as_me: failed program was:" >&5
38327 sed 's/^/| /' conftest.
$ac_ext >&5
38329 ac_cv_lib_posix4_sched_get_priority_max
=no
38331 rm -f conftest.err conftest.
$ac_objext \
38332 conftest
$ac_exeext conftest.
$ac_ext
38333 LIBS
=$ac_check_lib_save_LIBS
38335 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38336 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38337 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38340 POSIX4_LINK
=" -lposix4"
38354 if test "$HAVE_PRIOR_FUNCS" = 1; then
38355 cat >>confdefs.h
<<\_ACEOF
38356 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38360 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38361 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38364 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38365 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38366 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38367 echo $ECHO_N "(cached) $ECHO_C" >&6
38369 cat >conftest.
$ac_ext <<_ACEOF
38372 cat confdefs.h
>>conftest.
$ac_ext
38373 cat >>conftest.
$ac_ext <<_ACEOF
38374 /* end confdefs.h. */
38375 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38377 #define pthread_cancel innocuous_pthread_cancel
38379 /* System header to define __stub macros and hopefully few prototypes,
38380 which can conflict with char pthread_cancel (); below.
38381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38382 <limits.h> exists even on freestanding compilers. */
38385 # include <limits.h>
38387 # include <assert.h>
38390 #undef pthread_cancel
38392 /* Override any gcc2 internal prototype to avoid an error. */
38397 /* We use char because int might match the return type of a gcc2
38398 builtin and then its argument prototype would still apply. */
38399 char pthread_cancel ();
38400 /* The GNU C library defines this for functions which it implements
38401 to always fail with ENOSYS. Some functions are actually named
38402 something starting with __ and the normal name is an alias. */
38403 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38406 char (*f) () = pthread_cancel;
38415 return f != pthread_cancel;
38420 rm -f conftest.
$ac_objext conftest
$ac_exeext
38421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38422 (eval $ac_link) 2>conftest.er1
38424 grep -v '^ *+' conftest.er1
>conftest.err
38426 cat conftest.err
>&5
38427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38428 (exit $ac_status); } &&
38429 { ac_try
='test -z "$ac_cxx_werror_flag"
38430 || test ! -s conftest.err'
38431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38432 (eval $ac_try) 2>&5
38434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435 (exit $ac_status); }; } &&
38436 { ac_try
='test -s conftest$ac_exeext'
38437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38438 (eval $ac_try) 2>&5
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); }; }; then
38442 ac_cv_func_pthread_cancel
=yes
38444 echo "$as_me: failed program was:" >&5
38445 sed 's/^/| /' conftest.
$ac_ext >&5
38447 ac_cv_func_pthread_cancel
=no
38449 rm -f conftest.err conftest.
$ac_objext \
38450 conftest
$ac_exeext conftest.
$ac_ext
38452 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38453 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38454 if test $ac_cv_func_pthread_cancel = yes; then
38455 cat >>confdefs.h
<<\_ACEOF
38456 #define HAVE_PTHREAD_CANCEL 1
38460 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38461 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38465 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38466 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38467 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38468 echo $ECHO_N "(cached) $ECHO_C" >&6
38470 cat >conftest.
$ac_ext <<_ACEOF
38473 cat confdefs.h
>>conftest.
$ac_ext
38474 cat >>conftest.
$ac_ext <<_ACEOF
38475 /* end confdefs.h. */
38476 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38478 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38480 /* System header to define __stub macros and hopefully few prototypes,
38481 which can conflict with char pthread_attr_setstacksize (); below.
38482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38483 <limits.h> exists even on freestanding compilers. */
38486 # include <limits.h>
38488 # include <assert.h>
38491 #undef pthread_attr_setstacksize
38493 /* Override any gcc2 internal prototype to avoid an error. */
38498 /* We use char because int might match the return type of a gcc2
38499 builtin and then its argument prototype would still apply. */
38500 char pthread_attr_setstacksize ();
38501 /* The GNU C library defines this for functions which it implements
38502 to always fail with ENOSYS. Some functions are actually named
38503 something starting with __ and the normal name is an alias. */
38504 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38507 char (*f) () = pthread_attr_setstacksize;
38516 return f != pthread_attr_setstacksize;
38521 rm -f conftest.
$ac_objext conftest
$ac_exeext
38522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38523 (eval $ac_link) 2>conftest.er1
38525 grep -v '^ *+' conftest.er1
>conftest.err
38527 cat conftest.err
>&5
38528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38529 (exit $ac_status); } &&
38530 { ac_try
='test -z "$ac_cxx_werror_flag"
38531 || test ! -s conftest.err'
38532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38533 (eval $ac_try) 2>&5
38535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38536 (exit $ac_status); }; } &&
38537 { ac_try
='test -s conftest$ac_exeext'
38538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38539 (eval $ac_try) 2>&5
38541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38542 (exit $ac_status); }; }; then
38543 ac_cv_func_pthread_attr_setstacksize
=yes
38545 echo "$as_me: failed program was:" >&5
38546 sed 's/^/| /' conftest.
$ac_ext >&5
38548 ac_cv_func_pthread_attr_setstacksize
=no
38550 rm -f conftest.err conftest.
$ac_objext \
38551 conftest
$ac_exeext conftest.
$ac_ext
38553 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38554 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38555 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38556 cat >>confdefs.h
<<\_ACEOF
38557 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38564 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38565 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38566 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38567 echo $ECHO_N "(cached) $ECHO_C" >&6
38570 cat >conftest.
$ac_ext <<_ACEOF
38573 cat confdefs.h
>>conftest.
$ac_ext
38574 cat >>conftest.
$ac_ext <<_ACEOF
38575 /* end confdefs.h. */
38576 #include <pthread.h>
38581 pthread_mutexattr_t attr;
38582 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38588 rm -f conftest.
$ac_objext
38589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38590 (eval $ac_compile) 2>conftest.er1
38592 grep -v '^ *+' conftest.er1
>conftest.err
38594 cat conftest.err
>&5
38595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38596 (exit $ac_status); } &&
38597 { ac_try
='test -z "$ac_cxx_werror_flag"
38598 || test ! -s conftest.err'
38599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38600 (eval $ac_try) 2>&5
38602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38603 (exit $ac_status); }; } &&
38604 { ac_try
='test -s conftest.$ac_objext'
38605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38606 (eval $ac_try) 2>&5
38608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609 (exit $ac_status); }; }; then
38610 wx_cv_type_pthread_mutexattr_t
=yes
38612 echo "$as_me: failed program was:" >&5
38613 sed 's/^/| /' conftest.
$ac_ext >&5
38615 wx_cv_type_pthread_mutexattr_t
=no
38618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38621 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38622 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38624 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38625 cat >>confdefs.h
<<\_ACEOF
38626 #define HAVE_PTHREAD_MUTEXATTR_T 1
38630 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38631 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38632 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38633 echo $ECHO_N "(cached) $ECHO_C" >&6
38636 cat >conftest.
$ac_ext <<_ACEOF
38639 cat confdefs.h
>>conftest.
$ac_ext
38640 cat >>conftest.
$ac_ext <<_ACEOF
38641 /* end confdefs.h. */
38642 #include <pthread.h>
38647 pthread_mutexattr_t attr;
38648 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38654 rm -f conftest.
$ac_objext
38655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38656 (eval $ac_compile) 2>conftest.er1
38658 grep -v '^ *+' conftest.er1
>conftest.err
38660 cat conftest.err
>&5
38661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38662 (exit $ac_status); } &&
38663 { ac_try
='test -z "$ac_cxx_werror_flag"
38664 || test ! -s conftest.err'
38665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38666 (eval $ac_try) 2>&5
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); }; } &&
38670 { ac_try
='test -s conftest.$ac_objext'
38671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38672 (eval $ac_try) 2>&5
38674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38675 (exit $ac_status); }; }; then
38676 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38678 echo "$as_me: failed program was:" >&5
38679 sed 's/^/| /' conftest.
$ac_ext >&5
38681 wx_cv_func_pthread_mutexattr_settype_decl
=no
38684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38687 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38688 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38689 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38690 cat >>confdefs.h
<<\_ACEOF
38691 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38696 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38697 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38698 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38699 echo $ECHO_N "(cached) $ECHO_C" >&6
38702 cat >conftest.
$ac_ext <<_ACEOF
38705 cat confdefs.h
>>conftest.
$ac_ext
38706 cat >>conftest.
$ac_ext <<_ACEOF
38707 /* end confdefs.h. */
38708 #include <pthread.h>
38713 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38719 rm -f conftest.
$ac_objext
38720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38721 (eval $ac_compile) 2>conftest.er1
38723 grep -v '^ *+' conftest.er1
>conftest.err
38725 cat conftest.err
>&5
38726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727 (exit $ac_status); } &&
38728 { ac_try
='test -z "$ac_cxx_werror_flag"
38729 || test ! -s conftest.err'
38730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38731 (eval $ac_try) 2>&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); }; } &&
38735 { ac_try
='test -s conftest.$ac_objext'
38736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38737 (eval $ac_try) 2>&5
38739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740 (exit $ac_status); }; }; then
38742 wx_cv_type_pthread_rec_mutex_init
=yes
38745 echo "$as_me: failed program was:" >&5
38746 sed 's/^/| /' conftest.
$ac_ext >&5
38749 wx_cv_type_pthread_rec_mutex_init
=no
38753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38756 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38757 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38758 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38759 cat >>confdefs.h
<<\_ACEOF
38760 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38764 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38765 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38771 if test "$wxUSE_THREADS" = "yes" ; then
38774 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38775 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38776 if test "${wx_cv_cflags_mthread+set}" = set; then
38777 echo $ECHO_N "(cached) $ECHO_C" >&6
38780 CXXFLAGS_OLD
="$CXXFLAGS"
38781 CXXFLAGS
="-mthreads $CXXFLAGS"
38782 cat >conftest.
$ac_ext <<_ACEOF
38785 cat confdefs.h
>>conftest.
$ac_ext
38786 cat >>conftest.
$ac_ext <<_ACEOF
38787 /* end confdefs.h. */
38797 rm -f conftest.
$ac_objext
38798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38799 (eval $ac_compile) 2>conftest.er1
38801 grep -v '^ *+' conftest.er1
>conftest.err
38803 cat conftest.err
>&5
38804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38805 (exit $ac_status); } &&
38806 { ac_try
='test -z "$ac_cxx_werror_flag"
38807 || test ! -s conftest.err'
38808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38809 (eval $ac_try) 2>&5
38811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38812 (exit $ac_status); }; } &&
38813 { ac_try
='test -s conftest.$ac_objext'
38814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38815 (eval $ac_try) 2>&5
38817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38818 (exit $ac_status); }; }; then
38819 wx_cv_cflags_mthread
=yes
38821 echo "$as_me: failed program was:" >&5
38822 sed 's/^/| /' conftest.
$ac_ext >&5
38824 wx_cv_cflags_mthread
=no
38827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38831 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38832 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38834 if test "$wx_cv_cflags_mthread" = "yes"; then
38835 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
38836 LDFLAGS
="$LDFLAGS -mthreads"
38838 CXXFLAGS
="$CXXFLAGS_OLD"
38842 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38843 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38844 LDFLAGS
="$LDFLAGS -Zmt"
38850 echo "$as_me:$LINENO: checking for localtime_r" >&5
38851 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38852 if test "${ac_cv_func_localtime_r+set}" = set; then
38853 echo $ECHO_N "(cached) $ECHO_C" >&6
38855 cat >conftest.
$ac_ext <<_ACEOF
38858 cat confdefs.h
>>conftest.
$ac_ext
38859 cat >>conftest.
$ac_ext <<_ACEOF
38860 /* end confdefs.h. */
38861 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38863 #define localtime_r innocuous_localtime_r
38865 /* System header to define __stub macros and hopefully few prototypes,
38866 which can conflict with char localtime_r (); below.
38867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38868 <limits.h> exists even on freestanding compilers. */
38871 # include <limits.h>
38873 # include <assert.h>
38878 /* Override any gcc2 internal prototype to avoid an error. */
38883 /* We use char because int might match the return type of a gcc2
38884 builtin and then its argument prototype would still apply. */
38885 char localtime_r ();
38886 /* The GNU C library defines this for functions which it implements
38887 to always fail with ENOSYS. Some functions are actually named
38888 something starting with __ and the normal name is an alias. */
38889 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38892 char (*f) () = localtime_r;
38901 return f != localtime_r;
38906 rm -f conftest.
$ac_objext conftest
$ac_exeext
38907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38908 (eval $ac_link) 2>conftest.er1
38910 grep -v '^ *+' conftest.er1
>conftest.err
38912 cat conftest.err
>&5
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); } &&
38915 { ac_try
='test -z "$ac_cxx_werror_flag"
38916 || test ! -s conftest.err'
38917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38918 (eval $ac_try) 2>&5
38920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38921 (exit $ac_status); }; } &&
38922 { ac_try
='test -s conftest$ac_exeext'
38923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38924 (eval $ac_try) 2>&5
38926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38927 (exit $ac_status); }; }; then
38928 ac_cv_func_localtime_r
=yes
38930 echo "$as_me: failed program was:" >&5
38931 sed 's/^/| /' conftest.
$ac_ext >&5
38933 ac_cv_func_localtime_r
=no
38935 rm -f conftest.err conftest.
$ac_objext \
38936 conftest
$ac_exeext conftest.
$ac_ext
38938 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38939 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38940 if test $ac_cv_func_localtime_r = yes; then
38941 cat >>confdefs.h
<<\_ACEOF
38942 #define HAVE_LOCALTIME_R 1
38947 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38948 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38949 if test "${ac_cv_func_gmtime_r+set}" = set; then
38950 echo $ECHO_N "(cached) $ECHO_C" >&6
38952 cat >conftest.
$ac_ext <<_ACEOF
38955 cat confdefs.h
>>conftest.
$ac_ext
38956 cat >>conftest.
$ac_ext <<_ACEOF
38957 /* end confdefs.h. */
38958 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38960 #define gmtime_r innocuous_gmtime_r
38962 /* System header to define __stub macros and hopefully few prototypes,
38963 which can conflict with char gmtime_r (); below.
38964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38965 <limits.h> exists even on freestanding compilers. */
38968 # include <limits.h>
38970 # include <assert.h>
38975 /* Override any gcc2 internal prototype to avoid an error. */
38980 /* We use char because int might match the return type of a gcc2
38981 builtin and then its argument prototype would still apply. */
38983 /* The GNU C library defines this for functions which it implements
38984 to always fail with ENOSYS. Some functions are actually named
38985 something starting with __ and the normal name is an alias. */
38986 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38989 char (*f) () = gmtime_r;
38998 return f != gmtime_r;
39003 rm -f conftest.
$ac_objext conftest
$ac_exeext
39004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39005 (eval $ac_link) 2>conftest.er1
39007 grep -v '^ *+' conftest.er1
>conftest.err
39009 cat conftest.err
>&5
39010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39011 (exit $ac_status); } &&
39012 { ac_try
='test -z "$ac_cxx_werror_flag"
39013 || test ! -s conftest.err'
39014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39015 (eval $ac_try) 2>&5
39017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39018 (exit $ac_status); }; } &&
39019 { ac_try
='test -s conftest$ac_exeext'
39020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39021 (eval $ac_try) 2>&5
39023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39024 (exit $ac_status); }; }; then
39025 ac_cv_func_gmtime_r
=yes
39027 echo "$as_me: failed program was:" >&5
39028 sed 's/^/| /' conftest.
$ac_ext >&5
39030 ac_cv_func_gmtime_r
=no
39032 rm -f conftest.err conftest.
$ac_objext \
39033 conftest
$ac_exeext conftest.
$ac_ext
39035 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39036 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39037 if test $ac_cv_func_gmtime_r = yes; then
39038 cat >>confdefs.h
<<\_ACEOF
39039 #define HAVE_GMTIME_R 1
39044 echo "$as_me:$LINENO: checking for readdir_r" >&5
39045 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39046 if test "${ac_cv_func_readdir_r+set}" = set; then
39047 echo $ECHO_N "(cached) $ECHO_C" >&6
39049 cat >conftest.
$ac_ext <<_ACEOF
39052 cat confdefs.h
>>conftest.
$ac_ext
39053 cat >>conftest.
$ac_ext <<_ACEOF
39054 /* end confdefs.h. */
39055 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39057 #define readdir_r innocuous_readdir_r
39059 /* System header to define __stub macros and hopefully few prototypes,
39060 which can conflict with char readdir_r (); below.
39061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39062 <limits.h> exists even on freestanding compilers. */
39065 # include <limits.h>
39067 # include <assert.h>
39072 /* Override any gcc2 internal prototype to avoid an error. */
39077 /* We use char because int might match the return type of a gcc2
39078 builtin and then its argument prototype would still apply. */
39080 /* The GNU C library defines this for functions which it implements
39081 to always fail with ENOSYS. Some functions are actually named
39082 something starting with __ and the normal name is an alias. */
39083 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39086 char (*f) () = readdir_r;
39095 return f != readdir_r;
39100 rm -f conftest.
$ac_objext conftest
$ac_exeext
39101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39102 (eval $ac_link) 2>conftest.er1
39104 grep -v '^ *+' conftest.er1
>conftest.err
39106 cat conftest.err
>&5
39107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39108 (exit $ac_status); } &&
39109 { ac_try
='test -z "$ac_cxx_werror_flag"
39110 || test ! -s conftest.err'
39111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39112 (eval $ac_try) 2>&5
39114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39115 (exit $ac_status); }; } &&
39116 { ac_try
='test -s conftest$ac_exeext'
39117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39118 (eval $ac_try) 2>&5
39120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39121 (exit $ac_status); }; }; then
39122 ac_cv_func_readdir_r
=yes
39124 echo "$as_me: failed program was:" >&5
39125 sed 's/^/| /' conftest.
$ac_ext >&5
39127 ac_cv_func_readdir_r
=no
39129 rm -f conftest.err conftest.
$ac_objext \
39130 conftest
$ac_exeext conftest.
$ac_ext
39132 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39133 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39134 if test $ac_cv_func_readdir_r = yes; then
39135 cat >>confdefs.h
<<\_ACEOF
39136 #define HAVE_READDIR_R 1
39145 ac_cpp
='$CPP $CPPFLAGS'
39146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39150 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39151 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39153 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39154 echo $ECHO_N "(cached) $ECHO_C" >&6
39158 ################################################################
39160 ac_cv_func_which_gethostbyname_r
=unknown
39163 # ONE ARGUMENT (sanity check)
39166 # This should fail, as there is no variant of gethostbyname_r() that takes
39167 # a single argument. If it actually compiles, then we can assume that
39168 # netdb.h is not declaring the function, and the compiler is thereby
39169 # assuming an implicit prototype. In which case, we're out of luck.
39171 cat >conftest.
$ac_ext <<_ACEOF
39174 cat confdefs.h
>>conftest.
$ac_ext
39175 cat >>conftest.
$ac_ext <<_ACEOF
39176 /* end confdefs.h. */
39182 char *name = "www.gnu.org";
39183 (void)gethostbyname_r(name) /* ; */
39189 rm -f conftest.
$ac_objext
39190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39191 (eval $ac_compile) 2>conftest.er1
39193 grep -v '^ *+' conftest.er1
>conftest.err
39195 cat conftest.err
>&5
39196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39197 (exit $ac_status); } &&
39198 { ac_try
='test -z "$ac_c_werror_flag"
39199 || test ! -s conftest.err'
39200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39201 (eval $ac_try) 2>&5
39203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39204 (exit $ac_status); }; } &&
39205 { ac_try
='test -s conftest.$ac_objext'
39206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39207 (eval $ac_try) 2>&5
39209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39210 (exit $ac_status); }; }; then
39211 ac_cv_func_which_gethostbyname_r
=no
39213 echo "$as_me: failed program was:" >&5
39214 sed 's/^/| /' conftest.
$ac_ext >&5
39217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39224 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39226 cat >conftest.
$ac_ext <<_ACEOF
39229 cat confdefs.h
>>conftest.
$ac_ext
39230 cat >>conftest.
$ac_ext <<_ACEOF
39231 /* end confdefs.h. */
39237 char *name = "www.gnu.org";
39238 struct hostent ret, *retp;
39242 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39248 rm -f conftest.
$ac_objext
39249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39250 (eval $ac_compile) 2>conftest.er1
39252 grep -v '^ *+' conftest.er1
>conftest.err
39254 cat conftest.err
>&5
39255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39256 (exit $ac_status); } &&
39257 { ac_try
='test -z "$ac_c_werror_flag"
39258 || test ! -s conftest.err'
39259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39260 (eval $ac_try) 2>&5
39262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39263 (exit $ac_status); }; } &&
39264 { ac_try
='test -s conftest.$ac_objext'
39265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39266 (eval $ac_try) 2>&5
39268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39269 (exit $ac_status); }; }; then
39270 ac_cv_func_which_gethostbyname_r
=six
39272 echo "$as_me: failed program was:" >&5
39273 sed 's/^/| /' conftest.
$ac_ext >&5
39276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39285 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39287 cat >conftest.
$ac_ext <<_ACEOF
39290 cat confdefs.h
>>conftest.
$ac_ext
39291 cat >>conftest.
$ac_ext <<_ACEOF
39292 /* end confdefs.h. */
39298 char *name = "www.gnu.org";
39299 struct hostent ret;
39303 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39309 rm -f conftest.
$ac_objext
39310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39311 (eval $ac_compile) 2>conftest.er1
39313 grep -v '^ *+' conftest.er1
>conftest.err
39315 cat conftest.err
>&5
39316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39317 (exit $ac_status); } &&
39318 { ac_try
='test -z "$ac_c_werror_flag"
39319 || test ! -s conftest.err'
39320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39321 (eval $ac_try) 2>&5
39323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39324 (exit $ac_status); }; } &&
39325 { ac_try
='test -s conftest.$ac_objext'
39326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39327 (eval $ac_try) 2>&5
39329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39330 (exit $ac_status); }; }; then
39331 ac_cv_func_which_gethostbyname_r
=five
39333 echo "$as_me: failed program was:" >&5
39334 sed 's/^/| /' conftest.
$ac_ext >&5
39337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39343 # (e.g. AIX, HP-UX, Tru64)
39346 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39348 cat >conftest.
$ac_ext <<_ACEOF
39351 cat confdefs.h
>>conftest.
$ac_ext
39352 cat >>conftest.
$ac_ext <<_ACEOF
39353 /* end confdefs.h. */
39359 char *name = "www.gnu.org";
39360 struct hostent ret;
39361 struct hostent_data data;
39362 (void)gethostbyname_r(name, &ret, &data) /* ; */
39368 rm -f conftest.
$ac_objext
39369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39370 (eval $ac_compile) 2>conftest.er1
39372 grep -v '^ *+' conftest.er1
>conftest.err
39374 cat conftest.err
>&5
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); } &&
39377 { ac_try
='test -z "$ac_c_werror_flag"
39378 || test ! -s conftest.err'
39379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39380 (eval $ac_try) 2>&5
39382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39383 (exit $ac_status); }; } &&
39384 { ac_try
='test -s conftest.$ac_objext'
39385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39386 (eval $ac_try) 2>&5
39388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39389 (exit $ac_status); }; }; then
39390 ac_cv_func_which_gethostbyname_r
=three
39392 echo "$as_me: failed program was:" >&5
39393 sed 's/^/| /' conftest.
$ac_ext >&5
39396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39400 ################################################################
39405 case "$ac_cv_func_which_gethostbyname_r" in
39407 echo "$as_me:$LINENO: result: three" >&5
39408 echo "${ECHO_T}three" >&6
39409 cat >>confdefs.h
<<\_ACEOF
39410 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39416 echo "$as_me:$LINENO: result: five" >&5
39417 echo "${ECHO_T}five" >&6
39418 cat >>confdefs.h
<<\_ACEOF
39419 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39425 echo "$as_me:$LINENO: result: six" >&5
39426 echo "${ECHO_T}six" >&6
39427 cat >>confdefs.h
<<\_ACEOF
39428 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39434 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39435 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39439 echo "$as_me:$LINENO: result: can't tell" >&5
39440 echo "${ECHO_T}can't tell" >&6
39444 { { echo "$as_me:$LINENO: error: internal error" >&5
39445 echo "$as_me: error: internal error" >&2;}
39446 { (exit 1); exit 1; }; }
39451 ac_cpp
='$CXXCPP $CPPFLAGS'
39452 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39453 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39454 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39458 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39459 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39460 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39461 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39462 if test "${ac_cv_func_gethostbyname+set}" = set; then
39463 echo $ECHO_N "(cached) $ECHO_C" >&6
39465 cat >conftest.
$ac_ext <<_ACEOF
39468 cat confdefs.h
>>conftest.
$ac_ext
39469 cat >>conftest.
$ac_ext <<_ACEOF
39470 /* end confdefs.h. */
39471 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39473 #define gethostbyname innocuous_gethostbyname
39475 /* System header to define __stub macros and hopefully few prototypes,
39476 which can conflict with char gethostbyname (); below.
39477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39478 <limits.h> exists even on freestanding compilers. */
39481 # include <limits.h>
39483 # include <assert.h>
39486 #undef gethostbyname
39488 /* Override any gcc2 internal prototype to avoid an error. */
39493 /* We use char because int might match the return type of a gcc2
39494 builtin and then its argument prototype would still apply. */
39495 char gethostbyname ();
39496 /* The GNU C library defines this for functions which it implements
39497 to always fail with ENOSYS. Some functions are actually named
39498 something starting with __ and the normal name is an alias. */
39499 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39502 char (*f) () = gethostbyname;
39511 return f != gethostbyname;
39516 rm -f conftest.
$ac_objext conftest
$ac_exeext
39517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39518 (eval $ac_link) 2>conftest.er1
39520 grep -v '^ *+' conftest.er1
>conftest.err
39522 cat conftest.err
>&5
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); } &&
39525 { ac_try
='test -z "$ac_cxx_werror_flag"
39526 || test ! -s conftest.err'
39527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39528 (eval $ac_try) 2>&5
39530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39531 (exit $ac_status); }; } &&
39532 { ac_try
='test -s conftest$ac_exeext'
39533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39534 (eval $ac_try) 2>&5
39536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39537 (exit $ac_status); }; }; then
39538 ac_cv_func_gethostbyname
=yes
39540 echo "$as_me: failed program was:" >&5
39541 sed 's/^/| /' conftest.
$ac_ext >&5
39543 ac_cv_func_gethostbyname
=no
39545 rm -f conftest.err conftest.
$ac_objext \
39546 conftest
$ac_exeext conftest.
$ac_ext
39548 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39549 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39550 if test $ac_cv_func_gethostbyname = yes; then
39551 cat >>confdefs.h
<<\_ACEOF
39552 #define HAVE_GETHOSTBYNAME 1
39558 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39559 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39560 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39561 echo $ECHO_N "(cached) $ECHO_C" >&6
39563 cat >conftest.
$ac_ext <<_ACEOF
39566 cat confdefs.h
>>conftest.
$ac_ext
39567 cat >>conftest.
$ac_ext <<_ACEOF
39568 /* end confdefs.h. */
39569 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39571 #define getservbyname_r innocuous_getservbyname_r
39573 /* System header to define __stub macros and hopefully few prototypes,
39574 which can conflict with char getservbyname_r (); below.
39575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39576 <limits.h> exists even on freestanding compilers. */
39579 # include <limits.h>
39581 # include <assert.h>
39584 #undef getservbyname_r
39586 /* Override any gcc2 internal prototype to avoid an error. */
39591 /* We use char because int might match the return type of a gcc2
39592 builtin and then its argument prototype would still apply. */
39593 char getservbyname_r ();
39594 /* The GNU C library defines this for functions which it implements
39595 to always fail with ENOSYS. Some functions are actually named
39596 something starting with __ and the normal name is an alias. */
39597 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39600 char (*f) () = getservbyname_r;
39609 return f != getservbyname_r;
39614 rm -f conftest.
$ac_objext conftest
$ac_exeext
39615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39616 (eval $ac_link) 2>conftest.er1
39618 grep -v '^ *+' conftest.er1
>conftest.err
39620 cat conftest.err
>&5
39621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39622 (exit $ac_status); } &&
39623 { ac_try
='test -z "$ac_cxx_werror_flag"
39624 || test ! -s conftest.err'
39625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39626 (eval $ac_try) 2>&5
39628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39629 (exit $ac_status); }; } &&
39630 { ac_try
='test -s conftest$ac_exeext'
39631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39632 (eval $ac_try) 2>&5
39634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39635 (exit $ac_status); }; }; then
39636 ac_cv_func_getservbyname_r
=yes
39638 echo "$as_me: failed program was:" >&5
39639 sed 's/^/| /' conftest.
$ac_ext >&5
39641 ac_cv_func_getservbyname_r
=no
39643 rm -f conftest.err conftest.
$ac_objext \
39644 conftest
$ac_exeext conftest.
$ac_ext
39646 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39647 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39648 if test $ac_cv_func_getservbyname_r = yes; then
39649 cat >conftest.
$ac_ext <<_ACEOF
39652 cat confdefs.h
>>conftest.
$ac_ext
39653 cat >>conftest.
$ac_ext <<_ACEOF
39654 /* end confdefs.h. */
39662 struct servent *se;
39663 struct servent_data data;
39664 (void) getservbyname_r(name, proto, se, &data);
39670 rm -f conftest.
$ac_objext
39671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39672 (eval $ac_compile) 2>conftest.er1
39674 grep -v '^ *+' conftest.er1
>conftest.err
39676 cat conftest.err
>&5
39677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39678 (exit $ac_status); } &&
39679 { ac_try
='test -z "$ac_cxx_werror_flag"
39680 || test ! -s conftest.err'
39681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39682 (eval $ac_try) 2>&5
39684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39685 (exit $ac_status); }; } &&
39686 { ac_try
='test -s conftest.$ac_objext'
39687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39688 (eval $ac_try) 2>&5
39690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39691 (exit $ac_status); }; }; then
39692 ac_cv_func_which_getservbyname_r
=four
39694 echo "$as_me: failed program was:" >&5
39695 sed 's/^/| /' conftest.
$ac_ext >&5
39697 cat >conftest.
$ac_ext <<_ACEOF
39700 cat confdefs.h
>>conftest.
$ac_ext
39701 cat >>conftest.
$ac_ext <<_ACEOF
39702 /* end confdefs.h. */
39710 struct servent *se, *res;
39713 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39719 rm -f conftest.
$ac_objext
39720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39721 (eval $ac_compile) 2>conftest.er1
39723 grep -v '^ *+' conftest.er1
>conftest.err
39725 cat conftest.err
>&5
39726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39727 (exit $ac_status); } &&
39728 { ac_try
='test -z "$ac_cxx_werror_flag"
39729 || test ! -s conftest.err'
39730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39731 (eval $ac_try) 2>&5
39733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39734 (exit $ac_status); }; } &&
39735 { ac_try
='test -s conftest.$ac_objext'
39736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39737 (eval $ac_try) 2>&5
39739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39740 (exit $ac_status); }; }; then
39741 ac_cv_func_which_getservbyname_r
=six
39743 echo "$as_me: failed program was:" >&5
39744 sed 's/^/| /' conftest.
$ac_ext >&5
39746 cat >conftest.
$ac_ext <<_ACEOF
39749 cat confdefs.h
>>conftest.
$ac_ext
39750 cat >>conftest.
$ac_ext <<_ACEOF
39751 /* end confdefs.h. */
39759 struct servent *se;
39762 (void) getservbyname_r(name, proto, se, buffer, buflen)
39768 rm -f conftest.
$ac_objext
39769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39770 (eval $ac_compile) 2>conftest.er1
39772 grep -v '^ *+' conftest.er1
>conftest.err
39774 cat conftest.err
>&5
39775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39776 (exit $ac_status); } &&
39777 { ac_try
='test -z "$ac_cxx_werror_flag"
39778 || test ! -s conftest.err'
39779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39780 (eval $ac_try) 2>&5
39782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39783 (exit $ac_status); }; } &&
39784 { ac_try
='test -s conftest.$ac_objext'
39785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39786 (eval $ac_try) 2>&5
39788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39789 (exit $ac_status); }; }; then
39790 ac_cv_func_which_getservbyname_r
=five
39792 echo "$as_me: failed program was:" >&5
39793 sed 's/^/| /' conftest.
$ac_ext >&5
39795 ac_cv_func_which_getservbyname_r
=no
39798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39806 ac_cv_func_which_getservbyname_r
=no
39810 if test $ac_cv_func_which_getservbyname_r = six
; then
39811 cat >>confdefs.h
<<\_ACEOF
39812 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39815 elif test $ac_cv_func_which_getservbyname_r = five
; then
39816 cat >>confdefs.h
<<\_ACEOF
39817 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39820 elif test $ac_cv_func_which_getservbyname_r = four
; then
39821 cat >>confdefs.h
<<\_ACEOF
39822 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39828 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39829 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39831 for ac_func
in getservbyname
39833 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39834 echo "$as_me:$LINENO: checking for $ac_func" >&5
39835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39836 if eval "test \"\${$as_ac_var+set}\" = set"; then
39837 echo $ECHO_N "(cached) $ECHO_C" >&6
39839 cat >conftest.
$ac_ext <<_ACEOF
39842 cat confdefs.h
>>conftest.
$ac_ext
39843 cat >>conftest.
$ac_ext <<_ACEOF
39844 /* end confdefs.h. */
39845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39847 #define $ac_func innocuous_$ac_func
39849 /* System header to define __stub macros and hopefully few prototypes,
39850 which can conflict with char $ac_func (); below.
39851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39852 <limits.h> exists even on freestanding compilers. */
39855 # include <limits.h>
39857 # include <assert.h>
39862 /* Override any gcc2 internal prototype to avoid an error. */
39867 /* We use char because int might match the return type of a gcc2
39868 builtin and then its argument prototype would still apply. */
39870 /* The GNU C library defines this for functions which it implements
39871 to always fail with ENOSYS. Some functions are actually named
39872 something starting with __ and the normal name is an alias. */
39873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39876 char (*f) () = $ac_func;
39885 return f != $ac_func;
39890 rm -f conftest.
$ac_objext conftest
$ac_exeext
39891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39892 (eval $ac_link) 2>conftest.er1
39894 grep -v '^ *+' conftest.er1
>conftest.err
39896 cat conftest.err
>&5
39897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39898 (exit $ac_status); } &&
39899 { ac_try
='test -z "$ac_cxx_werror_flag"
39900 || test ! -s conftest.err'
39901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39902 (eval $ac_try) 2>&5
39904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39905 (exit $ac_status); }; } &&
39906 { ac_try
='test -s conftest$ac_exeext'
39907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39908 (eval $ac_try) 2>&5
39910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39911 (exit $ac_status); }; }; then
39912 eval "$as_ac_var=yes"
39914 echo "$as_me: failed program was:" >&5
39915 sed 's/^/| /' conftest.
$ac_ext >&5
39917 eval "$as_ac_var=no"
39919 rm -f conftest.err conftest.
$ac_objext \
39920 conftest
$ac_exeext conftest.
$ac_ext
39922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39924 if test `eval echo '${'$as_ac_var'}'` = yes; then
39925 cat >>confdefs.h
<<_ACEOF
39926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39928 cat >>confdefs.h
<<\_ACEOF
39929 #define HAVE_GETSERVBYNAME 1
39937 if test "$wxUSE_THREADS" = "yes"; then
39938 cat >>confdefs.h
<<\_ACEOF
39939 #define wxUSE_THREADS 1
39943 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39945 if test "$ac_cv_func_strtok_r" = "yes"; then
39946 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39947 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39948 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39949 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39950 echo "$as_me:$LINENO: result: yes" >&5
39951 echo "${ECHO_T}yes" >&6
39953 echo "$as_me:$LINENO: result: no" >&5
39954 echo "${ECHO_T}no" >&6
39959 if test "$WXGTK20" = 1 ; then
39960 cat >>confdefs.h
<<_ACEOF
39961 #define __WXGTK20__ $WXGTK20
39967 if test "$WXGTK12" = 1 ; then
39968 cat >>confdefs.h
<<_ACEOF
39969 #define __WXGTK12__ $WXGTK12
39974 if test "$WXGTK127" = 1 ; then
39975 cat >>confdefs.h
<<_ACEOF
39976 #define __WXGTK127__ $WXGTK127
39981 if test "$WXGPE" = 1 ; then
39982 cat >>confdefs.h
<<_ACEOF
39983 #define __WXGPE__ $WXGPE
39989 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39994 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39995 wxUSE_DEBUG_INFO
=yes
39996 if test "$GCC" = yes; then
39997 DEBUG_CFLAGS
="-ggdb"
40001 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40002 cat >>confdefs.h
<<\_ACEOF
40006 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40008 if test "$wxUSE_GTK" = 1 ; then
40009 if test "x$wxGTK_VERSION" = "x1" ; then
40010 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40015 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40016 cat >>confdefs.h
<<\_ACEOF
40017 #define wxUSE_MEMORY_TRACING 1
40020 cat >>confdefs.h
<<\_ACEOF
40021 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40024 cat >>confdefs.h
<<\_ACEOF
40025 #define wxUSE_DEBUG_NEW_ALWAYS 1
40028 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40031 if test "$wxUSE_DMALLOC" = "yes" ; then
40032 DMALLOC_LIBS
="-ldmallocthcxx"
40036 if test "$wxUSE_PROFILE" = "yes" ; then
40037 PROFILE_FLAGS
=" -pg"
40040 if test "$GCC" = "yes" ; then
40041 if test "$wxUSE_NO_RTTI" = "yes" ; then
40042 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40044 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40045 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40047 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40048 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40053 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40056 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40062 if test "$wxUSE_OPTIMISE" = "no" ; then
40063 if test "$GCC" = yes ; then
40064 OPTIMISE_CFLAGS
="-O0"
40067 if test "$GCC" = yes ; then
40069 *-pc-os2_emx | *-pc-os2-emx )
40070 OPTIMISE_CFLAGS
="-O2"
40073 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40077 OPTIMISE_CFLAGS
="-O"
40082 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
40083 cat >>confdefs.h
<<\_ACEOF
40084 #define WXWIN_COMPATIBILITY_2_4 1
40088 WXWIN_COMPATIBILITY_2_6
="yes"
40091 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
40092 cat >>confdefs.h
<<\_ACEOF
40093 #define WXWIN_COMPATIBILITY_2_6 1
40099 if test "$wxUSE_GUI" = "yes"; then
40100 cat >>confdefs.h
<<\_ACEOF
40101 #define wxUSE_GUI 1
40108 if test "$wxUSE_UNIX" = "yes"; then
40109 cat >>confdefs.h
<<\_ACEOF
40110 #define wxUSE_UNIX 1
40116 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40120 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40121 if test "$USE_DARWIN" = 1; then
40123 elif test "$USE_DOS" = 1; then
40127 for ac_func
in dlopen
40129 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40130 echo "$as_me:$LINENO: checking for $ac_func" >&5
40131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40132 if eval "test \"\${$as_ac_var+set}\" = set"; then
40133 echo $ECHO_N "(cached) $ECHO_C" >&6
40135 cat >conftest.
$ac_ext <<_ACEOF
40138 cat confdefs.h
>>conftest.
$ac_ext
40139 cat >>conftest.
$ac_ext <<_ACEOF
40140 /* end confdefs.h. */
40141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40143 #define $ac_func innocuous_$ac_func
40145 /* System header to define __stub macros and hopefully few prototypes,
40146 which can conflict with char $ac_func (); below.
40147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40148 <limits.h> exists even on freestanding compilers. */
40151 # include <limits.h>
40153 # include <assert.h>
40158 /* Override any gcc2 internal prototype to avoid an error. */
40163 /* We use char because int might match the return type of a gcc2
40164 builtin and then its argument prototype would still apply. */
40166 /* The GNU C library defines this for functions which it implements
40167 to always fail with ENOSYS. Some functions are actually named
40168 something starting with __ and the normal name is an alias. */
40169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40172 char (*f) () = $ac_func;
40181 return f != $ac_func;
40186 rm -f conftest.
$ac_objext conftest
$ac_exeext
40187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40188 (eval $ac_link) 2>conftest.er1
40190 grep -v '^ *+' conftest.er1
>conftest.err
40192 cat conftest.err
>&5
40193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194 (exit $ac_status); } &&
40195 { ac_try
='test -z "$ac_cxx_werror_flag"
40196 || test ! -s conftest.err'
40197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40198 (eval $ac_try) 2>&5
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); }; } &&
40202 { ac_try
='test -s conftest$ac_exeext'
40203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40204 (eval $ac_try) 2>&5
40206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40207 (exit $ac_status); }; }; then
40208 eval "$as_ac_var=yes"
40210 echo "$as_me: failed program was:" >&5
40211 sed 's/^/| /' conftest.
$ac_ext >&5
40213 eval "$as_ac_var=no"
40215 rm -f conftest.err conftest.
$ac_objext \
40216 conftest
$ac_exeext conftest.
$ac_ext
40218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40220 if test `eval echo '${'$as_ac_var'}'` = yes; then
40221 cat >>confdefs.h
<<_ACEOF
40222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40225 cat >>confdefs.h
<<\_ACEOF
40226 #define HAVE_DLOPEN 1
40233 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40234 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40235 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40236 echo $ECHO_N "(cached) $ECHO_C" >&6
40238 ac_check_lib_save_LIBS
=$LIBS
40240 cat >conftest.
$ac_ext <<_ACEOF
40243 cat confdefs.h
>>conftest.
$ac_ext
40244 cat >>conftest.
$ac_ext <<_ACEOF
40245 /* end confdefs.h. */
40247 /* Override any gcc2 internal prototype to avoid an error. */
40251 /* We use char because int might match the return type of a gcc2
40252 builtin and then its argument prototype would still apply. */
40262 rm -f conftest.
$ac_objext conftest
$ac_exeext
40263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40264 (eval $ac_link) 2>conftest.er1
40266 grep -v '^ *+' conftest.er1
>conftest.err
40268 cat conftest.err
>&5
40269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270 (exit $ac_status); } &&
40271 { ac_try
='test -z "$ac_cxx_werror_flag"
40272 || test ! -s conftest.err'
40273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40274 (eval $ac_try) 2>&5
40276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40277 (exit $ac_status); }; } &&
40278 { ac_try
='test -s conftest$ac_exeext'
40279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40280 (eval $ac_try) 2>&5
40282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40283 (exit $ac_status); }; }; then
40284 ac_cv_lib_dl_dlopen
=yes
40286 echo "$as_me: failed program was:" >&5
40287 sed 's/^/| /' conftest.
$ac_ext >&5
40289 ac_cv_lib_dl_dlopen
=no
40291 rm -f conftest.err conftest.
$ac_objext \
40292 conftest
$ac_exeext conftest.
$ac_ext
40293 LIBS
=$ac_check_lib_save_LIBS
40295 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40296 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40297 if test $ac_cv_lib_dl_dlopen = yes; then
40299 cat >>confdefs.h
<<\_ACEOF
40300 #define HAVE_DLOPEN 1
40304 DL_LINK
=" -ldl$DL_LINK"
40309 for ac_func
in shl_load
40311 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40312 echo "$as_me:$LINENO: checking for $ac_func" >&5
40313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40314 if eval "test \"\${$as_ac_var+set}\" = set"; then
40315 echo $ECHO_N "(cached) $ECHO_C" >&6
40317 cat >conftest.
$ac_ext <<_ACEOF
40320 cat confdefs.h
>>conftest.
$ac_ext
40321 cat >>conftest.
$ac_ext <<_ACEOF
40322 /* end confdefs.h. */
40323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40325 #define $ac_func innocuous_$ac_func
40327 /* System header to define __stub macros and hopefully few prototypes,
40328 which can conflict with char $ac_func (); below.
40329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40330 <limits.h> exists even on freestanding compilers. */
40333 # include <limits.h>
40335 # include <assert.h>
40340 /* Override any gcc2 internal prototype to avoid an error. */
40345 /* We use char because int might match the return type of a gcc2
40346 builtin and then its argument prototype would still apply. */
40348 /* The GNU C library defines this for functions which it implements
40349 to always fail with ENOSYS. Some functions are actually named
40350 something starting with __ and the normal name is an alias. */
40351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40354 char (*f) () = $ac_func;
40363 return f != $ac_func;
40368 rm -f conftest.
$ac_objext conftest
$ac_exeext
40369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40370 (eval $ac_link) 2>conftest.er1
40372 grep -v '^ *+' conftest.er1
>conftest.err
40374 cat conftest.err
>&5
40375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40376 (exit $ac_status); } &&
40377 { ac_try
='test -z "$ac_cxx_werror_flag"
40378 || test ! -s conftest.err'
40379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40380 (eval $ac_try) 2>&5
40382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40383 (exit $ac_status); }; } &&
40384 { ac_try
='test -s conftest$ac_exeext'
40385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40386 (eval $ac_try) 2>&5
40388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40389 (exit $ac_status); }; }; then
40390 eval "$as_ac_var=yes"
40392 echo "$as_me: failed program was:" >&5
40393 sed 's/^/| /' conftest.
$ac_ext >&5
40395 eval "$as_ac_var=no"
40397 rm -f conftest.err conftest.
$ac_objext \
40398 conftest
$ac_exeext conftest.
$ac_ext
40400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40402 if test `eval echo '${'$as_ac_var'}'` = yes; then
40403 cat >>confdefs.h
<<_ACEOF
40404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40407 cat >>confdefs.h
<<\_ACEOF
40408 #define HAVE_SHL_LOAD 1
40415 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40416 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40417 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40418 echo $ECHO_N "(cached) $ECHO_C" >&6
40420 ac_check_lib_save_LIBS
=$LIBS
40421 LIBS
="-lshl_load $LIBS"
40422 cat >conftest.
$ac_ext <<_ACEOF
40425 cat confdefs.h
>>conftest.
$ac_ext
40426 cat >>conftest.
$ac_ext <<_ACEOF
40427 /* end confdefs.h. */
40429 /* Override any gcc2 internal prototype to avoid an error. */
40433 /* We use char because int might match the return type of a gcc2
40434 builtin and then its argument prototype would still apply. */
40444 rm -f conftest.
$ac_objext conftest
$ac_exeext
40445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40446 (eval $ac_link) 2>conftest.er1
40448 grep -v '^ *+' conftest.er1
>conftest.err
40450 cat conftest.err
>&5
40451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40452 (exit $ac_status); } &&
40453 { ac_try
='test -z "$ac_cxx_werror_flag"
40454 || test ! -s conftest.err'
40455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40456 (eval $ac_try) 2>&5
40458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40459 (exit $ac_status); }; } &&
40460 { ac_try
='test -s conftest$ac_exeext'
40461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40462 (eval $ac_try) 2>&5
40464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40465 (exit $ac_status); }; }; then
40466 ac_cv_lib_shl_load_dld
=yes
40468 echo "$as_me: failed program was:" >&5
40469 sed 's/^/| /' conftest.
$ac_ext >&5
40471 ac_cv_lib_shl_load_dld
=no
40473 rm -f conftest.err conftest.
$ac_objext \
40474 conftest
$ac_exeext conftest.
$ac_ext
40475 LIBS
=$ac_check_lib_save_LIBS
40477 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40478 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40479 if test $ac_cv_lib_shl_load_dld = yes; then
40482 DL_LINK
=" -ldld$DL_LINK"
40498 if test "$HAVE_DL_FUNCS" = 1; then
40500 for ac_func
in dlerror
40502 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40503 echo "$as_me:$LINENO: checking for $ac_func" >&5
40504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40505 if eval "test \"\${$as_ac_var+set}\" = set"; then
40506 echo $ECHO_N "(cached) $ECHO_C" >&6
40508 cat >conftest.
$ac_ext <<_ACEOF
40511 cat confdefs.h
>>conftest.
$ac_ext
40512 cat >>conftest.
$ac_ext <<_ACEOF
40513 /* end confdefs.h. */
40514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40516 #define $ac_func innocuous_$ac_func
40518 /* System header to define __stub macros and hopefully few prototypes,
40519 which can conflict with char $ac_func (); below.
40520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40521 <limits.h> exists even on freestanding compilers. */
40524 # include <limits.h>
40526 # include <assert.h>
40531 /* Override any gcc2 internal prototype to avoid an error. */
40536 /* We use char because int might match the return type of a gcc2
40537 builtin and then its argument prototype would still apply. */
40539 /* The GNU C library defines this for functions which it implements
40540 to always fail with ENOSYS. Some functions are actually named
40541 something starting with __ and the normal name is an alias. */
40542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40545 char (*f) () = $ac_func;
40554 return f != $ac_func;
40559 rm -f conftest.
$ac_objext conftest
$ac_exeext
40560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40561 (eval $ac_link) 2>conftest.er1
40563 grep -v '^ *+' conftest.er1
>conftest.err
40565 cat conftest.err
>&5
40566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40567 (exit $ac_status); } &&
40568 { ac_try
='test -z "$ac_cxx_werror_flag"
40569 || test ! -s conftest.err'
40570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40571 (eval $ac_try) 2>&5
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); }; } &&
40575 { ac_try
='test -s conftest$ac_exeext'
40576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40577 (eval $ac_try) 2>&5
40579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40580 (exit $ac_status); }; }; then
40581 eval "$as_ac_var=yes"
40583 echo "$as_me: failed program was:" >&5
40584 sed 's/^/| /' conftest.
$ac_ext >&5
40586 eval "$as_ac_var=no"
40588 rm -f conftest.err conftest.
$ac_objext \
40589 conftest
$ac_exeext conftest.
$ac_ext
40591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40593 if test `eval echo '${'$as_ac_var'}'` = yes; then
40594 cat >>confdefs.h
<<_ACEOF
40595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40597 cat >>confdefs.h
<<\_ACEOF
40598 #define HAVE_DLERROR 1
40603 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40604 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40605 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40606 echo $ECHO_N "(cached) $ECHO_C" >&6
40608 ac_check_lib_save_LIBS
=$LIBS
40610 cat >conftest.
$ac_ext <<_ACEOF
40613 cat confdefs.h
>>conftest.
$ac_ext
40614 cat >>conftest.
$ac_ext <<_ACEOF
40615 /* end confdefs.h. */
40617 /* Override any gcc2 internal prototype to avoid an error. */
40621 /* We use char because int might match the return type of a gcc2
40622 builtin and then its argument prototype would still apply. */
40632 rm -f conftest.
$ac_objext conftest
$ac_exeext
40633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40634 (eval $ac_link) 2>conftest.er1
40636 grep -v '^ *+' conftest.er1
>conftest.err
40638 cat conftest.err
>&5
40639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40640 (exit $ac_status); } &&
40641 { ac_try
='test -z "$ac_cxx_werror_flag"
40642 || test ! -s conftest.err'
40643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40644 (eval $ac_try) 2>&5
40646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40647 (exit $ac_status); }; } &&
40648 { ac_try
='test -s conftest$ac_exeext'
40649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40650 (eval $ac_try) 2>&5
40652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40653 (exit $ac_status); }; }; then
40654 ac_cv_lib_dl_dlerror
=yes
40656 echo "$as_me: failed program was:" >&5
40657 sed 's/^/| /' conftest.
$ac_ext >&5
40659 ac_cv_lib_dl_dlerror
=no
40661 rm -f conftest.err conftest.
$ac_objext \
40662 conftest
$ac_exeext conftest.
$ac_ext
40663 LIBS
=$ac_check_lib_save_LIBS
40665 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40666 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40667 if test $ac_cv_lib_dl_dlerror = yes; then
40668 cat >>confdefs.h
<<\_ACEOF
40669 #define HAVE_DLERROR 1
40682 if test "$HAVE_DL_FUNCS" = 0; then
40683 if test "$HAVE_SHL_FUNCS" = 0; then
40684 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40685 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40686 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40687 wxUSE_DYNAMIC_LOADER
=no
40688 wxUSE_DYNLIB_CLASS
=no
40690 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40691 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40698 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40699 cat >>confdefs.h
<<\_ACEOF
40700 #define wxUSE_DYNAMIC_LOADER 1
40704 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40705 cat >>confdefs.h
<<\_ACEOF
40706 #define wxUSE_DYNLIB_CLASS 1
40713 if test "$wxUSE_PLUGINS" = "yes" ; then
40714 if test "$wxUSE_SHARED" = "no" ; then
40715 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40716 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40719 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40720 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40721 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40724 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40725 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40726 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40729 if test "$wxUSE_PLUGINS" = "yes" ; then
40730 cat >>confdefs.h
<<\_ACEOF
40731 #define wxUSE_PLUGINS 1
40738 if test "$wxUSE_STL" = "yes"; then
40739 cat >>confdefs.h
<<\_ACEOF
40740 #define wxUSE_STL 1
40745 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40746 cat >>confdefs.h
<<\_ACEOF
40747 #define wxUSE_APPLE_IEEE 1
40752 if test "$wxUSE_TIMER" = "yes"; then
40753 cat >>confdefs.h
<<\_ACEOF
40754 #define wxUSE_TIMER 1
40759 if test "$USE_UNIX" = "1" ; then
40760 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40761 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40762 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40763 echo $ECHO_N "(cached) $ECHO_C" >&6
40766 cat >conftest.
$ac_ext <<_ACEOF
40769 cat confdefs.h
>>conftest.
$ac_ext
40770 cat >>conftest.
$ac_ext <<_ACEOF
40771 /* end confdefs.h. */
40773 #include <sys/soundcard.h>
40779 ioctl(0, SNDCTL_DSP_SYNC, 0);
40785 rm -f conftest.
$ac_objext conftest
$ac_exeext
40786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40787 (eval $ac_link) 2>conftest.er1
40789 grep -v '^ *+' conftest.er1
>conftest.err
40791 cat conftest.err
>&5
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); } &&
40794 { ac_try
='test -z "$ac_cxx_werror_flag"
40795 || test ! -s conftest.err'
40796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40797 (eval $ac_try) 2>&5
40799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40800 (exit $ac_status); }; } &&
40801 { ac_try
='test -s conftest$ac_exeext'
40802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40803 (eval $ac_try) 2>&5
40805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40806 (exit $ac_status); }; }; then
40807 ac_cv_header_sys_soundcard
=yes
40809 echo "$as_me: failed program was:" >&5
40810 sed 's/^/| /' conftest.
$ac_ext >&5
40814 LIBS
="$saveLibs -lossaudio"
40815 cat >conftest.
$ac_ext <<_ACEOF
40818 cat confdefs.h
>>conftest.
$ac_ext
40819 cat >>conftest.
$ac_ext <<_ACEOF
40820 /* end confdefs.h. */
40822 #include <sys/soundcard.h>
40828 ioctl(0, SNDCTL_DSP_SYNC, 0);
40834 rm -f conftest.
$ac_objext conftest
$ac_exeext
40835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40836 (eval $ac_link) 2>conftest.er1
40838 grep -v '^ *+' conftest.er1
>conftest.err
40840 cat conftest.err
>&5
40841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40842 (exit $ac_status); } &&
40843 { ac_try
='test -z "$ac_cxx_werror_flag"
40844 || test ! -s conftest.err'
40845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40846 (eval $ac_try) 2>&5
40848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40849 (exit $ac_status); }; } &&
40850 { ac_try
='test -s conftest$ac_exeext'
40851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40852 (eval $ac_try) 2>&5
40854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40855 (exit $ac_status); }; }; then
40856 ac_cv_header_sys_soundcard
=yes
40858 echo "$as_me: failed program was:" >&5
40859 sed 's/^/| /' conftest.
$ac_ext >&5
40863 ac_cv_header_sys_soundcard
=no
40867 rm -f conftest.err conftest.
$ac_objext \
40868 conftest
$ac_exeext conftest.
$ac_ext
40872 rm -f conftest.err conftest.
$ac_objext \
40873 conftest
$ac_exeext conftest.
$ac_ext
40876 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40877 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40879 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40880 cat >>confdefs.h
<<\_ACEOF
40881 #define HAVE_SYS_SOUNDCARD_H 1
40885 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
40889 if test "$wxUSE_SOUND" = "yes"; then
40890 if test "$USE_UNIX" = "1" ; then
40891 if test "$wxUSE_LIBSDL" != "no"; then
40893 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40894 if test "${with_sdl_prefix+set}" = set; then
40895 withval
="$with_sdl_prefix"
40896 sdl_prefix
="$withval"
40901 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40902 if test "${with_sdl_exec_prefix+set}" = set; then
40903 withval
="$with_sdl_exec_prefix"
40904 sdl_exec_prefix
="$withval"
40908 # Check whether --enable-sdltest or --disable-sdltest was given.
40909 if test "${enable_sdltest+set}" = set; then
40910 enableval
="$enable_sdltest"
40916 if test x
$sdl_exec_prefix != x
; then
40917 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40918 if test x
${SDL_CONFIG+set} != xset
; then
40919 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40922 if test x
$sdl_prefix != x
; then
40923 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40924 if test x
${SDL_CONFIG+set} != xset
; then
40925 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40930 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40931 # Extract the first word of "sdl-config", so it can be a program name with args.
40932 set dummy sdl
-config; ac_word
=$2
40933 echo "$as_me:$LINENO: checking for $ac_word" >&5
40934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40935 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40936 echo $ECHO_N "(cached) $ECHO_C" >&6
40938 case $SDL_CONFIG in
40940 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40944 for as_dir
in $PATH
40947 test -z "$as_dir" && as_dir
=.
40948 for ac_exec_ext
in '' $ac_executable_extensions; do
40949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40950 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40957 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40961 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40963 if test -n "$SDL_CONFIG"; then
40964 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40965 echo "${ECHO_T}$SDL_CONFIG" >&6
40967 echo "$as_me:$LINENO: result: no" >&5
40968 echo "${ECHO_T}no" >&6
40971 min_sdl_version
=1.2.0
40972 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40973 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40975 if test "$SDL_CONFIG" = "no" ; then
40978 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40979 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40981 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40983 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40985 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40987 if test "x$enable_sdltest" = "xyes" ; then
40988 ac_save_CFLAGS
="$CFLAGS"
40989 ac_save_CXXFLAGS
="$CXXFLAGS"
40990 ac_save_LIBS
="$LIBS"
40991 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40992 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40993 LIBS
="$LIBS $SDL_LIBS"
40995 if test "$cross_compiling" = yes; then
40996 echo $ac_n "cross compiling; assumed OK... $ac_c"
40998 cat >conftest.
$ac_ext <<_ACEOF
41001 cat confdefs.h
>>conftest.
$ac_ext
41002 cat >>conftest.
$ac_ext <<_ACEOF
41003 /* end confdefs.h. */
41006 #include <stdlib.h>
41007 #include <string.h>
41011 my_strdup (char *str)
41017 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41018 strcpy (new_str, str);
41026 int main (int argc, char *argv[])
41028 int major, minor, micro;
41031 /* This hangs on some systems (?)
41032 system ("touch conf.sdltest");
41034 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41036 /* HP/UX 9 (%@#!) writes to sscanf strings */
41037 tmp_version = my_strdup("$min_sdl_version");
41038 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41039 printf("%s, bad version string\n", "$min_sdl_version");
41043 if (($sdl_major_version > major) ||
41044 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41045 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41051 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41052 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41053 printf("*** best to upgrade to the required version.\n");
41054 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41055 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41056 printf("*** config.cache before re-running configure\n");
41063 rm -f conftest
$ac_exeext
41064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41065 (eval $ac_link) 2>&5
41067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41068 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41070 (eval $ac_try) 2>&5
41072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41073 (exit $ac_status); }; }; then
41076 echo "$as_me: program exited with status $ac_status" >&5
41077 echo "$as_me: failed program was:" >&5
41078 sed 's/^/| /' conftest.
$ac_ext >&5
41080 ( exit $ac_status )
41083 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41085 CFLAGS
="$ac_save_CFLAGS"
41086 CXXFLAGS
="$ac_save_CXXFLAGS"
41087 LIBS
="$ac_save_LIBS"
41090 if test "x$no_sdl" = x
; then
41091 echo "$as_me:$LINENO: result: yes" >&5
41092 echo "${ECHO_T}yes" >&6
41094 EXTRALIBS_SDL
="$SDL_LIBS"
41095 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41096 cat >>confdefs.h
<<\_ACEOF
41097 #define wxUSE_LIBSDL 1
41102 echo "$as_me:$LINENO: result: no" >&5
41103 echo "${ECHO_T}no" >&6
41104 if test "$SDL_CONFIG" = "no" ; then
41105 echo "*** The sdl-config script installed by SDL could not be found"
41106 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41107 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41108 echo "*** full path to sdl-config."
41110 if test -f conf.sdltest
; then
41113 echo "*** Could not run SDL test program, checking why..."
41114 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41115 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41116 LIBS
="$LIBS $SDL_LIBS"
41117 cat >conftest.
$ac_ext <<_ACEOF
41120 cat confdefs.h
>>conftest.
$ac_ext
41121 cat >>conftest.
$ac_ext <<_ACEOF
41122 /* end confdefs.h. */
41127 int main(int argc, char *argv[])
41130 #define main K_and_R_C_main
41140 rm -f conftest.
$ac_objext conftest
$ac_exeext
41141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41142 (eval $ac_link) 2>conftest.er1
41144 grep -v '^ *+' conftest.er1
>conftest.err
41146 cat conftest.err
>&5
41147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41148 (exit $ac_status); } &&
41149 { ac_try
='test -z "$ac_cxx_werror_flag"
41150 || test ! -s conftest.err'
41151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41152 (eval $ac_try) 2>&5
41154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41155 (exit $ac_status); }; } &&
41156 { ac_try
='test -s conftest$ac_exeext'
41157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41158 (eval $ac_try) 2>&5
41160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41161 (exit $ac_status); }; }; then
41162 echo "*** The test program compiled, but did not run. This usually means"
41163 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41164 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41165 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41166 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41167 echo "*** is required on your system"
41169 echo "*** If you have an old version installed, it is best to remove it, although"
41170 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41172 echo "$as_me: failed program was:" >&5
41173 sed 's/^/| /' conftest.
$ac_ext >&5
41175 echo "*** The test program failed to compile or link. See the file config.log for the"
41176 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41177 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41178 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41180 rm -f conftest.err conftest.
$ac_objext \
41181 conftest
$ac_exeext conftest.
$ac_ext
41182 CFLAGS
="$ac_save_CFLAGS"
41183 CXXFLAGS
="$ac_save_CXXFLAGS"
41184 LIBS
="$ac_save_LIBS"
41195 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41201 cat >>confdefs.h
<<\_ACEOF
41202 #define wxUSE_SOUND 1
41205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41208 if test "$WXGTK20" = 1; then
41209 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41210 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41215 if test -z "$PKG_CONFIG"; then
41216 # Extract the first word of "pkg-config", so it can be a program name with args.
41217 set dummy pkg
-config; ac_word
=$2
41218 echo "$as_me:$LINENO: checking for $ac_word" >&5
41219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41220 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41221 echo $ECHO_N "(cached) $ECHO_C" >&6
41223 case $PKG_CONFIG in
41225 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41229 for as_dir
in $PATH
41232 test -z "$as_dir" && as_dir
=.
41233 for ac_exec_ext
in '' $ac_executable_extensions; do
41234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41235 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41242 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41246 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41248 if test -n "$PKG_CONFIG"; then
41249 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41250 echo "${ECHO_T}$PKG_CONFIG" >&6
41252 echo "$as_me:$LINENO: result: no" >&5
41253 echo "${ECHO_T}no" >&6
41258 if test "$PKG_CONFIG" = "no" ; then
41259 echo "*** The pkg-config script could not be found. Make sure it is"
41260 echo "*** in your path, or set the PKG_CONFIG environment variable"
41261 echo "*** to the full path to pkg-config."
41262 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41264 PKG_CONFIG_MIN_VERSION
=0.9.0
41265 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41266 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
41267 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
41269 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
41270 echo "$as_me:$LINENO: result: yes" >&5
41271 echo "${ECHO_T}yes" >&6
41274 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
41275 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
41276 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
41277 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
41278 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
41280 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
41281 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
41282 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
41283 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
41284 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
41286 LIBGNOMEPRINTUI_CFLAGS
=""
41287 LIBGNOMEPRINTUI_LIBS
=""
41288 ## If we have a custom action on failure, don't print errors, but
41289 ## do set a variable so people can do so.
41290 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41297 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41298 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41302 if test $succeeded = yes; then
41304 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41305 cat >>confdefs.h
<<\_ACEOF
41306 #define wxUSE_LIBGNOMEPRINT 1
41312 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41313 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41314 wxUSE_LIBGNOMEPRINT
="no"
41323 if test "$WXGTK20" = 1; then
41324 if test "$wxUSE_MIMETYPE" = "yes" ; then
41325 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41330 if test -z "$PKG_CONFIG"; then
41331 # Extract the first word of "pkg-config", so it can be a program name with args.
41332 set dummy pkg
-config; ac_word
=$2
41333 echo "$as_me:$LINENO: checking for $ac_word" >&5
41334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41335 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41336 echo $ECHO_N "(cached) $ECHO_C" >&6
41338 case $PKG_CONFIG in
41340 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41344 for as_dir
in $PATH
41347 test -z "$as_dir" && as_dir
=.
41348 for ac_exec_ext
in '' $ac_executable_extensions; do
41349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41350 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41357 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41361 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41363 if test -n "$PKG_CONFIG"; then
41364 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41365 echo "${ECHO_T}$PKG_CONFIG" >&6
41367 echo "$as_me:$LINENO: result: no" >&5
41368 echo "${ECHO_T}no" >&6
41373 if test "$PKG_CONFIG" = "no" ; then
41374 echo "*** The pkg-config script could not be found. Make sure it is"
41375 echo "*** in your path, or set the PKG_CONFIG environment variable"
41376 echo "*** to the full path to pkg-config."
41377 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41379 PKG_CONFIG_MIN_VERSION
=0.9.0
41380 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41381 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
41382 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
41384 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
41385 echo "$as_me:$LINENO: result: yes" >&5
41386 echo "${ECHO_T}yes" >&6
41389 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
41390 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
41391 GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
41392 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
41393 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
41395 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
41396 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
41397 GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
41398 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
41399 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
41403 ## If we have a custom action on failure, don't print errors, but
41404 ## do set a variable so people can do so.
41405 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41412 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41413 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41417 if test $succeeded = yes; then
41419 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41420 cat >>confdefs.h
<<\_ACEOF
41421 #define wxUSE_LIBGNOMEVFS 1
41427 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41428 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41429 wxUSE_LIBGNOMEVFS
="no"
41438 if test "$WXGTK20" = 1; then
41439 if test "$wxUSE_LIBHILDON" = "yes" ; then
41443 if test -z "$PKG_CONFIG"; then
41444 # Extract the first word of "pkg-config", so it can be a program name with args.
41445 set dummy pkg
-config; ac_word
=$2
41446 echo "$as_me:$LINENO: checking for $ac_word" >&5
41447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41448 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41449 echo $ECHO_N "(cached) $ECHO_C" >&6
41451 case $PKG_CONFIG in
41453 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41457 for as_dir
in $PATH
41460 test -z "$as_dir" && as_dir
=.
41461 for ac_exec_ext
in '' $ac_executable_extensions; do
41462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41463 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41470 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41474 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41476 if test -n "$PKG_CONFIG"; then
41477 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41478 echo "${ECHO_T}$PKG_CONFIG" >&6
41480 echo "$as_me:$LINENO: result: no" >&5
41481 echo "${ECHO_T}no" >&6
41486 if test "$PKG_CONFIG" = "no" ; then
41487 echo "*** The pkg-config script could not be found. Make sure it is"
41488 echo "*** in your path, or set the PKG_CONFIG environment variable"
41489 echo "*** to the full path to pkg-config."
41490 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41492 PKG_CONFIG_MIN_VERSION
=0.9.0
41493 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41494 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41495 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41497 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41498 echo "$as_me:$LINENO: result: yes" >&5
41499 echo "${ECHO_T}yes" >&6
41502 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41503 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41504 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41505 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41506 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41508 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41509 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41510 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41511 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41512 echo "${ECHO_T}$HILDON_LIBS" >&6
41516 ## If we have a custom action on failure, don't print errors, but
41517 ## do set a variable so people can do so.
41518 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41525 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41526 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41530 if test $succeeded = yes; then
41532 EXTRALIBS_HILDON
="$HILDON_LIBS"
41533 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41534 cat >>confdefs.h
<<\_ACEOF
41535 #define wxUSE_LIBHILDON 1
41541 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41542 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41543 wxUSE_LIBHILDON
="no"
41551 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41552 cat >>confdefs.h
<<\_ACEOF
41553 #define wxUSE_CMDLINE_PARSER 1
41558 if test "$wxUSE_STOPWATCH" = "yes"; then
41559 cat >>confdefs.h
<<\_ACEOF
41560 #define wxUSE_STOPWATCH 1
41565 if test "$wxUSE_DATETIME" = "yes"; then
41566 cat >>confdefs.h
<<\_ACEOF
41567 #define wxUSE_DATETIME 1
41572 if test "$wxUSE_FILE" = "yes"; then
41573 cat >>confdefs.h
<<\_ACEOF
41574 #define wxUSE_FILE 1
41579 if test "$wxUSE_FFILE" = "yes"; then
41580 cat >>confdefs.h
<<\_ACEOF
41581 #define wxUSE_FFILE 1
41586 if test "$wxUSE_FILESYSTEM" = "yes"; then
41587 cat >>confdefs.h
<<\_ACEOF
41588 #define wxUSE_FILESYSTEM 1
41593 if test "$wxUSE_FS_ZIP" = "yes"; then
41594 cat >>confdefs.h
<<\_ACEOF
41595 #define wxUSE_FS_ZIP 1
41600 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41601 cat >>confdefs.h
<<\_ACEOF
41602 #define wxUSE_ARCHIVE_STREAMS 1
41607 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41608 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41609 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41610 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41611 elif test "$wxUSE_ZLIB" = "no"; then
41612 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41613 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41615 cat >>confdefs.h
<<\_ACEOF
41616 #define wxUSE_ZIPSTREAM 1
41622 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41623 if test "$USE_UNIX" != 1; then
41624 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41625 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41626 wxUSE_ON_FATAL_EXCEPTION
=no
41628 cat >>confdefs.h
<<\_ACEOF
41629 #define wxUSE_ON_FATAL_EXCEPTION 1
41635 if test "$wxUSE_STACKWALKER" = "yes"; then
41636 cat >>confdefs.h
<<\_ACEOF
41637 #define wxUSE_STACKWALKER 1
41642 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41643 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41644 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41645 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41646 wxUSE_DEBUGREPORT
=no
41648 cat >>confdefs.h
<<\_ACEOF
41649 #define wxUSE_DEBUGREPORT 1
41652 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41658 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41659 cat >>confdefs.h
<<\_ACEOF
41660 #define wxUSE_SNGLINST_CHECKER 1
41665 if test "$wxUSE_BUSYINFO" = "yes"; then
41666 cat >>confdefs.h
<<\_ACEOF
41667 #define wxUSE_BUSYINFO 1
41672 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41673 cat >>confdefs.h
<<\_ACEOF
41674 #define wxUSE_STD_IOSTREAM 1
41679 if test "$wxUSE_STD_STRING" = "yes"; then
41680 cat >>confdefs.h
<<\_ACEOF
41681 #define wxUSE_STD_STRING 1
41686 if test "$wxUSE_STDPATHS" = "yes"; then
41687 cat >>confdefs.h
<<\_ACEOF
41688 #define wxUSE_STDPATHS 1
41693 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41694 cat >>confdefs.h
<<\_ACEOF
41695 #define wxUSE_TEXTBUFFER 1
41700 if test "$wxUSE_TEXTFILE" = "yes"; then
41701 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41702 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41703 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41705 cat >>confdefs.h
<<\_ACEOF
41706 #define wxUSE_TEXTFILE 1
41712 if test "$wxUSE_CONFIG" = "yes" ; then
41713 if test "$wxUSE_TEXTFILE" != "yes"; then
41714 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41715 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41717 cat >>confdefs.h
<<\_ACEOF
41718 #define wxUSE_CONFIG 1
41721 cat >>confdefs.h
<<\_ACEOF
41722 #define wxUSE_CONFIG_NATIVE 1
41725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41729 if test "$wxUSE_INTL" = "yes" ; then
41730 if test "$wxUSE_FILE" != "yes"; then
41731 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41732 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41734 cat >>confdefs.h
<<\_ACEOF
41735 #define wxUSE_INTL 1
41738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41739 GUIDIST
="$GUIDIST INTL_DIST"
41743 if test "$wxUSE_LOG" = "yes"; then
41744 cat >>confdefs.h
<<\_ACEOF
41745 #define wxUSE_LOG 1
41749 if test "$wxUSE_LOGGUI" = "yes"; then
41750 cat >>confdefs.h
<<\_ACEOF
41751 #define wxUSE_LOGGUI 1
41756 if test "$wxUSE_LOGWINDOW" = "yes"; then
41757 cat >>confdefs.h
<<\_ACEOF
41758 #define wxUSE_LOGWINDOW 1
41763 if test "$wxUSE_LOGDIALOG" = "yes"; then
41764 cat >>confdefs.h
<<\_ACEOF
41765 #define wxUSE_LOG_DIALOG 1
41770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41773 if test "$wxUSE_LONGLONG" = "yes"; then
41774 cat >>confdefs.h
<<\_ACEOF
41775 #define wxUSE_LONGLONG 1
41780 if test "$wxUSE_GEOMETRY" = "yes"; then
41781 cat >>confdefs.h
<<\_ACEOF
41782 #define wxUSE_GEOMETRY 1
41787 if test "$wxUSE_STREAMS" = "yes" ; then
41788 cat >>confdefs.h
<<\_ACEOF
41789 #define wxUSE_STREAMS 1
41795 if test "$wxUSE_DATETIME" = "yes"; then
41797 for ac_func
in strptime
41799 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41800 echo "$as_me:$LINENO: checking for $ac_func" >&5
41801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41802 if eval "test \"\${$as_ac_var+set}\" = set"; then
41803 echo $ECHO_N "(cached) $ECHO_C" >&6
41805 cat >conftest.
$ac_ext <<_ACEOF
41808 cat confdefs.h
>>conftest.
$ac_ext
41809 cat >>conftest.
$ac_ext <<_ACEOF
41810 /* end confdefs.h. */
41811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41813 #define $ac_func innocuous_$ac_func
41815 /* System header to define __stub macros and hopefully few prototypes,
41816 which can conflict with char $ac_func (); below.
41817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41818 <limits.h> exists even on freestanding compilers. */
41821 # include <limits.h>
41823 # include <assert.h>
41828 /* Override any gcc2 internal prototype to avoid an error. */
41833 /* We use char because int might match the return type of a gcc2
41834 builtin and then its argument prototype would still apply. */
41836 /* The GNU C library defines this for functions which it implements
41837 to always fail with ENOSYS. Some functions are actually named
41838 something starting with __ and the normal name is an alias. */
41839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41842 char (*f) () = $ac_func;
41851 return f != $ac_func;
41856 rm -f conftest.
$ac_objext conftest
$ac_exeext
41857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41858 (eval $ac_link) 2>conftest.er1
41860 grep -v '^ *+' conftest.er1
>conftest.err
41862 cat conftest.err
>&5
41863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41864 (exit $ac_status); } &&
41865 { ac_try
='test -z "$ac_cxx_werror_flag"
41866 || test ! -s conftest.err'
41867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41868 (eval $ac_try) 2>&5
41870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41871 (exit $ac_status); }; } &&
41872 { ac_try
='test -s conftest$ac_exeext'
41873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41874 (eval $ac_try) 2>&5
41876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41877 (exit $ac_status); }; }; then
41878 eval "$as_ac_var=yes"
41880 echo "$as_me: failed program was:" >&5
41881 sed 's/^/| /' conftest.
$ac_ext >&5
41883 eval "$as_ac_var=no"
41885 rm -f conftest.err conftest.
$ac_objext \
41886 conftest
$ac_exeext conftest.
$ac_ext
41888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41890 if test `eval echo '${'$as_ac_var'}'` = yes; then
41891 cat >>confdefs.h
<<_ACEOF
41892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41898 if test "$ac_cv_func_strptime" = "yes"; then
41899 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41900 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41901 if test "${wx_cv_func_strptime_decl+set}" = set; then
41902 echo $ECHO_N "(cached) $ECHO_C" >&6
41905 cat >conftest.
$ac_ext <<_ACEOF
41908 cat confdefs.h
>>conftest.
$ac_ext
41909 cat >>conftest.
$ac_ext <<_ACEOF
41910 /* end confdefs.h. */
41919 strptime("foo", "bar", &t);
41925 rm -f conftest.
$ac_objext
41926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41927 (eval $ac_compile) 2>conftest.er1
41929 grep -v '^ *+' conftest.er1
>conftest.err
41931 cat conftest.err
>&5
41932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41933 (exit $ac_status); } &&
41934 { ac_try
='test -z "$ac_cxx_werror_flag"
41935 || test ! -s conftest.err'
41936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41937 (eval $ac_try) 2>&5
41939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41940 (exit $ac_status); }; } &&
41941 { ac_try
='test -s conftest.$ac_objext'
41942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41943 (eval $ac_try) 2>&5
41945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946 (exit $ac_status); }; }; then
41947 wx_cv_func_strptime_decl
=yes
41949 echo "$as_me: failed program was:" >&5
41950 sed 's/^/| /' conftest.
$ac_ext >&5
41952 wx_cv_func_strptime_decl
=no
41955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41959 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41960 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41962 if test "$wx_cv_func_strptime_decl" = "yes"; then
41963 cat >>confdefs.h
<<\_ACEOF
41964 #define HAVE_STRPTIME_DECL 1
41969 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41970 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41971 if test "${wx_cv_var_timezone+set}" = set; then
41972 echo $ECHO_N "(cached) $ECHO_C" >&6
41975 cat >conftest.
$ac_ext <<_ACEOF
41978 cat confdefs.h
>>conftest.
$ac_ext
41979 cat >>conftest.
$ac_ext <<_ACEOF
41980 /* end confdefs.h. */
41995 rm -f conftest.
$ac_objext
41996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41997 (eval $ac_compile) 2>conftest.er1
41999 grep -v '^ *+' conftest.er1
>conftest.err
42001 cat conftest.err
>&5
42002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42003 (exit $ac_status); } &&
42004 { ac_try
='test -z "$ac_cxx_werror_flag"
42005 || test ! -s conftest.err'
42006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42007 (eval $ac_try) 2>&5
42009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42010 (exit $ac_status); }; } &&
42011 { ac_try
='test -s conftest.$ac_objext'
42012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42013 (eval $ac_try) 2>&5
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); }; }; then
42018 wx_cv_var_timezone
=timezone
42021 echo "$as_me: failed program was:" >&5
42022 sed 's/^/| /' conftest.
$ac_ext >&5
42025 cat >conftest.
$ac_ext <<_ACEOF
42028 cat confdefs.h
>>conftest.
$ac_ext
42029 cat >>conftest.
$ac_ext <<_ACEOF
42030 /* end confdefs.h. */
42045 rm -f conftest.
$ac_objext
42046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42047 (eval $ac_compile) 2>conftest.er1
42049 grep -v '^ *+' conftest.er1
>conftest.err
42051 cat conftest.err
>&5
42052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42053 (exit $ac_status); } &&
42054 { ac_try
='test -z "$ac_cxx_werror_flag"
42055 || test ! -s conftest.err'
42056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42057 (eval $ac_try) 2>&5
42059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42060 (exit $ac_status); }; } &&
42061 { ac_try
='test -s conftest.$ac_objext'
42062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42063 (eval $ac_try) 2>&5
42065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42066 (exit $ac_status); }; }; then
42068 wx_cv_var_timezone
=_timezone
42071 echo "$as_me: failed program was:" >&5
42072 sed 's/^/| /' conftest.
$ac_ext >&5
42075 cat >conftest.
$ac_ext <<_ACEOF
42078 cat confdefs.h
>>conftest.
$ac_ext
42079 cat >>conftest.
$ac_ext <<_ACEOF
42080 /* end confdefs.h. */
42095 rm -f conftest.
$ac_objext
42096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42097 (eval $ac_compile) 2>conftest.er1
42099 grep -v '^ *+' conftest.er1
>conftest.err
42101 cat conftest.err
>&5
42102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42103 (exit $ac_status); } &&
42104 { ac_try
='test -z "$ac_cxx_werror_flag"
42105 || test ! -s conftest.err'
42106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42107 (eval $ac_try) 2>&5
42109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42110 (exit $ac_status); }; } &&
42111 { ac_try
='test -s conftest.$ac_objext'
42112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42113 (eval $ac_try) 2>&5
42115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42116 (exit $ac_status); }; }; then
42118 wx_cv_var_timezone
=__timezone
42121 echo "$as_me: failed program was:" >&5
42122 sed 's/^/| /' conftest.
$ac_ext >&5
42125 if test "$USE_DOS" = 0 ; then
42126 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42127 echo "$as_me: WARNING: no timezone variable" >&2;}
42132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42144 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42145 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42147 if test "x$wx_cv_var_timezone" != x
; then
42148 cat >>confdefs.h
<<_ACEOF
42149 #define WX_TIMEZONE $wx_cv_var_timezone
42155 for ac_func
in localtime
42157 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42158 echo "$as_me:$LINENO: checking for $ac_func" >&5
42159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42160 if eval "test \"\${$as_ac_var+set}\" = set"; then
42161 echo $ECHO_N "(cached) $ECHO_C" >&6
42163 cat >conftest.
$ac_ext <<_ACEOF
42166 cat confdefs.h
>>conftest.
$ac_ext
42167 cat >>conftest.
$ac_ext <<_ACEOF
42168 /* end confdefs.h. */
42169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42171 #define $ac_func innocuous_$ac_func
42173 /* System header to define __stub macros and hopefully few prototypes,
42174 which can conflict with char $ac_func (); below.
42175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42176 <limits.h> exists even on freestanding compilers. */
42179 # include <limits.h>
42181 # include <assert.h>
42186 /* Override any gcc2 internal prototype to avoid an error. */
42191 /* We use char because int might match the return type of a gcc2
42192 builtin and then its argument prototype would still apply. */
42194 /* The GNU C library defines this for functions which it implements
42195 to always fail with ENOSYS. Some functions are actually named
42196 something starting with __ and the normal name is an alias. */
42197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42200 char (*f) () = $ac_func;
42209 return f != $ac_func;
42214 rm -f conftest.
$ac_objext conftest
$ac_exeext
42215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42216 (eval $ac_link) 2>conftest.er1
42218 grep -v '^ *+' conftest.er1
>conftest.err
42220 cat conftest.err
>&5
42221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42222 (exit $ac_status); } &&
42223 { ac_try
='test -z "$ac_cxx_werror_flag"
42224 || test ! -s conftest.err'
42225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42226 (eval $ac_try) 2>&5
42228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42229 (exit $ac_status); }; } &&
42230 { ac_try
='test -s conftest$ac_exeext'
42231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42232 (eval $ac_try) 2>&5
42234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42235 (exit $ac_status); }; }; then
42236 eval "$as_ac_var=yes"
42238 echo "$as_me: failed program was:" >&5
42239 sed 's/^/| /' conftest.
$ac_ext >&5
42241 eval "$as_ac_var=no"
42243 rm -f conftest.err conftest.
$ac_objext \
42244 conftest
$ac_exeext conftest.
$ac_ext
42246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42248 if test `eval echo '${'$as_ac_var'}'` = yes; then
42249 cat >>confdefs.h
<<_ACEOF
42250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42257 if test "$ac_cv_func_localtime" = "yes"; then
42258 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42259 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42260 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42261 echo $ECHO_N "(cached) $ECHO_C" >&6
42264 cat >conftest.
$ac_ext <<_ACEOF
42267 cat confdefs.h
>>conftest.
$ac_ext
42268 cat >>conftest.
$ac_ext <<_ACEOF
42269 /* end confdefs.h. */
42284 rm -f conftest.
$ac_objext
42285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42286 (eval $ac_compile) 2>conftest.er1
42288 grep -v '^ *+' conftest.er1
>conftest.err
42290 cat conftest.err
>&5
42291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42292 (exit $ac_status); } &&
42293 { ac_try
='test -z "$ac_cxx_werror_flag"
42294 || test ! -s conftest.err'
42295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42296 (eval $ac_try) 2>&5
42298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42299 (exit $ac_status); }; } &&
42300 { ac_try
='test -s conftest.$ac_objext'
42301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42302 (eval $ac_try) 2>&5
42304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42305 (exit $ac_status); }; }; then
42307 wx_cv_struct_tm_has_gmtoff
=yes
42310 echo "$as_me: failed program was:" >&5
42311 sed 's/^/| /' conftest.
$ac_ext >&5
42313 wx_cv_struct_tm_has_gmtoff
=no
42316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42319 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42320 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42323 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42324 cat >>confdefs.h
<<\_ACEOF
42325 #define WX_GMTOFF_IN_TM 1
42332 for ac_func
in gettimeofday ftime
42334 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42335 echo "$as_me:$LINENO: checking for $ac_func" >&5
42336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42337 if eval "test \"\${$as_ac_var+set}\" = set"; then
42338 echo $ECHO_N "(cached) $ECHO_C" >&6
42340 cat >conftest.
$ac_ext <<_ACEOF
42343 cat confdefs.h
>>conftest.
$ac_ext
42344 cat >>conftest.
$ac_ext <<_ACEOF
42345 /* end confdefs.h. */
42346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42348 #define $ac_func innocuous_$ac_func
42350 /* System header to define __stub macros and hopefully few prototypes,
42351 which can conflict with char $ac_func (); below.
42352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42353 <limits.h> exists even on freestanding compilers. */
42356 # include <limits.h>
42358 # include <assert.h>
42363 /* Override any gcc2 internal prototype to avoid an error. */
42368 /* We use char because int might match the return type of a gcc2
42369 builtin and then its argument prototype would still apply. */
42371 /* The GNU C library defines this for functions which it implements
42372 to always fail with ENOSYS. Some functions are actually named
42373 something starting with __ and the normal name is an alias. */
42374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42377 char (*f) () = $ac_func;
42386 return f != $ac_func;
42391 rm -f conftest.
$ac_objext conftest
$ac_exeext
42392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42393 (eval $ac_link) 2>conftest.er1
42395 grep -v '^ *+' conftest.er1
>conftest.err
42397 cat conftest.err
>&5
42398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42399 (exit $ac_status); } &&
42400 { ac_try
='test -z "$ac_cxx_werror_flag"
42401 || test ! -s conftest.err'
42402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42403 (eval $ac_try) 2>&5
42405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42406 (exit $ac_status); }; } &&
42407 { ac_try
='test -s conftest$ac_exeext'
42408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42409 (eval $ac_try) 2>&5
42411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42412 (exit $ac_status); }; }; then
42413 eval "$as_ac_var=yes"
42415 echo "$as_me: failed program was:" >&5
42416 sed 's/^/| /' conftest.
$ac_ext >&5
42418 eval "$as_ac_var=no"
42420 rm -f conftest.err conftest.
$ac_objext \
42421 conftest
$ac_exeext conftest.
$ac_ext
42423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42425 if test `eval echo '${'$as_ac_var'}'` = yes; then
42426 cat >>confdefs.h
<<_ACEOF
42427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42434 if test "$ac_cv_func_gettimeofday" = "yes"; then
42435 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42436 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42437 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42438 echo $ECHO_N "(cached) $ECHO_C" >&6
42441 cat >conftest.
$ac_ext <<_ACEOF
42444 cat confdefs.h
>>conftest.
$ac_ext
42445 cat >>conftest.
$ac_ext <<_ACEOF
42446 /* end confdefs.h. */
42448 #include <sys/time.h>
42449 #include <unistd.h>
42456 gettimeofday(&tv, NULL);
42462 rm -f conftest.
$ac_objext
42463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42464 (eval $ac_compile) 2>conftest.er1
42466 grep -v '^ *+' conftest.er1
>conftest.err
42468 cat conftest.err
>&5
42469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42470 (exit $ac_status); } &&
42471 { ac_try
='test -z "$ac_cxx_werror_flag"
42472 || test ! -s conftest.err'
42473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42474 (eval $ac_try) 2>&5
42476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42477 (exit $ac_status); }; } &&
42478 { ac_try
='test -s conftest.$ac_objext'
42479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42480 (eval $ac_try) 2>&5
42482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42483 (exit $ac_status); }; }; then
42484 wx_cv_func_gettimeofday_has_2_args
=yes
42486 echo "$as_me: failed program was:" >&5
42487 sed 's/^/| /' conftest.
$ac_ext >&5
42489 cat >conftest.
$ac_ext <<_ACEOF
42492 cat confdefs.h
>>conftest.
$ac_ext
42493 cat >>conftest.
$ac_ext <<_ACEOF
42494 /* end confdefs.h. */
42496 #include <sys/time.h>
42497 #include <unistd.h>
42510 rm -f conftest.
$ac_objext
42511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42512 (eval $ac_compile) 2>conftest.er1
42514 grep -v '^ *+' conftest.er1
>conftest.err
42516 cat conftest.err
>&5
42517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42518 (exit $ac_status); } &&
42519 { ac_try
='test -z "$ac_cxx_werror_flag"
42520 || test ! -s conftest.err'
42521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42522 (eval $ac_try) 2>&5
42524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42525 (exit $ac_status); }; } &&
42526 { ac_try
='test -s conftest.$ac_objext'
42527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42528 (eval $ac_try) 2>&5
42530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42531 (exit $ac_status); }; }; then
42532 wx_cv_func_gettimeofday_has_2_args
=no
42534 echo "$as_me: failed program was:" >&5
42535 sed 's/^/| /' conftest.
$ac_ext >&5
42538 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42539 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42540 wx_cv_func_gettimeofday_has_2_args
=unknown
42544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42550 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42551 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42553 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42554 cat >>confdefs.h
<<\_ACEOF
42555 #define WX_GETTIMEOFDAY_NO_TZ 1
42561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42565 if test "$wxUSE_SOCKETS" = "yes"; then
42566 if test "$wxUSE_MGL" = "1"; then
42567 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42568 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42573 if test "$wxUSE_SOCKETS" = "yes"; then
42574 if test "$TOOLKIT" != "MSW"; then
42575 echo "$as_me:$LINENO: checking for socket" >&5
42576 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42577 if test "${ac_cv_func_socket+set}" = set; then
42578 echo $ECHO_N "(cached) $ECHO_C" >&6
42580 cat >conftest.
$ac_ext <<_ACEOF
42583 cat confdefs.h
>>conftest.
$ac_ext
42584 cat >>conftest.
$ac_ext <<_ACEOF
42585 /* end confdefs.h. */
42586 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42588 #define socket innocuous_socket
42590 /* System header to define __stub macros and hopefully few prototypes,
42591 which can conflict with char socket (); below.
42592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42593 <limits.h> exists even on freestanding compilers. */
42596 # include <limits.h>
42598 # include <assert.h>
42603 /* Override any gcc2 internal prototype to avoid an error. */
42608 /* We use char because int might match the return type of a gcc2
42609 builtin and then its argument prototype would still apply. */
42611 /* The GNU C library defines this for functions which it implements
42612 to always fail with ENOSYS. Some functions are actually named
42613 something starting with __ and the normal name is an alias. */
42614 #if defined (__stub_socket) || defined (__stub___socket)
42617 char (*f) () = socket;
42626 return f != socket;
42631 rm -f conftest.
$ac_objext conftest
$ac_exeext
42632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42633 (eval $ac_link) 2>conftest.er1
42635 grep -v '^ *+' conftest.er1
>conftest.err
42637 cat conftest.err
>&5
42638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42639 (exit $ac_status); } &&
42640 { ac_try
='test -z "$ac_cxx_werror_flag"
42641 || test ! -s conftest.err'
42642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42643 (eval $ac_try) 2>&5
42645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42646 (exit $ac_status); }; } &&
42647 { ac_try
='test -s conftest$ac_exeext'
42648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42649 (eval $ac_try) 2>&5
42651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42652 (exit $ac_status); }; }; then
42653 ac_cv_func_socket
=yes
42655 echo "$as_me: failed program was:" >&5
42656 sed 's/^/| /' conftest.
$ac_ext >&5
42658 ac_cv_func_socket
=no
42660 rm -f conftest.err conftest.
$ac_objext \
42661 conftest
$ac_exeext conftest.
$ac_ext
42663 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42664 echo "${ECHO_T}$ac_cv_func_socket" >&6
42665 if test $ac_cv_func_socket = yes; then
42669 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42670 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42671 if test "${ac_cv_lib_socket_socket+set}" = set; then
42672 echo $ECHO_N "(cached) $ECHO_C" >&6
42674 ac_check_lib_save_LIBS
=$LIBS
42675 LIBS
="-lsocket $LIBS"
42676 cat >conftest.
$ac_ext <<_ACEOF
42679 cat confdefs.h
>>conftest.
$ac_ext
42680 cat >>conftest.
$ac_ext <<_ACEOF
42681 /* end confdefs.h. */
42683 /* Override any gcc2 internal prototype to avoid an error. */
42687 /* We use char because int might match the return type of a gcc2
42688 builtin and then its argument prototype would still apply. */
42698 rm -f conftest.
$ac_objext conftest
$ac_exeext
42699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42700 (eval $ac_link) 2>conftest.er1
42702 grep -v '^ *+' conftest.er1
>conftest.err
42704 cat conftest.err
>&5
42705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42706 (exit $ac_status); } &&
42707 { ac_try
='test -z "$ac_cxx_werror_flag"
42708 || test ! -s conftest.err'
42709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42710 (eval $ac_try) 2>&5
42712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42713 (exit $ac_status); }; } &&
42714 { ac_try
='test -s conftest$ac_exeext'
42715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42716 (eval $ac_try) 2>&5
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); }; }; then
42720 ac_cv_lib_socket_socket
=yes
42722 echo "$as_me: failed program was:" >&5
42723 sed 's/^/| /' conftest.
$ac_ext >&5
42725 ac_cv_lib_socket_socket
=no
42727 rm -f conftest.err conftest.
$ac_objext \
42728 conftest
$ac_exeext conftest.
$ac_ext
42729 LIBS
=$ac_check_lib_save_LIBS
42731 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42732 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42733 if test $ac_cv_lib_socket_socket = yes; then
42734 if test "$INET_LINK" != " -lsocket"; then
42735 INET_LINK
="$INET_LINK -lsocket"
42739 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42740 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42753 if test "$wxUSE_SOCKETS" = "yes" ; then
42754 if test "$TOOLKIT" != "MSW"; then
42755 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42756 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42757 if test "${wx_cv_type_getsockname3+set}" = set; then
42758 echo $ECHO_N "(cached) $ECHO_C" >&6
42761 cat >conftest.
$ac_ext <<_ACEOF
42764 cat confdefs.h
>>conftest.
$ac_ext
42765 cat >>conftest.
$ac_ext <<_ACEOF
42766 /* end confdefs.h. */
42768 #include <sys/types.h>
42769 #include <sys/socket.h>
42776 getsockname(0, 0, &len);
42782 rm -f conftest.
$ac_objext
42783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42784 (eval $ac_compile) 2>conftest.er1
42786 grep -v '^ *+' conftest.er1
>conftest.err
42788 cat conftest.err
>&5
42789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790 (exit $ac_status); } &&
42791 { ac_try
='test -z "$ac_cxx_werror_flag"
42792 || test ! -s conftest.err'
42793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42794 (eval $ac_try) 2>&5
42796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42797 (exit $ac_status); }; } &&
42798 { ac_try
='test -s conftest.$ac_objext'
42799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42800 (eval $ac_try) 2>&5
42802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42803 (exit $ac_status); }; }; then
42804 wx_cv_type_getsockname3
=socklen_t
42806 echo "$as_me: failed program was:" >&5
42807 sed 's/^/| /' conftest.
$ac_ext >&5
42810 CXXFLAGS_OLD
="$CXXFLAGS"
42811 if test "$GCC" = yes ; then
42812 CXXFLAGS
="-Werror $CXXFLAGS"
42815 cat >conftest.
$ac_ext <<_ACEOF
42818 cat confdefs.h
>>conftest.
$ac_ext
42819 cat >>conftest.
$ac_ext <<_ACEOF
42820 /* end confdefs.h. */
42822 #include <sys/types.h>
42823 #include <sys/socket.h>
42830 getsockname(0, 0, &len);
42836 rm -f conftest.
$ac_objext
42837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42838 (eval $ac_compile) 2>conftest.er1
42840 grep -v '^ *+' conftest.er1
>conftest.err
42842 cat conftest.err
>&5
42843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42844 (exit $ac_status); } &&
42845 { ac_try
='test -z "$ac_cxx_werror_flag"
42846 || test ! -s conftest.err'
42847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42848 (eval $ac_try) 2>&5
42850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42851 (exit $ac_status); }; } &&
42852 { ac_try
='test -s conftest.$ac_objext'
42853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42854 (eval $ac_try) 2>&5
42856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42857 (exit $ac_status); }; }; then
42858 wx_cv_type_getsockname3
=size_t
42860 echo "$as_me: failed program was:" >&5
42861 sed 's/^/| /' conftest.
$ac_ext >&5
42863 cat >conftest.
$ac_ext <<_ACEOF
42866 cat confdefs.h
>>conftest.
$ac_ext
42867 cat >>conftest.
$ac_ext <<_ACEOF
42868 /* end confdefs.h. */
42870 #include <sys/types.h>
42871 #include <sys/socket.h>
42878 getsockname(0, 0, &len);
42884 rm -f conftest.
$ac_objext
42885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42886 (eval $ac_compile) 2>conftest.er1
42888 grep -v '^ *+' conftest.er1
>conftest.err
42890 cat conftest.err
>&5
42891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42892 (exit $ac_status); } &&
42893 { ac_try
='test -z "$ac_cxx_werror_flag"
42894 || test ! -s conftest.err'
42895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42896 (eval $ac_try) 2>&5
42898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42899 (exit $ac_status); }; } &&
42900 { ac_try
='test -s conftest.$ac_objext'
42901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42902 (eval $ac_try) 2>&5
42904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42905 (exit $ac_status); }; }; then
42906 wx_cv_type_getsockname3
=int
42908 echo "$as_me: failed program was:" >&5
42909 sed 's/^/| /' conftest.
$ac_ext >&5
42911 wx_cv_type_getsockname3
=unknown
42914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42919 CXXFLAGS
="$CXXFLAGS_OLD"
42923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42926 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42927 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42929 if test "$wx_cv_type_getsockname3" = "unknown"; then
42931 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42932 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42934 cat >>confdefs.h
<<_ACEOF
42935 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42939 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42940 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42941 if test "${wx_cv_type_getsockopt5+set}" = set; then
42942 echo $ECHO_N "(cached) $ECHO_C" >&6
42945 cat >conftest.
$ac_ext <<_ACEOF
42948 cat confdefs.h
>>conftest.
$ac_ext
42949 cat >>conftest.
$ac_ext <<_ACEOF
42950 /* end confdefs.h. */
42952 #include <sys/types.h>
42953 #include <sys/socket.h>
42960 getsockopt(0, 0, 0, 0, &len);
42966 rm -f conftest.
$ac_objext
42967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42968 (eval $ac_compile) 2>conftest.er1
42970 grep -v '^ *+' conftest.er1
>conftest.err
42972 cat conftest.err
>&5
42973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42974 (exit $ac_status); } &&
42975 { ac_try
='test -z "$ac_cxx_werror_flag"
42976 || test ! -s conftest.err'
42977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42978 (eval $ac_try) 2>&5
42980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42981 (exit $ac_status); }; } &&
42982 { ac_try
='test -s conftest.$ac_objext'
42983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42984 (eval $ac_try) 2>&5
42986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42987 (exit $ac_status); }; }; then
42988 wx_cv_type_getsockopt5
=socklen_t
42990 echo "$as_me: failed program was:" >&5
42991 sed 's/^/| /' conftest.
$ac_ext >&5
42994 CXXFLAGS_OLD
="$CXXFLAGS"
42995 if test "$GCC" = yes ; then
42996 CXXFLAGS
="-Werror $CXXFLAGS"
42999 cat >conftest.
$ac_ext <<_ACEOF
43002 cat confdefs.h
>>conftest.
$ac_ext
43003 cat >>conftest.
$ac_ext <<_ACEOF
43004 /* end confdefs.h. */
43006 #include <sys/types.h>
43007 #include <sys/socket.h>
43014 getsockopt(0, 0, 0, 0, &len);
43020 rm -f conftest.
$ac_objext
43021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43022 (eval $ac_compile) 2>conftest.er1
43024 grep -v '^ *+' conftest.er1
>conftest.err
43026 cat conftest.err
>&5
43027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43028 (exit $ac_status); } &&
43029 { ac_try
='test -z "$ac_cxx_werror_flag"
43030 || test ! -s conftest.err'
43031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43032 (eval $ac_try) 2>&5
43034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43035 (exit $ac_status); }; } &&
43036 { ac_try
='test -s conftest.$ac_objext'
43037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43038 (eval $ac_try) 2>&5
43040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43041 (exit $ac_status); }; }; then
43042 wx_cv_type_getsockopt5
=size_t
43044 echo "$as_me: failed program was:" >&5
43045 sed 's/^/| /' conftest.
$ac_ext >&5
43047 cat >conftest.
$ac_ext <<_ACEOF
43050 cat confdefs.h
>>conftest.
$ac_ext
43051 cat >>conftest.
$ac_ext <<_ACEOF
43052 /* end confdefs.h. */
43054 #include <sys/types.h>
43055 #include <sys/socket.h>
43062 getsockopt(0, 0, 0, 0, &len);
43068 rm -f conftest.
$ac_objext
43069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43070 (eval $ac_compile) 2>conftest.er1
43072 grep -v '^ *+' conftest.er1
>conftest.err
43074 cat conftest.err
>&5
43075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43076 (exit $ac_status); } &&
43077 { ac_try
='test -z "$ac_cxx_werror_flag"
43078 || test ! -s conftest.err'
43079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43080 (eval $ac_try) 2>&5
43082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43083 (exit $ac_status); }; } &&
43084 { ac_try
='test -s conftest.$ac_objext'
43085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43086 (eval $ac_try) 2>&5
43088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43089 (exit $ac_status); }; }; then
43090 wx_cv_type_getsockopt5
=int
43092 echo "$as_me: failed program was:" >&5
43093 sed 's/^/| /' conftest.
$ac_ext >&5
43095 wx_cv_type_getsockopt5
=unknown
43098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43103 CXXFLAGS
="$CXXFLAGS_OLD"
43107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43110 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43111 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43113 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43115 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43116 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43118 cat >>confdefs.h
<<_ACEOF
43119 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43126 if test "$wxUSE_SOCKETS" = "yes" ; then
43127 cat >>confdefs.h
<<\_ACEOF
43128 #define wxUSE_SOCKETS 1
43131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43134 if test "$wxUSE_PROTOCOL" = "yes"; then
43135 if test "$wxUSE_SOCKETS" != "yes"; then
43136 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43137 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43142 if test "$wxUSE_PROTOCOL" = "yes"; then
43143 cat >>confdefs.h
<<\_ACEOF
43144 #define wxUSE_PROTOCOL 1
43148 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43149 cat >>confdefs.h
<<\_ACEOF
43150 #define wxUSE_PROTOCOL_HTTP 1
43154 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43155 cat >>confdefs.h
<<\_ACEOF
43156 #define wxUSE_PROTOCOL_FTP 1
43160 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43161 cat >>confdefs.h
<<\_ACEOF
43162 #define wxUSE_PROTOCOL_FILE 1
43167 if test "$wxUSE_FS_INET" = "yes"; then
43168 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43169 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43174 if test "$wxUSE_URL" = "yes"; then
43175 if test "$wxUSE_PROTOCOL" != "yes"; then
43176 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43177 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43180 if test "$wxUSE_URL" = "yes"; then
43181 cat >>confdefs.h
<<\_ACEOF
43182 #define wxUSE_URL 1
43188 if test "$wxUSE_FS_INET" = "yes"; then
43189 cat >>confdefs.h
<<\_ACEOF
43190 #define wxUSE_FS_INET 1
43196 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43199 if test "$TOOLKIT" = "MSW"; then
43202 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43203 if test "$USE_DARWIN" = 1; then
43204 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43205 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43206 cat >conftest.
$ac_ext <<_ACEOF
43209 cat confdefs.h
>>conftest.
$ac_ext
43210 cat >>conftest.
$ac_ext <<_ACEOF
43211 /* end confdefs.h. */
43212 #include <IOKit/hid/IOHIDLib.h>
43216 IOHIDQueueInterface *qi = NULL;
43217 IOHIDCallbackFunction cb = NULL;
43218 qi->setEventCallout(NULL, cb, NULL, NULL);
43223 rm -f conftest.
$ac_objext
43224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43225 (eval $ac_compile) 2>conftest.er1
43227 grep -v '^ *+' conftest.er1
>conftest.err
43229 cat conftest.err
>&5
43230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43231 (exit $ac_status); } &&
43232 { ac_try
='test -z "$ac_cxx_werror_flag"
43233 || test ! -s conftest.err'
43234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43235 (eval $ac_try) 2>&5
43237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43238 (exit $ac_status); }; } &&
43239 { ac_try
='test -s conftest.$ac_objext'
43240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43241 (eval $ac_try) 2>&5
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); }; }; then
43248 echo "$as_me: failed program was:" >&5
43249 sed 's/^/| /' conftest.
$ac_ext >&5
43252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43253 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43254 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43259 for ac_header
in linux
/joystick.h
43261 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43263 echo "$as_me:$LINENO: checking for $ac_header" >&5
43264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43266 echo $ECHO_N "(cached) $ECHO_C" >&6
43268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43271 # Is the header compilable?
43272 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43273 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43274 cat >conftest.
$ac_ext <<_ACEOF
43277 cat confdefs.h
>>conftest.
$ac_ext
43278 cat >>conftest.
$ac_ext <<_ACEOF
43279 /* end confdefs.h. */
43280 $ac_includes_default
43281 #include <$ac_header>
43283 rm -f conftest.
$ac_objext
43284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43285 (eval $ac_compile) 2>conftest.er1
43287 grep -v '^ *+' conftest.er1
>conftest.err
43289 cat conftest.err
>&5
43290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43291 (exit $ac_status); } &&
43292 { ac_try
='test -z "$ac_cxx_werror_flag"
43293 || test ! -s conftest.err'
43294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43295 (eval $ac_try) 2>&5
43297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43298 (exit $ac_status); }; } &&
43299 { ac_try
='test -s conftest.$ac_objext'
43300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43301 (eval $ac_try) 2>&5
43303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43304 (exit $ac_status); }; }; then
43305 ac_header_compiler
=yes
43307 echo "$as_me: failed program was:" >&5
43308 sed 's/^/| /' conftest.
$ac_ext >&5
43310 ac_header_compiler
=no
43312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43314 echo "${ECHO_T}$ac_header_compiler" >&6
43316 # Is the header present?
43317 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43318 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43319 cat >conftest.
$ac_ext <<_ACEOF
43322 cat confdefs.h
>>conftest.
$ac_ext
43323 cat >>conftest.
$ac_ext <<_ACEOF
43324 /* end confdefs.h. */
43325 #include <$ac_header>
43327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43328 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43330 grep -v '^ *+' conftest.er1
>conftest.err
43332 cat conftest.err
>&5
43333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43334 (exit $ac_status); } >/dev
/null
; then
43335 if test -s conftest.err
; then
43336 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43337 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43344 if test -z "$ac_cpp_err"; then
43345 ac_header_preproc
=yes
43347 echo "$as_me: failed program was:" >&5
43348 sed 's/^/| /' conftest.
$ac_ext >&5
43350 ac_header_preproc
=no
43352 rm -f conftest.err conftest.
$ac_ext
43353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43354 echo "${ECHO_T}$ac_header_preproc" >&6
43356 # So? What about this header?
43357 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43359 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43360 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43361 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43362 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43363 ac_header_preproc
=yes
43366 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43367 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43368 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43369 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43370 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43371 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43372 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43373 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43375 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43376 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43377 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43380 ## ----------------------------------------- ##
43381 ## Report this to wx-dev@lists.wxwidgets.org ##
43382 ## ----------------------------------------- ##
43385 sed "s/^/$as_me: WARNING: /" >&2
43388 echo "$as_me:$LINENO: checking for $ac_header" >&5
43389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43391 echo $ECHO_N "(cached) $ECHO_C" >&6
43393 eval "$as_ac_Header=\$ac_header_preproc"
43395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43399 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43400 cat >>confdefs.h
<<_ACEOF
43401 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43410 if test "$wxUSE_JOYSTICK" = "yes"; then
43411 cat >>confdefs.h
<<\_ACEOF
43412 #define wxUSE_JOYSTICK 1
43415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43417 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43418 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43424 if test "$wxUSE_FONTMAP" = "yes" ; then
43425 cat >>confdefs.h
<<\_ACEOF
43426 #define wxUSE_FONTMAP 1
43431 if test "$wxUSE_UNICODE" = "yes" ; then
43432 cat >>confdefs.h
<<\_ACEOF
43433 #define wxUSE_UNICODE 1
43437 if test "$USE_WIN32" != 1; then
43438 wxUSE_UNICODE_MSLU
=no
43441 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43442 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43443 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43444 if test "${ac_cv_lib_unicows_main+set}" = set; then
43445 echo $ECHO_N "(cached) $ECHO_C" >&6
43447 ac_check_lib_save_LIBS
=$LIBS
43448 LIBS
="-lunicows $LIBS"
43449 cat >conftest.
$ac_ext <<_ACEOF
43452 cat confdefs.h
>>conftest.
$ac_ext
43453 cat >>conftest.
$ac_ext <<_ACEOF
43454 /* end confdefs.h. */
43465 rm -f conftest.
$ac_objext conftest
$ac_exeext
43466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43467 (eval $ac_link) 2>conftest.er1
43469 grep -v '^ *+' conftest.er1
>conftest.err
43471 cat conftest.err
>&5
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); } &&
43474 { ac_try
='test -z "$ac_cxx_werror_flag"
43475 || test ! -s conftest.err'
43476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43477 (eval $ac_try) 2>&5
43479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43480 (exit $ac_status); }; } &&
43481 { ac_try
='test -s conftest$ac_exeext'
43482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43483 (eval $ac_try) 2>&5
43485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43486 (exit $ac_status); }; }; then
43487 ac_cv_lib_unicows_main
=yes
43489 echo "$as_me: failed program was:" >&5
43490 sed 's/^/| /' conftest.
$ac_ext >&5
43492 ac_cv_lib_unicows_main
=no
43494 rm -f conftest.err conftest.
$ac_objext \
43495 conftest
$ac_exeext conftest.
$ac_ext
43496 LIBS
=$ac_check_lib_save_LIBS
43498 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43499 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43500 if test $ac_cv_lib_unicows_main = yes; then
43502 cat >>confdefs.h
<<\_ACEOF
43503 #define wxUSE_UNICODE_MSLU 1
43509 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43510 Applications will only run on Windows NT/2000/XP!" >&5
43511 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43512 Applications will only run on Windows NT/2000/XP!" >&2;}
43513 wxUSE_UNICODE_MSLU
=no
43520 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43521 cat >>confdefs.h
<<\_ACEOF
43522 #define wxUSE_EXPERIMENTAL_PRINTF 1
43528 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43529 cat >>confdefs.h
<<\_ACEOF
43530 #define wxUSE_POSTSCRIPT 1
43535 cat >>confdefs.h
<<\_ACEOF
43536 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43540 cat >>confdefs.h
<<\_ACEOF
43541 #define wxUSE_NORMALIZED_PS_FONTS 1
43546 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43547 cat >>confdefs.h
<<\_ACEOF
43548 #define wxUSE_CONSTRAINTS 1
43551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43554 if test "$wxUSE_MDI" = "yes"; then
43555 cat >>confdefs.h
<<\_ACEOF
43556 #define wxUSE_MDI 1
43560 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43561 cat >>confdefs.h
<<\_ACEOF
43562 #define wxUSE_MDI_ARCHITECTURE 1
43565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43569 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43570 cat >>confdefs.h
<<\_ACEOF
43571 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43574 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43575 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43580 if test "$wxUSE_HELP" = "yes"; then
43581 cat >>confdefs.h
<<\_ACEOF
43582 #define wxUSE_HELP 1
43585 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43587 if test "$wxUSE_MSW" = 1; then
43588 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43589 cat >>confdefs.h
<<\_ACEOF
43590 #define wxUSE_MS_HTML_HELP 1
43596 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43597 if test "$wxUSE_HTML" = "yes"; then
43598 cat >>confdefs.h
<<\_ACEOF
43599 #define wxUSE_WXHTML_HELP 1
43603 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43604 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43605 wxUSE_WXHTML_HELP
=no
43610 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43611 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43612 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43613 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43615 cat >>confdefs.h
<<\_ACEOF
43616 #define wxUSE_PRINTING_ARCHITECTURE 1
43620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43623 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43624 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43625 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43626 { (exit 1); exit 1; }; }
43630 if test "$wxUSE_METAFILE" = "yes"; then
43631 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43632 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43633 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43639 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43640 -o "$wxUSE_CLIPBOARD" = "yes" \
43641 -o "$wxUSE_OLE" = "yes" \
43642 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43644 for ac_header
in ole2.h
43646 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43648 echo "$as_me:$LINENO: checking for $ac_header" >&5
43649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43651 echo $ECHO_N "(cached) $ECHO_C" >&6
43653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43656 # Is the header compilable?
43657 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43658 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43659 cat >conftest.
$ac_ext <<_ACEOF
43662 cat confdefs.h
>>conftest.
$ac_ext
43663 cat >>conftest.
$ac_ext <<_ACEOF
43664 /* end confdefs.h. */
43665 $ac_includes_default
43666 #include <$ac_header>
43668 rm -f conftest.
$ac_objext
43669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43670 (eval $ac_compile) 2>conftest.er1
43672 grep -v '^ *+' conftest.er1
>conftest.err
43674 cat conftest.err
>&5
43675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43676 (exit $ac_status); } &&
43677 { ac_try
='test -z "$ac_cxx_werror_flag"
43678 || test ! -s conftest.err'
43679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43680 (eval $ac_try) 2>&5
43682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43683 (exit $ac_status); }; } &&
43684 { ac_try
='test -s conftest.$ac_objext'
43685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43686 (eval $ac_try) 2>&5
43688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43689 (exit $ac_status); }; }; then
43690 ac_header_compiler
=yes
43692 echo "$as_me: failed program was:" >&5
43693 sed 's/^/| /' conftest.
$ac_ext >&5
43695 ac_header_compiler
=no
43697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43699 echo "${ECHO_T}$ac_header_compiler" >&6
43701 # Is the header present?
43702 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43704 cat >conftest.
$ac_ext <<_ACEOF
43707 cat confdefs.h
>>conftest.
$ac_ext
43708 cat >>conftest.
$ac_ext <<_ACEOF
43709 /* end confdefs.h. */
43710 #include <$ac_header>
43712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43713 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43715 grep -v '^ *+' conftest.er1
>conftest.err
43717 cat conftest.err
>&5
43718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43719 (exit $ac_status); } >/dev
/null
; then
43720 if test -s conftest.err
; then
43721 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43722 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43729 if test -z "$ac_cpp_err"; then
43730 ac_header_preproc
=yes
43732 echo "$as_me: failed program was:" >&5
43733 sed 's/^/| /' conftest.
$ac_ext >&5
43735 ac_header_preproc
=no
43737 rm -f conftest.err conftest.
$ac_ext
43738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43739 echo "${ECHO_T}$ac_header_preproc" >&6
43741 # So? What about this header?
43742 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43744 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43745 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43747 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43748 ac_header_preproc
=yes
43751 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43752 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43753 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43754 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43755 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43756 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43757 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43758 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43761 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43762 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43765 ## ----------------------------------------- ##
43766 ## Report this to wx-dev@lists.wxwidgets.org ##
43767 ## ----------------------------------------- ##
43770 sed "s/^/$as_me: WARNING: /" >&2
43773 echo "$as_me:$LINENO: checking for $ac_header" >&5
43774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43776 echo $ECHO_N "(cached) $ECHO_C" >&6
43778 eval "$as_ac_Header=\$ac_header_preproc"
43780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43785 cat >>confdefs.h
<<_ACEOF
43786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43794 if test "$ac_cv_header_ole2_h" = "yes" ; then
43795 if test "$GCC" = yes ; then
43796 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43797 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43798 cat >conftest.
$ac_ext <<_ACEOF
43801 cat confdefs.h
>>conftest.
$ac_ext
43802 cat >>conftest.
$ac_ext <<_ACEOF
43803 /* end confdefs.h. */
43804 #include <windows.h>
43814 rm -f conftest.
$ac_objext
43815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43816 (eval $ac_compile) 2>conftest.er1
43818 grep -v '^ *+' conftest.er1
>conftest.err
43820 cat conftest.err
>&5
43821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43822 (exit $ac_status); } &&
43823 { ac_try
='test -z "$ac_cxx_werror_flag"
43824 || test ! -s conftest.err'
43825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43826 (eval $ac_try) 2>&5
43828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43829 (exit $ac_status); }; } &&
43830 { ac_try
='test -s conftest.$ac_objext'
43831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43832 (eval $ac_try) 2>&5
43834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43835 (exit $ac_status); }; }; then
43836 echo "$as_me:$LINENO: result: no" >&5
43837 echo "${ECHO_T}no" >&6
43839 echo "$as_me: failed program was:" >&5
43840 sed 's/^/| /' conftest.
$ac_ext >&5
43842 echo "$as_me:$LINENO: result: yes" >&5
43843 echo "${ECHO_T}yes" >&6
43844 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43847 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43848 if test "$wxUSE_OLE" = "yes" ; then
43849 cat >>confdefs.h
<<\_ACEOF
43850 #define wxUSE_OLE 1
43853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43857 if test "$wxUSE_DATAOBJ" = "yes" ; then
43858 cat >>confdefs.h
<<\_ACEOF
43859 #define wxUSE_DATAOBJ 1
43864 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43865 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43868 wxUSE_DRAG_AND_DROP
=no
43873 if test "$wxUSE_METAFILE" = "yes"; then
43874 cat >>confdefs.h
<<\_ACEOF
43875 #define wxUSE_METAFILE 1
43879 cat >>confdefs.h
<<\_ACEOF
43880 #define wxUSE_ENH_METAFILE 1
43886 if test "$wxUSE_IPC" = "yes"; then
43887 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43888 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43889 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43893 if test "$wxUSE_IPC" = "yes"; then
43894 cat >>confdefs.h
<<\_ACEOF
43895 #define wxUSE_IPC 1
43898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43902 if test "$wxUSE_DATAOBJ" = "yes"; then
43903 if test "$wxUSE_MGL" = 1; then
43904 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43905 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43908 cat >>confdefs.h
<<\_ACEOF
43909 #define wxUSE_DATAOBJ 1
43914 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43915 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43917 wxUSE_DRAG_AND_DROP
=no
43920 if test "$wxUSE_CLIPBOARD" = "yes"; then
43921 if test "$wxUSE_MGL" = 1; then
43922 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43923 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43927 if test "$wxUSE_CLIPBOARD" = "yes"; then
43928 cat >>confdefs.h
<<\_ACEOF
43929 #define wxUSE_CLIPBOARD 1
43935 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43936 if test "$wxUSE_GTK" = 1; then
43937 if test "$WXGTK12" != 1; then
43938 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43939 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43940 wxUSE_DRAG_AND_DROP
=no
43944 if test "$wxUSE_MOTIF" = 1; then
43945 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43946 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43947 wxUSE_DRAG_AND_DROP
=no
43950 if test "$wxUSE_X11" = 1; then
43951 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43952 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43953 wxUSE_DRAG_AND_DROP
=no
43956 if test "$wxUSE_MGL" = 1; then
43957 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43958 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43959 wxUSE_DRAG_AND_DROP
=no
43962 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43963 cat >>confdefs.h
<<\_ACEOF
43964 #define wxUSE_DRAG_AND_DROP 1
43971 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43972 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43975 if test "$wxUSE_SPLINES" = "yes" ; then
43976 cat >>confdefs.h
<<\_ACEOF
43977 #define wxUSE_SPLINES 1
43982 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43983 cat >>confdefs.h
<<\_ACEOF
43984 #define wxUSE_MOUSEWHEEL 1
43991 if test "$wxUSE_CONTROLS" = "yes"; then
43995 if test "$wxUSE_ACCEL" = "yes"; then
43996 cat >>confdefs.h
<<\_ACEOF
43997 #define wxUSE_ACCEL 1
44003 if test "$wxUSE_BUTTON" = "yes"; then
44004 cat >>confdefs.h
<<\_ACEOF
44005 #define wxUSE_BUTTON 1
44011 if test "$wxUSE_BMPBUTTON" = "yes"; then
44012 cat >>confdefs.h
<<\_ACEOF
44013 #define wxUSE_BMPBUTTON 1
44019 if test "$wxUSE_CALCTRL" = "yes"; then
44020 cat >>confdefs.h
<<\_ACEOF
44021 #define wxUSE_CALENDARCTRL 1
44025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44028 if test "$wxUSE_CARET" = "yes"; then
44029 cat >>confdefs.h
<<\_ACEOF
44030 #define wxUSE_CARET 1
44034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44037 if test "$wxUSE_COMBOBOX" = "yes"; then
44038 cat >>confdefs.h
<<\_ACEOF
44039 #define wxUSE_COMBOBOX 1
44045 if test "$wxUSE_COMBOCTRL" = "yes"; then
44046 cat >>confdefs.h
<<\_ACEOF
44047 #define wxUSE_COMBOCTRL 1
44053 if test "$wxUSE_CHOICE" = "yes"; then
44054 cat >>confdefs.h
<<\_ACEOF
44055 #define wxUSE_CHOICE 1
44061 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44062 cat >>confdefs.h
<<\_ACEOF
44063 #define wxUSE_CHOICEBOOK 1
44069 if test "$wxUSE_CHECKBOX" = "yes"; then
44070 cat >>confdefs.h
<<\_ACEOF
44071 #define wxUSE_CHECKBOX 1
44077 if test "$wxUSE_CHECKLST" = "yes"; then
44078 cat >>confdefs.h
<<\_ACEOF
44079 #define wxUSE_CHECKLISTBOX 1
44083 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44086 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44087 cat >>confdefs.h
<<\_ACEOF
44088 #define wxUSE_DATEPICKCTRL 1
44094 if test "$wxUSE_DISPLAY" = "yes"; then
44095 cat >>confdefs.h
<<\_ACEOF
44096 #define wxUSE_DISPLAY 1
44099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44102 if test "$wxUSE_GAUGE" = "yes"; then
44103 cat >>confdefs.h
<<\_ACEOF
44104 #define wxUSE_GAUGE 1
44110 if test "$wxUSE_GRID" = "yes"; then
44111 cat >>confdefs.h
<<\_ACEOF
44112 #define wxUSE_GRID 1
44116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44119 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44120 cat >>confdefs.h
<<\_ACEOF
44121 #define wxUSE_DATAVIEWCTRL 1
44125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44128 if test "$wxUSE_IMAGLIST" = "yes"; then
44129 cat >>confdefs.h
<<\_ACEOF
44130 #define wxUSE_IMAGLIST 1
44135 if test "$wxUSE_LISTBOOK" = "yes"; then
44136 cat >>confdefs.h
<<\_ACEOF
44137 #define wxUSE_LISTBOOK 1
44143 if test "$wxUSE_LISTBOX" = "yes"; then
44144 cat >>confdefs.h
<<\_ACEOF
44145 #define wxUSE_LISTBOX 1
44149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44152 if test "$wxUSE_LISTCTRL" = "yes"; then
44153 if test "$wxUSE_IMAGLIST" = "yes"; then
44154 cat >>confdefs.h
<<\_ACEOF
44155 #define wxUSE_LISTCTRL 1
44159 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44161 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44162 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44166 if test "$wxUSE_NOTEBOOK" = "yes"; then
44167 cat >>confdefs.h
<<\_ACEOF
44168 #define wxUSE_NOTEBOOK 1
44172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44175 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44176 cat >>confdefs.h
<<\_ACEOF
44177 #define wxUSE_ODCOMBOBOX 1
44181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44185 if test "$wxUSE_RADIOBOX" = "yes"; then
44186 cat >>confdefs.h
<<\_ACEOF
44187 #define wxUSE_RADIOBOX 1
44193 if test "$wxUSE_RADIOBTN" = "yes"; then
44194 cat >>confdefs.h
<<\_ACEOF
44195 #define wxUSE_RADIOBTN 1
44201 if test "$wxUSE_SASH" = "yes"; then
44202 cat >>confdefs.h
<<\_ACEOF
44203 #define wxUSE_SASH 1
44206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44209 if test "$wxUSE_SCROLLBAR" = "yes"; then
44210 cat >>confdefs.h
<<\_ACEOF
44211 #define wxUSE_SCROLLBAR 1
44215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44218 if test "$wxUSE_SLIDER" = "yes"; then
44219 cat >>confdefs.h
<<\_ACEOF
44220 #define wxUSE_SLIDER 1
44226 if test "$wxUSE_SPINBTN" = "yes"; then
44227 cat >>confdefs.h
<<\_ACEOF
44228 #define wxUSE_SPINBTN 1
44234 if test "$wxUSE_SPINCTRL" = "yes"; then
44235 cat >>confdefs.h
<<\_ACEOF
44236 #define wxUSE_SPINCTRL 1
44242 if test "$wxUSE_SPLITTER" = "yes"; then
44243 cat >>confdefs.h
<<\_ACEOF
44244 #define wxUSE_SPLITTER 1
44247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44250 if test "$wxUSE_STATBMP" = "yes"; then
44251 cat >>confdefs.h
<<\_ACEOF
44252 #define wxUSE_STATBMP 1
44258 if test "$wxUSE_STATBOX" = "yes"; then
44259 cat >>confdefs.h
<<\_ACEOF
44260 #define wxUSE_STATBOX 1
44266 if test "$wxUSE_STATTEXT" = "yes"; then
44267 cat >>confdefs.h
<<\_ACEOF
44268 #define wxUSE_STATTEXT 1
44274 if test "$wxUSE_STATLINE" = "yes"; then
44275 cat >>confdefs.h
<<\_ACEOF
44276 #define wxUSE_STATLINE 1
44282 if test "$wxUSE_STATUSBAR" = "yes"; then
44283 cat >>confdefs.h
<<\_ACEOF
44284 #define wxUSE_NATIVE_STATUSBAR 1
44287 cat >>confdefs.h
<<\_ACEOF
44288 #define wxUSE_STATUSBAR 1
44293 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44296 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44297 cat >>confdefs.h
<<\_ACEOF
44298 #define wxUSE_TAB_DIALOG 1
44303 if test "$wxUSE_TEXTCTRL" = "yes"; then
44304 cat >>confdefs.h
<<\_ACEOF
44305 #define wxUSE_TEXTCTRL 1
44309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44312 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44313 if test "$wxUSE_COCOA" = 1 ; then
44314 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44315 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44319 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44320 cat >>confdefs.h
<<\_ACEOF
44321 #define wxUSE_TOGGLEBTN 1
44328 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44329 cat >>confdefs.h
<<\_ACEOF
44330 #define wxUSE_TOOLBAR_SIMPLE 1
44333 wxUSE_TOOLBAR
="yes"
44337 if test "$wxUSE_TOOLBAR" = "yes"; then
44338 cat >>confdefs.h
<<\_ACEOF
44339 #define wxUSE_TOOLBAR 1
44344 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44345 wxUSE_TOOLBAR_NATIVE
="yes"
44348 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44349 cat >>confdefs.h
<<\_ACEOF
44350 #define wxUSE_TOOLBAR_NATIVE 1
44356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44359 if test "$wxUSE_TOOLTIPS" = "yes"; then
44360 if test "$wxUSE_MOTIF" = 1; then
44361 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44362 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44364 if test "$wxUSE_UNIVERSAL" = "yes"; then
44365 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44366 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44368 cat >>confdefs.h
<<\_ACEOF
44369 #define wxUSE_TOOLTIPS 1
44376 if test "$wxUSE_TREEBOOK" = "yes"; then
44377 cat >>confdefs.h
<<\_ACEOF
44378 #define wxUSE_TREEBOOK 1
44384 if test "$wxUSE_TOOLBOOK" = "yes"; then
44385 cat >>confdefs.h
<<\_ACEOF
44386 #define wxUSE_TOOLBOOK 1
44392 if test "$wxUSE_TREECTRL" = "yes"; then
44393 if test "$wxUSE_IMAGLIST" = "yes"; then
44394 cat >>confdefs.h
<<\_ACEOF
44395 #define wxUSE_TREECTRL 1
44399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44401 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44402 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44406 if test "$wxUSE_POPUPWIN" = "yes"; then
44407 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44408 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44409 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44411 if test "$wxUSE_PM" = 1; then
44412 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44413 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44415 cat >>confdefs.h
<<\_ACEOF
44416 #define wxUSE_POPUPWIN 1
44419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44426 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44427 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44428 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44429 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44431 cat >>confdefs.h
<<\_ACEOF
44432 #define wxUSE_DIALUP_MANAGER 1
44435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44439 if test "$wxUSE_TIPWINDOW" = "yes"; then
44440 if test "$wxUSE_PM" = 1; then
44441 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44442 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44444 cat >>confdefs.h
<<\_ACEOF
44445 #define wxUSE_TIPWINDOW 1
44451 if test "$USES_CONTROLS" = 1; then
44452 cat >>confdefs.h
<<\_ACEOF
44453 #define wxUSE_CONTROLS 1
44459 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44460 cat >>confdefs.h
<<\_ACEOF
44461 #define wxUSE_ACCESSIBILITY 1
44464 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44467 if test "$wxUSE_DC_CACHEING" = "yes"; then
44468 cat >>confdefs.h
<<\_ACEOF
44469 #define wxUSE_DC_CACHEING 1
44474 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44475 cat >>confdefs.h
<<\_ACEOF
44476 #define wxUSE_DRAGIMAGE 1
44479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44482 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44483 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44484 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44485 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44487 cat >>confdefs.h
<<\_ACEOF
44488 #define wxUSE_EXCEPTIONS 1
44491 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44496 if test "$wxUSE_HTML" = "yes"; then
44497 cat >>confdefs.h
<<\_ACEOF
44498 #define wxUSE_HTML 1
44502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44503 if test "$wxUSE_MAC" = 1; then
44504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44507 if test "$wxUSE_WEBKIT" = "yes"; then
44508 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44509 old_CPPFLAGS
="$CPPFLAGS"
44510 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44511 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44512 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44513 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44514 echo $ECHO_N "(cached) $ECHO_C" >&6
44516 cat >conftest.
$ac_ext <<_ACEOF
44519 cat confdefs.h
>>conftest.
$ac_ext
44520 cat >>conftest.
$ac_ext <<_ACEOF
44521 /* end confdefs.h. */
44522 #include <Carbon/Carbon.h>
44524 #include <WebKit/HIWebView.h>
44526 rm -f conftest.
$ac_objext
44527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44528 (eval $ac_compile) 2>conftest.er1
44530 grep -v '^ *+' conftest.er1
>conftest.err
44532 cat conftest.err
>&5
44533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44534 (exit $ac_status); } &&
44535 { ac_try
='test -z "$ac_cxx_werror_flag"
44536 || test ! -s conftest.err'
44537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44538 (eval $ac_try) 2>&5
44540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44541 (exit $ac_status); }; } &&
44542 { ac_try
='test -s conftest.$ac_objext'
44543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44544 (eval $ac_try) 2>&5
44546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547 (exit $ac_status); }; }; then
44548 ac_cv_header_WebKit_HIWebView_h
=yes
44550 echo "$as_me: failed program was:" >&5
44551 sed 's/^/| /' conftest.
$ac_ext >&5
44553 ac_cv_header_WebKit_HIWebView_h
=no
44555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44557 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44558 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44559 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44561 cat >>confdefs.h
<<\_ACEOF
44562 #define wxUSE_WEBKIT 1
44565 WEBKIT_LINK
="-framework WebKit"
44569 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44570 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44576 CPPFLAGS
="$old_CPPFLAGS"
44577 elif test "$wxUSE_COCOA" = 1; then
44578 cat >>confdefs.h
<<\_ACEOF
44579 #define wxUSE_WEBKIT 1
44588 if test "$wxUSE_XRC" = "yes"; then
44589 if test "$wxUSE_XML" != "yes"; then
44590 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44591 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44594 cat >>confdefs.h
<<\_ACEOF
44595 #define wxUSE_XRC 1
44599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44603 if test "$wxUSE_MENUS" = "yes"; then
44604 cat >>confdefs.h
<<\_ACEOF
44605 #define wxUSE_MENUS 1
44608 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44611 if test "$wxUSE_METAFILE" = "yes"; then
44612 cat >>confdefs.h
<<\_ACEOF
44613 #define wxUSE_METAFILE 1
44618 if test "$wxUSE_MIMETYPE" = "yes"; then
44619 cat >>confdefs.h
<<\_ACEOF
44620 #define wxUSE_MIMETYPE 1
44625 if test "$wxUSE_MINIFRAME" = "yes"; then
44626 cat >>confdefs.h
<<\_ACEOF
44627 #define wxUSE_MINIFRAME 1
44630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44633 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44634 cat >>confdefs.h
<<\_ACEOF
44635 #define wxUSE_SYSTEM_OPTIONS 1
44638 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44639 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44645 if test "$wxUSE_VALIDATORS" = "yes"; then
44646 cat >>confdefs.h
<<\_ACEOF
44647 #define wxUSE_VALIDATORS 1
44650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44653 if test "$wxUSE_PALETTE" = "yes" ; then
44654 cat >>confdefs.h
<<\_ACEOF
44655 #define wxUSE_PALETTE 1
44660 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44661 LIBS
=" -lunicows $LIBS"
44665 if test "$wxUSE_RICHTEXT" = "yes"; then
44666 cat >>confdefs.h
<<\_ACEOF
44667 #define wxUSE_RICHTEXT 1
44671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44675 if test "$wxUSE_IMAGE" = "yes" ; then
44676 cat >>confdefs.h
<<\_ACEOF
44677 #define wxUSE_IMAGE 1
44681 if test "$wxUSE_GIF" = "yes" ; then
44682 cat >>confdefs.h
<<\_ACEOF
44683 #define wxUSE_GIF 1
44688 if test "$wxUSE_PCX" = "yes" ; then
44689 cat >>confdefs.h
<<\_ACEOF
44690 #define wxUSE_PCX 1
44695 if test "$wxUSE_IFF" = "yes" ; then
44696 cat >>confdefs.h
<<\_ACEOF
44697 #define wxUSE_IFF 1
44702 if test "$wxUSE_PNM" = "yes" ; then
44703 cat >>confdefs.h
<<\_ACEOF
44704 #define wxUSE_PNM 1
44709 if test "$wxUSE_XPM" = "yes" ; then
44710 cat >>confdefs.h
<<\_ACEOF
44711 #define wxUSE_XPM 1
44716 if test "$wxUSE_ICO_CUR" = "yes" ; then
44717 cat >>confdefs.h
<<\_ACEOF
44718 #define wxUSE_ICO_CUR 1
44725 if test "$wxUSE_CHOICEDLG" = "yes"; then
44726 cat >>confdefs.h
<<\_ACEOF
44727 #define wxUSE_CHOICEDLG 1
44732 if test "$wxUSE_COLOURDLG" = "yes"; then
44733 cat >>confdefs.h
<<\_ACEOF
44734 #define wxUSE_COLOURDLG 1
44739 if test "$wxUSE_FILEDLG" = "yes"; then
44740 cat >>confdefs.h
<<\_ACEOF
44741 #define wxUSE_FILEDLG 1
44746 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44747 cat >>confdefs.h
<<\_ACEOF
44748 #define wxUSE_FINDREPLDLG 1
44753 if test "$wxUSE_FONTDLG" = "yes"; then
44754 cat >>confdefs.h
<<\_ACEOF
44755 #define wxUSE_FONTDLG 1
44760 if test "$wxUSE_DIRDLG" = "yes"; then
44761 if test "$wxUSE_TREECTRL" != "yes"; then
44762 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44763 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44765 cat >>confdefs.h
<<\_ACEOF
44766 #define wxUSE_DIRDLG 1
44772 if test "$wxUSE_MSGDLG" = "yes"; then
44773 cat >>confdefs.h
<<\_ACEOF
44774 #define wxUSE_MSGDLG 1
44779 if test "$wxUSE_NUMBERDLG" = "yes"; then
44780 cat >>confdefs.h
<<\_ACEOF
44781 #define wxUSE_NUMBERDLG 1
44786 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44787 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44788 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44789 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44791 cat >>confdefs.h
<<\_ACEOF
44792 #define wxUSE_PROGRESSDLG 1
44798 if test "$wxUSE_SPLASH" = "yes"; then
44799 cat >>confdefs.h
<<\_ACEOF
44800 #define wxUSE_SPLASH 1
44803 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44806 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44807 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44808 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44809 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44811 cat >>confdefs.h
<<\_ACEOF
44812 #define wxUSE_STARTUP_TIPS 1
44818 if test "$wxUSE_TEXTDLG" = "yes"; then
44819 cat >>confdefs.h
<<\_ACEOF
44820 #define wxUSE_TEXTDLG 1
44825 if test "$wxUSE_WIZARDDLG" = "yes"; then
44826 cat >>confdefs.h
<<\_ACEOF
44827 #define wxUSE_WIZARDDLG 1
44830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44836 if test "$wxUSE_MEDIACTRL" = "yes"; then
44837 if test "$wxUSE_GTK" = 1; then
44838 wxUSE_GSTREAMER
="yes"
44840 GST_VERSION_MAJOR
=0
44841 GST_VERSION_MINOR
=10
44842 GST_VERSION_RELEASE
=0
44843 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44844 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44846 if test "$wxUSE_GSTREAMER8" = "no"; then
44850 if test -z "$PKG_CONFIG"; then
44851 # Extract the first word of "pkg-config", so it can be a program name with args.
44852 set dummy pkg
-config; ac_word
=$2
44853 echo "$as_me:$LINENO: checking for $ac_word" >&5
44854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44855 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44856 echo $ECHO_N "(cached) $ECHO_C" >&6
44858 case $PKG_CONFIG in
44860 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44864 for as_dir
in $PATH
44867 test -z "$as_dir" && as_dir
=.
44868 for ac_exec_ext
in '' $ac_executable_extensions; do
44869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44870 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44877 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44881 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44883 if test -n "$PKG_CONFIG"; then
44884 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44885 echo "${ECHO_T}$PKG_CONFIG" >&6
44887 echo "$as_me:$LINENO: result: no" >&5
44888 echo "${ECHO_T}no" >&6
44893 if test "$PKG_CONFIG" = "no" ; then
44894 echo "*** The pkg-config script could not be found. Make sure it is"
44895 echo "*** in your path, or set the PKG_CONFIG environment variable"
44896 echo "*** to the full path to pkg-config."
44897 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44899 PKG_CONFIG_MIN_VERSION
=0.9.0
44900 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44901 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44902 gstreamer-plugins-base-$GST_MAJORMINOR
44904 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44905 gstreamer-plugins-base-$GST_MAJORMINOR
44906 gconf-2.0... $ECHO_C" >&6
44908 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44909 gstreamer-plugins-base-$GST_MAJORMINOR
44911 echo "$as_me:$LINENO: result: yes" >&5
44912 echo "${ECHO_T}yes" >&6
44915 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44916 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44917 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44918 gstreamer-plugins-base-$GST_MAJORMINOR
44920 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44921 echo "${ECHO_T}$GST_CFLAGS" >&6
44923 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44924 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44925 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44926 gstreamer-plugins-base-$GST_MAJORMINOR
44928 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44929 echo "${ECHO_T}$GST_LIBS" >&6
44933 ## If we have a custom action on failure, don't print errors, but
44934 ## do set a variable so people can do so.
44935 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44936 gstreamer-plugins-base-$GST_MAJORMINOR
44944 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44945 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44949 if test $succeeded = yes; then
44951 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
44952 LIBS
="$LIBS $GST_LIBS -lgstinterfaces-$GST_MAJORMINOR"
44956 GST_VERSION_MINOR
=8
44961 GST_VERSION_MINOR
=8
44964 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44965 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44967 if test x
$GST_VERSION_MINOR = x8
; then
44971 if test -z "$PKG_CONFIG"; then
44972 # Extract the first word of "pkg-config", so it can be a program name with args.
44973 set dummy pkg
-config; ac_word
=$2
44974 echo "$as_me:$LINENO: checking for $ac_word" >&5
44975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44976 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44977 echo $ECHO_N "(cached) $ECHO_C" >&6
44979 case $PKG_CONFIG in
44981 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44985 for as_dir
in $PATH
44988 test -z "$as_dir" && as_dir
=.
44989 for ac_exec_ext
in '' $ac_executable_extensions; do
44990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44991 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44998 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
45002 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
45004 if test -n "$PKG_CONFIG"; then
45005 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45006 echo "${ECHO_T}$PKG_CONFIG" >&6
45008 echo "$as_me:$LINENO: result: no" >&5
45009 echo "${ECHO_T}no" >&6
45014 if test "$PKG_CONFIG" = "no" ; then
45015 echo "*** The pkg-config script could not be found. Make sure it is"
45016 echo "*** in your path, or set the PKG_CONFIG environment variable"
45017 echo "*** to the full path to pkg-config."
45018 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45020 PKG_CONFIG_MIN_VERSION
=0.9.0
45021 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45022 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
45023 gstreamer-interfaces-$GST_MAJORMINOR
45024 gstreamer-gconf-$GST_MAJORMINOR" >&5
45025 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
45026 gstreamer-interfaces-$GST_MAJORMINOR
45027 gstreamer-gconf-$GST_MAJORMINOR... $ECHO_C" >&6
45029 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
45030 gstreamer-interfaces-$GST_MAJORMINOR
45031 gstreamer-gconf-$GST_MAJORMINOR" ; then
45032 echo "$as_me:$LINENO: result: yes" >&5
45033 echo "${ECHO_T}yes" >&6
45036 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45037 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45038 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
45039 gstreamer-interfaces-$GST_MAJORMINOR
45040 gstreamer-gconf-$GST_MAJORMINOR"`
45041 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45042 echo "${ECHO_T}$GST_CFLAGS" >&6
45044 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45045 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45046 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
45047 gstreamer-interfaces-$GST_MAJORMINOR
45048 gstreamer-gconf-$GST_MAJORMINOR"`
45049 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45050 echo "${ECHO_T}$GST_LIBS" >&6
45054 ## If we have a custom action on failure, don't print errors, but
45055 ## do set a variable so people can do so.
45056 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
45057 gstreamer-interfaces-$GST_MAJORMINOR
45058 gstreamer-gconf-$GST_MAJORMINOR"`
45065 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45066 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45070 if test $succeeded = yes; then
45072 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45073 LIBS
="$LIBS $GST_LIBS"
45077 { echo "$as_me:$LINENO: WARNING: Proper GStreamer .8/.10 installation not found" >&5
45078 echo "$as_me: WARNING: Proper GStreamer .8/.10 installation not found" >&2;}
45079 wxUSE_GSTREAMER
="no"
45086 if test "$wxUSE_GSTREAMER" = "yes"; then
45087 cat >>confdefs.h
<<\_ACEOF
45088 #define wxUSE_GSTREAMER 1
45091 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
45092 echo "${ECHO_T}GStreamer detection successful" >&6
45096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45097 cat >>confdefs.h
<<\_ACEOF
45098 #define wxUSE_MEDIACTRL 1
45104 if test "$cross_compiling" = "yes"; then
45107 OSINFO
=`uname -s -r -m`
45108 OSINFO
="\"$OSINFO\""
45111 cat >>confdefs.h
<<_ACEOF
45112 #define WXWIN_OS_DESCRIPTION $OSINFO
45117 if test "x$prefix" != "xNONE"; then
45120 wxPREFIX
=$ac_default_prefix
45123 cat >>confdefs.h
<<_ACEOF
45124 #define wxINSTALL_PREFIX "$wxPREFIX"
45130 CORE_BASE_LIBS
="net base"
45131 CORE_GUI_LIBS
="adv core"
45133 if test "$wxUSE_XML" = "yes" ; then
45134 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45136 if test "$wxUSE_ODBC" != "no" ; then
45137 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45138 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45140 if test "$wxUSE_HTML" = "yes" ; then
45141 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45143 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45144 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45146 if test "$wxUSE_XRC" = "yes" ; then
45147 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45150 if test "$wxUSE_GUI" != "yes"; then
45159 ac_cpp
='$CPP $CPPFLAGS'
45160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45166 if test "$wxUSE_MAC" = 1 ; then
45167 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45168 if test "$USE_DARWIN" = 1; then
45169 LDFLAGS
="$LDFLAGS -framework QuickTime"
45171 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45174 if test "$USE_DARWIN" = 1; then
45175 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45177 LDFLAGS
="$LDFLAGS -lCarbonLib"
45180 if test "$wxUSE_COCOA" = 1 ; then
45181 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45182 if test "$wxUSE_MEDIACTRL" = "yes"; then
45183 LDFLAGS
="$LDFLAGS -framework QuickTime"
45186 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45187 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45190 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45192 if test "$wxUSE_GUI" = "yes"; then
45195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45196 dynamic erase event exec font image minimal mobile \
45197 mobile/wxedit mobile/styles propsize render \
45198 rotate shaped vscroll widgets"
45200 if test "$wxUSE_MONOLITHIC" != "yes"; then
45201 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45203 if test "$TOOLKIT" = "MSW"; then
45204 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45205 if test "$wxUSE_UNIVERSAL" != "yes"; then
45206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45209 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45213 SAMPLES_SUBDIRS
="console"
45217 if test "x$INTELCC" = "xyes" ; then
45218 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45219 elif test "$GCC" = yes ; then
45220 CWARNINGS
="-Wall -Wundef"
45223 if test "x$INTELCXX" = "xyes" ; then
45224 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45225 elif test "$GXX" = yes ; then
45226 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45230 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45231 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45234 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45235 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45236 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45239 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45240 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45241 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45243 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45246 if test "x$MWCC" = "xyes"; then
45248 CC
="$CC -cwd source -I-"
45249 CXX
="$CXX -cwd source -I-"
45254 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45255 EXTRALIBS_XML
="$EXPAT_LINK"
45256 EXTRALIBS_HTML
="$MSPACK_LINK"
45257 EXTRALIBS_ODBC
="$ODBC_LINK"
45258 if test "$wxUSE_GUI" = "yes"; then
45259 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45261 if test "$wxUSE_OPENGL" = "yes"; then
45262 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45265 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45267 WXCONFIG_LIBS
="$LIBS"
45269 if test "$wxUSE_REGEX" = "builtin" ; then
45270 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45272 if test "$wxUSE_EXPAT" = "builtin" ; then
45273 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45275 if test "$wxUSE_ODBC" = "builtin" ; then
45276 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45278 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45279 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45281 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45282 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45284 if test "$wxUSE_LIBPNG" = "builtin" ; then
45285 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45287 if test "$wxUSE_ZLIB" = "builtin" ; then
45288 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45291 for i
in $wxconfig_3rdparty ; do
45292 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45296 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45310 if test $wxUSE_MONOLITHIC = "yes" ; then
45316 if test $wxUSE_PLUGINS = "yes" ; then
45322 if test $wxUSE_ODBC != "no" ; then
45328 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45334 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45364 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45375 TOOLKIT_USER
="GTK+"
45376 if test "$WXGTK20" = 1; then
45377 TOOLKIT_USER
="$TOOLKIT_USER 2"
45382 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45386 if test "$wxUSE_WINE" = "yes"; then
45387 BAKEFILE_FORCE_PLATFORM
=win32
45390 if test "$wxUSE_MAC" = 1 ; then
45391 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45392 CXXFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45393 CFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45394 LDFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45397 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45398 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45399 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45405 if test "x$BAKEFILE_HOST" = "x"; then
45406 if test "x${host}" = "x" ; then
45407 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45408 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45409 { (exit 1); exit 1; }; }
45412 BAKEFILE_HOST
="${host}"
45415 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45417 if test -n "$ac_tool_prefix"; then
45418 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45419 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45420 echo "$as_me:$LINENO: checking for $ac_word" >&5
45421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45422 if test "${ac_cv_prog_RANLIB+set}" = set; then
45423 echo $ECHO_N "(cached) $ECHO_C" >&6
45425 if test -n "$RANLIB"; then
45426 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45429 for as_dir
in $PATH
45432 test -z "$as_dir" && as_dir
=.
45433 for ac_exec_ext
in '' $ac_executable_extensions; do
45434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45435 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45444 RANLIB
=$ac_cv_prog_RANLIB
45445 if test -n "$RANLIB"; then
45446 echo "$as_me:$LINENO: result: $RANLIB" >&5
45447 echo "${ECHO_T}$RANLIB" >&6
45449 echo "$as_me:$LINENO: result: no" >&5
45450 echo "${ECHO_T}no" >&6
45454 if test -z "$ac_cv_prog_RANLIB"; then
45455 ac_ct_RANLIB
=$RANLIB
45456 # Extract the first word of "ranlib", so it can be a program name with args.
45457 set dummy ranlib
; ac_word
=$2
45458 echo "$as_me:$LINENO: checking for $ac_word" >&5
45459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45460 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45461 echo $ECHO_N "(cached) $ECHO_C" >&6
45463 if test -n "$ac_ct_RANLIB"; then
45464 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45467 for as_dir
in $PATH
45470 test -z "$as_dir" && as_dir
=.
45471 for ac_exec_ext
in '' $ac_executable_extensions; do
45472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45473 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45480 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45483 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45484 if test -n "$ac_ct_RANLIB"; then
45485 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45486 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45488 echo "$as_me:$LINENO: result: no" >&5
45489 echo "${ECHO_T}no" >&6
45492 RANLIB
=$ac_ct_RANLIB
45494 RANLIB
="$ac_cv_prog_RANLIB"
45497 # Find a good install program. We prefer a C program (faster),
45498 # so one script is as good as another. But avoid the broken or
45499 # incompatible versions:
45500 # SysV /etc/install, /usr/sbin/install
45501 # SunOS /usr/etc/install
45502 # IRIX /sbin/install
45504 # AmigaOS /C/install, which installs bootblocks on floppy discs
45505 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45506 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45507 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45508 # OS/2's system install, which has a completely different semantic
45509 # ./install, which can be erroneously created by make from ./install.sh.
45510 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45511 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45512 if test -z "$INSTALL"; then
45513 if test "${ac_cv_path_install+set}" = set; then
45514 echo $ECHO_N "(cached) $ECHO_C" >&6
45516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45517 for as_dir
in $PATH
45520 test -z "$as_dir" && as_dir
=.
45521 # Account for people who put trailing slashes in PATH elements.
45523 .
/ | .
// | /cC
/* | \
45524 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45525 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45528 # OSF1 and SCO ODT 3.0 have their own names for install.
45529 # Don't use installbsd from OSF since it installs stuff as root
45531 for ac_prog
in ginstall scoinst
install; do
45532 for ac_exec_ext
in '' $ac_executable_extensions; do
45533 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45534 if test $ac_prog = install &&
45535 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45536 # AIX install. It has an incompatible calling convention.
45538 elif test $ac_prog = install &&
45539 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45540 # program-specific install script used by HP pwplus--don't use.
45543 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45555 if test "${ac_cv_path_install+set}" = set; then
45556 INSTALL
=$ac_cv_path_install
45558 # As a last resort, use the slow shell script. We don't cache a
45559 # path for INSTALL within a source directory, because that will
45560 # break other packages using the cache if that directory is
45561 # removed, or if the path is relative.
45562 INSTALL
=$ac_install_sh
45565 echo "$as_me:$LINENO: result: $INSTALL" >&5
45566 echo "${ECHO_T}$INSTALL" >&6
45568 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45569 # It thinks the first close brace ends the variable substitution.
45570 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45572 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45574 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45576 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45577 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45579 if test "$LN_S" = "ln -s"; then
45580 echo "$as_me:$LINENO: result: yes" >&5
45581 echo "${ECHO_T}yes" >&6
45583 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45584 echo "${ECHO_T}no, using $LN_S" >&6
45588 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45589 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45590 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45591 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45592 echo $ECHO_N "(cached) $ECHO_C" >&6
45594 cat >conftest.
make <<\_ACEOF
45596 @
echo 'ac_maketemp="$(MAKE)"'
45598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45599 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45600 if test -n "$ac_maketemp"; then
45601 eval ac_cv_prog_make_
${ac_make}_set
=yes
45603 eval ac_cv_prog_make_
${ac_make}_set
=no
45605 rm -f conftest.
make
45607 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45608 echo "$as_me:$LINENO: result: yes" >&5
45609 echo "${ECHO_T}yes" >&6
45612 echo "$as_me:$LINENO: result: no" >&5
45613 echo "${ECHO_T}no" >&6
45614 SET_MAKE
="MAKE=${MAKE-make}"
45619 if test -n "$ac_tool_prefix"; then
45620 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45621 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45622 echo "$as_me:$LINENO: checking for $ac_word" >&5
45623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45624 if test "${ac_cv_prog_AR+set}" = set; then
45625 echo $ECHO_N "(cached) $ECHO_C" >&6
45627 if test -n "$AR"; then
45628 ac_cv_prog_AR
="$AR" # Let the user override the test.
45630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45631 for as_dir
in $PATH
45634 test -z "$as_dir" && as_dir
=.
45635 for ac_exec_ext
in '' $ac_executable_extensions; do
45636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45637 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45647 if test -n "$AR"; then
45648 echo "$as_me:$LINENO: result: $AR" >&5
45649 echo "${ECHO_T}$AR" >&6
45651 echo "$as_me:$LINENO: result: no" >&5
45652 echo "${ECHO_T}no" >&6
45656 if test -z "$ac_cv_prog_AR"; then
45658 # Extract the first word of "ar", so it can be a program name with args.
45659 set dummy
ar; ac_word
=$2
45660 echo "$as_me:$LINENO: checking for $ac_word" >&5
45661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45662 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45663 echo $ECHO_N "(cached) $ECHO_C" >&6
45665 if test -n "$ac_ct_AR"; then
45666 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45669 for as_dir
in $PATH
45672 test -z "$as_dir" && as_dir
=.
45673 for ac_exec_ext
in '' $ac_executable_extensions; do
45674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45675 ac_cv_prog_ac_ct_AR
="ar"
45676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45682 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45685 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45686 if test -n "$ac_ct_AR"; then
45687 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45688 echo "${ECHO_T}$ac_ct_AR" >&6
45690 echo "$as_me:$LINENO: result: no" >&5
45691 echo "${ECHO_T}no" >&6
45696 AR
="$ac_cv_prog_AR"
45699 if test -n "$ac_tool_prefix"; then
45700 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45701 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45702 echo "$as_me:$LINENO: checking for $ac_word" >&5
45703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45704 if test "${ac_cv_prog_STRIP+set}" = set; then
45705 echo $ECHO_N "(cached) $ECHO_C" >&6
45707 if test -n "$STRIP"; then
45708 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45711 for as_dir
in $PATH
45714 test -z "$as_dir" && as_dir
=.
45715 for ac_exec_ext
in '' $ac_executable_extensions; do
45716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45717 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45726 STRIP
=$ac_cv_prog_STRIP
45727 if test -n "$STRIP"; then
45728 echo "$as_me:$LINENO: result: $STRIP" >&5
45729 echo "${ECHO_T}$STRIP" >&6
45731 echo "$as_me:$LINENO: result: no" >&5
45732 echo "${ECHO_T}no" >&6
45736 if test -z "$ac_cv_prog_STRIP"; then
45738 # Extract the first word of "strip", so it can be a program name with args.
45739 set dummy strip
; ac_word
=$2
45740 echo "$as_me:$LINENO: checking for $ac_word" >&5
45741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45742 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45743 echo $ECHO_N "(cached) $ECHO_C" >&6
45745 if test -n "$ac_ct_STRIP"; then
45746 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45749 for as_dir
in $PATH
45752 test -z "$as_dir" && as_dir
=.
45753 for ac_exec_ext
in '' $ac_executable_extensions; do
45754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45755 ac_cv_prog_ac_ct_STRIP
="strip"
45756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45762 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45765 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45766 if test -n "$ac_ct_STRIP"; then
45767 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45768 echo "${ECHO_T}$ac_ct_STRIP" >&6
45770 echo "$as_me:$LINENO: result: no" >&5
45771 echo "${ECHO_T}no" >&6
45776 STRIP
="$ac_cv_prog_STRIP"
45779 if test -n "$ac_tool_prefix"; then
45780 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45781 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45782 echo "$as_me:$LINENO: checking for $ac_word" >&5
45783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45784 if test "${ac_cv_prog_NM+set}" = set; then
45785 echo $ECHO_N "(cached) $ECHO_C" >&6
45787 if test -n "$NM"; then
45788 ac_cv_prog_NM
="$NM" # Let the user override the test.
45790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45791 for as_dir
in $PATH
45794 test -z "$as_dir" && as_dir
=.
45795 for ac_exec_ext
in '' $ac_executable_extensions; do
45796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45797 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45807 if test -n "$NM"; then
45808 echo "$as_me:$LINENO: result: $NM" >&5
45809 echo "${ECHO_T}$NM" >&6
45811 echo "$as_me:$LINENO: result: no" >&5
45812 echo "${ECHO_T}no" >&6
45816 if test -z "$ac_cv_prog_NM"; then
45818 # Extract the first word of "nm", so it can be a program name with args.
45819 set dummy nm
; ac_word
=$2
45820 echo "$as_me:$LINENO: checking for $ac_word" >&5
45821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45822 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45823 echo $ECHO_N "(cached) $ECHO_C" >&6
45825 if test -n "$ac_ct_NM"; then
45826 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45829 for as_dir
in $PATH
45832 test -z "$as_dir" && as_dir
=.
45833 for ac_exec_ext
in '' $ac_executable_extensions; do
45834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45835 ac_cv_prog_ac_ct_NM
="nm"
45836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45842 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45845 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45846 if test -n "$ac_ct_NM"; then
45847 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45848 echo "${ECHO_T}$ac_ct_NM" >&6
45850 echo "$as_me:$LINENO: result: no" >&5
45851 echo "${ECHO_T}no" >&6
45856 NM
="$ac_cv_prog_NM"
45860 case ${BAKEFILE_HOST} in
45862 INSTALL_DIR
="mkdir -p"
45864 *) INSTALL_DIR
="$INSTALL -d"
45870 case ${BAKEFILE_HOST} in
45871 *-*-cygwin* | *-*-mingw32* )
45872 LDFLAGS_GUI
="-mwindows"
45878 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45879 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45880 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45881 echo $ECHO_N "(cached) $ECHO_C" >&6
45884 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
45885 egrep -s GNU
> /dev
/null
); then
45886 bakefile_cv_prog_makeisgnu
="yes"
45888 bakefile_cv_prog_makeisgnu
="no"
45892 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45893 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45895 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45912 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45913 case "${BAKEFILE_HOST}" in
45920 *-pc-os2_emx | *-pc-os2-emx )
45930 powerpc
-apple-macos* )
45939 case "$BAKEFILE_FORCE_PLATFORM" in
45960 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45961 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45962 { (exit 1); exit 1; }; }
45977 # Check whether --enable-omf or --disable-omf was given.
45978 if test "${enable_omf+set}" = set; then
45979 enableval
="$enable_omf"
45980 bk_os2_use_omf
="$enableval"
45983 case "${BAKEFILE_HOST}" in
45985 if test "x$GCC" = "xyes"; then
45986 CFLAGS
="$CFLAGS -fno-common"
45987 CXXFLAGS
="$CXXFLAGS -fno-common"
45989 if test "x$XLCC" = "xyes"; then
45990 CFLAGS
="$CFLAGS -qnocommon"
45991 CXXFLAGS
="$CXXFLAGS -qnocommon"
45995 *-pc-os2_emx | *-pc-os2-emx )
45996 if test "x$bk_os2_use_omf" = "xyes" ; then
45999 LDFLAGS
="-Zomf $LDFLAGS"
46000 CFLAGS
="-Zomf $CFLAGS"
46001 CXXFLAGS
="-Zomf $CXXFLAGS"
46009 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46015 SO_SUFFIX_MODULE
="so"
46020 DLLPREFIX_MODULE
=""
46024 case "${BAKEFILE_HOST}" in
46027 SO_SUFFIX_MODULE
="sl"
46031 SO_SUFFIX_MODULE
="a"
46035 SO_SUFFIX_MODULE
="dll"
46036 DLLIMP_SUFFIX
="dll.a"
46043 SO_SUFFIX_MODULE
="dll"
46044 DLLIMP_SUFFIX
="dll.a"
46054 *-pc-os2_emx | *-pc-os2-emx )
46056 SO_SUFFIX_MODULE
="dll"
46057 DLLIMP_SUFFIX
=$OS2_LIBEXT
46061 LIBEXT
=".$OS2_LIBEXT"
46066 SO_SUFFIX_MODULE
="bundle"
46070 if test "x$DLLIMP_SUFFIX" = "x" ; then
46071 DLLIMP_SUFFIX
="$SO_SUFFIX"
46086 if test "x$GCC" = "xyes"; then
46090 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46091 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46094 case "${BAKEFILE_HOST}" in
46096 if test "x$GCC" != "xyes"; then
46097 LDFLAGS
="$LDFLAGS -L/usr/lib"
46099 SHARED_LD_CC
="${CC} -b -o"
46100 SHARED_LD_CXX
="${CXX} -b -o"
46106 if test "x$GCC" != "xyes"; then
46107 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46108 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46109 if test "${bakefile_cv_prog_icc+set}" = set; then
46110 echo $ECHO_N "(cached) $ECHO_C" >&6
46113 cat >conftest.
$ac_ext <<_ACEOF
46116 cat confdefs.h
>>conftest.
$ac_ext
46117 cat >>conftest.
$ac_ext <<_ACEOF
46118 /* end confdefs.h. */
46124 #ifndef __INTEL_COMPILER
46132 rm -f conftest.
$ac_objext
46133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46134 (eval $ac_compile) 2>conftest.er1
46136 grep -v '^ *+' conftest.er1
>conftest.err
46138 cat conftest.err
>&5
46139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46140 (exit $ac_status); } &&
46141 { ac_try
='test -z "$ac_c_werror_flag"
46142 || test ! -s conftest.err'
46143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46144 (eval $ac_try) 2>&5
46146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46147 (exit $ac_status); }; } &&
46148 { ac_try
='test -s conftest.$ac_objext'
46149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46150 (eval $ac_try) 2>&5
46152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46153 (exit $ac_status); }; }; then
46154 bakefile_cv_prog_icc
=yes
46156 echo "$as_me: failed program was:" >&5
46157 sed 's/^/| /' conftest.
$ac_ext >&5
46159 bakefile_cv_prog_icc
=no
46162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46165 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46166 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46167 if test "$bakefile_cv_prog_icc" = "yes"; then
46174 if test "x$GCC" != xyes
; then
46175 SHARED_LD_CC
="${CC} -G -o"
46176 SHARED_LD_CXX
="${CXX} -G -o"
46184 cat <<EOF >shared-ld-sh
46186 #-----------------------------------------------------------------------------
46187 #-- Name: distrib/mac/shared-ld-sh
46188 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46189 #-- Author: Gilles Depeyrot
46190 #-- Copyright: (c) 2002 Gilles Depeyrot
46191 #-- Licence: any use permitted
46192 #-----------------------------------------------------------------------------
46197 linking_flag="-dynamiclib"
46198 ldargs="-r -keep_private_externs -nostdlib"
46200 while test ${D}# -gt 0; do
46207 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46208 # collect these options and values
46209 args="${D}{args} ${D}1 ${D}2"
46214 # collect these load args
46215 ldargs="${D}{ldargs} ${D}1"
46218 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46219 # collect these options
46220 args="${D}{args} ${D}1"
46223 -dynamiclib|-bundle)
46224 linking_flag="${D}1"
46228 echo "shared-ld: unhandled option '${D}1'"
46232 *.o | *.a | *.dylib)
46233 # collect object files
46234 objects="${D}{objects} ${D}1"
46238 echo "shared-ld: unhandled argument '${D}1'"
46249 # Link one module containing all the others
46251 if test ${D}{verbose} = 1; then
46252 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46254 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46258 # Link the shared library from the single module created, but only if the
46259 # previous command didn't fail:
46261 if test ${D}{status} = 0; then
46262 if test ${D}{verbose} = 1; then
46263 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46265 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46270 # Remove intermediate module
46272 rm -f master.${D}${D}.o
46277 chmod +x shared
-ld-sh
46279 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46280 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46283 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46284 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46285 if test "${bakefile_cv_gcc31+set}" = set; then
46286 echo $ECHO_N "(cached) $ECHO_C" >&6
46289 cat >conftest.
$ac_ext <<_ACEOF
46292 cat confdefs.h
>>conftest.
$ac_ext
46293 cat >>conftest.
$ac_ext <<_ACEOF
46294 /* end confdefs.h. */
46300 #if (__GNUC__ < 3) || \
46301 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46309 rm -f conftest.
$ac_objext
46310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46311 (eval $ac_compile) 2>conftest.er1
46313 grep -v '^ *+' conftest.er1
>conftest.err
46315 cat conftest.err
>&5
46316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46317 (exit $ac_status); } &&
46318 { ac_try
='test -z "$ac_c_werror_flag"
46319 || test ! -s conftest.err'
46320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46321 (eval $ac_try) 2>&5
46323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46324 (exit $ac_status); }; } &&
46325 { ac_try
='test -s conftest.$ac_objext'
46326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46327 (eval $ac_try) 2>&5
46329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46330 (exit $ac_status); }; }; then
46332 bakefile_cv_gcc31
=yes
46335 echo "$as_me: failed program was:" >&5
46336 sed 's/^/| /' conftest.
$ac_ext >&5
46339 bakefile_cv_gcc31
=no
46343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46346 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46347 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46348 if test "$bakefile_cv_gcc31" = "no"; then
46349 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46350 SHARED_LD_CXX
="$SHARED_LD_CC"
46352 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46353 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46356 if test "x$GCC" == "xyes"; then
46357 PIC_FLAG
="-dynamic -fPIC"
46359 if test "x$XLCC" = "xyes"; then
46360 PIC_FLAG
="-dynamic -DPIC"
46365 if test "x$GCC" = "xyes"; then
46368 case "${BAKEFILE_HOST}" in
46370 LD_EXPFULL
="-Wl,-bexpfull"
46374 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46375 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46377 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46378 set dummy makeC
++SharedLib
; ac_word
=$2
46379 echo "$as_me:$LINENO: checking for $ac_word" >&5
46380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46381 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46382 echo $ECHO_N "(cached) $ECHO_C" >&6
46384 if test -n "$AIX_CXX_LD"; then
46385 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46388 for as_dir
in $PATH
46391 test -z "$as_dir" && as_dir
=.
46392 for ac_exec_ext
in '' $ac_executable_extensions; do
46393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46394 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46401 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46404 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46405 if test -n "$AIX_CXX_LD"; then
46406 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46407 echo "${ECHO_T}$AIX_CXX_LD" >&6
46409 echo "$as_me:$LINENO: result: no" >&5
46410 echo "${ECHO_T}no" >&6
46413 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46414 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46419 SHARED_LD_CC
="${LD} -nostart -o"
46420 SHARED_LD_CXX
="${LD} -nostart -o"
46424 if test "x$GCC" != "xyes"; then
46429 *-*-cygwin* | *-*-mingw32* )
46431 SHARED_LD_CC
="\$(CC) -shared -o"
46432 SHARED_LD_CXX
="\$(CXX) -shared -o"
46436 *-pc-os2_emx | *-pc-os2-emx )
46437 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46438 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46442 cat <<EOF >dllar.sh
46445 # dllar - a tool to build both a .dll and an .a file
46446 # from a set of object (.o) files for EMX/OS2.
46448 # Written by Andrew Zabolotny, bit@freya.etu.ru
46449 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46451 # This script will accept a set of files on the command line.
46452 # All the public symbols from the .o files will be exported into
46453 # a .DEF file, then linker will be run (through gcc) against them to
46454 # build a shared library consisting of all given .o files. All libraries
46455 # (.a) will be first decompressed into component .o files then act as
46456 # described above. You can optionally give a description (-d "description")
46457 # which will be put into .DLL. To see the list of accepted options (as well
46458 # as command-line format) simply run this program without options. The .DLL
46459 # is built to be imported by name (there is no guarantee that new versions
46460 # of the library you build will have same ordinals for same symbols).
46462 # dllar is free software; you can redistribute it and/or modify
46463 # it under the terms of the GNU General Public License as published by
46464 # the Free Software Foundation; either version 2, or (at your option)
46465 # any later version.
46467 # dllar is distributed in the hope that it will be useful,
46468 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46469 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46470 # GNU General Public License for more details.
46472 # You should have received a copy of the GNU General Public License
46473 # along with dllar; see the file COPYING. If not, write to the Free
46474 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46477 # To successfuly run this program you will need:
46478 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46479 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46481 # (used to build the .dll)
46483 # (used to create .def file from .o files)
46485 # (used to create .a file from .def file)
46486 # - GNU text utilites (cat, sort, uniq)
46487 # used to process emxexp output
46488 # - GNU file utilities (mv, rm)
46490 # - lxlite (optional, see flag below)
46491 # (used for general .dll cleanup)
46498 # basnam, variant of basename, which does _not_ remove the path, _iff_
46499 # second argument (suffix to remove) is given
46503 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46506 echo ${D}1 | sed 's/'${D}2'${D}//'
46509 echo "error in basnam ${D}*"
46515 # Cleanup temporary files and output
46518 for i in ${D}inputFiles ; do
46521 rm -rf \`basnam ${D}i !\`
46528 # Kill result in case of failure as there is just to many stupid make/nmake
46529 # things out there which doesn't do this.
46530 if [ ${D}# -eq 0 ]; then
46531 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46535 # Print usage and exit script with rc=1.
46537 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46538 echo ' [-name-mangler-script script.sh]'
46539 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46540 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46541 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46542 echo ' [*.o] [*.a]'
46543 echo '*> "output_file" should have no extension.'
46544 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46545 echo ' The import library name is derived from this and is set to "name".a,'
46546 echo ' unless overridden by -import'
46547 echo '*> "importlib_name" should have no extension.'
46548 echo ' If it has the .o, or .a extension, it is automatically removed.'
46549 echo ' This name is used as the import library name and may be longer and'
46550 echo ' more descriptive than the DLL name which has to follow the old '
46551 echo ' 8.3 convention of FAT.'
46552 echo '*> "script.sh may be given to override the output_file name by a'
46553 echo ' different name. It is mainly useful if the regular make process'
46554 echo ' of some package does not take into account OS/2 restriction of'
46555 echo ' DLL name lengths. It takes the importlib name as input and is'
46556 echo ' supposed to procude a shorter name as output. The script should'
46557 echo ' expect to get importlib_name without extension and should produce'
46558 echo ' a (max.) 8 letter name without extension.'
46559 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46560 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46561 echo ' These flags will be put at the start of GCC command line.'
46562 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46563 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46564 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46565 echo ' If the last character of a symbol is "*", all symbols beginning'
46566 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46567 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46568 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46569 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46570 echo ' C runtime DLLs.'
46571 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46572 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46573 echo ' unchanged to GCC at the end of command line.'
46574 echo '*> If you create a DLL from a library and you do not specify -o,'
46575 echo ' the basename for DLL and import library will be set to library name,'
46576 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46577 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46578 echo ' library will be renamed into gcc_s.a.'
46581 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46582 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46587 # Execute a command.
46588 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46589 # @Uses Whatever CleanUp() uses.
46595 if [ ${D}rcCmd -ne 0 ]; then
46596 echo "command failed, exit code="${D}rcCmd
46611 CFLAGS="-s -Zcrtdll"
46613 EXPORT_BY_ORDINALS=0
46618 case ${D}curDirS in
46622 curDirS=${D}{curDirS}"/"
46625 # Parse commandline
46628 while [ ${D}1 ]; do
46631 EXPORT_BY_ORDINALS=1;
46641 -name-mangler-script)
46662 exclude_symbols=${D}{exclude_symbols}${D}1" "
46666 library_flags=${D}{library_flags}${D}1" "
46685 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46688 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46689 if [ ${D}omfLinking -eq 1 ]; then
46690 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46692 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46697 if [ ${D}libsToLink -ne 0 ]; then
46698 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46700 for file in ${D}1 ; do
46701 if [ -f ${D}file ]; then
46702 inputFiles="${D}{inputFiles} ${D}file"
46706 if [ ${D}found -eq 0 ]; then
46707 echo "ERROR: No file(s) found: "${D}1
46714 done # iterate cmdline words
46717 if [ -z "${D}inputFiles" ]; then
46718 echo "dllar: no input files"
46722 # Now extract all .o files from .a files
46724 for file in ${D}inputFiles ; do
46735 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46740 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46742 if [ ${D}? -ne 0 ]; then
46743 echo "Failed to create subdirectory ./${D}dirname"
46747 # Append '!' to indicate archive
46748 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46749 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46752 for subfile in ${D}dirname/*.o* ; do
46753 if [ -f ${D}subfile ]; then
46755 if [ -s ${D}subfile ]; then
46756 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46757 newInputFiles="${D}newInputFiles ${D}subfile"
46761 if [ ${D}found -eq 0 ]; then
46762 echo "WARNING: there are no files in archive \\'${D}file\\'"
46766 newInputFiles="${D}{newInputFiles} ${D}file"
46770 inputFiles="${D}newInputFiles"
46772 # Output filename(s).
46774 if [ -z ${D}outFile ]; then
46776 set outFile ${D}inputFiles; outFile=${D}2
46779 # If it is an archive, remove the '!' and the '_%' suffixes
46780 case ${D}outFile in
46782 outFile=\`basnam ${D}outFile _%!\`
46787 case ${D}outFile in
46789 outFile=\`basnam ${D}outFile .dll\`
46792 outFile=\`basnam ${D}outFile .DLL\`
46795 outFile=\`basnam ${D}outFile .o\`
46798 outFile=\`basnam ${D}outFile .obj\`
46801 outFile=\`basnam ${D}outFile .a\`
46804 outFile=\`basnam ${D}outFile .lib\`
46809 case ${D}outimpFile in
46811 outimpFile=\`basnam ${D}outimpFile .a\`
46814 outimpFile=\`basnam ${D}outimpFile .lib\`
46819 if [ -z ${D}outimpFile ]; then
46820 outimpFile=${D}outFile
46822 defFile="${D}{outFile}.def"
46823 arcFile="${D}{outimpFile}.a"
46824 arcFile2="${D}{outimpFile}.lib"
46826 #create ${D}dllFile as something matching 8.3 restrictions,
46827 if [ -z ${D}renameScript ] ; then
46828 dllFile="${D}outFile"
46830 dllFile=\`${D}renameScript ${D}outimpFile\`
46833 if [ ${D}do_backup -ne 0 ] ; then
46834 if [ -f ${D}arcFile ] ; then
46835 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46837 if [ -f ${D}arcFile2 ] ; then
46838 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46842 # Extract public symbols from all the object files.
46843 tmpdefFile=${D}{defFile}_%
46844 rm -f ${D}tmpdefFile
46845 for file in ${D}inputFiles ; do
46850 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46855 # Create the def file.
46857 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46858 dllFile="${D}{dllFile}.dll"
46859 if [ ! -z ${D}description ]; then
46860 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46862 echo "EXPORTS" >> ${D}defFile
46864 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46865 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46867 # Checks if the export is ok or not.
46868 for word in ${D}exclude_symbols; do
46869 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46870 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46874 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46875 sed "=" < ${D}tmpdefFile | \\
46879 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46881 ' > ${D}{tmpdefFile}%
46882 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46884 rm -f ${D}{tmpdefFile}%
46886 cat ${D}tmpdefFile >> ${D}defFile
46887 rm -f ${D}tmpdefFile
46889 # Do linking, create implib, and apply lxlite.
46891 for file in ${D}inputFiles ; do
46896 gccCmdl="${D}gccCmdl ${D}file"
46900 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46901 touch "${D}{outFile}.dll"
46903 doCommand "emximp -o ${D}arcFile ${D}defFile"
46904 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46906 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46909 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46911 doCommand "emxomf -s -l ${D}arcFile"
46921 powerpc
-apple-macos* | \
46922 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
46931 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46932 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46933 { (exit 1); exit 1; }; }
46936 if test "x$PIC_FLAG" != "x" ; then
46937 PIC_FLAG
="$PIC_FLAG -DPIC"
46940 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46941 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
46943 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46944 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
46963 case "${BAKEFILE_HOST}" in
46964 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
46965 SONAME_FLAG
="-Wl,-soname,"
46999 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47000 if test "${enable_dependency_tracking+set}" = set; then
47001 enableval
="$enable_dependency_tracking"
47002 bk_use_trackdeps
="$enableval"
47005 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47006 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47008 if test "x$bk_use_trackdeps" = "xno" ; then
47010 echo "$as_me:$LINENO: result: disabled" >&5
47011 echo "${ECHO_T}disabled" >&6
47015 if test "x$GCC" = "xyes"; then
47017 case "${BAKEFILE_HOST}" in
47019 DEPSFLAG
="-no-cpp-precomp -MMD"
47025 echo "$as_me:$LINENO: result: gcc" >&5
47026 echo "${ECHO_T}gcc" >&6
47027 elif test "x$MWCC" = "xyes"; then
47030 echo "$as_me:$LINENO: result: mwcc" >&5
47031 echo "${ECHO_T}mwcc" >&6
47032 elif test "x$SUNCC" = "xyes"; then
47035 echo "$as_me:$LINENO: result: Sun cc" >&5
47036 echo "${ECHO_T}Sun cc" >&6
47037 elif test "x$SGICC" = "xyes"; then
47040 echo "$as_me:$LINENO: result: SGI cc" >&5
47041 echo "${ECHO_T}SGI cc" >&6
47042 elif test "x$HPCC" = "xyes"; then
47045 echo "$as_me:$LINENO: result: HP cc" >&5
47046 echo "${ECHO_T}HP cc" >&6
47047 elif test "x$COMPAQCC" = "xyes"; then
47050 echo "$as_me:$LINENO: result: Compaq cc" >&5
47051 echo "${ECHO_T}Compaq cc" >&6
47054 echo "$as_me:$LINENO: result: none" >&5
47055 echo "${ECHO_T}none" >&6
47058 if test $DEPS_TRACKING = 1 ; then
47064 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47065 # script. It is used to track C/C++ files dependencies in portable way.
47067 # Permission is given to use this file in any way.
47069 DEPSMODE=${DEPSMODE}
47071 DEPSFLAG="${DEPSFLAG}"
47073 mkdir -p ${D}DEPSDIR
47075 if test ${D}DEPSMODE = gcc ; then
47076 ${D}* ${D}{DEPSFLAG}
47078 if test ${D}{status} != 0 ; then
47081 # move created file to the location we want it in:
47082 while test ${D}# -gt 0; do
47096 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47097 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47098 if test -f ${D}depfile ; then
47099 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47102 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47103 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47104 if test ! -f ${D}depfile ; then
47105 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47106 depfile="${D}objfile.d"
47108 if test -f ${D}depfile ; then
47109 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47114 elif test ${D}DEPSMODE = mwcc ; then
47115 ${D}* || exit ${D}?
47116 # Run mwcc again with -MM and redirect into the dep file we want
47117 # NOTE: We can't use shift here because we need ${D}* to be valid
47119 for arg in ${D}* ; do
47120 if test "${D}prevarg" = "-o"; then
47133 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47135 elif test ${D}DEPSMODE = unixcc; then
47136 ${D}* || exit ${D}?
47137 # Run compiler again with deps flag and redirect into the dep file.
47138 # It doesn't work if the '-o FILE' option is used, but without it the
47139 # dependency file will contain the wrong name for the object. So it is
47140 # removed from the command line, and the dep file is fixed with sed.
47142 while test ${D}# -gt 0; do
47149 eval arg${D}#=\\${D}1
47150 cmd="${D}cmd \\${D}arg${D}#"
47155 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47170 case ${BAKEFILE_HOST} in
47171 *-*-cygwin* | *-*-mingw32* )
47172 if test -n "$ac_tool_prefix"; then
47173 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47174 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47175 echo "$as_me:$LINENO: checking for $ac_word" >&5
47176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47177 if test "${ac_cv_prog_WINDRES+set}" = set; then
47178 echo $ECHO_N "(cached) $ECHO_C" >&6
47180 if test -n "$WINDRES"; then
47181 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47184 for as_dir
in $PATH
47187 test -z "$as_dir" && as_dir
=.
47188 for ac_exec_ext
in '' $ac_executable_extensions; do
47189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47190 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47199 WINDRES
=$ac_cv_prog_WINDRES
47200 if test -n "$WINDRES"; then
47201 echo "$as_me:$LINENO: result: $WINDRES" >&5
47202 echo "${ECHO_T}$WINDRES" >&6
47204 echo "$as_me:$LINENO: result: no" >&5
47205 echo "${ECHO_T}no" >&6
47209 if test -z "$ac_cv_prog_WINDRES"; then
47210 ac_ct_WINDRES
=$WINDRES
47211 # Extract the first word of "windres", so it can be a program name with args.
47212 set dummy windres
; ac_word
=$2
47213 echo "$as_me:$LINENO: checking for $ac_word" >&5
47214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47215 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47216 echo $ECHO_N "(cached) $ECHO_C" >&6
47218 if test -n "$ac_ct_WINDRES"; then
47219 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47222 for as_dir
in $PATH
47225 test -z "$as_dir" && as_dir
=.
47226 for ac_exec_ext
in '' $ac_executable_extensions; do
47227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47228 ac_cv_prog_ac_ct_WINDRES
="windres"
47229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47237 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47238 if test -n "$ac_ct_WINDRES"; then
47239 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47240 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47242 echo "$as_me:$LINENO: result: no" >&5
47243 echo "${ECHO_T}no" >&6
47246 WINDRES
=$ac_ct_WINDRES
47248 WINDRES
="$ac_cv_prog_WINDRES"
47253 *-*-darwin* | powerpc
-apple-macos* )
47254 # Extract the first word of "Rez", so it can be a program name with args.
47255 set dummy Rez
; ac_word
=$2
47256 echo "$as_me:$LINENO: checking for $ac_word" >&5
47257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47258 if test "${ac_cv_prog_REZ+set}" = set; then
47259 echo $ECHO_N "(cached) $ECHO_C" >&6
47261 if test -n "$REZ"; then
47262 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47265 for as_dir
in $PATH
47268 test -z "$as_dir" && as_dir
=.
47269 for ac_exec_ext
in '' $ac_executable_extensions; do
47270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47271 ac_cv_prog_REZ
="Rez"
47272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47278 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47281 REZ
=$ac_cv_prog_REZ
47282 if test -n "$REZ"; then
47283 echo "$as_me:$LINENO: result: $REZ" >&5
47284 echo "${ECHO_T}$REZ" >&6
47286 echo "$as_me:$LINENO: result: no" >&5
47287 echo "${ECHO_T}no" >&6
47290 # Extract the first word of "SetFile", so it can be a program name with args.
47291 set dummy SetFile
; ac_word
=$2
47292 echo "$as_me:$LINENO: checking for $ac_word" >&5
47293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47294 if test "${ac_cv_prog_SETFILE+set}" = set; then
47295 echo $ECHO_N "(cached) $ECHO_C" >&6
47297 if test -n "$SETFILE"; then
47298 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47301 for as_dir
in $PATH
47304 test -z "$as_dir" && as_dir
=.
47305 for ac_exec_ext
in '' $ac_executable_extensions; do
47306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47307 ac_cv_prog_SETFILE
="SetFile"
47308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47314 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47317 SETFILE
=$ac_cv_prog_SETFILE
47318 if test -n "$SETFILE"; then
47319 echo "$as_me:$LINENO: result: $SETFILE" >&5
47320 echo "${ECHO_T}$SETFILE" >&6
47322 echo "$as_me:$LINENO: result: no" >&5
47323 echo "${ECHO_T}no" >&6
47334 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
47337 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
47341 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47342 if test "${enable_precomp_headers+set}" = set; then
47343 enableval
="$enable_precomp_headers"
47344 bk_use_pch
="$enableval"
47351 case ${BAKEFILE_HOST} in
47357 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47358 if test "x$GCC" = "xyes"; then
47359 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47360 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47361 cat >conftest.
$ac_ext <<_ACEOF
47364 cat confdefs.h
>>conftest.
$ac_ext
47365 cat >>conftest.
$ac_ext <<_ACEOF
47366 /* end confdefs.h. */
47372 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47373 There is no PCH support
47376 There is no PCH support
47378 #if (__GNUC__ == 3) && \
47379 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47380 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47381 ( defined(__INTEL_COMPILER) )
47382 There is no PCH support
47389 rm -f conftest.
$ac_objext
47390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47391 (eval $ac_compile) 2>conftest.er1
47393 grep -v '^ *+' conftest.er1
>conftest.err
47395 cat conftest.err
>&5
47396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47397 (exit $ac_status); } &&
47398 { ac_try
='test -z "$ac_c_werror_flag"
47399 || test ! -s conftest.err'
47400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47401 (eval $ac_try) 2>&5
47403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47404 (exit $ac_status); }; } &&
47405 { ac_try
='test -s conftest.$ac_objext'
47406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47407 (eval $ac_try) 2>&5
47409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47410 (exit $ac_status); }; }; then
47412 echo "$as_me:$LINENO: result: yes" >&5
47413 echo "${ECHO_T}yes" >&6
47417 echo "$as_me: failed program was:" >&5
47418 sed 's/^/| /' conftest.
$ac_ext >&5
47421 cat >conftest.
$ac_ext <<_ACEOF
47424 cat confdefs.h
>>conftest.
$ac_ext
47425 cat >>conftest.
$ac_ext <<_ACEOF
47426 /* end confdefs.h. */
47432 #if !defined(__INTEL_COMPILER) || \
47433 (__INTEL_COMPILER < 800)
47434 There is no PCH support
47441 rm -f conftest.
$ac_objext
47442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47443 (eval $ac_compile) 2>conftest.er1
47445 grep -v '^ *+' conftest.er1
>conftest.err
47447 cat conftest.err
>&5
47448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47449 (exit $ac_status); } &&
47450 { ac_try
='test -z "$ac_c_werror_flag"
47451 || test ! -s conftest.err'
47452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47453 (eval $ac_try) 2>&5
47455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47456 (exit $ac_status); }; } &&
47457 { ac_try
='test -s conftest.$ac_objext'
47458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47459 (eval $ac_try) 2>&5
47461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47462 (exit $ac_status); }; }; then
47464 echo "$as_me:$LINENO: result: yes" >&5
47465 echo "${ECHO_T}yes" >&6
47469 echo "$as_me: failed program was:" >&5
47470 sed 's/^/| /' conftest.
$ac_ext >&5
47473 echo "$as_me:$LINENO: result: no" >&5
47474 echo "${ECHO_T}no" >&6
47477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47481 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47485 cat <<EOF >bk-make-pch
47488 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47489 # script. It is used to generated precompiled headers.
47491 # Permission is given to use this file in any way.
47501 while test ${D}{#} -gt 0; do
47505 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47506 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47507 headerfile="${D}{incdir}/${D}{header}"
47510 -use-pch|-use_pch )
47515 if test ${D}add_to_cmdline = 1 ; then
47516 compiler="${D}{compiler} ${D}{1}"
47521 if test "x${D}{headerfile}" = "x" ; then
47522 echo "error: can't find header ${D}{header} in include paths" >&2
47524 if test -f ${D}{outfile} ; then
47525 rm -f ${D}{outfile}
47527 mkdir -p \`dirname ${D}{outfile}\`
47529 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47531 if test "x${GCC_PCH}" = "x1" ; then
47532 # can do this because gcc is >= 3.4:
47533 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47534 elif test "x${ICC_PCH}" = "x1" ; then
47535 filename=pch_gen-${D}${D}
47536 file=${D}{filename}.c
47537 dfile=${D}{filename}.d
47538 cat > ${D}file <<EOT
47539 #include "${D}header"
47541 # using -MF icc complains about differing command lines in creation/use
47542 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47543 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47544 rm -f ${D}file ${D}dfile ${D}{filename}.o
47550 chmod +x bk
-make-pch
47558 COND_BUILD_DEBUG
="#"
47559 if test "x$BUILD" = "xdebug" ; then
47560 COND_BUILD_DEBUG
=""
47563 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47564 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47565 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47568 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47569 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47570 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47573 COND_BUILD_DEBUG_UNICODE_0
="#"
47574 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47575 COND_BUILD_DEBUG_UNICODE_0
=""
47578 COND_BUILD_DEBUG_UNICODE_1
="#"
47579 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47580 COND_BUILD_DEBUG_UNICODE_1
=""
47583 COND_BUILD_RELEASE
="#"
47584 if test "x$BUILD" = "xrelease" ; then
47585 COND_BUILD_RELEASE
=""
47588 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47589 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47590 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47593 COND_BUILD_RELEASE_UNICODE_0
="#"
47594 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47595 COND_BUILD_RELEASE_UNICODE_0
=""
47598 COND_BUILD_RELEASE_UNICODE_1
="#"
47599 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47600 COND_BUILD_RELEASE_UNICODE_1
=""
47603 COND_DEBUG_FLAG_1
="#"
47604 if test "x$DEBUG_FLAG" = "x1" ; then
47605 COND_DEBUG_FLAG_1
=""
47608 COND_DEBUG_INFO_0
="#"
47609 if test "x$DEBUG_INFO" = "x0" ; then
47610 COND_DEBUG_INFO_0
=""
47613 COND_DEBUG_INFO_1
="#"
47614 if test "x$DEBUG_INFO" = "x1" ; then
47615 COND_DEBUG_INFO_1
=""
47618 COND_DEPS_TRACKING_0
="#"
47619 if test "x$DEPS_TRACKING" = "x0" ; then
47620 COND_DEPS_TRACKING_0
=""
47623 COND_DEPS_TRACKING_1
="#"
47624 if test "x$DEPS_TRACKING" = "x1" ; then
47625 COND_DEPS_TRACKING_1
=""
47629 if test "x$GCC_PCH" = "x1" ; then
47634 if test "x$ICC_PCH" = "x1" ; then
47638 COND_MONOLITHIC_0
="#"
47639 if test "x$MONOLITHIC" = "x0" ; then
47640 COND_MONOLITHIC_0
=""
47643 COND_MONOLITHIC_0_SHARED_0
="#"
47644 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47645 COND_MONOLITHIC_0_SHARED_0
=""
47648 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47649 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47650 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47653 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47654 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47655 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47658 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
47659 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47660 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
47663 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47664 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47665 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47668 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47669 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47670 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47673 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47674 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47675 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47678 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47679 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47680 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47683 COND_MONOLITHIC_0_SHARED_1
="#"
47684 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47685 COND_MONOLITHIC_0_SHARED_1
=""
47688 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47689 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47690 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47693 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47694 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47695 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47698 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
47699 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47700 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
47703 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47704 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47705 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47708 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47709 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47710 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47713 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47714 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47715 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47718 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47719 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47720 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47723 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
47724 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47725 COND_MONOLITHIC_0_USE_MEDIA_1
=""
47728 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47729 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47730 COND_MONOLITHIC_0_USE_ODBC_1
=""
47733 COND_MONOLITHIC_1
="#"
47734 if test "x$MONOLITHIC" = "x1" ; then
47735 COND_MONOLITHIC_1
=""
47738 COND_MONOLITHIC_1_SHARED_0
="#"
47739 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47740 COND_MONOLITHIC_1_SHARED_0
=""
47743 COND_MONOLITHIC_1_SHARED_1
="#"
47744 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47745 COND_MONOLITHIC_1_SHARED_1
=""
47748 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47749 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47750 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47753 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47754 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47755 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47758 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47759 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47760 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47763 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47764 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47765 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47768 COND_PLATFORM_MACOSX_1
="#"
47769 if test "x$PLATFORM_MACOSX" = "x1" ; then
47770 COND_PLATFORM_MACOSX_1
=""
47773 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47774 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47775 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47778 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47779 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47780 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47783 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47784 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47785 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47788 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47789 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47790 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47793 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47794 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47795 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47798 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47799 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47800 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47803 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47804 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47805 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47808 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47809 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47810 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47813 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47814 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47815 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
47818 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
47819 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47820 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
47823 COND_PLATFORM_MACOS_1
="#"
47824 if test "x$PLATFORM_MACOS" = "x1" ; then
47825 COND_PLATFORM_MACOS_1
=""
47828 COND_PLATFORM_MAC_1
="#"
47829 if test "x$PLATFORM_MAC" = "x1" ; then
47830 COND_PLATFORM_MAC_1
=""
47833 COND_PLATFORM_MSDOS_0
="#"
47834 if test "x$PLATFORM_MSDOS" = "x0" ; then
47835 COND_PLATFORM_MSDOS_0
=""
47838 COND_PLATFORM_MSDOS_1
="#"
47839 if test "x$PLATFORM_MSDOS" = "x1" ; then
47840 COND_PLATFORM_MSDOS_1
=""
47843 COND_PLATFORM_OS2_1
="#"
47844 if test "x$PLATFORM_OS2" = "x1" ; then
47845 COND_PLATFORM_OS2_1
=""
47848 COND_PLATFORM_UNIX_0
="#"
47849 if test "x$PLATFORM_UNIX" = "x0" ; then
47850 COND_PLATFORM_UNIX_0
=""
47853 COND_PLATFORM_UNIX_1
="#"
47854 if test "x$PLATFORM_UNIX" = "x1" ; then
47855 COND_PLATFORM_UNIX_1
=""
47858 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
47859 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47860 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
47863 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
47864 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47865 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
47868 COND_PLATFORM_WIN32_0
="#"
47869 if test "x$PLATFORM_WIN32" = "x0" ; then
47870 COND_PLATFORM_WIN32_0
=""
47873 COND_PLATFORM_WIN32_1
="#"
47874 if test "x$PLATFORM_WIN32" = "x1" ; then
47875 COND_PLATFORM_WIN32_1
=""
47879 if test "x$SHARED" = "x0" ; then
47883 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
47884 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47885 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
47888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
47889 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47890 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
47893 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
47894 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47895 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
47898 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
47899 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47900 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
47903 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47904 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47905 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47908 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47909 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47910 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47913 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47914 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47915 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47918 COND_SHARED_0_USE_XRC_1
="#"
47919 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47920 COND_SHARED_0_USE_XRC_1
=""
47923 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
47924 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47925 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
47928 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
47929 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47930 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
47933 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
47934 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47935 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
47938 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
47939 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47940 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
47944 if test "x$SHARED" = "x1" ; then
47948 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
47949 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47950 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
47953 COND_SHARED_1_USE_XRC_1
="#"
47954 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47955 COND_SHARED_1_USE_XRC_1
=""
47959 if test "x$TOOLKIT" = "x" ; then
47963 COND_TOOLKIT_COCOA
="#"
47964 if test "x$TOOLKIT" = "xCOCOA" ; then
47965 COND_TOOLKIT_COCOA
=""
47968 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
47969 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47970 COND_TOOLKIT_COCOA_USE_GUI_1
=""
47973 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
47974 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47975 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
47978 COND_TOOLKIT_GTK
="#"
47979 if test "x$TOOLKIT" = "xGTK" ; then
47980 COND_TOOLKIT_GTK
=""
47983 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
47984 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
47985 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
47988 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
47989 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
47990 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
47993 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
47994 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
47995 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
47998 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
47999 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48000 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48003 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48004 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48005 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48008 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48009 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48010 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48013 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48014 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48015 COND_TOOLKIT_GTK_USE_GUI_1
=""
48018 COND_TOOLKIT_MAC
="#"
48019 if test "x$TOOLKIT" = "xMAC" ; then
48020 COND_TOOLKIT_MAC
=""
48023 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48024 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48025 COND_TOOLKIT_MAC_USE_GUI_1
=""
48028 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48029 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48030 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48033 COND_TOOLKIT_MGL
="#"
48034 if test "x$TOOLKIT" = "xMGL" ; then
48035 COND_TOOLKIT_MGL
=""
48038 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48039 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48040 COND_TOOLKIT_MGL_USE_GUI_1
=""
48043 COND_TOOLKIT_MOTIF
="#"
48044 if test "x$TOOLKIT" = "xMOTIF" ; then
48045 COND_TOOLKIT_MOTIF
=""
48048 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48049 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48050 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48053 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48054 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48055 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48058 COND_TOOLKIT_MSW
="#"
48059 if test "x$TOOLKIT" = "xMSW" ; then
48060 COND_TOOLKIT_MSW
=""
48063 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48064 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48065 COND_TOOLKIT_MSW_USE_GUI_1
=""
48068 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48069 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48070 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48073 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48074 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48075 COND_TOOLKIT_MSW_WXUNIV_0
=""
48078 COND_TOOLKIT_PM
="#"
48079 if test "x$TOOLKIT" = "xPM" ; then
48083 COND_TOOLKIT_PM_USE_GUI_1
="#"
48084 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48085 COND_TOOLKIT_PM_USE_GUI_1
=""
48088 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48089 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48090 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48093 COND_TOOLKIT_WINCE
="#"
48094 if test "x$TOOLKIT" = "xWINCE" ; then
48095 COND_TOOLKIT_WINCE
=""
48098 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48099 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48100 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48103 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48104 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48105 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48108 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48109 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48110 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48113 COND_TOOLKIT_X11
="#"
48114 if test "x$TOOLKIT" = "xX11" ; then
48115 COND_TOOLKIT_X11
=""
48118 COND_TOOLKIT_X11_USE_GUI_1
="#"
48119 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48120 COND_TOOLKIT_X11_USE_GUI_1
=""
48124 if test "x$UNICODE" = "x1" ; then
48128 COND_USE_EXCEPTIONS_0
="#"
48129 if test "x$USE_EXCEPTIONS" = "x0" ; then
48130 COND_USE_EXCEPTIONS_0
=""
48133 COND_USE_EXCEPTIONS_1
="#"
48134 if test "x$USE_EXCEPTIONS" = "x1" ; then
48135 COND_USE_EXCEPTIONS_1
=""
48139 if test "x$USE_GUI" = "x0" ; then
48144 if test "x$USE_GUI" = "x1" ; then
48148 COND_USE_GUI_1_WXUNIV_0
="#"
48149 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48150 COND_USE_GUI_1_WXUNIV_0
=""
48153 COND_USE_GUI_1_WXUNIV_1
="#"
48154 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48155 COND_USE_GUI_1_WXUNIV_1
=""
48158 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48159 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48160 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48163 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48164 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48165 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48168 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48169 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48170 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48173 COND_USE_ODBC_1
="#"
48174 if test "x$USE_ODBC" = "x1" ; then
48178 COND_USE_OPENGL_1
="#"
48179 if test "x$USE_OPENGL" = "x1" ; then
48180 COND_USE_OPENGL_1
=""
48184 if test "x$USE_PCH" = "x1" ; then
48188 COND_USE_PLUGINS_0
="#"
48189 if test "x$USE_PLUGINS" = "x0" ; then
48190 COND_USE_PLUGINS_0
=""
48193 COND_USE_RTTI_0
="#"
48194 if test "x$USE_RTTI" = "x0" ; then
48198 COND_USE_RTTI_1
="#"
48199 if test "x$USE_RTTI" = "x1" ; then
48203 COND_USE_SOSYMLINKS_1
="#"
48204 if test "x$USE_SOSYMLINKS" = "x1" ; then
48205 COND_USE_SOSYMLINKS_1
=""
48208 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48209 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48210 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48213 COND_USE_SOVERLINUX_1
="#"
48214 if test "x$USE_SOVERLINUX" = "x1" ; then
48215 COND_USE_SOVERLINUX_1
=""
48218 COND_USE_SOVERSION_0
="#"
48219 if test "x$USE_SOVERSION" = "x0" ; then
48220 COND_USE_SOVERSION_0
=""
48223 COND_USE_SOVERSOLARIS_1
="#"
48224 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48225 COND_USE_SOVERSOLARIS_1
=""
48228 COND_USE_THREADS_0
="#"
48229 if test "x$USE_THREADS" = "x0" ; then
48230 COND_USE_THREADS_0
=""
48233 COND_USE_THREADS_1
="#"
48234 if test "x$USE_THREADS" = "x1" ; then
48235 COND_USE_THREADS_1
=""
48239 if test "x$USE_XRC" = "x1" ; then
48243 COND_WINDOWS_IMPLIB_1
="#"
48244 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48245 COND_WINDOWS_IMPLIB_1
=""
48248 COND_WITH_PLUGIN_SDL_1
="#"
48249 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48250 COND_WITH_PLUGIN_SDL_1
=""
48254 if test "x$WXUNIV" = "x0" ; then
48259 if test "x$WXUNIV" = "x1" ; then
48263 COND_WXUSE_EXPAT_BUILTIN
="#"
48264 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48265 COND_WXUSE_EXPAT_BUILTIN
=""
48268 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48269 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48270 COND_WXUSE_LIBJPEG_BUILTIN
=""
48273 COND_WXUSE_LIBPNG_BUILTIN
="#"
48274 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48275 COND_WXUSE_LIBPNG_BUILTIN
=""
48278 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48279 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48280 COND_WXUSE_LIBTIFF_BUILTIN
=""
48283 COND_WXUSE_ODBC_BUILTIN
="#"
48284 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48285 COND_WXUSE_ODBC_BUILTIN
=""
48288 COND_WXUSE_REGEX_BUILTIN
="#"
48289 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48290 COND_WXUSE_REGEX_BUILTIN
=""
48293 COND_WXUSE_ZLIB_BUILTIN
="#"
48294 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48295 COND_WXUSE_ZLIB_BUILTIN
=""
48300 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48301 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
48302 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
48303 { (exit 1); exit 1; }; }
48306 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48307 { { 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
48308 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;}
48309 { (exit 1); exit 1; }; }
48314 if test "$wxUSE_MAC" = 1 ; then
48315 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48316 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48322 if test "$wxUSE_SHARED" = "yes"; then
48324 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48325 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48328 *-pc-os2_emx | *-pc-os2-emx )
48329 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48330 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48331 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48332 cp -p ${srcdir}/src
/os
2/dllar.sh .
48337 EXE_LINKER
="$CXX -o"
48340 if test "$wxUSE_OMF" = "yes"; then
48342 *-pc-os2_emx | *-pc-os2-emx )
48343 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48344 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48345 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48350 if test $GCC_PCH = 1 ; then
48351 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48354 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48356 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48418 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48419 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48420 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48421 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48422 echo $ECHO_N "(cached) $ECHO_C" >&6
48424 cat >conftest.
make <<\_ACEOF
48426 @
echo 'ac_maketemp="$(MAKE)"'
48428 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48429 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48430 if test -n "$ac_maketemp"; then
48431 eval ac_cv_prog_make_
${ac_make}_set
=yes
48433 eval ac_cv_prog_make_
${ac_make}_set
=no
48435 rm -f conftest.
make
48437 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48438 echo "$as_me:$LINENO: result: yes" >&5
48439 echo "${ECHO_T}yes" >&6
48442 echo "$as_me:$LINENO: result: no" >&5
48443 echo "${ECHO_T}no" >&6
48444 SET_MAKE
="MAKE=${MAKE-make}"
48449 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48452 if test "$USE_WIN32" = 1; then
48453 ac_config_commands
="$ac_config_commands
48459 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48462 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48465 ac_config_files
="$ac_config_files version-script Makefile"
48468 ac_config_commands
="$ac_config_commands wx-config"
48472 if test "$wxWITH_SUBDIRS" != "no"; then
48473 if test "$wxUSE_GUI" = "yes"; then
48474 SUBDIRS
="samples demos utils contrib"
48475 else SUBDIRS
="samples utils"
48480 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48481 if test "${with_cppunit_prefix+set}" = set; then
48482 withval
="$with_cppunit_prefix"
48483 cppunit_config_prefix
="$withval"
48485 cppunit_config_prefix
=""
48488 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48489 if test "${with_cppunit_exec_prefix+set}" = set; then
48490 withval
="$with_cppunit_exec_prefix"
48491 cppunit_config_exec_prefix
="$withval"
48493 cppunit_config_exec_prefix
=""
48496 if test x
$cppunit_config_exec_prefix != x
; then
48497 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48498 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48499 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48502 if test x
$cppunit_config_prefix != x
; then
48503 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48504 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48505 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48509 # Extract the first word of "cppunit-config", so it can be a program name with args.
48510 set dummy cppunit
-config; ac_word
=$2
48511 echo "$as_me:$LINENO: checking for $ac_word" >&5
48512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48513 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48514 echo $ECHO_N "(cached) $ECHO_C" >&6
48516 case $CPPUNIT_CONFIG in
48518 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48522 for as_dir
in $PATH
48525 test -z "$as_dir" && as_dir
=.
48526 for ac_exec_ext
in '' $ac_executable_extensions; do
48527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48528 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48535 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48539 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48541 if test -n "$CPPUNIT_CONFIG"; then
48542 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48543 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48545 echo "$as_me:$LINENO: result: no" >&5
48546 echo "${ECHO_T}no" >&6
48549 cppunit_version_min
=1.8.0
48551 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48552 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48554 if test "$CPPUNIT_CONFIG" = "no" ; then
48557 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48558 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48559 cppunit_version
=`$CPPUNIT_CONFIG --version`
48561 cppunit_major_version
=`echo $cppunit_version | \
48562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48563 cppunit_minor_version
=`echo $cppunit_version | \
48564 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48565 cppunit_micro_version
=`echo $cppunit_version | \
48566 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48568 cppunit_major_min
=`echo $cppunit_version_min | \
48569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48570 cppunit_minor_min
=`echo $cppunit_version_min | \
48571 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48572 cppunit_micro_min
=`echo $cppunit_version_min | \
48573 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48575 cppunit_version_proper
=`expr \
48576 $cppunit_major_version \> $cppunit_major_min \| \
48577 $cppunit_major_version \= $cppunit_major_min \& \
48578 $cppunit_minor_version \> $cppunit_minor_min \| \
48579 $cppunit_major_version \= $cppunit_major_min \& \
48580 $cppunit_minor_version \= $cppunit_minor_min \& \
48581 $cppunit_micro_version \>= $cppunit_micro_min `
48583 if test "$cppunit_version_proper" = "1" ; then
48584 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48585 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48587 echo "$as_me:$LINENO: result: no" >&5
48588 echo "${ECHO_T}no" >&6
48593 if test "x$no_cppunit" = x
; then
48594 SUBDIRS
="$SUBDIRS tests"
48605 for subdir
in `echo $SUBDIRS`; do
48606 if test -d ${srcdir}/${subdir} ; then
48607 if test "$wxUSE_GUI" = "yes"; then
48608 if test ${subdir} = "samples"; then
48609 makefiles
="samples/Makefile.in $makefiles"
48610 for sample
in `echo $SAMPLES_SUBDIRS`; do
48611 if test -d $srcdir/samples
/$sample; then
48612 makefiles
="samples/$sample/Makefile.in $makefiles"
48616 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48617 eval "disabled=\$$disabled_var"
48618 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48619 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48621 else if test ${subdir} = "samples"; then
48622 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48623 elif test ${subdir} = "utils"; then
48625 for util
in HelpGen tex2rtf
; do
48626 if test -d $srcdir/utils
/$util ; then
48627 makefiles
="utils/$util/Makefile.in \
48628 utils/$util/src/Makefile.in \
48632 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48636 for mkin
in $makefiles ; do
48637 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48638 ac_config_files
="$ac_config_files $mk"
48644 cat >confcache
<<\_ACEOF
48645 # This file is a shell script that caches the results of configure
48646 # tests run on this system so they can be shared between configure
48647 # scripts and configure runs, see configure's option --config-cache.
48648 # It is not useful on other systems. If it contains results you don't
48649 # want to keep, you may remove or edit it.
48651 # config.status only pays attention to the cache file if you give it
48652 # the --recheck option to rerun configure.
48654 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48655 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48656 # following values.
48660 # The following way of writing the cache mishandles newlines in values,
48661 # but we know of no workaround that is simple, portable, and efficient.
48662 # So, don't put newlines in cache variables' values.
48663 # Ultrix sh set writes to stderr and can't be redirected directly,
48664 # and sets the high bit in the cache file unless we assign to the vars.
48667 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48669 # `set' does not quote correctly, so add quotes (double-quote
48670 # substitution turns \\\\ into \\, and sed turns \\ into \).
48673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48676 # `set' quotes correctly as required by POSIX, so do not add quotes.
48678 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48685 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48687 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48689 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48690 if test -w $cache_file; then
48691 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48692 cat confcache
>$cache_file
48694 echo "not updating unwritable cache $cache_file"
48699 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48700 # Let make expand exec_prefix.
48701 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48703 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48704 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48705 # trailing colons and then remove the whole line if VPATH becomes empty
48706 # (actually we leave an empty line to preserve line numbers).
48707 if test "x$srcdir" = x.
; then
48708 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48709 s/:*\$(srcdir):*/:/;
48710 s/:*\${srcdir}:*/:/;
48712 s/^\([^=]*=[ ]*\):*/\1/;
48718 DEFS
=-DHAVE_CONFIG_H
48722 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48723 # 1. Remove the extension, and $U if already installed.
48724 ac_i
=`echo "$ac_i" |
48725 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48727 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48728 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48730 LIBOBJS
=$ac_libobjs
48732 LTLIBOBJS
=$ac_ltlibobjs
48736 : ${CONFIG_STATUS=./config.status}
48737 ac_clean_files_save
=$ac_clean_files
48738 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48739 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48740 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48741 cat >$CONFIG_STATUS <<_ACEOF
48743 # Generated by $as_me.
48744 # Run this file to recreate the current configuration.
48745 # Compiler output produced by configure, useful for debugging
48746 # configure, is in config.log if it exists.
48749 ac_cs_recheck=false
48751 SHELL=\${CONFIG_SHELL-$SHELL}
48754 cat >>$CONFIG_STATUS <<\_ACEOF
48755 ## --------------------- ##
48756 ## M4sh Initialization. ##
48757 ## --------------------- ##
48759 # Be Bourne compatible
48760 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48763 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48764 # is contrary to our usage. Disable this feature.
48765 alias -g '${1+"$@"}'='"$@"'
48766 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
48769 DUALCASE
=1; export DUALCASE
# for MKS sh
48771 # Support unset when possible.
48772 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
48779 # Work around bugs in pre-3.0 UWIN ksh.
48780 $as_unset ENV MAIL MAILPATH
48787 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48788 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48789 LC_TELEPHONE LC_TIME
48791 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48792 eval $as_var=C
; export $as_var
48798 # Required to use basename.
48799 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48805 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
48806 as_basename
=basename
48812 # Name of the executable.
48813 as_me
=`$as_basename "$0" ||
48814 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48815 X"$0" : 'X\(//\)$' \| \
48816 X"$0" : 'X\(/\)$' \| \
48817 . : '\(.\)' 2>/dev/null ||
48819 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48820 /^X\/\(\/\/\)$/{ s//\1/; q; }
48821 /^X\/\(\/\).*/{ s//\1/; q; }
48825 # PATH needs CR, and LINENO needs CR and PATH.
48826 # Avoid depending upon Character Ranges.
48827 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
48828 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48829 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
48830 as_cr_digits
='0123456789'
48831 as_cr_alnum
=$as_cr_Letters$as_cr_digits
48833 # The user is always right.
48834 if test "${PATH_SEPARATOR+set}" != set; then
48835 echo "#! /bin/sh" >conf$$.sh
48836 echo "exit 0" >>conf$$.sh
48838 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
48847 as_lineno_1
=$LINENO
48848 as_lineno_2
=$LINENO
48849 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
48850 test "x$as_lineno_1" != "x$as_lineno_2" &&
48851 test "x$as_lineno_3" = "x$as_lineno_2" || {
48852 # Find who we are. Look in the path if we contain no path at all
48855 *[\\/]* ) as_myself
=$0 ;;
48856 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48857 for as_dir
in $PATH
48860 test -z "$as_dir" && as_dir
=.
48861 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
48866 # We did not find ourselves, most probably we were run as `sh COMMAND'
48867 # in which case we are not to be found in the path.
48868 if test "x$as_myself" = x
; then
48871 if test ! -f "$as_myself"; then
48872 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48873 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48874 { (exit 1); exit 1; }; }
48876 case $CONFIG_SHELL in
48878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48879 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
48882 test -z "$as_dir" && as_dir
=.
48883 for as_base
in sh bash ksh sh5
; do
48886 if ("$as_dir/$as_base" -c '
48887 as_lineno_1=$LINENO
48888 as_lineno_2=$LINENO
48889 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48890 test "x$as_lineno_1" != "x$as_lineno_2" &&
48891 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
48892 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
48893 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
48894 CONFIG_SHELL
=$as_dir/$as_base
48895 export CONFIG_SHELL
48896 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48904 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48905 # uniformly replaced by the line number. The first 'sed' inserts a
48906 # line-number line before each line; the second 'sed' does the real
48907 # work. The second script uses 'N' to pair each line-number line
48908 # with the numbered line, and appends trailing '-' during
48909 # substitution so that $LINENO is not a special case at line end.
48910 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48911 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48912 sed '=' <$as_myself |
48917 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48920 s,^['$as_cr_digits']*\n,,
48921 ' >$as_me.lineno
&&
48922 chmod +x
$as_me.lineno
||
48923 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48924 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48925 { (exit 1); exit 1; }; }
48927 # Don't try to exec as it changes $[0], causing all sort of problems
48928 # (the dirname of $[0] is not the place where we might find the
48929 # original and so on. Autoconf is especially sensible to this).
48931 # Exit status is that of the last command.
48936 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48937 *c
*,-n*) ECHO_N
= ECHO_C
='
48939 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
48940 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
48943 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48949 rm -f conf$$ conf$$.exe conf$$.
file
48951 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
48952 # We could just check for DJGPP; but this test a) works b) is more generic
48953 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48954 if test -f conf$$.exe
; then
48955 # Don't use ln at all; we don't have any links
48960 elif ln conf$$.
file conf$$
2>/dev
/null
; then
48965 rm -f conf$$ conf$$.exe conf$$.
file
48967 if mkdir -p .
2>/dev
/null
; then
48970 test -d .
/-p && rmdir .
/-p
48974 as_executable_p
="test -f"
48976 # Sed expression to map a string onto a valid CPP name.
48977 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48979 # Sed expression to map a string onto a valid variable name.
48980 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48984 # We need space, tab and new line, in precisely that order.
48994 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48995 # report actual input values of CONFIG_FILES etc. instead of their
48996 # values after options handling. Logging --version etc. is OK.
49000 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49001 ## Running $as_me. ##
49006 This file was extended by wxWidgets $as_me 2.7.0, which was
49007 generated by GNU Autoconf 2.59. Invocation command line was
49009 CONFIG_FILES = $CONFIG_FILES
49010 CONFIG_HEADERS = $CONFIG_HEADERS
49011 CONFIG_LINKS = $CONFIG_LINKS
49012 CONFIG_COMMANDS = $CONFIG_COMMANDS
49016 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49020 # Files that config.status was made for.
49021 if test -n "$ac_config_files"; then
49022 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49025 if test -n "$ac_config_headers"; then
49026 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49029 if test -n "$ac_config_links"; then
49030 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49033 if test -n "$ac_config_commands"; then
49034 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49037 cat >>$CONFIG_STATUS <<\_ACEOF
49040 \`$as_me' instantiates files from templates according to the
49041 current configuration.
49043 Usage: $0 [OPTIONS] [FILE]...
49045 -h, --help print this help, then exit
49046 -V, --version print version number, then exit
49047 -q, --quiet do not print progress messages
49048 -d, --debug don't remove temporary files
49049 --recheck update $as_me by reconfiguring in the same conditions
49050 --file=FILE[:TEMPLATE]
49051 instantiate the configuration file FILE
49052 --header=FILE[:TEMPLATE]
49053 instantiate the configuration header FILE
49055 Configuration files:
49058 Configuration headers:
49061 Configuration commands:
49064 Report bugs to <bug-autoconf@gnu.org>."
49067 cat >>$CONFIG_STATUS <<_ACEOF
49069 wxWidgets config.status 2.7.0
49070 configured by $0, generated by GNU Autoconf 2.59,
49071 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49073 Copyright (C) 2003 Free Software Foundation, Inc.
49074 This config.status script is free software; the Free Software Foundation
49075 gives unlimited permission to copy, distribute and modify it."
49080 cat >>$CONFIG_STATUS <<\_ACEOF
49081 # If no file are specified by the user, then we need to provide default
49082 # value. By we need to know if files were specified by the user.
49088 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
49089 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
49097 *) # This is not an option, so the user has probably given explicit
49100 ac_need_defaults
=false
;;
49104 # Handling of the options.
49106 cat >>$CONFIG_STATUS <<\_ACEOF
49107 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49109 --version | --vers* | -V )
49110 echo "$ac_cs_version"; exit 0 ;;
49112 # Conflict between --help and --header
49113 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49114 Try \`$0 --help' for more information." >&5
49115 echo "$as_me: error: ambiguous option: $1
49116 Try \`$0 --help' for more information." >&2;}
49117 { (exit 1); exit 1; }; };;
49118 --help | --hel | -h )
49119 echo "$ac_cs_usage"; exit 0 ;;
49120 --debug | --d* | -d )
49122 --file | --fil | --fi | --f )
49124 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49125 ac_need_defaults
=false
;;
49126 --header | --heade | --head | --hea )
49128 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49129 ac_need_defaults
=false
;;
49130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49131 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49134 # This is an error.
49135 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49136 Try \`$0 --help' for more information." >&5
49137 echo "$as_me: error: unrecognized option: $1
49138 Try \`$0 --help' for more information." >&2;}
49139 { (exit 1); exit 1; }; } ;;
49141 *) ac_config_targets
="$ac_config_targets $1" ;;
49147 ac_configure_extra_args
=
49149 if $ac_cs_silent; then
49151 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49155 cat >>$CONFIG_STATUS <<_ACEOF
49156 if \$ac_cs_recheck; then
49157 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49158 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49163 cat >>$CONFIG_STATUS <<_ACEOF
49165 # INIT-COMMANDS section.
49170 infile="$srcdir/include/wx/msw/genrcdefs.h"
49171 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49174 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49175 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49176 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49184 cat >>$CONFIG_STATUS <<\_ACEOF
49185 for ac_config_target
in $ac_config_targets
49187 case "$ac_config_target" in
49188 # Handling of arguments.
49189 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49190 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49191 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49192 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49193 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49194 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49195 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49196 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49197 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49198 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49199 { (exit 1); exit 1; }; };;
49203 # If the user did not use the arguments to specify the items to instantiate,
49204 # then the envvar interface is used. Set only those that are not.
49205 # We use the long form for the default assignment because of an extremely
49206 # bizarre bug on SunOS 4.1.3.
49207 if $ac_need_defaults; then
49208 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49209 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49210 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49213 # Have a temporary directory for convenience. Make it in the build tree
49214 # simply because there is no reason to put it here, and in addition,
49215 # creating and moving files from /tmp can sometimes cause problems.
49216 # Create a temporary directory, and hook for its removal unless debugging.
49219 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49220 trap '{ (exit 1); exit 1; }' 1 2 13 15
49223 # Create a (secure) tmp directory for tmp files.
49226 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49227 test -n "$tmp" && test -d "$tmp"
49230 tmp
=.
/confstat$$
-$RANDOM
49231 (umask 077 && mkdir $tmp)
49234 echo "$me: cannot create a temporary directory in ." >&2
49235 { (exit 1); exit 1; }
49240 cat >>$CONFIG_STATUS <<_ACEOF
49243 # CONFIG_FILES section.
49246 # No need to generate the scripts if there are no CONFIG_FILES.
49247 # This happens for instance when ./config.status config.h
49248 if test -n "\$CONFIG_FILES"; then
49249 # Protect against being on the right side of a sed subst in config.status.
49250 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49251 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49252 s,@SHELL@,$SHELL,;t t
49253 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49254 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49255 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49256 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49257 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49258 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49259 s,@exec_prefix@,$exec_prefix,;t t
49260 s,@prefix@,$prefix,;t t
49261 s,@program_transform_name@,$program_transform_name,;t t
49262 s,@bindir@,$bindir,;t t
49263 s,@sbindir@,$sbindir,;t t
49264 s,@libexecdir@,$libexecdir,;t t
49265 s,@datadir@,$datadir,;t t
49266 s,@sysconfdir@,$sysconfdir,;t t
49267 s,@sharedstatedir@,$sharedstatedir,;t t
49268 s,@localstatedir@,$localstatedir,;t t
49269 s,@libdir@,$libdir,;t t
49270 s,@includedir@,$includedir,;t t
49271 s,@oldincludedir@,$oldincludedir,;t t
49272 s,@infodir@,$infodir,;t t
49273 s,@mandir@,$mandir,;t t
49274 s,@build_alias@,$build_alias,;t t
49275 s,@host_alias@,$host_alias,;t t
49276 s,@target_alias@,$target_alias,;t t
49277 s,@DEFS@,$DEFS,;t t
49278 s,@ECHO_C@,$ECHO_C,;t t
49279 s,@ECHO_N@,$ECHO_N,;t t
49280 s,@ECHO_T@,$ECHO_T,;t t
49281 s,@LIBS@,$LIBS,;t t
49282 s,@build@,$build,;t t
49283 s,@build_cpu@,$build_cpu,;t t
49284 s,@build_vendor@,$build_vendor,;t t
49285 s,@build_os@,$build_os,;t t
49286 s,@host@,$host,;t t
49287 s,@host_cpu@,$host_cpu,;t t
49288 s,@host_vendor@,$host_vendor,;t t
49289 s,@host_os@,$host_os,;t t
49290 s,@target@,$target,;t t
49291 s,@target_cpu@,$target_cpu,;t t
49292 s,@target_vendor@,$target_vendor,;t t
49293 s,@target_os@,$target_os,;t t
49295 s,@CFLAGS@,$CFLAGS,;t t
49296 s,@LDFLAGS@,$LDFLAGS,;t t
49297 s,@CPPFLAGS@,$CPPFLAGS,;t t
49298 s,@ac_ct_CC@,$ac_ct_CC,;t t
49299 s,@EXEEXT@,$EXEEXT,;t t
49300 s,@OBJEXT@,$OBJEXT,;t t
49302 s,@EGREP@,$EGREP,;t t
49304 s,@CXXFLAGS@,$CXXFLAGS,;t t
49305 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49306 s,@RANLIB@,$RANLIB,;t t
49307 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49309 s,@ac_ct_AR@,$ac_ct_AR,;t t
49310 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49311 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49312 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49313 s,@STRIP@,$STRIP,;t t
49314 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49315 s,@WINDRES@,$WINDRES,;t t
49316 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49317 s,@DLLTOOL@,$DLLTOOL,;t t
49318 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49319 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49320 s,@LN_S@,$LN_S,;t t
49321 s,@CXXCPP@,$CXXCPP,;t t
49322 s,@subdirs@,$subdirs,;t t
49323 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49324 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49325 s,@GTK_LIBS@,$GTK_LIBS,;t t
49326 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49327 s,@X_CFLAGS@,$X_CFLAGS,;t t
49328 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49329 s,@X_LIBS@,$X_LIBS,;t t
49330 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49331 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49332 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49333 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49334 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49335 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49336 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49338 s,@DEREZ@,$DEREZ,;t t
49339 s,@SETFILE@,$SETFILE,;t t
49340 s,@LIBICONV@,$LIBICONV,;t t
49341 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49342 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49343 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49344 s,@SDL_LIBS@,$SDL_LIBS,;t t
49345 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49346 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49347 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49348 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49349 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49350 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49351 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49352 s,@GST_LIBS@,$GST_LIBS,;t t
49353 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49354 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49355 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49356 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49357 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49358 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49359 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49360 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49361 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49362 s,@VENDOR@,$VENDOR,;t t
49363 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49364 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49365 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49366 s,@WXUNIV@,$WXUNIV,;t t
49367 s,@MONOLITHIC@,$MONOLITHIC,;t t
49368 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49369 s,@EXTRALIBS@,$EXTRALIBS,;t t
49370 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49371 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49372 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49373 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49374 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49375 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49376 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49377 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49378 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49379 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49380 s,@UNICODE@,$UNICODE,;t t
49381 s,@BUILD@,$BUILD,;t t
49382 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49383 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49384 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49385 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49386 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49387 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49388 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49389 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49390 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49391 s,@SET_MAKE@,$SET_MAKE,;t t
49392 s,@MAKE_SET@,$MAKE_SET,;t t
49394 s,@ac_ct_NM@,$ac_ct_NM,;t t
49395 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49396 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49397 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49398 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49399 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49400 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49401 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49402 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49403 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49404 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49405 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49406 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49407 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49408 s,@LIBPREFIX@,$LIBPREFIX,;t t
49409 s,@LIBEXT@,$LIBEXT,;t t
49410 s,@DLLPREFIX@,$DLLPREFIX,;t t
49411 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49412 s,@dlldir@,$dlldir,;t t
49413 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49414 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49415 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49416 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49417 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49418 s,@PIC_FLAG@,$PIC_FLAG,;t t
49419 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49420 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49421 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49422 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49423 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49424 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49425 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49426 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49427 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49428 s,@GCC_PCH@,$GCC_PCH,;t t
49429 s,@ICC_PCH@,$ICC_PCH,;t t
49430 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49431 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49432 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49433 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49434 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49435 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49436 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49437 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49438 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49439 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49440 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49441 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49442 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49443 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49444 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49445 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49446 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49447 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49448 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49449 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
49450 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1,;t t
49451 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
49452 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
49453 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49454 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49455 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49456 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49457 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
49458 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1,;t t
49459 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
49460 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
49461 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49462 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49463 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49464 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49465 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49466 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49467 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49468 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49469 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49470 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49471 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49472 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49473 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49474 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49475 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49476 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49477 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49478 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
49479 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49480 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49481 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49482 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49483 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49484 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49485 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49486 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49487 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49488 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49489 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49490 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49491 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49492 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49493 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49494 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49495 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49496 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49497 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49498 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49499 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49500 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49501 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49502 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49503 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49504 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49505 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49506 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49507 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49508 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49509 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49510 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49511 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49512 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49513 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49514 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49515 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49516 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49517 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49518 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0,;t t
49519 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49520 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49521 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49522 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49523 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49524 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49525 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49526 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49527 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49528 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49529 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49530 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49531 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49532 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49533 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49534 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49535 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49536 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49537 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49538 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49539 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49540 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49541 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49542 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49543 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49544 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49545 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49546 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49547 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49548 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49549 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49550 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49551 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49552 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49553 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49554 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49555 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49556 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49557 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49558 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49559 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49560 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49561 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49562 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49563 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49564 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49565 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49566 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49567 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49568 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49569 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49570 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49571 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49572 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49573 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49574 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49575 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49576 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49577 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49578 s,@SHARED@,$SHARED,;t t
49579 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49580 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49581 s,@USE_GUI@,$USE_GUI,;t t
49582 s,@AFMINSTALL@,$AFMINSTALL,;t t
49583 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49584 s,@TOOLKIT@,$TOOLKIT,;t t
49585 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49586 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49587 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49588 s,@cross_compiling@,$cross_compiling,;t t
49589 s,@WIDGET_SET@,$WIDGET_SET,;t t
49590 s,@WX_RELEASE@,$WX_RELEASE,;t t
49591 s,@WX_VERSION@,$WX_VERSION,;t t
49592 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49593 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49594 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49595 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49596 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49597 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49598 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49599 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49600 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49601 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49602 s,@EXE_LINKER@,$EXE_LINKER,;t t
49603 s,@GUIDIST@,$GUIDIST,;t t
49604 s,@DISTDIR@,$DISTDIR,;t t
49605 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49606 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49607 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49608 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49609 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49610 s,@RESCOMP@,$RESCOMP,;t t
49611 s,@RESFLAGS@,$RESFLAGS,;t t
49612 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49613 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49614 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49615 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49616 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49617 s,@MACSETFILE@,$MACSETFILE,;t t
49619 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49620 s,@LIBOBJS@,$LIBOBJS,;t t
49621 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49626 cat >>$CONFIG_STATUS <<\_ACEOF
49627 # Split the substitutions into bite-sized pieces for seds with
49628 # small command number limits, like on Digital OSF/1 and HP-UX.
49629 ac_max_sed_lines
=48
49630 ac_sed_frag
=1 # Number of current file.
49631 ac_beg
=1 # First line for current file.
49632 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49635 while $ac_more_lines; do
49636 if test $ac_beg -gt 1; then
49637 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49639 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49641 if test ! -s $tmp/subs.frag
; then
49642 ac_more_lines
=false
49644 # The purpose of the label and of the branching condition is to
49645 # speed up the sed processing (if there are no `@' at all, there
49646 # is no need to browse any of the substitutions).
49647 # These are the two extra sed commands mentioned above.
49649 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49650 if test -z "$ac_sed_cmds"; then
49651 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49653 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49655 ac_sed_frag
=`expr $ac_sed_frag + 1`
49657 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49660 if test -z "$ac_sed_cmds"; then
49663 fi # test -n "$CONFIG_FILES"
49666 cat >>$CONFIG_STATUS <<\_ACEOF
49667 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49668 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49670 - | *:- | *:-:* ) # input from stdin
49672 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49673 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49674 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49675 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49676 * ) ac_file_in
=$ac_file.
in ;;
49679 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49680 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49681 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49682 X"$ac_file" : 'X\(//\)[^/]' \| \
49683 X"$ac_file" : 'X\(//\)$' \| \
49684 X"$ac_file" : 'X\(/\)' \| \
49685 . : '\(.\)' 2>/dev/null ||
49687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49688 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49689 /^X\(\/\/\)$/{ s//\1/; q; }
49690 /^X\(\/\).*/{ s//\1/; q; }
49692 { if $as_mkdir_p; then
49697 while test ! -d "$as_dir"; do
49698 as_dirs
="$as_dir $as_dirs"
49699 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49700 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49701 X"$as_dir" : 'X\(//\)[^/]' \| \
49702 X"$as_dir" : 'X\(//\)$' \| \
49703 X"$as_dir" : 'X\(/\)' \| \
49704 . : '\(.\)' 2>/dev/null ||
49706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49707 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49708 /^X\(\/\/\)$/{ s//\1/; q; }
49709 /^X\(\/\).*/{ s//\1/; q; }
49712 test ! -n "$as_dirs" || mkdir $as_dirs
49713 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49714 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49715 { (exit 1); exit 1; }; }; }
49719 if test "$ac_dir" != .
; then
49720 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49721 # A "../" for each directory in $ac_dir_suffix.
49722 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49724 ac_dir_suffix
= ac_top_builddir
=
49728 .
) # No --srcdir option. We are building in place.
49730 if test -z "$ac_top_builddir"; then
49733 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49735 [\\/]* | ?
:[\\/]* ) # Absolute path.
49736 ac_srcdir
=$srcdir$ac_dir_suffix;
49737 ac_top_srcdir
=$srcdir ;;
49738 *) # Relative path.
49739 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49740 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49743 # Do not use `cd foo && pwd` to compute absolute paths, because
49744 # the directories may not exist.
49746 .
) ac_abs_builddir
="$ac_dir";;
49749 .
) ac_abs_builddir
=`pwd`;;
49750 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49751 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49754 case $ac_abs_builddir in
49755 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49757 case ${ac_top_builddir}.
in
49758 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49759 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49760 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49763 case $ac_abs_builddir in
49764 .
) ac_abs_srcdir
=$ac_srcdir;;
49767 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49768 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49769 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49772 case $ac_abs_builddir in
49773 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49775 case $ac_top_srcdir in
49776 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49777 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49778 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49784 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
49785 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
49788 if test x
"$ac_file" != x
-; then
49789 { echo "$as_me:$LINENO: creating $ac_file" >&5
49790 echo "$as_me: creating $ac_file" >&6;}
49793 # Let's still pretend it is `configure' which instantiates (i.e., don't
49794 # use $as_me), people would be surprised to read:
49795 # /* config.h. Generated by config.status. */
49796 if test x
"$ac_file" = x
-; then
49799 configure_input
="$ac_file. "
49801 configure_input
=$configure_input"Generated from `echo $ac_file_in |
49802 sed 's,.*/,,'` by configure."
49804 # First look for the input files in the build tree, otherwise in the
49806 ac_file_inputs
=`IFS=:
49807 for f in $ac_file_in; do
49809 -) echo $tmp/stdin ;;
49811 # Absolute (can't be DOS-style, as IFS=:)
49812 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49813 echo "$as_me: error: cannot find input file: $f" >&2;}
49814 { (exit 1); exit 1; }; }
49817 if test -f "$f"; then
49820 elif test -f "$srcdir/$f"; then
49825 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49826 echo "$as_me: error: cannot find input file: $f" >&2;}
49827 { (exit 1); exit 1; }; }
49830 done` || { (exit 1); exit 1; }
49832 cat >>$CONFIG_STATUS <<_ACEOF
49836 cat >>$CONFIG_STATUS <<\_ACEOF
49838 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
49839 s
,@configure_input@
,$configure_input,;t t
49840 s
,@srcdir@
,$ac_srcdir,;t t
49841 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
49842 s
,@top_srcdir@
,$ac_top_srcdir,;t t
49843 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
49844 s
,@builddir@
,$ac_builddir,;t t
49845 s
,@abs_builddir@
,$ac_abs_builddir,;t t
49846 s
,@top_builddir@
,$ac_top_builddir,;t t
49847 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
49848 s
,@INSTALL@
,$ac_INSTALL,;t t
49849 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49851 if test x"$ac_file" != x-; then
49852 mv $tmp/out $ac_file
49858 # Run the commands associated with the file.
49860 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49861 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49865 cat >>$CONFIG_STATUS <<\_ACEOF
49868 # CONFIG_HEADER section.
49871 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
49872 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49874 # ac_d sets the value in "#define NAME VALUE" lines.
49875 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49876 ac_dB
='[ ].*$,\1#\2'
49879 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49880 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49881 ac_uB
='$,\1#\2define\3'
49885 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
49886 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49888 - | *:- | *:-:* ) # input from stdin
49890 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49891 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49892 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49893 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49894 * ) ac_file_in
=$ac_file.
in ;;
49897 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49898 echo "$as_me: creating $ac_file" >&6;}
49900 # First look for the input files in the build tree, otherwise in the
49902 ac_file_inputs
=`IFS=:
49903 for f in $ac_file_in; do
49905 -) echo $tmp/stdin ;;
49907 # Absolute (can't be DOS-style, as IFS=:)
49908 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49909 echo "$as_me: error: cannot find input file: $f" >&2;}
49910 { (exit 1); exit 1; }; }
49911 # Do quote $f, to prevent DOS paths from being IFS'd.
49914 if test -f "$f"; then
49917 elif test -f "$srcdir/$f"; then
49922 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49923 echo "$as_me: error: cannot find input file: $f" >&2;}
49924 { (exit 1); exit 1; }; }
49927 done` || { (exit 1); exit 1; }
49928 # Remove the trailing spaces.
49929 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49933 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49934 # `conftest.undefs', that substitutes the proper values into
49935 # config.h.in to produce config.h. The first handles `#define'
49936 # templates, and the second `#undef' templates.
49937 # And first: Protect against being on the right side of a sed subst in
49938 # config.status. Protect against being in an unquoted here document
49939 # in config.status.
49940 rm -f conftest.defines conftest.undefs
49941 # Using a here document instead of a string reduces the quoting nightmare.
49942 # Putting comments in sed scripts is not portable.
49944 # `end' is used to avoid that the second main sed command (meant for
49945 # 0-ary CPP macros) applies to n-ary macro definitions.
49946 # See the Autoconf documentation for `clear'.
49947 cat >confdef2sed.
sed <<\_ACEOF
49952 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49954 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49957 # If some macros were called several times there might be several times
49958 # the same #defines, which is useless. Nevertheless, we may not want to
49959 # sort them, since we want the *last* AC-DEFINE to be honored.
49960 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49961 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49962 rm -f confdef2sed.sed
49964 # This sed command replaces #undef with comments. This is necessary, for
49965 # example, in the case of _POSIX_SOURCE, which is predefined and required
49966 # on some systems where configure will not decide to define it.
49967 cat >>conftest.undefs <<\_ACEOF
49968 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49971 # Break up conftest.defines because some shells have a limit on the size
49972 # of here documents, and old seds have small limits too (100 cmds).
49973 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49974 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49975 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49976 echo ' :' >>$CONFIG_STATUS
49977 rm -f conftest.tail
49978 while grep . conftest.defines >/dev/null
49980 # Write a limited-size here document to $tmp/defines.sed.
49981 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49982 # Speed up: don't consider the non `#define' lines.
49983 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49984 # Work around the forget-to-reset-the-flag bug.
49985 echo 't clr' >>$CONFIG_STATUS
49986 echo ': clr' >>$CONFIG_STATUS
49987 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
49989 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49991 mv $tmp/out $tmp/in
49993 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
49994 rm -f conftest.defines
49995 mv conftest.
tail conftest.defines
49997 rm -f conftest.defines
49998 echo ' fi # grep' >>$CONFIG_STATUS
49999 echo >>$CONFIG_STATUS
50001 # Break up conftest.undefs because some shells have a limit on the size
50002 # of here documents, and old seds have small limits too (100 cmds).
50003 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50004 rm -f conftest.
tail
50005 while grep . conftest.undefs
>/dev
/null
50007 # Write a limited-size here document to $tmp/undefs.sed.
50008 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50009 # Speed up: don't consider the non
`#undef'
50010 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50011 # Work around the forget-to-reset-the-flag bug.
50012 echo 't clr' >>$CONFIG_STATUS
50013 echo ': clr' >>$CONFIG_STATUS
50014 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50016 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50018 mv $tmp/out $tmp/in
50020 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50021 rm -f conftest.undefs
50022 mv conftest.tail conftest.undefs
50024 rm -f conftest.undefs
50026 cat >>$CONFIG_STATUS <<\_ACEOF
50027 # Let's still pretend it is `configure
' which instantiates (i.e., don't
50028 # use $as_me), people would be surprised to read:
50029 # /* config.h. Generated by config.status. */
50030 if test x
"$ac_file" = x
-; then
50031 echo "/* Generated by configure. */" >$tmp/config.h
50033 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50035 cat $tmp/in >>$tmp/config.h
50037 if test x
"$ac_file" != x
-; then
50038 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
50039 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50040 echo "$as_me: $ac_file is unchanged" >&6;}
50042 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50043 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50044 X"$ac_file" : 'X\(//\)[^/]' \| \
50045 X"$ac_file" : 'X\(//\)$' \| \
50046 X"$ac_file" : 'X\(/\)' \| \
50047 . : '\(.\)' 2>/dev/null ||
50049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50051 /^X\(\/\/\)$/{ s//\1/; q; }
50052 /^X\(\/\).*/{ s//\1/; q; }
50054 { if $as_mkdir_p; then
50059 while test ! -d "$as_dir"; do
50060 as_dirs
="$as_dir $as_dirs"
50061 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50063 X"$as_dir" : 'X\(//\)[^/]' \| \
50064 X"$as_dir" : 'X\(//\)$' \| \
50065 X"$as_dir" : 'X\(/\)' \| \
50066 . : '\(.\)' 2>/dev/null ||
50068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50069 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50070 /^X\(\/\/\)$/{ s//\1/; q; }
50071 /^X\(\/\).*/{ s//\1/; q; }
50074 test ! -n "$as_dirs" || mkdir $as_dirs
50075 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50076 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50077 { (exit 1); exit 1; }; }; }
50080 mv $tmp/config.h
$ac_file
50084 rm -f $tmp/config.h
50088 cat >>$CONFIG_STATUS <<\_ACEOF
50091 # CONFIG_COMMANDS section.
50093 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
50094 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
50095 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50096 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
50097 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50098 X"$ac_dest" : 'X\(//\)[^/]' \| \
50099 X"$ac_dest" : 'X\(//\)$' \| \
50100 X"$ac_dest" : 'X\(/\)' \| \
50101 . : '\(.\)' 2>/dev/null ||
50103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50104 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50105 /^X\(\/\/\)$/{ s//\1/; q; }
50106 /^X\(\/\).*/{ s//\1/; q; }
50108 { if $as_mkdir_p; then
50113 while test ! -d "$as_dir"; do
50114 as_dirs
="$as_dir $as_dirs"
50115 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50116 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50117 X"$as_dir" : 'X\(//\)[^/]' \| \
50118 X"$as_dir" : 'X\(//\)$' \| \
50119 X"$as_dir" : 'X\(/\)' \| \
50120 . : '\(.\)' 2>/dev/null ||
50122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50123 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50124 /^X\(\/\/\)$/{ s//\1/; q; }
50125 /^X\(\/\).*/{ s//\1/; q; }
50128 test ! -n "$as_dirs" || mkdir $as_dirs
50129 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50130 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50131 { (exit 1); exit 1; }; }; }
50135 if test "$ac_dir" != .
; then
50136 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50137 # A "../" for each directory in $ac_dir_suffix.
50138 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50140 ac_dir_suffix
= ac_top_builddir
=
50144 .
) # No --srcdir option. We are building in place.
50146 if test -z "$ac_top_builddir"; then
50149 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50151 [\\/]* | ?
:[\\/]* ) # Absolute path.
50152 ac_srcdir
=$srcdir$ac_dir_suffix;
50153 ac_top_srcdir
=$srcdir ;;
50154 *) # Relative path.
50155 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50156 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50159 # Do not use `cd foo && pwd` to compute absolute paths, because
50160 # the directories may not exist.
50162 .
) ac_abs_builddir
="$ac_dir";;
50165 .
) ac_abs_builddir
=`pwd`;;
50166 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50167 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50170 case $ac_abs_builddir in
50171 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50173 case ${ac_top_builddir}.
in
50174 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50175 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50176 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50179 case $ac_abs_builddir in
50180 .
) ac_abs_srcdir
=$ac_srcdir;;
50183 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50184 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50185 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50188 case $ac_abs_builddir in
50189 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50191 case $ac_top_srcdir in
50192 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50193 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50194 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50199 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50200 echo "$as_me: executing $ac_dest commands" >&6;}
50203 mkdir -p $outdir &&
50204 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50206 wx
-config ) rm -f wx
-config
50207 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50213 cat >>$CONFIG_STATUS <<\_ACEOF
50215 { (exit 0); exit 0; }
50217 chmod +x
$CONFIG_STATUS
50218 ac_clean_files
=$ac_clean_files_save
50221 # configure is writing to config.log, and then calls config.status.
50222 # config.status does its own redirection, appending to config.log.
50223 # Unfortunately, on DOS this fails, as config.log is still kept open
50224 # by configure, so config.status won't be able to write to it; its
50225 # output is simply discarded. So we exec the FD to /dev/null,
50226 # effectively closing config.log, so it can be properly (re)opened and
50227 # appended to by config.status. When coming back to configure, we
50228 # need to make the FD available again.
50229 if test "$no_create" != yes; then
50231 ac_config_status_args
=
50232 test "$silent" = yes &&
50233 ac_config_status_args
="$ac_config_status_args --quiet"
50235 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50237 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50238 # would make configure fail if this is the last instruction.
50239 $ac_cs_success || { (exit 1); exit 1; }
50243 # CONFIG_SUBDIRS section.
50245 if test "$no_recursion" != yes; then
50247 # Remove --cache-file and --srcdir arguments so they do not pile up.
50248 ac_sub_configure_args
=
50250 for ac_arg
in $ac_configure_args; do
50251 if test -n "$ac_prev"; then
50256 -cache-file | --cache-file | --cache-fil | --cache-fi \
50257 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50258 ac_prev
=cache_file
;;
50259 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50260 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50263 --config-cache | -C)
50265 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50267 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50269 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50271 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50273 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50277 # Always prepend --prefix to ensure using the same prefix
50278 # in subdir configurations.
50279 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50282 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50284 # Do not complain, so a configure script can configure whichever
50285 # parts of a large source tree are present.
50286 test -d $srcdir/$ac_dir || continue
50288 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50289 echo "$as_me: configuring in $ac_dir" >&6;}
50290 { if $as_mkdir_p; then
50295 while test ! -d "$as_dir"; do
50296 as_dirs
="$as_dir $as_dirs"
50297 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50299 X"$as_dir" : 'X\(//\)[^/]' \| \
50300 X"$as_dir" : 'X\(//\)$' \| \
50301 X"$as_dir" : 'X\(/\)' \| \
50302 . : '\(.\)' 2>/dev/null ||
50304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50306 /^X\(\/\/\)$/{ s//\1/; q; }
50307 /^X\(\/\).*/{ s//\1/; q; }
50310 test ! -n "$as_dirs" || mkdir $as_dirs
50311 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50312 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50313 { (exit 1); exit 1; }; }; }
50317 if test "$ac_dir" != .
; then
50318 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50319 # A "../" for each directory in $ac_dir_suffix.
50320 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50322 ac_dir_suffix
= ac_top_builddir
=
50326 .
) # No --srcdir option. We are building in place.
50328 if test -z "$ac_top_builddir"; then
50331 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50333 [\\/]* | ?
:[\\/]* ) # Absolute path.
50334 ac_srcdir
=$srcdir$ac_dir_suffix;
50335 ac_top_srcdir
=$srcdir ;;
50336 *) # Relative path.
50337 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50338 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50341 # Do not use `cd foo && pwd` to compute absolute paths, because
50342 # the directories may not exist.
50344 .
) ac_abs_builddir
="$ac_dir";;
50347 .
) ac_abs_builddir
=`pwd`;;
50348 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50349 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50352 case $ac_abs_builddir in
50353 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50355 case ${ac_top_builddir}.
in
50356 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50357 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50358 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50361 case $ac_abs_builddir in
50362 .
) ac_abs_srcdir
=$ac_srcdir;;
50365 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50366 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50367 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50370 case $ac_abs_builddir in
50371 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50373 case $ac_top_srcdir in
50374 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50375 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50376 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50383 # Check for guested configure; otherwise get Cygnus style configure.
50384 if test -f $ac_srcdir/configure.gnu
; then
50385 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50386 elif test -f $ac_srcdir/configure
; then
50387 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50388 elif test -f $ac_srcdir/configure.
in; then
50389 ac_sub_configure
=$ac_configure
50391 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50392 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50396 # The recursion is here.
50397 if test -n "$ac_sub_configure"; then
50398 # Make the cache file name correct relative to the subdirectory.
50399 case $cache_file in
50400 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50401 *) # Relative path.
50402 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50405 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50406 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50407 # The eval makes quoting arguments work.
50408 eval $ac_sub_configure $ac_sub_configure_args \
50409 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50410 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50411 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50412 { (exit 1); exit 1; }; }
50421 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50423 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50424 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50426 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50427 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50428 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50430 echo " What level of wxWidgets compatibility should be enabled?"
50431 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50432 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50434 echo " Which libraries should wxWidgets use?"
50435 echo " jpeg ${wxUSE_LIBJPEG-none}"
50436 echo " png ${wxUSE_LIBPNG-none}"
50437 echo " regex ${wxUSE_REGEX}"
50438 echo " tiff ${wxUSE_LIBTIFF-none}"
50439 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50440 echo " xpm ${wxUSE_LIBXPM-none}"
50442 echo " zlib ${wxUSE_ZLIB}"
50443 echo " odbc ${wxUSE_ODBC}"
50444 echo " expat ${wxUSE_EXPAT}"
50445 echo " libmspack ${wxUSE_LIBMSPACK}"
50446 echo " sdl ${wxUSE_LIBSDL}"
50447 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50448 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50449 echo " hildon ${wxUSE_LIBHILDON-none}"