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 ac_pt_PKG_CONFIG 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_AUI_1 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_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_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_RICHTEXT_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
789 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
793 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
794 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
795 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
796 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
797 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
798 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
799 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
800 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
801 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
802 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
803 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
804 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
805 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
806 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
807 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
808 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
809 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
810 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
811 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
812 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
813 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
814 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
815 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
816 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
817 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
818 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
819 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
820 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
821 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
822 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
823 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
824 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
825 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
826 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
827 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
828 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
829 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
830 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
831 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
832 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
833 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
834 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
835 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
836 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
837 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
838 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
839 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
840 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
841 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
842 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
843 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
844 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
845 ac_env_GST_LIBS_set
=${GST_LIBS+set}
846 ac_env_GST_LIBS_value
=$GST_LIBS
847 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
848 ac_cv_env_GST_LIBS_value
=$GST_LIBS
851 # Report the --help message.
853 if test "$ac_init_help" = "long"; then
854 # Omit some internal or obsolete options to make the list less imposing.
855 # This message is too long to be a string in the A/UX 3.1 sh.
857 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
859 Usage: $0 [OPTION]... [VAR=VALUE]...
861 To assign environment variables (e.g., CC, CFLAGS...), specify them as
862 VAR=VALUE. See below for descriptions of some of the useful variables.
864 Defaults for the options are specified in brackets.
867 -h, --help display this help and exit
868 --help=short display options specific to this package
869 --help=recursive display the short help of all the included packages
870 -V, --version display version information and exit
871 -q, --quiet, --silent do not print \`checking...' messages
872 --cache-file=FILE cache test results in FILE [disabled]
873 -C, --config-cache alias for \`--cache-file=config.cache'
874 -n, --no-create do not create output files
875 --srcdir=DIR find the sources in DIR [configure dir or \`..']
880 Installation directories:
881 --prefix=PREFIX install architecture-independent files in PREFIX
883 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
886 By default, \`make install' will install all the files in
887 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
888 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
889 for instance \`--prefix=\$HOME'.
891 For better control, use the options below.
893 Fine tuning of the installation directories:
894 --bindir=DIR user executables [EPREFIX/bin]
895 --sbindir=DIR system admin executables [EPREFIX/sbin]
896 --libexecdir=DIR program executables [EPREFIX/libexec]
897 --datadir=DIR read-only architecture-independent data [PREFIX/share]
898 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
899 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
900 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
901 --libdir=DIR object code libraries [EPREFIX/lib]
902 --includedir=DIR C header files [PREFIX/include]
903 --oldincludedir=DIR C header files for non-gcc [/usr/include]
904 --infodir=DIR info documentation [PREFIX/info]
905 --mandir=DIR man documentation [PREFIX/man]
911 --x-includes=DIR X include files are
in DIR
912 --x-libraries=DIR X library files are
in DIR
915 --build=BUILD configure
for building on BUILD
[guessed
]
916 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
917 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
921 if test -n "$ac_init_help"; then
922 case $ac_init_help in
923 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
928 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
929 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
930 --enable-gui use GUI classes
931 --enable-monolithic build wxWidgets as single library
932 --enable-plugins build parts of wxWidgets as loadable components
933 --enable-universal use wxWidgets GUI controls instead of native ones
934 --enable-nanox use NanoX
935 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
936 --enable-gpe use GNOME PDA Environment features
if possible
937 --enable-shared create shared library code
938 --enable-optimise create optimised code
939 --enable-debug same as debug_flag and debug_info
940 --enable-stl use STL
for containers
941 --enable-omf use OMF object format
942 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
943 --enable-debug_info create code with debugging information
944 --enable-debug_gdb create code with extra GDB debugging information
945 --enable-debug_cntxt use wxDebugContext
946 --enable-mem_tracing create code with memory tracing
947 --enable-profile create code with profiling information
948 --enable-no_rtti create code without RTTI information
949 --enable-no_exceptions create code without C
++ exceptions handling
950 --enable-permissive compile code disregarding strict ANSI
951 --enable-no_deps create code without dependency information
952 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
953 --enable-compat24 enable wxWidgets
2.4 compatibility
954 --disable-compat26 disable wxWidgets
2.6 compatibility
955 --disable-rpath disable use of rpath
for uninstalled builds
956 --enable-intl use internationalization system
957 --enable-config use wxConfig
(and derived
) classes
958 --enable-protocols use wxProtocol and derived classes
959 --enable-ftp use wxFTP
(requires wxProtocol
960 --enable-http use wxHTTP
(requires wxProtocol
961 --enable-fileproto use wxFileProto class
(requires wxProtocol
962 --enable-sockets use socket
/network classes
963 --enable-ole use OLE classes
(Win32 only
)
964 --enable-dataobj use data object classes
965 --enable-ipc use interprocess communication
(wxSocket etc.
)
966 --enable-apple_ieee use the Apple IEEE codec
967 --enable-arcstream use wxArchive streams
968 --enable-backtrace use wxStackWalker class
for getting backtraces
969 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
970 --enable-cmdline use wxCmdLineParser class
971 --enable-datetime use wxDateTime class
972 --enable-debugreport use wxDebugReport class
973 --enable-dialupman use dialup network classes
974 --enable-dynlib use wxLibrary class
for DLL loading
975 --enable-dynamicloader use
(new
) wxDynamicLibrary class
976 --enable-exceptions build exception
-safe library
977 --enable-ffile use wxFFile class
978 --enable-file use wxFile class
979 --enable-filesystem use virtual
file systems classes
980 --enable-fontmap use font encodings conversion classes
981 --enable-fs_inet use virtual HTTP
/FTP filesystems
982 --enable-fs_zip use virtual ZIP filesystems
983 --enable-geometry use geometry class
984 --enable-log use logging system
985 --enable-longlong use wxLongLong class
986 --enable-mimetype use wxMimeTypesManager
987 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
988 --enable-snglinst use wxSingleInstanceChecker class
989 --enable-std_iostreams use standard C
++ stream classes
990 --enable-std_string use standard C
++ string classes
991 --enable-stdpaths use wxStandardPaths class
992 --enable-stopwatch use wxStopWatch class
993 --enable-streams use wxStream etc classes
994 --enable-sysoptions use wxSystemOptions
995 --enable-textbuf use wxTextBuffer class
996 --enable-textfile use wxTextFile class
997 --enable-timer use wxTimer class
998 --enable-unicode compile wxString with Unicode support
999 --enable-sound use wxSound class
1000 --enable-mediactrl use wxMediaCtrl class
1001 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1002 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1003 --enable-zipstream use wxZip streams
1004 --enable-url use wxURL class
1005 --enable-protocol use wxProtocol class
1006 --enable-protocol-http HTTP support
in wxProtocol
1007 --enable-protocol-ftp FTP support
in wxProtocol
1008 --enable-protocol-file FILE support
in wxProtocol
1009 --enable-threads use threads
1010 --enable-docview use document view architecture
1011 --enable-help use
help subsystem
1012 --enable-mshtmlhelp use MS HTML Help
(win32
)
1013 --enable-html use wxHTML sub
-library
1014 --enable-htmlhelp use wxHTML
-based help
1015 --enable-xrc use XRC resources sub
-library
1016 --enable-aui use AUI docking library
1017 --enable-constraints use layout
-constraints system
1018 --enable-printarch use printing architecture
1019 --enable-mdi use multiple document interface architecture
1020 --enable-mdidoc use docview architecture with MDI
1021 --enable-loggui use standard GUI logger
1022 --enable-logwin use wxLogWindow
1023 --enable-logdialog use wxLogDialog
1024 --enable-webkit use wxWebKitCtrl
(Mac
)
1025 --enable-richtext use wxRichTextCtrl
1026 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1027 --enable-prologio not available
; see contrib
1028 --enable-resources not available
; see contrib
1029 --enable-clipboard use wxClipboard class
1030 --enable-dnd use Drag
'n'Drop classes
1031 --enable-metafile use win32 metafiles
1032 --enable-controls use all usual controls
1033 --enable-accel use accelerators
1034 --enable-button use wxButton class
1035 --enable-bmpbutton use wxBitmapButton class
1036 --enable-calendar use wxCalendarCtrl class
1037 --enable-caret use wxCaret class
1038 --enable-checkbox use wxCheckBox class
1039 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1040 --enable-choice use wxChoice class
1041 --enable-choicebook use wxChoicebook class
1042 --enable-colourpicker use wxColourPickerCtrl class
1043 --enable-combobox use wxComboBox class
1044 --enable-comboctrl use wxComboCtrl class
1045 --enable-datepick use wxDatePickerCtrl class
1046 --enable-dirpicker use wxDirPickerCtrl class
1047 --enable-display use wxDisplay class
1048 --enable-filepicker use wxFilePickerCtrl class
1049 --enable-fontpicker use wxFontPickerCtrl class
1050 --enable-gauge use wxGauge class
1051 --enable-grid use wxGrid class
1052 --enable-dataviewctrl, use wxDataViewCtrl class
1053 --enable-hyperlink use wxHyperlinkCtrl class
1054 --enable-imaglist use wxImageList class
1055 --enable-listbook use wxListbook class
1056 --enable-listbox use wxListBox class
1057 --enable-listctrl use wxListCtrl class
1058 --enable-notebook use wxNotebook class
1059 --enable-odcombobox use wxOwnerDrawnComboBox class
1060 --enable-radiobox use wxRadioBox class
1061 --enable-radiobtn use wxRadioButton class
1062 --enable-sash use wxSashWindow class
1063 --enable-scrollbar use wxScrollBar class and scrollable windows
1064 --enable-slider use wxSlider class
1065 --enable-spinbtn use wxSpinButton class
1066 --enable-spinctrl use wxSpinCtrl class
1067 --enable-splitter use wxSplitterWindow class
1068 --enable-statbmp use wxStaticBitmap class
1069 --enable-statbox use wxStaticBox class
1070 --enable-statline use wxStaticLine class
1071 --enable-stattext use wxStaticText class
1072 --enable-statusbar use wxStatusBar class
1073 --enable-tabdialog use wxTabControl class
1074 --enable-textctrl use wxTextCtrl class
1075 --enable-togglebtn use wxToggleButton class
1076 --enable-toolbar use wxToolBar class
1077 --enable-tbarnative use native wxToolBar class
1078 --enable-treebook use wxTreebook class
1079 --enable-toolbook use wxToolbook class
1080 --enable-treectrl use wxTreeCtrl class
1081 --enable-tipwindow use wxTipWindow class
1082 --enable-popupwin use wxPopUpWindow class
1083 --enable-commondlg use all common dialogs
1084 --enable-choicedlg use wxChoiceDialog
1085 --enable-coldlg use wxColourDialog
1086 --enable-filedlg use wxFileDialog
1087 --enable-finddlg use wxFindReplaceDialog
1088 --enable-fontdlg use wxFontDialog
1089 --enable-dirdlg use wxDirDialog
1090 --enable-msgdlg use wxMessageDialog
1091 --enable-numberdlg use wxNumberEntryDialog
1092 --enable-splash use wxSplashScreen
1093 --enable-textdlg use wxTextDialog
1094 --enable-tipdlg use startup tips
1095 --enable-progressdlg use wxProgressDialog
1096 --enable-wizarddlg use wxWizard
1097 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1098 --enable-miniframe use wxMiniFrame class
1099 --enable-tooltips use wxToolTip class
1100 --enable-splines use spline drawing code
1101 --enable-mousewheel use mousewheel
1102 --enable-validators use wxValidator and derived classes
1103 --enable-busyinfo use wxBusyInfo
1104 --enable-joystick use wxJoystick
1105 --enable-metafiles use wxMetaFile
(Win32 only
)
1106 --enable-dragimage use wxDragImage
1107 --enable-accessibility enable accessibility support
1108 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1109 --enable-palette use wxPalette class
1110 --enable-image use wxImage class
1111 --enable-gif use gif images
(GIF
file format
)
1112 --enable-pcx use pcx images
(PCX
file format
)
1113 --enable-iff use iff images
(IFF
file format
)
1114 --enable-pnm use pnm images
(PNM
file format
)
1115 --enable-xpm use xpm images
(XPM
file format
)
1116 --enable-icocur use Windows ICO and CUR formats
1117 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1118 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1119 --disable-largefile omit support
for large files
1120 --disable-gtktest do not try to compile and run a
test GTK
+ program
1121 --disable-gtktest Do not try to compile and run a
test GTK program
1122 --disable-sdltest Do not try to compile and run a
test SDL program
1123 --enable-omf use OMF object format
(OS
/2)
1124 --disable-dependency-tracking
1125 don
't use dependency tracking even if the compiler
1127 --disable-precomp-headers
1128 don't use precompiled headers even
if compiler can
1131 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1132 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1133 --without-subdirs don
't generate makefiles for samples/demos/...
1134 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1135 --with-motif use Motif/Lesstif
1136 --with-mac use Mac OS X
1137 --with-cocoa use Cocoa
1138 --with-wine use Wine
1139 --with-msw use MS-Windows
1140 --with-pm use OS/2 Presentation Manager
1141 --with-mgl use SciTech MGL
1142 --with-microwin use MicroWindows
1144 --with-libpng use libpng (PNG image format)
1145 --with-libjpeg use libjpeg (JPEG file format)
1146 --with-libtiff use libtiff (TIFF file format)
1147 --with-libxpm use libxpm (XPM file format)
1148 --with-libmspack use libmspack (CHM help files loading)
1149 --with-sdl use SDL for audio on Unix
1150 --with-gnomeprint use GNOME print for printing under GNOME
1151 --with-gnomevfs use GNOME VFS for associating MIME types
1152 --with-hildon use Hildon framework for Nokia 770
1153 --with-opengl use OpenGL (or Mesa)
1154 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1155 --with-regex enable support for wxRegEx class
1156 --with-zlib use zlib for LZW compression
1157 --with-odbc use the IODBC and wxODBC classes
1158 --with-expat enable XML support using expat parser
1159 --with-flavour=NAME specify a name to identify this build
1160 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1161 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1162 --with-x use the X Window System
1163 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1164 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1165 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1166 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1167 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1169 Some influential environment variables:
1170 CC C compiler command
1171 CFLAGS C compiler flags
1172 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1173 nonstandard directory <lib dir>
1174 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1175 headers in a nonstandard directory <include dir>
1177 CXX C++ compiler command
1178 CXXFLAGS C++ compiler flags
1179 CXXCPP C++ preprocessor
1180 PKG_CONFIG path to pkg-config utility
1182 C compiler flags for PANGOX, overriding pkg-config
1183 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1185 C compiler flags for PANGOFT2, overriding pkg-config
1187 linker flags for PANGOFT2, overriding pkg-config
1189 C compiler flags for PANGOXFT, overriding pkg-config
1191 linker flags for PANGOXFT, overriding pkg-config
1192 LIBGNOMEPRINTUI_CFLAGS
1193 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1194 LIBGNOMEPRINTUI_LIBS
1195 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1197 C compiler flags for GNOMEVFS, overriding pkg-config
1199 linker flags for GNOMEVFS, overriding pkg-config
1201 C compiler flags for HILDON, overriding pkg-config
1202 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1203 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1204 GST_LIBS linker flags for GST, overriding pkg-config
1206 Use these variables to override the choices made by `configure' or to
help
1207 it to
find libraries and programs with nonstandard names
/locations.
1209 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1213 if test "$ac_init_help" = "recursive"; then
1214 # If there are subdirs, report their specific --help.
1216 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1217 test -d $ac_dir || continue
1220 if test "$ac_dir" != .
; then
1221 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1222 # A "../" for each directory in $ac_dir_suffix.
1223 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1225 ac_dir_suffix
= ac_top_builddir
=
1229 .
) # No --srcdir option. We are building in place.
1231 if test -z "$ac_top_builddir"; then
1234 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1236 [\\/]* | ?
:[\\/]* ) # Absolute path.
1237 ac_srcdir
=$srcdir$ac_dir_suffix;
1238 ac_top_srcdir
=$srcdir ;;
1240 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1241 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1244 # Do not use `cd foo && pwd` to compute absolute paths, because
1245 # the directories may not exist.
1247 .
) ac_abs_builddir
="$ac_dir";;
1250 .
) ac_abs_builddir
=`pwd`;;
1251 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1252 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1255 case $ac_abs_builddir in
1256 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1258 case ${ac_top_builddir}.
in
1259 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1260 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1261 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1264 case $ac_abs_builddir in
1265 .
) ac_abs_srcdir
=$ac_srcdir;;
1268 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1269 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1270 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1273 case $ac_abs_builddir in
1274 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1276 case $ac_top_srcdir in
1277 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1278 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1279 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1284 # Check for guested configure; otherwise get Cygnus style configure.
1285 if test -f $ac_srcdir/configure.gnu
; then
1287 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1288 elif test -f $ac_srcdir/configure
; then
1290 $SHELL $ac_srcdir/configure
--help=recursive
1291 elif test -f $ac_srcdir/configure.ac
||
1292 test -f $ac_srcdir/configure.
in; then
1294 $ac_configure --help
1296 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1302 test -n "$ac_init_help" && exit 0
1303 if $ac_init_version; then
1305 wxWidgets configure
2.7.0
1306 generated by GNU Autoconf
2.59
1308 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1309 This configure
script is free software
; the Free Software Foundation
1310 gives unlimited permission to copy
, distribute and modify it.
1316 This file contains any messages produced by compilers while
1317 running configure, to aid debugging if configure makes a mistake.
1319 It was created by wxWidgets $as_me 2.7.0, which was
1320 generated by GNU Autoconf 2.59. Invocation command line was
1331 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1332 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1333 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1334 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1335 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1337 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1338 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1340 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1341 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1342 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1343 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1344 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1345 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1346 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1354 test -z "$as_dir" && as_dir
=.
1355 echo "PATH: $as_dir"
1370 # Keep a trace of the command line.
1371 # Strip out --no-create and --no-recursion so they do not pile up.
1372 # Strip out --silent because we don't want to record it for future runs.
1373 # Also quote any args containing shell meta-characters.
1374 # Make two passes to allow for proper duplicate-argument suppression.
1379 ac_must_keep_next
=false
1385 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1386 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1387 | -silent | --silent | --silen | --sile | --sil)
1389 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1390 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1393 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1395 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1396 if test $ac_must_keep_next = true
; then
1397 ac_must_keep_next
=false
# Got value, back to normal.
1400 *=* | --config-cache | -C | -disable-* | --disable-* \
1401 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1402 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1403 | -with-* | --with-* | -without-* | --without-* | --x)
1404 case "$ac_configure_args0 " in
1405 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1408 -* ) ac_must_keep_next
=true
;;
1411 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1412 # Get rid of the leading space.
1418 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1419 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1421 # When interrupted or exit'd, cleanup temporary files, and complete
1422 # config.log. We remove comments because anyway the quotes in there
1423 # would cause problems or look ugly.
1424 # WARNING: Be sure not to use single quotes in there, as some shells,
1425 # such as our DU 5.0 friend, will then `close' the trap.
1426 trap 'exit_status=$?
1427 # Save into config.log some information that might help in debugging.
1432 ## ---------------- ##
1433 ## Cache variables. ##
1434 ## ---------------- ##
1437 # The following way of writing the cache mishandles newlines in values,
1440 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1443 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1444 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1448 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1455 ## ----------------- ##
1456 ## Output variables. ##
1457 ## ----------------- ##
1460 for ac_var in $ac_subst_vars
1462 eval ac_val=$`echo $ac_var`
1463 echo "$ac_var='"'"'$ac_val'"'"'"
1467 if test -n "$ac_subst_files"; then
1474 for ac_var in $ac_subst_files
1476 eval ac_val=$`echo $ac_var`
1477 echo "$ac_var='"'"'$ac_val'"'"'"
1482 if test -s confdefs.h; then
1489 sed "/^$/d" confdefs.h | sort
1492 test "$ac_signal" != 0 &&
1493 echo "$as_me: caught signal $ac_signal"
1494 echo "$as_me: exit $exit_status"
1496 rm -f core *.core &&
1497 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1500 for ac_signal
in 1 2 13 15; do
1501 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1505 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1506 rm -rf conftest
* confdefs.h
1507 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1510 # Predefined preprocessor variables.
1512 cat >>confdefs.h
<<_ACEOF
1513 #define PACKAGE_NAME "$PACKAGE_NAME"
1517 cat >>confdefs.h
<<_ACEOF
1518 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1522 cat >>confdefs.h
<<_ACEOF
1523 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1527 cat >>confdefs.h
<<_ACEOF
1528 #define PACKAGE_STRING "$PACKAGE_STRING"
1532 cat >>confdefs.h
<<_ACEOF
1533 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1537 # Let the site file select an alternate cache file if it wants to.
1538 # Prefer explicitly selected file to automatically selected ones.
1539 if test -z "$CONFIG_SITE"; then
1540 if test "x$prefix" != xNONE
; then
1541 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1543 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1546 for ac_site_file
in $CONFIG_SITE; do
1547 if test -r "$ac_site_file"; then
1548 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1549 echo "$as_me: loading site script $ac_site_file" >&6;}
1550 sed 's/^/| /' "$ac_site_file" >&5
1555 if test -r "$cache_file"; then
1556 # Some versions of bash will fail to source /dev/null (special
1557 # files actually), so we avoid doing that.
1558 if test -f "$cache_file"; then
1559 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1560 echo "$as_me: loading cache $cache_file" >&6;}
1562 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1563 *) . .
/$cache_file;;
1567 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1568 echo "$as_me: creating cache $cache_file" >&6;}
1572 # Check that the precious variables saved in the cache have kept the same
1574 ac_cache_corrupted
=false
1575 for ac_var
in `(set) 2>&1 |
1576 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1577 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1578 eval ac_new_set
=\
$ac_env_${ac_var}_set
1579 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1580 eval ac_new_val
="\$ac_env_${ac_var}_value"
1581 case $ac_old_set,$ac_new_set in
1583 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1584 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1585 ac_cache_corrupted
=: ;;
1587 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1588 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1589 ac_cache_corrupted
=: ;;
1592 if test "x$ac_old_val" != "x$ac_new_val"; then
1593 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1594 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1595 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1596 echo "$as_me: former value: $ac_old_val" >&2;}
1597 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1598 echo "$as_me: current value: $ac_new_val" >&2;}
1599 ac_cache_corrupted
=:
1602 # Pass precious variables to config.status.
1603 if test "$ac_new_set" = set; then
1605 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1606 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1607 *) ac_arg
=$ac_var=$ac_new_val ;;
1609 case " $ac_configure_args " in
1610 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1611 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1615 if $ac_cache_corrupted; then
1616 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1617 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1618 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1619 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1620 { (exit 1); exit 1; }; }
1624 ac_cpp
='$CPP $CPPFLAGS'
1625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1659 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1660 if test -f $ac_dir/install-sh; then
1662 ac_install_sh
="$ac_aux_dir/install-sh -c"
1664 elif test -f $ac_dir/install.sh
; then
1666 ac_install_sh
="$ac_aux_dir/install.sh -c"
1668 elif test -f $ac_dir/shtool
; then
1670 ac_install_sh
="$ac_aux_dir/shtool install -c"
1674 if test -z "$ac_aux_dir"; then
1675 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1676 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1677 { (exit 1); exit 1; }; }
1679 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1680 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1681 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1683 # Make sure we can run config.sub.
1684 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1685 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1686 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1687 { (exit 1); exit 1; }; }
1689 echo "$as_me:$LINENO: checking build system type" >&5
1690 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1691 if test "${ac_cv_build+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1694 ac_cv_build_alias
=$build_alias
1695 test -z "$ac_cv_build_alias" &&
1696 ac_cv_build_alias
=`$ac_config_guess`
1697 test -z "$ac_cv_build_alias" &&
1698 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1699 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1700 { (exit 1); exit 1; }; }
1701 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1702 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1703 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1704 { (exit 1); exit 1; }; }
1707 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1708 echo "${ECHO_T}$ac_cv_build" >&6
1710 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1711 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1712 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1715 echo "$as_me:$LINENO: checking host system type" >&5
1716 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1717 if test "${ac_cv_host+set}" = set; then
1718 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 ac_cv_host_alias
=$host_alias
1721 test -z "$ac_cv_host_alias" &&
1722 ac_cv_host_alias
=$ac_cv_build_alias
1723 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1724 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1725 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1726 { (exit 1); exit 1; }; }
1729 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1730 echo "${ECHO_T}$ac_cv_host" >&6
1732 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1733 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1734 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1737 echo "$as_me:$LINENO: checking target system type" >&5
1738 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1739 if test "${ac_cv_target+set}" = set; then
1740 echo $ECHO_N "(cached) $ECHO_C" >&6
1742 ac_cv_target_alias
=$target_alias
1743 test "x$ac_cv_target_alias" = "x" &&
1744 ac_cv_target_alias
=$ac_cv_host_alias
1745 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1746 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1747 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1748 { (exit 1); exit 1; }; }
1751 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1752 echo "${ECHO_T}$ac_cv_target" >&6
1753 target
=$ac_cv_target
1754 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1755 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1756 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1759 # The aliases save the names the user supplied, while $host etc.
1760 # will get canonicalized.
1761 test -n "$target_alias" &&
1762 test "$program_prefix$program_suffix$program_transform_name" = \
1764 program_prefix
=${target_alias}-
1768 wx_major_version_number
=2
1769 wx_minor_version_number
=7
1771 wx_subrelease_number
=0
1773 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1774 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1775 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1777 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1790 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1796 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1802 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1804 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1806 DEFAULT_wxUSE_COCOA
=0
1810 DEFAULT_wxUSE_MICROWIN
=0
1811 DEFAULT_wxUSE_MOTIF
=0
1816 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1817 DEFAULT_DEFAULT_wxUSE_GTK
=0
1818 DEFAULT_DEFAULT_wxUSE_MAC
=0
1819 DEFAULT_DEFAULT_wxUSE_MGL
=0
1820 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1821 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1822 DEFAULT_DEFAULT_wxUSE_MSW
=0
1823 DEFAULT_DEFAULT_wxUSE_PM
=0
1824 DEFAULT_DEFAULT_wxUSE_X11
=0
1829 SAMPLES_RPATH_POSTLINK
=
1831 DEFAULT_STD_FLAG
=yes
1836 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1837 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1839 cat >>confdefs.h
<<\_ACEOF
1844 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1848 cat >>confdefs.h
<<\_ACEOF
1853 if test "x$TMP" = "xalpha"; then
1855 cat >>confdefs.h
<<\_ACEOF
1860 DEFAULT_DEFAULT_wxUSE_GTK
=1
1862 *-*-gnu* | *-*-k*bsd
*-gnu )
1865 if test "x$TMP" = "xalpha"; then
1867 cat >>confdefs.h
<<\_ACEOF
1872 DEFAULT_DEFAULT_wxUSE_GTK
=1
1874 *-*-irix5* | *-*-irix6* )
1877 cat >>confdefs.h
<<\_ACEOF
1881 cat >>confdefs.h
<<\_ACEOF
1885 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1891 cat >>confdefs.h
<<\_ACEOF
1895 cat >>confdefs.h
<<\_ACEOF
1896 #define __SOLARIS__ 1
1899 cat >>confdefs.h
<<\_ACEOF
1903 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1904 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1910 cat >>confdefs.h
<<\_ACEOF
1914 cat >>confdefs.h
<<\_ACEOF
1918 cat >>confdefs.h
<<\_ACEOF
1922 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1927 cat >>confdefs.h
<<\_ACEOF
1928 #define __FREEBSD__ 1
1931 cat >>confdefs.h
<<\_ACEOF
1935 DEFAULT_DEFAULT_wxUSE_GTK
=1
1937 *-*-openbsd*|*-*-mirbsd*)
1940 cat >>confdefs.h
<<\_ACEOF
1941 #define __OPENBSD__ 1
1944 cat >>confdefs.h
<<\_ACEOF
1948 DEFAULT_DEFAULT_wxUSE_GTK
=1
1953 cat >>confdefs.h
<<\_ACEOF
1954 #define __NETBSD__ 1
1957 cat >>confdefs.h
<<\_ACEOF
1961 DEFAULT_DEFAULT_wxUSE_GTK
=1
1962 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1964 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1969 cat >>confdefs.h
<<\_ACEOF
1973 cat >>confdefs.h
<<\_ACEOF
1977 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1978 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1983 cat >>confdefs.h
<<\_ACEOF
1987 cat >>confdefs.h
<<\_ACEOF
1991 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1996 cat >>confdefs.h
<<\_ACEOF
2000 cat >>confdefs.h
<<\_ACEOF
2004 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2011 cat >>confdefs.h
<<\_ACEOF
2015 cat >>confdefs.h
<<\_ACEOF
2019 cat >>confdefs.h
<<\_ACEOF
2023 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2030 cat >>confdefs.h
<<\_ACEOF
2031 #define __UNIXWARE__ 1
2036 *-*-cygwin* | *-*-mingw32* )
2039 DEFAULT_DEFAULT_wxUSE_MSW
=1
2046 cat >>confdefs.h
<<\_ACEOF
2051 DEFAULT_DEFAULT_wxUSE_MGL
=1
2054 *-pc-os2_emx | *-pc-os2-emx )
2055 cat >>confdefs.h
<<\_ACEOF
2060 cat >>confdefs.h
<<\_ACEOF
2065 DEFAULT_DEFAULT_wxUSE_PM
=1
2067 LDFLAGS
="$LDFLAGS -Zcrtdll"
2068 ac_executable_extensions
=".exe"
2069 export ac_executable_extensions
2073 for ac_dir
in $PATH; do
2075 if test -z "$ac_TEMP_PATH"; then
2076 ac_TEMP_PATH
="$ac_dir"
2078 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2081 export PATH
="$ac_TEMP_PATH"
2090 cat >>confdefs.h
<<\_ACEOF
2094 cat >>confdefs.h
<<\_ACEOF
2095 #define __DARWIN__ 1
2098 cat >>confdefs.h
<<\_ACEOF
2099 #define TARGET_CARBON 1
2102 DEFAULT_DEFAULT_wxUSE_MAC
=1
2105 powerpc
-apple-macos* )
2107 ac_cv_c_bigendian
=yes
2109 DEFAULT_DEFAULT_wxUSE_MAC
=1
2115 cat >>confdefs.h
<<\_ACEOF
2122 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2123 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2124 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2125 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2127 DEFAULT_DEFAULT_wxUSE_X11
=1
2128 DEFAULT_wxUSE_SHARED
=no
2134 wx_arg_cache_file
="configarg.cache"
2135 echo "loading argument cache $wx_arg_cache_file"
2136 rm -f ${wx_arg_cache_file}.tmp
2137 touch ${wx_arg_cache_file}.tmp
2138 touch ${wx_arg_cache_file}
2142 if test $DEBUG_CONFIGURE = 1; then
2143 DEFAULT_wxUSE_UNIVERSAL
=no
2144 DEFAULT_wxUSE_STL
=no
2146 DEFAULT_wxUSE_NANOX
=no
2148 DEFAULT_wxUSE_THREADS
=yes
2150 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2151 DEFAULT_wxUSE_OPTIMISE
=no
2152 DEFAULT_wxUSE_PROFILE
=no
2153 DEFAULT_wxUSE_NO_DEPS
=no
2154 DEFAULT_wxUSE_NO_RTTI
=no
2155 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2156 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2157 DEFAULT_wxUSE_RPATH
=yes
2158 DEFAULT_wxUSE_PERMISSIVE
=no
2159 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2160 DEFAULT_wxUSE_DEBUG_INFO
=yes
2161 DEFAULT_wxUSE_DEBUG_GDB
=yes
2162 DEFAULT_wxUSE_MEM_TRACING
=no
2163 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2164 DEFAULT_wxUSE_DMALLOC
=no
2165 DEFAULT_wxUSE_APPLE_IEEE
=no
2167 DEFAULT_wxUSE_EXCEPTIONS
=no
2168 DEFAULT_wxUSE_LOG
=yes
2169 DEFAULT_wxUSE_LOGWINDOW
=no
2170 DEFAULT_wxUSE_LOGGUI
=no
2171 DEFAULT_wxUSE_LOGDIALOG
=no
2173 DEFAULT_wxUSE_GUI
=yes
2174 DEFAULT_wxUSE_CONTROLS
=no
2176 DEFAULT_wxUSE_REGEX
=no
2177 DEFAULT_wxUSE_XML
=no
2178 DEFAULT_wxUSE_EXPAT
=no
2179 DEFAULT_wxUSE_ZLIB
=no
2180 DEFAULT_wxUSE_LIBPNG
=no
2181 DEFAULT_wxUSE_LIBJPEG
=no
2182 DEFAULT_wxUSE_LIBTIFF
=no
2183 DEFAULT_wxUSE_LIBXPM
=no
2184 DEFAULT_wxUSE_LIBMSPACK
=no
2185 DEFAULT_wxUSE_LIBSDL
=no
2186 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2187 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2188 DEFAULT_wxUSE_LIBHILDON
=no
2189 DEFAULT_wxUSE_ODBC
=no
2190 DEFAULT_wxUSE_OPENGL
=no
2192 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2193 DEFAULT_wxUSE_STACKWALKER
=no
2194 DEFAULT_wxUSE_DEBUGREPORT
=no
2195 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2196 DEFAULT_wxUSE_STD_IOSTREAM
=no
2197 DEFAULT_wxUSE_STD_STRING
=no
2198 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2199 DEFAULT_wxUSE_DATETIME
=no
2200 DEFAULT_wxUSE_TIMER
=no
2201 DEFAULT_wxUSE_STOPWATCH
=no
2202 DEFAULT_wxUSE_FILE
=no
2203 DEFAULT_wxUSE_FFILE
=no
2204 DEFAULT_wxUSE_STDPATHS
=no
2205 DEFAULT_wxUSE_TEXTBUFFER
=no
2206 DEFAULT_wxUSE_TEXTFILE
=no
2207 DEFAULT_wxUSE_SOUND
=no
2208 DEFAULT_wxUSE_MEDIACTRL
=no
2209 DEFAULT_wxUSE_GSTREAMER8
=no
2210 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2211 DEFAULT_wxUSE_INTL
=no
2212 DEFAULT_wxUSE_CONFIG
=no
2213 DEFAULT_wxUSE_FONTMAP
=no
2214 DEFAULT_wxUSE_STREAMS
=no
2215 DEFAULT_wxUSE_SOCKETS
=no
2216 DEFAULT_wxUSE_OLE
=no
2217 DEFAULT_wxUSE_DATAOBJ
=no
2218 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2219 DEFAULT_wxUSE_JOYSTICK
=no
2220 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2221 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2222 DEFAULT_wxUSE_LONGLONG
=no
2223 DEFAULT_wxUSE_GEOMETRY
=no
2225 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2226 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2227 DEFAULT_wxUSE_POSTSCRIPT
=no
2229 DEFAULT_wxUSE_CLIPBOARD
=no
2230 DEFAULT_wxUSE_TOOLTIPS
=no
2231 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2232 DEFAULT_wxUSE_DRAGIMAGE
=no
2233 DEFAULT_wxUSE_SPLINES
=no
2234 DEFAULT_wxUSE_MOUSEWHEEL
=no
2236 DEFAULT_wxUSE_MDI
=no
2237 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2238 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2239 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2241 DEFAULT_wxUSE_RESOURCES
=no
2242 DEFAULT_wxUSE_CONSTRAINTS
=no
2243 DEFAULT_wxUSE_IPC
=no
2244 DEFAULT_wxUSE_HELP
=no
2245 DEFAULT_wxUSE_MS_HTML_HELP
=no
2246 DEFAULT_wxUSE_WXHTML_HELP
=no
2247 DEFAULT_wxUSE_TREELAYOUT
=no
2248 DEFAULT_wxUSE_METAFILE
=no
2249 DEFAULT_wxUSE_MIMETYPE
=no
2250 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2251 DEFAULT_wxUSE_PROTOCOL
=no
2252 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2253 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2254 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2255 DEFAULT_wxUSE_URL
=no
2257 DEFAULT_wxUSE_COMMONDLGS
=no
2258 DEFAULT_wxUSE_CHOICEDLG
=no
2259 DEFAULT_wxUSE_COLOURDLG
=no
2260 DEFAULT_wxUSE_DIRDLG
=no
2261 DEFAULT_wxUSE_FILEDLG
=no
2262 DEFAULT_wxUSE_FINDREPLDLG
=no
2263 DEFAULT_wxUSE_FONTDLG
=no
2264 DEFAULT_wxUSE_MSGDLG
=no
2265 DEFAULT_wxUSE_NUMBERDLG
=no
2266 DEFAULT_wxUSE_TEXTDLG
=no
2267 DEFAULT_wxUSE_SPLASH
=no
2268 DEFAULT_wxUSE_STARTUP_TIPS
=no
2269 DEFAULT_wxUSE_PROGRESSDLG
=no
2270 DEFAULT_wxUSE_WIZARDDLG
=no
2272 DEFAULT_wxUSE_MENUS
=no
2273 DEFAULT_wxUSE_MINIFRAME
=no
2274 DEFAULT_wxUSE_HTML
=no
2275 DEFAULT_wxUSE_RICHTEXT
=no
2276 DEFAULT_wxUSE_XRC
=no
2277 DEFAULT_wxUSE_AUI
=no
2278 DEFAULT_wxUSE_WEBKIT
=no
2279 DEFAULT_wxUSE_FILESYSTEM
=no
2280 DEFAULT_wxUSE_FS_INET
=no
2281 DEFAULT_wxUSE_FS_ZIP
=no
2282 DEFAULT_wxUSE_BUSYINFO
=no
2283 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2284 DEFAULT_wxUSE_ZIPSTREAM
=no
2285 DEFAULT_wxUSE_VALIDATORS
=no
2287 DEFAULT_wxUSE_ACCEL
=no
2288 DEFAULT_wxUSE_BUTTON
=no
2289 DEFAULT_wxUSE_BMPBUTTON
=no
2290 DEFAULT_wxUSE_CALCTRL
=no
2291 DEFAULT_wxUSE_CARET
=no
2292 DEFAULT_wxUSE_CHECKBOX
=no
2293 DEFAULT_wxUSE_CHECKLST
=no
2294 DEFAULT_wxUSE_CHOICE
=no
2295 DEFAULT_wxUSE_CHOICEBOOK
=no
2296 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2297 DEFAULT_wxUSE_COMBOBOX
=no
2298 DEFAULT_wxUSE_COMBOCTRL
=no
2299 DEFAULT_wxUSE_DATEPICKCTRL
=no
2300 DEFAULT_wxUSE_DISPLAY
=no
2301 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2302 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2303 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2304 DEFAULT_wxUSE_GAUGE
=no
2305 DEFAULT_wxUSE_GRID
=no
2306 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2307 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2308 DEFAULT_wxUSE_IMAGLIST
=no
2309 DEFAULT_wxUSE_LISTBOOK
=no
2310 DEFAULT_wxUSE_LISTBOX
=no
2311 DEFAULT_wxUSE_LISTCTRL
=no
2312 DEFAULT_wxUSE_NOTEBOOK
=no
2313 DEFAULT_wxUSE_ODCOMBOBOX
=no
2314 DEFAULT_wxUSE_RADIOBOX
=no
2315 DEFAULT_wxUSE_RADIOBTN
=no
2316 DEFAULT_wxUSE_SASH
=no
2317 DEFAULT_wxUSE_SCROLLBAR
=no
2318 DEFAULT_wxUSE_SLIDER
=no
2319 DEFAULT_wxUSE_SPINBTN
=no
2320 DEFAULT_wxUSE_SPINCTRL
=no
2321 DEFAULT_wxUSE_SPLITTER
=no
2322 DEFAULT_wxUSE_STATBMP
=no
2323 DEFAULT_wxUSE_STATBOX
=no
2324 DEFAULT_wxUSE_STATLINE
=no
2325 DEFAULT_wxUSE_STATTEXT
=no
2326 DEFAULT_wxUSE_STATUSBAR
=yes
2327 DEFAULT_wxUSE_TAB_DIALOG
=no
2328 DEFAULT_wxUSE_TEXTCTRL
=no
2329 DEFAULT_wxUSE_TOGGLEBTN
=no
2330 DEFAULT_wxUSE_TOOLBAR
=no
2331 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2332 DEFAULT_wxUSE_TREEBOOK
=no
2333 DEFAULT_wxUSE_TOOLBOOK
=no
2334 DEFAULT_wxUSE_TREECTRL
=no
2335 DEFAULT_wxUSE_POPUPWIN
=no
2336 DEFAULT_wxUSE_TIPWINDOW
=no
2338 DEFAULT_wxUSE_UNICODE
=no
2339 DEFAULT_wxUSE_UNICODE_MSLU
=no
2340 DEFAULT_wxUSE_WCSRTOMBS
=no
2342 DEFAULT_wxUSE_PALETTE
=no
2343 DEFAULT_wxUSE_IMAGE
=no
2344 DEFAULT_wxUSE_GIF
=no
2345 DEFAULT_wxUSE_PCX
=no
2346 DEFAULT_wxUSE_PNM
=no
2347 DEFAULT_wxUSE_IFF
=no
2348 DEFAULT_wxUSE_XPM
=no
2349 DEFAULT_wxUSE_ICO_CUR
=no
2350 DEFAULT_wxUSE_ACCESSIBILITY
=no
2352 DEFAULT_wxUSE_MONOLITHIC
=no
2353 DEFAULT_wxUSE_PLUGINS
=no
2354 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2356 DEFAULT_wxUSE_UNIVERSAL
=no
2357 DEFAULT_wxUSE_STL
=no
2359 DEFAULT_wxUSE_NANOX
=no
2361 DEFAULT_wxUSE_THREADS
=yes
2363 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2364 DEFAULT_wxUSE_OPTIMISE
=yes
2365 DEFAULT_wxUSE_PROFILE
=no
2366 DEFAULT_wxUSE_NO_DEPS
=no
2367 DEFAULT_wxUSE_NO_RTTI
=no
2368 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2369 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2370 DEFAULT_wxUSE_RPATH
=yes
2371 DEFAULT_wxUSE_PERMISSIVE
=no
2372 DEFAULT_wxUSE_DEBUG_FLAG
=no
2373 DEFAULT_wxUSE_DEBUG_INFO
=no
2374 DEFAULT_wxUSE_DEBUG_GDB
=no
2375 DEFAULT_wxUSE_MEM_TRACING
=no
2376 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2377 DEFAULT_wxUSE_DMALLOC
=no
2378 DEFAULT_wxUSE_APPLE_IEEE
=yes
2380 DEFAULT_wxUSE_EXCEPTIONS
=yes
2381 DEFAULT_wxUSE_LOG
=yes
2382 DEFAULT_wxUSE_LOGWINDOW
=yes
2383 DEFAULT_wxUSE_LOGGUI
=yes
2384 DEFAULT_wxUSE_LOGDIALOG
=yes
2386 DEFAULT_wxUSE_GUI
=yes
2388 DEFAULT_wxUSE_REGEX
=yes
2389 DEFAULT_wxUSE_XML
=yes
2390 DEFAULT_wxUSE_EXPAT
=yes
2391 DEFAULT_wxUSE_ZLIB
=yes
2392 DEFAULT_wxUSE_LIBPNG
=yes
2393 DEFAULT_wxUSE_LIBJPEG
=yes
2394 DEFAULT_wxUSE_LIBTIFF
=yes
2395 DEFAULT_wxUSE_LIBXPM
=yes
2396 DEFAULT_wxUSE_LIBMSPACK
=yes
2397 DEFAULT_wxUSE_LIBSDL
=no
2398 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2399 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2400 DEFAULT_wxUSE_LIBHILDON
=no
2401 DEFAULT_wxUSE_ODBC
=no
2402 DEFAULT_wxUSE_OPENGL
=no
2404 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2405 DEFAULT_wxUSE_STACKWALKER
=yes
2406 DEFAULT_wxUSE_DEBUGREPORT
=yes
2407 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2408 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2409 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2410 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2411 DEFAULT_wxUSE_DATETIME
=yes
2412 DEFAULT_wxUSE_TIMER
=yes
2413 DEFAULT_wxUSE_STOPWATCH
=yes
2414 DEFAULT_wxUSE_FILE
=yes
2415 DEFAULT_wxUSE_FFILE
=yes
2416 DEFAULT_wxUSE_STDPATHS
=yes
2417 DEFAULT_wxUSE_TEXTBUFFER
=yes
2418 DEFAULT_wxUSE_TEXTFILE
=yes
2419 DEFAULT_wxUSE_SOUND
=yes
2420 DEFAULT_wxUSE_MEDIACTRL
=no
2421 DEFAULT_wxUSE_GSTREAMER8
=no
2422 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2423 DEFAULT_wxUSE_INTL
=yes
2424 DEFAULT_wxUSE_CONFIG
=yes
2425 DEFAULT_wxUSE_FONTMAP
=yes
2426 DEFAULT_wxUSE_STREAMS
=yes
2427 DEFAULT_wxUSE_SOCKETS
=yes
2428 DEFAULT_wxUSE_OLE
=yes
2429 DEFAULT_wxUSE_DATAOBJ
=yes
2430 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2431 DEFAULT_wxUSE_JOYSTICK
=yes
2432 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2433 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2434 DEFAULT_wxUSE_LONGLONG
=yes
2435 DEFAULT_wxUSE_GEOMETRY
=yes
2437 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2438 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2439 DEFAULT_wxUSE_POSTSCRIPT
=yes
2441 DEFAULT_wxUSE_CLIPBOARD
=yes
2442 DEFAULT_wxUSE_TOOLTIPS
=yes
2443 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2444 DEFAULT_wxUSE_DRAGIMAGE
=yes
2445 DEFAULT_wxUSE_SPLINES
=yes
2446 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2448 DEFAULT_wxUSE_MDI
=yes
2449 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2450 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2451 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2453 DEFAULT_wxUSE_RESOURCES
=no
2454 DEFAULT_wxUSE_CONSTRAINTS
=yes
2455 DEFAULT_wxUSE_IPC
=yes
2456 DEFAULT_wxUSE_HELP
=yes
2457 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2458 DEFAULT_wxUSE_WXHTML_HELP
=yes
2459 DEFAULT_wxUSE_TREELAYOUT
=yes
2460 DEFAULT_wxUSE_METAFILE
=yes
2461 DEFAULT_wxUSE_MIMETYPE
=yes
2462 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2463 DEFAULT_wxUSE_PROTOCOL
=yes
2464 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2465 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2466 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2467 DEFAULT_wxUSE_URL
=yes
2469 DEFAULT_wxUSE_COMMONDLGS
=yes
2470 DEFAULT_wxUSE_CHOICEDLG
=yes
2471 DEFAULT_wxUSE_COLOURDLG
=yes
2472 DEFAULT_wxUSE_DIRDLG
=yes
2473 DEFAULT_wxUSE_FILEDLG
=yes
2474 DEFAULT_wxUSE_FINDREPLDLG
=yes
2475 DEFAULT_wxUSE_FONTDLG
=yes
2476 DEFAULT_wxUSE_MSGDLG
=yes
2477 DEFAULT_wxUSE_NUMBERDLG
=yes
2478 DEFAULT_wxUSE_TEXTDLG
=yes
2479 DEFAULT_wxUSE_SPLASH
=yes
2480 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2481 DEFAULT_wxUSE_PROGRESSDLG
=yes
2482 DEFAULT_wxUSE_WIZARDDLG
=yes
2484 DEFAULT_wxUSE_MENUS
=yes
2485 DEFAULT_wxUSE_MINIFRAME
=yes
2486 DEFAULT_wxUSE_HTML
=yes
2487 DEFAULT_wxUSE_RICHTEXT
=yes
2488 DEFAULT_wxUSE_XRC
=yes
2489 DEFAULT_wxUSE_AUI
=yes
2490 DEFAULT_wxUSE_WEBKIT
=yes
2491 DEFAULT_wxUSE_FILESYSTEM
=yes
2492 DEFAULT_wxUSE_FS_INET
=yes
2493 DEFAULT_wxUSE_FS_ZIP
=yes
2494 DEFAULT_wxUSE_BUSYINFO
=yes
2495 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2496 DEFAULT_wxUSE_ZIPSTREAM
=yes
2497 DEFAULT_wxUSE_VALIDATORS
=yes
2499 DEFAULT_wxUSE_ACCEL
=yes
2500 DEFAULT_wxUSE_BUTTON
=yes
2501 DEFAULT_wxUSE_BMPBUTTON
=yes
2502 DEFAULT_wxUSE_CALCTRL
=yes
2503 DEFAULT_wxUSE_CARET
=yes
2504 DEFAULT_wxUSE_CHECKBOX
=yes
2505 DEFAULT_wxUSE_CHECKLST
=yes
2506 DEFAULT_wxUSE_CHOICE
=yes
2507 DEFAULT_wxUSE_CHOICEBOOK
=yes
2508 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2509 DEFAULT_wxUSE_COMBOBOX
=yes
2510 DEFAULT_wxUSE_COMBOCTRL
=yes
2511 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2512 DEFAULT_wxUSE_DISPLAY
=yes
2513 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2514 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2515 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2516 DEFAULT_wxUSE_GAUGE
=yes
2517 DEFAULT_wxUSE_GRID
=yes
2518 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2519 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2520 DEFAULT_wxUSE_IMAGLIST
=yes
2521 DEFAULT_wxUSE_LISTBOOK
=yes
2522 DEFAULT_wxUSE_LISTBOX
=yes
2523 DEFAULT_wxUSE_LISTCTRL
=yes
2524 DEFAULT_wxUSE_NOTEBOOK
=yes
2525 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2526 DEFAULT_wxUSE_RADIOBOX
=yes
2527 DEFAULT_wxUSE_RADIOBTN
=yes
2528 DEFAULT_wxUSE_SASH
=yes
2529 DEFAULT_wxUSE_SCROLLBAR
=yes
2530 DEFAULT_wxUSE_SLIDER
=yes
2531 DEFAULT_wxUSE_SPINBTN
=yes
2532 DEFAULT_wxUSE_SPINCTRL
=yes
2533 DEFAULT_wxUSE_SPLITTER
=yes
2534 DEFAULT_wxUSE_STATBMP
=yes
2535 DEFAULT_wxUSE_STATBOX
=yes
2536 DEFAULT_wxUSE_STATLINE
=yes
2537 DEFAULT_wxUSE_STATTEXT
=yes
2538 DEFAULT_wxUSE_STATUSBAR
=yes
2539 DEFAULT_wxUSE_TAB_DIALOG
=no
2540 DEFAULT_wxUSE_TEXTCTRL
=yes
2541 DEFAULT_wxUSE_TOGGLEBTN
=yes
2542 DEFAULT_wxUSE_TOOLBAR
=yes
2543 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2544 DEFAULT_wxUSE_TREEBOOK
=yes
2545 DEFAULT_wxUSE_TOOLBOOK
=yes
2546 DEFAULT_wxUSE_TREECTRL
=yes
2547 DEFAULT_wxUSE_POPUPWIN
=yes
2548 DEFAULT_wxUSE_TIPWINDOW
=yes
2550 DEFAULT_wxUSE_UNICODE
=no
2551 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2552 DEFAULT_wxUSE_WCSRTOMBS
=no
2554 DEFAULT_wxUSE_PALETTE
=yes
2555 DEFAULT_wxUSE_IMAGE
=yes
2556 DEFAULT_wxUSE_GIF
=yes
2557 DEFAULT_wxUSE_PCX
=yes
2558 DEFAULT_wxUSE_IFF
=no
2559 DEFAULT_wxUSE_PNM
=yes
2560 DEFAULT_wxUSE_XPM
=yes
2561 DEFAULT_wxUSE_ICO_CUR
=yes
2562 DEFAULT_wxUSE_ACCESSIBILITY
=no
2564 DEFAULT_wxUSE_MONOLITHIC
=no
2565 DEFAULT_wxUSE_PLUGINS
=no
2566 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2568 DEFAULT_wxUSE_GTK2
=yes
2574 for toolkit
in `echo $ALL_TOOLKITS`; do
2575 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2576 if test "x$LINE" != "x" ; then
2577 has_toolkit_in_cache
=1
2578 eval "DEFAULT_$LINE"
2579 eval "CACHE_$toolkit=1"
2581 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2582 if test "x$LINE" != "x" ; then
2583 eval "DEFAULT_$LINE"
2591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2592 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2594 # Check whether --enable-gui or --disable-gui was given.
2595 if test "${enable_gui+set}" = set; then
2596 enableval
="$enable_gui"
2598 if test "$enableval" = yes; then
2599 ac_cv_use_gui
='wxUSE_GUI=yes'
2601 ac_cv_use_gui
='wxUSE_GUI=no'
2606 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2607 if test "x$LINE" != x
; then
2608 eval "DEFAULT_$LINE"
2613 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2617 eval "$ac_cv_use_gui"
2618 if test "$no_cache" != 1; then
2619 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2622 if test "$wxUSE_GUI" = yes; then
2623 echo "$as_me:$LINENO: result: yes" >&5
2624 echo "${ECHO_T}yes" >&6
2626 echo "$as_me:$LINENO: result: no" >&5
2627 echo "${ECHO_T}no" >&6
2632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2633 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2635 # Check whether --enable-monolithic or --disable-monolithic was given.
2636 if test "${enable_monolithic+set}" = set; then
2637 enableval
="$enable_monolithic"
2639 if test "$enableval" = yes; then
2640 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2642 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2647 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2648 if test "x$LINE" != x
; then
2649 eval "DEFAULT_$LINE"
2654 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2658 eval "$ac_cv_use_monolithic"
2659 if test "$no_cache" != 1; then
2660 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2663 if test "$wxUSE_MONOLITHIC" = yes; then
2664 echo "$as_me:$LINENO: result: yes" >&5
2665 echo "${ECHO_T}yes" >&6
2667 echo "$as_me:$LINENO: result: no" >&5
2668 echo "${ECHO_T}no" >&6
2673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2674 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2676 # Check whether --enable-plugins or --disable-plugins was given.
2677 if test "${enable_plugins+set}" = set; then
2678 enableval
="$enable_plugins"
2680 if test "$enableval" = yes; then
2681 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2683 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2688 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2689 if test "x$LINE" != x
; then
2690 eval "DEFAULT_$LINE"
2695 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2699 eval "$ac_cv_use_plugins"
2700 if test "$no_cache" != 1; then
2701 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2704 if test "$wxUSE_PLUGINS" = yes; then
2705 echo "$as_me:$LINENO: result: yes" >&5
2706 echo "${ECHO_T}yes" >&6
2708 echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6
2714 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2715 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2718 # Check whether --with-subdirs or --without-subdirs was given.
2719 if test "${with_subdirs+set}" = set; then
2720 withval
="$with_subdirs"
2722 if test "$withval" = yes; then
2723 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2725 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2730 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2731 if test "x$LINE" != x
; then
2732 eval "DEFAULT_$LINE"
2737 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2741 eval "$ac_cv_use_subdirs"
2742 if test "$no_cache" != 1; then
2743 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2746 if test "$wxWITH_SUBDIRS" = yes; then
2747 echo "$as_me:$LINENO: result: yes" >&5
2748 echo "${ECHO_T}yes" >&6
2750 echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6
2755 if test "$wxUSE_GUI" = "yes"; then
2759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2760 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2762 # Check whether --enable-universal or --disable-universal was given.
2763 if test "${enable_universal+set}" = set; then
2764 enableval
="$enable_universal"
2766 if test "$enableval" = yes; then
2767 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2769 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2774 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2775 if test "x$LINE" != x
; then
2776 eval "DEFAULT_$LINE"
2781 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2785 eval "$ac_cv_use_universal"
2786 if test "$no_cache" != 1; then
2787 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2790 if test "$wxUSE_UNIVERSAL" = yes; then
2791 echo "$as_me:$LINENO: result: yes" >&5
2792 echo "${ECHO_T}yes" >&6
2794 echo "$as_me:$LINENO: result: no" >&5
2795 echo "${ECHO_T}no" >&6
2799 # Check whether --with-gtk or --without-gtk was given.
2800 if test "${with_gtk+set}" = set; then
2802 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2805 # Check whether --with-motif or --without-motif was given.
2806 if test "${with_motif+set}" = set; then
2807 withval
="$with_motif"
2808 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2811 # Check whether --with-mac or --without-mac was given.
2812 if test "${with_mac+set}" = set; then
2814 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2817 # Check whether --with-cocoa or --without-cocoa was given.
2818 if test "${with_cocoa+set}" = set; then
2819 withval
="$with_cocoa"
2820 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2823 # Check whether --with-wine or --without-wine was given.
2824 if test "${with_wine+set}" = set; then
2825 withval
="$with_wine"
2826 wxUSE_WINE
="$withval" CACHE_WINE
=1
2829 # Check whether --with-msw or --without-msw was given.
2830 if test "${with_msw+set}" = set; then
2832 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2835 # Check whether --with-pm or --without-pm was given.
2836 if test "${with_pm+set}" = set; then
2838 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2841 # Check whether --with-mgl or --without-mgl was given.
2842 if test "${with_mgl+set}" = set; then
2844 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2847 # Check whether --with-microwin or --without-microwin was given.
2848 if test "${with_microwin+set}" = set; then
2849 withval
="$with_microwin"
2850 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2853 # Check whether --with-x11 or --without-x11 was given.
2854 if test "${with_x11+set}" = set; then
2856 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2861 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2863 # Check whether --enable-nanox or --disable-nanox was given.
2864 if test "${enable_nanox+set}" = set; then
2865 enableval
="$enable_nanox"
2867 if test "$enableval" = yes; then
2868 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2870 ac_cv_use_nanox
='wxUSE_NANOX=no'
2875 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2876 if test "x$LINE" != x
; then
2877 eval "DEFAULT_$LINE"
2882 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2886 eval "$ac_cv_use_nanox"
2887 if test "$no_cache" != 1; then
2888 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2891 if test "$wxUSE_NANOX" = yes; then
2892 echo "$as_me:$LINENO: result: yes" >&5
2893 echo "${ECHO_T}yes" >&6
2895 echo "$as_me:$LINENO: result: no" >&5
2896 echo "${ECHO_T}no" >&6
2900 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2901 if test "${enable_gtk2+set}" = set; then
2902 enableval
="$enable_gtk2"
2903 wxUSE_GTK2
="$enableval"
2907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2908 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2910 # Check whether --enable-gpe or --disable-gpe was given.
2911 if test "${enable_gpe+set}" = set; then
2912 enableval
="$enable_gpe"
2914 if test "$enableval" = yes; then
2915 ac_cv_use_gpe
='wxUSE_GPE=yes'
2917 ac_cv_use_gpe
='wxUSE_GPE=no'
2922 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2923 if test "x$LINE" != x
; then
2924 eval "DEFAULT_$LINE"
2929 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2933 eval "$ac_cv_use_gpe"
2934 if test "$no_cache" != 1; then
2935 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2938 if test "$wxUSE_GPE" = yes; then
2939 echo "$as_me:$LINENO: result: yes" >&5
2940 echo "${ECHO_T}yes" >&6
2942 echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2948 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2949 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2952 # Check whether --with-libpng or --without-libpng was given.
2953 if test "${with_libpng+set}" = set; then
2954 withval
="$with_libpng"
2956 if test "$withval" = yes; then
2957 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2958 elif test "$withval" = no
; then
2959 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2960 elif test "$withval" = sys
; then
2961 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2962 elif test "$withval" = builtin; then
2963 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2965 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2966 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2967 { (exit 1); exit 1; }; }
2972 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2973 if test "x$LINE" != x
; then
2974 eval "DEFAULT_$LINE"
2979 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2983 eval "$ac_cv_use_libpng"
2984 if test "$no_cache" != 1; then
2985 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2988 if test "$wxUSE_LIBPNG" = yes; then
2989 echo "$as_me:$LINENO: result: yes" >&5
2990 echo "${ECHO_T}yes" >&6
2991 elif test "$wxUSE_LIBPNG" = no
; then
2992 echo "$as_me:$LINENO: result: no" >&5
2993 echo "${ECHO_T}no" >&6
2994 elif test "$wxUSE_LIBPNG" = sys
; then
2995 echo "$as_me:$LINENO: result: system version" >&5
2996 echo "${ECHO_T}system version" >&6
2997 elif test "$wxUSE_LIBPNG" = builtin; then
2998 echo "$as_me:$LINENO: result: builtin version" >&5
2999 echo "${ECHO_T}builtin version" >&6
3001 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3002 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3003 { (exit 1); exit 1; }; }
3007 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3008 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3011 # Check whether --with-libjpeg or --without-libjpeg was given.
3012 if test "${with_libjpeg+set}" = set; then
3013 withval
="$with_libjpeg"
3015 if test "$withval" = yes; then
3016 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3017 elif test "$withval" = no
; then
3018 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3019 elif test "$withval" = sys
; then
3020 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3021 elif test "$withval" = builtin; then
3022 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3024 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3025 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3026 { (exit 1); exit 1; }; }
3031 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x
; then
3033 eval "DEFAULT_$LINE"
3038 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3042 eval "$ac_cv_use_libjpeg"
3043 if test "$no_cache" != 1; then
3044 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3047 if test "$wxUSE_LIBJPEG" = yes; then
3048 echo "$as_me:$LINENO: result: yes" >&5
3049 echo "${ECHO_T}yes" >&6
3050 elif test "$wxUSE_LIBJPEG" = no
; then
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3053 elif test "$wxUSE_LIBJPEG" = sys
; then
3054 echo "$as_me:$LINENO: result: system version" >&5
3055 echo "${ECHO_T}system version" >&6
3056 elif test "$wxUSE_LIBJPEG" = builtin; then
3057 echo "$as_me:$LINENO: result: builtin version" >&5
3058 echo "${ECHO_T}builtin version" >&6
3060 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3061 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3062 { (exit 1); exit 1; }; }
3066 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3067 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3070 # Check whether --with-libtiff or --without-libtiff was given.
3071 if test "${with_libtiff+set}" = set; then
3072 withval
="$with_libtiff"
3074 if test "$withval" = yes; then
3075 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3076 elif test "$withval" = no
; then
3077 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3078 elif test "$withval" = sys
; then
3079 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3080 elif test "$withval" = builtin; then
3081 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3083 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3084 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3085 { (exit 1); exit 1; }; }
3090 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3091 if test "x$LINE" != x
; then
3092 eval "DEFAULT_$LINE"
3097 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3101 eval "$ac_cv_use_libtiff"
3102 if test "$no_cache" != 1; then
3103 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3106 if test "$wxUSE_LIBTIFF" = yes; then
3107 echo "$as_me:$LINENO: result: yes" >&5
3108 echo "${ECHO_T}yes" >&6
3109 elif test "$wxUSE_LIBTIFF" = no
; then
3110 echo "$as_me:$LINENO: result: no" >&5
3111 echo "${ECHO_T}no" >&6
3112 elif test "$wxUSE_LIBTIFF" = sys
; then
3113 echo "$as_me:$LINENO: result: system version" >&5
3114 echo "${ECHO_T}system version" >&6
3115 elif test "$wxUSE_LIBTIFF" = builtin; then
3116 echo "$as_me:$LINENO: result: builtin version" >&5
3117 echo "${ECHO_T}builtin version" >&6
3119 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3120 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3121 { (exit 1); exit 1; }; }
3125 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3126 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3129 # Check whether --with-libxpm or --without-libxpm was given.
3130 if test "${with_libxpm+set}" = set; then
3131 withval
="$with_libxpm"
3133 if test "$withval" = yes; then
3134 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3135 elif test "$withval" = no
; then
3136 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3137 elif test "$withval" = sys
; then
3138 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3139 elif test "$withval" = builtin; then
3140 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3142 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3143 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3144 { (exit 1); exit 1; }; }
3149 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x
; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3160 eval "$ac_cv_use_libxpm"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_LIBXPM" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3168 elif test "$wxUSE_LIBXPM" = no
; then
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3171 elif test "$wxUSE_LIBXPM" = sys
; then
3172 echo "$as_me:$LINENO: result: system version" >&5
3173 echo "${ECHO_T}system version" >&6
3174 elif test "$wxUSE_LIBXPM" = builtin; then
3175 echo "$as_me:$LINENO: result: builtin version" >&5
3176 echo "${ECHO_T}builtin version" >&6
3178 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3179 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3180 { (exit 1); exit 1; }; }
3185 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3186 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3189 # Check whether --with-libmspack or --without-libmspack was given.
3190 if test "${with_libmspack+set}" = set; then
3191 withval
="$with_libmspack"
3193 if test "$withval" = yes; then
3194 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3196 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3201 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x
; then
3203 eval "DEFAULT_$LINE"
3208 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3212 eval "$ac_cv_use_libmspack"
3213 if test "$no_cache" != 1; then
3214 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3217 if test "$wxUSE_LIBMSPACK" = yes; then
3218 echo "$as_me:$LINENO: result: yes" >&5
3219 echo "${ECHO_T}yes" >&6
3221 echo "$as_me:$LINENO: result: no" >&5
3222 echo "${ECHO_T}no" >&6
3227 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3228 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3231 # Check whether --with-sdl or --without-sdl was given.
3232 if test "${with_sdl+set}" = set; then
3235 if test "$withval" = yes; then
3236 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3238 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3243 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3244 if test "x$LINE" != x
; then
3245 eval "DEFAULT_$LINE"
3250 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3254 eval "$ac_cv_use_sdl"
3255 if test "$no_cache" != 1; then
3256 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3259 if test "$wxUSE_LIBSDL" = yes; then
3260 echo "$as_me:$LINENO: result: yes" >&5
3261 echo "${ECHO_T}yes" >&6
3263 echo "$as_me:$LINENO: result: no" >&5
3264 echo "${ECHO_T}no" >&6
3269 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3270 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3273 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3274 if test "${with_gnomeprint+set}" = set; then
3275 withval
="$with_gnomeprint"
3277 if test "$withval" = yes; then
3278 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3280 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3285 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x
; then
3287 eval "DEFAULT_$LINE"
3292 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3296 eval "$ac_cv_use_gnomeprint"
3297 if test "$no_cache" != 1; then
3298 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3301 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3302 echo "$as_me:$LINENO: result: yes" >&5
3303 echo "${ECHO_T}yes" >&6
3305 echo "$as_me:$LINENO: result: no" >&5
3306 echo "${ECHO_T}no" >&6
3311 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3312 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3315 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3316 if test "${with_gnomevfs+set}" = set; then
3317 withval
="$with_gnomevfs"
3319 if test "$withval" = yes; then
3320 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3322 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3327 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3328 if test "x$LINE" != x
; then
3329 eval "DEFAULT_$LINE"
3334 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3338 eval "$ac_cv_use_gnomevfs"
3339 if test "$no_cache" != 1; then
3340 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3343 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3344 echo "$as_me:$LINENO: result: yes" >&5
3345 echo "${ECHO_T}yes" >&6
3347 echo "$as_me:$LINENO: result: no" >&5
3348 echo "${ECHO_T}no" >&6
3353 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3354 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3357 # Check whether --with-hildon or --without-hildon was given.
3358 if test "${with_hildon+set}" = set; then
3359 withval
="$with_hildon"
3361 if test "$withval" = yes; then
3362 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3364 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3369 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3370 if test "x$LINE" != x
; then
3371 eval "DEFAULT_$LINE"
3376 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3380 eval "$ac_cv_use_hildon"
3381 if test "$no_cache" != 1; then
3382 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3385 if test "$wxUSE_LIBHILDON" = yes; then
3386 echo "$as_me:$LINENO: result: yes" >&5
3387 echo "${ECHO_T}yes" >&6
3389 echo "$as_me:$LINENO: result: no" >&5
3390 echo "${ECHO_T}no" >&6
3395 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3396 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3399 # Check whether --with-opengl or --without-opengl was given.
3400 if test "${with_opengl+set}" = set; then
3401 withval
="$with_opengl"
3403 if test "$withval" = yes; then
3404 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3406 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3411 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3412 if test "x$LINE" != x
; then
3413 eval "DEFAULT_$LINE"
3418 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3422 eval "$ac_cv_use_opengl"
3423 if test "$no_cache" != 1; then
3424 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3427 if test "$wxUSE_OPENGL" = yes; then
3428 echo "$as_me:$LINENO: result: yes" >&5
3429 echo "${ECHO_T}yes" >&6
3431 echo "$as_me:$LINENO: result: no" >&5
3432 echo "${ECHO_T}no" >&6
3440 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3441 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3444 # Check whether --with-dmalloc or --without-dmalloc was given.
3445 if test "${with_dmalloc+set}" = set; then
3446 withval
="$with_dmalloc"
3448 if test "$withval" = yes; then
3449 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3451 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3456 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x
; then
3458 eval "DEFAULT_$LINE"
3463 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3467 eval "$ac_cv_use_dmalloc"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3472 if test "$wxUSE_DMALLOC" = yes; then
3473 echo "$as_me:$LINENO: result: yes" >&5
3474 echo "${ECHO_T}yes" >&6
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3481 echo "$as_me:$LINENO: checking for --with-regex" >&5
3482 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3485 # Check whether --with-regex or --without-regex was given.
3486 if test "${with_regex+set}" = set; then
3487 withval
="$with_regex"
3489 if test "$withval" = yes; then
3490 ac_cv_use_regex
='wxUSE_REGEX=yes'
3491 elif test "$withval" = no
; then
3492 ac_cv_use_regex
='wxUSE_REGEX=no'
3493 elif test "$withval" = sys
; then
3494 ac_cv_use_regex
='wxUSE_REGEX=sys'
3495 elif test "$withval" = builtin; then
3496 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3498 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3499 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3500 { (exit 1); exit 1; }; }
3505 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3506 if test "x$LINE" != x
; then
3507 eval "DEFAULT_$LINE"
3512 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3516 eval "$ac_cv_use_regex"
3517 if test "$no_cache" != 1; then
3518 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3521 if test "$wxUSE_REGEX" = yes; then
3522 echo "$as_me:$LINENO: result: yes" >&5
3523 echo "${ECHO_T}yes" >&6
3524 elif test "$wxUSE_REGEX" = no
; then
3525 echo "$as_me:$LINENO: result: no" >&5
3526 echo "${ECHO_T}no" >&6
3527 elif test "$wxUSE_REGEX" = sys
; then
3528 echo "$as_me:$LINENO: result: system version" >&5
3529 echo "${ECHO_T}system version" >&6
3530 elif test "$wxUSE_REGEX" = builtin; then
3531 echo "$as_me:$LINENO: result: builtin version" >&5
3532 echo "${ECHO_T}builtin version" >&6
3534 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3535 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3536 { (exit 1); exit 1; }; }
3540 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3541 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3544 # Check whether --with-zlib or --without-zlib was given.
3545 if test "${with_zlib+set}" = set; then
3546 withval
="$with_zlib"
3548 if test "$withval" = yes; then
3549 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3550 elif test "$withval" = no
; then
3551 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3552 elif test "$withval" = sys
; then
3553 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3554 elif test "$withval" = builtin; then
3555 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3557 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3558 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3559 { (exit 1); exit 1; }; }
3564 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3565 if test "x$LINE" != x
; then
3566 eval "DEFAULT_$LINE"
3571 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3575 eval "$ac_cv_use_zlib"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_ZLIB" = yes; then
3581 echo "$as_me:$LINENO: result: yes" >&5
3582 echo "${ECHO_T}yes" >&6
3583 elif test "$wxUSE_ZLIB" = no
; then
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3586 elif test "$wxUSE_ZLIB" = sys
; then
3587 echo "$as_me:$LINENO: result: system version" >&5
3588 echo "${ECHO_T}system version" >&6
3589 elif test "$wxUSE_ZLIB" = builtin; then
3590 echo "$as_me:$LINENO: result: builtin version" >&5
3591 echo "${ECHO_T}builtin version" >&6
3593 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3594 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3595 { (exit 1); exit 1; }; }
3599 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3600 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3603 # Check whether --with-odbc or --without-odbc was given.
3604 if test "${with_odbc+set}" = set; then
3605 withval
="$with_odbc"
3607 if test "$withval" = yes; then
3608 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3609 elif test "$withval" = no
; then
3610 ac_cv_use_odbc
='wxUSE_ODBC=no'
3611 elif test "$withval" = sys
; then
3612 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3613 elif test "$withval" = builtin; then
3614 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3616 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3617 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3618 { (exit 1); exit 1; }; }
3623 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3624 if test "x$LINE" != x
; then
3625 eval "DEFAULT_$LINE"
3630 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3634 eval "$ac_cv_use_odbc"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3639 if test "$wxUSE_ODBC" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641 echo "${ECHO_T}yes" >&6
3642 elif test "$wxUSE_ODBC" = no
; then
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3645 elif test "$wxUSE_ODBC" = sys
; then
3646 echo "$as_me:$LINENO: result: system version" >&5
3647 echo "${ECHO_T}system version" >&6
3648 elif test "$wxUSE_ODBC" = builtin; then
3649 echo "$as_me:$LINENO: result: builtin version" >&5
3650 echo "${ECHO_T}builtin version" >&6
3652 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3653 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3654 { (exit 1); exit 1; }; }
3658 echo "$as_me:$LINENO: checking for --with-expat" >&5
3659 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3662 # Check whether --with-expat or --without-expat was given.
3663 if test "${with_expat+set}" = set; then
3664 withval
="$with_expat"
3666 if test "$withval" = yes; then
3667 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3668 elif test "$withval" = no
; then
3669 ac_cv_use_expat
='wxUSE_EXPAT=no'
3670 elif test "$withval" = sys
; then
3671 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3672 elif test "$withval" = builtin; then
3673 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3675 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3676 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3677 { (exit 1); exit 1; }; }
3682 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x
; then
3684 eval "DEFAULT_$LINE"
3689 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3693 eval "$ac_cv_use_expat"
3694 if test "$no_cache" != 1; then
3695 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3698 if test "$wxUSE_EXPAT" = yes; then
3699 echo "$as_me:$LINENO: result: yes" >&5
3700 echo "${ECHO_T}yes" >&6
3701 elif test "$wxUSE_EXPAT" = no
; then
3702 echo "$as_me:$LINENO: result: no" >&5
3703 echo "${ECHO_T}no" >&6
3704 elif test "$wxUSE_EXPAT" = sys
; then
3705 echo "$as_me:$LINENO: result: system version" >&5
3706 echo "${ECHO_T}system version" >&6
3707 elif test "$wxUSE_EXPAT" = builtin; then
3708 echo "$as_me:$LINENO: result: builtin version" >&5
3709 echo "${ECHO_T}builtin version" >&6
3711 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3712 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3713 { (exit 1); exit 1; }; }
3720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3721 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3723 # Check whether --enable-shared or --disable-shared was given.
3724 if test "${enable_shared+set}" = set; then
3725 enableval
="$enable_shared"
3727 if test "$enableval" = yes; then
3728 ac_cv_use_shared
='wxUSE_SHARED=yes'
3730 ac_cv_use_shared
='wxUSE_SHARED=no'
3735 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3736 if test "x$LINE" != x
; then
3737 eval "DEFAULT_$LINE"
3742 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3746 eval "$ac_cv_use_shared"
3747 if test "$no_cache" != 1; then
3748 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3751 if test "$wxUSE_SHARED" = yes; then
3752 echo "$as_me:$LINENO: result: yes" >&5
3753 echo "${ECHO_T}yes" >&6
3755 echo "$as_me:$LINENO: result: no" >&5
3756 echo "${ECHO_T}no" >&6
3761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3762 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3764 # Check whether --enable-optimise or --disable-optimise was given.
3765 if test "${enable_optimise+set}" = set; then
3766 enableval
="$enable_optimise"
3768 if test "$enableval" = yes; then
3769 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3771 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3776 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3777 if test "x$LINE" != x
; then
3778 eval "DEFAULT_$LINE"
3783 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3787 eval "$ac_cv_use_optimise"
3788 if test "$no_cache" != 1; then
3789 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3792 if test "$wxUSE_OPTIMISE" = yes; then
3793 echo "$as_me:$LINENO: result: yes" >&5
3794 echo "${ECHO_T}yes" >&6
3796 echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6
3802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3803 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3805 # Check whether --enable-debug or --disable-debug was given.
3806 if test "${enable_debug+set}" = set; then
3807 enableval
="$enable_debug"
3809 if test "$enableval" = yes; then
3810 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3812 ac_cv_use_debug
='wxUSE_DEBUG=no'
3817 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x
; then
3819 eval "DEFAULT_$LINE"
3824 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3828 eval "$ac_cv_use_debug"
3829 if test "$no_cache" != 1; then
3830 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3833 if test "$wxUSE_DEBUG" = yes; then
3834 echo "$as_me:$LINENO: result: yes" >&5
3835 echo "${ECHO_T}yes" >&6
3837 echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6
3843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3844 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3846 # Check whether --enable-stl or --disable-stl was given.
3847 if test "${enable_stl+set}" = set; then
3848 enableval
="$enable_stl"
3850 if test "$enableval" = yes; then
3851 ac_cv_use_stl
='wxUSE_STL=yes'
3853 ac_cv_use_stl
='wxUSE_STL=no'
3858 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3859 if test "x$LINE" != x
; then
3860 eval "DEFAULT_$LINE"
3865 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3869 eval "$ac_cv_use_stl"
3870 if test "$no_cache" != 1; then
3871 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3874 if test "$wxUSE_STL" = yes; then
3875 echo "$as_me:$LINENO: result: yes" >&5
3876 echo "${ECHO_T}yes" >&6
3878 echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6
3882 if test "$USE_OS2" = "1"; then
3883 DEFAULT_wxUSE_OMF
=no
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3887 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3889 # Check whether --enable-omf or --disable-omf was given.
3890 if test "${enable_omf+set}" = set; then
3891 enableval
="$enable_omf"
3893 if test "$enableval" = yes; then
3894 ac_cv_use_omf
='wxUSE_OMF=yes'
3896 ac_cv_use_omf
='wxUSE_OMF=no'
3901 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x
; then
3903 eval "DEFAULT_$LINE"
3908 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3912 eval "$ac_cv_use_omf"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3917 if test "$wxUSE_OMF" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3927 if test "$wxUSE_DEBUG" = "yes"; then
3928 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3929 DEFAULT_wxUSE_DEBUG_INFO
=yes
3931 elif test "$wxUSE_DEBUG" = "no"; then
3932 DEFAULT_wxUSE_DEBUG_FLAG
=no
3933 DEFAULT_wxUSE_DEBUG_INFO
=no
3939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3940 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3942 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3943 if test "${enable_debug_flag+set}" = set; then
3944 enableval
="$enable_debug_flag"
3946 if test "$enableval" = yes; then
3947 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3949 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3954 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x
; then
3956 eval "DEFAULT_$LINE"
3961 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3965 eval "$ac_cv_use_debug_flag"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3970 if test "$wxUSE_DEBUG_FLAG" = yes; then
3971 echo "$as_me:$LINENO: result: yes" >&5
3972 echo "${ECHO_T}yes" >&6
3974 echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6
3980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3981 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3983 # Check whether --enable-debug_info or --disable-debug_info was given.
3984 if test "${enable_debug_info+set}" = set; then
3985 enableval
="$enable_debug_info"
3987 if test "$enableval" = yes; then
3988 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3990 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3995 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3996 if test "x$LINE" != x
; then
3997 eval "DEFAULT_$LINE"
4002 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4006 eval "$ac_cv_use_debug_info"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4011 if test "$wxUSE_DEBUG_INFO" = yes; then
4012 echo "$as_me:$LINENO: result: yes" >&5
4013 echo "${ECHO_T}yes" >&6
4015 echo "$as_me:$LINENO: result: no" >&5
4016 echo "${ECHO_T}no" >&6
4021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4022 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4024 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4025 if test "${enable_debug_gdb+set}" = set; then
4026 enableval
="$enable_debug_gdb"
4028 if test "$enableval" = yes; then
4029 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4031 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4036 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x
; then
4038 eval "DEFAULT_$LINE"
4043 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4047 eval "$ac_cv_use_debug_gdb"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4052 if test "$wxUSE_DEBUG_GDB" = yes; then
4053 echo "$as_me:$LINENO: result: yes" >&5
4054 echo "${ECHO_T}yes" >&6
4056 echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6
4062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4063 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4065 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4066 if test "${enable_debug_cntxt+set}" = set; then
4067 enableval
="$enable_debug_cntxt"
4069 if test "$enableval" = yes; then
4070 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4072 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4077 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x
; then
4079 eval "DEFAULT_$LINE"
4084 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4088 eval "$ac_cv_use_debug_cntxt"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4093 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4094 echo "$as_me:$LINENO: result: yes" >&5
4095 echo "${ECHO_T}yes" >&6
4097 echo "$as_me:$LINENO: result: no" >&5
4098 echo "${ECHO_T}no" >&6
4103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4104 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4106 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4107 if test "${enable_mem_tracing+set}" = set; then
4108 enableval
="$enable_mem_tracing"
4110 if test "$enableval" = yes; then
4111 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4113 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4118 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4119 if test "x$LINE" != x
; then
4120 eval "DEFAULT_$LINE"
4125 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4129 eval "$ac_cv_use_mem_tracing"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4134 if test "$wxUSE_MEM_TRACING" = yes; then
4135 echo "$as_me:$LINENO: result: yes" >&5
4136 echo "${ECHO_T}yes" >&6
4138 echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6
4144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4145 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4147 # Check whether --enable-profile or --disable-profile was given.
4148 if test "${enable_profile+set}" = set; then
4149 enableval
="$enable_profile"
4151 if test "$enableval" = yes; then
4152 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4154 ac_cv_use_profile
='wxUSE_PROFILE=no'
4159 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4160 if test "x$LINE" != x
; then
4161 eval "DEFAULT_$LINE"
4166 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4170 eval "$ac_cv_use_profile"
4171 if test "$no_cache" != 1; then
4172 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4175 if test "$wxUSE_PROFILE" = yes; then
4176 echo "$as_me:$LINENO: result: yes" >&5
4177 echo "${ECHO_T}yes" >&6
4179 echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4186 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4188 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4189 if test "${enable_no_rtti+set}" = set; then
4190 enableval
="$enable_no_rtti"
4192 if test "$enableval" = yes; then
4193 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4195 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4200 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4201 if test "x$LINE" != x
; then
4202 eval "DEFAULT_$LINE"
4207 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4211 eval "$ac_cv_use_no_rtti"
4212 if test "$no_cache" != 1; then
4213 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4216 if test "$wxUSE_NO_RTTI" = yes; then
4217 echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6
4220 echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6
4226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4227 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4229 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4230 if test "${enable_no_exceptions+set}" = set; then
4231 enableval
="$enable_no_exceptions"
4233 if test "$enableval" = yes; then
4234 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4236 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4241 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4242 if test "x$LINE" != x
; then
4243 eval "DEFAULT_$LINE"
4248 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4252 eval "$ac_cv_use_no_exceptions"
4253 if test "$no_cache" != 1; then
4254 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4257 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4258 echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6
4261 echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6
4267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4268 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4270 # Check whether --enable-permissive or --disable-permissive was given.
4271 if test "${enable_permissive+set}" = set; then
4272 enableval
="$enable_permissive"
4274 if test "$enableval" = yes; then
4275 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4277 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4282 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4283 if test "x$LINE" != x
; then
4284 eval "DEFAULT_$LINE"
4289 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4293 eval "$ac_cv_use_permissive"
4294 if test "$no_cache" != 1; then
4295 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4298 if test "$wxUSE_PERMISSIVE" = yes; then
4299 echo "$as_me:$LINENO: result: yes" >&5
4300 echo "${ECHO_T}yes" >&6
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4309 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4311 # Check whether --enable-no_deps or --disable-no_deps was given.
4312 if test "${enable_no_deps+set}" = set; then
4313 enableval
="$enable_no_deps"
4315 if test "$enableval" = yes; then
4316 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4318 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4323 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x
; then
4325 eval "DEFAULT_$LINE"
4330 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4334 eval "$ac_cv_use_no_deps"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4339 if test "$wxUSE_NO_DEPS" = yes; then
4340 echo "$as_me:$LINENO: result: yes" >&5
4341 echo "${ECHO_T}yes" >&6
4343 echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4350 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4352 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4353 if test "${enable_universal_binary+set}" = set; then
4354 enableval
="$enable_universal_binary"
4356 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4360 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4361 if test "x$LINE" != x
; then
4362 eval "DEFAULT_$LINE"
4363 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4366 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4371 eval "$wx_cv_use_universal_binary"
4372 if test "$no_cache" != 1; then
4373 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4376 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4377 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4383 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4385 # Check whether --enable-compat24 or --disable-compat24 was given.
4386 if test "${enable_compat24+set}" = set; then
4387 enableval
="$enable_compat24"
4389 if test "$enableval" = yes; then
4390 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4392 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4397 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4398 if test "x$LINE" != x
; then
4399 eval "DEFAULT_$LINE"
4404 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4408 eval "$ac_cv_use_compat24"
4409 if test "$no_cache" != 1; then
4410 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4413 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4414 echo "$as_me:$LINENO: result: yes" >&5
4415 echo "${ECHO_T}yes" >&6
4417 echo "$as_me:$LINENO: result: no" >&5
4418 echo "${ECHO_T}no" >&6
4422 enablestring
=disable
4423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4424 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4426 # Check whether --enable-compat26 or --disable-compat26 was given.
4427 if test "${enable_compat26+set}" = set; then
4428 enableval
="$enable_compat26"
4430 if test "$enableval" = yes; then
4431 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4433 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4438 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4439 if test "x$LINE" != x
; then
4440 eval "DEFAULT_$LINE"
4445 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4449 eval "$ac_cv_use_compat26"
4450 if test "$no_cache" != 1; then
4451 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4454 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4455 echo "$as_me:$LINENO: result: yes" >&5
4456 echo "${ECHO_T}yes" >&6
4458 echo "$as_me:$LINENO: result: no" >&5
4459 echo "${ECHO_T}no" >&6
4465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4468 # Check whether --enable-rpath or --disable-rpath was given.
4469 if test "${enable_rpath+set}" = set; then
4470 enableval
="$enable_rpath"
4472 if test "$enableval" = yes; then
4473 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4475 ac_cv_use_rpath
='wxUSE_RPATH=no'
4480 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x
; then
4482 eval "DEFAULT_$LINE"
4487 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4491 eval "$ac_cv_use_rpath"
4492 if test "$no_cache" != 1; then
4493 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4496 if test "$wxUSE_RPATH" = yes; then
4497 echo "$as_me:$LINENO: result: yes" >&5
4498 echo "${ECHO_T}yes" >&6
4500 echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6
4509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4510 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4512 # Check whether --enable-intl or --disable-intl was given.
4513 if test "${enable_intl+set}" = set; then
4514 enableval
="$enable_intl"
4516 if test "$enableval" = yes; then
4517 ac_cv_use_intl
='wxUSE_INTL=yes'
4519 ac_cv_use_intl
='wxUSE_INTL=no'
4524 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4525 if test "x$LINE" != x
; then
4526 eval "DEFAULT_$LINE"
4531 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4535 eval "$ac_cv_use_intl"
4536 if test "$no_cache" != 1; then
4537 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4540 if test "$wxUSE_INTL" = yes; then
4541 echo "$as_me:$LINENO: result: yes" >&5
4542 echo "${ECHO_T}yes" >&6
4544 echo "$as_me:$LINENO: result: no" >&5
4545 echo "${ECHO_T}no" >&6
4550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4551 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4553 # Check whether --enable-config or --disable-config was given.
4554 if test "${enable_config+set}" = set; then
4555 enableval
="$enable_config"
4557 if test "$enableval" = yes; then
4558 ac_cv_use_config
='wxUSE_CONFIG=yes'
4560 ac_cv_use_config
='wxUSE_CONFIG=no'
4565 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4566 if test "x$LINE" != x
; then
4567 eval "DEFAULT_$LINE"
4572 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4576 eval "$ac_cv_use_config"
4577 if test "$no_cache" != 1; then
4578 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4581 if test "$wxUSE_CONFIG" = yes; then
4582 echo "$as_me:$LINENO: result: yes" >&5
4583 echo "${ECHO_T}yes" >&6
4585 echo "$as_me:$LINENO: result: no" >&5
4586 echo "${ECHO_T}no" >&6
4592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4593 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4595 # Check whether --enable-protocols or --disable-protocols was given.
4596 if test "${enable_protocols+set}" = set; then
4597 enableval
="$enable_protocols"
4599 if test "$enableval" = yes; then
4600 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4602 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4607 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4608 if test "x$LINE" != x
; then
4609 eval "DEFAULT_$LINE"
4614 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4618 eval "$ac_cv_use_protocols"
4619 if test "$no_cache" != 1; then
4620 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4623 if test "$wxUSE_PROTOCOL" = yes; then
4624 echo "$as_me:$LINENO: result: yes" >&5
4625 echo "${ECHO_T}yes" >&6
4627 echo "$as_me:$LINENO: result: no" >&5
4628 echo "${ECHO_T}no" >&6
4633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4636 # Check whether --enable-ftp or --disable-ftp was given.
4637 if test "${enable_ftp+set}" = set; then
4638 enableval
="$enable_ftp"
4640 if test "$enableval" = yes; then
4641 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4643 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4648 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4649 if test "x$LINE" != x
; then
4650 eval "DEFAULT_$LINE"
4655 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4659 eval "$ac_cv_use_ftp"
4660 if test "$no_cache" != 1; then
4661 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4664 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4665 echo "$as_me:$LINENO: result: yes" >&5
4666 echo "${ECHO_T}yes" >&6
4668 echo "$as_me:$LINENO: result: no" >&5
4669 echo "${ECHO_T}no" >&6
4674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4675 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4677 # Check whether --enable-http or --disable-http was given.
4678 if test "${enable_http+set}" = set; then
4679 enableval
="$enable_http"
4681 if test "$enableval" = yes; then
4682 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4684 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4689 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4690 if test "x$LINE" != x
; then
4691 eval "DEFAULT_$LINE"
4696 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4700 eval "$ac_cv_use_http"
4701 if test "$no_cache" != 1; then
4702 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4705 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4706 echo "$as_me:$LINENO: result: yes" >&5
4707 echo "${ECHO_T}yes" >&6
4709 echo "$as_me:$LINENO: result: no" >&5
4710 echo "${ECHO_T}no" >&6
4715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4716 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4718 # Check whether --enable-fileproto or --disable-fileproto was given.
4719 if test "${enable_fileproto+set}" = set; then
4720 enableval
="$enable_fileproto"
4722 if test "$enableval" = yes; then
4723 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4725 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4730 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4731 if test "x$LINE" != x
; then
4732 eval "DEFAULT_$LINE"
4737 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4741 eval "$ac_cv_use_fileproto"
4742 if test "$no_cache" != 1; then
4743 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4746 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4747 echo "$as_me:$LINENO: result: yes" >&5
4748 echo "${ECHO_T}yes" >&6
4750 echo "$as_me:$LINENO: result: no" >&5
4751 echo "${ECHO_T}no" >&6
4756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4757 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4759 # Check whether --enable-sockets or --disable-sockets was given.
4760 if test "${enable_sockets+set}" = set; then
4761 enableval
="$enable_sockets"
4763 if test "$enableval" = yes; then
4764 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4766 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4771 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4772 if test "x$LINE" != x
; then
4773 eval "DEFAULT_$LINE"
4778 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4782 eval "$ac_cv_use_sockets"
4783 if test "$no_cache" != 1; then
4784 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4787 if test "$wxUSE_SOCKETS" = yes; then
4788 echo "$as_me:$LINENO: result: yes" >&5
4789 echo "${ECHO_T}yes" >&6
4791 echo "$as_me:$LINENO: result: no" >&5
4792 echo "${ECHO_T}no" >&6
4797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4798 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4800 # Check whether --enable-ole or --disable-ole was given.
4801 if test "${enable_ole+set}" = set; then
4802 enableval
="$enable_ole"
4804 if test "$enableval" = yes; then
4805 ac_cv_use_ole
='wxUSE_OLE=yes'
4807 ac_cv_use_ole
='wxUSE_OLE=no'
4812 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4813 if test "x$LINE" != x
; then
4814 eval "DEFAULT_$LINE"
4819 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4823 eval "$ac_cv_use_ole"
4824 if test "$no_cache" != 1; then
4825 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4828 if test "$wxUSE_OLE" = yes; then
4829 echo "$as_me:$LINENO: result: yes" >&5
4830 echo "${ECHO_T}yes" >&6
4832 echo "$as_me:$LINENO: result: no" >&5
4833 echo "${ECHO_T}no" >&6
4838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4839 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4841 # Check whether --enable-dataobj or --disable-dataobj was given.
4842 if test "${enable_dataobj+set}" = set; then
4843 enableval
="$enable_dataobj"
4845 if test "$enableval" = yes; then
4846 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4848 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4853 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4854 if test "x$LINE" != x
; then
4855 eval "DEFAULT_$LINE"
4860 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4864 eval "$ac_cv_use_dataobj"
4865 if test "$no_cache" != 1; then
4866 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4869 if test "$wxUSE_DATAOBJ" = yes; then
4870 echo "$as_me:$LINENO: result: yes" >&5
4871 echo "${ECHO_T}yes" >&6
4873 echo "$as_me:$LINENO: result: no" >&5
4874 echo "${ECHO_T}no" >&6
4880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4881 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4883 # Check whether --enable-ipc or --disable-ipc was given.
4884 if test "${enable_ipc+set}" = set; then
4885 enableval
="$enable_ipc"
4887 if test "$enableval" = yes; then
4888 ac_cv_use_ipc
='wxUSE_IPC=yes'
4890 ac_cv_use_ipc
='wxUSE_IPC=no'
4895 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4896 if test "x$LINE" != x
; then
4897 eval "DEFAULT_$LINE"
4902 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4906 eval "$ac_cv_use_ipc"
4907 if test "$no_cache" != 1; then
4908 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4911 if test "$wxUSE_IPC" = yes; then
4912 echo "$as_me:$LINENO: result: yes" >&5
4913 echo "${ECHO_T}yes" >&6
4915 echo "$as_me:$LINENO: result: no" >&5
4916 echo "${ECHO_T}no" >&6
4922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4923 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4925 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4926 if test "${enable_apple_ieee+set}" = set; then
4927 enableval
="$enable_apple_ieee"
4929 if test "$enableval" = yes; then
4930 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4932 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4937 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4938 if test "x$LINE" != x
; then
4939 eval "DEFAULT_$LINE"
4944 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4948 eval "$ac_cv_use_apple_ieee"
4949 if test "$no_cache" != 1; then
4950 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4953 if test "$wxUSE_APPLE_IEEE" = yes; then
4954 echo "$as_me:$LINENO: result: yes" >&5
4955 echo "${ECHO_T}yes" >&6
4957 echo "$as_me:$LINENO: result: no" >&5
4958 echo "${ECHO_T}no" >&6
4963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4964 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4966 # Check whether --enable-arcstream or --disable-arcstream was given.
4967 if test "${enable_arcstream+set}" = set; then
4968 enableval
="$enable_arcstream"
4970 if test "$enableval" = yes; then
4971 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4973 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4978 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4979 if test "x$LINE" != x
; then
4980 eval "DEFAULT_$LINE"
4985 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4989 eval "$ac_cv_use_arcstream"
4990 if test "$no_cache" != 1; then
4991 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4994 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4995 echo "$as_me:$LINENO: result: yes" >&5
4996 echo "${ECHO_T}yes" >&6
4998 echo "$as_me:$LINENO: result: no" >&5
4999 echo "${ECHO_T}no" >&6
5004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5005 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5007 # Check whether --enable-backtrace or --disable-backtrace was given.
5008 if test "${enable_backtrace+set}" = set; then
5009 enableval
="$enable_backtrace"
5011 if test "$enableval" = yes; then
5012 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5014 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5019 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5020 if test "x$LINE" != x
; then
5021 eval "DEFAULT_$LINE"
5026 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5030 eval "$ac_cv_use_backtrace"
5031 if test "$no_cache" != 1; then
5032 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5035 if test "$wxUSE_STACKWALKER" = yes; then
5036 echo "$as_me:$LINENO: result: yes" >&5
5037 echo "${ECHO_T}yes" >&6
5039 echo "$as_me:$LINENO: result: no" >&5
5040 echo "${ECHO_T}no" >&6
5045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5046 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5048 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5049 if test "${enable_catch_segvs+set}" = set; then
5050 enableval
="$enable_catch_segvs"
5052 if test "$enableval" = yes; then
5053 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5055 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5060 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5061 if test "x$LINE" != x
; then
5062 eval "DEFAULT_$LINE"
5067 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5071 eval "$ac_cv_use_catch_segvs"
5072 if test "$no_cache" != 1; then
5073 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5076 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5077 echo "$as_me:$LINENO: result: yes" >&5
5078 echo "${ECHO_T}yes" >&6
5080 echo "$as_me:$LINENO: result: no" >&5
5081 echo "${ECHO_T}no" >&6
5086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5087 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5089 # Check whether --enable-cmdline or --disable-cmdline was given.
5090 if test "${enable_cmdline+set}" = set; then
5091 enableval
="$enable_cmdline"
5093 if test "$enableval" = yes; then
5094 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5096 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5101 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5102 if test "x$LINE" != x
; then
5103 eval "DEFAULT_$LINE"
5108 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5112 eval "$ac_cv_use_cmdline"
5113 if test "$no_cache" != 1; then
5114 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5117 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5118 echo "$as_me:$LINENO: result: yes" >&5
5119 echo "${ECHO_T}yes" >&6
5121 echo "$as_me:$LINENO: result: no" >&5
5122 echo "${ECHO_T}no" >&6
5127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5128 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5130 # Check whether --enable-datetime or --disable-datetime was given.
5131 if test "${enable_datetime+set}" = set; then
5132 enableval
="$enable_datetime"
5134 if test "$enableval" = yes; then
5135 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5137 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5142 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5143 if test "x$LINE" != x
; then
5144 eval "DEFAULT_$LINE"
5149 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5153 eval "$ac_cv_use_datetime"
5154 if test "$no_cache" != 1; then
5155 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5158 if test "$wxUSE_DATETIME" = yes; then
5159 echo "$as_me:$LINENO: result: yes" >&5
5160 echo "${ECHO_T}yes" >&6
5162 echo "$as_me:$LINENO: result: no" >&5
5163 echo "${ECHO_T}no" >&6
5168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5169 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5171 # Check whether --enable-debugreport or --disable-debugreport was given.
5172 if test "${enable_debugreport+set}" = set; then
5173 enableval
="$enable_debugreport"
5175 if test "$enableval" = yes; then
5176 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5178 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5183 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5184 if test "x$LINE" != x
; then
5185 eval "DEFAULT_$LINE"
5190 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5194 eval "$ac_cv_use_debugreport"
5195 if test "$no_cache" != 1; then
5196 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5199 if test "$wxUSE_DEBUGREPORT" = yes; then
5200 echo "$as_me:$LINENO: result: yes" >&5
5201 echo "${ECHO_T}yes" >&6
5203 echo "$as_me:$LINENO: result: no" >&5
5204 echo "${ECHO_T}no" >&6
5209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5210 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5212 # Check whether --enable-dialupman or --disable-dialupman was given.
5213 if test "${enable_dialupman+set}" = set; then
5214 enableval
="$enable_dialupman"
5216 if test "$enableval" = yes; then
5217 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5219 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5224 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x
; then
5226 eval "DEFAULT_$LINE"
5231 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5235 eval "$ac_cv_use_dialupman"
5236 if test "$no_cache" != 1; then
5237 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5240 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5241 echo "$as_me:$LINENO: result: yes" >&5
5242 echo "${ECHO_T}yes" >&6
5244 echo "$as_me:$LINENO: result: no" >&5
5245 echo "${ECHO_T}no" >&6
5250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5253 # Check whether --enable-dynlib or --disable-dynlib was given.
5254 if test "${enable_dynlib+set}" = set; then
5255 enableval
="$enable_dynlib"
5257 if test "$enableval" = yes; then
5258 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5260 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5265 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x
; then
5267 eval "DEFAULT_$LINE"
5272 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5276 eval "$ac_cv_use_dynlib"
5277 if test "$no_cache" != 1; then
5278 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5281 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5282 echo "$as_me:$LINENO: result: yes" >&5
5283 echo "${ECHO_T}yes" >&6
5285 echo "$as_me:$LINENO: result: no" >&5
5286 echo "${ECHO_T}no" >&6
5291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5294 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5295 if test "${enable_dynamicloader+set}" = set; then
5296 enableval
="$enable_dynamicloader"
5298 if test "$enableval" = yes; then
5299 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5301 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5306 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x
; then
5308 eval "DEFAULT_$LINE"
5313 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5317 eval "$ac_cv_use_dynamicloader"
5318 if test "$no_cache" != 1; then
5319 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5322 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5323 echo "$as_me:$LINENO: result: yes" >&5
5324 echo "${ECHO_T}yes" >&6
5326 echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6
5332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5333 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5335 # Check whether --enable-exceptions or --disable-exceptions was given.
5336 if test "${enable_exceptions+set}" = set; then
5337 enableval
="$enable_exceptions"
5339 if test "$enableval" = yes; then
5340 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5342 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5347 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5348 if test "x$LINE" != x
; then
5349 eval "DEFAULT_$LINE"
5354 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5358 eval "$ac_cv_use_exceptions"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5363 if test "$wxUSE_EXCEPTIONS" = yes; then
5364 echo "$as_me:$LINENO: result: yes" >&5
5365 echo "${ECHO_T}yes" >&6
5367 echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6
5373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5374 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5376 # Check whether --enable-ffile or --disable-ffile was given.
5377 if test "${enable_ffile+set}" = set; then
5378 enableval
="$enable_ffile"
5380 if test "$enableval" = yes; then
5381 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5383 ac_cv_use_ffile
='wxUSE_FFILE=no'
5388 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x
; then
5390 eval "DEFAULT_$LINE"
5395 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5399 eval "$ac_cv_use_ffile"
5400 if test "$no_cache" != 1; then
5401 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5404 if test "$wxUSE_FFILE" = yes; then
5405 echo "$as_me:$LINENO: result: yes" >&5
5406 echo "${ECHO_T}yes" >&6
5408 echo "$as_me:$LINENO: result: no" >&5
5409 echo "${ECHO_T}no" >&6
5414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5417 # Check whether --enable-file or --disable-file was given.
5418 if test "${enable_file+set}" = set; then
5419 enableval
="$enable_file"
5421 if test "$enableval" = yes; then
5422 ac_cv_use_file
='wxUSE_FILE=yes'
5424 ac_cv_use_file
='wxUSE_FILE=no'
5429 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x
; then
5431 eval "DEFAULT_$LINE"
5436 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5440 eval "$ac_cv_use_file"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5445 if test "$wxUSE_FILE" = yes; then
5446 echo "$as_me:$LINENO: result: yes" >&5
5447 echo "${ECHO_T}yes" >&6
5449 echo "$as_me:$LINENO: result: no" >&5
5450 echo "${ECHO_T}no" >&6
5455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5456 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5458 # Check whether --enable-filesystem or --disable-filesystem was given.
5459 if test "${enable_filesystem+set}" = set; then
5460 enableval
="$enable_filesystem"
5462 if test "$enableval" = yes; then
5463 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5465 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5470 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x
; then
5472 eval "DEFAULT_$LINE"
5477 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5481 eval "$ac_cv_use_filesystem"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5486 if test "$wxUSE_FILESYSTEM" = yes; then
5487 echo "$as_me:$LINENO: result: yes" >&5
5488 echo "${ECHO_T}yes" >&6
5490 echo "$as_me:$LINENO: result: no" >&5
5491 echo "${ECHO_T}no" >&6
5496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5499 # Check whether --enable-fontmap or --disable-fontmap was given.
5500 if test "${enable_fontmap+set}" = set; then
5501 enableval
="$enable_fontmap"
5503 if test "$enableval" = yes; then
5504 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5506 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5511 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x
; then
5513 eval "DEFAULT_$LINE"
5518 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5522 eval "$ac_cv_use_fontmap"
5523 if test "$no_cache" != 1; then
5524 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5527 if test "$wxUSE_FONTMAP" = yes; then
5528 echo "$as_me:$LINENO: result: yes" >&5
5529 echo "${ECHO_T}yes" >&6
5531 echo "$as_me:$LINENO: result: no" >&5
5532 echo "${ECHO_T}no" >&6
5537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5538 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5540 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5541 if test "${enable_fs_inet+set}" = set; then
5542 enableval
="$enable_fs_inet"
5544 if test "$enableval" = yes; then
5545 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5547 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5552 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5553 if test "x$LINE" != x
; then
5554 eval "DEFAULT_$LINE"
5559 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5563 eval "$ac_cv_use_fs_inet"
5564 if test "$no_cache" != 1; then
5565 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5568 if test "$wxUSE_FS_INET" = yes; then
5569 echo "$as_me:$LINENO: result: yes" >&5
5570 echo "${ECHO_T}yes" >&6
5572 echo "$as_me:$LINENO: result: no" >&5
5573 echo "${ECHO_T}no" >&6
5578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5581 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5582 if test "${enable_fs_zip+set}" = set; then
5583 enableval
="$enable_fs_zip"
5585 if test "$enableval" = yes; then
5586 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5588 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5593 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x
; then
5595 eval "DEFAULT_$LINE"
5600 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5604 eval "$ac_cv_use_fs_zip"
5605 if test "$no_cache" != 1; then
5606 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5609 if test "$wxUSE_FS_ZIP" = yes; then
5610 echo "$as_me:$LINENO: result: yes" >&5
5611 echo "${ECHO_T}yes" >&6
5613 echo "$as_me:$LINENO: result: no" >&5
5614 echo "${ECHO_T}no" >&6
5619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5622 # Check whether --enable-geometry or --disable-geometry was given.
5623 if test "${enable_geometry+set}" = set; then
5624 enableval
="$enable_geometry"
5626 if test "$enableval" = yes; then
5627 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5629 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5634 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5635 if test "x$LINE" != x
; then
5636 eval "DEFAULT_$LINE"
5641 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5645 eval "$ac_cv_use_geometry"
5646 if test "$no_cache" != 1; then
5647 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5650 if test "$wxUSE_GEOMETRY" = yes; then
5651 echo "$as_me:$LINENO: result: yes" >&5
5652 echo "${ECHO_T}yes" >&6
5654 echo "$as_me:$LINENO: result: no" >&5
5655 echo "${ECHO_T}no" >&6
5660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5663 # Check whether --enable-log or --disable-log was given.
5664 if test "${enable_log+set}" = set; then
5665 enableval
="$enable_log"
5667 if test "$enableval" = yes; then
5668 ac_cv_use_log
='wxUSE_LOG=yes'
5670 ac_cv_use_log
='wxUSE_LOG=no'
5675 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5676 if test "x$LINE" != x
; then
5677 eval "DEFAULT_$LINE"
5682 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5686 eval "$ac_cv_use_log"
5687 if test "$no_cache" != 1; then
5688 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5691 if test "$wxUSE_LOG" = yes; then
5692 echo "$as_me:$LINENO: result: yes" >&5
5693 echo "${ECHO_T}yes" >&6
5695 echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6
5701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5702 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5704 # Check whether --enable-longlong or --disable-longlong was given.
5705 if test "${enable_longlong+set}" = set; then
5706 enableval
="$enable_longlong"
5708 if test "$enableval" = yes; then
5709 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5711 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5716 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5717 if test "x$LINE" != x
; then
5718 eval "DEFAULT_$LINE"
5723 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5727 eval "$ac_cv_use_longlong"
5728 if test "$no_cache" != 1; then
5729 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5732 if test "$wxUSE_LONGLONG" = yes; then
5733 echo "$as_me:$LINENO: result: yes" >&5
5734 echo "${ECHO_T}yes" >&6
5736 echo "$as_me:$LINENO: result: no" >&5
5737 echo "${ECHO_T}no" >&6
5742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5743 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5745 # Check whether --enable-mimetype or --disable-mimetype was given.
5746 if test "${enable_mimetype+set}" = set; then
5747 enableval
="$enable_mimetype"
5749 if test "$enableval" = yes; then
5750 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5752 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5757 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5758 if test "x$LINE" != x
; then
5759 eval "DEFAULT_$LINE"
5764 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5768 eval "$ac_cv_use_mimetype"
5769 if test "$no_cache" != 1; then
5770 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5773 if test "$wxUSE_MIMETYPE" = yes; then
5774 echo "$as_me:$LINENO: result: yes" >&5
5775 echo "${ECHO_T}yes" >&6
5777 echo "$as_me:$LINENO: result: no" >&5
5778 echo "${ECHO_T}no" >&6
5783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5784 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5786 # Check whether --enable-mslu or --disable-mslu was given.
5787 if test "${enable_mslu+set}" = set; then
5788 enableval
="$enable_mslu"
5790 if test "$enableval" = yes; then
5791 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5793 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5798 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5799 if test "x$LINE" != x
; then
5800 eval "DEFAULT_$LINE"
5805 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5809 eval "$ac_cv_use_mslu"
5810 if test "$no_cache" != 1; then
5811 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5814 if test "$wxUSE_UNICODE_MSLU" = yes; then
5815 echo "$as_me:$LINENO: result: yes" >&5
5816 echo "${ECHO_T}yes" >&6
5818 echo "$as_me:$LINENO: result: no" >&5
5819 echo "${ECHO_T}no" >&6
5824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5825 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5827 # Check whether --enable-snglinst or --disable-snglinst was given.
5828 if test "${enable_snglinst+set}" = set; then
5829 enableval
="$enable_snglinst"
5831 if test "$enableval" = yes; then
5832 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5834 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5839 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5840 if test "x$LINE" != x
; then
5841 eval "DEFAULT_$LINE"
5846 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5850 eval "$ac_cv_use_snglinst"
5851 if test "$no_cache" != 1; then
5852 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5855 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5856 echo "$as_me:$LINENO: result: yes" >&5
5857 echo "${ECHO_T}yes" >&6
5859 echo "$as_me:$LINENO: result: no" >&5
5860 echo "${ECHO_T}no" >&6
5865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5866 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5868 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5869 if test "${enable_std_iostreams+set}" = set; then
5870 enableval
="$enable_std_iostreams"
5872 if test "$enableval" = yes; then
5873 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5875 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5880 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5881 if test "x$LINE" != x
; then
5882 eval "DEFAULT_$LINE"
5887 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5891 eval "$ac_cv_use_std_iostreams"
5892 if test "$no_cache" != 1; then
5893 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5896 if test "$wxUSE_STD_IOSTREAM" = yes; then
5897 echo "$as_me:$LINENO: result: yes" >&5
5898 echo "${ECHO_T}yes" >&6
5900 echo "$as_me:$LINENO: result: no" >&5
5901 echo "${ECHO_T}no" >&6
5906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5907 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5909 # Check whether --enable-std_string or --disable-std_string was given.
5910 if test "${enable_std_string+set}" = set; then
5911 enableval
="$enable_std_string"
5913 if test "$enableval" = yes; then
5914 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5916 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5921 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5922 if test "x$LINE" != x
; then
5923 eval "DEFAULT_$LINE"
5928 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5932 eval "$ac_cv_use_std_string"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5937 if test "$wxUSE_STD_STRING" = yes; then
5938 echo "$as_me:$LINENO: result: yes" >&5
5939 echo "${ECHO_T}yes" >&6
5941 echo "$as_me:$LINENO: result: no" >&5
5942 echo "${ECHO_T}no" >&6
5947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5950 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5951 if test "${enable_stdpaths+set}" = set; then
5952 enableval
="$enable_stdpaths"
5954 if test "$enableval" = yes; then
5955 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5957 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5962 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5963 if test "x$LINE" != x
; then
5964 eval "DEFAULT_$LINE"
5969 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5973 eval "$ac_cv_use_stdpaths"
5974 if test "$no_cache" != 1; then
5975 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5978 if test "$wxUSE_STDPATHS" = yes; then
5979 echo "$as_me:$LINENO: result: yes" >&5
5980 echo "${ECHO_T}yes" >&6
5982 echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6
5988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5989 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5991 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5992 if test "${enable_stopwatch+set}" = set; then
5993 enableval
="$enable_stopwatch"
5995 if test "$enableval" = yes; then
5996 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5998 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6003 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6004 if test "x$LINE" != x
; then
6005 eval "DEFAULT_$LINE"
6010 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6014 eval "$ac_cv_use_stopwatch"
6015 if test "$no_cache" != 1; then
6016 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6019 if test "$wxUSE_STOPWATCH" = yes; then
6020 echo "$as_me:$LINENO: result: yes" >&5
6021 echo "${ECHO_T}yes" >&6
6023 echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6
6029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6030 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6032 # Check whether --enable-streams or --disable-streams was given.
6033 if test "${enable_streams+set}" = set; then
6034 enableval
="$enable_streams"
6036 if test "$enableval" = yes; then
6037 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6039 ac_cv_use_streams
='wxUSE_STREAMS=no'
6044 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6045 if test "x$LINE" != x
; then
6046 eval "DEFAULT_$LINE"
6051 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6055 eval "$ac_cv_use_streams"
6056 if test "$no_cache" != 1; then
6057 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6060 if test "$wxUSE_STREAMS" = yes; then
6061 echo "$as_me:$LINENO: result: yes" >&5
6062 echo "${ECHO_T}yes" >&6
6064 echo "$as_me:$LINENO: result: no" >&5
6065 echo "${ECHO_T}no" >&6
6070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6073 # Check whether --enable-system_options or --disable-system_options was given.
6074 if test "${enable_system_options+set}" = set; then
6075 enableval
="$enable_system_options"
6077 if test "$enableval" = yes; then
6078 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6080 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6085 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x
; then
6087 eval "DEFAULT_$LINE"
6092 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6096 eval "$ac_cv_use_system_options"
6097 if test "$no_cache" != 1; then
6098 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6101 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6102 echo "$as_me:$LINENO: result: yes" >&5
6103 echo "${ECHO_T}yes" >&6
6105 echo "$as_me:$LINENO: result: no" >&5
6106 echo "${ECHO_T}no" >&6
6111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6114 # Check whether --enable-textbuf or --disable-textbuf was given.
6115 if test "${enable_textbuf+set}" = set; then
6116 enableval
="$enable_textbuf"
6118 if test "$enableval" = yes; then
6119 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6121 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6126 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6127 if test "x$LINE" != x
; then
6128 eval "DEFAULT_$LINE"
6133 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6137 eval "$ac_cv_use_textbuf"
6138 if test "$no_cache" != 1; then
6139 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6142 if test "$wxUSE_TEXTBUFFER" = yes; then
6143 echo "$as_me:$LINENO: result: yes" >&5
6144 echo "${ECHO_T}yes" >&6
6146 echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6
6152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6153 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6155 # Check whether --enable-textfile or --disable-textfile was given.
6156 if test "${enable_textfile+set}" = set; then
6157 enableval
="$enable_textfile"
6159 if test "$enableval" = yes; then
6160 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6162 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6167 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6168 if test "x$LINE" != x
; then
6169 eval "DEFAULT_$LINE"
6174 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6178 eval "$ac_cv_use_textfile"
6179 if test "$no_cache" != 1; then
6180 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6183 if test "$wxUSE_TEXTFILE" = yes; then
6184 echo "$as_me:$LINENO: result: yes" >&5
6185 echo "${ECHO_T}yes" >&6
6187 echo "$as_me:$LINENO: result: no" >&5
6188 echo "${ECHO_T}no" >&6
6193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6194 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6196 # Check whether --enable-timer or --disable-timer was given.
6197 if test "${enable_timer+set}" = set; then
6198 enableval
="$enable_timer"
6200 if test "$enableval" = yes; then
6201 ac_cv_use_timer
='wxUSE_TIMER=yes'
6203 ac_cv_use_timer
='wxUSE_TIMER=no'
6208 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6209 if test "x$LINE" != x
; then
6210 eval "DEFAULT_$LINE"
6215 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6219 eval "$ac_cv_use_timer"
6220 if test "$no_cache" != 1; then
6221 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6224 if test "$wxUSE_TIMER" = yes; then
6225 echo "$as_me:$LINENO: result: yes" >&5
6226 echo "${ECHO_T}yes" >&6
6228 echo "$as_me:$LINENO: result: no" >&5
6229 echo "${ECHO_T}no" >&6
6234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6237 # Check whether --enable-unicode or --disable-unicode was given.
6238 if test "${enable_unicode+set}" = set; then
6239 enableval
="$enable_unicode"
6241 if test "$enableval" = yes; then
6242 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6244 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6249 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x
; then
6251 eval "DEFAULT_$LINE"
6256 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6260 eval "$ac_cv_use_unicode"
6261 if test "$no_cache" != 1; then
6262 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6265 if test "$wxUSE_UNICODE" = yes; then
6266 echo "$as_me:$LINENO: result: yes" >&5
6267 echo "${ECHO_T}yes" >&6
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6276 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6278 # Check whether --enable-sound or --disable-sound was given.
6279 if test "${enable_sound+set}" = set; then
6280 enableval
="$enable_sound"
6282 if test "$enableval" = yes; then
6283 ac_cv_use_sound
='wxUSE_SOUND=yes'
6285 ac_cv_use_sound
='wxUSE_SOUND=no'
6290 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6291 if test "x$LINE" != x
; then
6292 eval "DEFAULT_$LINE"
6297 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6301 eval "$ac_cv_use_sound"
6302 if test "$no_cache" != 1; then
6303 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6306 if test "$wxUSE_SOUND" = yes; then
6307 echo "$as_me:$LINENO: result: yes" >&5
6308 echo "${ECHO_T}yes" >&6
6310 echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6
6316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6317 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6319 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6320 if test "${enable_mediactrl+set}" = set; then
6321 enableval
="$enable_mediactrl"
6323 if test "$enableval" = yes; then
6324 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6326 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6331 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6332 if test "x$LINE" != x
; then
6333 eval "DEFAULT_$LINE"
6338 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6342 eval "$ac_cv_use_mediactrl"
6343 if test "$no_cache" != 1; then
6344 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6347 if test "$wxUSE_MEDIACTRL" = yes; then
6348 echo "$as_me:$LINENO: result: yes" >&5
6349 echo "${ECHO_T}yes" >&6
6351 echo "$as_me:$LINENO: result: no" >&5
6352 echo "${ECHO_T}no" >&6
6357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6360 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6361 if test "${enable_gstreamer8+set}" = set; then
6362 enableval
="$enable_gstreamer8"
6364 if test "$enableval" = yes; then
6365 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6367 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6372 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6373 if test "x$LINE" != x
; then
6374 eval "DEFAULT_$LINE"
6379 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6383 eval "$ac_cv_use_gstreamer8"
6384 if test "$no_cache" != 1; then
6385 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6388 if test "$wxUSE_GSTREAMER8" = yes; then
6389 echo "$as_me:$LINENO: result: yes" >&5
6390 echo "${ECHO_T}yes" >&6
6392 echo "$as_me:$LINENO: result: no" >&5
6393 echo "${ECHO_T}no" >&6
6398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6399 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6401 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6402 if test "${enable_printfposparam+set}" = set; then
6403 enableval
="$enable_printfposparam"
6405 if test "$enableval" = yes; then
6406 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6408 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6413 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6414 if test "x$LINE" != x
; then
6415 eval "DEFAULT_$LINE"
6420 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6424 eval "$ac_cv_use_printfposparam"
6425 if test "$no_cache" != 1; then
6426 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6429 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6430 echo "$as_me:$LINENO: result: yes" >&5
6431 echo "${ECHO_T}yes" >&6
6433 echo "$as_me:$LINENO: result: no" >&5
6434 echo "${ECHO_T}no" >&6
6439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6440 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6442 # Check whether --enable-zipstream or --disable-zipstream was given.
6443 if test "${enable_zipstream+set}" = set; then
6444 enableval
="$enable_zipstream"
6446 if test "$enableval" = yes; then
6447 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6449 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6454 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6455 if test "x$LINE" != x
; then
6456 eval "DEFAULT_$LINE"
6461 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6465 eval "$ac_cv_use_zipstream"
6466 if test "$no_cache" != 1; then
6467 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6470 if test "$wxUSE_ZIPSTREAM" = yes; then
6471 echo "$as_me:$LINENO: result: yes" >&5
6472 echo "${ECHO_T}yes" >&6
6474 echo "$as_me:$LINENO: result: no" >&5
6475 echo "${ECHO_T}no" >&6
6481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6482 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6484 # Check whether --enable-url or --disable-url was given.
6485 if test "${enable_url+set}" = set; then
6486 enableval
="$enable_url"
6488 if test "$enableval" = yes; then
6489 ac_cv_use_url
='wxUSE_URL=yes'
6491 ac_cv_use_url
='wxUSE_URL=no'
6496 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6497 if test "x$LINE" != x
; then
6498 eval "DEFAULT_$LINE"
6503 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6507 eval "$ac_cv_use_url"
6508 if test "$no_cache" != 1; then
6509 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6512 if test "$wxUSE_URL" = yes; then
6513 echo "$as_me:$LINENO: result: yes" >&5
6514 echo "${ECHO_T}yes" >&6
6516 echo "$as_me:$LINENO: result: no" >&5
6517 echo "${ECHO_T}no" >&6
6522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6523 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6525 # Check whether --enable-protocol or --disable-protocol was given.
6526 if test "${enable_protocol+set}" = set; then
6527 enableval
="$enable_protocol"
6529 if test "$enableval" = yes; then
6530 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6532 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6537 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x
; then
6539 eval "DEFAULT_$LINE"
6544 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6548 eval "$ac_cv_use_protocol"
6549 if test "$no_cache" != 1; then
6550 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6553 if test "$wxUSE_PROTOCOL" = yes; then
6554 echo "$as_me:$LINENO: result: yes" >&5
6555 echo "${ECHO_T}yes" >&6
6557 echo "$as_me:$LINENO: result: no" >&5
6558 echo "${ECHO_T}no" >&6
6563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6564 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6566 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6567 if test "${enable_protocol_http+set}" = set; then
6568 enableval
="$enable_protocol_http"
6570 if test "$enableval" = yes; then
6571 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6573 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6578 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6579 if test "x$LINE" != x
; then
6580 eval "DEFAULT_$LINE"
6585 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6589 eval "$ac_cv_use_protocol_http"
6590 if test "$no_cache" != 1; then
6591 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6594 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6595 echo "$as_me:$LINENO: result: yes" >&5
6596 echo "${ECHO_T}yes" >&6
6598 echo "$as_me:$LINENO: result: no" >&5
6599 echo "${ECHO_T}no" >&6
6604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6605 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6607 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6608 if test "${enable_protocol_ftp+set}" = set; then
6609 enableval
="$enable_protocol_ftp"
6611 if test "$enableval" = yes; then
6612 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6614 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6619 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6620 if test "x$LINE" != x
; then
6621 eval "DEFAULT_$LINE"
6626 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6630 eval "$ac_cv_use_protocol_ftp"
6631 if test "$no_cache" != 1; then
6632 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6635 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6636 echo "$as_me:$LINENO: result: yes" >&5
6637 echo "${ECHO_T}yes" >&6
6639 echo "$as_me:$LINENO: result: no" >&5
6640 echo "${ECHO_T}no" >&6
6645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6646 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6648 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6649 if test "${enable_protocol_file+set}" = set; then
6650 enableval
="$enable_protocol_file"
6652 if test "$enableval" = yes; then
6653 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6655 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6660 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6661 if test "x$LINE" != x
; then
6662 eval "DEFAULT_$LINE"
6667 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6671 eval "$ac_cv_use_protocol_file"
6672 if test "$no_cache" != 1; then
6673 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6676 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6677 echo "$as_me:$LINENO: result: yes" >&5
6678 echo "${ECHO_T}yes" >&6
6680 echo "$as_me:$LINENO: result: no" >&5
6681 echo "${ECHO_T}no" >&6
6689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6690 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6692 # Check whether --enable-threads or --disable-threads was given.
6693 if test "${enable_threads+set}" = set; then
6694 enableval
="$enable_threads"
6696 if test "$enableval" = yes; then
6697 ac_cv_use_threads
='wxUSE_THREADS=yes'
6699 ac_cv_use_threads
='wxUSE_THREADS=no'
6704 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x
; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6715 eval "$ac_cv_use_threads"
6716 if test "$no_cache" != 1; then
6717 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6720 if test "$wxUSE_THREADS" = yes; then
6721 echo "$as_me:$LINENO: result: yes" >&5
6722 echo "${ECHO_T}yes" >&6
6724 echo "$as_me:$LINENO: result: no" >&5
6725 echo "${ECHO_T}no" >&6
6729 if test "$wxUSE_GUI" = "yes"; then
6734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6737 # Check whether --enable-docview or --disable-docview was given.
6738 if test "${enable_docview+set}" = set; then
6739 enableval
="$enable_docview"
6741 if test "$enableval" = yes; then
6742 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6744 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6749 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x
; then
6751 eval "DEFAULT_$LINE"
6756 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6760 eval "$ac_cv_use_docview"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6765 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6766 echo "$as_me:$LINENO: result: yes" >&5
6767 echo "${ECHO_T}yes" >&6
6769 echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6
6775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6778 # Check whether --enable-help or --disable-help was given.
6779 if test "${enable_help+set}" = set; then
6780 enableval
="$enable_help"
6782 if test "$enableval" = yes; then
6783 ac_cv_use_help
='wxUSE_HELP=yes'
6785 ac_cv_use_help
='wxUSE_HELP=no'
6790 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x
; then
6792 eval "DEFAULT_$LINE"
6797 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6801 eval "$ac_cv_use_help"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6806 if test "$wxUSE_HELP" = yes; then
6807 echo "$as_me:$LINENO: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6
6810 echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6
6816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6819 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6820 if test "${enable_mshtmlhelp+set}" = set; then
6821 enableval
="$enable_mshtmlhelp"
6823 if test "$enableval" = yes; then
6824 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6826 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6831 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x
; then
6833 eval "DEFAULT_$LINE"
6838 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6842 eval "$ac_cv_use_mshtmlhelp"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6847 if test "$wxUSE_MS_HTML_HELP" = yes; then
6848 echo "$as_me:$LINENO: result: yes" >&5
6849 echo "${ECHO_T}yes" >&6
6851 echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6
6857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6860 # Check whether --enable-html or --disable-html was given.
6861 if test "${enable_html+set}" = set; then
6862 enableval
="$enable_html"
6864 if test "$enableval" = yes; then
6865 ac_cv_use_html
='wxUSE_HTML=yes'
6867 ac_cv_use_html
='wxUSE_HTML=no'
6872 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x
; then
6874 eval "DEFAULT_$LINE"
6879 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6883 eval "$ac_cv_use_html"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6888 if test "$wxUSE_HTML" = yes; then
6889 echo "$as_me:$LINENO: result: yes" >&5
6890 echo "${ECHO_T}yes" >&6
6892 echo "$as_me:$LINENO: result: no" >&5
6893 echo "${ECHO_T}no" >&6
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6901 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6902 if test "${enable_htmlhelp+set}" = set; then
6903 enableval
="$enable_htmlhelp"
6905 if test "$enableval" = yes; then
6906 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6908 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6913 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x
; then
6915 eval "DEFAULT_$LINE"
6920 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6924 eval "$ac_cv_use_htmlhelp"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6929 if test "$wxUSE_WXHTML_HELP" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6
6933 echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6942 # Check whether --enable-xrc or --disable-xrc was given.
6943 if test "${enable_xrc+set}" = set; then
6944 enableval
="$enable_xrc"
6946 if test "$enableval" = yes; then
6947 ac_cv_use_xrc
='wxUSE_XRC=yes'
6949 ac_cv_use_xrc
='wxUSE_XRC=no'
6954 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x
; then
6956 eval "DEFAULT_$LINE"
6961 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6965 eval "$ac_cv_use_xrc"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6970 if test "$wxUSE_XRC" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
6983 # Check whether --enable-aui or --disable-aui was given.
6984 if test "${enable_aui+set}" = set; then
6985 enableval
="$enable_aui"
6987 if test "$enableval" = yes; then
6988 ac_cv_use_aui
='wxUSE_AUI=yes'
6990 ac_cv_use_aui
='wxUSE_AUI=no'
6995 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x
; then
6997 eval "DEFAULT_$LINE"
7002 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7006 eval "$ac_cv_use_aui"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7011 if test "$wxUSE_AUI" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6
7015 echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7024 # Check whether --enable-constraints or --disable-constraints was given.
7025 if test "${enable_constraints+set}" = set; then
7026 enableval
="$enable_constraints"
7028 if test "$enableval" = yes; then
7029 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7031 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7036 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x
; then
7038 eval "DEFAULT_$LINE"
7043 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7047 eval "$ac_cv_use_constraints"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_CONSTRAINTS" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7065 # Check whether --enable-printarch or --disable-printarch was given.
7066 if test "${enable_printarch+set}" = set; then
7067 enableval
="$enable_printarch"
7069 if test "$enableval" = yes; then
7070 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7072 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7077 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x
; then
7079 eval "DEFAULT_$LINE"
7084 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7088 eval "$ac_cv_use_printarch"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7093 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6
7097 echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7106 # Check whether --enable-mdi or --disable-mdi was given.
7107 if test "${enable_mdi+set}" = set; then
7108 enableval
="$enable_mdi"
7110 if test "$enableval" = yes; then
7111 ac_cv_use_mdi
='wxUSE_MDI=yes'
7113 ac_cv_use_mdi
='wxUSE_MDI=no'
7118 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x
; then
7120 eval "DEFAULT_$LINE"
7125 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7129 eval "$ac_cv_use_mdi"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7134 if test "$wxUSE_MDI" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7147 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7148 if test "${enable_mdidoc+set}" = set; then
7149 enableval
="$enable_mdidoc"
7151 if test "$enableval" = yes; then
7152 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7154 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7159 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x
; then
7161 eval "DEFAULT_$LINE"
7166 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7170 eval "$ac_cv_use_mdidoc"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7175 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6
7179 echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7188 # Check whether --enable-loggui or --disable-loggui was given.
7189 if test "${enable_loggui+set}" = set; then
7190 enableval
="$enable_loggui"
7192 if test "$enableval" = yes; then
7193 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7195 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7200 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x
; then
7202 eval "DEFAULT_$LINE"
7207 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7211 eval "$ac_cv_use_loggui"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7216 if test "$wxUSE_LOGGUI" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7229 # Check whether --enable-logwin or --disable-logwin was given.
7230 if test "${enable_logwin+set}" = set; then
7231 enableval
="$enable_logwin"
7233 if test "$enableval" = yes; then
7234 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7236 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7241 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x
; then
7243 eval "DEFAULT_$LINE"
7248 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7252 eval "$ac_cv_use_logwin"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7257 if test "$wxUSE_LOGWINDOW" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7270 # Check whether --enable-logdialog or --disable-logdialog was given.
7271 if test "${enable_logdialog+set}" = set; then
7272 enableval
="$enable_logdialog"
7274 if test "$enableval" = yes; then
7275 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7277 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7282 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x
; then
7284 eval "DEFAULT_$LINE"
7289 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7293 eval "$ac_cv_use_logdialog"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7298 if test "$wxUSE_LOGDIALOG" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7311 # Check whether --enable-webkit or --disable-webkit was given.
7312 if test "${enable_webkit+set}" = set; then
7313 enableval
="$enable_webkit"
7315 if test "$enableval" = yes; then
7316 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7318 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7323 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x
; then
7325 eval "DEFAULT_$LINE"
7330 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7334 eval "$ac_cv_use_webkit"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7339 if test "$wxUSE_WEBKIT" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6
7343 echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7352 # Check whether --enable-html or --disable-html was given.
7353 if test "${enable_html+set}" = set; then
7354 enableval
="$enable_html"
7356 if test "$enableval" = yes; then
7357 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7359 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7364 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x
; then
7366 eval "DEFAULT_$LINE"
7371 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7375 eval "$ac_cv_use_html"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7380 if test "$wxUSE_RICHTEXT" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7392 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7394 # Check whether --enable-postscript or --disable-postscript was given.
7395 if test "${enable_postscript+set}" = set; then
7396 enableval
="$enable_postscript"
7398 if test "$enableval" = yes; then
7399 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7401 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7406 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7407 if test "x$LINE" != x
; then
7408 eval "DEFAULT_$LINE"
7413 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7417 eval "$ac_cv_use_postscript"
7418 if test "$no_cache" != 1; then
7419 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7422 if test "$wxUSE_POSTSCRIPT" = yes; then
7423 echo "$as_me:$LINENO: result: yes" >&5
7424 echo "${ECHO_T}yes" >&6
7426 echo "$as_me:$LINENO: result: no" >&5
7427 echo "${ECHO_T}no" >&6
7435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7436 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7438 # Check whether --enable-prologio or --disable-prologio was given.
7439 if test "${enable_prologio+set}" = set; then
7440 enableval
="$enable_prologio"
7442 if test "$enableval" = yes; then
7443 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7445 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7450 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7451 if test "x$LINE" != x
; then
7452 eval "DEFAULT_$LINE"
7457 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7461 eval "$ac_cv_use_prologio"
7462 if test "$no_cache" != 1; then
7463 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7466 if test "$wxUSE_PROLOGIO" = yes; then
7467 echo "$as_me:$LINENO: result: yes" >&5
7468 echo "${ECHO_T}yes" >&6
7470 echo "$as_me:$LINENO: result: no" >&5
7471 echo "${ECHO_T}no" >&6
7476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7477 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7479 # Check whether --enable-resources or --disable-resources was given.
7480 if test "${enable_resources+set}" = set; then
7481 enableval
="$enable_resources"
7483 if test "$enableval" = yes; then
7484 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7486 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7491 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7492 if test "x$LINE" != x
; then
7493 eval "DEFAULT_$LINE"
7498 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7502 eval "$ac_cv_use_resources"
7503 if test "$no_cache" != 1; then
7504 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7507 if test "$wxUSE_RESOURCES" = yes; then
7508 echo "$as_me:$LINENO: result: yes" >&5
7509 echo "${ECHO_T}yes" >&6
7511 echo "$as_me:$LINENO: result: no" >&5
7512 echo "${ECHO_T}no" >&6
7519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7522 # Check whether --enable-clipboard or --disable-clipboard was given.
7523 if test "${enable_clipboard+set}" = set; then
7524 enableval
="$enable_clipboard"
7526 if test "$enableval" = yes; then
7527 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7529 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7534 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x
; then
7536 eval "DEFAULT_$LINE"
7541 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7545 eval "$ac_cv_use_clipboard"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7550 if test "$wxUSE_CLIPBOARD" = yes; then
7551 echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6
7554 echo "$as_me:$LINENO: result: no" >&5
7555 echo "${ECHO_T}no" >&6
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7563 # Check whether --enable-dnd or --disable-dnd was given.
7564 if test "${enable_dnd+set}" = set; then
7565 enableval
="$enable_dnd"
7567 if test "$enableval" = yes; then
7568 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7570 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7575 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x
; then
7577 eval "DEFAULT_$LINE"
7582 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7586 eval "$ac_cv_use_dnd"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7591 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7592 echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7604 # Check whether --enable-metafile or --disable-metafile was given.
7605 if test "${enable_metafile+set}" = set; then
7606 enableval
="$enable_metafile"
7608 if test "$enableval" = yes; then
7609 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7611 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7616 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x
; then
7618 eval "DEFAULT_$LINE"
7623 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7627 eval "$ac_cv_use_metafile"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7632 if test "$wxUSE_METAFILE" = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7636 echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6
7645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7646 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7648 # Check whether --enable-controls or --disable-controls was given.
7649 if test "${enable_controls+set}" = set; then
7650 enableval
="$enable_controls"
7652 if test "$enableval" = yes; then
7653 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7655 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7660 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x
; then
7662 eval "DEFAULT_$LINE"
7667 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7671 eval "$ac_cv_use_controls"
7672 if test "$no_cache" != 1; then
7673 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7676 if test "$wxUSE_CONTROLS" = yes; then
7677 echo "$as_me:$LINENO: result: yes" >&5
7678 echo "${ECHO_T}yes" >&6
7680 echo "$as_me:$LINENO: result: no" >&5
7681 echo "${ECHO_T}no" >&6
7685 if test "$wxUSE_CONTROLS" = "yes"; then
7686 DEFAULT_wxUSE_ACCEL
=yes
7687 DEFAULT_wxUSE_BMPBUTTON
=yes
7688 DEFAULT_wxUSE_BUTTON
=yes
7689 DEFAULT_wxUSE_CALCTRL
=yes
7690 DEFAULT_wxUSE_CARET
=yes
7691 DEFAULT_wxUSE_COMBOBOX
=yes
7692 DEFAULT_wxUSE_CHECKBOX
=yes
7693 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7694 DEFAULT_wxUSE_CHOICE
=yes
7695 DEFAULT_wxUSE_CHOICEBOOK
=yes
7696 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7697 DEFAULT_wxUSE_COMBOBOX
=yes
7698 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7699 DEFAULT_wxUSE_DISPLAY
=yes
7700 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7701 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7702 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7703 DEFAULT_wxUSE_GAUGE
=yes
7704 DEFAULT_wxUSE_GRID
=yes
7705 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7706 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7707 DEFAULT_wxUSE_IMAGLIST
=yes
7708 DEFAULT_wxUSE_LISTBOOK
=yes
7709 DEFAULT_wxUSE_LISTBOX
=yes
7710 DEFAULT_wxUSE_LISTCTRL
=yes
7711 DEFAULT_wxUSE_NOTEBOOK
=yes
7712 DEFAULT_wxUSE_RADIOBOX
=yes
7713 DEFAULT_wxUSE_RADIOBTN
=yes
7714 DEFAULT_wxUSE_SASH
=yes
7715 DEFAULT_wxUSE_SCROLLBAR
=yes
7716 DEFAULT_wxUSE_SLIDER
=yes
7717 DEFAULT_wxUSE_SPINBTN
=yes
7718 DEFAULT_wxUSE_SPINCTRL
=yes
7719 DEFAULT_wxUSE_SPLITTER
=yes
7720 DEFAULT_wxUSE_STATBMP
=yes
7721 DEFAULT_wxUSE_STATBOX
=yes
7722 DEFAULT_wxUSE_STATLINE
=yes
7723 DEFAULT_wxUSE_STATUSBAR
=yes
7724 DEFAULT_wxUSE_TAB_DIALOG
=yes
7725 DEFAULT_wxUSE_TOGGLEBTN
=yes
7726 DEFAULT_wxUSE_TOOLBAR
=yes
7727 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7728 DEFAULT_wxUSE_TOOLTIPS
=yes
7729 DEFAULT_wxUSE_TREEBOOK
=yes
7730 DEFAULT_wxUSE_TOOLBOOK
=yes
7731 DEFAULT_wxUSE_TREECTRL
=yes
7732 DEFAULT_wxUSE_POPUPWIN
=yes
7733 DEFAULT_wxUSE_TIPWINDOW
=yes
7734 elif test "$wxUSE_CONTROLS" = "no"; then
7735 DEFAULT_wxUSE_ACCEL
=no
7736 DEFAULT_wxUSE_BMPBUTTON
=no
7737 DEFAULT_wxUSE_BUTTON
=no
7738 DEFAULT_wxUSE_CALCTRL
=no
7739 DEFAULT_wxUSE_CARET
=no
7740 DEFAULT_wxUSE_COMBOBOX
=no
7741 DEFAULT_wxUSE_CHECKBOX
=no
7742 DEFAULT_wxUSE_CHECKLISTBOX
=no
7743 DEFAULT_wxUSE_CHOICE
=no
7744 DEFAULT_wxUSE_CHOICEBOOK
=no
7745 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7746 DEFAULT_wxUSE_COMBOBOX
=no
7747 DEFAULT_wxUSE_DATEPICKCTRL
=no
7748 DEFAULT_wxUSE_DISPLAY
=no
7749 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7750 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7751 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7752 DEFAULT_wxUSE_GAUGE
=no
7753 DEFAULT_wxUSE_GRID
=no
7754 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7755 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7756 DEFAULT_wxUSE_IMAGLIST
=no
7757 DEFAULT_wxUSE_LISTBOOK
=no
7758 DEFAULT_wxUSE_LISTBOX
=no
7759 DEFAULT_wxUSE_LISTCTRL
=no
7760 DEFAULT_wxUSE_NOTEBOOK
=no
7761 DEFAULT_wxUSE_RADIOBOX
=no
7762 DEFAULT_wxUSE_RADIOBTN
=no
7763 DEFAULT_wxUSE_SASH
=no
7764 DEFAULT_wxUSE_SCROLLBAR
=no
7765 DEFAULT_wxUSE_SLIDER
=no
7766 DEFAULT_wxUSE_SPINBTN
=no
7767 DEFAULT_wxUSE_SPINCTRL
=no
7768 DEFAULT_wxUSE_SPLITTER
=no
7769 DEFAULT_wxUSE_STATBMP
=no
7770 DEFAULT_wxUSE_STATBOX
=no
7771 DEFAULT_wxUSE_STATLINE
=no
7772 DEFAULT_wxUSE_STATUSBAR
=no
7773 DEFAULT_wxUSE_TAB_DIALOG
=no
7774 DEFAULT_wxUSE_TOGGLEBTN
=no
7775 DEFAULT_wxUSE_TOOLBAR
=no
7776 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7777 DEFAULT_wxUSE_TOOLTIPS
=no
7778 DEFAULT_wxUSE_TREEBOOK
=no
7779 DEFAULT_wxUSE_TOOLBOOK
=no
7780 DEFAULT_wxUSE_TREECTRL
=no
7781 DEFAULT_wxUSE_POPUPWIN
=no
7782 DEFAULT_wxUSE_TIPWINDOW
=no
7787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7788 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7790 # Check whether --enable-accel or --disable-accel was given.
7791 if test "${enable_accel+set}" = set; then
7792 enableval
="$enable_accel"
7794 if test "$enableval" = yes; then
7795 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7797 ac_cv_use_accel
='wxUSE_ACCEL=no'
7802 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7803 if test "x$LINE" != x
; then
7804 eval "DEFAULT_$LINE"
7809 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7813 eval "$ac_cv_use_accel"
7814 if test "$no_cache" != 1; then
7815 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7818 if test "$wxUSE_ACCEL" = yes; then
7819 echo "$as_me:$LINENO: result: yes" >&5
7820 echo "${ECHO_T}yes" >&6
7822 echo "$as_me:$LINENO: result: no" >&5
7823 echo "${ECHO_T}no" >&6
7828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7829 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7831 # Check whether --enable-button or --disable-button was given.
7832 if test "${enable_button+set}" = set; then
7833 enableval
="$enable_button"
7835 if test "$enableval" = yes; then
7836 ac_cv_use_button
='wxUSE_BUTTON=yes'
7838 ac_cv_use_button
='wxUSE_BUTTON=no'
7843 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7844 if test "x$LINE" != x
; then
7845 eval "DEFAULT_$LINE"
7850 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7854 eval "$ac_cv_use_button"
7855 if test "$no_cache" != 1; then
7856 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7859 if test "$wxUSE_BUTTON" = yes; then
7860 echo "$as_me:$LINENO: result: yes" >&5
7861 echo "${ECHO_T}yes" >&6
7863 echo "$as_me:$LINENO: result: no" >&5
7864 echo "${ECHO_T}no" >&6
7869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7870 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7872 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7873 if test "${enable_bmpbutton+set}" = set; then
7874 enableval
="$enable_bmpbutton"
7876 if test "$enableval" = yes; then
7877 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7879 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7884 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7885 if test "x$LINE" != x
; then
7886 eval "DEFAULT_$LINE"
7891 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7895 eval "$ac_cv_use_bmpbutton"
7896 if test "$no_cache" != 1; then
7897 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7900 if test "$wxUSE_BMPBUTTON" = yes; then
7901 echo "$as_me:$LINENO: result: yes" >&5
7902 echo "${ECHO_T}yes" >&6
7904 echo "$as_me:$LINENO: result: no" >&5
7905 echo "${ECHO_T}no" >&6
7910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7911 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7913 # Check whether --enable-calendar or --disable-calendar was given.
7914 if test "${enable_calendar+set}" = set; then
7915 enableval
="$enable_calendar"
7917 if test "$enableval" = yes; then
7918 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7920 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7925 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7926 if test "x$LINE" != x
; then
7927 eval "DEFAULT_$LINE"
7932 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7936 eval "$ac_cv_use_calendar"
7937 if test "$no_cache" != 1; then
7938 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7941 if test "$wxUSE_CALCTRL" = yes; then
7942 echo "$as_me:$LINENO: result: yes" >&5
7943 echo "${ECHO_T}yes" >&6
7945 echo "$as_me:$LINENO: result: no" >&5
7946 echo "${ECHO_T}no" >&6
7951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7952 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7954 # Check whether --enable-caret or --disable-caret was given.
7955 if test "${enable_caret+set}" = set; then
7956 enableval
="$enable_caret"
7958 if test "$enableval" = yes; then
7959 ac_cv_use_caret
='wxUSE_CARET=yes'
7961 ac_cv_use_caret
='wxUSE_CARET=no'
7966 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7967 if test "x$LINE" != x
; then
7968 eval "DEFAULT_$LINE"
7973 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7977 eval "$ac_cv_use_caret"
7978 if test "$no_cache" != 1; then
7979 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7982 if test "$wxUSE_CARET" = yes; then
7983 echo "$as_me:$LINENO: result: yes" >&5
7984 echo "${ECHO_T}yes" >&6
7986 echo "$as_me:$LINENO: result: no" >&5
7987 echo "${ECHO_T}no" >&6
7992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7993 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7995 # Check whether --enable-checkbox or --disable-checkbox was given.
7996 if test "${enable_checkbox+set}" = set; then
7997 enableval
="$enable_checkbox"
7999 if test "$enableval" = yes; then
8000 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8002 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8007 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8008 if test "x$LINE" != x
; then
8009 eval "DEFAULT_$LINE"
8014 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8018 eval "$ac_cv_use_checkbox"
8019 if test "$no_cache" != 1; then
8020 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8023 if test "$wxUSE_CHECKBOX" = yes; then
8024 echo "$as_me:$LINENO: result: yes" >&5
8025 echo "${ECHO_T}yes" >&6
8027 echo "$as_me:$LINENO: result: no" >&5
8028 echo "${ECHO_T}no" >&6
8033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8034 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8036 # Check whether --enable-checklst or --disable-checklst was given.
8037 if test "${enable_checklst+set}" = set; then
8038 enableval
="$enable_checklst"
8040 if test "$enableval" = yes; then
8041 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8043 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8048 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8049 if test "x$LINE" != x
; then
8050 eval "DEFAULT_$LINE"
8055 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8059 eval "$ac_cv_use_checklst"
8060 if test "$no_cache" != 1; then
8061 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8064 if test "$wxUSE_CHECKLST" = yes; then
8065 echo "$as_me:$LINENO: result: yes" >&5
8066 echo "${ECHO_T}yes" >&6
8068 echo "$as_me:$LINENO: result: no" >&5
8069 echo "${ECHO_T}no" >&6
8074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8075 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8077 # Check whether --enable-choice or --disable-choice was given.
8078 if test "${enable_choice+set}" = set; then
8079 enableval
="$enable_choice"
8081 if test "$enableval" = yes; then
8082 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8084 ac_cv_use_choice
='wxUSE_CHOICE=no'
8089 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8090 if test "x$LINE" != x
; then
8091 eval "DEFAULT_$LINE"
8096 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8100 eval "$ac_cv_use_choice"
8101 if test "$no_cache" != 1; then
8102 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8105 if test "$wxUSE_CHOICE" = yes; then
8106 echo "$as_me:$LINENO: result: yes" >&5
8107 echo "${ECHO_T}yes" >&6
8109 echo "$as_me:$LINENO: result: no" >&5
8110 echo "${ECHO_T}no" >&6
8115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8116 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8118 # Check whether --enable-choicebook or --disable-choicebook was given.
8119 if test "${enable_choicebook+set}" = set; then
8120 enableval
="$enable_choicebook"
8122 if test "$enableval" = yes; then
8123 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8125 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8130 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8131 if test "x$LINE" != x
; then
8132 eval "DEFAULT_$LINE"
8137 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8141 eval "$ac_cv_use_choicebook"
8142 if test "$no_cache" != 1; then
8143 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8146 if test "$wxUSE_CHOICEBOOK" = yes; then
8147 echo "$as_me:$LINENO: result: yes" >&5
8148 echo "${ECHO_T}yes" >&6
8150 echo "$as_me:$LINENO: result: no" >&5
8151 echo "${ECHO_T}no" >&6
8156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8157 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8159 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8160 if test "${enable_colourpicker+set}" = set; then
8161 enableval
="$enable_colourpicker"
8163 if test "$enableval" = yes; then
8164 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8166 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8171 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8172 if test "x$LINE" != x
; then
8173 eval "DEFAULT_$LINE"
8178 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8182 eval "$ac_cv_use_colourpicker"
8183 if test "$no_cache" != 1; then
8184 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8187 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8188 echo "$as_me:$LINENO: result: yes" >&5
8189 echo "${ECHO_T}yes" >&6
8191 echo "$as_me:$LINENO: result: no" >&5
8192 echo "${ECHO_T}no" >&6
8197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8198 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8200 # Check whether --enable-combobox or --disable-combobox was given.
8201 if test "${enable_combobox+set}" = set; then
8202 enableval
="$enable_combobox"
8204 if test "$enableval" = yes; then
8205 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8207 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8212 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8213 if test "x$LINE" != x
; then
8214 eval "DEFAULT_$LINE"
8219 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8223 eval "$ac_cv_use_combobox"
8224 if test "$no_cache" != 1; then
8225 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8228 if test "$wxUSE_COMBOBOX" = yes; then
8229 echo "$as_me:$LINENO: result: yes" >&5
8230 echo "${ECHO_T}yes" >&6
8232 echo "$as_me:$LINENO: result: no" >&5
8233 echo "${ECHO_T}no" >&6
8238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8241 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8242 if test "${enable_comboctrl+set}" = set; then
8243 enableval
="$enable_comboctrl"
8245 if test "$enableval" = yes; then
8246 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8248 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8253 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8254 if test "x$LINE" != x
; then
8255 eval "DEFAULT_$LINE"
8260 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8264 eval "$ac_cv_use_comboctrl"
8265 if test "$no_cache" != 1; then
8266 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8269 if test "$wxUSE_COMBOCTRL" = yes; then
8270 echo "$as_me:$LINENO: result: yes" >&5
8271 echo "${ECHO_T}yes" >&6
8273 echo "$as_me:$LINENO: result: no" >&5
8274 echo "${ECHO_T}no" >&6
8279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8280 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8282 # Check whether --enable-datepick or --disable-datepick was given.
8283 if test "${enable_datepick+set}" = set; then
8284 enableval
="$enable_datepick"
8286 if test "$enableval" = yes; then
8287 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8289 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8294 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8295 if test "x$LINE" != x
; then
8296 eval "DEFAULT_$LINE"
8301 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8305 eval "$ac_cv_use_datepick"
8306 if test "$no_cache" != 1; then
8307 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8310 if test "$wxUSE_DATEPICKCTRL" = yes; then
8311 echo "$as_me:$LINENO: result: yes" >&5
8312 echo "${ECHO_T}yes" >&6
8314 echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6
8320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8321 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8323 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8324 if test "${enable_dirpicker+set}" = set; then
8325 enableval
="$enable_dirpicker"
8327 if test "$enableval" = yes; then
8328 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8330 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8335 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8336 if test "x$LINE" != x
; then
8337 eval "DEFAULT_$LINE"
8342 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8346 eval "$ac_cv_use_dirpicker"
8347 if test "$no_cache" != 1; then
8348 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8351 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8352 echo "$as_me:$LINENO: result: yes" >&5
8353 echo "${ECHO_T}yes" >&6
8355 echo "$as_me:$LINENO: result: no" >&5
8356 echo "${ECHO_T}no" >&6
8361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8364 # Check whether --enable-display or --disable-display was given.
8365 if test "${enable_display+set}" = set; then
8366 enableval
="$enable_display"
8368 if test "$enableval" = yes; then
8369 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8371 ac_cv_use_display
='wxUSE_DISPLAY=no'
8376 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8377 if test "x$LINE" != x
; then
8378 eval "DEFAULT_$LINE"
8383 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8387 eval "$ac_cv_use_display"
8388 if test "$no_cache" != 1; then
8389 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8392 if test "$wxUSE_DISPLAY" = yes; then
8393 echo "$as_me:$LINENO: result: yes" >&5
8394 echo "${ECHO_T}yes" >&6
8396 echo "$as_me:$LINENO: result: no" >&5
8397 echo "${ECHO_T}no" >&6
8402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8403 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8405 # Check whether --enable-filepicker or --disable-filepicker was given.
8406 if test "${enable_filepicker+set}" = set; then
8407 enableval
="$enable_filepicker"
8409 if test "$enableval" = yes; then
8410 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8412 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8417 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8418 if test "x$LINE" != x
; then
8419 eval "DEFAULT_$LINE"
8424 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8428 eval "$ac_cv_use_filepicker"
8429 if test "$no_cache" != 1; then
8430 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8433 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8434 echo "$as_me:$LINENO: result: yes" >&5
8435 echo "${ECHO_T}yes" >&6
8437 echo "$as_me:$LINENO: result: no" >&5
8438 echo "${ECHO_T}no" >&6
8443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8444 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8446 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8447 if test "${enable_fontpicker+set}" = set; then
8448 enableval
="$enable_fontpicker"
8450 if test "$enableval" = yes; then
8451 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8453 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8458 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8459 if test "x$LINE" != x
; then
8460 eval "DEFAULT_$LINE"
8465 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8469 eval "$ac_cv_use_fontpicker"
8470 if test "$no_cache" != 1; then
8471 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8474 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8475 echo "$as_me:$LINENO: result: yes" >&5
8476 echo "${ECHO_T}yes" >&6
8478 echo "$as_me:$LINENO: result: no" >&5
8479 echo "${ECHO_T}no" >&6
8484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8485 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8487 # Check whether --enable-gauge or --disable-gauge was given.
8488 if test "${enable_gauge+set}" = set; then
8489 enableval
="$enable_gauge"
8491 if test "$enableval" = yes; then
8492 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8494 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8499 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8500 if test "x$LINE" != x
; then
8501 eval "DEFAULT_$LINE"
8506 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8510 eval "$ac_cv_use_gauge"
8511 if test "$no_cache" != 1; then
8512 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8515 if test "$wxUSE_GAUGE" = yes; then
8516 echo "$as_me:$LINENO: result: yes" >&5
8517 echo "${ECHO_T}yes" >&6
8519 echo "$as_me:$LINENO: result: no" >&5
8520 echo "${ECHO_T}no" >&6
8525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8528 # Check whether --enable-grid or --disable-grid was given.
8529 if test "${enable_grid+set}" = set; then
8530 enableval
="$enable_grid"
8532 if test "$enableval" = yes; then
8533 ac_cv_use_grid
='wxUSE_GRID=yes'
8535 ac_cv_use_grid
='wxUSE_GRID=no'
8540 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8541 if test "x$LINE" != x
; then
8542 eval "DEFAULT_$LINE"
8547 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8551 eval "$ac_cv_use_grid"
8552 if test "$no_cache" != 1; then
8553 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8556 if test "$wxUSE_GRID" = yes; then
8557 echo "$as_me:$LINENO: result: yes" >&5
8558 echo "${ECHO_T}yes" >&6
8560 echo "$as_me:$LINENO: result: no" >&5
8561 echo "${ECHO_T}no" >&6
8566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8569 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8570 if test "${enable_dataviewctrl+set}" = set; then
8571 enableval
="$enable_dataviewctrl"
8573 if test "$enableval" = yes; then
8574 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8576 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8581 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8582 if test "x$LINE" != x
; then
8583 eval "DEFAULT_$LINE"
8588 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8592 eval "$ac_cv_use_dataviewctrl"
8593 if test "$no_cache" != 1; then
8594 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8597 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8598 echo "$as_me:$LINENO: result: yes" >&5
8599 echo "${ECHO_T}yes" >&6
8601 echo "$as_me:$LINENO: result: no" >&5
8602 echo "${ECHO_T}no" >&6
8607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8610 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8611 if test "${enable_hyperlink+set}" = set; then
8612 enableval
="$enable_hyperlink"
8614 if test "$enableval" = yes; then
8615 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8617 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8622 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x
; then
8624 eval "DEFAULT_$LINE"
8629 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8633 eval "$ac_cv_use_hyperlink"
8634 if test "$no_cache" != 1; then
8635 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8638 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8639 echo "$as_me:$LINENO: result: yes" >&5
8640 echo "${ECHO_T}yes" >&6
8642 echo "$as_me:$LINENO: result: no" >&5
8643 echo "${ECHO_T}no" >&6
8648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8651 # Check whether --enable-imaglist or --disable-imaglist was given.
8652 if test "${enable_imaglist+set}" = set; then
8653 enableval
="$enable_imaglist"
8655 if test "$enableval" = yes; then
8656 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8658 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8663 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8664 if test "x$LINE" != x
; then
8665 eval "DEFAULT_$LINE"
8670 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8674 eval "$ac_cv_use_imaglist"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8679 if test "$wxUSE_IMAGLIST" = yes; then
8680 echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6
8683 echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6
8689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8692 # Check whether --enable-listbook or --disable-listbook was given.
8693 if test "${enable_listbook+set}" = set; then
8694 enableval
="$enable_listbook"
8696 if test "$enableval" = yes; then
8697 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8699 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8704 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8705 if test "x$LINE" != x
; then
8706 eval "DEFAULT_$LINE"
8711 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8715 eval "$ac_cv_use_listbook"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8720 if test "$wxUSE_LISTBOOK" = yes; then
8721 echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8733 # Check whether --enable-listbox or --disable-listbox was given.
8734 if test "${enable_listbox+set}" = set; then
8735 enableval
="$enable_listbox"
8737 if test "$enableval" = yes; then
8738 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8740 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8745 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8746 if test "x$LINE" != x
; then
8747 eval "DEFAULT_$LINE"
8752 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8756 eval "$ac_cv_use_listbox"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8761 if test "$wxUSE_LISTBOX" = yes; then
8762 echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8774 # Check whether --enable-listctrl or --disable-listctrl was given.
8775 if test "${enable_listctrl+set}" = set; then
8776 enableval
="$enable_listctrl"
8778 if test "$enableval" = yes; then
8779 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8781 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8786 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x
; then
8788 eval "DEFAULT_$LINE"
8793 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8797 eval "$ac_cv_use_listctrl"
8798 if test "$no_cache" != 1; then
8799 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8802 if test "$wxUSE_LISTCTRL" = yes; then
8803 echo "$as_me:$LINENO: result: yes" >&5
8804 echo "${ECHO_T}yes" >&6
8806 echo "$as_me:$LINENO: result: no" >&5
8807 echo "${ECHO_T}no" >&6
8812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8815 # Check whether --enable-notebook or --disable-notebook was given.
8816 if test "${enable_notebook+set}" = set; then
8817 enableval
="$enable_notebook"
8819 if test "$enableval" = yes; then
8820 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8822 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8827 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x
; then
8829 eval "DEFAULT_$LINE"
8834 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8838 eval "$ac_cv_use_notebook"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8843 if test "$wxUSE_NOTEBOOK" = yes; then
8844 echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8856 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8857 if test "${enable_odcombobox+set}" = set; then
8858 enableval
="$enable_odcombobox"
8860 if test "$enableval" = yes; then
8861 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
8863 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
8868 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x
; then
8870 eval "DEFAULT_$LINE"
8875 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8879 eval "$ac_cv_use_odcombobox"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8884 if test "$wxUSE_ODCOMBOBOX" = yes; then
8885 echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6
8888 echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6
8894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8897 # Check whether --enable-radiobox or --disable-radiobox was given.
8898 if test "${enable_radiobox+set}" = set; then
8899 enableval
="$enable_radiobox"
8901 if test "$enableval" = yes; then
8902 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8904 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8909 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8910 if test "x$LINE" != x
; then
8911 eval "DEFAULT_$LINE"
8916 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8920 eval "$ac_cv_use_radiobox"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8925 if test "$wxUSE_RADIOBOX" = yes; then
8926 echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6
8929 echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6
8935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8938 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8939 if test "${enable_radiobtn+set}" = set; then
8940 enableval
="$enable_radiobtn"
8942 if test "$enableval" = yes; then
8943 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8945 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8950 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8951 if test "x$LINE" != x
; then
8952 eval "DEFAULT_$LINE"
8957 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8961 eval "$ac_cv_use_radiobtn"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8966 if test "$wxUSE_RADIOBTN" = yes; then
8967 echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8970 echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6
8976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8979 # Check whether --enable-sash or --disable-sash was given.
8980 if test "${enable_sash+set}" = set; then
8981 enableval
="$enable_sash"
8983 if test "$enableval" = yes; then
8984 ac_cv_use_sash
='wxUSE_SASH=yes'
8986 ac_cv_use_sash
='wxUSE_SASH=no'
8991 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x
; then
8993 eval "DEFAULT_$LINE"
8998 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9002 eval "$ac_cv_use_sash"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9007 if test "$wxUSE_SASH" = yes; then
9008 echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6
9011 echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9020 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9021 if test "${enable_scrollbar+set}" = set; then
9022 enableval
="$enable_scrollbar"
9024 if test "$enableval" = yes; then
9025 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9027 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9032 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x
; then
9034 eval "DEFAULT_$LINE"
9039 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9043 eval "$ac_cv_use_scrollbar"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9048 if test "$wxUSE_SCROLLBAR" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9061 # Check whether --enable-slider or --disable-slider was given.
9062 if test "${enable_slider+set}" = set; then
9063 enableval
="$enable_slider"
9065 if test "$enableval" = yes; then
9066 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9068 ac_cv_use_slider
='wxUSE_SLIDER=no'
9073 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x
; then
9075 eval "DEFAULT_$LINE"
9080 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9084 eval "$ac_cv_use_slider"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9089 if test "$wxUSE_SLIDER" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9102 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9103 if test "${enable_spinbtn+set}" = set; then
9104 enableval
="$enable_spinbtn"
9106 if test "$enableval" = yes; then
9107 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9109 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9114 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x
; then
9116 eval "DEFAULT_$LINE"
9121 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9125 eval "$ac_cv_use_spinbtn"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9130 if test "$wxUSE_SPINBTN" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9143 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9144 if test "${enable_spinctrl+set}" = set; then
9145 enableval
="$enable_spinctrl"
9147 if test "$enableval" = yes; then
9148 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9150 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9155 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x
; then
9157 eval "DEFAULT_$LINE"
9162 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9166 eval "$ac_cv_use_spinctrl"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9171 if test "$wxUSE_SPINCTRL" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9184 # Check whether --enable-splitter or --disable-splitter was given.
9185 if test "${enable_splitter+set}" = set; then
9186 enableval
="$enable_splitter"
9188 if test "$enableval" = yes; then
9189 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9191 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9196 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x
; then
9198 eval "DEFAULT_$LINE"
9203 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9207 eval "$ac_cv_use_splitter"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9212 if test "$wxUSE_SPLITTER" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9225 # Check whether --enable-statbmp or --disable-statbmp was given.
9226 if test "${enable_statbmp+set}" = set; then
9227 enableval
="$enable_statbmp"
9229 if test "$enableval" = yes; then
9230 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9232 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9237 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x
; then
9239 eval "DEFAULT_$LINE"
9244 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9248 eval "$ac_cv_use_statbmp"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9253 if test "$wxUSE_STATBMP" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9266 # Check whether --enable-statbox or --disable-statbox was given.
9267 if test "${enable_statbox+set}" = set; then
9268 enableval
="$enable_statbox"
9270 if test "$enableval" = yes; then
9271 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9273 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9278 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9279 if test "x$LINE" != x
; then
9280 eval "DEFAULT_$LINE"
9285 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9289 eval "$ac_cv_use_statbox"
9290 if test "$no_cache" != 1; then
9291 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9294 if test "$wxUSE_STATBOX" = yes; then
9295 echo "$as_me:$LINENO: result: yes" >&5
9296 echo "${ECHO_T}yes" >&6
9298 echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9307 # Check whether --enable-statline or --disable-statline was given.
9308 if test "${enable_statline+set}" = set; then
9309 enableval
="$enable_statline"
9311 if test "$enableval" = yes; then
9312 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9314 ac_cv_use_statline
='wxUSE_STATLINE=no'
9319 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x
; then
9321 eval "DEFAULT_$LINE"
9326 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9330 eval "$ac_cv_use_statline"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9335 if test "$wxUSE_STATLINE" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9348 # Check whether --enable-stattext or --disable-stattext was given.
9349 if test "${enable_stattext+set}" = set; then
9350 enableval
="$enable_stattext"
9352 if test "$enableval" = yes; then
9353 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9355 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9360 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x
; then
9362 eval "DEFAULT_$LINE"
9367 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9371 eval "$ac_cv_use_stattext"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9376 if test "$wxUSE_STATTEXT" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9389 # Check whether --enable-statusbar or --disable-statusbar was given.
9390 if test "${enable_statusbar+set}" = set; then
9391 enableval
="$enable_statusbar"
9393 if test "$enableval" = yes; then
9394 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9396 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9401 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x
; then
9403 eval "DEFAULT_$LINE"
9408 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9412 eval "$ac_cv_use_statusbar"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9417 if test "$wxUSE_STATUSBAR" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9430 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9431 if test "${enable_tabdialog+set}" = set; then
9432 enableval
="$enable_tabdialog"
9434 if test "$enableval" = yes; then
9435 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9437 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9442 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9443 if test "x$LINE" != x
; then
9444 eval "DEFAULT_$LINE"
9449 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9453 eval "$ac_cv_use_tabdialog"
9454 if test "$no_cache" != 1; then
9455 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9458 if test "$wxUSE_TAB_DIALOG" = yes; then
9459 echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6
9462 echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6
9468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9471 # Check whether --enable-textctrl or --disable-textctrl was given.
9472 if test "${enable_textctrl+set}" = set; then
9473 enableval
="$enable_textctrl"
9475 if test "$enableval" = yes; then
9476 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9478 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9483 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9484 if test "x$LINE" != x
; then
9485 eval "DEFAULT_$LINE"
9490 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9494 eval "$ac_cv_use_textctrl"
9495 if test "$no_cache" != 1; then
9496 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9499 if test "$wxUSE_TEXTCTRL" = yes; then
9500 echo "$as_me:$LINENO: result: yes" >&5
9501 echo "${ECHO_T}yes" >&6
9503 echo "$as_me:$LINENO: result: no" >&5
9504 echo "${ECHO_T}no" >&6
9509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9510 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9512 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9513 if test "${enable_togglebtn+set}" = set; then
9514 enableval
="$enable_togglebtn"
9516 if test "$enableval" = yes; then
9517 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9519 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9524 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9525 if test "x$LINE" != x
; then
9526 eval "DEFAULT_$LINE"
9531 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9535 eval "$ac_cv_use_togglebtn"
9536 if test "$no_cache" != 1; then
9537 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9540 if test "$wxUSE_TOGGLEBTN" = yes; then
9541 echo "$as_me:$LINENO: result: yes" >&5
9542 echo "${ECHO_T}yes" >&6
9544 echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6
9550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9553 # Check whether --enable-toolbar or --disable-toolbar was given.
9554 if test "${enable_toolbar+set}" = set; then
9555 enableval
="$enable_toolbar"
9557 if test "$enableval" = yes; then
9558 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9560 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9565 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9566 if test "x$LINE" != x
; then
9567 eval "DEFAULT_$LINE"
9572 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9576 eval "$ac_cv_use_toolbar"
9577 if test "$no_cache" != 1; then
9578 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9581 if test "$wxUSE_TOOLBAR" = yes; then
9582 echo "$as_me:$LINENO: result: yes" >&5
9583 echo "${ECHO_T}yes" >&6
9585 echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6
9591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9594 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9595 if test "${enable_tbarnative+set}" = set; then
9596 enableval
="$enable_tbarnative"
9598 if test "$enableval" = yes; then
9599 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9601 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9606 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9607 if test "x$LINE" != x
; then
9608 eval "DEFAULT_$LINE"
9613 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9617 eval "$ac_cv_use_tbarnative"
9618 if test "$no_cache" != 1; then
9619 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9622 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9623 echo "$as_me:$LINENO: result: yes" >&5
9624 echo "${ECHO_T}yes" >&6
9626 echo "$as_me:$LINENO: result: no" >&5
9627 echo "${ECHO_T}no" >&6
9632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9635 # Check whether --enable-treebook or --disable-treebook was given.
9636 if test "${enable_treebook+set}" = set; then
9637 enableval
="$enable_treebook"
9639 if test "$enableval" = yes; then
9640 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9642 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9647 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9648 if test "x$LINE" != x
; then
9649 eval "DEFAULT_$LINE"
9654 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9658 eval "$ac_cv_use_treebook"
9659 if test "$no_cache" != 1; then
9660 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9663 if test "$wxUSE_TREEBOOK" = yes; then
9664 echo "$as_me:$LINENO: result: yes" >&5
9665 echo "${ECHO_T}yes" >&6
9667 echo "$as_me:$LINENO: result: no" >&5
9668 echo "${ECHO_T}no" >&6
9673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9676 # Check whether --enable-toolbook or --disable-toolbook was given.
9677 if test "${enable_toolbook+set}" = set; then
9678 enableval
="$enable_toolbook"
9680 if test "$enableval" = yes; then
9681 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9683 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9688 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9689 if test "x$LINE" != x
; then
9690 eval "DEFAULT_$LINE"
9695 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9699 eval "$ac_cv_use_toolbook"
9700 if test "$no_cache" != 1; then
9701 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9704 if test "$wxUSE_TOOLBOOK" = yes; then
9705 echo "$as_me:$LINENO: result: yes" >&5
9706 echo "${ECHO_T}yes" >&6
9708 echo "$as_me:$LINENO: result: no" >&5
9709 echo "${ECHO_T}no" >&6
9714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9717 # Check whether --enable-treectrl or --disable-treectrl was given.
9718 if test "${enable_treectrl+set}" = set; then
9719 enableval
="$enable_treectrl"
9721 if test "$enableval" = yes; then
9722 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9724 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9729 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9730 if test "x$LINE" != x
; then
9731 eval "DEFAULT_$LINE"
9736 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9740 eval "$ac_cv_use_treectrl"
9741 if test "$no_cache" != 1; then
9742 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9745 if test "$wxUSE_TREECTRL" = yes; then
9746 echo "$as_me:$LINENO: result: yes" >&5
9747 echo "${ECHO_T}yes" >&6
9749 echo "$as_me:$LINENO: result: no" >&5
9750 echo "${ECHO_T}no" >&6
9755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9758 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9759 if test "${enable_tipwindow+set}" = set; then
9760 enableval
="$enable_tipwindow"
9762 if test "$enableval" = yes; then
9763 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9765 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9770 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9771 if test "x$LINE" != x
; then
9772 eval "DEFAULT_$LINE"
9777 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9781 eval "$ac_cv_use_tipwindow"
9782 if test "$no_cache" != 1; then
9783 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9786 if test "$wxUSE_TIPWINDOW" = yes; then
9787 echo "$as_me:$LINENO: result: yes" >&5
9788 echo "${ECHO_T}yes" >&6
9790 echo "$as_me:$LINENO: result: no" >&5
9791 echo "${ECHO_T}no" >&6
9796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9797 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9799 # Check whether --enable-popupwin or --disable-popupwin was given.
9800 if test "${enable_popupwin+set}" = set; then
9801 enableval
="$enable_popupwin"
9803 if test "$enableval" = yes; then
9804 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9806 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9811 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9812 if test "x$LINE" != x
; then
9813 eval "DEFAULT_$LINE"
9818 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9822 eval "$ac_cv_use_popupwin"
9823 if test "$no_cache" != 1; then
9824 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9827 if test "$wxUSE_POPUPWIN" = yes; then
9828 echo "$as_me:$LINENO: result: yes" >&5
9829 echo "${ECHO_T}yes" >&6
9831 echo "$as_me:$LINENO: result: no" >&5
9832 echo "${ECHO_T}no" >&6
9839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9840 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9842 # Check whether --enable-commondlg or --disable-commondlg was given.
9843 if test "${enable_commondlg+set}" = set; then
9844 enableval
="$enable_commondlg"
9846 if test "$enableval" = yes; then
9847 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9849 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9854 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9855 if test "x$LINE" != x
; then
9856 eval "DEFAULT_$LINE"
9861 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9865 eval "$ac_cv_use_commondlg"
9866 if test "$no_cache" != 1; then
9867 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9870 if test "$wxUSE_COMMONDLGS" = yes; then
9871 echo "$as_me:$LINENO: result: yes" >&5
9872 echo "${ECHO_T}yes" >&6
9874 echo "$as_me:$LINENO: result: no" >&5
9875 echo "${ECHO_T}no" >&6
9880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9881 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9883 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9884 if test "${enable_choicedlg+set}" = set; then
9885 enableval
="$enable_choicedlg"
9887 if test "$enableval" = yes; then
9888 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9890 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9895 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9896 if test "x$LINE" != x
; then
9897 eval "DEFAULT_$LINE"
9902 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9906 eval "$ac_cv_use_choicedlg"
9907 if test "$no_cache" != 1; then
9908 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9911 if test "$wxUSE_CHOICEDLG" = yes; then
9912 echo "$as_me:$LINENO: result: yes" >&5
9913 echo "${ECHO_T}yes" >&6
9915 echo "$as_me:$LINENO: result: no" >&5
9916 echo "${ECHO_T}no" >&6
9921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9922 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9924 # Check whether --enable-coldlg or --disable-coldlg was given.
9925 if test "${enable_coldlg+set}" = set; then
9926 enableval
="$enable_coldlg"
9928 if test "$enableval" = yes; then
9929 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9931 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9936 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9937 if test "x$LINE" != x
; then
9938 eval "DEFAULT_$LINE"
9943 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9947 eval "$ac_cv_use_coldlg"
9948 if test "$no_cache" != 1; then
9949 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9952 if test "$wxUSE_COLOURDLG" = yes; then
9953 echo "$as_me:$LINENO: result: yes" >&5
9954 echo "${ECHO_T}yes" >&6
9956 echo "$as_me:$LINENO: result: no" >&5
9957 echo "${ECHO_T}no" >&6
9962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9963 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9965 # Check whether --enable-filedlg or --disable-filedlg was given.
9966 if test "${enable_filedlg+set}" = set; then
9967 enableval
="$enable_filedlg"
9969 if test "$enableval" = yes; then
9970 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9972 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9977 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9978 if test "x$LINE" != x
; then
9979 eval "DEFAULT_$LINE"
9984 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9988 eval "$ac_cv_use_filedlg"
9989 if test "$no_cache" != 1; then
9990 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9993 if test "$wxUSE_FILEDLG" = yes; then
9994 echo "$as_me:$LINENO: result: yes" >&5
9995 echo "${ECHO_T}yes" >&6
9997 echo "$as_me:$LINENO: result: no" >&5
9998 echo "${ECHO_T}no" >&6
10003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10004 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10006 # Check whether --enable-finddlg or --disable-finddlg was given.
10007 if test "${enable_finddlg+set}" = set; then
10008 enableval
="$enable_finddlg"
10010 if test "$enableval" = yes; then
10011 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10013 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10018 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10019 if test "x$LINE" != x
; then
10020 eval "DEFAULT_$LINE"
10025 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10029 eval "$ac_cv_use_finddlg"
10030 if test "$no_cache" != 1; then
10031 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10034 if test "$wxUSE_FINDREPLDLG" = yes; then
10035 echo "$as_me:$LINENO: result: yes" >&5
10036 echo "${ECHO_T}yes" >&6
10038 echo "$as_me:$LINENO: result: no" >&5
10039 echo "${ECHO_T}no" >&6
10044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10045 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10047 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10048 if test "${enable_fontdlg+set}" = set; then
10049 enableval
="$enable_fontdlg"
10051 if test "$enableval" = yes; then
10052 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10054 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10059 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10060 if test "x$LINE" != x
; then
10061 eval "DEFAULT_$LINE"
10066 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10070 eval "$ac_cv_use_fontdlg"
10071 if test "$no_cache" != 1; then
10072 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10075 if test "$wxUSE_FONTDLG" = yes; then
10076 echo "$as_me:$LINENO: result: yes" >&5
10077 echo "${ECHO_T}yes" >&6
10079 echo "$as_me:$LINENO: result: no" >&5
10080 echo "${ECHO_T}no" >&6
10085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10086 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10088 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10089 if test "${enable_dirdlg+set}" = set; then
10090 enableval
="$enable_dirdlg"
10092 if test "$enableval" = yes; then
10093 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10095 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10100 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10101 if test "x$LINE" != x
; then
10102 eval "DEFAULT_$LINE"
10107 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10111 eval "$ac_cv_use_dirdlg"
10112 if test "$no_cache" != 1; then
10113 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10116 if test "$wxUSE_DIRDLG" = yes; then
10117 echo "$as_me:$LINENO: result: yes" >&5
10118 echo "${ECHO_T}yes" >&6
10120 echo "$as_me:$LINENO: result: no" >&5
10121 echo "${ECHO_T}no" >&6
10126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10127 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10129 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10130 if test "${enable_msgdlg+set}" = set; then
10131 enableval
="$enable_msgdlg"
10133 if test "$enableval" = yes; then
10134 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10136 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10141 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10142 if test "x$LINE" != x
; then
10143 eval "DEFAULT_$LINE"
10148 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10152 eval "$ac_cv_use_msgdlg"
10153 if test "$no_cache" != 1; then
10154 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10157 if test "$wxUSE_MSGDLG" = yes; then
10158 echo "$as_me:$LINENO: result: yes" >&5
10159 echo "${ECHO_T}yes" >&6
10161 echo "$as_me:$LINENO: result: no" >&5
10162 echo "${ECHO_T}no" >&6
10167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10168 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10170 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10171 if test "${enable_numberdlg+set}" = set; then
10172 enableval
="$enable_numberdlg"
10174 if test "$enableval" = yes; then
10175 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10177 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10182 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10183 if test "x$LINE" != x
; then
10184 eval "DEFAULT_$LINE"
10189 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10193 eval "$ac_cv_use_numberdlg"
10194 if test "$no_cache" != 1; then
10195 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10198 if test "$wxUSE_NUMBERDLG" = yes; then
10199 echo "$as_me:$LINENO: result: yes" >&5
10200 echo "${ECHO_T}yes" >&6
10202 echo "$as_me:$LINENO: result: no" >&5
10203 echo "${ECHO_T}no" >&6
10208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10209 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10211 # Check whether --enable-splash or --disable-splash was given.
10212 if test "${enable_splash+set}" = set; then
10213 enableval
="$enable_splash"
10215 if test "$enableval" = yes; then
10216 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10218 ac_cv_use_splash
='wxUSE_SPLASH=no'
10223 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10224 if test "x$LINE" != x
; then
10225 eval "DEFAULT_$LINE"
10230 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10234 eval "$ac_cv_use_splash"
10235 if test "$no_cache" != 1; then
10236 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10239 if test "$wxUSE_SPLASH" = yes; then
10240 echo "$as_me:$LINENO: result: yes" >&5
10241 echo "${ECHO_T}yes" >&6
10243 echo "$as_me:$LINENO: result: no" >&5
10244 echo "${ECHO_T}no" >&6
10249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10250 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10252 # Check whether --enable-textdlg or --disable-textdlg was given.
10253 if test "${enable_textdlg+set}" = set; then
10254 enableval
="$enable_textdlg"
10256 if test "$enableval" = yes; then
10257 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10259 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10264 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10265 if test "x$LINE" != x
; then
10266 eval "DEFAULT_$LINE"
10271 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10275 eval "$ac_cv_use_textdlg"
10276 if test "$no_cache" != 1; then
10277 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10280 if test "$wxUSE_TEXTDLG" = yes; then
10281 echo "$as_me:$LINENO: result: yes" >&5
10282 echo "${ECHO_T}yes" >&6
10284 echo "$as_me:$LINENO: result: no" >&5
10285 echo "${ECHO_T}no" >&6
10290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10293 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10294 if test "${enable_tipdlg+set}" = set; then
10295 enableval
="$enable_tipdlg"
10297 if test "$enableval" = yes; then
10298 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10300 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10305 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10306 if test "x$LINE" != x
; then
10307 eval "DEFAULT_$LINE"
10312 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10316 eval "$ac_cv_use_tipdlg"
10317 if test "$no_cache" != 1; then
10318 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10321 if test "$wxUSE_STARTUP_TIPS" = yes; then
10322 echo "$as_me:$LINENO: result: yes" >&5
10323 echo "${ECHO_T}yes" >&6
10325 echo "$as_me:$LINENO: result: no" >&5
10326 echo "${ECHO_T}no" >&6
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10334 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10335 if test "${enable_progressdlg+set}" = set; then
10336 enableval
="$enable_progressdlg"
10338 if test "$enableval" = yes; then
10339 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10341 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10346 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x
; then
10348 eval "DEFAULT_$LINE"
10353 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10357 eval "$ac_cv_use_progressdlg"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10362 if test "$wxUSE_PROGRESSDLG" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10375 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10376 if test "${enable_wizarddlg+set}" = set; then
10377 enableval
="$enable_wizarddlg"
10379 if test "$enableval" = yes; then
10380 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10382 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10387 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10388 if test "x$LINE" != x
; then
10389 eval "DEFAULT_$LINE"
10394 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10398 eval "$ac_cv_use_wizarddlg"
10399 if test "$no_cache" != 1; then
10400 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10403 if test "$wxUSE_WIZARDDLG" = yes; then
10404 echo "$as_me:$LINENO: result: yes" >&5
10405 echo "${ECHO_T}yes" >&6
10407 echo "$as_me:$LINENO: result: no" >&5
10408 echo "${ECHO_T}no" >&6
10415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10418 # Check whether --enable-menus or --disable-menus was given.
10419 if test "${enable_menus+set}" = set; then
10420 enableval
="$enable_menus"
10422 if test "$enableval" = yes; then
10423 ac_cv_use_menus
='wxUSE_MENUS=yes'
10425 ac_cv_use_menus
='wxUSE_MENUS=no'
10430 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10431 if test "x$LINE" != x
; then
10432 eval "DEFAULT_$LINE"
10437 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10441 eval "$ac_cv_use_menus"
10442 if test "$no_cache" != 1; then
10443 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10446 if test "$wxUSE_MENUS" = yes; then
10447 echo "$as_me:$LINENO: result: yes" >&5
10448 echo "${ECHO_T}yes" >&6
10450 echo "$as_me:$LINENO: result: no" >&5
10451 echo "${ECHO_T}no" >&6
10456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10457 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10459 # Check whether --enable-miniframe or --disable-miniframe was given.
10460 if test "${enable_miniframe+set}" = set; then
10461 enableval
="$enable_miniframe"
10463 if test "$enableval" = yes; then
10464 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10466 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10471 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10472 if test "x$LINE" != x
; then
10473 eval "DEFAULT_$LINE"
10478 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10482 eval "$ac_cv_use_miniframe"
10483 if test "$no_cache" != 1; then
10484 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10487 if test "$wxUSE_MINIFRAME" = yes; then
10488 echo "$as_me:$LINENO: result: yes" >&5
10489 echo "${ECHO_T}yes" >&6
10491 echo "$as_me:$LINENO: result: no" >&5
10492 echo "${ECHO_T}no" >&6
10497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10498 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10500 # Check whether --enable-tooltips or --disable-tooltips was given.
10501 if test "${enable_tooltips+set}" = set; then
10502 enableval
="$enable_tooltips"
10504 if test "$enableval" = yes; then
10505 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10507 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10512 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10513 if test "x$LINE" != x
; then
10514 eval "DEFAULT_$LINE"
10519 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10523 eval "$ac_cv_use_tooltips"
10524 if test "$no_cache" != 1; then
10525 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10528 if test "$wxUSE_TOOLTIPS" = yes; then
10529 echo "$as_me:$LINENO: result: yes" >&5
10530 echo "${ECHO_T}yes" >&6
10532 echo "$as_me:$LINENO: result: no" >&5
10533 echo "${ECHO_T}no" >&6
10538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10539 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10541 # Check whether --enable-splines or --disable-splines was given.
10542 if test "${enable_splines+set}" = set; then
10543 enableval
="$enable_splines"
10545 if test "$enableval" = yes; then
10546 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10548 ac_cv_use_splines
='wxUSE_SPLINES=no'
10553 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10554 if test "x$LINE" != x
; then
10555 eval "DEFAULT_$LINE"
10560 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10564 eval "$ac_cv_use_splines"
10565 if test "$no_cache" != 1; then
10566 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10569 if test "$wxUSE_SPLINES" = yes; then
10570 echo "$as_me:$LINENO: result: yes" >&5
10571 echo "${ECHO_T}yes" >&6
10573 echo "$as_me:$LINENO: result: no" >&5
10574 echo "${ECHO_T}no" >&6
10579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10580 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10582 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10583 if test "${enable_mousewheel+set}" = set; then
10584 enableval
="$enable_mousewheel"
10586 if test "$enableval" = yes; then
10587 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10589 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10594 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10595 if test "x$LINE" != x
; then
10596 eval "DEFAULT_$LINE"
10601 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10605 eval "$ac_cv_use_mousewheel"
10606 if test "$no_cache" != 1; then
10607 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10610 if test "$wxUSE_MOUSEWHEEL" = yes; then
10611 echo "$as_me:$LINENO: result: yes" >&5
10612 echo "${ECHO_T}yes" >&6
10614 echo "$as_me:$LINENO: result: no" >&5
10615 echo "${ECHO_T}no" >&6
10620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10621 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10623 # Check whether --enable-validators or --disable-validators was given.
10624 if test "${enable_validators+set}" = set; then
10625 enableval
="$enable_validators"
10627 if test "$enableval" = yes; then
10628 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10630 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10635 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10636 if test "x$LINE" != x
; then
10637 eval "DEFAULT_$LINE"
10642 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10646 eval "$ac_cv_use_validators"
10647 if test "$no_cache" != 1; then
10648 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10651 if test "$wxUSE_VALIDATORS" = yes; then
10652 echo "$as_me:$LINENO: result: yes" >&5
10653 echo "${ECHO_T}yes" >&6
10655 echo "$as_me:$LINENO: result: no" >&5
10656 echo "${ECHO_T}no" >&6
10661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10662 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10664 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10665 if test "${enable_busyinfo+set}" = set; then
10666 enableval
="$enable_busyinfo"
10668 if test "$enableval" = yes; then
10669 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10671 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10676 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10677 if test "x$LINE" != x
; then
10678 eval "DEFAULT_$LINE"
10683 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10687 eval "$ac_cv_use_busyinfo"
10688 if test "$no_cache" != 1; then
10689 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10692 if test "$wxUSE_BUSYINFO" = yes; then
10693 echo "$as_me:$LINENO: result: yes" >&5
10694 echo "${ECHO_T}yes" >&6
10696 echo "$as_me:$LINENO: result: no" >&5
10697 echo "${ECHO_T}no" >&6
10702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10703 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10705 # Check whether --enable-joystick or --disable-joystick was given.
10706 if test "${enable_joystick+set}" = set; then
10707 enableval
="$enable_joystick"
10709 if test "$enableval" = yes; then
10710 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10712 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10717 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10718 if test "x$LINE" != x
; then
10719 eval "DEFAULT_$LINE"
10724 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10728 eval "$ac_cv_use_joystick"
10729 if test "$no_cache" != 1; then
10730 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10733 if test "$wxUSE_JOYSTICK" = yes; then
10734 echo "$as_me:$LINENO: result: yes" >&5
10735 echo "${ECHO_T}yes" >&6
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10744 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10746 # Check whether --enable-metafile or --disable-metafile was given.
10747 if test "${enable_metafile+set}" = set; then
10748 enableval
="$enable_metafile"
10750 if test "$enableval" = yes; then
10751 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10753 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10758 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10759 if test "x$LINE" != x
; then
10760 eval "DEFAULT_$LINE"
10765 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10769 eval "$ac_cv_use_metafile"
10770 if test "$no_cache" != 1; then
10771 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10774 if test "$wxUSE_METAFILE" = yes; then
10775 echo "$as_me:$LINENO: result: yes" >&5
10776 echo "${ECHO_T}yes" >&6
10778 echo "$as_me:$LINENO: result: no" >&5
10779 echo "${ECHO_T}no" >&6
10784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10785 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10787 # Check whether --enable-dragimage or --disable-dragimage was given.
10788 if test "${enable_dragimage+set}" = set; then
10789 enableval
="$enable_dragimage"
10791 if test "$enableval" = yes; then
10792 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10794 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10799 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10800 if test "x$LINE" != x
; then
10801 eval "DEFAULT_$LINE"
10806 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10810 eval "$ac_cv_use_dragimage"
10811 if test "$no_cache" != 1; then
10812 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10815 if test "$wxUSE_DRAGIMAGE" = yes; then
10816 echo "$as_me:$LINENO: result: yes" >&5
10817 echo "${ECHO_T}yes" >&6
10819 echo "$as_me:$LINENO: result: no" >&5
10820 echo "${ECHO_T}no" >&6
10825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10826 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10828 # Check whether --enable-accessibility or --disable-accessibility was given.
10829 if test "${enable_accessibility+set}" = set; then
10830 enableval
="$enable_accessibility"
10832 if test "$enableval" = yes; then
10833 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10835 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10840 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10841 if test "x$LINE" != x
; then
10842 eval "DEFAULT_$LINE"
10847 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10851 eval "$ac_cv_use_accessibility"
10852 if test "$no_cache" != 1; then
10853 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10856 if test "$wxUSE_ACCESSIBILITY" = yes; then
10857 echo "$as_me:$LINENO: result: yes" >&5
10858 echo "${ECHO_T}yes" >&6
10860 echo "$as_me:$LINENO: result: no" >&5
10861 echo "${ECHO_T}no" >&6
10865 if test "$wxUSE_MSW" = "1"; then
10868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10869 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10871 # Check whether --enable-dccache or --disable-dccache was given.
10872 if test "${enable_dccache+set}" = set; then
10873 enableval
="$enable_dccache"
10875 if test "$enableval" = yes; then
10876 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10878 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10883 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10884 if test "x$LINE" != x
; then
10885 eval "DEFAULT_$LINE"
10890 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10894 eval "$ac_cv_use_dccache"
10895 if test "$no_cache" != 1; then
10896 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10899 if test "$wxUSE_DC_CACHEING" = yes; then
10900 echo "$as_me:$LINENO: result: yes" >&5
10901 echo "${ECHO_T}yes" >&6
10903 echo "$as_me:$LINENO: result: no" >&5
10904 echo "${ECHO_T}no" >&6
10912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10913 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10915 # Check whether --enable-palette or --disable-palette was given.
10916 if test "${enable_palette+set}" = set; then
10917 enableval
="$enable_palette"
10919 if test "$enableval" = yes; then
10920 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10922 ac_cv_use_palette
='wxUSE_PALETTE=no'
10927 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10928 if test "x$LINE" != x
; then
10929 eval "DEFAULT_$LINE"
10934 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10938 eval "$ac_cv_use_palette"
10939 if test "$no_cache" != 1; then
10940 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10943 if test "$wxUSE_PALETTE" = yes; then
10944 echo "$as_me:$LINENO: result: yes" >&5
10945 echo "${ECHO_T}yes" >&6
10947 echo "$as_me:$LINENO: result: no" >&5
10948 echo "${ECHO_T}no" >&6
10953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10954 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10956 # Check whether --enable-image or --disable-image was given.
10957 if test "${enable_image+set}" = set; then
10958 enableval
="$enable_image"
10960 if test "$enableval" = yes; then
10961 ac_cv_use_image
='wxUSE_IMAGE=yes'
10963 ac_cv_use_image
='wxUSE_IMAGE=no'
10968 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10969 if test "x$LINE" != x
; then
10970 eval "DEFAULT_$LINE"
10975 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10979 eval "$ac_cv_use_image"
10980 if test "$no_cache" != 1; then
10981 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10984 if test "$wxUSE_IMAGE" = yes; then
10985 echo "$as_me:$LINENO: result: yes" >&5
10986 echo "${ECHO_T}yes" >&6
10988 echo "$as_me:$LINENO: result: no" >&5
10989 echo "${ECHO_T}no" >&6
10994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10995 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10997 # Check whether --enable-gif or --disable-gif was given.
10998 if test "${enable_gif+set}" = set; then
10999 enableval
="$enable_gif"
11001 if test "$enableval" = yes; then
11002 ac_cv_use_gif
='wxUSE_GIF=yes'
11004 ac_cv_use_gif
='wxUSE_GIF=no'
11009 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11010 if test "x$LINE" != x
; then
11011 eval "DEFAULT_$LINE"
11016 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11020 eval "$ac_cv_use_gif"
11021 if test "$no_cache" != 1; then
11022 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11025 if test "$wxUSE_GIF" = yes; then
11026 echo "$as_me:$LINENO: result: yes" >&5
11027 echo "${ECHO_T}yes" >&6
11029 echo "$as_me:$LINENO: result: no" >&5
11030 echo "${ECHO_T}no" >&6
11035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11038 # Check whether --enable-pcx or --disable-pcx was given.
11039 if test "${enable_pcx+set}" = set; then
11040 enableval
="$enable_pcx"
11042 if test "$enableval" = yes; then
11043 ac_cv_use_pcx
='wxUSE_PCX=yes'
11045 ac_cv_use_pcx
='wxUSE_PCX=no'
11050 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11051 if test "x$LINE" != x
; then
11052 eval "DEFAULT_$LINE"
11057 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11061 eval "$ac_cv_use_pcx"
11062 if test "$no_cache" != 1; then
11063 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11066 if test "$wxUSE_PCX" = yes; then
11067 echo "$as_me:$LINENO: result: yes" >&5
11068 echo "${ECHO_T}yes" >&6
11070 echo "$as_me:$LINENO: result: no" >&5
11071 echo "${ECHO_T}no" >&6
11076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11077 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11079 # Check whether --enable-iff or --disable-iff was given.
11080 if test "${enable_iff+set}" = set; then
11081 enableval
="$enable_iff"
11083 if test "$enableval" = yes; then
11084 ac_cv_use_iff
='wxUSE_IFF=yes'
11086 ac_cv_use_iff
='wxUSE_IFF=no'
11091 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11092 if test "x$LINE" != x
; then
11093 eval "DEFAULT_$LINE"
11098 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11102 eval "$ac_cv_use_iff"
11103 if test "$no_cache" != 1; then
11104 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11107 if test "$wxUSE_IFF" = yes; then
11108 echo "$as_me:$LINENO: result: yes" >&5
11109 echo "${ECHO_T}yes" >&6
11111 echo "$as_me:$LINENO: result: no" >&5
11112 echo "${ECHO_T}no" >&6
11117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11118 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11120 # Check whether --enable-pnm or --disable-pnm was given.
11121 if test "${enable_pnm+set}" = set; then
11122 enableval
="$enable_pnm"
11124 if test "$enableval" = yes; then
11125 ac_cv_use_pnm
='wxUSE_PNM=yes'
11127 ac_cv_use_pnm
='wxUSE_PNM=no'
11132 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11133 if test "x$LINE" != x
; then
11134 eval "DEFAULT_$LINE"
11139 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11143 eval "$ac_cv_use_pnm"
11144 if test "$no_cache" != 1; then
11145 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11148 if test "$wxUSE_PNM" = yes; then
11149 echo "$as_me:$LINENO: result: yes" >&5
11150 echo "${ECHO_T}yes" >&6
11152 echo "$as_me:$LINENO: result: no" >&5
11153 echo "${ECHO_T}no" >&6
11158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11159 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11161 # Check whether --enable-xpm or --disable-xpm was given.
11162 if test "${enable_xpm+set}" = set; then
11163 enableval
="$enable_xpm"
11165 if test "$enableval" = yes; then
11166 ac_cv_use_xpm
='wxUSE_XPM=yes'
11168 ac_cv_use_xpm
='wxUSE_XPM=no'
11173 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11174 if test "x$LINE" != x
; then
11175 eval "DEFAULT_$LINE"
11180 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11184 eval "$ac_cv_use_xpm"
11185 if test "$no_cache" != 1; then
11186 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11189 if test "$wxUSE_XPM" = yes; then
11190 echo "$as_me:$LINENO: result: yes" >&5
11191 echo "${ECHO_T}yes" >&6
11193 echo "$as_me:$LINENO: result: no" >&5
11194 echo "${ECHO_T}no" >&6
11199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11200 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11202 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11203 if test "${enable_ico_cur+set}" = set; then
11204 enableval
="$enable_ico_cur"
11206 if test "$enableval" = yes; then
11207 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11209 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11214 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11215 if test "x$LINE" != x
; then
11216 eval "DEFAULT_$LINE"
11221 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11225 eval "$ac_cv_use_ico_cur"
11226 if test "$no_cache" != 1; then
11227 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11230 if test "$wxUSE_ICO_CUR" = yes; then
11231 echo "$as_me:$LINENO: result: yes" >&5
11232 echo "${ECHO_T}yes" >&6
11234 echo "$as_me:$LINENO: result: no" >&5
11235 echo "${ECHO_T}no" >&6
11243 # Check whether --with-flavour or --without-flavour was given.
11244 if test "${with_flavour+set}" = set; then
11245 withval
="$with_flavour"
11246 WX_FLAVOUR
="$withval"
11252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11253 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11255 # Check whether --enable-official_build or --disable-official_build was given.
11256 if test "${enable_official_build+set}" = set; then
11257 enableval
="$enable_official_build"
11259 if test "$enableval" = yes; then
11260 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11262 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11267 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11268 if test "x$LINE" != x
; then
11269 eval "DEFAULT_$LINE"
11274 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11278 eval "$ac_cv_use_official_build"
11279 if test "$no_cache" != 1; then
11280 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11283 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11284 echo "$as_me:$LINENO: result: yes" >&5
11285 echo "${ECHO_T}yes" >&6
11287 echo "$as_me:$LINENO: result: no" >&5
11288 echo "${ECHO_T}no" >&6
11291 # Check whether --enable-vendor or --disable-vendor was given.
11292 if test "${enable_vendor+set}" = set; then
11293 enableval
="$enable_vendor"
11294 VENDOR
="$enableval"
11296 if test "x$VENDOR" = "x"; then
11303 echo "saving argument cache $wx_arg_cache_file"
11304 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11308 echo "$as_me:$LINENO: checking for toolkit" >&5
11309 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11311 # In Wine, we need to default to MSW, not GTK or MOTIF
11312 if test "$wxUSE_WINE" = "yes"; then
11313 DEFAULT_DEFAULT_wxUSE_GTK
=0
11314 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11315 DEFAULT_DEFAULT_wxUSE_MSW
=1
11320 if test "$wxUSE_GUI" = "yes"; then
11322 if test "$USE_BEOS" = 1; then
11323 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11324 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11325 { (exit 1); exit 1; }; }
11328 if test "$TOOLKIT_GIVEN" = 1; then
11329 for toolkit
in `echo $ALL_TOOLKITS`; do
11331 eval "value=\$${var}"
11332 if test "x$value" = "xno"; then
11334 elif test "x$value" != "x"; then
11338 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11339 eval "wx${toolkit}_VERSION=$value"
11343 for toolkit
in `echo $ALL_TOOLKITS`; do
11344 if test "$has_toolkit_in_cache" != 1; then
11345 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11347 var
=DEFAULT_wxUSE_
$toolkit
11349 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11350 if test "x$version" != "x"; then
11351 eval "wx${toolkit}_VERSION=$version"
11354 eval "wxUSE_$toolkit=\$${var}"
11358 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11359 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
11360 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11363 *-pc-os2_emx | *-pc-os2-emx )
11364 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11367 case "$NUM_TOOLKITS" in
11371 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11372 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11373 { (exit 1); exit 1; }; }
11376 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11377 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11378 { (exit 1); exit 1; }; }
11381 # to be removed when --disable-gtk2 isn't needed
11382 if test "x$wxUSE_GTK2" = "xyes"; then
11384 elif test "x$wxUSE_GTK2" = "xno"; then
11388 for toolkit
in `echo $ALL_TOOLKITS`; do
11390 eval "value=\$${var}"
11391 if test "x$value" != x
; then
11392 cache_var
=CACHE_
$toolkit
11393 eval "cache=\$${cache_var}"
11394 if test "$cache" = 1; then
11395 echo "$var=$value" >> ${wx_arg_cache_file}
11396 eval "version=\$wx${toolkit}_VERSION"
11397 if test "x$version" != "x"; then
11398 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11401 if test "$value" = 1; then
11402 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11403 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11404 echo "${ECHO_T}$toolkit_echo" >&6
11409 if test "x$host_alias" != "x"; then
11410 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11411 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11413 echo "$as_me:$LINENO: result: base only" >&5
11414 echo "${ECHO_T}base only" >&6
11419 doesnt_want_win32
=0
11422 if test "$wxUSE_MSW" = 1 ; then
11424 BAKEFILE_FORCE_PLATFORM
=win32
11426 doesnt_want_win32
=1
11434 if test "$wxUSE_WINE" = "yes"; then
11438 LDFLAGS_GUI
="-mwindows"
11441 if test "$wants_win32" = 1 ; then
11444 cat >>confdefs.h
<<\_ACEOF
11445 #define __WIN32__ 1
11448 cat >>confdefs.h
<<\_ACEOF
11449 #define __WIN95__ 1
11452 cat >>confdefs.h
<<\_ACEOF
11453 #define __WINDOWS__ 1
11456 cat >>confdefs.h
<<\_ACEOF
11457 #define __GNUWIN32__ 1
11460 cat >>confdefs.h
<<\_ACEOF
11464 cat >>confdefs.h
<<\_ACEOF
11465 #define WINVER 0x0400
11469 if test "$doesnt_want_win32" = 1 ; then
11474 if test "$USE_UNIX" = 1 ; then
11476 cat >>confdefs.h
<<\_ACEOF
11483 cat >confcache
<<\_ACEOF
11484 # This file is a shell script that caches the results of configure
11485 # tests run on this system so they can be shared between configure
11486 # scripts and configure runs, see configure's option --config-cache.
11487 # It is not useful on other systems. If it contains results you don't
11488 # want to keep, you may remove or edit it.
11490 # config.status only pays attention to the cache file if you give it
11491 # the --recheck option to rerun configure.
11493 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11494 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11495 # following values.
11499 # The following way of writing the cache mishandles newlines in values,
11500 # but we know of no workaround that is simple, portable, and efficient.
11501 # So, don't put newlines in cache variables' values.
11502 # Ultrix sh set writes to stderr and can't be redirected directly,
11503 # and sets the high bit in the cache file unless we assign to the vars.
11506 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11508 # `set' does not quote correctly, so add quotes (double-quote
11509 # substitution turns \\\\ into \\, and sed turns \\ into \).
11512 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11515 # `set' quotes correctly as required by POSIX, so do not add quotes.
11517 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11524 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11526 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11528 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11529 if test -w $cache_file; then
11530 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11531 cat confcache
>$cache_file
11533 echo "not updating unwritable cache $cache_file"
11543 ac_cpp
='$CPP $CPPFLAGS'
11544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11547 if test -n "$ac_tool_prefix"; then
11548 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11549 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11550 echo "$as_me:$LINENO: checking for $ac_word" >&5
11551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11552 if test "${ac_cv_prog_CC+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11555 if test -n "$CC"; then
11556 ac_cv_prog_CC
="$CC" # Let the user override the test.
11558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11559 for as_dir
in $PATH
11562 test -z "$as_dir" && as_dir
=.
11563 for ac_exec_ext
in '' $ac_executable_extensions; do
11564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11565 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11575 if test -n "$CC"; then
11576 echo "$as_me:$LINENO: result: $CC" >&5
11577 echo "${ECHO_T}$CC" >&6
11579 echo "$as_me:$LINENO: result: no" >&5
11580 echo "${ECHO_T}no" >&6
11584 if test -z "$ac_cv_prog_CC"; then
11586 # Extract the first word of "gcc", so it can be a program name with args.
11587 set dummy gcc
; ac_word
=$2
11588 echo "$as_me:$LINENO: checking for $ac_word" >&5
11589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11590 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11591 echo $ECHO_N "(cached) $ECHO_C" >&6
11593 if test -n "$ac_ct_CC"; then
11594 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11597 for as_dir
in $PATH
11600 test -z "$as_dir" && as_dir
=.
11601 for ac_exec_ext
in '' $ac_executable_extensions; do
11602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11603 ac_cv_prog_ac_ct_CC
="gcc"
11604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11612 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11613 if test -n "$ac_ct_CC"; then
11614 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11615 echo "${ECHO_T}$ac_ct_CC" >&6
11617 echo "$as_me:$LINENO: result: no" >&5
11618 echo "${ECHO_T}no" >&6
11623 CC
="$ac_cv_prog_CC"
11626 if test -z "$CC"; then
11627 if test -n "$ac_tool_prefix"; then
11628 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11629 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11630 echo "$as_me:$LINENO: checking for $ac_word" >&5
11631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11632 if test "${ac_cv_prog_CC+set}" = set; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11635 if test -n "$CC"; then
11636 ac_cv_prog_CC
="$CC" # Let the user override the test.
11638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11639 for as_dir
in $PATH
11642 test -z "$as_dir" && as_dir
=.
11643 for ac_exec_ext
in '' $ac_executable_extensions; do
11644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11645 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11655 if test -n "$CC"; then
11656 echo "$as_me:$LINENO: result: $CC" >&5
11657 echo "${ECHO_T}$CC" >&6
11659 echo "$as_me:$LINENO: result: no" >&5
11660 echo "${ECHO_T}no" >&6
11664 if test -z "$ac_cv_prog_CC"; then
11666 # Extract the first word of "cc", so it can be a program name with args.
11667 set dummy cc
; ac_word
=$2
11668 echo "$as_me:$LINENO: checking for $ac_word" >&5
11669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11670 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11671 echo $ECHO_N "(cached) $ECHO_C" >&6
11673 if test -n "$ac_ct_CC"; then
11674 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11677 for as_dir
in $PATH
11680 test -z "$as_dir" && as_dir
=.
11681 for ac_exec_ext
in '' $ac_executable_extensions; do
11682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11683 ac_cv_prog_ac_ct_CC
="cc"
11684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11692 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11693 if test -n "$ac_ct_CC"; then
11694 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11695 echo "${ECHO_T}$ac_ct_CC" >&6
11697 echo "$as_me:$LINENO: result: no" >&5
11698 echo "${ECHO_T}no" >&6
11703 CC
="$ac_cv_prog_CC"
11707 if test -z "$CC"; then
11708 # Extract the first word of "cc", so it can be a program name with args.
11709 set dummy cc
; ac_word
=$2
11710 echo "$as_me:$LINENO: checking for $ac_word" >&5
11711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11712 if test "${ac_cv_prog_CC+set}" = set; then
11713 echo $ECHO_N "(cached) $ECHO_C" >&6
11715 if test -n "$CC"; then
11716 ac_cv_prog_CC
="$CC" # Let the user override the test.
11718 ac_prog_rejected
=no
11719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11720 for as_dir
in $PATH
11723 test -z "$as_dir" && as_dir
=.
11724 for ac_exec_ext
in '' $ac_executable_extensions; do
11725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11726 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11727 ac_prog_rejected
=yes
11731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11737 if test $ac_prog_rejected = yes; then
11738 # We found a bogon in the path, so make sure we never use it.
11739 set dummy
$ac_cv_prog_CC
11741 if test $# != 0; then
11742 # We chose a different compiler from the bogus one.
11743 # However, it has the same basename, so the bogon will be chosen
11744 # first if we set CC to just the basename; use the full file name.
11746 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11752 if test -n "$CC"; then
11753 echo "$as_me:$LINENO: result: $CC" >&5
11754 echo "${ECHO_T}$CC" >&6
11756 echo "$as_me:$LINENO: result: no" >&5
11757 echo "${ECHO_T}no" >&6
11761 if test -z "$CC"; then
11762 if test -n "$ac_tool_prefix"; then
11765 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11766 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11767 echo "$as_me:$LINENO: checking for $ac_word" >&5
11768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11769 if test "${ac_cv_prog_CC+set}" = set; then
11770 echo $ECHO_N "(cached) $ECHO_C" >&6
11772 if test -n "$CC"; then
11773 ac_cv_prog_CC
="$CC" # Let the user override the test.
11775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11776 for as_dir
in $PATH
11779 test -z "$as_dir" && as_dir
=.
11780 for ac_exec_ext
in '' $ac_executable_extensions; do
11781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11782 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11792 if test -n "$CC"; then
11793 echo "$as_me:$LINENO: result: $CC" >&5
11794 echo "${ECHO_T}$CC" >&6
11796 echo "$as_me:$LINENO: result: no" >&5
11797 echo "${ECHO_T}no" >&6
11800 test -n "$CC" && break
11803 if test -z "$CC"; then
11807 # Extract the first word of "$ac_prog", so it can be a program name with args.
11808 set dummy
$ac_prog; ac_word
=$2
11809 echo "$as_me:$LINENO: checking for $ac_word" >&5
11810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11811 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11812 echo $ECHO_N "(cached) $ECHO_C" >&6
11814 if test -n "$ac_ct_CC"; then
11815 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11818 for as_dir
in $PATH
11821 test -z "$as_dir" && as_dir
=.
11822 for ac_exec_ext
in '' $ac_executable_extensions; do
11823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11824 ac_cv_prog_ac_ct_CC
="$ac_prog"
11825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11833 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11834 if test -n "$ac_ct_CC"; then
11835 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11836 echo "${ECHO_T}$ac_ct_CC" >&6
11838 echo "$as_me:$LINENO: result: no" >&5
11839 echo "${ECHO_T}no" >&6
11842 test -n "$ac_ct_CC" && break
11851 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11852 See \`config.log' for more details." >&5
11853 echo "$as_me: error: no acceptable C compiler found in \$PATH
11854 See \`config.log' for more details." >&2;}
11855 { (exit 1); exit 1; }; }
11857 # Provide some information about the compiler.
11858 echo "$as_me:$LINENO:" \
11859 "checking for C compiler version" >&5
11860 ac_compiler
=`set X $ac_compile; echo $2`
11861 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11862 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); }
11866 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11867 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); }
11871 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11872 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875 (exit $ac_status); }
11877 cat >conftest.
$ac_ext <<_ACEOF
11880 cat confdefs.h
>>conftest.
$ac_ext
11881 cat >>conftest.
$ac_ext <<_ACEOF
11882 /* end confdefs.h. */
11892 ac_clean_files_save
=$ac_clean_files
11893 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11894 # Try to create an executable without -o first, disregard a.out.
11895 # It will help us diagnose broken compilers, and finding out an intuition
11897 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11898 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11899 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11900 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11901 (eval $ac_link_default) 2>&5
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); }; then
11905 # Find the output, starting from the most likely. This scheme is
11906 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11909 # Be careful to initialize this variable, since it used to be cached.
11910 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11912 # b.out is created by i960 compilers.
11913 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11915 test -f "$ac_file" || continue
11917 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11920 # This is the source file.
11923 # We found the default executable, but exeext='' is most
11927 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11928 # FIXME: I believe we export ac_cv_exeext for Libtool,
11929 # but it would be cool to find out if it's true. Does anybody
11930 # maintain Libtool? --akim.
11931 export ac_cv_exeext
11938 echo "$as_me: failed program was:" >&5
11939 sed 's/^/| /' conftest.
$ac_ext >&5
11941 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11942 See \`config.log' for more details." >&5
11943 echo "$as_me: error: C compiler cannot create executables
11944 See \`config.log' for more details." >&2;}
11945 { (exit 77); exit 77; }; }
11948 ac_exeext
=$ac_cv_exeext
11949 echo "$as_me:$LINENO: result: $ac_file" >&5
11950 echo "${ECHO_T}$ac_file" >&6
11952 # Check the compiler produces executables we can run. If not, either
11953 # the compiler is broken, or we cross compile.
11954 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11955 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11956 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11957 # If not cross compiling, check that we can run a simple program.
11958 if test "$cross_compiling" != yes; then
11959 if { ac_try
='./$ac_file'
11960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11961 (eval $ac_try) 2>&5
11963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11964 (exit $ac_status); }; }; then
11967 if test "$cross_compiling" = maybe
; then
11968 cross_compiling
=yes
11970 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11971 If you meant to cross compile, use \`--host'.
11972 See \`config.log' for more details." >&5
11973 echo "$as_me: error: cannot run C compiled programs.
11974 If you meant to cross compile, use \`--host'.
11975 See \`config.log' for more details." >&2;}
11976 { (exit 1); exit 1; }; }
11980 echo "$as_me:$LINENO: result: yes" >&5
11981 echo "${ECHO_T}yes" >&6
11983 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11984 ac_clean_files
=$ac_clean_files_save
11985 # Check the compiler produces executables we can run. If not, either
11986 # the compiler is broken, or we cross compile.
11987 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11988 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11989 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11990 echo "${ECHO_T}$cross_compiling" >&6
11992 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11993 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11995 (eval $ac_link) 2>&5
11997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998 (exit $ac_status); }; then
11999 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12000 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12001 # work properly (i.e., refer to `conftest.exe'), while it won't with
12003 for ac_file
in conftest.exe conftest conftest.
*; do
12004 test -f "$ac_file" || continue
12006 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12007 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12008 export ac_cv_exeext
12014 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12015 See \`config.log' for more details." >&5
12016 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12017 See \`config.log' for more details." >&2;}
12018 { (exit 1); exit 1; }; }
12021 rm -f conftest
$ac_cv_exeext
12022 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12023 echo "${ECHO_T}$ac_cv_exeext" >&6
12025 rm -f conftest.
$ac_ext
12026 EXEEXT
=$ac_cv_exeext
12028 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12029 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12030 if test "${ac_cv_objext+set}" = set; then
12031 echo $ECHO_N "(cached) $ECHO_C" >&6
12033 cat >conftest.
$ac_ext <<_ACEOF
12036 cat confdefs.h
>>conftest.
$ac_ext
12037 cat >>conftest.
$ac_ext <<_ACEOF
12038 /* end confdefs.h. */
12048 rm -f conftest.o conftest.obj
12049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12050 (eval $ac_compile) 2>&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); }; then
12054 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12056 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12057 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.
$ac_ext >&5
12065 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12066 See \`config.log' for more details." >&5
12067 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12068 See \`config.log' for more details." >&2;}
12069 { (exit 1); exit 1; }; }
12072 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12074 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12075 echo "${ECHO_T}$ac_cv_objext" >&6
12076 OBJEXT
=$ac_cv_objext
12078 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12079 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12080 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12081 echo $ECHO_N "(cached) $ECHO_C" >&6
12083 cat >conftest.
$ac_ext <<_ACEOF
12086 cat confdefs.h
>>conftest.
$ac_ext
12087 cat >>conftest.
$ac_ext <<_ACEOF
12088 /* end confdefs.h. */
12101 rm -f conftest.
$ac_objext
12102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12103 (eval $ac_compile) 2>conftest.er1
12105 grep -v '^ *+' conftest.er1
>conftest.err
12107 cat conftest.err
>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } &&
12110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12112 (eval $ac_try) 2>&5
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; } &&
12116 { ac_try
='test -s conftest.$ac_objext'
12117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12118 (eval $ac_try) 2>&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; }; then
12122 ac_compiler_gnu
=yes
12124 echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.
$ac_ext >&5
12129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12130 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12133 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12134 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12135 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12136 ac_test_CFLAGS
=${CFLAGS+set}
12137 ac_save_CFLAGS
=$CFLAGS
12138 CFLAGS
="$CFLAGS -g"
12139 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12140 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12141 if test "${ac_cv_prog_cc_g+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 cat >conftest.
$ac_ext <<_ACEOF
12147 cat confdefs.h
>>conftest.
$ac_ext
12148 cat >>conftest.
$ac_ext <<_ACEOF
12149 /* end confdefs.h. */
12159 rm -f conftest.
$ac_objext
12160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12161 (eval $ac_compile) 2>conftest.er1
12163 grep -v '^ *+' conftest.er1
>conftest.err
12165 cat conftest.err
>&5
12166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12167 (exit $ac_status); } &&
12168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12170 (eval $ac_try) 2>&5
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); }; } &&
12174 { ac_try
='test -s conftest.$ac_objext'
12175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12176 (eval $ac_try) 2>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); }; }; then
12180 ac_cv_prog_cc_g
=yes
12182 echo "$as_me: failed program was:" >&5
12183 sed 's/^/| /' conftest.
$ac_ext >&5
12187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12189 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12190 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12191 if test "$ac_test_CFLAGS" = set; then
12192 CFLAGS
=$ac_save_CFLAGS
12193 elif test $ac_cv_prog_cc_g = yes; then
12194 if test "$GCC" = yes; then
12200 if test "$GCC" = yes; then
12206 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12207 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12208 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 ac_cv_prog_cc_stdc
=no
12213 cat >conftest.
$ac_ext <<_ACEOF
12216 cat confdefs.h
>>conftest.
$ac_ext
12217 cat >>conftest.
$ac_ext <<_ACEOF
12218 /* end confdefs.h. */
12219 #include <stdarg.h>
12221 #include <sys/types.h>
12222 #include <sys/stat.h>
12223 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12224 struct buf { int x; };
12225 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12226 static char *e (p, i)
12232 static char *f (char * (*g) (char **, int), char **p, ...)
12237 s = g (p, va_arg (v,int));
12242 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12243 function prototypes and stuff, but not '\xHH' hex character constants.
12244 These don't provoke an error unfortunately, instead are silently treated
12245 as 'x'. The following induces an error, until -std1 is added to get
12246 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12247 array size at least. It's necessary to write '\x00'==0 to get something
12248 that's true only with -std1. */
12249 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12251 int test (int i, double x);
12252 struct s1 {int (*f) (int a);};
12253 struct s2 {int (*f) (double a);};
12254 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12260 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12265 # Don't try gcc -ansi; that turns off useful extensions and
12266 # breaks some systems' header files.
12267 # AIX -qlanglvl=ansi
12268 # Ultrix and OSF/1 -std1
12269 # HP-UX 10.20 and later -Ae
12270 # HP-UX older versions -Aa -D_HPUX_SOURCE
12271 # SVR4 -Xc -D__EXTENSIONS__
12272 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12274 CC
="$ac_save_CC $ac_arg"
12275 rm -f conftest.
$ac_objext
12276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12277 (eval $ac_compile) 2>conftest.er1
12279 grep -v '^ *+' conftest.er1
>conftest.err
12281 cat conftest.err
>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); } &&
12284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12286 (eval $ac_try) 2>&5
12288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 (exit $ac_status); }; } &&
12290 { ac_try
='test -s conftest.$ac_objext'
12291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12292 (eval $ac_try) 2>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }; }; then
12296 ac_cv_prog_cc_stdc
=$ac_arg
12299 echo "$as_me: failed program was:" >&5
12300 sed 's/^/| /' conftest.
$ac_ext >&5
12303 rm -f conftest.err conftest.
$ac_objext
12305 rm -f conftest.
$ac_ext conftest.
$ac_objext
12310 case "x$ac_cv_prog_cc_stdc" in
12312 echo "$as_me:$LINENO: result: none needed" >&5
12313 echo "${ECHO_T}none needed" >&6 ;;
12315 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12316 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12317 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12320 # Some people use a C++ compiler to compile C. Since we use `exit',
12321 # in C++ we need to declare it. In case someone uses the same compiler
12322 # for both compiling C and C++ we need to have the C++ compiler decide
12323 # the declaration of exit, since it's the most demanding environment.
12324 cat >conftest.
$ac_ext <<_ACEOF
12325 #ifndef __cplusplus
12329 rm -f conftest.
$ac_objext
12330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12331 (eval $ac_compile) 2>conftest.er1
12333 grep -v '^ *+' conftest.er1
>conftest.err
12335 cat conftest.err
>&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } &&
12338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 (eval $ac_try) 2>&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; } &&
12344 { ac_try
='test -s conftest.$ac_objext'
12345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12346 (eval $ac_try) 2>&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); }; }; then
12350 for ac_declaration
in \
12352 'extern "C" void std::exit (int) throw (); using std::exit;' \
12353 'extern "C" void std::exit (int); using std::exit;' \
12354 'extern "C" void exit (int) throw ();' \
12355 'extern "C" void exit (int);' \
12358 cat >conftest.
$ac_ext <<_ACEOF
12361 cat confdefs.h
>>conftest.
$ac_ext
12362 cat >>conftest.
$ac_ext <<_ACEOF
12363 /* end confdefs.h. */
12365 #include <stdlib.h>
12374 rm -f conftest.
$ac_objext
12375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12376 (eval $ac_compile) 2>conftest.er1
12378 grep -v '^ *+' conftest.er1
>conftest.err
12380 cat conftest.err
>&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); } &&
12383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12385 (eval $ac_try) 2>&5
12387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12388 (exit $ac_status); }; } &&
12389 { ac_try
='test -s conftest.$ac_objext'
12390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12391 (eval $ac_try) 2>&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); }; }; then
12397 echo "$as_me: failed program was:" >&5
12398 sed 's/^/| /' conftest.
$ac_ext >&5
12402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12403 cat >conftest.
$ac_ext <<_ACEOF
12406 cat confdefs.h
>>conftest.
$ac_ext
12407 cat >>conftest.
$ac_ext <<_ACEOF
12408 /* end confdefs.h. */
12418 rm -f conftest.
$ac_objext
12419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12420 (eval $ac_compile) 2>conftest.er1
12422 grep -v '^ *+' conftest.er1
>conftest.err
12424 cat conftest.err
>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); } &&
12427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; } &&
12433 { ac_try
='test -s conftest.$ac_objext'
12434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12435 (eval $ac_try) 2>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }; }; then
12441 echo "$as_me: failed program was:" >&5
12442 sed 's/^/| /' conftest.
$ac_ext >&5
12445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12448 if test -n "$ac_declaration"; then
12449 echo '#ifdef __cplusplus' >>confdefs.h
12450 echo $ac_declaration >>confdefs.h
12451 echo '#endif' >>confdefs.h
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.
$ac_ext >&5
12459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12461 ac_cpp
='$CPP $CPPFLAGS'
12462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12469 ac_cpp
='$CPP $CPPFLAGS'
12470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12474 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12475 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12476 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12477 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 cat >conftest.
$ac_ext <<_ACEOF
12482 cat confdefs.h
>>conftest.
$ac_ext
12483 cat >>conftest.
$ac_ext <<_ACEOF
12484 /* end confdefs.h. */
12490 #ifndef __INTEL_COMPILER
12498 rm -f conftest.
$ac_objext
12499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12500 (eval $ac_compile) 2>conftest.er1
12502 grep -v '^ *+' conftest.er1
>conftest.err
12504 cat conftest.err
>&5
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); } &&
12507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12509 (eval $ac_try) 2>&5
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); }; } &&
12513 { ac_try
='test -s conftest.$ac_objext'
12514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12515 (eval $ac_try) 2>&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); }; }; then
12519 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12521 echo "$as_me: failed program was:" >&5
12522 sed 's/^/| /' conftest.
$ac_ext >&5
12524 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12531 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12532 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12534 ac_cpp
='$CPP $CPPFLAGS'
12535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12539 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12546 if test "x$GCC" != "xyes"; then
12547 if test "xCC" = "xC"; then
12548 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12549 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12550 if test "${bakefile_cv_c_exto+set}" = set; then
12551 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 cat >conftest.
$ac_ext <<_ACEOF
12556 cat confdefs.h
>>conftest.
$ac_ext
12557 cat >>conftest.
$ac_ext <<_ACEOF
12558 /* end confdefs.h. */
12568 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12570 (eval $ac_compile) 2>&5
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); }; then
12574 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12576 conftest.
$ac_ext.o
)
12577 bakefile_cv_c_exto
="-ext o"
12584 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12585 See \`config.log' for more details." >&5
12586 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12587 See \`config.log' for more details." >&2;}
12588 { (exit 1); exit 1; }; }
12592 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12595 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12596 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12597 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12598 if test "c" = "c"; then
12599 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12601 if test "c" = "cxx"; then
12602 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12606 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12607 unset ac_cv_prog_cc_g
12608 ac_test_CFLAGS
=${CFLAGS+set}
12609 ac_save_CFLAGS
=$CFLAGS
12610 CFLAGS
="$CFLAGS -g"
12611 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12612 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12613 if test "${ac_cv_prog_cc_g+set}" = set; then
12614 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 cat >conftest.
$ac_ext <<_ACEOF
12619 cat confdefs.h
>>conftest.
$ac_ext
12620 cat >>conftest.
$ac_ext <<_ACEOF
12621 /* end confdefs.h. */
12631 rm -f conftest.
$ac_objext
12632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12633 (eval $ac_compile) 2>conftest.er1
12635 grep -v '^ *+' conftest.er1
>conftest.err
12637 cat conftest.err
>&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); } &&
12640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; } &&
12646 { ac_try
='test -s conftest.$ac_objext'
12647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12648 (eval $ac_try) 2>&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); }; }; then
12652 ac_cv_prog_cc_g
=yes
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.
$ac_ext >&5
12659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12661 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12662 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12663 if test "$ac_test_CFLAGS" = set; then
12664 CFLAGS
=$ac_save_CFLAGS
12665 elif test $ac_cv_prog_cc_g = yes; then
12666 if test "$GCC" = yes; then
12672 if test "$GCC" = yes; then
12684 ac_cpp
='$CPP $CPPFLAGS'
12685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12689 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12690 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12691 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12692 echo $ECHO_N "(cached) $ECHO_C" >&6
12694 cat >conftest.
$ac_ext <<_ACEOF
12697 cat confdefs.h
>>conftest.
$ac_ext
12698 cat >>conftest.
$ac_ext <<_ACEOF
12699 /* end confdefs.h. */
12712 rm -f conftest.
$ac_objext
12713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12714 (eval $ac_compile) 2>conftest.er1
12716 grep -v '^ *+' conftest.er1
>conftest.err
12718 cat conftest.err
>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); } &&
12721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12723 (eval $ac_try) 2>&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); }; } &&
12727 { ac_try
='test -s conftest.$ac_objext'
12728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12729 (eval $ac_try) 2>&5
12731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); }; }; then
12733 bakefile_compiler_xlc
=yes
12735 echo "$as_me: failed program was:" >&5
12736 sed 's/^/| /' conftest.
$ac_ext >&5
12738 bakefile_compiler_xlc
=no
12740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12741 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12744 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12745 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12747 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12749 ac_cpp
='$CPP $CPPFLAGS'
12750 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12751 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12752 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12759 ac_cpp
='$CPP $CPPFLAGS'
12760 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12761 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12762 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12764 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12765 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12766 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12767 echo $ECHO_N "(cached) $ECHO_C" >&6
12769 cat >conftest.
$ac_ext <<_ACEOF
12772 cat confdefs.h
>>conftest.
$ac_ext
12773 cat >>conftest.
$ac_ext <<_ACEOF
12774 /* end confdefs.h. */
12787 rm -f conftest.
$ac_objext
12788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12789 (eval $ac_compile) 2>conftest.er1
12791 grep -v '^ *+' conftest.er1
>conftest.err
12793 cat conftest.err
>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); } &&
12796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12798 (eval $ac_try) 2>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); }; } &&
12802 { ac_try
='test -s conftest.$ac_objext'
12803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 (eval $ac_try) 2>&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); }; }; then
12808 bakefile_compiler_mwerks
=yes
12810 echo "$as_me: failed program was:" >&5
12811 sed 's/^/| /' conftest.
$ac_ext >&5
12813 bakefile_compiler_mwerks
=no
12815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12816 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12819 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12820 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12822 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12824 ac_cpp
='$CPP $CPPFLAGS'
12825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12831 ac_cpp
='$CPP $CPPFLAGS'
12832 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12833 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12834 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12836 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12837 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12838 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12841 cat >conftest.
$ac_ext <<_ACEOF
12844 cat confdefs.h
>>conftest.
$ac_ext
12845 cat >>conftest.
$ac_ext <<_ACEOF
12846 /* end confdefs.h. */
12859 rm -f conftest.
$ac_objext
12860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12861 (eval $ac_compile) 2>conftest.er1
12863 grep -v '^ *+' conftest.er1
>conftest.err
12865 cat conftest.err
>&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } &&
12868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12870 (eval $ac_try) 2>&5
12872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12873 (exit $ac_status); }; } &&
12874 { ac_try
='test -s conftest.$ac_objext'
12875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12876 (eval $ac_try) 2>&5
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 (exit $ac_status); }; }; then
12880 bakefile_compiler_xlc
=yes
12882 echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.
$ac_ext >&5
12885 bakefile_compiler_xlc
=no
12887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12888 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12891 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12892 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12894 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12896 ac_cpp
='$CPP $CPPFLAGS'
12897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12908 ac_cpp
='$CPP $CPPFLAGS'
12909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12913 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12914 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12915 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12916 echo $ECHO_N "(cached) $ECHO_C" >&6
12918 cat >conftest.
$ac_ext <<_ACEOF
12921 cat confdefs.h
>>conftest.
$ac_ext
12922 cat >>conftest.
$ac_ext <<_ACEOF
12923 /* end confdefs.h. */
12929 #ifndef _SGI_COMPILER_VERSION
12937 rm -f conftest.
$ac_objext
12938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12939 (eval $ac_compile) 2>conftest.er1
12941 grep -v '^ *+' conftest.er1
>conftest.err
12943 cat conftest.err
>&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); } &&
12946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; } &&
12952 { ac_try
='test -s conftest.$ac_objext'
12953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12954 (eval $ac_try) 2>&5
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); }; }; then
12958 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12960 echo "$as_me: failed program was:" >&5
12961 sed 's/^/| /' conftest.
$ac_ext >&5
12963 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12970 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12971 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12973 ac_cpp
='$CPP $CPPFLAGS'
12974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12978 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12991 ac_cpp
='$CPP $CPPFLAGS'
12992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12996 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12997 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12998 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13001 cat >conftest.
$ac_ext <<_ACEOF
13004 cat confdefs.h
>>conftest.
$ac_ext
13005 cat >>conftest.
$ac_ext <<_ACEOF
13006 /* end confdefs.h. */
13020 rm -f conftest.
$ac_objext
13021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13022 (eval $ac_compile) 2>conftest.er1
13024 grep -v '^ *+' conftest.er1
>conftest.err
13026 cat conftest.err
>&5
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028 (exit $ac_status); } &&
13029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13031 (eval $ac_try) 2>&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); }; } &&
13035 { ac_try
='test -s conftest.$ac_objext'
13036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13037 (eval $ac_try) 2>&5
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); }; }; then
13041 bakefile_cv_c_compiler___HP_cc
=yes
13043 echo "$as_me: failed program was:" >&5
13044 sed 's/^/| /' conftest.
$ac_ext >&5
13046 bakefile_cv_c_compiler___HP_cc
=no
13049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13053 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13054 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13056 ac_cpp
='$CPP $CPPFLAGS'
13057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13061 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13074 ac_cpp
='$CPP $CPPFLAGS'
13075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13079 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13080 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13081 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13082 echo $ECHO_N "(cached) $ECHO_C" >&6
13084 cat >conftest.
$ac_ext <<_ACEOF
13087 cat confdefs.h
>>conftest.
$ac_ext
13088 cat >>conftest.
$ac_ext <<_ACEOF
13089 /* end confdefs.h. */
13103 rm -f conftest.
$ac_objext
13104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13105 (eval $ac_compile) 2>conftest.er1
13107 grep -v '^ *+' conftest.er1
>conftest.err
13109 cat conftest.err
>&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); } &&
13112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; } &&
13118 { ac_try
='test -s conftest.$ac_objext'
13119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120 (eval $ac_try) 2>&5
13122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123 (exit $ac_status); }; }; then
13124 bakefile_cv_c_compiler___DECC
=yes
13126 echo "$as_me: failed program was:" >&5
13127 sed 's/^/| /' conftest.
$ac_ext >&5
13129 bakefile_cv_c_compiler___DECC
=no
13132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13136 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13137 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13139 ac_cpp
='$CPP $CPPFLAGS'
13140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13144 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13157 ac_cpp
='$CPP $CPPFLAGS'
13158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13162 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13163 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13164 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13165 echo $ECHO_N "(cached) $ECHO_C" >&6
13167 cat >conftest.
$ac_ext <<_ACEOF
13170 cat confdefs.h
>>conftest.
$ac_ext
13171 cat >>conftest.
$ac_ext <<_ACEOF
13172 /* end confdefs.h. */
13186 rm -f conftest.
$ac_objext
13187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13188 (eval $ac_compile) 2>conftest.er1
13190 grep -v '^ *+' conftest.er1
>conftest.err
13192 cat conftest.err
>&5
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); } &&
13195 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13197 (eval $ac_try) 2>&5
13199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); }; } &&
13201 { ac_try
='test -s conftest.$ac_objext'
13202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13203 (eval $ac_try) 2>&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); }; }; then
13207 bakefile_cv_c_compiler___SUNPRO_C
=yes
13209 echo "$as_me: failed program was:" >&5
13210 sed 's/^/| /' conftest.
$ac_ext >&5
13212 bakefile_cv_c_compiler___SUNPRO_C
=no
13215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13219 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13220 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13222 ac_cpp
='$CPP $CPPFLAGS'
13223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13227 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13241 ac_cpp
='$CPP $CPPFLAGS'
13242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13245 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13246 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13247 # On Suns, sometimes $CPP names a directory.
13248 if test -n "$CPP" && test -d "$CPP"; then
13251 if test -z "$CPP"; then
13252 if test "${ac_cv_prog_CPP+set}" = set; then
13253 echo $ECHO_N "(cached) $ECHO_C" >&6
13255 # Double quotes because CPP needs to be expanded
13256 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13258 ac_preproc_ok
=false
13259 for ac_c_preproc_warn_flag
in '' yes
13261 # Use a header file that comes with gcc, so configuring glibc
13262 # with a fresh cross-compiler works.
13263 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13264 # <limits.h> exists even on freestanding compilers.
13265 # On the NeXT, cc -E runs the code through the compiler's parser,
13266 # not just through cpp. "Syntax error" is here to catch this case.
13267 cat >conftest.
$ac_ext <<_ACEOF
13270 cat confdefs.h
>>conftest.
$ac_ext
13271 cat >>conftest.
$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13274 # include <limits.h>
13276 # include <assert.h>
13280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13281 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13283 grep -v '^ *+' conftest.er1
>conftest.err
13285 cat conftest.err
>&5
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); } >/dev
/null
; then
13288 if test -s conftest.err
; then
13289 ac_cpp_err
=$ac_c_preproc_warn_flag
13290 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13297 if test -z "$ac_cpp_err"; then
13300 echo "$as_me: failed program was:" >&5
13301 sed 's/^/| /' conftest.
$ac_ext >&5
13303 # Broken: fails on valid input.
13306 rm -f conftest.err conftest.
$ac_ext
13308 # OK, works on sane cases. Now check whether non-existent headers
13309 # can be detected and how.
13310 cat >conftest.
$ac_ext <<_ACEOF
13313 cat confdefs.h
>>conftest.
$ac_ext
13314 cat >>conftest.
$ac_ext <<_ACEOF
13315 /* end confdefs.h. */
13316 #include <ac_nonexistent.h>
13318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13319 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13321 grep -v '^ *+' conftest.er1
>conftest.err
13323 cat conftest.err
>&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } >/dev
/null
; then
13326 if test -s conftest.err
; then
13327 ac_cpp_err
=$ac_c_preproc_warn_flag
13328 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13335 if test -z "$ac_cpp_err"; then
13336 # Broken: success on invalid input.
13339 echo "$as_me: failed program was:" >&5
13340 sed 's/^/| /' conftest.
$ac_ext >&5
13342 # Passes both tests.
13346 rm -f conftest.err conftest.
$ac_ext
13349 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13350 rm -f conftest.err conftest.
$ac_ext
13351 if $ac_preproc_ok; then
13356 ac_cv_prog_CPP
=$CPP
13359 CPP
=$ac_cv_prog_CPP
13361 ac_cv_prog_CPP
=$CPP
13363 echo "$as_me:$LINENO: result: $CPP" >&5
13364 echo "${ECHO_T}$CPP" >&6
13365 ac_preproc_ok
=false
13366 for ac_c_preproc_warn_flag
in '' yes
13368 # Use a header file that comes with gcc, so configuring glibc
13369 # with a fresh cross-compiler works.
13370 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13371 # <limits.h> exists even on freestanding compilers.
13372 # On the NeXT, cc -E runs the code through the compiler's parser,
13373 # not just through cpp. "Syntax error" is here to catch this case.
13374 cat >conftest.
$ac_ext <<_ACEOF
13377 cat confdefs.h
>>conftest.
$ac_ext
13378 cat >>conftest.
$ac_ext <<_ACEOF
13379 /* end confdefs.h. */
13381 # include <limits.h>
13383 # include <assert.h>
13387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13388 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13390 grep -v '^ *+' conftest.er1
>conftest.err
13392 cat conftest.err
>&5
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); } >/dev
/null
; then
13395 if test -s conftest.err
; then
13396 ac_cpp_err
=$ac_c_preproc_warn_flag
13397 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13404 if test -z "$ac_cpp_err"; then
13407 echo "$as_me: failed program was:" >&5
13408 sed 's/^/| /' conftest.
$ac_ext >&5
13410 # Broken: fails on valid input.
13413 rm -f conftest.err conftest.
$ac_ext
13415 # OK, works on sane cases. Now check whether non-existent headers
13416 # can be detected and how.
13417 cat >conftest.
$ac_ext <<_ACEOF
13420 cat confdefs.h
>>conftest.
$ac_ext
13421 cat >>conftest.
$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13423 #include <ac_nonexistent.h>
13425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13426 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13428 grep -v '^ *+' conftest.er1
>conftest.err
13430 cat conftest.err
>&5
13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); } >/dev
/null
; then
13433 if test -s conftest.err
; then
13434 ac_cpp_err
=$ac_c_preproc_warn_flag
13435 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13442 if test -z "$ac_cpp_err"; then
13443 # Broken: success on invalid input.
13446 echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.
$ac_ext >&5
13449 # Passes both tests.
13453 rm -f conftest.err conftest.
$ac_ext
13456 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13457 rm -f conftest.err conftest.
$ac_ext
13458 if $ac_preproc_ok; then
13461 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13462 See \`config.log' for more details." >&5
13463 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13464 See \`config.log' for more details." >&2;}
13465 { (exit 1); exit 1; }; }
13469 ac_cpp
='$CPP $CPPFLAGS'
13470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13475 echo "$as_me:$LINENO: checking for egrep" >&5
13476 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13477 if test "${ac_cv_prog_egrep+set}" = set; then
13478 echo $ECHO_N "(cached) $ECHO_C" >&6
13480 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13481 then ac_cv_prog_egrep
='grep -E'
13482 else ac_cv_prog_egrep
='egrep'
13485 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13486 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13487 EGREP
=$ac_cv_prog_egrep
13490 if test $ac_cv_c_compiler_gnu = yes; then
13491 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13492 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13493 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13494 echo $ECHO_N "(cached) $ECHO_C" >&6
13496 ac_pattern
="Autoconf.*'x'"
13497 cat >conftest.
$ac_ext <<_ACEOF
13500 cat confdefs.h
>>conftest.
$ac_ext
13501 cat >>conftest.
$ac_ext <<_ACEOF
13502 /* end confdefs.h. */
13506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13507 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13508 ac_cv_prog_gcc_traditional
=yes
13510 ac_cv_prog_gcc_traditional
=no
13515 if test $ac_cv_prog_gcc_traditional = no
; then
13516 cat >conftest.
$ac_ext <<_ACEOF
13519 cat confdefs.h
>>conftest.
$ac_ext
13520 cat >>conftest.
$ac_ext <<_ACEOF
13521 /* end confdefs.h. */
13522 #include <termio.h>
13525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13526 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13527 ac_cv_prog_gcc_traditional
=yes
13533 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13534 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13535 if test $ac_cv_prog_gcc_traditional = yes; then
13536 CC
="$CC -traditional"
13542 ac_cpp
='$CXXCPP $CPPFLAGS'
13543 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13544 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13545 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13548 CXXFLAGS
=${CXXFLAGS:=}
13553 ac_cpp
='$CXXCPP $CPPFLAGS'
13554 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13555 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13556 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13557 if test -n "$ac_tool_prefix"; then
13558 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13560 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13561 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13562 echo "$as_me:$LINENO: checking for $ac_word" >&5
13563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13564 if test "${ac_cv_prog_CXX+set}" = set; then
13565 echo $ECHO_N "(cached) $ECHO_C" >&6
13567 if test -n "$CXX"; then
13568 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13571 for as_dir
in $PATH
13574 test -z "$as_dir" && as_dir
=.
13575 for ac_exec_ext
in '' $ac_executable_extensions; do
13576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13577 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13586 CXX
=$ac_cv_prog_CXX
13587 if test -n "$CXX"; then
13588 echo "$as_me:$LINENO: result: $CXX" >&5
13589 echo "${ECHO_T}$CXX" >&6
13591 echo "$as_me:$LINENO: result: no" >&5
13592 echo "${ECHO_T}no" >&6
13595 test -n "$CXX" && break
13598 if test -z "$CXX"; then
13600 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13602 # Extract the first word of "$ac_prog", so it can be a program name with args.
13603 set dummy
$ac_prog; ac_word
=$2
13604 echo "$as_me:$LINENO: checking for $ac_word" >&5
13605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13606 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13607 echo $ECHO_N "(cached) $ECHO_C" >&6
13609 if test -n "$ac_ct_CXX"; then
13610 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13613 for as_dir
in $PATH
13616 test -z "$as_dir" && as_dir
=.
13617 for ac_exec_ext
in '' $ac_executable_extensions; do
13618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13619 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13628 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13629 if test -n "$ac_ct_CXX"; then
13630 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13631 echo "${ECHO_T}$ac_ct_CXX" >&6
13633 echo "$as_me:$LINENO: result: no" >&5
13634 echo "${ECHO_T}no" >&6
13637 test -n "$ac_ct_CXX" && break
13639 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13645 # Provide some information about the compiler.
13646 echo "$as_me:$LINENO:" \
13647 "checking for C++ compiler version" >&5
13648 ac_compiler
=`set X $ac_compile; echo $2`
13649 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13650 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }
13654 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13655 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); }
13659 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13660 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); }
13665 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13666 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13667 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13668 echo $ECHO_N "(cached) $ECHO_C" >&6
13670 cat >conftest.
$ac_ext <<_ACEOF
13673 cat confdefs.h
>>conftest.
$ac_ext
13674 cat >>conftest.
$ac_ext <<_ACEOF
13675 /* end confdefs.h. */
13688 rm -f conftest.
$ac_objext
13689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13690 (eval $ac_compile) 2>conftest.er1
13692 grep -v '^ *+' conftest.er1
>conftest.err
13694 cat conftest.err
>&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); } &&
13697 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13699 (eval $ac_try) 2>&5
13701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702 (exit $ac_status); }; } &&
13703 { ac_try
='test -s conftest.$ac_objext'
13704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13705 (eval $ac_try) 2>&5
13707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708 (exit $ac_status); }; }; then
13709 ac_compiler_gnu
=yes
13711 echo "$as_me: failed program was:" >&5
13712 sed 's/^/| /' conftest.
$ac_ext >&5
13716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13717 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13720 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13721 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13722 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13723 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13724 ac_save_CXXFLAGS
=$CXXFLAGS
13726 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13727 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13728 if test "${ac_cv_prog_cxx_g+set}" = set; then
13729 echo $ECHO_N "(cached) $ECHO_C" >&6
13731 cat >conftest.
$ac_ext <<_ACEOF
13734 cat confdefs.h
>>conftest.
$ac_ext
13735 cat >>conftest.
$ac_ext <<_ACEOF
13736 /* end confdefs.h. */
13746 rm -f conftest.
$ac_objext
13747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13748 (eval $ac_compile) 2>conftest.er1
13750 grep -v '^ *+' conftest.er1
>conftest.err
13752 cat conftest.err
>&5
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); } &&
13755 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13757 (eval $ac_try) 2>&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); }; } &&
13761 { ac_try
='test -s conftest.$ac_objext'
13762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13763 (eval $ac_try) 2>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); }; }; then
13767 ac_cv_prog_cxx_g
=yes
13769 echo "$as_me: failed program was:" >&5
13770 sed 's/^/| /' conftest.
$ac_ext >&5
13772 ac_cv_prog_cxx_g
=no
13774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13776 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13777 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13778 if test "$ac_test_CXXFLAGS" = set; then
13779 CXXFLAGS
=$ac_save_CXXFLAGS
13780 elif test $ac_cv_prog_cxx_g = yes; then
13781 if test "$GXX" = yes; then
13782 CXXFLAGS
="$CXXFLAGS -g -O2"
13784 CXXFLAGS
="$CXXFLAGS -g"
13787 if test "$GXX" = yes; then
13793 for ac_declaration
in \
13795 'extern "C" void std::exit (int) throw (); using std::exit;' \
13796 'extern "C" void std::exit (int); using std::exit;' \
13797 'extern "C" void exit (int) throw ();' \
13798 'extern "C" void exit (int);' \
13801 cat >conftest.
$ac_ext <<_ACEOF
13804 cat confdefs.h
>>conftest.
$ac_ext
13805 cat >>conftest.
$ac_ext <<_ACEOF
13806 /* end confdefs.h. */
13808 #include <stdlib.h>
13817 rm -f conftest.
$ac_objext
13818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13819 (eval $ac_compile) 2>conftest.er1
13821 grep -v '^ *+' conftest.er1
>conftest.err
13823 cat conftest.err
>&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); } &&
13826 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13828 (eval $ac_try) 2>&5
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); }; } &&
13832 { ac_try
='test -s conftest.$ac_objext'
13833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13834 (eval $ac_try) 2>&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); }; }; then
13840 echo "$as_me: failed program was:" >&5
13841 sed 's/^/| /' conftest.
$ac_ext >&5
13845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13846 cat >conftest.
$ac_ext <<_ACEOF
13849 cat confdefs.h
>>conftest.
$ac_ext
13850 cat >>conftest.
$ac_ext <<_ACEOF
13851 /* end confdefs.h. */
13861 rm -f conftest.
$ac_objext
13862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13863 (eval $ac_compile) 2>conftest.er1
13865 grep -v '^ *+' conftest.er1
>conftest.err
13867 cat conftest.err
>&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); } &&
13870 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13872 (eval $ac_try) 2>&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }; } &&
13876 { ac_try
='test -s conftest.$ac_objext'
13877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13878 (eval $ac_try) 2>&5
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); }; }; then
13884 echo "$as_me: failed program was:" >&5
13885 sed 's/^/| /' conftest.
$ac_ext >&5
13888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13891 if test -n "$ac_declaration"; then
13892 echo '#ifdef __cplusplus' >>confdefs.h
13893 echo $ac_declaration >>confdefs.h
13894 echo '#endif' >>confdefs.h
13898 ac_cpp
='$CXXCPP $CPPFLAGS'
13899 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13900 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13901 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13906 ac_cpp
='$CXXCPP $CPPFLAGS'
13907 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13908 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13909 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13911 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13912 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13913 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13914 echo $ECHO_N "(cached) $ECHO_C" >&6
13916 cat >conftest.
$ac_ext <<_ACEOF
13919 cat confdefs.h
>>conftest.
$ac_ext
13920 cat >>conftest.
$ac_ext <<_ACEOF
13921 /* end confdefs.h. */
13927 #ifndef __INTEL_COMPILER
13935 rm -f conftest.
$ac_objext
13936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13937 (eval $ac_compile) 2>conftest.er1
13939 grep -v '^ *+' conftest.er1
>conftest.err
13941 cat conftest.err
>&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); } &&
13944 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13946 (eval $ac_try) 2>&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); }; } &&
13950 { ac_try
='test -s conftest.$ac_objext'
13951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13952 (eval $ac_try) 2>&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); }; }; then
13956 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13958 echo "$as_me: failed program was:" >&5
13959 sed 's/^/| /' conftest.
$ac_ext >&5
13961 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13968 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13969 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13971 ac_cpp
='$CXXCPP $CPPFLAGS'
13972 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13973 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13974 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13976 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13983 if test "x$GCXX" != "xyes"; then
13984 if test "xCXX" = "xC"; then
13985 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13986 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13987 if test "${bakefile_cv_cxx_exto+set}" = set; then
13988 echo $ECHO_N "(cached) $ECHO_C" >&6
13990 cat >conftest.
$ac_ext <<_ACEOF
13993 cat confdefs.h
>>conftest.
$ac_ext
13994 cat >>conftest.
$ac_ext <<_ACEOF
13995 /* end confdefs.h. */
14005 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14007 (eval $ac_compile) 2>&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); }; then
14011 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14013 conftest.
$ac_ext.o
)
14014 bakefile_cv_cxx_exto
="-ext o"
14021 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14022 See \`config.log' for more details." >&5
14023 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14024 See \`config.log' for more details." >&2;}
14025 { (exit 1); exit 1; }; }
14029 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14032 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14033 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14034 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14035 if test "cxx" = "c"; then
14036 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14038 if test "cxx" = "cxx"; then
14039 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14043 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14044 unset ac_cv_prog_cc_g
14045 ac_test_CFLAGS
=${CFLAGS+set}
14046 ac_save_CFLAGS
=$CFLAGS
14047 CFLAGS
="$CFLAGS -g"
14048 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14049 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14050 if test "${ac_cv_prog_cc_g+set}" = set; then
14051 echo $ECHO_N "(cached) $ECHO_C" >&6
14053 cat >conftest.
$ac_ext <<_ACEOF
14056 cat confdefs.h
>>conftest.
$ac_ext
14057 cat >>conftest.
$ac_ext <<_ACEOF
14058 /* end confdefs.h. */
14068 rm -f conftest.
$ac_objext
14069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14070 (eval $ac_compile) 2>conftest.er1
14072 grep -v '^ *+' conftest.er1
>conftest.err
14074 cat conftest.err
>&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } &&
14077 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14079 (eval $ac_try) 2>&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); }; } &&
14083 { ac_try
='test -s conftest.$ac_objext'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; }; then
14089 ac_cv_prog_cc_g
=yes
14091 echo "$as_me: failed program was:" >&5
14092 sed 's/^/| /' conftest.
$ac_ext >&5
14096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14098 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14099 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14100 if test "$ac_test_CFLAGS" = set; then
14101 CFLAGS
=$ac_save_CFLAGS
14102 elif test $ac_cv_prog_cc_g = yes; then
14103 if test "$GCC" = yes; then
14109 if test "$GCC" = yes; then
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 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14127 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14128 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14129 echo $ECHO_N "(cached) $ECHO_C" >&6
14131 cat >conftest.
$ac_ext <<_ACEOF
14134 cat confdefs.h
>>conftest.
$ac_ext
14135 cat >>conftest.
$ac_ext <<_ACEOF
14136 /* end confdefs.h. */
14149 rm -f conftest.
$ac_objext
14150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14151 (eval $ac_compile) 2>conftest.er1
14153 grep -v '^ *+' conftest.er1
>conftest.err
14155 cat conftest.err
>&5
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); } &&
14158 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14160 (eval $ac_try) 2>&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); }; } &&
14164 { ac_try
='test -s conftest.$ac_objext'
14165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14166 (eval $ac_try) 2>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); }; }; then
14170 bakefile_compiler_xlc
=yes
14172 echo "$as_me: failed program was:" >&5
14173 sed 's/^/| /' conftest.
$ac_ext >&5
14175 bakefile_compiler_xlc
=no
14177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14178 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14181 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14182 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14184 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14186 ac_cpp
='$CXXCPP $CPPFLAGS'
14187 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14188 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14189 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14196 ac_cpp
='$CXXCPP $CPPFLAGS'
14197 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14198 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14199 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14201 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14202 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14203 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14204 echo $ECHO_N "(cached) $ECHO_C" >&6
14206 cat >conftest.
$ac_ext <<_ACEOF
14209 cat confdefs.h
>>conftest.
$ac_ext
14210 cat >>conftest.
$ac_ext <<_ACEOF
14211 /* end confdefs.h. */
14224 rm -f conftest.
$ac_objext
14225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14226 (eval $ac_compile) 2>conftest.er1
14228 grep -v '^ *+' conftest.er1
>conftest.err
14230 cat conftest.err
>&5
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); } &&
14233 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14235 (eval $ac_try) 2>&5
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); }; } &&
14239 { ac_try
='test -s conftest.$ac_objext'
14240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14241 (eval $ac_try) 2>&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); }; }; then
14245 bakefile_compiler_mwerks
=yes
14247 echo "$as_me: failed program was:" >&5
14248 sed 's/^/| /' conftest.
$ac_ext >&5
14250 bakefile_compiler_mwerks
=no
14252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14253 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14256 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14257 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14259 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14261 ac_cpp
='$CXXCPP $CPPFLAGS'
14262 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14263 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14264 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14268 ac_cpp
='$CXXCPP $CPPFLAGS'
14269 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14270 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14271 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14273 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14274 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14275 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14276 echo $ECHO_N "(cached) $ECHO_C" >&6
14278 cat >conftest.
$ac_ext <<_ACEOF
14281 cat confdefs.h
>>conftest.
$ac_ext
14282 cat >>conftest.
$ac_ext <<_ACEOF
14283 /* end confdefs.h. */
14296 rm -f conftest.
$ac_objext
14297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14298 (eval $ac_compile) 2>conftest.er1
14300 grep -v '^ *+' conftest.er1
>conftest.err
14302 cat conftest.err
>&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); } &&
14305 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14307 (eval $ac_try) 2>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }; } &&
14311 { ac_try
='test -s conftest.$ac_objext'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; }; then
14317 bakefile_compiler_xlc
=yes
14319 echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.
$ac_ext >&5
14322 bakefile_compiler_xlc
=no
14324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14325 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14328 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14329 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14331 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14333 ac_cpp
='$CXXCPP $CPPFLAGS'
14334 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14335 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14336 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14345 ac_cpp
='$CXXCPP $CPPFLAGS'
14346 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14347 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14348 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14350 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14351 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14352 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 cat >conftest.
$ac_ext <<_ACEOF
14358 cat confdefs.h
>>conftest.
$ac_ext
14359 cat >>conftest.
$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14366 #ifndef _SGI_COMPILER_VERSION
14374 rm -f conftest.
$ac_objext
14375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14376 (eval $ac_compile) 2>conftest.er1
14378 grep -v '^ *+' conftest.er1
>conftest.err
14380 cat conftest.err
>&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); } &&
14383 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14385 (eval $ac_try) 2>&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); }; } &&
14389 { ac_try
='test -s conftest.$ac_objext'
14390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14391 (eval $ac_try) 2>&5
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }; }; then
14395 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14397 echo "$as_me: failed program was:" >&5
14398 sed 's/^/| /' conftest.
$ac_ext >&5
14400 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14407 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14408 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14410 ac_cpp
='$CXXCPP $CPPFLAGS'
14411 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14412 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14413 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14415 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14428 ac_cpp
='$CXXCPP $CPPFLAGS'
14429 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14430 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14431 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14433 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14434 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14435 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14436 echo $ECHO_N "(cached) $ECHO_C" >&6
14438 cat >conftest.
$ac_ext <<_ACEOF
14441 cat confdefs.h
>>conftest.
$ac_ext
14442 cat >>conftest.
$ac_ext <<_ACEOF
14443 /* end confdefs.h. */
14457 rm -f conftest.
$ac_objext
14458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14459 (eval $ac_compile) 2>conftest.er1
14461 grep -v '^ *+' conftest.er1
>conftest.err
14463 cat conftest.err
>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } &&
14466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14468 (eval $ac_try) 2>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; } &&
14472 { ac_try
='test -s conftest.$ac_objext'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; }; then
14478 bakefile_cv_cxx_compiler___HP_aCC
=yes
14480 echo "$as_me: failed program was:" >&5
14481 sed 's/^/| /' conftest.
$ac_ext >&5
14483 bakefile_cv_cxx_compiler___HP_aCC
=no
14486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14490 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14491 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14493 ac_cpp
='$CXXCPP $CPPFLAGS'
14494 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14495 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14496 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14498 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14511 ac_cpp
='$CXXCPP $CPPFLAGS'
14512 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14513 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14514 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14516 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14517 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14518 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14519 echo $ECHO_N "(cached) $ECHO_C" >&6
14521 cat >conftest.
$ac_ext <<_ACEOF
14524 cat confdefs.h
>>conftest.
$ac_ext
14525 cat >>conftest.
$ac_ext <<_ACEOF
14526 /* end confdefs.h. */
14540 rm -f conftest.
$ac_objext
14541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14542 (eval $ac_compile) 2>conftest.er1
14544 grep -v '^ *+' conftest.er1
>conftest.err
14546 cat conftest.err
>&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); } &&
14549 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14551 (eval $ac_try) 2>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); }; } &&
14555 { ac_try
='test -s conftest.$ac_objext'
14556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14557 (eval $ac_try) 2>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; }; then
14561 bakefile_cv_cxx_compiler___DECCXX
=yes
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.
$ac_ext >&5
14566 bakefile_cv_cxx_compiler___DECCXX
=no
14569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14573 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14574 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14576 ac_cpp
='$CXXCPP $CPPFLAGS'
14577 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14578 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14579 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14581 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14594 ac_cpp
='$CXXCPP $CPPFLAGS'
14595 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14596 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14597 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14599 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14600 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14601 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14602 echo $ECHO_N "(cached) $ECHO_C" >&6
14604 cat >conftest.
$ac_ext <<_ACEOF
14607 cat confdefs.h
>>conftest.
$ac_ext
14608 cat >>conftest.
$ac_ext <<_ACEOF
14609 /* end confdefs.h. */
14615 #ifndef __SUNPRO_CC
14623 rm -f conftest.
$ac_objext
14624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14625 (eval $ac_compile) 2>conftest.er1
14627 grep -v '^ *+' conftest.er1
>conftest.err
14629 cat conftest.err
>&5
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); } &&
14632 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634 (eval $ac_try) 2>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; } &&
14638 { ac_try
='test -s conftest.$ac_objext'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; }; then
14644 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14646 echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.
$ac_ext >&5
14649 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14656 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14657 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14659 ac_cpp
='$CXXCPP $CPPFLAGS'
14660 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14661 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14662 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14664 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14677 if test -n "$ac_tool_prefix"; then
14678 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14679 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14680 echo "$as_me:$LINENO: checking for $ac_word" >&5
14681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14682 if test "${ac_cv_prog_RANLIB+set}" = set; then
14683 echo $ECHO_N "(cached) $ECHO_C" >&6
14685 if test -n "$RANLIB"; then
14686 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14689 for as_dir
in $PATH
14692 test -z "$as_dir" && as_dir
=.
14693 for ac_exec_ext
in '' $ac_executable_extensions; do
14694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14695 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14704 RANLIB
=$ac_cv_prog_RANLIB
14705 if test -n "$RANLIB"; then
14706 echo "$as_me:$LINENO: result: $RANLIB" >&5
14707 echo "${ECHO_T}$RANLIB" >&6
14709 echo "$as_me:$LINENO: result: no" >&5
14710 echo "${ECHO_T}no" >&6
14714 if test -z "$ac_cv_prog_RANLIB"; then
14715 ac_ct_RANLIB
=$RANLIB
14716 # Extract the first word of "ranlib", so it can be a program name with args.
14717 set dummy ranlib
; ac_word
=$2
14718 echo "$as_me:$LINENO: checking for $ac_word" >&5
14719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14720 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14721 echo $ECHO_N "(cached) $ECHO_C" >&6
14723 if test -n "$ac_ct_RANLIB"; then
14724 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14727 for as_dir
in $PATH
14730 test -z "$as_dir" && as_dir
=.
14731 for ac_exec_ext
in '' $ac_executable_extensions; do
14732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14733 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14740 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14743 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14744 if test -n "$ac_ct_RANLIB"; then
14745 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14746 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14748 echo "$as_me:$LINENO: result: no" >&5
14749 echo "${ECHO_T}no" >&6
14752 RANLIB
=$ac_ct_RANLIB
14754 RANLIB
="$ac_cv_prog_RANLIB"
14758 if test -n "$ac_tool_prefix"; then
14759 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14760 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14761 echo "$as_me:$LINENO: checking for $ac_word" >&5
14762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14763 if test "${ac_cv_prog_AR+set}" = set; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14766 if test -n "$AR"; then
14767 ac_cv_prog_AR
="$AR" # Let the user override the test.
14769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14770 for as_dir
in $PATH
14773 test -z "$as_dir" && as_dir
=.
14774 for ac_exec_ext
in '' $ac_executable_extensions; do
14775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14776 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14786 if test -n "$AR"; then
14787 echo "$as_me:$LINENO: result: $AR" >&5
14788 echo "${ECHO_T}$AR" >&6
14790 echo "$as_me:$LINENO: result: no" >&5
14791 echo "${ECHO_T}no" >&6
14795 if test -z "$ac_cv_prog_AR"; then
14797 # Extract the first word of "ar", so it can be a program name with args.
14798 set dummy
ar; ac_word
=$2
14799 echo "$as_me:$LINENO: checking for $ac_word" >&5
14800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14801 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14802 echo $ECHO_N "(cached) $ECHO_C" >&6
14804 if test -n "$ac_ct_AR"; then
14805 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14808 for as_dir
in $PATH
14811 test -z "$as_dir" && as_dir
=.
14812 for ac_exec_ext
in '' $ac_executable_extensions; do
14813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14814 ac_cv_prog_ac_ct_AR
="ar"
14815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14823 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14824 if test -n "$ac_ct_AR"; then
14825 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14826 echo "${ECHO_T}$ac_ct_AR" >&6
14828 echo "$as_me:$LINENO: result: no" >&5
14829 echo "${ECHO_T}no" >&6
14834 AR
="$ac_cv_prog_AR"
14837 if test "x$AR" = "x" ; then
14838 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14839 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14840 { (exit 1); exit 1; }; }
14843 # Find a good install program. We prefer a C program (faster),
14844 # so one script is as good as another. But avoid the broken or
14845 # incompatible versions:
14846 # SysV /etc/install, /usr/sbin/install
14847 # SunOS /usr/etc/install
14848 # IRIX /sbin/install
14850 # AmigaOS /C/install, which installs bootblocks on floppy discs
14851 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14852 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14853 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14854 # OS/2's system install, which has a completely different semantic
14855 # ./install, which can be erroneously created by make from ./install.sh.
14856 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14857 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14858 if test -z "$INSTALL"; then
14859 if test "${ac_cv_path_install+set}" = set; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14863 for as_dir
in $PATH
14866 test -z "$as_dir" && as_dir
=.
14867 # Account for people who put trailing slashes in PATH elements.
14869 .
/ | .
// | /cC
/* | \
14870 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14871 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14874 # OSF1 and SCO ODT 3.0 have their own names for install.
14875 # Don't use installbsd from OSF since it installs stuff as root
14877 for ac_prog
in ginstall scoinst
install; do
14878 for ac_exec_ext
in '' $ac_executable_extensions; do
14879 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14880 if test $ac_prog = install &&
14881 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14882 # AIX install. It has an incompatible calling convention.
14884 elif test $ac_prog = install &&
14885 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14886 # program-specific install script used by HP pwplus--don't use.
14889 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14901 if test "${ac_cv_path_install+set}" = set; then
14902 INSTALL
=$ac_cv_path_install
14904 # As a last resort, use the slow shell script. We don't cache a
14905 # path for INSTALL within a source directory, because that will
14906 # break other packages using the cache if that directory is
14907 # removed, or if the path is relative.
14908 INSTALL
=$ac_install_sh
14911 echo "$as_me:$LINENO: result: $INSTALL" >&5
14912 echo "${ECHO_T}$INSTALL" >&6
14914 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14915 # It thinks the first close brace ends the variable substitution.
14916 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14918 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14920 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14926 ?
:* ) # Drive letter, considered as absolute.
14929 INSTALL
=`pwd`/${INSTALL} ;;
14936 INSTALL_PROGRAM
="cp -fp"
14937 INSTALL_DATA
="cp -fp"
14943 if test -n "$ac_tool_prefix"; then
14944 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14945 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14946 echo "$as_me:$LINENO: checking for $ac_word" >&5
14947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14948 if test "${ac_cv_prog_STRIP+set}" = set; then
14949 echo $ECHO_N "(cached) $ECHO_C" >&6
14951 if test -n "$STRIP"; then
14952 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14955 for as_dir
in $PATH
14958 test -z "$as_dir" && as_dir
=.
14959 for ac_exec_ext
in '' $ac_executable_extensions; do
14960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14961 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14970 STRIP
=$ac_cv_prog_STRIP
14971 if test -n "$STRIP"; then
14972 echo "$as_me:$LINENO: result: $STRIP" >&5
14973 echo "${ECHO_T}$STRIP" >&6
14975 echo "$as_me:$LINENO: result: no" >&5
14976 echo "${ECHO_T}no" >&6
14980 if test -z "$ac_cv_prog_STRIP"; then
14982 # Extract the first word of "strip", so it can be a program name with args.
14983 set dummy strip
; ac_word
=$2
14984 echo "$as_me:$LINENO: checking for $ac_word" >&5
14985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14986 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14987 echo $ECHO_N "(cached) $ECHO_C" >&6
14989 if test -n "$ac_ct_STRIP"; then
14990 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14993 for as_dir
in $PATH
14996 test -z "$as_dir" && as_dir
=.
14997 for ac_exec_ext
in '' $ac_executable_extensions; do
14998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14999 ac_cv_prog_ac_ct_STRIP
="strip"
15000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15006 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15009 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15010 if test -n "$ac_ct_STRIP"; then
15011 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15012 echo "${ECHO_T}$ac_ct_STRIP" >&6
15014 echo "$as_me:$LINENO: result: no" >&5
15015 echo "${ECHO_T}no" >&6
15020 STRIP
="$ac_cv_prog_STRIP"
15024 if test "$wxUSE_WINE" = "yes"; then
15025 if test -n "$ac_tool_prefix"; then
15026 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15027 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15028 echo "$as_me:$LINENO: checking for $ac_word" >&5
15029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15030 if test "${ac_cv_prog_WINDRES+set}" = set; then
15031 echo $ECHO_N "(cached) $ECHO_C" >&6
15033 if test -n "$WINDRES"; then
15034 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15037 for as_dir
in $PATH
15040 test -z "$as_dir" && as_dir
=.
15041 for ac_exec_ext
in '' $ac_executable_extensions; do
15042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15043 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15052 WINDRES
=$ac_cv_prog_WINDRES
15053 if test -n "$WINDRES"; then
15054 echo "$as_me:$LINENO: result: $WINDRES" >&5
15055 echo "${ECHO_T}$WINDRES" >&6
15057 echo "$as_me:$LINENO: result: no" >&5
15058 echo "${ECHO_T}no" >&6
15062 if test -z "$ac_cv_prog_WINDRES"; then
15063 ac_ct_WINDRES
=$WINDRES
15064 # Extract the first word of "wrc", so it can be a program name with args.
15065 set dummy wrc
; ac_word
=$2
15066 echo "$as_me:$LINENO: checking for $ac_word" >&5
15067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15068 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15069 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 if test -n "$ac_ct_WINDRES"; then
15072 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15075 for as_dir
in $PATH
15078 test -z "$as_dir" && as_dir
=.
15079 for ac_exec_ext
in '' $ac_executable_extensions; do
15080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15081 ac_cv_prog_ac_ct_WINDRES
="wrc"
15082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15090 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15091 if test -n "$ac_ct_WINDRES"; then
15092 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15093 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15095 echo "$as_me:$LINENO: result: no" >&5
15096 echo "${ECHO_T}no" >&6
15099 WINDRES
=$ac_ct_WINDRES
15101 WINDRES
="$ac_cv_prog_WINDRES"
15107 *-*-cygwin* | *-*-mingw32* )
15108 if test -n "$ac_tool_prefix"; then
15109 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15110 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15111 echo "$as_me:$LINENO: checking for $ac_word" >&5
15112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15113 if test "${ac_cv_prog_WINDRES+set}" = set; then
15114 echo $ECHO_N "(cached) $ECHO_C" >&6
15116 if test -n "$WINDRES"; then
15117 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15120 for as_dir
in $PATH
15123 test -z "$as_dir" && as_dir
=.
15124 for ac_exec_ext
in '' $ac_executable_extensions; do
15125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15126 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15135 WINDRES
=$ac_cv_prog_WINDRES
15136 if test -n "$WINDRES"; then
15137 echo "$as_me:$LINENO: result: $WINDRES" >&5
15138 echo "${ECHO_T}$WINDRES" >&6
15140 echo "$as_me:$LINENO: result: no" >&5
15141 echo "${ECHO_T}no" >&6
15145 if test -z "$ac_cv_prog_WINDRES"; then
15146 ac_ct_WINDRES
=$WINDRES
15147 # Extract the first word of "windres", so it can be a program name with args.
15148 set dummy windres
; ac_word
=$2
15149 echo "$as_me:$LINENO: checking for $ac_word" >&5
15150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15151 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15152 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 if test -n "$ac_ct_WINDRES"; then
15155 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15158 for as_dir
in $PATH
15161 test -z "$as_dir" && as_dir
=.
15162 for ac_exec_ext
in '' $ac_executable_extensions; do
15163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15164 ac_cv_prog_ac_ct_WINDRES
="windres"
15165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15173 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15174 if test -n "$ac_ct_WINDRES"; then
15175 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15176 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15178 echo "$as_me:$LINENO: result: no" >&5
15179 echo "${ECHO_T}no" >&6
15182 WINDRES
=$ac_ct_WINDRES
15184 WINDRES
="$ac_cv_prog_WINDRES"
15188 if test -n "$ac_tool_prefix"; then
15189 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15190 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15191 echo "$as_me:$LINENO: checking for $ac_word" >&5
15192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15193 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 if test -n "$DLLTOOL"; then
15197 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15200 for as_dir
in $PATH
15203 test -z "$as_dir" && as_dir
=.
15204 for ac_exec_ext
in '' $ac_executable_extensions; do
15205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15206 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15215 DLLTOOL
=$ac_cv_prog_DLLTOOL
15216 if test -n "$DLLTOOL"; then
15217 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15218 echo "${ECHO_T}$DLLTOOL" >&6
15220 echo "$as_me:$LINENO: result: no" >&5
15221 echo "${ECHO_T}no" >&6
15225 if test -z "$ac_cv_prog_DLLTOOL"; then
15226 ac_ct_DLLTOOL
=$DLLTOOL
15227 # Extract the first word of "dlltool", so it can be a program name with args.
15228 set dummy dlltool
; ac_word
=$2
15229 echo "$as_me:$LINENO: checking for $ac_word" >&5
15230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15231 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15232 echo $ECHO_N "(cached) $ECHO_C" >&6
15234 if test -n "$ac_ct_DLLTOOL"; then
15235 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15238 for as_dir
in $PATH
15241 test -z "$as_dir" && as_dir
=.
15242 for ac_exec_ext
in '' $ac_executable_extensions; do
15243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15244 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15253 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15254 if test -n "$ac_ct_DLLTOOL"; then
15255 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15256 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15258 echo "$as_me:$LINENO: result: no" >&5
15259 echo "${ECHO_T}no" >&6
15262 DLLTOOL
=$ac_ct_DLLTOOL
15264 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15271 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15272 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15273 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15274 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15278 egrep -s GNU
> /dev
/null
); then
15279 wx_cv_prog_makeisgnu
="yes"
15281 wx_cv_prog_makeisgnu
="no"
15285 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15286 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15288 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15296 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15297 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15298 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15299 if test "${wx_cv_prog_makevpath+set}" = set; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 cat - << EOF > confMake
15309 if test ! -d sub
; then
15312 echo dummy
> sub
/file
15313 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15315 rm -f sub
/file check final_file confMake
15317 if test "$RESULT" = 0; then
15318 wx_cv_prog_makevpath
="yes"
15320 wx_cv_prog_makevpath
="no"
15324 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15325 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15327 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15328 { { echo "$as_me:$LINENO: error:
15329 You need a make-utility that is able to use the variable
15331 If your version of make does not support VPATH correctly,
15332 please install GNU-make (possibly as gmake), and start
15333 configure with the following command:
15334 export MAKE=gmake; ./configure for sh-type shells
15335 setenv MAKE gmake; ./configure for csh-type shells
15336 Also please do remember to use gmake in this case every time
15337 you are trying to compile.
15339 echo "$as_me: error:
15340 You need a make-utility that is able to use the variable
15342 If your version of make does not support VPATH correctly,
15343 please install GNU-make (possibly as gmake), and start
15344 configure with the following command:
15345 export MAKE=gmake; ./configure for sh-type shells
15346 setenv MAKE gmake; ./configure for csh-type shells
15347 Also please do remember to use gmake in this case every time
15348 you are trying to compile.
15350 { (exit 1); exit 1; }; }
15352 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15353 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15355 if test "$LN_S" = "ln -s"; then
15356 echo "$as_me:$LINENO: result: yes" >&5
15357 echo "${ECHO_T}yes" >&6
15359 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15360 echo "${ECHO_T}no, using $LN_S" >&6
15366 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15367 CXXFLAGS
="-qunique $CXXFLAGS"
15371 powerpc
-*-darwin* )
15372 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15373 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15374 cat >conftest.
$ac_ext <<_ACEOF
15377 cat confdefs.h
>>conftest.
$ac_ext
15378 cat >>conftest.
$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15384 #ifndef __POWERPC__
15385 choke me for lack of PowerPC
15392 rm -f conftest.
$ac_objext
15393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15394 (eval $ac_compile) 2>conftest.er1
15396 grep -v '^ *+' conftest.er1
>conftest.err
15398 cat conftest.err
>&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } &&
15401 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15403 (eval $ac_try) 2>&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); }; } &&
15407 { ac_try
='test -s conftest.$ac_objext'
15408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15409 (eval $ac_try) 2>&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); }; }; then
15413 echo "$as_me:$LINENO: result: yes" >&5
15414 echo "${ECHO_T}yes" >&6
15416 echo "$as_me: failed program was:" >&5
15417 sed 's/^/| /' conftest.
$ac_ext >&5
15419 echo "$as_me:$LINENO: result: no" >&5
15420 echo "${ECHO_T}no" >&6
15421 cat >>confdefs.h
<<\_ACEOF
15422 #define __POWERPC__ 1
15427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15433 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15434 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $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. */
15441 #include <CoreFoundation/CFBase.h>
15451 rm -f conftest.
$ac_objext
15452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15453 (eval $ac_compile) 2>conftest.er1
15455 grep -v '^ *+' conftest.er1
>conftest.err
15457 cat conftest.err
>&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); } &&
15460 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462 (eval $ac_try) 2>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }; } &&
15466 { ac_try
='test -s conftest.$ac_objext'
15467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15468 (eval $ac_try) 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; }; then
15472 echo "$as_me:$LINENO: result: yes" >&5
15473 echo "${ECHO_T}yes" >&6
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.
$ac_ext >&5
15478 echo "$as_me:$LINENO: result: no" >&5
15479 echo "${ECHO_T}no" >&6
15480 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15481 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15482 cat >conftest.
$ac_ext <<_ACEOF
15485 cat confdefs.h
>>conftest.
$ac_ext
15486 cat >>conftest.
$ac_ext <<_ACEOF
15487 /* end confdefs.h. */
15488 #define __CF_USE_FRAMEWORK_INCLUDES__
15489 #include <CoreFoundation/CFBase.h>
15499 rm -f conftest.
$ac_objext
15500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15501 (eval $ac_compile) 2>conftest.er1
15503 grep -v '^ *+' conftest.er1
>conftest.err
15505 cat conftest.err
>&5
15506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 (exit $ac_status); } &&
15508 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15510 (eval $ac_try) 2>&5
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); }; } &&
15514 { ac_try
='test -s conftest.$ac_objext'
15515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15516 (eval $ac_try) 2>&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); }; }; then
15520 echo "$as_me:$LINENO: result: yes" >&5
15521 echo "${ECHO_T}yes" >&6
15522 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15524 echo "$as_me: failed program was:" >&5
15525 sed 's/^/| /' conftest.
$ac_ext >&5
15527 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15528 See \`config.log' for more details." >&5
15529 echo "$as_me: error: no. CoreFoundation not available.
15530 See \`config.log' for more details." >&2;}
15531 { (exit 1); exit 1; }; }
15534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15543 *-pc-os2_emx | *-pc-os2-emx )
15545 ac_cpp
='$CPP $CPPFLAGS'
15546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15550 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15551 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15552 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15553 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15554 echo $ECHO_N "(cached) $ECHO_C" >&6
15556 ac_check_lib_save_LIBS
=$LIBS
15557 LIBS
="-lcExt $LIBS"
15558 cat >conftest.
$ac_ext <<_ACEOF
15561 cat confdefs.h
>>conftest.
$ac_ext
15562 cat >>conftest.
$ac_ext <<_ACEOF
15563 /* end confdefs.h. */
15565 /* Override any gcc2 internal prototype to avoid an error. */
15569 /* We use char because int might match the return type of a gcc2
15570 builtin and then its argument prototype would still apply. */
15580 rm -f conftest.
$ac_objext conftest
$ac_exeext
15581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15582 (eval $ac_link) 2>conftest.er1
15584 grep -v '^ *+' conftest.er1
>conftest.err
15586 cat conftest.err
>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); } &&
15589 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15591 (eval $ac_try) 2>&5
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); }; } &&
15595 { ac_try
='test -s conftest$ac_exeext'
15596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15597 (eval $ac_try) 2>&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); }; }; then
15601 ac_cv_lib_cExt_drand48
=yes
15603 echo "$as_me: failed program was:" >&5
15604 sed 's/^/| /' conftest.
$ac_ext >&5
15606 ac_cv_lib_cExt_drand48
=no
15608 rm -f conftest.err conftest.
$ac_objext \
15609 conftest
$ac_exeext conftest.
$ac_ext
15610 LIBS
=$ac_check_lib_save_LIBS
15612 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15613 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15614 if test $ac_cv_lib_cExt_drand48 = yes; then
15615 LIBS
="$LIBS -lcExt"
15619 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15621 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15622 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15623 if test "${wx_cv_gccversion+set}" = set; then
15624 echo $ECHO_N "(cached) $ECHO_C" >&6
15627 if test "$cross_compiling" = yes; then
15628 wx_cv_gccversion
="EMX2"
15631 cat >conftest.
$ac_ext <<_ACEOF
15634 cat confdefs.h
>>conftest.
$ac_ext
15635 cat >>conftest.
$ac_ext <<_ACEOF
15636 /* end confdefs.h. */
15642 FILE *f=fopen("conftestval", "w");
15647 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15649 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15659 rm -f conftest
$ac_exeext
15660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15661 (eval $ac_link) 2>&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15666 (eval $ac_try) 2>&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); }; }; then
15670 wx_cv_gccversion
=`cat conftestval`
15672 echo "$as_me: program exited with status $ac_status" >&5
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.
$ac_ext >&5
15676 ( exit $ac_status )
15677 wx_cv_gccversion
="EMX2"
15679 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15683 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15684 echo "${ECHO_T}$wx_cv_gccversion" >&6
15686 ac_cpp
='$CXXCPP $CPPFLAGS'
15687 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15688 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15689 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15691 if test "$wx_cv_gccversion" = "EMX2"; then
15692 LIBS
="$LIBS -lstdcpp"
15693 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15695 if test "$wx_cv_gccversion" = "EMX3"; then
15696 LIBS
="$LIBS -lstdcxx -lgcc"
15697 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15699 LIBS
="$LIBS -lstdc++"
15702 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15703 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15704 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15711 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15712 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15713 if test "${ac_cv_string_strcasecmp+set}" = set; then
15714 echo $ECHO_N "(cached) $ECHO_C" >&6
15717 cat >conftest.
$ac_ext <<_ACEOF
15720 cat confdefs.h
>>conftest.
$ac_ext
15721 cat >>conftest.
$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15724 #include <string.h>
15730 strcasecmp("foo", "bar");
15736 rm -f conftest.
$ac_objext conftest
$ac_exeext
15737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15738 (eval $ac_link) 2>conftest.er1
15740 grep -v '^ *+' conftest.er1
>conftest.err
15742 cat conftest.err
>&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } &&
15745 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15747 (eval $ac_try) 2>&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); }; } &&
15751 { ac_try
='test -s conftest$ac_exeext'
15752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15753 (eval $ac_try) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); }; }; then
15757 ac_cv_string_strcasecmp
=yes
15759 echo "$as_me: failed program was:" >&5
15760 sed 's/^/| /' conftest.
$ac_ext >&5
15762 ac_cv_string_strcasecmp
=no
15765 rm -f conftest.err conftest.
$ac_objext \
15766 conftest
$ac_exeext conftest.
$ac_ext
15769 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15770 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15772 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15773 cat >>confdefs.h
<<\_ACEOF
15774 #define HAVE_STRCASECMP_IN_STRING_H 1
15778 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15779 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15780 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15784 cat >conftest.
$ac_ext <<_ACEOF
15787 cat confdefs.h
>>conftest.
$ac_ext
15788 cat >>conftest.
$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15791 #include <strings.h>
15797 strcasecmp("foo", "bar");
15803 rm -f conftest.
$ac_objext conftest
$ac_exeext
15804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15805 (eval $ac_link) 2>conftest.er1
15807 grep -v '^ *+' conftest.er1
>conftest.err
15809 cat conftest.err
>&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); } &&
15812 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814 (eval $ac_try) 2>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; } &&
15818 { ac_try
='test -s conftest$ac_exeext'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; }; then
15824 ac_cv_strings_strcasecmp
=yes
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.
$ac_ext >&5
15829 ac_cv_strings_strcasecmp
=no
15832 rm -f conftest.err conftest.
$ac_objext \
15833 conftest
$ac_exeext conftest.
$ac_ext
15836 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15837 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15839 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15840 cat >>confdefs.h
<<\_ACEOF
15841 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15845 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15846 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15847 { (exit 1); exit 1; }; }
15856 ac_cpp
='$CXXCPP $CPPFLAGS'
15857 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15858 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15859 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15860 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15861 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15862 if test -z "$CXXCPP"; then
15863 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15866 # Double quotes because CXXCPP needs to be expanded
15867 for CXXCPP
in "$CXX -E" "/lib/cpp"
15869 ac_preproc_ok
=false
15870 for ac_cxx_preproc_warn_flag
in '' yes
15872 # Use a header file that comes with gcc, so configuring glibc
15873 # with a fresh cross-compiler works.
15874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15875 # <limits.h> exists even on freestanding compilers.
15876 # On the NeXT, cc -E runs the code through the compiler's parser,
15877 # not just through cpp. "Syntax error" is here to catch this case.
15878 cat >conftest.
$ac_ext <<_ACEOF
15881 cat confdefs.h
>>conftest.
$ac_ext
15882 cat >>conftest.
$ac_ext <<_ACEOF
15883 /* end confdefs.h. */
15885 # include <limits.h>
15887 # include <assert.h>
15891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15892 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15894 grep -v '^ *+' conftest.er1
>conftest.err
15896 cat conftest.err
>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); } >/dev
/null
; then
15899 if test -s conftest.err
; then
15900 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15901 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15908 if test -z "$ac_cpp_err"; then
15911 echo "$as_me: failed program was:" >&5
15912 sed 's/^/| /' conftest.
$ac_ext >&5
15914 # Broken: fails on valid input.
15917 rm -f conftest.err conftest.
$ac_ext
15919 # OK, works on sane cases. Now check whether non-existent headers
15920 # can be detected and how.
15921 cat >conftest.
$ac_ext <<_ACEOF
15924 cat confdefs.h
>>conftest.
$ac_ext
15925 cat >>conftest.
$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15927 #include <ac_nonexistent.h>
15929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15930 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15932 grep -v '^ *+' conftest.er1
>conftest.err
15934 cat conftest.err
>&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); } >/dev
/null
; then
15937 if test -s conftest.err
; then
15938 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15939 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15946 if test -z "$ac_cpp_err"; then
15947 # Broken: success on invalid input.
15950 echo "$as_me: failed program was:" >&5
15951 sed 's/^/| /' conftest.
$ac_ext >&5
15953 # Passes both tests.
15957 rm -f conftest.err conftest.
$ac_ext
15960 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15961 rm -f conftest.err conftest.
$ac_ext
15962 if $ac_preproc_ok; then
15967 ac_cv_prog_CXXCPP
=$CXXCPP
15970 CXXCPP
=$ac_cv_prog_CXXCPP
15972 ac_cv_prog_CXXCPP
=$CXXCPP
15974 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15975 echo "${ECHO_T}$CXXCPP" >&6
15976 ac_preproc_ok
=false
15977 for ac_cxx_preproc_warn_flag
in '' yes
15979 # Use a header file that comes with gcc, so configuring glibc
15980 # with a fresh cross-compiler works.
15981 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15982 # <limits.h> exists even on freestanding compilers.
15983 # On the NeXT, cc -E runs the code through the compiler's parser,
15984 # not just through cpp. "Syntax error" is here to catch this case.
15985 cat >conftest.
$ac_ext <<_ACEOF
15988 cat confdefs.h
>>conftest.
$ac_ext
15989 cat >>conftest.
$ac_ext <<_ACEOF
15990 /* end confdefs.h. */
15992 # include <limits.h>
15994 # include <assert.h>
15998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15999 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16001 grep -v '^ *+' conftest.er1
>conftest.err
16003 cat conftest.err
>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); } >/dev
/null
; then
16006 if test -s conftest.err
; then
16007 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16008 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16015 if test -z "$ac_cpp_err"; then
16018 echo "$as_me: failed program was:" >&5
16019 sed 's/^/| /' conftest.
$ac_ext >&5
16021 # Broken: fails on valid input.
16024 rm -f conftest.err conftest.
$ac_ext
16026 # OK, works on sane cases. Now check whether non-existent headers
16027 # can be detected and how.
16028 cat >conftest.
$ac_ext <<_ACEOF
16031 cat confdefs.h
>>conftest.
$ac_ext
16032 cat >>conftest.
$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16034 #include <ac_nonexistent.h>
16036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16037 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16039 grep -v '^ *+' conftest.er1
>conftest.err
16041 cat conftest.err
>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); } >/dev
/null
; then
16044 if test -s conftest.err
; then
16045 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16046 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16053 if test -z "$ac_cpp_err"; then
16054 # Broken: success on invalid input.
16057 echo "$as_me: failed program was:" >&5
16058 sed 's/^/| /' conftest.
$ac_ext >&5
16060 # Passes both tests.
16064 rm -f conftest.err conftest.
$ac_ext
16067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16068 rm -f conftest.err conftest.
$ac_ext
16069 if $ac_preproc_ok; then
16072 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16073 See \`config.log' for more details." >&5
16074 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16075 See \`config.log' for more details." >&2;}
16076 { (exit 1); exit 1; }; }
16080 ac_cpp
='$CXXCPP $CPPFLAGS'
16081 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16082 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16083 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16086 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16087 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16088 if test "${ac_cv_header_stdc+set}" = set; then
16089 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 cat >conftest.
$ac_ext <<_ACEOF
16094 cat confdefs.h
>>conftest.
$ac_ext
16095 cat >>conftest.
$ac_ext <<_ACEOF
16096 /* end confdefs.h. */
16097 #include <stdlib.h>
16098 #include <stdarg.h>
16099 #include <string.h>
16110 rm -f conftest.
$ac_objext
16111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16112 (eval $ac_compile) 2>conftest.er1
16114 grep -v '^ *+' conftest.er1
>conftest.err
16116 cat conftest.err
>&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); } &&
16119 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16121 (eval $ac_try) 2>&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); }; } &&
16125 { ac_try
='test -s conftest.$ac_objext'
16126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16127 (eval $ac_try) 2>&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); }; }; then
16131 ac_cv_header_stdc
=yes
16133 echo "$as_me: failed program was:" >&5
16134 sed 's/^/| /' conftest.
$ac_ext >&5
16136 ac_cv_header_stdc
=no
16138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16140 if test $ac_cv_header_stdc = yes; then
16141 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16142 cat >conftest.
$ac_ext <<_ACEOF
16145 cat confdefs.h
>>conftest.
$ac_ext
16146 cat >>conftest.
$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16148 #include <string.h>
16151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16152 $EGREP "memchr" >/dev
/null
2>&1; then
16155 ac_cv_header_stdc
=no
16161 if test $ac_cv_header_stdc = yes; then
16162 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16163 cat >conftest.
$ac_ext <<_ACEOF
16166 cat confdefs.h
>>conftest.
$ac_ext
16167 cat >>conftest.
$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 #include <stdlib.h>
16172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16173 $EGREP "free" >/dev
/null
2>&1; then
16176 ac_cv_header_stdc
=no
16182 if test $ac_cv_header_stdc = yes; then
16183 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16184 if test "$cross_compiling" = yes; then
16187 cat >conftest.
$ac_ext <<_ACEOF
16190 cat confdefs.h
>>conftest.
$ac_ext
16191 cat >>conftest.
$ac_ext <<_ACEOF
16192 /* end confdefs.h. */
16194 #if ((' ' & 0x0FF) == 0x020)
16195 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16196 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16198 # define ISLOWER(c) \
16199 (('a' <= (c) && (c) <= 'i') \
16200 || ('j' <= (c) && (c) <= 'r') \
16201 || ('s' <= (c) && (c) <= 'z'))
16202 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16205 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16210 for (i = 0; i < 256; i++)
16211 if (XOR (islower (i), ISLOWER (i))
16212 || toupper (i) != TOUPPER (i))
16217 rm -f conftest
$ac_exeext
16218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16219 (eval $ac_link) 2>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; }; then
16230 echo "$as_me: program exited with status $ac_status" >&5
16231 echo "$as_me: failed program was:" >&5
16232 sed 's/^/| /' conftest.
$ac_ext >&5
16234 ( exit $ac_status )
16235 ac_cv_header_stdc
=no
16237 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16241 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16242 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16243 if test $ac_cv_header_stdc = yes; then
16245 cat >>confdefs.h
<<\_ACEOF
16246 #define STDC_HEADERS 1
16251 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16261 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16262 inttypes.h stdint.h unistd.h
16264 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16265 echo "$as_me:$LINENO: checking for $ac_header" >&5
16266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16268 echo $ECHO_N "(cached) $ECHO_C" >&6
16270 cat >conftest.
$ac_ext <<_ACEOF
16273 cat confdefs.h
>>conftest.
$ac_ext
16274 cat >>conftest.
$ac_ext <<_ACEOF
16275 /* end confdefs.h. */
16276 $ac_includes_default
16278 #include <$ac_header>
16280 rm -f conftest.
$ac_objext
16281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16282 (eval $ac_compile) 2>conftest.er1
16284 grep -v '^ *+' conftest.er1
>conftest.err
16286 cat conftest.err
>&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } &&
16289 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; } &&
16295 { ac_try
='test -s conftest.$ac_objext'
16296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297 (eval $ac_try) 2>&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); }; }; then
16301 eval "$as_ac_Header=yes"
16303 echo "$as_me: failed program was:" >&5
16304 sed 's/^/| /' conftest.
$ac_ext >&5
16306 eval "$as_ac_Header=no"
16308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16313 cat >>confdefs.h
<<_ACEOF
16314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16323 for ac_header
in stdlib.h
16325 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16327 echo "$as_me:$LINENO: checking for $ac_header" >&5
16328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16335 # Is the header compilable?
16336 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16338 cat >conftest.
$ac_ext <<_ACEOF
16341 cat confdefs.h
>>conftest.
$ac_ext
16342 cat >>conftest.
$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 $ac_includes_default
16345 #include <$ac_header>
16347 rm -f conftest.
$ac_objext
16348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16349 (eval $ac_compile) 2>conftest.er1
16351 grep -v '^ *+' conftest.er1
>conftest.err
16353 cat conftest.err
>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); } &&
16356 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358 (eval $ac_try) 2>&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); }; } &&
16362 { ac_try
='test -s conftest.$ac_objext'
16363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16364 (eval $ac_try) 2>&5
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); }; }; then
16368 ac_header_compiler
=yes
16370 echo "$as_me: failed program was:" >&5
16371 sed 's/^/| /' conftest.
$ac_ext >&5
16373 ac_header_compiler
=no
16375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16376 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16377 echo "${ECHO_T}$ac_header_compiler" >&6
16379 # Is the header present?
16380 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16381 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16382 cat >conftest.
$ac_ext <<_ACEOF
16385 cat confdefs.h
>>conftest.
$ac_ext
16386 cat >>conftest.
$ac_ext <<_ACEOF
16387 /* end confdefs.h. */
16388 #include <$ac_header>
16390 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16391 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16393 grep -v '^ *+' conftest.er1
>conftest.err
16395 cat conftest.err
>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); } >/dev
/null
; then
16398 if test -s conftest.err
; then
16399 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16400 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16407 if test -z "$ac_cpp_err"; then
16408 ac_header_preproc
=yes
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.
$ac_ext >&5
16413 ac_header_preproc
=no
16415 rm -f conftest.err conftest.
$ac_ext
16416 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16417 echo "${ECHO_T}$ac_header_preproc" >&6
16419 # So? What about this header?
16420 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16425 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16426 ac_header_preproc
=yes
16429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16433 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16434 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16435 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16436 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16439 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16440 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16443 ## ----------------------------------------- ##
16444 ## Report this to wx-dev@lists.wxwidgets.org ##
16445 ## ----------------------------------------- ##
16448 sed "s/^/$as_me: WARNING: /" >&2
16451 echo "$as_me:$LINENO: checking for $ac_header" >&5
16452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16454 echo $ECHO_N "(cached) $ECHO_C" >&6
16456 eval "$as_ac_Header=\$ac_header_preproc"
16458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16463 cat >>confdefs.h
<<_ACEOF
16464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16472 for ac_header
in malloc.h
16474 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16476 echo "$as_me:$LINENO: checking for $ac_header" >&5
16477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16479 echo $ECHO_N "(cached) $ECHO_C" >&6
16481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16484 # Is the header compilable?
16485 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16486 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16487 cat >conftest.
$ac_ext <<_ACEOF
16490 cat confdefs.h
>>conftest.
$ac_ext
16491 cat >>conftest.
$ac_ext <<_ACEOF
16492 /* end confdefs.h. */
16493 $ac_includes_default
16494 #include <$ac_header>
16496 rm -f conftest.
$ac_objext
16497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16498 (eval $ac_compile) 2>conftest.er1
16500 grep -v '^ *+' conftest.er1
>conftest.err
16502 cat conftest.err
>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); } &&
16505 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; } &&
16511 { ac_try
='test -s conftest.$ac_objext'
16512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 (eval $ac_try) 2>&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); }; }; then
16517 ac_header_compiler
=yes
16519 echo "$as_me: failed program was:" >&5
16520 sed 's/^/| /' conftest.
$ac_ext >&5
16522 ac_header_compiler
=no
16524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16526 echo "${ECHO_T}$ac_header_compiler" >&6
16528 # Is the header present?
16529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16531 cat >conftest.
$ac_ext <<_ACEOF
16534 cat confdefs.h
>>conftest.
$ac_ext
16535 cat >>conftest.
$ac_ext <<_ACEOF
16536 /* end confdefs.h. */
16537 #include <$ac_header>
16539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16542 grep -v '^ *+' conftest.er1
>conftest.err
16544 cat conftest.err
>&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); } >/dev
/null
; then
16547 if test -s conftest.err
; then
16548 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16549 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16556 if test -z "$ac_cpp_err"; then
16557 ac_header_preproc
=yes
16559 echo "$as_me: failed program was:" >&5
16560 sed 's/^/| /' conftest.
$ac_ext >&5
16562 ac_header_preproc
=no
16564 rm -f conftest.err conftest.
$ac_ext
16565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16566 echo "${ECHO_T}$ac_header_preproc" >&6
16568 # So? What about this header?
16569 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16575 ac_header_preproc
=yes
16578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16592 ## ----------------------------------------- ##
16593 ## Report this to wx-dev@lists.wxwidgets.org ##
16594 ## ----------------------------------------- ##
16597 sed "s/^/$as_me: WARNING: /" >&2
16600 echo "$as_me:$LINENO: checking for $ac_header" >&5
16601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16603 echo $ECHO_N "(cached) $ECHO_C" >&6
16605 eval "$as_ac_Header=\$ac_header_preproc"
16607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16612 cat >>confdefs.h
<<_ACEOF
16613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16621 for ac_header
in unistd.h
16623 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16625 echo "$as_me:$LINENO: checking for $ac_header" >&5
16626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16628 echo $ECHO_N "(cached) $ECHO_C" >&6
16630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16633 # Is the header compilable?
16634 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16636 cat >conftest.
$ac_ext <<_ACEOF
16639 cat confdefs.h
>>conftest.
$ac_ext
16640 cat >>conftest.
$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 $ac_includes_default
16643 #include <$ac_header>
16645 rm -f conftest.
$ac_objext
16646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16647 (eval $ac_compile) 2>conftest.er1
16649 grep -v '^ *+' conftest.er1
>conftest.err
16651 cat conftest.err
>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } &&
16654 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; } &&
16660 { ac_try
='test -s conftest.$ac_objext'
16661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16662 (eval $ac_try) 2>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); }; }; then
16666 ac_header_compiler
=yes
16668 echo "$as_me: failed program was:" >&5
16669 sed 's/^/| /' conftest.
$ac_ext >&5
16671 ac_header_compiler
=no
16673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16675 echo "${ECHO_T}$ac_header_compiler" >&6
16677 # Is the header present?
16678 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16680 cat >conftest.
$ac_ext <<_ACEOF
16683 cat confdefs.h
>>conftest.
$ac_ext
16684 cat >>conftest.
$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686 #include <$ac_header>
16688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16689 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16691 grep -v '^ *+' conftest.er1
>conftest.err
16693 cat conftest.err
>&5
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); } >/dev
/null
; then
16696 if test -s conftest.err
; then
16697 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16698 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16705 if test -z "$ac_cpp_err"; then
16706 ac_header_preproc
=yes
16708 echo "$as_me: failed program was:" >&5
16709 sed 's/^/| /' conftest.
$ac_ext >&5
16711 ac_header_preproc
=no
16713 rm -f conftest.err conftest.
$ac_ext
16714 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16715 echo "${ECHO_T}$ac_header_preproc" >&6
16717 # So? What about this header?
16718 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16720 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16721 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16723 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16724 ac_header_preproc
=yes
16727 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16728 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16729 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16730 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16731 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16732 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16733 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16734 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16737 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16738 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16741 ## ----------------------------------------- ##
16742 ## Report this to wx-dev@lists.wxwidgets.org ##
16743 ## ----------------------------------------- ##
16746 sed "s/^/$as_me: WARNING: /" >&2
16749 echo "$as_me:$LINENO: checking for $ac_header" >&5
16750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16752 echo $ECHO_N "(cached) $ECHO_C" >&6
16754 eval "$as_ac_Header=\$ac_header_preproc"
16756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16761 cat >>confdefs.h
<<_ACEOF
16762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16770 for ac_header
in wchar.h
16772 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16774 echo "$as_me:$LINENO: checking for $ac_header" >&5
16775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16780 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16782 # Is the header compilable?
16783 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16784 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16785 cat >conftest.
$ac_ext <<_ACEOF
16788 cat confdefs.h
>>conftest.
$ac_ext
16789 cat >>conftest.
$ac_ext <<_ACEOF
16790 /* end confdefs.h. */
16791 $ac_includes_default
16792 #include <$ac_header>
16794 rm -f conftest.
$ac_objext
16795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16796 (eval $ac_compile) 2>conftest.er1
16798 grep -v '^ *+' conftest.er1
>conftest.err
16800 cat conftest.err
>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } &&
16803 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; } &&
16809 { ac_try
='test -s conftest.$ac_objext'
16810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16811 (eval $ac_try) 2>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); }; }; then
16815 ac_header_compiler
=yes
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.
$ac_ext >&5
16820 ac_header_compiler
=no
16822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16823 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16824 echo "${ECHO_T}$ac_header_compiler" >&6
16826 # Is the header present?
16827 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16828 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16829 cat >conftest.
$ac_ext <<_ACEOF
16832 cat confdefs.h
>>conftest.
$ac_ext
16833 cat >>conftest.
$ac_ext <<_ACEOF
16834 /* end confdefs.h. */
16835 #include <$ac_header>
16837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16838 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16840 grep -v '^ *+' conftest.er1
>conftest.err
16842 cat conftest.err
>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); } >/dev
/null
; then
16845 if test -s conftest.err
; then
16846 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16847 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16854 if test -z "$ac_cpp_err"; then
16855 ac_header_preproc
=yes
16857 echo "$as_me: failed program was:" >&5
16858 sed 's/^/| /' conftest.
$ac_ext >&5
16860 ac_header_preproc
=no
16862 rm -f conftest.err conftest.
$ac_ext
16863 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16864 echo "${ECHO_T}$ac_header_preproc" >&6
16866 # So? What about this header?
16867 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16869 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16870 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16872 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16873 ac_header_preproc
=yes
16876 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16877 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16878 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16879 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16881 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16882 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16883 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16885 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16886 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16887 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16890 ## ----------------------------------------- ##
16891 ## Report this to wx-dev@lists.wxwidgets.org ##
16892 ## ----------------------------------------- ##
16895 sed "s/^/$as_me: WARNING: /" >&2
16898 echo "$as_me:$LINENO: checking for $ac_header" >&5
16899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16901 echo $ECHO_N "(cached) $ECHO_C" >&6
16903 eval "$as_ac_Header=\$ac_header_preproc"
16905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16909 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16910 cat >>confdefs.h
<<_ACEOF
16911 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16919 if test "$ac_cv_header_wchar_h" != "yes"; then
16921 for ac_header
in wcstr.h
16923 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16925 echo "$as_me:$LINENO: checking for $ac_header" >&5
16926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16928 echo $ECHO_N "(cached) $ECHO_C" >&6
16930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16933 # Is the header compilable?
16934 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16935 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16936 cat >conftest.
$ac_ext <<_ACEOF
16939 cat confdefs.h
>>conftest.
$ac_ext
16940 cat >>conftest.
$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16942 $ac_includes_default
16943 #include <$ac_header>
16945 rm -f conftest.
$ac_objext
16946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16947 (eval $ac_compile) 2>conftest.er1
16949 grep -v '^ *+' conftest.er1
>conftest.err
16951 cat conftest.err
>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } &&
16954 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; } &&
16960 { ac_try
='test -s conftest.$ac_objext'
16961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16962 (eval $ac_try) 2>&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); }; }; then
16966 ac_header_compiler
=yes
16968 echo "$as_me: failed program was:" >&5
16969 sed 's/^/| /' conftest.
$ac_ext >&5
16971 ac_header_compiler
=no
16973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16975 echo "${ECHO_T}$ac_header_compiler" >&6
16977 # Is the header present?
16978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16980 cat >conftest.
$ac_ext <<_ACEOF
16983 cat confdefs.h
>>conftest.
$ac_ext
16984 cat >>conftest.
$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16986 #include <$ac_header>
16988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16991 grep -v '^ *+' conftest.er1
>conftest.err
16993 cat conftest.err
>&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); } >/dev
/null
; then
16996 if test -s conftest.err
; then
16997 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16998 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17005 if test -z "$ac_cpp_err"; then
17006 ac_header_preproc
=yes
17008 echo "$as_me: failed program was:" >&5
17009 sed 's/^/| /' conftest.
$ac_ext >&5
17011 ac_header_preproc
=no
17013 rm -f conftest.err conftest.
$ac_ext
17014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17015 echo "${ECHO_T}$ac_header_preproc" >&6
17017 # So? What about this header?
17018 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17023 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17024 ac_header_preproc
=yes
17027 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17029 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17030 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17031 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17032 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17033 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17034 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17037 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17038 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17041 ## ----------------------------------------- ##
17042 ## Report this to wx-dev@lists.wxwidgets.org ##
17043 ## ----------------------------------------- ##
17046 sed "s/^/$as_me: WARNING: /" >&2
17049 echo "$as_me:$LINENO: checking for $ac_header" >&5
17050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17052 echo $ECHO_N "(cached) $ECHO_C" >&6
17054 eval "$as_ac_Header=\$ac_header_preproc"
17056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17061 cat >>confdefs.h
<<_ACEOF
17062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17072 for ac_header
in fnmatch.h
17074 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17076 echo "$as_me:$LINENO: checking for $ac_header" >&5
17077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17079 echo $ECHO_N "(cached) $ECHO_C" >&6
17081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17084 # Is the header compilable?
17085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17087 cat >conftest.
$ac_ext <<_ACEOF
17090 cat confdefs.h
>>conftest.
$ac_ext
17091 cat >>conftest.
$ac_ext <<_ACEOF
17092 /* end confdefs.h. */
17093 $ac_includes_default
17094 #include <$ac_header>
17096 rm -f conftest.
$ac_objext
17097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17098 (eval $ac_compile) 2>conftest.er1
17100 grep -v '^ *+' conftest.er1
>conftest.err
17102 cat conftest.err
>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } &&
17105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; } &&
17111 { ac_try
='test -s conftest.$ac_objext'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; }; then
17117 ac_header_compiler
=yes
17119 echo "$as_me: failed program was:" >&5
17120 sed 's/^/| /' conftest.
$ac_ext >&5
17122 ac_header_compiler
=no
17124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17126 echo "${ECHO_T}$ac_header_compiler" >&6
17128 # Is the header present?
17129 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17130 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17131 cat >conftest.
$ac_ext <<_ACEOF
17134 cat confdefs.h
>>conftest.
$ac_ext
17135 cat >>conftest.
$ac_ext <<_ACEOF
17136 /* end confdefs.h. */
17137 #include <$ac_header>
17139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17140 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17142 grep -v '^ *+' conftest.er1
>conftest.err
17144 cat conftest.err
>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } >/dev
/null
; then
17147 if test -s conftest.err
; then
17148 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17149 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17156 if test -z "$ac_cpp_err"; then
17157 ac_header_preproc
=yes
17159 echo "$as_me: failed program was:" >&5
17160 sed 's/^/| /' conftest.
$ac_ext >&5
17162 ac_header_preproc
=no
17164 rm -f conftest.err conftest.
$ac_ext
17165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17166 echo "${ECHO_T}$ac_header_preproc" >&6
17168 # So? What about this header?
17169 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17171 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17172 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17174 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17175 ac_header_preproc
=yes
17178 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17179 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17180 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17181 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17182 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17183 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17184 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17185 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17188 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17189 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17192 ## ----------------------------------------- ##
17193 ## Report this to wx-dev@lists.wxwidgets.org ##
17194 ## ----------------------------------------- ##
17197 sed "s/^/$as_me: WARNING: /" >&2
17200 echo "$as_me:$LINENO: checking for $ac_header" >&5
17201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17203 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 eval "$as_ac_Header=\$ac_header_preproc"
17207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17212 cat >>confdefs.h
<<_ACEOF
17213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17222 for ac_header
in langinfo.h
17224 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17226 echo "$as_me:$LINENO: checking for $ac_header" >&5
17227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17229 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17234 # Is the header compilable?
17235 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17236 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17237 cat >conftest.
$ac_ext <<_ACEOF
17240 cat confdefs.h
>>conftest.
$ac_ext
17241 cat >>conftest.
$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243 $ac_includes_default
17244 #include <$ac_header>
17246 rm -f conftest.
$ac_objext
17247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17248 (eval $ac_compile) 2>conftest.er1
17250 grep -v '^ *+' conftest.er1
>conftest.err
17252 cat conftest.err
>&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); } &&
17255 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
17261 { ac_try
='test -s conftest.$ac_objext'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; }; then
17267 ac_header_compiler
=yes
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.
$ac_ext >&5
17272 ac_header_compiler
=no
17274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17276 echo "${ECHO_T}$ac_header_compiler" >&6
17278 # Is the header present?
17279 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17280 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17281 cat >conftest.
$ac_ext <<_ACEOF
17284 cat confdefs.h
>>conftest.
$ac_ext
17285 cat >>conftest.
$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17287 #include <$ac_header>
17289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17290 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17292 grep -v '^ *+' conftest.er1
>conftest.err
17294 cat conftest.err
>&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } >/dev
/null
; then
17297 if test -s conftest.err
; then
17298 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17299 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17306 if test -z "$ac_cpp_err"; then
17307 ac_header_preproc
=yes
17309 echo "$as_me: failed program was:" >&5
17310 sed 's/^/| /' conftest.
$ac_ext >&5
17312 ac_header_preproc
=no
17314 rm -f conftest.err conftest.
$ac_ext
17315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17316 echo "${ECHO_T}$ac_header_preproc" >&6
17318 # So? What about this header?
17319 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17321 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17322 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17324 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17325 ac_header_preproc
=yes
17328 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17330 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17331 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17332 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17333 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17334 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17335 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17338 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17339 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17342 ## ----------------------------------------- ##
17343 ## Report this to wx-dev@lists.wxwidgets.org ##
17344 ## ----------------------------------------- ##
17347 sed "s/^/$as_me: WARNING: /" >&2
17350 echo "$as_me:$LINENO: checking for $ac_header" >&5
17351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17353 echo $ECHO_N "(cached) $ECHO_C" >&6
17355 eval "$as_ac_Header=\$ac_header_preproc"
17357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17362 cat >>confdefs.h
<<_ACEOF
17363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17372 *-pc-os2_emx | *-pc-os2-emx )
17373 if test $ac_cv_header_langinfo_h = "yes" \
17374 -a \
( "$wx_cv_gccversion" = "EMX2" \
17375 -o "$wx_cv_gccversion" = "EMX3" \
17376 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17377 LIBS
="$LIBS -lintl"
17382 if test "$USE_UNIX" = 1 ; then
17384 for ac_header
in sys
/select.h
17386 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17388 echo "$as_me:$LINENO: checking for $ac_header" >&5
17389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17391 echo $ECHO_N "(cached) $ECHO_C" >&6
17393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17396 # Is the header compilable?
17397 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17398 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17399 cat >conftest.
$ac_ext <<_ACEOF
17402 cat confdefs.h
>>conftest.
$ac_ext
17403 cat >>conftest.
$ac_ext <<_ACEOF
17404 /* end confdefs.h. */
17405 $ac_includes_default
17406 #include <$ac_header>
17408 rm -f conftest.
$ac_objext
17409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17410 (eval $ac_compile) 2>conftest.er1
17412 grep -v '^ *+' conftest.er1
>conftest.err
17414 cat conftest.err
>&5
17415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17416 (exit $ac_status); } &&
17417 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17419 (eval $ac_try) 2>&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); }; } &&
17423 { ac_try
='test -s conftest.$ac_objext'
17424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17425 (eval $ac_try) 2>&5
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); }; }; then
17429 ac_header_compiler
=yes
17431 echo "$as_me: failed program was:" >&5
17432 sed 's/^/| /' conftest.
$ac_ext >&5
17434 ac_header_compiler
=no
17436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17438 echo "${ECHO_T}$ac_header_compiler" >&6
17440 # Is the header present?
17441 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17442 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17443 cat >conftest.
$ac_ext <<_ACEOF
17446 cat confdefs.h
>>conftest.
$ac_ext
17447 cat >>conftest.
$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449 #include <$ac_header>
17451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17452 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17454 grep -v '^ *+' conftest.er1
>conftest.err
17456 cat conftest.err
>&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } >/dev
/null
; then
17459 if test -s conftest.err
; then
17460 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17461 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17468 if test -z "$ac_cpp_err"; then
17469 ac_header_preproc
=yes
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.
$ac_ext >&5
17474 ac_header_preproc
=no
17476 rm -f conftest.err conftest.
$ac_ext
17477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17478 echo "${ECHO_T}$ac_header_preproc" >&6
17480 # So? What about this header?
17481 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17483 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17484 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17486 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17487 ac_header_preproc
=yes
17490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17494 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17495 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17496 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17497 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17499 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17500 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17501 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17504 ## ----------------------------------------- ##
17505 ## Report this to wx-dev@lists.wxwidgets.org ##
17506 ## ----------------------------------------- ##
17509 sed "s/^/$as_me: WARNING: /" >&2
17512 echo "$as_me:$LINENO: checking for $ac_header" >&5
17513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17515 echo $ECHO_N "(cached) $ECHO_C" >&6
17517 eval "$as_ac_Header=\$ac_header_preproc"
17519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17524 cat >>confdefs.h
<<_ACEOF
17525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17535 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17536 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17537 if test "${ac_cv_c_const+set}" = set; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17540 cat >conftest.
$ac_ext <<_ACEOF
17543 cat confdefs.h
>>conftest.
$ac_ext
17544 cat >>conftest.
$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17550 /* FIXME: Include the comments suggested by Paul. */
17551 #ifndef __cplusplus
17552 /* Ultrix mips cc rejects this. */
17553 typedef int charset[2];
17555 /* SunOS 4.1.1 cc rejects this. */
17556 char const *const *ccp;
17558 /* NEC SVR4.0.2 mips cc rejects this. */
17559 struct point {int x, y;};
17560 static struct point const zero = {0,0};
17561 /* AIX XL C 1.02.0.0 rejects this.
17562 It does not let you subtract one const X* pointer from another in
17563 an arm of an if-expression whose if-part is not a constant
17565 const char *g = "string";
17566 ccp = &g + (g ? g-g : 0);
17567 /* HPUX 7.0 cc rejects these. */
17570 ccp = (char const *const *) p;
17571 { /* SCO 3.2v4 cc rejects this. */
17573 char const *s = 0 ? (char *) 0 : (char const *) 0;
17577 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17578 int x[] = {25, 17};
17579 const int *foo = &x[0];
17582 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17583 typedef const int *iptr;
17587 { /* AIX XL C 1.02.0.0 rejects this saying
17588 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17589 struct s { int j; const int *ap[3]; };
17590 struct s *b; b->j = 5;
17592 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17593 const int foo = 10;
17601 rm -f conftest.
$ac_objext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17603 (eval $ac_compile) 2>conftest.er1
17605 grep -v '^ *+' conftest.er1
>conftest.err
17607 cat conftest.err
>&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } &&
17610 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; } &&
17616 { ac_try
='test -s conftest.$ac_objext'
17617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17618 (eval $ac_try) 2>&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); }; }; then
17624 echo "$as_me: failed program was:" >&5
17625 sed 's/^/| /' conftest.
$ac_ext >&5
17629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17631 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17632 echo "${ECHO_T}$ac_cv_c_const" >&6
17633 if test $ac_cv_c_const = no
; then
17635 cat >>confdefs.h
<<\_ACEOF
17641 echo "$as_me:$LINENO: checking for inline" >&5
17642 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17643 if test "${ac_cv_c_inline+set}" = set; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17647 for ac_kw
in inline __inline__ __inline
; do
17648 cat >conftest.
$ac_ext <<_ACEOF
17651 cat confdefs.h
>>conftest.
$ac_ext
17652 cat >>conftest.
$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17654 #ifndef __cplusplus
17656 static $ac_kw foo_t static_foo () {return 0; }
17657 $ac_kw foo_t foo () {return 0; }
17661 rm -f conftest.
$ac_objext
17662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17663 (eval $ac_compile) 2>conftest.er1
17665 grep -v '^ *+' conftest.er1
>conftest.err
17667 cat conftest.err
>&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); } &&
17670 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17672 (eval $ac_try) 2>&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); }; } &&
17676 { ac_try
='test -s conftest.$ac_objext'
17677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17678 (eval $ac_try) 2>&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); }; }; then
17682 ac_cv_c_inline
=$ac_kw; break
17684 echo "$as_me: failed program was:" >&5
17685 sed 's/^/| /' conftest.
$ac_ext >&5
17688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17692 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17693 echo "${ECHO_T}$ac_cv_c_inline" >&6
17696 case $ac_cv_c_inline in
17699 case $ac_cv_c_inline in
17701 *) ac_val
=$ac_cv_c_inline;;
17703 cat >>confdefs.h
<<_ACEOF
17704 #ifndef __cplusplus
17705 #define inline $ac_val
17712 echo "$as_me:$LINENO: checking for char" >&5
17713 echo $ECHO_N "checking for char... $ECHO_C" >&6
17714 if test "${ac_cv_type_char+set}" = set; then
17715 echo $ECHO_N "(cached) $ECHO_C" >&6
17717 cat >conftest.
$ac_ext <<_ACEOF
17720 cat confdefs.h
>>conftest.
$ac_ext
17721 cat >>conftest.
$ac_ext <<_ACEOF
17722 /* end confdefs.h. */
17723 $ac_includes_default
17735 rm -f conftest.
$ac_objext
17736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17737 (eval $ac_compile) 2>conftest.er1
17739 grep -v '^ *+' conftest.er1
>conftest.err
17741 cat conftest.err
>&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); } &&
17744 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
17750 { ac_try
='test -s conftest.$ac_objext'
17751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17752 (eval $ac_try) 2>&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); }; }; then
17756 ac_cv_type_char
=yes
17758 echo "$as_me: failed program was:" >&5
17759 sed 's/^/| /' conftest.
$ac_ext >&5
17763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17765 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17766 echo "${ECHO_T}$ac_cv_type_char" >&6
17768 echo "$as_me:$LINENO: checking size of char" >&5
17769 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17770 if test "${ac_cv_sizeof_char+set}" = set; then
17771 echo $ECHO_N "(cached) $ECHO_C" >&6
17773 if test "$ac_cv_type_char" = yes; then
17774 # The cast to unsigned long works around a bug in the HP C Compiler
17775 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17776 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17777 # This bug is HP SR number 8606223364.
17778 if test "$cross_compiling" = yes; then
17779 # Depending upon the size, compute the lo and hi bounds.
17780 cat >conftest.
$ac_ext <<_ACEOF
17783 cat confdefs.h
>>conftest.
$ac_ext
17784 cat >>conftest.
$ac_ext <<_ACEOF
17785 /* end confdefs.h. */
17786 $ac_includes_default
17790 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17797 rm -f conftest.
$ac_objext
17798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17799 (eval $ac_compile) 2>conftest.er1
17801 grep -v '^ *+' conftest.er1
>conftest.err
17803 cat conftest.err
>&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } &&
17806 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808 (eval $ac_try) 2>&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); }; } &&
17812 { ac_try
='test -s conftest.$ac_objext'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; }; then
17820 cat >conftest.
$ac_ext <<_ACEOF
17823 cat confdefs.h
>>conftest.
$ac_ext
17824 cat >>conftest.
$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17826 $ac_includes_default
17830 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17837 rm -f conftest.
$ac_objext
17838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17839 (eval $ac_compile) 2>conftest.er1
17841 grep -v '^ *+' conftest.er1
>conftest.err
17843 cat conftest.err
>&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } &&
17846 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; } &&
17852 { ac_try
='test -s conftest.$ac_objext'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; }; then
17858 ac_hi
=$ac_mid; break
17860 echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.
$ac_ext >&5
17863 ac_lo
=`expr $ac_mid + 1`
17864 if test $ac_lo -le $ac_mid; then
17868 ac_mid
=`expr 2 '*' $ac_mid + 1`
17870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17873 echo "$as_me: failed program was:" >&5
17874 sed 's/^/| /' conftest.
$ac_ext >&5
17876 cat >conftest.
$ac_ext <<_ACEOF
17879 cat confdefs.h
>>conftest.
$ac_ext
17880 cat >>conftest.
$ac_ext <<_ACEOF
17881 /* end confdefs.h. */
17882 $ac_includes_default
17886 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17893 rm -f conftest.
$ac_objext
17894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17895 (eval $ac_compile) 2>conftest.er1
17897 grep -v '^ *+' conftest.er1
>conftest.err
17899 cat conftest.err
>&5
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); } &&
17902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17904 (eval $ac_try) 2>&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); }; } &&
17908 { ac_try
='test -s conftest.$ac_objext'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; }; then
17916 cat >conftest.
$ac_ext <<_ACEOF
17919 cat confdefs.h
>>conftest.
$ac_ext
17920 cat >>conftest.
$ac_ext <<_ACEOF
17921 /* end confdefs.h. */
17922 $ac_includes_default
17926 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17933 rm -f conftest.
$ac_objext
17934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17935 (eval $ac_compile) 2>conftest.er1
17937 grep -v '^ *+' conftest.er1
>conftest.err
17939 cat conftest.err
>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } &&
17942 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 (eval $ac_try) 2>&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; } &&
17948 { ac_try
='test -s conftest.$ac_objext'
17949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17950 (eval $ac_try) 2>&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); }; }; then
17954 ac_lo
=$ac_mid; break
17956 echo "$as_me: failed program was:" >&5
17957 sed 's/^/| /' conftest.
$ac_ext >&5
17959 ac_hi
=`expr '(' $ac_mid ')' - 1`
17960 if test $ac_mid -le $ac_hi; then
17964 ac_mid
=`expr 2 '*' $ac_mid`
17966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17969 echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.
$ac_ext >&5
17974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17977 # Binary search between lo and hi bounds.
17978 while test "x$ac_lo" != "x$ac_hi"; do
17979 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17980 cat >conftest.
$ac_ext <<_ACEOF
17983 cat confdefs.h
>>conftest.
$ac_ext
17984 cat >>conftest.
$ac_ext <<_ACEOF
17985 /* end confdefs.h. */
17986 $ac_includes_default
17990 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17997 rm -f conftest.
$ac_objext
17998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17999 (eval $ac_compile) 2>conftest.er1
18001 grep -v '^ *+' conftest.er1
>conftest.err
18003 cat conftest.err
>&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } &&
18006 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008 (eval $ac_try) 2>&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; } &&
18012 { ac_try
='test -s conftest.$ac_objext'
18013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18014 (eval $ac_try) 2>&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); }; }; then
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.
$ac_ext >&5
18023 ac_lo
=`expr '(' $ac_mid ')' + 1`
18025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18028 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18029 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18030 See \`config.log' for more details." >&5
18031 echo "$as_me: error: cannot compute sizeof (char), 77
18032 See \`config.log' for more details." >&2;}
18033 { (exit 1); exit 1; }; } ;;
18036 if test "$cross_compiling" = yes; then
18037 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18038 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18039 { (exit 1); exit 1; }; }
18041 cat >conftest.
$ac_ext <<_ACEOF
18044 cat confdefs.h
>>conftest.
$ac_ext
18045 cat >>conftest.
$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 $ac_includes_default
18048 long longval () { return (long) (sizeof (char)); }
18049 unsigned long ulongval () { return (long) (sizeof (char)); }
18051 #include <stdlib.h>
18056 FILE *f = fopen ("conftest.val", "w");
18059 if (((long) (sizeof (char))) < 0)
18061 long i = longval ();
18062 if (i != ((long) (sizeof (char))))
18064 fprintf (f, "%ld\n", i);
18068 unsigned long i = ulongval ();
18069 if (i != ((long) (sizeof (char))))
18071 fprintf (f, "%lu\n", i);
18073 exit (ferror (f) || fclose (f) != 0);
18079 rm -f conftest
$ac_exeext
18080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18081 (eval $ac_link) 2>&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18086 (eval $ac_try) 2>&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }; }; then
18090 ac_cv_sizeof_char
=`cat conftest.val`
18092 echo "$as_me: program exited with status $ac_status" >&5
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.
$ac_ext >&5
18096 ( exit $ac_status )
18097 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18098 See \`config.log' for more details." >&5
18099 echo "$as_me: error: cannot compute sizeof (char), 77
18100 See \`config.log' for more details." >&2;}
18101 { (exit 1); exit 1; }; }
18103 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18108 ac_cv_sizeof_char
=0
18111 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18112 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18113 cat >>confdefs.h
<<_ACEOF
18114 #define SIZEOF_CHAR $ac_cv_sizeof_char
18118 echo "$as_me:$LINENO: checking for short" >&5
18119 echo $ECHO_N "checking for short... $ECHO_C" >&6
18120 if test "${ac_cv_type_short+set}" = set; then
18121 echo $ECHO_N "(cached) $ECHO_C" >&6
18123 cat >conftest.
$ac_ext <<_ACEOF
18126 cat confdefs.h
>>conftest.
$ac_ext
18127 cat >>conftest.
$ac_ext <<_ACEOF
18128 /* end confdefs.h. */
18129 $ac_includes_default
18135 if (sizeof (short))
18141 rm -f conftest.
$ac_objext
18142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18143 (eval $ac_compile) 2>conftest.er1
18145 grep -v '^ *+' conftest.er1
>conftest.err
18147 cat conftest.err
>&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } &&
18150 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18152 (eval $ac_try) 2>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); }; } &&
18156 { ac_try
='test -s conftest.$ac_objext'
18157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158 (eval $ac_try) 2>&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; }; then
18162 ac_cv_type_short
=yes
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.
$ac_ext >&5
18167 ac_cv_type_short
=no
18169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18171 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18172 echo "${ECHO_T}$ac_cv_type_short" >&6
18174 echo "$as_me:$LINENO: checking size of short" >&5
18175 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18176 if test "${ac_cv_sizeof_short+set}" = set; then
18177 echo $ECHO_N "(cached) $ECHO_C" >&6
18179 if test "$ac_cv_type_short" = yes; then
18180 # The cast to unsigned long works around a bug in the HP C Compiler
18181 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18182 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18183 # This bug is HP SR number 8606223364.
18184 if test "$cross_compiling" = yes; then
18185 # Depending upon the size, compute the lo and hi bounds.
18186 cat >conftest.
$ac_ext <<_ACEOF
18189 cat confdefs.h
>>conftest.
$ac_ext
18190 cat >>conftest.
$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18192 $ac_includes_default
18196 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18203 rm -f conftest.
$ac_objext
18204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18205 (eval $ac_compile) 2>conftest.er1
18207 grep -v '^ *+' conftest.er1
>conftest.err
18209 cat conftest.err
>&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); } &&
18212 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; } &&
18218 { ac_try
='test -s conftest.$ac_objext'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18226 cat >conftest.
$ac_ext <<_ACEOF
18229 cat confdefs.h
>>conftest.
$ac_ext
18230 cat >>conftest.
$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 $ac_includes_default
18236 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18243 rm -f conftest.
$ac_objext
18244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18245 (eval $ac_compile) 2>conftest.er1
18247 grep -v '^ *+' conftest.er1
>conftest.err
18249 cat conftest.err
>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } &&
18252 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; } &&
18258 { ac_try
='test -s conftest.$ac_objext'
18259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18260 (eval $ac_try) 2>&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); }; }; then
18264 ac_hi
=$ac_mid; break
18266 echo "$as_me: failed program was:" >&5
18267 sed 's/^/| /' conftest.
$ac_ext >&5
18269 ac_lo
=`expr $ac_mid + 1`
18270 if test $ac_lo -le $ac_mid; then
18274 ac_mid
=`expr 2 '*' $ac_mid + 1`
18276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18279 echo "$as_me: failed program was:" >&5
18280 sed 's/^/| /' conftest.
$ac_ext >&5
18282 cat >conftest.
$ac_ext <<_ACEOF
18285 cat confdefs.h
>>conftest.
$ac_ext
18286 cat >>conftest.
$ac_ext <<_ACEOF
18287 /* end confdefs.h. */
18288 $ac_includes_default
18292 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18299 rm -f conftest.
$ac_objext
18300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18301 (eval $ac_compile) 2>conftest.er1
18303 grep -v '^ *+' conftest.er1
>conftest.err
18305 cat conftest.err
>&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); } &&
18308 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310 (eval $ac_try) 2>&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); }; } &&
18314 { ac_try
='test -s conftest.$ac_objext'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; }; then
18322 cat >conftest.
$ac_ext <<_ACEOF
18325 cat confdefs.h
>>conftest.
$ac_ext
18326 cat >>conftest.
$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18328 $ac_includes_default
18332 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18339 rm -f conftest.
$ac_objext
18340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18341 (eval $ac_compile) 2>conftest.er1
18343 grep -v '^ *+' conftest.er1
>conftest.err
18345 cat conftest.err
>&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); } &&
18348 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18350 (eval $ac_try) 2>&5
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); }; } &&
18354 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18360 ac_lo
=$ac_mid; break
18362 echo "$as_me: failed program was:" >&5
18363 sed 's/^/| /' conftest.
$ac_ext >&5
18365 ac_hi
=`expr '(' $ac_mid ')' - 1`
18366 if test $ac_mid -le $ac_hi; then
18370 ac_mid
=`expr 2 '*' $ac_mid`
18372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.
$ac_ext >&5
18380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18383 # Binary search between lo and hi bounds.
18384 while test "x$ac_lo" != "x$ac_hi"; do
18385 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18386 cat >conftest.
$ac_ext <<_ACEOF
18389 cat confdefs.h
>>conftest.
$ac_ext
18390 cat >>conftest.
$ac_ext <<_ACEOF
18391 /* end confdefs.h. */
18392 $ac_includes_default
18396 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18403 rm -f conftest.
$ac_objext
18404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18405 (eval $ac_compile) 2>conftest.er1
18407 grep -v '^ *+' conftest.er1
>conftest.err
18409 cat conftest.err
>&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); } &&
18412 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; } &&
18418 { ac_try
='test -s conftest.$ac_objext'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; }; then
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.
$ac_ext >&5
18429 ac_lo
=`expr '(' $ac_mid ')' + 1`
18431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18434 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18435 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18436 See \`config.log' for more details." >&5
18437 echo "$as_me: error: cannot compute sizeof (short), 77
18438 See \`config.log' for more details." >&2;}
18439 { (exit 1); exit 1; }; } ;;
18442 if test "$cross_compiling" = yes; then
18443 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18444 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18445 { (exit 1); exit 1; }; }
18447 cat >conftest.
$ac_ext <<_ACEOF
18450 cat confdefs.h
>>conftest.
$ac_ext
18451 cat >>conftest.
$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 $ac_includes_default
18454 long longval () { return (long) (sizeof (short)); }
18455 unsigned long ulongval () { return (long) (sizeof (short)); }
18457 #include <stdlib.h>
18462 FILE *f = fopen ("conftest.val", "w");
18465 if (((long) (sizeof (short))) < 0)
18467 long i = longval ();
18468 if (i != ((long) (sizeof (short))))
18470 fprintf (f, "%ld\n", i);
18474 unsigned long i = ulongval ();
18475 if (i != ((long) (sizeof (short))))
18477 fprintf (f, "%lu\n", i);
18479 exit (ferror (f) || fclose (f) != 0);
18485 rm -f conftest
$ac_exeext
18486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18487 (eval $ac_link) 2>&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18492 (eval $ac_try) 2>&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); }; }; then
18496 ac_cv_sizeof_short
=`cat conftest.val`
18498 echo "$as_me: program exited with status $ac_status" >&5
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.
$ac_ext >&5
18502 ( exit $ac_status )
18503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18504 See \`config.log' for more details." >&5
18505 echo "$as_me: error: cannot compute sizeof (short), 77
18506 See \`config.log' for more details." >&2;}
18507 { (exit 1); exit 1; }; }
18509 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18514 ac_cv_sizeof_short
=0
18517 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18518 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18519 cat >>confdefs.h
<<_ACEOF
18520 #define SIZEOF_SHORT $ac_cv_sizeof_short
18524 echo "$as_me:$LINENO: checking for void *" >&5
18525 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18526 if test "${ac_cv_type_void_p+set}" = set; then
18527 echo $ECHO_N "(cached) $ECHO_C" >&6
18529 cat >conftest.
$ac_ext <<_ACEOF
18532 cat confdefs.h
>>conftest.
$ac_ext
18533 cat >>conftest.
$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535 $ac_includes_default
18541 if (sizeof (void *))
18547 rm -f conftest.
$ac_objext
18548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18549 (eval $ac_compile) 2>conftest.er1
18551 grep -v '^ *+' conftest.er1
>conftest.err
18553 cat conftest.err
>&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); } &&
18556 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18558 (eval $ac_try) 2>&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); }; } &&
18562 { ac_try
='test -s conftest.$ac_objext'
18563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18564 (eval $ac_try) 2>&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); }; }; then
18568 ac_cv_type_void_p
=yes
18570 echo "$as_me: failed program was:" >&5
18571 sed 's/^/| /' conftest.
$ac_ext >&5
18573 ac_cv_type_void_p
=no
18575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18577 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18578 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18580 echo "$as_me:$LINENO: checking size of void *" >&5
18581 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18582 if test "${ac_cv_sizeof_void_p+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 if test "$ac_cv_type_void_p" = yes; then
18586 # The cast to unsigned long works around a bug in the HP C Compiler
18587 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18588 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18589 # This bug is HP SR number 8606223364.
18590 if test "$cross_compiling" = yes; then
18591 # Depending upon the size, compute the lo and hi bounds.
18592 cat >conftest.
$ac_ext <<_ACEOF
18595 cat confdefs.h
>>conftest.
$ac_ext
18596 cat >>conftest.
$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598 $ac_includes_default
18602 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18609 rm -f conftest.
$ac_objext
18610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18611 (eval $ac_compile) 2>conftest.er1
18613 grep -v '^ *+' conftest.er1
>conftest.err
18615 cat conftest.err
>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } &&
18618 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; } &&
18624 { ac_try
='test -s conftest.$ac_objext'
18625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18626 (eval $ac_try) 2>&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); }; }; then
18632 cat >conftest.
$ac_ext <<_ACEOF
18635 cat confdefs.h
>>conftest.
$ac_ext
18636 cat >>conftest.
$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 $ac_includes_default
18642 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18649 rm -f conftest.
$ac_objext
18650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18651 (eval $ac_compile) 2>conftest.er1
18653 grep -v '^ *+' conftest.er1
>conftest.err
18655 cat conftest.err
>&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); } &&
18658 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18660 (eval $ac_try) 2>&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); }; } &&
18664 { ac_try
='test -s conftest.$ac_objext'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; }; then
18670 ac_hi
=$ac_mid; break
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.
$ac_ext >&5
18675 ac_lo
=`expr $ac_mid + 1`
18676 if test $ac_lo -le $ac_mid; then
18680 ac_mid
=`expr 2 '*' $ac_mid + 1`
18682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.
$ac_ext >&5
18688 cat >conftest.
$ac_ext <<_ACEOF
18691 cat confdefs.h
>>conftest.
$ac_ext
18692 cat >>conftest.
$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 $ac_includes_default
18698 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18705 rm -f conftest.
$ac_objext
18706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18707 (eval $ac_compile) 2>conftest.er1
18709 grep -v '^ *+' conftest.er1
>conftest.err
18711 cat conftest.err
>&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); } &&
18714 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18716 (eval $ac_try) 2>&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); }; } &&
18720 { ac_try
='test -s conftest.$ac_objext'
18721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18722 (eval $ac_try) 2>&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); }; }; then
18728 cat >conftest.
$ac_ext <<_ACEOF
18731 cat confdefs.h
>>conftest.
$ac_ext
18732 cat >>conftest.
$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734 $ac_includes_default
18738 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18745 rm -f conftest.
$ac_objext
18746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18747 (eval $ac_compile) 2>conftest.er1
18749 grep -v '^ *+' conftest.er1
>conftest.err
18751 cat conftest.err
>&5
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); } &&
18754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 (eval $ac_try) 2>&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); }; } &&
18760 { ac_try
='test -s conftest.$ac_objext'
18761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18762 (eval $ac_try) 2>&5
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); }; }; then
18766 ac_lo
=$ac_mid; break
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.
$ac_ext >&5
18771 ac_hi
=`expr '(' $ac_mid ')' - 1`
18772 if test $ac_mid -le $ac_hi; then
18776 ac_mid
=`expr 2 '*' $ac_mid`
18778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.
$ac_ext >&5
18786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18789 # Binary search between lo and hi bounds.
18790 while test "x$ac_lo" != "x$ac_hi"; do
18791 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18792 cat >conftest.
$ac_ext <<_ACEOF
18795 cat confdefs.h
>>conftest.
$ac_ext
18796 cat >>conftest.
$ac_ext <<_ACEOF
18797 /* end confdefs.h. */
18798 $ac_includes_default
18802 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18809 rm -f conftest.
$ac_objext
18810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18811 (eval $ac_compile) 2>conftest.er1
18813 grep -v '^ *+' conftest.er1
>conftest.err
18815 cat conftest.err
>&5
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); } &&
18818 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18820 (eval $ac_try) 2>&5
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); }; } &&
18824 { ac_try
='test -s conftest.$ac_objext'
18825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18826 (eval $ac_try) 2>&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); }; }; then
18832 echo "$as_me: failed program was:" >&5
18833 sed 's/^/| /' conftest.
$ac_ext >&5
18835 ac_lo
=`expr '(' $ac_mid ')' + 1`
18837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18840 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18841 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18842 See \`config.log' for more details." >&5
18843 echo "$as_me: error: cannot compute sizeof (void *), 77
18844 See \`config.log' for more details." >&2;}
18845 { (exit 1); exit 1; }; } ;;
18848 if test "$cross_compiling" = yes; then
18849 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18850 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18851 { (exit 1); exit 1; }; }
18853 cat >conftest.
$ac_ext <<_ACEOF
18856 cat confdefs.h
>>conftest.
$ac_ext
18857 cat >>conftest.
$ac_ext <<_ACEOF
18858 /* end confdefs.h. */
18859 $ac_includes_default
18860 long longval () { return (long) (sizeof (void *)); }
18861 unsigned long ulongval () { return (long) (sizeof (void *)); }
18863 #include <stdlib.h>
18868 FILE *f = fopen ("conftest.val", "w");
18871 if (((long) (sizeof (void *))) < 0)
18873 long i = longval ();
18874 if (i != ((long) (sizeof (void *))))
18876 fprintf (f, "%ld\n", i);
18880 unsigned long i = ulongval ();
18881 if (i != ((long) (sizeof (void *))))
18883 fprintf (f, "%lu\n", i);
18885 exit (ferror (f) || fclose (f) != 0);
18891 rm -f conftest
$ac_exeext
18892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18893 (eval $ac_link) 2>&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18898 (eval $ac_try) 2>&5
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); }; }; then
18902 ac_cv_sizeof_void_p
=`cat conftest.val`
18904 echo "$as_me: program exited with status $ac_status" >&5
18905 echo "$as_me: failed program was:" >&5
18906 sed 's/^/| /' conftest.
$ac_ext >&5
18908 ( exit $ac_status )
18909 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18910 See \`config.log' for more details." >&5
18911 echo "$as_me: error: cannot compute sizeof (void *), 77
18912 See \`config.log' for more details." >&2;}
18913 { (exit 1); exit 1; }; }
18915 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18920 ac_cv_sizeof_void_p
=0
18923 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18924 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18925 cat >>confdefs.h
<<_ACEOF
18926 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18930 echo "$as_me:$LINENO: checking for int" >&5
18931 echo $ECHO_N "checking for int... $ECHO_C" >&6
18932 if test "${ac_cv_type_int+set}" = set; then
18933 echo $ECHO_N "(cached) $ECHO_C" >&6
18935 cat >conftest.
$ac_ext <<_ACEOF
18938 cat confdefs.h
>>conftest.
$ac_ext
18939 cat >>conftest.
$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 $ac_includes_default
18953 rm -f conftest.
$ac_objext
18954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18955 (eval $ac_compile) 2>conftest.er1
18957 grep -v '^ *+' conftest.er1
>conftest.err
18959 cat conftest.err
>&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); } &&
18962 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18964 (eval $ac_try) 2>&5
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); }; } &&
18968 { ac_try
='test -s conftest.$ac_objext'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; }; then
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.
$ac_ext >&5
18981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18983 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18984 echo "${ECHO_T}$ac_cv_type_int" >&6
18986 echo "$as_me:$LINENO: checking size of int" >&5
18987 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18988 if test "${ac_cv_sizeof_int+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 if test "$ac_cv_type_int" = yes; then
18992 # The cast to unsigned long works around a bug in the HP C Compiler
18993 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18994 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18995 # This bug is HP SR number 8606223364.
18996 if test "$cross_compiling" = yes; then
18997 # Depending upon the size, compute the lo and hi bounds.
18998 cat >conftest.
$ac_ext <<_ACEOF
19001 cat confdefs.h
>>conftest.
$ac_ext
19002 cat >>conftest.
$ac_ext <<_ACEOF
19003 /* end confdefs.h. */
19004 $ac_includes_default
19008 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19015 rm -f conftest.
$ac_objext
19016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19017 (eval $ac_compile) 2>conftest.er1
19019 grep -v '^ *+' conftest.er1
>conftest.err
19021 cat conftest.err
>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); } &&
19024 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026 (eval $ac_try) 2>&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); }; } &&
19030 { ac_try
='test -s conftest.$ac_objext'
19031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032 (eval $ac_try) 2>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; }; then
19038 cat >conftest.
$ac_ext <<_ACEOF
19041 cat confdefs.h
>>conftest.
$ac_ext
19042 cat >>conftest.
$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044 $ac_includes_default
19048 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19055 rm -f conftest.
$ac_objext
19056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19057 (eval $ac_compile) 2>conftest.er1
19059 grep -v '^ *+' conftest.er1
>conftest.err
19061 cat conftest.err
>&5
19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); } &&
19064 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19066 (eval $ac_try) 2>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; } &&
19070 { ac_try
='test -s conftest.$ac_objext'
19071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19072 (eval $ac_try) 2>&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); }; }; then
19076 ac_hi
=$ac_mid; break
19078 echo "$as_me: failed program was:" >&5
19079 sed 's/^/| /' conftest.
$ac_ext >&5
19081 ac_lo
=`expr $ac_mid + 1`
19082 if test $ac_lo -le $ac_mid; then
19086 ac_mid
=`expr 2 '*' $ac_mid + 1`
19088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.
$ac_ext >&5
19094 cat >conftest.
$ac_ext <<_ACEOF
19097 cat confdefs.h
>>conftest.
$ac_ext
19098 cat >>conftest.
$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 $ac_includes_default
19104 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19111 rm -f conftest.
$ac_objext
19112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19113 (eval $ac_compile) 2>conftest.er1
19115 grep -v '^ *+' conftest.er1
>conftest.err
19117 cat conftest.err
>&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } &&
19120 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19122 (eval $ac_try) 2>&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); }; } &&
19126 { ac_try
='test -s conftest.$ac_objext'
19127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128 (eval $ac_try) 2>&5
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); }; }; then
19134 cat >conftest.
$ac_ext <<_ACEOF
19137 cat confdefs.h
>>conftest.
$ac_ext
19138 cat >>conftest.
$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 $ac_includes_default
19144 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19151 rm -f conftest.
$ac_objext
19152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19153 (eval $ac_compile) 2>conftest.er1
19155 grep -v '^ *+' conftest.er1
>conftest.err
19157 cat conftest.err
>&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); } &&
19160 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19162 (eval $ac_try) 2>&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); }; } &&
19166 { ac_try
='test -s conftest.$ac_objext'
19167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19168 (eval $ac_try) 2>&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); }; }; then
19172 ac_lo
=$ac_mid; break
19174 echo "$as_me: failed program was:" >&5
19175 sed 's/^/| /' conftest.
$ac_ext >&5
19177 ac_hi
=`expr '(' $ac_mid ')' - 1`
19178 if test $ac_mid -le $ac_hi; then
19182 ac_mid
=`expr 2 '*' $ac_mid`
19184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19187 echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.
$ac_ext >&5
19192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19195 # Binary search between lo and hi bounds.
19196 while test "x$ac_lo" != "x$ac_hi"; do
19197 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19198 cat >conftest.
$ac_ext <<_ACEOF
19201 cat confdefs.h
>>conftest.
$ac_ext
19202 cat >>conftest.
$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19204 $ac_includes_default
19208 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19215 rm -f conftest.
$ac_objext
19216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19217 (eval $ac_compile) 2>conftest.er1
19219 grep -v '^ *+' conftest.er1
>conftest.err
19221 cat conftest.err
>&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } &&
19224 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; } &&
19230 { ac_try
='test -s conftest.$ac_objext'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; }; then
19238 echo "$as_me: failed program was:" >&5
19239 sed 's/^/| /' conftest.
$ac_ext >&5
19241 ac_lo
=`expr '(' $ac_mid ')' + 1`
19243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19246 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19247 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19248 See \`config.log' for more details." >&5
19249 echo "$as_me: error: cannot compute sizeof (int), 77
19250 See \`config.log' for more details." >&2;}
19251 { (exit 1); exit 1; }; } ;;
19254 if test "$cross_compiling" = yes; then
19255 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19256 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19257 { (exit 1); exit 1; }; }
19259 cat >conftest.
$ac_ext <<_ACEOF
19262 cat confdefs.h
>>conftest.
$ac_ext
19263 cat >>conftest.
$ac_ext <<_ACEOF
19264 /* end confdefs.h. */
19265 $ac_includes_default
19266 long longval () { return (long) (sizeof (int)); }
19267 unsigned long ulongval () { return (long) (sizeof (int)); }
19269 #include <stdlib.h>
19274 FILE *f = fopen ("conftest.val", "w");
19277 if (((long) (sizeof (int))) < 0)
19279 long i = longval ();
19280 if (i != ((long) (sizeof (int))))
19282 fprintf (f, "%ld\n", i);
19286 unsigned long i = ulongval ();
19287 if (i != ((long) (sizeof (int))))
19289 fprintf (f, "%lu\n", i);
19291 exit (ferror (f) || fclose (f) != 0);
19297 rm -f conftest
$ac_exeext
19298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19299 (eval $ac_link) 2>&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304 (eval $ac_try) 2>&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); }; }; then
19308 ac_cv_sizeof_int
=`cat conftest.val`
19310 echo "$as_me: program exited with status $ac_status" >&5
19311 echo "$as_me: failed program was:" >&5
19312 sed 's/^/| /' conftest.
$ac_ext >&5
19314 ( exit $ac_status )
19315 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19316 See \`config.log' for more details." >&5
19317 echo "$as_me: error: cannot compute sizeof (int), 77
19318 See \`config.log' for more details." >&2;}
19319 { (exit 1); exit 1; }; }
19321 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19329 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19330 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19331 cat >>confdefs.h
<<_ACEOF
19332 #define SIZEOF_INT $ac_cv_sizeof_int
19336 echo "$as_me:$LINENO: checking for long" >&5
19337 echo $ECHO_N "checking for long... $ECHO_C" >&6
19338 if test "${ac_cv_type_long+set}" = set; then
19339 echo $ECHO_N "(cached) $ECHO_C" >&6
19341 cat >conftest.
$ac_ext <<_ACEOF
19344 cat confdefs.h
>>conftest.
$ac_ext
19345 cat >>conftest.
$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 $ac_includes_default
19359 rm -f conftest.
$ac_objext
19360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19361 (eval $ac_compile) 2>conftest.er1
19363 grep -v '^ *+' conftest.er1
>conftest.err
19365 cat conftest.err
>&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); } &&
19368 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19370 (eval $ac_try) 2>&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); }; } &&
19374 { ac_try
='test -s conftest.$ac_objext'
19375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19376 (eval $ac_try) 2>&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); }; }; then
19380 ac_cv_type_long
=yes
19382 echo "$as_me: failed program was:" >&5
19383 sed 's/^/| /' conftest.
$ac_ext >&5
19387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19389 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19390 echo "${ECHO_T}$ac_cv_type_long" >&6
19392 echo "$as_me:$LINENO: checking size of long" >&5
19393 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19394 if test "${ac_cv_sizeof_long+set}" = set; then
19395 echo $ECHO_N "(cached) $ECHO_C" >&6
19397 if test "$ac_cv_type_long" = yes; then
19398 # The cast to unsigned long works around a bug in the HP C Compiler
19399 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19400 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19401 # This bug is HP SR number 8606223364.
19402 if test "$cross_compiling" = yes; then
19403 # Depending upon the size, compute the lo and hi bounds.
19404 cat >conftest.
$ac_ext <<_ACEOF
19407 cat confdefs.h
>>conftest.
$ac_ext
19408 cat >>conftest.
$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19410 $ac_includes_default
19414 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19421 rm -f conftest.
$ac_objext
19422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19423 (eval $ac_compile) 2>conftest.er1
19425 grep -v '^ *+' conftest.er1
>conftest.err
19427 cat conftest.err
>&5
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); } &&
19430 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19432 (eval $ac_try) 2>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); }; } &&
19436 { ac_try
='test -s conftest.$ac_objext'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; }; then
19444 cat >conftest.
$ac_ext <<_ACEOF
19447 cat confdefs.h
>>conftest.
$ac_ext
19448 cat >>conftest.
$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19450 $ac_includes_default
19454 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19461 rm -f conftest.
$ac_objext
19462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19463 (eval $ac_compile) 2>conftest.er1
19465 grep -v '^ *+' conftest.er1
>conftest.err
19467 cat conftest.err
>&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try
='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_hi
=$ac_mid; break
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 ac_lo
=`expr $ac_mid + 1`
19488 if test $ac_lo -le $ac_mid; then
19492 ac_mid
=`expr 2 '*' $ac_mid + 1`
19494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19497 echo "$as_me: failed program was:" >&5
19498 sed 's/^/| /' conftest.
$ac_ext >&5
19500 cat >conftest.
$ac_ext <<_ACEOF
19503 cat confdefs.h
>>conftest.
$ac_ext
19504 cat >>conftest.
$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 $ac_includes_default
19510 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19517 rm -f conftest.
$ac_objext
19518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19519 (eval $ac_compile) 2>conftest.er1
19521 grep -v '^ *+' conftest.er1
>conftest.err
19523 cat conftest.err
>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; } &&
19532 { ac_try
='test -s conftest.$ac_objext'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; }; then
19540 cat >conftest.
$ac_ext <<_ACEOF
19543 cat confdefs.h
>>conftest.
$ac_ext
19544 cat >>conftest.
$ac_ext <<_ACEOF
19545 /* end confdefs.h. */
19546 $ac_includes_default
19550 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19557 rm -f conftest.
$ac_objext
19558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19559 (eval $ac_compile) 2>conftest.er1
19561 grep -v '^ *+' conftest.er1
>conftest.err
19563 cat conftest.err
>&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); } &&
19566 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19568 (eval $ac_try) 2>&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; } &&
19572 { ac_try
='test -s conftest.$ac_objext'
19573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574 (eval $ac_try) 2>&5
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); }; }; then
19578 ac_lo
=$ac_mid; break
19580 echo "$as_me: failed program was:" >&5
19581 sed 's/^/| /' conftest.
$ac_ext >&5
19583 ac_hi
=`expr '(' $ac_mid ')' - 1`
19584 if test $ac_mid -le $ac_hi; then
19588 ac_mid
=`expr 2 '*' $ac_mid`
19590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19593 echo "$as_me: failed program was:" >&5
19594 sed 's/^/| /' conftest.
$ac_ext >&5
19598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19601 # Binary search between lo and hi bounds.
19602 while test "x$ac_lo" != "x$ac_hi"; do
19603 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19604 cat >conftest.
$ac_ext <<_ACEOF
19607 cat confdefs.h
>>conftest.
$ac_ext
19608 cat >>conftest.
$ac_ext <<_ACEOF
19609 /* end confdefs.h. */
19610 $ac_includes_default
19614 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19621 rm -f conftest.
$ac_objext
19622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19623 (eval $ac_compile) 2>conftest.er1
19625 grep -v '^ *+' conftest.er1
>conftest.err
19627 cat conftest.err
>&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } &&
19630 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19632 (eval $ac_try) 2>&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; } &&
19636 { ac_try
='test -s conftest.$ac_objext'
19637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19638 (eval $ac_try) 2>&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); }; }; then
19644 echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.
$ac_ext >&5
19647 ac_lo
=`expr '(' $ac_mid ')' + 1`
19649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19652 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19653 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19654 See \`config.log' for more details." >&5
19655 echo "$as_me: error: cannot compute sizeof (long), 77
19656 See \`config.log' for more details." >&2;}
19657 { (exit 1); exit 1; }; } ;;
19660 if test "$cross_compiling" = yes; then
19661 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19662 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19663 { (exit 1); exit 1; }; }
19665 cat >conftest.
$ac_ext <<_ACEOF
19668 cat confdefs.h
>>conftest.
$ac_ext
19669 cat >>conftest.
$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671 $ac_includes_default
19672 long longval () { return (long) (sizeof (long)); }
19673 unsigned long ulongval () { return (long) (sizeof (long)); }
19675 #include <stdlib.h>
19680 FILE *f = fopen ("conftest.val", "w");
19683 if (((long) (sizeof (long))) < 0)
19685 long i = longval ();
19686 if (i != ((long) (sizeof (long))))
19688 fprintf (f, "%ld\n", i);
19692 unsigned long i = ulongval ();
19693 if (i != ((long) (sizeof (long))))
19695 fprintf (f, "%lu\n", i);
19697 exit (ferror (f) || fclose (f) != 0);
19703 rm -f conftest
$ac_exeext
19704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19705 (eval $ac_link) 2>&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710 (eval $ac_try) 2>&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; }; then
19714 ac_cv_sizeof_long
=`cat conftest.val`
19716 echo "$as_me: program exited with status $ac_status" >&5
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.
$ac_ext >&5
19720 ( exit $ac_status )
19721 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19722 See \`config.log' for more details." >&5
19723 echo "$as_me: error: cannot compute sizeof (long), 77
19724 See \`config.log' for more details." >&2;}
19725 { (exit 1); exit 1; }; }
19727 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19732 ac_cv_sizeof_long
=0
19735 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19736 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19737 cat >>confdefs.h
<<_ACEOF
19738 #define SIZEOF_LONG $ac_cv_sizeof_long
19742 echo "$as_me:$LINENO: checking for size_t" >&5
19743 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19744 if test "${ac_cv_type_size_t+set}" = set; then
19745 echo $ECHO_N "(cached) $ECHO_C" >&6
19747 cat >conftest.
$ac_ext <<_ACEOF
19750 cat confdefs.h
>>conftest.
$ac_ext
19751 cat >>conftest.
$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19753 $ac_includes_default
19759 if (sizeof (size_t))
19765 rm -f conftest.
$ac_objext
19766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19767 (eval $ac_compile) 2>conftest.er1
19769 grep -v '^ *+' conftest.er1
>conftest.err
19771 cat conftest.err
>&5
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); } &&
19774 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19776 (eval $ac_try) 2>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); }; } &&
19780 { ac_try
='test -s conftest.$ac_objext'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_cv_type_size_t
=yes
19788 echo "$as_me: failed program was:" >&5
19789 sed 's/^/| /' conftest.
$ac_ext >&5
19791 ac_cv_type_size_t
=no
19793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19795 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19796 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19798 echo "$as_me:$LINENO: checking size of size_t" >&5
19799 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19800 if test "${ac_cv_sizeof_size_t+set}" = set; then
19801 echo $ECHO_N "(cached) $ECHO_C" >&6
19803 if test "$ac_cv_type_size_t" = yes; then
19804 # The cast to unsigned long works around a bug in the HP C Compiler
19805 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19806 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19807 # This bug is HP SR number 8606223364.
19808 if test "$cross_compiling" = yes; then
19809 # Depending upon the size, compute the lo and hi bounds.
19810 cat >conftest.
$ac_ext <<_ACEOF
19813 cat confdefs.h
>>conftest.
$ac_ext
19814 cat >>conftest.
$ac_ext <<_ACEOF
19815 /* end confdefs.h. */
19816 $ac_includes_default
19820 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19827 rm -f conftest.
$ac_objext
19828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19829 (eval $ac_compile) 2>conftest.er1
19831 grep -v '^ *+' conftest.er1
>conftest.err
19833 cat conftest.err
>&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); } &&
19836 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19838 (eval $ac_try) 2>&5
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); }; } &&
19842 { ac_try
='test -s conftest.$ac_objext'
19843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19844 (eval $ac_try) 2>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; }; then
19850 cat >conftest.
$ac_ext <<_ACEOF
19853 cat confdefs.h
>>conftest.
$ac_ext
19854 cat >>conftest.
$ac_ext <<_ACEOF
19855 /* end confdefs.h. */
19856 $ac_includes_default
19860 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19867 rm -f conftest.
$ac_objext
19868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19869 (eval $ac_compile) 2>conftest.er1
19871 grep -v '^ *+' conftest.er1
>conftest.err
19873 cat conftest.err
>&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } &&
19876 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; } &&
19882 { ac_try
='test -s conftest.$ac_objext'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 ac_hi
=$ac_mid; break
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.
$ac_ext >&5
19893 ac_lo
=`expr $ac_mid + 1`
19894 if test $ac_lo -le $ac_mid; then
19898 ac_mid
=`expr 2 '*' $ac_mid + 1`
19900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.
$ac_ext >&5
19906 cat >conftest.
$ac_ext <<_ACEOF
19909 cat confdefs.h
>>conftest.
$ac_ext
19910 cat >>conftest.
$ac_ext <<_ACEOF
19911 /* end confdefs.h. */
19912 $ac_includes_default
19916 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19923 rm -f conftest.
$ac_objext
19924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19925 (eval $ac_compile) 2>conftest.er1
19927 grep -v '^ *+' conftest.er1
>conftest.err
19929 cat conftest.err
>&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); } &&
19932 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19934 (eval $ac_try) 2>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); }; } &&
19938 { ac_try
='test -s conftest.$ac_objext'
19939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940 (eval $ac_try) 2>&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; }; then
19946 cat >conftest.
$ac_ext <<_ACEOF
19949 cat confdefs.h
>>conftest.
$ac_ext
19950 cat >>conftest.
$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19952 $ac_includes_default
19956 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19963 rm -f conftest.
$ac_objext
19964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19965 (eval $ac_compile) 2>conftest.er1
19967 grep -v '^ *+' conftest.er1
>conftest.err
19969 cat conftest.err
>&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); } &&
19972 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
19984 ac_lo
=$ac_mid; break
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.
$ac_ext >&5
19989 ac_hi
=`expr '(' $ac_mid ')' - 1`
19990 if test $ac_mid -le $ac_hi; then
19994 ac_mid
=`expr 2 '*' $ac_mid`
19996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.
$ac_ext >&5
20004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20007 # Binary search between lo and hi bounds.
20008 while test "x$ac_lo" != "x$ac_hi"; do
20009 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20010 cat >conftest.
$ac_ext <<_ACEOF
20013 cat confdefs.h
>>conftest.
$ac_ext
20014 cat >>conftest.
$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 $ac_includes_default
20020 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20027 rm -f conftest.
$ac_objext
20028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20029 (eval $ac_compile) 2>conftest.er1
20031 grep -v '^ *+' conftest.er1
>conftest.err
20033 cat conftest.err
>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } &&
20036 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038 (eval $ac_try) 2>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); }; } &&
20042 { ac_try
='test -s conftest.$ac_objext'
20043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20044 (eval $ac_try) 2>&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); }; }; then
20050 echo "$as_me: failed program was:" >&5
20051 sed 's/^/| /' conftest.
$ac_ext >&5
20053 ac_lo
=`expr '(' $ac_mid ')' + 1`
20055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20058 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20059 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20060 See \`config.log' for more details." >&5
20061 echo "$as_me: error: cannot compute sizeof (size_t), 77
20062 See \`config.log' for more details." >&2;}
20063 { (exit 1); exit 1; }; } ;;
20066 if test "$cross_compiling" = yes; then
20067 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20068 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20069 { (exit 1); exit 1; }; }
20071 cat >conftest.
$ac_ext <<_ACEOF
20074 cat confdefs.h
>>conftest.
$ac_ext
20075 cat >>conftest.
$ac_ext <<_ACEOF
20076 /* end confdefs.h. */
20077 $ac_includes_default
20078 long longval () { return (long) (sizeof (size_t)); }
20079 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20081 #include <stdlib.h>
20086 FILE *f = fopen ("conftest.val", "w");
20089 if (((long) (sizeof (size_t))) < 0)
20091 long i = longval ();
20092 if (i != ((long) (sizeof (size_t))))
20094 fprintf (f, "%ld\n", i);
20098 unsigned long i = ulongval ();
20099 if (i != ((long) (sizeof (size_t))))
20101 fprintf (f, "%lu\n", i);
20103 exit (ferror (f) || fclose (f) != 0);
20109 rm -f conftest
$ac_exeext
20110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20111 (eval $ac_link) 2>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20116 (eval $ac_try) 2>&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); }; }; then
20120 ac_cv_sizeof_size_t
=`cat conftest.val`
20122 echo "$as_me: program exited with status $ac_status" >&5
20123 echo "$as_me: failed program was:" >&5
20124 sed 's/^/| /' conftest.
$ac_ext >&5
20126 ( exit $ac_status )
20127 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20128 See \`config.log' for more details." >&5
20129 echo "$as_me: error: cannot compute sizeof (size_t), 77
20130 See \`config.log' for more details." >&2;}
20131 { (exit 1); exit 1; }; }
20133 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20138 ac_cv_sizeof_size_t
=0
20141 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20142 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20143 cat >>confdefs.h
<<_ACEOF
20144 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20151 echo "$as_me:$LINENO: checking for long long" >&5
20152 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20153 if test "${ac_cv_type_long_long+set}" = set; then
20154 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 cat >conftest.
$ac_ext <<_ACEOF
20159 cat confdefs.h
>>conftest.
$ac_ext
20160 cat >>conftest.
$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20162 $ac_includes_default
20166 if ((long long *) 0)
20168 if (sizeof (long long))
20174 rm -f conftest.
$ac_objext
20175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20176 (eval $ac_compile) 2>conftest.er1
20178 grep -v '^ *+' conftest.er1
>conftest.err
20180 cat conftest.err
>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); } &&
20183 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; } &&
20189 { ac_try
='test -s conftest.$ac_objext'
20190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20191 (eval $ac_try) 2>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); }; }; then
20195 ac_cv_type_long_long
=yes
20197 echo "$as_me: failed program was:" >&5
20198 sed 's/^/| /' conftest.
$ac_ext >&5
20200 ac_cv_type_long_long
=no
20202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20204 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20205 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20207 echo "$as_me:$LINENO: checking size of long long" >&5
20208 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20209 if test "${ac_cv_sizeof_long_long+set}" = set; then
20210 echo $ECHO_N "(cached) $ECHO_C" >&6
20212 if test "$ac_cv_type_long_long" = yes; then
20213 # The cast to unsigned long works around a bug in the HP C Compiler
20214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20216 # This bug is HP SR number 8606223364.
20217 if test "$cross_compiling" = yes; then
20218 # Depending upon the size, compute the lo and hi bounds.
20219 cat >conftest.
$ac_ext <<_ACEOF
20222 cat confdefs.h
>>conftest.
$ac_ext
20223 cat >>conftest.
$ac_ext <<_ACEOF
20224 /* end confdefs.h. */
20225 $ac_includes_default
20229 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20236 rm -f conftest.
$ac_objext
20237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20238 (eval $ac_compile) 2>conftest.er1
20240 grep -v '^ *+' conftest.er1
>conftest.err
20242 cat conftest.err
>&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); } &&
20245 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20247 (eval $ac_try) 2>&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; } &&
20251 { ac_try
='test -s conftest.$ac_objext'
20252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20253 (eval $ac_try) 2>&5
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); }; }; then
20259 cat >conftest.
$ac_ext <<_ACEOF
20262 cat confdefs.h
>>conftest.
$ac_ext
20263 cat >>conftest.
$ac_ext <<_ACEOF
20264 /* end confdefs.h. */
20265 $ac_includes_default
20269 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20276 rm -f conftest.
$ac_objext
20277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20278 (eval $ac_compile) 2>conftest.er1
20280 grep -v '^ *+' conftest.er1
>conftest.err
20282 cat conftest.err
>&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); } &&
20285 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20287 (eval $ac_try) 2>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); }; } &&
20291 { ac_try
='test -s conftest.$ac_objext'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; }; then
20297 ac_hi
=$ac_mid; break
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.
$ac_ext >&5
20302 ac_lo
=`expr $ac_mid + 1`
20303 if test $ac_lo -le $ac_mid; then
20307 ac_mid
=`expr 2 '*' $ac_mid + 1`
20309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.
$ac_ext >&5
20315 cat >conftest.
$ac_ext <<_ACEOF
20318 cat confdefs.h
>>conftest.
$ac_ext
20319 cat >>conftest.
$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 $ac_includes_default
20325 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20332 rm -f conftest.
$ac_objext
20333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20334 (eval $ac_compile) 2>conftest.er1
20336 grep -v '^ *+' conftest.er1
>conftest.err
20338 cat conftest.err
>&5
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); } &&
20341 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; } &&
20347 { ac_try
='test -s conftest.$ac_objext'
20348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20349 (eval $ac_try) 2>&5
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); }; }; then
20355 cat >conftest.
$ac_ext <<_ACEOF
20358 cat confdefs.h
>>conftest.
$ac_ext
20359 cat >>conftest.
$ac_ext <<_ACEOF
20360 /* end confdefs.h. */
20361 $ac_includes_default
20365 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20372 rm -f conftest.
$ac_objext
20373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20374 (eval $ac_compile) 2>conftest.er1
20376 grep -v '^ *+' conftest.er1
>conftest.err
20378 cat conftest.err
>&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } &&
20381 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20383 (eval $ac_try) 2>&5
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); }; } &&
20387 { ac_try
='test -s conftest.$ac_objext'
20388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20389 (eval $ac_try) 2>&5
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); }; }; then
20393 ac_lo
=$ac_mid; break
20395 echo "$as_me: failed program was:" >&5
20396 sed 's/^/| /' conftest.
$ac_ext >&5
20398 ac_hi
=`expr '(' $ac_mid ')' - 1`
20399 if test $ac_mid -le $ac_hi; then
20403 ac_mid
=`expr 2 '*' $ac_mid`
20405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20408 echo "$as_me: failed program was:" >&5
20409 sed 's/^/| /' conftest.
$ac_ext >&5
20413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20416 # Binary search between lo and hi bounds.
20417 while test "x$ac_lo" != "x$ac_hi"; do
20418 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20419 cat >conftest.
$ac_ext <<_ACEOF
20422 cat confdefs.h
>>conftest.
$ac_ext
20423 cat >>conftest.
$ac_ext <<_ACEOF
20424 /* end confdefs.h. */
20425 $ac_includes_default
20429 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20436 rm -f conftest.
$ac_objext
20437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20438 (eval $ac_compile) 2>conftest.er1
20440 grep -v '^ *+' conftest.er1
>conftest.err
20442 cat conftest.err
>&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } &&
20445 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20447 (eval $ac_try) 2>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); }; } &&
20451 { ac_try
='test -s conftest.$ac_objext'
20452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453 (eval $ac_try) 2>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; }; then
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.
$ac_ext >&5
20462 ac_lo
=`expr '(' $ac_mid ')' + 1`
20464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20467 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20468 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20469 See \`config.log' for more details." >&5
20470 echo "$as_me: error: cannot compute sizeof (long long), 77
20471 See \`config.log' for more details." >&2;}
20472 { (exit 1); exit 1; }; } ;;
20475 if test "$cross_compiling" = yes; then
20476 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20477 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20478 { (exit 1); exit 1; }; }
20480 cat >conftest.
$ac_ext <<_ACEOF
20483 cat confdefs.h
>>conftest.
$ac_ext
20484 cat >>conftest.
$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 $ac_includes_default
20487 long longval () { return (long) (sizeof (long long)); }
20488 unsigned long ulongval () { return (long) (sizeof (long long)); }
20490 #include <stdlib.h>
20495 FILE *f = fopen ("conftest.val", "w");
20498 if (((long) (sizeof (long long))) < 0)
20500 long i = longval ();
20501 if (i != ((long) (sizeof (long long))))
20503 fprintf (f, "%ld\n", i);
20507 unsigned long i = ulongval ();
20508 if (i != ((long) (sizeof (long long))))
20510 fprintf (f, "%lu\n", i);
20512 exit (ferror (f) || fclose (f) != 0);
20518 rm -f conftest
$ac_exeext
20519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20520 (eval $ac_link) 2>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20525 (eval $ac_try) 2>&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); }; }; then
20529 ac_cv_sizeof_long_long
=`cat conftest.val`
20531 echo "$as_me: program exited with status $ac_status" >&5
20532 echo "$as_me: failed program was:" >&5
20533 sed 's/^/| /' conftest.
$ac_ext >&5
20535 ( exit $ac_status )
20536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20537 See \`config.log' for more details." >&5
20538 echo "$as_me: error: cannot compute sizeof (long long), 77
20539 See \`config.log' for more details." >&2;}
20540 { (exit 1); exit 1; }; }
20542 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20547 ac_cv_sizeof_long_long
=0
20550 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20551 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20552 cat >>confdefs.h
<<_ACEOF
20553 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20559 echo "$as_me:$LINENO: checking for long long" >&5
20560 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20561 if test "${ac_cv_type_long_long+set}" = set; then
20562 echo $ECHO_N "(cached) $ECHO_C" >&6
20564 cat >conftest.
$ac_ext <<_ACEOF
20567 cat confdefs.h
>>conftest.
$ac_ext
20568 cat >>conftest.
$ac_ext <<_ACEOF
20569 /* end confdefs.h. */
20570 $ac_includes_default
20574 if ((long long *) 0)
20576 if (sizeof (long long))
20582 rm -f conftest.
$ac_objext
20583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20584 (eval $ac_compile) 2>conftest.er1
20586 grep -v '^ *+' conftest.er1
>conftest.err
20588 cat conftest.err
>&5
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); } &&
20591 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20593 (eval $ac_try) 2>&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); }; } &&
20597 { ac_try
='test -s conftest.$ac_objext'
20598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20599 (eval $ac_try) 2>&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); }; }; then
20603 ac_cv_type_long_long
=yes
20605 echo "$as_me: failed program was:" >&5
20606 sed 's/^/| /' conftest.
$ac_ext >&5
20608 ac_cv_type_long_long
=no
20610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20612 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20613 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20615 echo "$as_me:$LINENO: checking size of long long" >&5
20616 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20617 if test "${ac_cv_sizeof_long_long+set}" = set; then
20618 echo $ECHO_N "(cached) $ECHO_C" >&6
20620 if test "$ac_cv_type_long_long" = yes; then
20621 # The cast to unsigned long works around a bug in the HP C Compiler
20622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20624 # This bug is HP SR number 8606223364.
20625 if test "$cross_compiling" = yes; then
20626 # Depending upon the size, compute the lo and hi bounds.
20627 cat >conftest.
$ac_ext <<_ACEOF
20630 cat confdefs.h
>>conftest.
$ac_ext
20631 cat >>conftest.
$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20633 $ac_includes_default
20637 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20644 rm -f conftest.
$ac_objext
20645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20646 (eval $ac_compile) 2>conftest.er1
20648 grep -v '^ *+' conftest.er1
>conftest.err
20650 cat conftest.err
>&5
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); } &&
20653 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20655 (eval $ac_try) 2>&5
20657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20658 (exit $ac_status); }; } &&
20659 { ac_try
='test -s conftest.$ac_objext'
20660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20661 (eval $ac_try) 2>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); }; }; then
20667 cat >conftest.
$ac_ext <<_ACEOF
20670 cat confdefs.h
>>conftest.
$ac_ext
20671 cat >>conftest.
$ac_ext <<_ACEOF
20672 /* end confdefs.h. */
20673 $ac_includes_default
20677 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20684 rm -f conftest.
$ac_objext
20685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20686 (eval $ac_compile) 2>conftest.er1
20688 grep -v '^ *+' conftest.er1
>conftest.err
20690 cat conftest.err
>&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); } &&
20693 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20695 (eval $ac_try) 2>&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); }; } &&
20699 { ac_try
='test -s conftest.$ac_objext'
20700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701 (eval $ac_try) 2>&5
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); }; }; then
20705 ac_hi
=$ac_mid; break
20707 echo "$as_me: failed program was:" >&5
20708 sed 's/^/| /' conftest.
$ac_ext >&5
20710 ac_lo
=`expr $ac_mid + 1`
20711 if test $ac_lo -le $ac_mid; then
20715 ac_mid
=`expr 2 '*' $ac_mid + 1`
20717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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" || test ! -s conftest.err'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; } &&
20755 { ac_try
='test -s conftest.$ac_objext'
20756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; }; then
20763 cat >conftest.
$ac_ext <<_ACEOF
20766 cat confdefs.h
>>conftest.
$ac_ext
20767 cat >>conftest.
$ac_ext <<_ACEOF
20768 /* end confdefs.h. */
20769 $ac_includes_default
20773 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20780 rm -f conftest.
$ac_objext
20781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20782 (eval $ac_compile) 2>conftest.er1
20784 grep -v '^ *+' conftest.er1
>conftest.err
20786 cat conftest.err
>&5
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); } &&
20789 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20791 (eval $ac_try) 2>&5
20793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20794 (exit $ac_status); }; } &&
20795 { ac_try
='test -s conftest.$ac_objext'
20796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20797 (eval $ac_try) 2>&5
20799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20800 (exit $ac_status); }; }; then
20801 ac_lo
=$ac_mid; break
20803 echo "$as_me: failed program was:" >&5
20804 sed 's/^/| /' conftest.
$ac_ext >&5
20806 ac_hi
=`expr '(' $ac_mid ')' - 1`
20807 if test $ac_mid -le $ac_hi; then
20811 ac_mid
=`expr 2 '*' $ac_mid`
20813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20816 echo "$as_me: failed program was:" >&5
20817 sed 's/^/| /' conftest.
$ac_ext >&5
20821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20824 # Binary search between lo and hi bounds.
20825 while test "x$ac_lo" != "x$ac_hi"; do
20826 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20827 cat >conftest.
$ac_ext <<_ACEOF
20830 cat confdefs.h
>>conftest.
$ac_ext
20831 cat >>conftest.
$ac_ext <<_ACEOF
20832 /* end confdefs.h. */
20833 $ac_includes_default
20837 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20844 rm -f conftest.
$ac_objext
20845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20846 (eval $ac_compile) 2>conftest.er1
20848 grep -v '^ *+' conftest.er1
>conftest.err
20850 cat conftest.err
>&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } &&
20853 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20855 (eval $ac_try) 2>&5
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); }; } &&
20859 { ac_try
='test -s conftest.$ac_objext'
20860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20861 (eval $ac_try) 2>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); }; }; then
20867 echo "$as_me: failed program was:" >&5
20868 sed 's/^/| /' conftest.
$ac_ext >&5
20870 ac_lo
=`expr '(' $ac_mid ')' + 1`
20872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20875 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20876 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20877 See \`config.log' for more details." >&5
20878 echo "$as_me: error: cannot compute sizeof (long long), 77
20879 See \`config.log' for more details." >&2;}
20880 { (exit 1); exit 1; }; } ;;
20883 if test "$cross_compiling" = yes; then
20884 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20885 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20886 { (exit 1); exit 1; }; }
20888 cat >conftest.
$ac_ext <<_ACEOF
20891 cat confdefs.h
>>conftest.
$ac_ext
20892 cat >>conftest.
$ac_ext <<_ACEOF
20893 /* end confdefs.h. */
20894 $ac_includes_default
20895 long longval () { return (long) (sizeof (long long)); }
20896 unsigned long ulongval () { return (long) (sizeof (long long)); }
20898 #include <stdlib.h>
20903 FILE *f = fopen ("conftest.val", "w");
20906 if (((long) (sizeof (long long))) < 0)
20908 long i = longval ();
20909 if (i != ((long) (sizeof (long long))))
20911 fprintf (f, "%ld\n", i);
20915 unsigned long i = ulongval ();
20916 if (i != ((long) (sizeof (long long))))
20918 fprintf (f, "%lu\n", i);
20920 exit (ferror (f) || fclose (f) != 0);
20926 rm -f conftest
$ac_exeext
20927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20928 (eval $ac_link) 2>&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20933 (eval $ac_try) 2>&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); }; }; then
20937 ac_cv_sizeof_long_long
=`cat conftest.val`
20939 echo "$as_me: program exited with status $ac_status" >&5
20940 echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.
$ac_ext >&5
20943 ( exit $ac_status )
20944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20945 See \`config.log' for more details." >&5
20946 echo "$as_me: error: cannot compute sizeof (long long), 77
20947 See \`config.log' for more details." >&2;}
20948 { (exit 1); exit 1; }; }
20950 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20955 ac_cv_sizeof_long_long
=0
20958 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20959 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20960 cat >>confdefs.h
<<_ACEOF
20961 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20965 if test "$ac_cv_sizeof_long_long" != "0"; then
20966 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20970 echo "$as_me:$LINENO: checking for long long" >&5
20971 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20972 if test "${ac_cv_type_long_long+set}" = set; then
20973 echo $ECHO_N "(cached) $ECHO_C" >&6
20975 cat >conftest.
$ac_ext <<_ACEOF
20978 cat confdefs.h
>>conftest.
$ac_ext
20979 cat >>conftest.
$ac_ext <<_ACEOF
20980 /* end confdefs.h. */
20981 $ac_includes_default
20985 if ((long long *) 0)
20987 if (sizeof (long long))
20993 rm -f conftest.
$ac_objext
20994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20995 (eval $ac_compile) 2>conftest.er1
20997 grep -v '^ *+' conftest.er1
>conftest.err
20999 cat conftest.err
>&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); } &&
21002 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; } &&
21008 { ac_try
='test -s conftest.$ac_objext'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; }; then
21014 ac_cv_type_long_long
=yes
21016 echo "$as_me: failed program was:" >&5
21017 sed 's/^/| /' conftest.
$ac_ext >&5
21019 ac_cv_type_long_long
=no
21021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21023 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21024 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21026 echo "$as_me:$LINENO: checking size of long long" >&5
21027 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21028 if test "${ac_cv_sizeof_long_long+set}" = set; then
21029 echo $ECHO_N "(cached) $ECHO_C" >&6
21031 if test "$ac_cv_type_long_long" = yes; then
21032 # The cast to unsigned long works around a bug in the HP C Compiler
21033 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21034 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21035 # This bug is HP SR number 8606223364.
21036 if test "$cross_compiling" = yes; then
21037 # Depending upon the size, compute the lo and hi bounds.
21038 cat >conftest.
$ac_ext <<_ACEOF
21041 cat confdefs.h
>>conftest.
$ac_ext
21042 cat >>conftest.
$ac_ext <<_ACEOF
21043 /* end confdefs.h. */
21044 $ac_includes_default
21048 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21055 rm -f conftest.
$ac_objext
21056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21057 (eval $ac_compile) 2>conftest.er1
21059 grep -v '^ *+' conftest.er1
>conftest.err
21061 cat conftest.err
>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); } &&
21064 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; } &&
21070 { ac_try
='test -s conftest.$ac_objext'
21071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21072 (eval $ac_try) 2>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); }; }; then
21078 cat >conftest.
$ac_ext <<_ACEOF
21081 cat confdefs.h
>>conftest.
$ac_ext
21082 cat >>conftest.
$ac_ext <<_ACEOF
21083 /* end confdefs.h. */
21084 $ac_includes_default
21088 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21095 rm -f conftest.
$ac_objext
21096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21097 (eval $ac_compile) 2>conftest.er1
21099 grep -v '^ *+' conftest.er1
>conftest.err
21101 cat conftest.err
>&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } &&
21104 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21106 (eval $ac_try) 2>&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; } &&
21110 { ac_try
='test -s conftest.$ac_objext'
21111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21112 (eval $ac_try) 2>&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); }; }; then
21116 ac_hi
=$ac_mid; break
21118 echo "$as_me: failed program was:" >&5
21119 sed 's/^/| /' conftest.
$ac_ext >&5
21121 ac_lo
=`expr $ac_mid + 1`
21122 if test $ac_lo -le $ac_mid; then
21126 ac_mid
=`expr 2 '*' $ac_mid + 1`
21128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.
$ac_ext >&5
21134 cat >conftest.
$ac_ext <<_ACEOF
21137 cat confdefs.h
>>conftest.
$ac_ext
21138 cat >>conftest.
$ac_ext <<_ACEOF
21139 /* end confdefs.h. */
21140 $ac_includes_default
21144 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21151 rm -f conftest.
$ac_objext
21152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21153 (eval $ac_compile) 2>conftest.er1
21155 grep -v '^ *+' conftest.er1
>conftest.err
21157 cat conftest.err
>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); } &&
21160 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21162 (eval $ac_try) 2>&5
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); }; } &&
21166 { ac_try
='test -s conftest.$ac_objext'
21167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21168 (eval $ac_try) 2>&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); }; }; then
21174 cat >conftest.
$ac_ext <<_ACEOF
21177 cat confdefs.h
>>conftest.
$ac_ext
21178 cat >>conftest.
$ac_ext <<_ACEOF
21179 /* end confdefs.h. */
21180 $ac_includes_default
21184 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21191 rm -f conftest.
$ac_objext
21192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21193 (eval $ac_compile) 2>conftest.er1
21195 grep -v '^ *+' conftest.er1
>conftest.err
21197 cat conftest.err
>&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); } &&
21200 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21202 (eval $ac_try) 2>&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); }; } &&
21206 { ac_try
='test -s conftest.$ac_objext'
21207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21208 (eval $ac_try) 2>&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); }; }; then
21212 ac_lo
=$ac_mid; break
21214 echo "$as_me: failed program was:" >&5
21215 sed 's/^/| /' conftest.
$ac_ext >&5
21217 ac_hi
=`expr '(' $ac_mid ')' - 1`
21218 if test $ac_mid -le $ac_hi; then
21222 ac_mid
=`expr 2 '*' $ac_mid`
21224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21227 echo "$as_me: failed program was:" >&5
21228 sed 's/^/| /' conftest.
$ac_ext >&5
21232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21235 # Binary search between lo and hi bounds.
21236 while test "x$ac_lo" != "x$ac_hi"; do
21237 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21238 cat >conftest.
$ac_ext <<_ACEOF
21241 cat confdefs.h
>>conftest.
$ac_ext
21242 cat >>conftest.
$ac_ext <<_ACEOF
21243 /* end confdefs.h. */
21244 $ac_includes_default
21248 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21255 rm -f conftest.
$ac_objext
21256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21257 (eval $ac_compile) 2>conftest.er1
21259 grep -v '^ *+' conftest.er1
>conftest.err
21261 cat conftest.err
>&5
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); } &&
21264 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21266 (eval $ac_try) 2>&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); }; } &&
21270 { ac_try
='test -s conftest.$ac_objext'
21271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21272 (eval $ac_try) 2>&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); }; }; then
21278 echo "$as_me: failed program was:" >&5
21279 sed 's/^/| /' conftest.
$ac_ext >&5
21281 ac_lo
=`expr '(' $ac_mid ')' + 1`
21283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21286 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21287 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21288 See \`config.log' for more details." >&5
21289 echo "$as_me: error: cannot compute sizeof (long long), 77
21290 See \`config.log' for more details." >&2;}
21291 { (exit 1); exit 1; }; } ;;
21294 if test "$cross_compiling" = yes; then
21295 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21296 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21297 { (exit 1); exit 1; }; }
21299 cat >conftest.
$ac_ext <<_ACEOF
21302 cat confdefs.h
>>conftest.
$ac_ext
21303 cat >>conftest.
$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 $ac_includes_default
21306 long longval () { return (long) (sizeof (long long)); }
21307 unsigned long ulongval () { return (long) (sizeof (long long)); }
21309 #include <stdlib.h>
21314 FILE *f = fopen ("conftest.val", "w");
21317 if (((long) (sizeof (long long))) < 0)
21319 long i = longval ();
21320 if (i != ((long) (sizeof (long long))))
21322 fprintf (f, "%ld\n", i);
21326 unsigned long i = ulongval ();
21327 if (i != ((long) (sizeof (long long))))
21329 fprintf (f, "%lu\n", i);
21331 exit (ferror (f) || fclose (f) != 0);
21337 rm -f conftest
$ac_exeext
21338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21339 (eval $ac_link) 2>&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21344 (eval $ac_try) 2>&5
21346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347 (exit $ac_status); }; }; then
21348 ac_cv_sizeof_long_long
=`cat conftest.val`
21350 echo "$as_me: program exited with status $ac_status" >&5
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.
$ac_ext >&5
21354 ( exit $ac_status )
21355 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21356 See \`config.log' for more details." >&5
21357 echo "$as_me: error: cannot compute sizeof (long long), 77
21358 See \`config.log' for more details." >&2;}
21359 { (exit 1); exit 1; }; }
21361 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21366 ac_cv_sizeof_long_long
=0
21369 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21370 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21371 cat >>confdefs.h
<<_ACEOF
21372 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21378 echo "$as_me:$LINENO: checking for wchar_t" >&5
21379 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21380 if test "${ac_cv_type_wchar_t+set}" = set; then
21381 echo $ECHO_N "(cached) $ECHO_C" >&6
21383 cat >conftest.
$ac_ext <<_ACEOF
21386 cat confdefs.h
>>conftest.
$ac_ext
21387 cat >>conftest.
$ac_ext <<_ACEOF
21388 /* end confdefs.h. */
21390 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21391 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21392 # error "fake wchar_t"
21394 #ifdef HAVE_WCHAR_H
21396 # include <stddef.h>
21398 # include <wchar.h>
21400 #ifdef HAVE_STDLIB_H
21401 # include <stdlib.h>
21412 if (sizeof (wchar_t))
21418 rm -f conftest.
$ac_objext
21419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21420 (eval $ac_compile) 2>conftest.er1
21422 grep -v '^ *+' conftest.er1
>conftest.err
21424 cat conftest.err
>&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); } &&
21427 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21429 (eval $ac_try) 2>&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); }; } &&
21433 { ac_try
='test -s conftest.$ac_objext'
21434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21435 (eval $ac_try) 2>&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); }; }; then
21439 ac_cv_type_wchar_t
=yes
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.
$ac_ext >&5
21444 ac_cv_type_wchar_t
=no
21446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21448 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21449 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21451 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21452 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21453 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21454 echo $ECHO_N "(cached) $ECHO_C" >&6
21456 if test "$ac_cv_type_wchar_t" = yes; then
21457 # The cast to unsigned long works around a bug in the HP C Compiler
21458 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21459 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21460 # This bug is HP SR number 8606223364.
21461 if test "$cross_compiling" = yes; then
21462 # Depending upon the size, compute the lo and hi bounds.
21463 cat >conftest.
$ac_ext <<_ACEOF
21466 cat confdefs.h
>>conftest.
$ac_ext
21467 cat >>conftest.
$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21470 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21471 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21472 # error "fake wchar_t"
21474 #ifdef HAVE_WCHAR_H
21476 # include <stddef.h>
21478 # include <wchar.h>
21480 #ifdef HAVE_STDLIB_H
21481 # include <stdlib.h>
21490 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21497 rm -f conftest.
$ac_objext
21498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21499 (eval $ac_compile) 2>conftest.er1
21501 grep -v '^ *+' conftest.er1
>conftest.err
21503 cat conftest.err
>&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); } &&
21506 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21508 (eval $ac_try) 2>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); }; } &&
21512 { ac_try
='test -s conftest.$ac_objext'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21520 cat >conftest.
$ac_ext <<_ACEOF
21523 cat confdefs.h
>>conftest.
$ac_ext
21524 cat >>conftest.
$ac_ext <<_ACEOF
21525 /* end confdefs.h. */
21527 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21528 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21529 # error "fake wchar_t"
21531 #ifdef HAVE_WCHAR_H
21533 # include <stddef.h>
21535 # include <wchar.h>
21537 #ifdef HAVE_STDLIB_H
21538 # include <stdlib.h>
21547 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21554 rm -f conftest.
$ac_objext
21555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21556 (eval $ac_compile) 2>conftest.er1
21558 grep -v '^ *+' conftest.er1
>conftest.err
21560 cat conftest.err
>&5
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); } &&
21563 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21565 (eval $ac_try) 2>&5
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); }; } &&
21569 { ac_try
='test -s conftest.$ac_objext'
21570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21571 (eval $ac_try) 2>&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 ac_hi
=$ac_mid; break
21577 echo "$as_me: failed program was:" >&5
21578 sed 's/^/| /' conftest.
$ac_ext >&5
21580 ac_lo
=`expr $ac_mid + 1`
21581 if test $ac_lo -le $ac_mid; then
21585 ac_mid
=`expr 2 '*' $ac_mid + 1`
21587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.
$ac_ext >&5
21593 cat >conftest.
$ac_ext <<_ACEOF
21596 cat confdefs.h
>>conftest.
$ac_ext
21597 cat >>conftest.
$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21600 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21601 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21602 # error "fake wchar_t"
21604 #ifdef HAVE_WCHAR_H
21606 # include <stddef.h>
21608 # include <wchar.h>
21610 #ifdef HAVE_STDLIB_H
21611 # include <stdlib.h>
21620 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21627 rm -f conftest.
$ac_objext
21628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21629 (eval $ac_compile) 2>conftest.er1
21631 grep -v '^ *+' conftest.er1
>conftest.err
21633 cat conftest.err
>&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } &&
21636 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21638 (eval $ac_try) 2>&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); }; } &&
21642 { ac_try
='test -s conftest.$ac_objext'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; }; then
21650 cat >conftest.
$ac_ext <<_ACEOF
21653 cat confdefs.h
>>conftest.
$ac_ext
21654 cat >>conftest.
$ac_ext <<_ACEOF
21655 /* end confdefs.h. */
21657 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21658 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21659 # error "fake wchar_t"
21661 #ifdef HAVE_WCHAR_H
21663 # include <stddef.h>
21665 # include <wchar.h>
21667 #ifdef HAVE_STDLIB_H
21668 # include <stdlib.h>
21677 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21684 rm -f conftest.
$ac_objext
21685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21686 (eval $ac_compile) 2>conftest.er1
21688 grep -v '^ *+' conftest.er1
>conftest.err
21690 cat conftest.err
>&5
21691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692 (exit $ac_status); } &&
21693 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21695 (eval $ac_try) 2>&5
21697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698 (exit $ac_status); }; } &&
21699 { ac_try
='test -s conftest.$ac_objext'
21700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21701 (eval $ac_try) 2>&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); }; }; then
21705 ac_lo
=$ac_mid; break
21707 echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.
$ac_ext >&5
21710 ac_hi
=`expr '(' $ac_mid ')' - 1`
21711 if test $ac_mid -le $ac_hi; then
21715 ac_mid
=`expr 2 '*' $ac_mid`
21717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21720 echo "$as_me: failed program was:" >&5
21721 sed 's/^/| /' conftest.
$ac_ext >&5
21725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21728 # Binary search between lo and hi bounds.
21729 while test "x$ac_lo" != "x$ac_hi"; do
21730 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21731 cat >conftest.
$ac_ext <<_ACEOF
21734 cat confdefs.h
>>conftest.
$ac_ext
21735 cat >>conftest.
$ac_ext <<_ACEOF
21736 /* end confdefs.h. */
21738 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21739 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21740 # error "fake wchar_t"
21742 #ifdef HAVE_WCHAR_H
21744 # include <stddef.h>
21746 # include <wchar.h>
21748 #ifdef HAVE_STDLIB_H
21749 # include <stdlib.h>
21758 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21765 rm -f conftest.
$ac_objext
21766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21767 (eval $ac_compile) 2>conftest.er1
21769 grep -v '^ *+' conftest.er1
>conftest.err
21771 cat conftest.err
>&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); } &&
21774 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21776 (eval $ac_try) 2>&5
21778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21779 (exit $ac_status); }; } &&
21780 { ac_try
='test -s conftest.$ac_objext'
21781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21782 (eval $ac_try) 2>&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; }; then
21788 echo "$as_me: failed program was:" >&5
21789 sed 's/^/| /' conftest.
$ac_ext >&5
21791 ac_lo
=`expr '(' $ac_mid ')' + 1`
21793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21796 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21797 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21798 See \`config.log' for more details." >&5
21799 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21800 See \`config.log' for more details." >&2;}
21801 { (exit 1); exit 1; }; } ;;
21804 if test "$cross_compiling" = yes; then
21805 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21806 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21807 { (exit 1); exit 1; }; }
21809 cat >conftest.
$ac_ext <<_ACEOF
21812 cat confdefs.h
>>conftest.
$ac_ext
21813 cat >>conftest.
$ac_ext <<_ACEOF
21814 /* end confdefs.h. */
21816 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21817 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21818 # error "fake wchar_t"
21820 #ifdef HAVE_WCHAR_H
21822 # include <stddef.h>
21824 # include <wchar.h>
21826 #ifdef HAVE_STDLIB_H
21827 # include <stdlib.h>
21833 long longval () { return (long) (sizeof (wchar_t)); }
21834 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21836 #include <stdlib.h>
21841 FILE *f = fopen ("conftest.val", "w");
21844 if (((long) (sizeof (wchar_t))) < 0)
21846 long i = longval ();
21847 if (i != ((long) (sizeof (wchar_t))))
21849 fprintf (f, "%ld\n", i);
21853 unsigned long i = ulongval ();
21854 if (i != ((long) (sizeof (wchar_t))))
21856 fprintf (f, "%lu\n", i);
21858 exit (ferror (f) || fclose (f) != 0);
21864 rm -f conftest
$ac_exeext
21865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21866 (eval $ac_link) 2>&5
21868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21871 (eval $ac_try) 2>&5
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); }; }; then
21875 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21877 echo "$as_me: program exited with status $ac_status" >&5
21878 echo "$as_me: failed program was:" >&5
21879 sed 's/^/| /' conftest.
$ac_ext >&5
21881 ( exit $ac_status )
21882 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21883 See \`config.log' for more details." >&5
21884 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21885 See \`config.log' for more details." >&2;}
21886 { (exit 1); exit 1; }; }
21888 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21893 ac_cv_sizeof_wchar_t
=0
21896 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21897 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21898 cat >>confdefs.h
<<_ACEOF
21899 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21903 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21909 echo "$as_me:$LINENO: checking for va_copy" >&5
21910 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21911 if test "${wx_cv_func_va_copy+set}" = set; then
21912 echo $ECHO_N "(cached) $ECHO_C" >&6
21915 cat >conftest.
$ac_ext <<_ACEOF
21917 #include <stdarg.h>
21918 void foo(char *f, ...)
21932 rm -f conftest.
$ac_objext conftest
$ac_exeext
21933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21934 (eval $ac_link) 2>conftest.er1
21936 grep -v '^ *+' conftest.er1
>conftest.err
21938 cat conftest.err
>&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); } &&
21941 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943 (eval $ac_try) 2>&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; } &&
21947 { ac_try
='test -s conftest$ac_exeext'
21948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21949 (eval $ac_try) 2>&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); }; }; then
21953 wx_cv_func_va_copy
=yes
21955 echo "$as_me: failed program was:" >&5
21956 sed 's/^/| /' conftest.
$ac_ext >&5
21958 wx_cv_func_va_copy
=no
21961 rm -f conftest.err conftest.
$ac_objext \
21962 conftest
$ac_exeext conftest.
$ac_ext
21966 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21967 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21969 if test $wx_cv_func_va_copy = "yes"; then
21970 cat >>confdefs.h
<<\_ACEOF
21971 #define HAVE_VA_COPY 1
21975 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21976 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21977 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21978 echo $ECHO_N "(cached) $ECHO_C" >&6
21981 if test "$cross_compiling" = yes; then
21982 wx_cv_type_va_list_lvalue
=yes
21985 cat >conftest.
$ac_ext <<_ACEOF
21987 #include <stdarg.h>
21988 int foo(char *f, ...)
21993 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22001 return foo("hi", 17);
22004 rm -f conftest
$ac_exeext
22005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22006 (eval $ac_link) 2>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22011 (eval $ac_try) 2>&5
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); }; }; then
22015 wx_cv_type_va_list_lvalue
=yes
22017 echo "$as_me: program exited with status $ac_status" >&5
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.
$ac_ext >&5
22021 ( exit $ac_status )
22022 wx_cv_type_va_list_lvalue
=no
22024 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22029 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22030 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22032 if test $wx_cv_type_va_list_lvalue != "yes"; then
22033 cat >>confdefs.h
<<\_ACEOF
22034 #define VA_LIST_IS_ARRAY 1
22040 # Check whether --enable-largefile or --disable-largefile was given.
22041 if test "${enable_largefile+set}" = set; then
22042 enableval
="$enable_largefile"
22045 if test "$enable_largefile" != no
; then
22048 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22049 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22050 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22051 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. */
22060 #define _FILE_OFFSET_BITS 64
22061 #include <sys/types.h>
22066 unsigned int field: sizeof(off_t) == 8;
22073 rm -f conftest.
$ac_objext
22074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22075 (eval $ac_compile) 2>conftest.er1
22077 grep -v '^ *+' conftest.er1
>conftest.err
22079 cat conftest.err
>&5
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); } &&
22082 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22084 (eval $ac_try) 2>&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); }; } &&
22088 { ac_try
='test -s conftest.$ac_objext'
22089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22090 (eval $ac_try) 2>&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); }; }; then
22094 ac_cv_sys_file_offset_bits
=64
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.
$ac_ext >&5
22099 ac_cv_sys_file_offset_bits
=no
22101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22105 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22106 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22108 if test "$ac_cv_sys_file_offset_bits" != no
; then
22110 cat >>confdefs.h
<<_ACEOF
22111 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22116 if test "x$wx_largefile" != "xyes"; then
22118 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22119 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22120 if test "${ac_cv_sys_large_files+set}" = set; then
22121 echo $ECHO_N "(cached) $ECHO_C" >&6
22124 cat >conftest.
$ac_ext <<_ACEOF
22127 cat confdefs.h
>>conftest.
$ac_ext
22128 cat >>conftest.
$ac_ext <<_ACEOF
22129 /* end confdefs.h. */
22130 #define _LARGE_FILES 1
22131 #include <sys/types.h>
22136 unsigned int field: sizeof(off_t) == 8;
22143 rm -f conftest.
$ac_objext
22144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22145 (eval $ac_compile) 2>conftest.er1
22147 grep -v '^ *+' conftest.er1
>conftest.err
22149 cat conftest.err
>&5
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); } &&
22152 { ac_try
='test -z "$ac_cxx_werror_flag" || 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 ac_cv_sys_large_files
=1
22166 echo "$as_me: failed program was:" >&5
22167 sed 's/^/| /' conftest.
$ac_ext >&5
22169 ac_cv_sys_large_files
=no
22171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22175 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22176 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22178 if test "$ac_cv_sys_large_files" != no
; then
22180 cat >>confdefs.h
<<_ACEOF
22181 #define _LARGE_FILES $ac_cv_sys_large_files
22188 echo "$as_me:$LINENO: checking if large file support is available" >&5
22189 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22190 if test "x$wx_largefile" = "xyes"; then
22191 cat >>confdefs.h
<<\_ACEOF
22192 #define HAVE_LARGEFILE_SUPPORT 1
22196 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22197 echo "${ECHO_T}$wx_largefile" >&6
22201 if test "x$wx_largefile" = "xyes"; then
22202 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22203 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22205 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22206 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22207 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22208 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22209 echo $ECHO_N "(cached) $ECHO_C" >&6
22212 cat >conftest.
$ac_ext <<_ACEOF
22215 cat confdefs.h
>>conftest.
$ac_ext
22216 cat >>conftest.
$ac_ext <<_ACEOF
22217 /* end confdefs.h. */
22223 #ifndef __STDC_EXT__
22231 rm -f conftest.
$ac_objext
22232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22233 (eval $ac_compile) 2>conftest.er1
22235 grep -v '^ *+' conftest.er1
>conftest.err
22237 cat conftest.err
>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } &&
22240 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; } &&
22246 { ac_try
='test -s conftest.$ac_objext'
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 wx_cv_STDC_EXT_required
=no
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.
$ac_ext >&5
22257 wx_cv_STDC_EXT_required
=yes
22260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22264 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22265 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22266 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22267 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22271 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22273 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22274 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22275 if test "${ac_cv_sys_largefile_source+set}" = set; then
22276 echo $ECHO_N "(cached) $ECHO_C" >&6
22279 ac_cv_sys_largefile_source
=no
22280 cat >conftest.
$ac_ext <<_ACEOF
22283 cat confdefs.h
>>conftest.
$ac_ext
22284 cat >>conftest.
$ac_ext <<_ACEOF
22285 /* end confdefs.h. */
22295 rm -f conftest.
$ac_objext
22296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22297 (eval $ac_compile) 2>conftest.er1
22299 grep -v '^ *+' conftest.er1
>conftest.err
22301 cat conftest.err
>&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); } &&
22304 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22306 (eval $ac_try) 2>&5
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); }; } &&
22310 { ac_try
='test -s conftest.$ac_objext'
22311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22312 (eval $ac_try) 2>&5
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); }; }; then
22318 echo "$as_me: failed program was:" >&5
22319 sed 's/^/| /' conftest.
$ac_ext >&5
22322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22323 cat >conftest.
$ac_ext <<_ACEOF
22326 cat confdefs.h
>>conftest.
$ac_ext
22327 cat >>conftest.
$ac_ext <<_ACEOF
22328 /* end confdefs.h. */
22329 #define _LARGEFILE_SOURCE 1
22339 rm -f conftest.
$ac_objext
22340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22341 (eval $ac_compile) 2>conftest.er1
22343 grep -v '^ *+' conftest.er1
>conftest.err
22345 cat conftest.err
>&5
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); } &&
22348 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22350 (eval $ac_try) 2>&5
22352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22353 (exit $ac_status); }; } &&
22354 { ac_try
='test -s conftest.$ac_objext'
22355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22356 (eval $ac_try) 2>&5
22358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 (exit $ac_status); }; }; then
22360 ac_cv_sys_largefile_source
=1; break
22362 echo "$as_me: failed program was:" >&5
22363 sed 's/^/| /' conftest.
$ac_ext >&5
22366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22370 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22371 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22372 if test "$ac_cv_sys_largefile_source" != no
; then
22374 cat >>confdefs.h
<<_ACEOF
22375 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22381 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22382 # in glibc 2.1.3, but that breaks too many other things.
22383 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22384 echo "$as_me:$LINENO: checking for fseeko" >&5
22385 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22386 if test "${ac_cv_func_fseeko+set}" = set; then
22387 echo $ECHO_N "(cached) $ECHO_C" >&6
22389 cat >conftest.
$ac_ext <<_ACEOF
22392 cat confdefs.h
>>conftest.
$ac_ext
22393 cat >>conftest.
$ac_ext <<_ACEOF
22394 /* end confdefs.h. */
22399 return fseeko && fseeko (stdin, 0, 0);
22404 rm -f conftest.
$ac_objext conftest
$ac_exeext
22405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22406 (eval $ac_link) 2>conftest.er1
22408 grep -v '^ *+' conftest.er1
>conftest.err
22410 cat conftest.err
>&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); } &&
22413 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; } &&
22419 { ac_try
='test -s conftest$ac_exeext'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; }; then
22425 ac_cv_func_fseeko
=yes
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.
$ac_ext >&5
22430 ac_cv_func_fseeko
=no
22432 rm -f conftest.err conftest.
$ac_objext \
22433 conftest
$ac_exeext conftest.
$ac_ext
22435 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22436 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22437 if test $ac_cv_func_fseeko = yes; then
22439 cat >>confdefs.h
<<\_ACEOF
22440 #define HAVE_FSEEKO 1
22445 if test "$ac_cv_sys_largefile_source" != no
; then
22446 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22450 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22451 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22452 if test "${ac_cv_c_bigendian+set}" = set; then
22453 echo $ECHO_N "(cached) $ECHO_C" >&6
22455 ac_cv_c_bigendian
=unknown
22456 # See if sys/param.h defines the BYTE_ORDER macro.
22457 cat >conftest.
$ac_ext <<_ACEOF
22460 cat confdefs.h
>>conftest.
$ac_ext
22461 cat >>conftest.
$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22463 #include <sys/types.h>
22464 #include <sys/param.h>
22469 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22470 bogus endian macros
22476 rm -f conftest.
$ac_objext
22477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22478 (eval $ac_compile) 2>conftest.er1
22480 grep -v '^ *+' conftest.er1
>conftest.err
22482 cat conftest.err
>&5
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); } &&
22485 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22487 (eval $ac_try) 2>&5
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); }; } &&
22491 { ac_try
='test -s conftest.$ac_objext'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; }; then
22497 # It does; now see whether it defined to BIG_ENDIAN or not.
22498 cat >conftest.
$ac_ext <<_ACEOF
22501 cat confdefs.h
>>conftest.
$ac_ext
22502 cat >>conftest.
$ac_ext <<_ACEOF
22503 /* end confdefs.h. */
22504 #include <sys/types.h>
22505 #include <sys/param.h>
22510 #if BYTE_ORDER != BIG_ENDIAN
22517 rm -f conftest.
$ac_objext
22518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22519 (eval $ac_compile) 2>conftest.er1
22521 grep -v '^ *+' conftest.er1
>conftest.err
22523 cat conftest.err
>&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } &&
22526 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22528 (eval $ac_try) 2>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; } &&
22532 { ac_try
='test -s conftest.$ac_objext'
22533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); }; }; then
22538 ac_cv_c_bigendian
=yes
22540 echo "$as_me: failed program was:" >&5
22541 sed 's/^/| /' conftest.
$ac_ext >&5
22543 ac_cv_c_bigendian
=no
22545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22547 echo "$as_me: failed program was:" >&5
22548 sed 's/^/| /' conftest.
$ac_ext >&5
22551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22552 if test $ac_cv_c_bigendian = unknown
; then
22553 if test "$cross_compiling" = yes; then
22554 ac_cv_c_bigendian
=unknown
22556 cat >conftest.
$ac_ext <<_ACEOF
22559 cat confdefs.h
>>conftest.
$ac_ext
22560 cat >>conftest.
$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22563 /* Are we little or big endian? From Harbison&Steele. */
22567 char c[sizeof (long)];
22570 exit (u.c[sizeof (long) - 1] == 1);
22573 rm -f conftest
$ac_exeext
22574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22575 (eval $ac_link) 2>&5
22577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; }; then
22584 ac_cv_c_bigendian
=no
22586 echo "$as_me: program exited with status $ac_status" >&5
22587 echo "$as_me: failed program was:" >&5
22588 sed 's/^/| /' conftest.
$ac_ext >&5
22590 ( exit $ac_status )
22591 ac_cv_c_bigendian
=yes
22593 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22597 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22598 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22599 if test $ac_cv_c_bigendian = unknown
; then
22600 { 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
22601 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;}
22603 if test $ac_cv_c_bigendian = yes; then
22604 cat >>confdefs.h
<<\_ACEOF
22605 #define WORDS_BIGENDIAN 1
22615 ac_cpp
='$CXXCPP $CPPFLAGS'
22616 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22617 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22618 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22622 for ac_header
in iostream
22624 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22626 echo "$as_me:$LINENO: checking for $ac_header" >&5
22627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22629 echo $ECHO_N "(cached) $ECHO_C" >&6
22631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22634 # Is the header compilable?
22635 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22636 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22637 cat >conftest.
$ac_ext <<_ACEOF
22640 cat confdefs.h
>>conftest.
$ac_ext
22641 cat >>conftest.
$ac_ext <<_ACEOF
22642 /* end confdefs.h. */
22643 $ac_includes_default
22644 #include <$ac_header>
22646 rm -f conftest.
$ac_objext
22647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22648 (eval $ac_compile) 2>conftest.er1
22650 grep -v '^ *+' conftest.er1
>conftest.err
22652 cat conftest.err
>&5
22653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22654 (exit $ac_status); } &&
22655 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22657 (eval $ac_try) 2>&5
22659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 (exit $ac_status); }; } &&
22661 { ac_try
='test -s conftest.$ac_objext'
22662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22663 (eval $ac_try) 2>&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); }; }; then
22667 ac_header_compiler
=yes
22669 echo "$as_me: failed program was:" >&5
22670 sed 's/^/| /' conftest.
$ac_ext >&5
22672 ac_header_compiler
=no
22674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22675 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22676 echo "${ECHO_T}$ac_header_compiler" >&6
22678 # Is the header present?
22679 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22680 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22681 cat >conftest.
$ac_ext <<_ACEOF
22684 cat confdefs.h
>>conftest.
$ac_ext
22685 cat >>conftest.
$ac_ext <<_ACEOF
22686 /* end confdefs.h. */
22687 #include <$ac_header>
22689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22690 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22692 grep -v '^ *+' conftest.er1
>conftest.err
22694 cat conftest.err
>&5
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); } >/dev
/null
; then
22697 if test -s conftest.err
; then
22698 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22699 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22706 if test -z "$ac_cpp_err"; then
22707 ac_header_preproc
=yes
22709 echo "$as_me: failed program was:" >&5
22710 sed 's/^/| /' conftest.
$ac_ext >&5
22712 ac_header_preproc
=no
22714 rm -f conftest.err conftest.
$ac_ext
22715 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22716 echo "${ECHO_T}$ac_header_preproc" >&6
22718 # So? What about this header?
22719 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22721 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22722 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22724 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22725 ac_header_preproc
=yes
22728 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22729 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22730 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22731 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22732 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22733 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22734 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22735 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22738 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22739 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22742 ## ----------------------------------------- ##
22743 ## Report this to wx-dev@lists.wxwidgets.org ##
22744 ## ----------------------------------------- ##
22747 sed "s/^/$as_me: WARNING: /" >&2
22750 echo "$as_me:$LINENO: checking for $ac_header" >&5
22751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22753 echo $ECHO_N "(cached) $ECHO_C" >&6
22755 eval "$as_ac_Header=\$ac_header_preproc"
22757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22762 cat >>confdefs.h
<<_ACEOF
22763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22771 if test "$ac_cv_header_iostream" = "yes" ; then
22774 cat >>confdefs.h
<<\_ACEOF
22775 #define wxUSE_IOSTREAMH 1
22781 ac_cpp
='$CXXCPP $CPPFLAGS'
22782 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22783 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22784 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22789 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22790 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22791 if test "${wx_cv_cpp_bool+set}" = set; then
22792 echo $ECHO_N "(cached) $ECHO_C" >&6
22798 ac_cpp
='$CXXCPP $CPPFLAGS'
22799 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22800 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22801 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22804 cat >conftest.
$ac_ext <<_ACEOF
22807 cat confdefs.h
>>conftest.
$ac_ext
22808 cat >>conftest.
$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22824 rm -f conftest.
$ac_objext
22825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22826 (eval $ac_compile) 2>conftest.er1
22828 grep -v '^ *+' conftest.er1
>conftest.err
22830 cat conftest.err
>&5
22831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832 (exit $ac_status); } &&
22833 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22835 (eval $ac_try) 2>&5
22837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838 (exit $ac_status); }; } &&
22839 { ac_try
='test -s conftest.$ac_objext'
22840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22841 (eval $ac_try) 2>&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); }; }; then
22849 echo "$as_me: failed program was:" >&5
22850 sed 's/^/| /' conftest.
$ac_ext >&5
22857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22860 ac_cpp
='$CXXCPP $CPPFLAGS'
22861 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22862 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22863 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22867 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22868 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22870 if test "$wx_cv_cpp_bool" = "yes"; then
22871 cat >>confdefs.h
<<\_ACEOF
22872 #define HAVE_BOOL 1
22879 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22880 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22881 if test "${wx_cv_explicit+set}" = set; then
22882 echo $ECHO_N "(cached) $ECHO_C" >&6
22888 ac_cpp
='$CXXCPP $CPPFLAGS'
22889 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22890 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22891 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22894 cat >conftest.
$ac_ext <<_ACEOF
22897 cat confdefs.h
>>conftest.
$ac_ext
22898 cat >>conftest.
$ac_ext <<_ACEOF
22899 /* end confdefs.h. */
22901 class Foo { public: explicit Foo(int) {} };
22913 rm -f conftest.
$ac_objext
22914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22915 (eval $ac_compile) 2>conftest.er1
22917 grep -v '^ *+' conftest.er1
>conftest.err
22919 cat conftest.err
>&5
22920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921 (exit $ac_status); } &&
22922 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22924 (eval $ac_try) 2>&5
22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927 (exit $ac_status); }; } &&
22928 { ac_try
='test -s conftest.$ac_objext'
22929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22930 (eval $ac_try) 2>&5
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); }; }; then
22935 cat >conftest.
$ac_ext <<_ACEOF
22938 cat confdefs.h
>>conftest.
$ac_ext
22939 cat >>conftest.
$ac_ext <<_ACEOF
22940 /* end confdefs.h. */
22942 class Foo { public: explicit Foo(int) {} };
22943 static void TakeFoo(const Foo& foo) { }
22956 rm -f conftest.
$ac_objext
22957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22958 (eval $ac_compile) 2>conftest.er1
22960 grep -v '^ *+' conftest.er1
>conftest.err
22962 cat conftest.err
>&5
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); } &&
22965 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; } &&
22971 { ac_try
='test -s conftest.$ac_objext'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; }; then
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.
$ac_ext >&5
22985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.
$ac_ext >&5
22994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22997 ac_cpp
='$CXXCPP $CPPFLAGS'
22998 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22999 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23000 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23004 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23005 echo "${ECHO_T}$wx_cv_explicit" >&6
23007 if test "$wx_cv_explicit" = "yes"; then
23008 cat >>confdefs.h
<<\_ACEOF
23009 #define HAVE_EXPLICIT 1
23015 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23016 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23017 if test "${ac_cv_cxx_const_cast+set}" = set; then
23018 echo $ECHO_N "(cached) $ECHO_C" >&6
23023 ac_cpp
='$CXXCPP $CPPFLAGS'
23024 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23025 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23026 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23028 cat >conftest.
$ac_ext <<_ACEOF
23031 cat confdefs.h
>>conftest.
$ac_ext
23032 cat >>conftest.
$ac_ext <<_ACEOF
23033 /* end confdefs.h. */
23038 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23043 rm -f conftest.
$ac_objext
23044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23045 (eval $ac_compile) 2>conftest.er1
23047 grep -v '^ *+' conftest.er1
>conftest.err
23049 cat conftest.err
>&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); } &&
23052 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; } &&
23058 { ac_try
='test -s conftest.$ac_objext'
23059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23060 (eval $ac_try) 2>&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); }; }; then
23064 ac_cv_cxx_const_cast
=yes
23066 echo "$as_me: failed program was:" >&5
23067 sed 's/^/| /' conftest.
$ac_ext >&5
23069 ac_cv_cxx_const_cast
=no
23071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23073 ac_cpp
='$CXXCPP $CPPFLAGS'
23074 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23075 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23076 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23080 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23081 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23082 if test "$ac_cv_cxx_const_cast" = yes; then
23084 cat >>confdefs.h
<<\_ACEOF
23085 #define HAVE_CONST_CAST
23090 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23091 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23092 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23093 echo $ECHO_N "(cached) $ECHO_C" >&6
23098 ac_cpp
='$CXXCPP $CPPFLAGS'
23099 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23100 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23101 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23103 cat >conftest.
$ac_ext <<_ACEOF
23106 cat confdefs.h
>>conftest.
$ac_ext
23107 cat >>conftest.
$ac_ext <<_ACEOF
23108 /* end confdefs.h. */
23109 #include <typeinfo>
23110 class Base { public : Base () {} virtual void f () = 0;};
23111 class Derived : public Base { public : Derived () {} virtual void f () {} };
23112 class Unrelated { public : Unrelated () {} };
23113 int g (Unrelated&) { return 0; }
23118 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23123 rm -f conftest.
$ac_objext
23124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23125 (eval $ac_compile) 2>conftest.er1
23127 grep -v '^ *+' conftest.er1
>conftest.err
23129 cat conftest.err
>&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); } &&
23132 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23134 (eval $ac_try) 2>&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; } &&
23138 { ac_try
='test -s conftest.$ac_objext'
23139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23140 (eval $ac_try) 2>&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); }; }; then
23144 ac_cv_cxx_reinterpret_cast
=yes
23146 echo "$as_me: failed program was:" >&5
23147 sed 's/^/| /' conftest.
$ac_ext >&5
23149 ac_cv_cxx_reinterpret_cast
=no
23151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23153 ac_cpp
='$CXXCPP $CPPFLAGS'
23154 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23155 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23156 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23160 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23161 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23162 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23164 cat >>confdefs.h
<<\_ACEOF
23165 #define HAVE_REINTERPRET_CAST
23170 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23171 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23172 if test "${ac_cv_cxx_static_cast+set}" = set; then
23173 echo $ECHO_N "(cached) $ECHO_C" >&6
23178 ac_cpp
='$CXXCPP $CPPFLAGS'
23179 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23183 cat >conftest.
$ac_ext <<_ACEOF
23186 cat confdefs.h
>>conftest.
$ac_ext
23187 cat >>conftest.
$ac_ext <<_ACEOF
23188 /* end confdefs.h. */
23189 #include <typeinfo>
23190 class Base { public : Base () {} virtual void f () = 0; };
23191 class Derived : public Base { public : Derived () {} virtual void f () {} };
23192 int g (Derived&) { return 0; }
23197 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23202 rm -f conftest.
$ac_objext
23203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23204 (eval $ac_compile) 2>conftest.er1
23206 grep -v '^ *+' conftest.er1
>conftest.err
23208 cat conftest.err
>&5
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); } &&
23211 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23213 (eval $ac_try) 2>&5
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); }; } &&
23217 { ac_try
='test -s conftest.$ac_objext'
23218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23219 (eval $ac_try) 2>&5
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); }; }; then
23223 ac_cv_cxx_static_cast
=yes
23225 echo "$as_me: failed program was:" >&5
23226 sed 's/^/| /' conftest.
$ac_ext >&5
23228 ac_cv_cxx_static_cast
=no
23230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23232 ac_cpp
='$CXXCPP $CPPFLAGS'
23233 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23234 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23235 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23239 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23240 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23241 if test "$ac_cv_cxx_static_cast" = yes; then
23243 cat >>confdefs.h
<<\_ACEOF
23244 #define HAVE_STATIC_CAST
23250 if test "x$SUNCXX" = xyes
; then
23251 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23254 if test "x$SUNCC" = xyes
; then
23255 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23258 if test "x$SGICC" = "xyes"; then
23259 CFLAGS
="-woff 3970 $CFLAGS"
23261 if test "x$SGICXX" = "xyes"; then
23262 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23265 if test "x$HPCC" = "xyes"; then
23266 CFLAGS
="+W 2011,2450 $CFLAGS"
23268 if test "x$HPCXX" = "xyes"; then
23269 CXXFLAGS
="+W 2340 $CXXFLAGS"
23272 if test "x$COMPAQCXX" = "xyes"; then
23273 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23276 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23277 if test "$wxUSE_UNICODE" = "yes"; then
23278 std_string
="std::wstring"
23279 char_type
="wchar_t"
23281 std_string
="std::string"
23285 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23286 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23287 cat >conftest.
$ac_ext <<_ACEOF
23290 cat confdefs.h
>>conftest.
$ac_ext
23291 cat >>conftest.
$ac_ext <<_ACEOF
23292 /* end confdefs.h. */
23302 rm -f conftest.
$ac_objext
23303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23304 (eval $ac_compile) 2>conftest.er1
23306 grep -v '^ *+' conftest.er1
>conftest.err
23308 cat conftest.err
>&5
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); } &&
23311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23313 (eval $ac_try) 2>&5
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); }; } &&
23317 { ac_try
='test -s conftest.$ac_objext'
23318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23319 (eval $ac_try) 2>&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); }; }; then
23323 echo "$as_me:$LINENO: result: yes" >&5
23324 echo "${ECHO_T}yes" >&6
23325 cat >>confdefs.h
<<\_ACEOF
23326 #define HAVE_STD_WSTRING 1
23330 echo "$as_me: failed program was:" >&5
23331 sed 's/^/| /' conftest.
$ac_ext >&5
23333 echo "$as_me:$LINENO: result: no" >&5
23334 echo "${ECHO_T}no" >&6
23335 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23336 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23337 cat >conftest.
$ac_ext <<_ACEOF
23340 cat confdefs.h
>>conftest.
$ac_ext
23341 cat >>conftest.
$ac_ext <<_ACEOF
23342 /* end confdefs.h. */
23344 #ifdef HAVE_WCHAR_H
23346 # include <stddef.h>
23348 # include <wchar.h>
23350 #ifdef HAVE_STDLIB_H
23351 # include <stdlib.h>
23359 std::basic_string<$char_type> foo;
23360 const $char_type* dummy = foo.c_str();
23365 rm -f conftest.
$ac_objext
23366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23367 (eval $ac_compile) 2>conftest.er1
23369 grep -v '^ *+' conftest.er1
>conftest.err
23371 cat conftest.err
>&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); } &&
23374 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23376 (eval $ac_try) 2>&5
23378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379 (exit $ac_status); }; } &&
23380 { ac_try
='test -s conftest.$ac_objext'
23381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23382 (eval $ac_try) 2>&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); }; }; then
23386 echo "$as_me:$LINENO: result: yes" >&5
23387 echo "${ECHO_T}yes" >&6
23389 echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.
$ac_ext >&5
23392 echo "$as_me:$LINENO: result: no" >&5
23393 echo "${ECHO_T}no" >&6
23394 if test "$wxUSE_STL" = "yes"; then
23395 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23396 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23397 { (exit 1); exit 1; }; }
23398 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23399 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23400 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23401 { (exit 1); exit 1; }; }
23403 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23404 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23405 wxUSE_STD_STRING
=no
23410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23416 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23417 echo "$as_me:$LINENO: checking for std::istream" >&5
23418 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23419 if test "${ac_cv_type_std__istream+set}" = set; then
23420 echo $ECHO_N "(cached) $ECHO_C" >&6
23422 cat >conftest.
$ac_ext <<_ACEOF
23425 cat confdefs.h
>>conftest.
$ac_ext
23426 cat >>conftest.
$ac_ext <<_ACEOF
23427 /* end confdefs.h. */
23428 #include <iostream>
23433 if ((std::istream *) 0)
23435 if (sizeof (std::istream))
23441 rm -f conftest.
$ac_objext
23442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23443 (eval $ac_compile) 2>conftest.er1
23445 grep -v '^ *+' conftest.er1
>conftest.err
23447 cat conftest.err
>&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); } &&
23450 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23452 (eval $ac_try) 2>&5
23454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455 (exit $ac_status); }; } &&
23456 { ac_try
='test -s conftest.$ac_objext'
23457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23458 (eval $ac_try) 2>&5
23460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461 (exit $ac_status); }; }; then
23462 ac_cv_type_std__istream
=yes
23464 echo "$as_me: failed program was:" >&5
23465 sed 's/^/| /' conftest.
$ac_ext >&5
23467 ac_cv_type_std__istream
=no
23469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23471 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23472 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23473 if test $ac_cv_type_std__istream = yes; then
23475 cat >>confdefs.h
<<_ACEOF
23476 #define HAVE_STD__ISTREAM 1
23481 wxUSE_STD_IOSTREAM
=no
23483 echo "$as_me:$LINENO: checking for std::ostream" >&5
23484 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23485 if test "${ac_cv_type_std__ostream+set}" = set; then
23486 echo $ECHO_N "(cached) $ECHO_C" >&6
23488 cat >conftest.
$ac_ext <<_ACEOF
23491 cat confdefs.h
>>conftest.
$ac_ext
23492 cat >>conftest.
$ac_ext <<_ACEOF
23493 /* end confdefs.h. */
23494 #include <iostream>
23499 if ((std::ostream *) 0)
23501 if (sizeof (std::ostream))
23507 rm -f conftest.
$ac_objext
23508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23509 (eval $ac_compile) 2>conftest.er1
23511 grep -v '^ *+' conftest.er1
>conftest.err
23513 cat conftest.err
>&5
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); } &&
23516 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23518 (eval $ac_try) 2>&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); }; } &&
23522 { ac_try
='test -s conftest.$ac_objext'
23523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23524 (eval $ac_try) 2>&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); }; }; then
23528 ac_cv_type_std__ostream
=yes
23530 echo "$as_me: failed program was:" >&5
23531 sed 's/^/| /' conftest.
$ac_ext >&5
23533 ac_cv_type_std__ostream
=no
23535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23537 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23538 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23539 if test $ac_cv_type_std__ostream = yes; then
23541 cat >>confdefs.h
<<_ACEOF
23542 #define HAVE_STD__OSTREAM 1
23547 wxUSE_STD_IOSTREAM
=no
23551 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23552 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23553 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23554 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23555 { (exit 1); exit 1; }; }
23557 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23558 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23563 if test "$wxUSE_STL" = "yes"; then
23564 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23565 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23566 cat >conftest.
$ac_ext <<_ACEOF
23569 cat confdefs.h
>>conftest.
$ac_ext
23570 cat >>conftest.
$ac_ext <<_ACEOF
23571 /* end confdefs.h. */
23573 #include <functional>
23574 #include <algorithm>
23580 std::vector<int> moo;
23581 std::list<int> foo;
23582 std::vector<int>::iterator it =
23583 std::find_if(moo.begin(), moo.end(),
23584 std::bind2nd(std::less<int>(), 3));
23589 rm -f conftest.
$ac_objext
23590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23591 (eval $ac_compile) 2>conftest.er1
23593 grep -v '^ *+' conftest.er1
>conftest.err
23595 cat conftest.err
>&5
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); } &&
23598 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23600 (eval $ac_try) 2>&5
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); }; } &&
23604 { ac_try
='test -s conftest.$ac_objext'
23605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23606 (eval $ac_try) 2>&5
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); }; }; then
23610 echo "$as_me:$LINENO: result: yes" >&5
23611 echo "${ECHO_T}yes" >&6
23613 echo "$as_me: failed program was:" >&5
23614 sed 's/^/| /' conftest.
$ac_ext >&5
23616 echo "$as_me:$LINENO: result: no" >&5
23617 echo "${ECHO_T}no" >&6
23618 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23619 echo "$as_me: error: Basic STL functionality missing" >&2;}
23620 { (exit 1); exit 1; }; }
23622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23624 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23625 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23626 cat >conftest.
$ac_ext <<_ACEOF
23629 cat confdefs.h
>>conftest.
$ac_ext
23630 cat >>conftest.
$ac_ext <<_ACEOF
23631 /* end confdefs.h. */
23636 std::string foo, bar;
23638 foo.compare(1, 1, bar);
23639 foo.compare(1, 1, bar, 1, 1);
23641 foo.compare(1, 1, "");
23642 foo.compare(1, 1, "", 2);
23647 rm -f conftest.
$ac_objext
23648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23649 (eval $ac_compile) 2>conftest.er1
23651 grep -v '^ *+' conftest.er1
>conftest.err
23653 cat conftest.err
>&5
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); } &&
23656 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23658 (eval $ac_try) 2>&5
23660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23661 (exit $ac_status); }; } &&
23662 { ac_try
='test -s conftest.$ac_objext'
23663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23664 (eval $ac_try) 2>&5
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); }; }; then
23668 echo "$as_me:$LINENO: result: yes" >&5
23669 echo "${ECHO_T}yes" >&6
23670 cat >>confdefs.h
<<\_ACEOF
23671 #define HAVE_STD_STRING_COMPARE 1
23675 echo "$as_me: failed program was:" >&5
23676 sed 's/^/| /' conftest.
$ac_ext >&5
23678 echo "$as_me:$LINENO: result: no" >&5
23679 echo "${ECHO_T}no" >&6
23681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23683 if test "${ac_cv_header_hash_map+set}" = set; then
23684 echo "$as_me:$LINENO: checking for hash_map" >&5
23685 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23686 if test "${ac_cv_header_hash_map+set}" = set; then
23687 echo $ECHO_N "(cached) $ECHO_C" >&6
23689 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23690 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23692 # Is the header compilable?
23693 echo "$as_me:$LINENO: checking hash_map usability" >&5
23694 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23695 cat >conftest.
$ac_ext <<_ACEOF
23698 cat confdefs.h
>>conftest.
$ac_ext
23699 cat >>conftest.
$ac_ext <<_ACEOF
23700 /* end confdefs.h. */
23701 $ac_includes_default
23702 #include <hash_map>
23704 rm -f conftest.
$ac_objext
23705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23706 (eval $ac_compile) 2>conftest.er1
23708 grep -v '^ *+' conftest.er1
>conftest.err
23710 cat conftest.err
>&5
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); } &&
23713 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23715 (eval $ac_try) 2>&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); }; } &&
23719 { ac_try
='test -s conftest.$ac_objext'
23720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23721 (eval $ac_try) 2>&5
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); }; }; then
23725 ac_header_compiler
=yes
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.
$ac_ext >&5
23730 ac_header_compiler
=no
23732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23733 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23734 echo "${ECHO_T}$ac_header_compiler" >&6
23736 # Is the header present?
23737 echo "$as_me:$LINENO: checking hash_map presence" >&5
23738 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23739 cat >conftest.
$ac_ext <<_ACEOF
23742 cat confdefs.h
>>conftest.
$ac_ext
23743 cat >>conftest.
$ac_ext <<_ACEOF
23744 /* end confdefs.h. */
23745 #include <hash_map>
23747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23748 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23750 grep -v '^ *+' conftest.er1
>conftest.err
23752 cat conftest.err
>&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); } >/dev
/null
; then
23755 if test -s conftest.err
; then
23756 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23757 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23764 if test -z "$ac_cpp_err"; then
23765 ac_header_preproc
=yes
23767 echo "$as_me: failed program was:" >&5
23768 sed 's/^/| /' conftest.
$ac_ext >&5
23770 ac_header_preproc
=no
23772 rm -f conftest.err conftest.
$ac_ext
23773 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23774 echo "${ECHO_T}$ac_header_preproc" >&6
23776 # So? What about this header?
23777 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23779 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23780 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23781 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23782 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23783 ac_header_preproc
=yes
23786 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23787 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23788 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23789 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23790 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23791 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23792 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23793 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23794 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23795 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23796 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23797 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23800 ## ----------------------------------------- ##
23801 ## Report this to wx-dev@lists.wxwidgets.org ##
23802 ## ----------------------------------------- ##
23805 sed "s/^/$as_me: WARNING: /" >&2
23808 echo "$as_me:$LINENO: checking for hash_map" >&5
23809 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23810 if test "${ac_cv_header_hash_map+set}" = set; then
23811 echo $ECHO_N "(cached) $ECHO_C" >&6
23813 ac_cv_header_hash_map
=$ac_header_preproc
23815 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23816 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23819 if test $ac_cv_header_hash_map = yes; then
23820 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23821 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23822 cat >conftest.
$ac_ext <<_ACEOF
23825 cat confdefs.h
>>conftest.
$ac_ext
23826 cat >>conftest.
$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23828 #include <hash_map>
23829 #include <hash_set>
23833 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23834 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23839 rm -f conftest.
$ac_objext
23840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23841 (eval $ac_compile) 2>conftest.er1
23843 grep -v '^ *+' conftest.er1
>conftest.err
23845 cat conftest.err
>&5
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); } &&
23848 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23850 (eval $ac_try) 2>&5
23852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23853 (exit $ac_status); }; } &&
23854 { ac_try
='test -s conftest.$ac_objext'
23855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23856 (eval $ac_try) 2>&5
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); }; }; then
23860 echo "$as_me:$LINENO: result: yes" >&5
23861 echo "${ECHO_T}yes" >&6
23862 cat >>confdefs.h
<<\_ACEOF
23863 #define HAVE_HASH_MAP 1
23866 cat >>confdefs.h
<<\_ACEOF
23867 #define HAVE_STD_HASH_MAP 1
23871 echo "$as_me: failed program was:" >&5
23872 sed 's/^/| /' conftest.
$ac_ext >&5
23874 echo "$as_me:$LINENO: result: no" >&5
23875 echo "${ECHO_T}no" >&6
23877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23883 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23884 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23885 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23886 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23887 echo $ECHO_N "(cached) $ECHO_C" >&6
23889 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23890 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23892 # Is the header compilable?
23893 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23894 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23895 cat >conftest.
$ac_ext <<_ACEOF
23898 cat confdefs.h
>>conftest.
$ac_ext
23899 cat >>conftest.
$ac_ext <<_ACEOF
23900 /* end confdefs.h. */
23901 $ac_includes_default
23902 #include <ext/hash_map>
23904 rm -f conftest.
$ac_objext
23905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23906 (eval $ac_compile) 2>conftest.er1
23908 grep -v '^ *+' conftest.er1
>conftest.err
23910 cat conftest.err
>&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); } &&
23913 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23915 (eval $ac_try) 2>&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); }; } &&
23919 { ac_try
='test -s conftest.$ac_objext'
23920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23921 (eval $ac_try) 2>&5
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); }; }; then
23925 ac_header_compiler
=yes
23927 echo "$as_me: failed program was:" >&5
23928 sed 's/^/| /' conftest.
$ac_ext >&5
23930 ac_header_compiler
=no
23932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23934 echo "${ECHO_T}$ac_header_compiler" >&6
23936 # Is the header present?
23937 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23938 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23939 cat >conftest.
$ac_ext <<_ACEOF
23942 cat confdefs.h
>>conftest.
$ac_ext
23943 cat >>conftest.
$ac_ext <<_ACEOF
23944 /* end confdefs.h. */
23945 #include <ext/hash_map>
23947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23948 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23950 grep -v '^ *+' conftest.er1
>conftest.err
23952 cat conftest.err
>&5
23953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); } >/dev
/null
; then
23955 if test -s conftest.err
; then
23956 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23957 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23964 if test -z "$ac_cpp_err"; then
23965 ac_header_preproc
=yes
23967 echo "$as_me: failed program was:" >&5
23968 sed 's/^/| /' conftest.
$ac_ext >&5
23970 ac_header_preproc
=no
23972 rm -f conftest.err conftest.
$ac_ext
23973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23974 echo "${ECHO_T}$ac_header_preproc" >&6
23976 # So? What about this header?
23977 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23979 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23980 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23981 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23982 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23983 ac_header_preproc
=yes
23986 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23987 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23988 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23989 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23990 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23991 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23992 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23993 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23994 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23995 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23996 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23997 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24000 ## ----------------------------------------- ##
24001 ## Report this to wx-dev@lists.wxwidgets.org ##
24002 ## ----------------------------------------- ##
24005 sed "s/^/$as_me: WARNING: /" >&2
24008 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24009 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24010 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24011 echo $ECHO_N "(cached) $ECHO_C" >&6
24013 ac_cv_header_ext_hash_map
=$ac_header_preproc
24015 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24016 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24019 if test $ac_cv_header_ext_hash_map = yes; then
24020 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24021 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24022 cat >conftest.
$ac_ext <<_ACEOF
24025 cat confdefs.h
>>conftest.
$ac_ext
24026 cat >>conftest.
$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24028 #include <ext/hash_map>
24029 #include <ext/hash_set>
24033 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24034 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24039 rm -f conftest.
$ac_objext
24040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24041 (eval $ac_compile) 2>conftest.er1
24043 grep -v '^ *+' conftest.er1
>conftest.err
24045 cat conftest.err
>&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); } &&
24048 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24050 (eval $ac_try) 2>&5
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); }; } &&
24054 { ac_try
='test -s conftest.$ac_objext'
24055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24056 (eval $ac_try) 2>&5
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); }; }; then
24060 echo "$as_me:$LINENO: result: yes" >&5
24061 echo "${ECHO_T}yes" >&6
24062 cat >>confdefs.h
<<\_ACEOF
24063 #define HAVE_EXT_HASH_MAP 1
24066 cat >>confdefs.h
<<\_ACEOF
24067 #define HAVE_GNU_CXX_HASH_MAP 1
24071 echo "$as_me: failed program was:" >&5
24072 sed 's/^/| /' conftest.
$ac_ext >&5
24074 echo "$as_me:$LINENO: result: no" >&5
24075 echo "${ECHO_T}no" >&6
24077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24086 /usr/local/include \
24088 /usr/Motif-2.1/include \
24089 /usr/Motif-1.2/include \
24090 /usr/include/Motif1.2 \
24093 /usr/openwin/include \
24097 /usr/X11R6/include \
24098 /usr/X11R6.4/include \
24099 /usr/X11R5/include \
24100 /usr/X11R4/include \
24102 /usr/include/X11R6 \
24103 /usr/include/X11R5 \
24104 /usr/include/X11R4 \
24106 /usr/local/X11R6/include \
24107 /usr/local/X11R5/include \
24108 /usr/local/X11R4/include \
24110 /usr/local/include/X11R6 \
24111 /usr/local/include/X11R5 \
24112 /usr/local/include/X11R4 \
24116 /usr/local/X11/include \
24117 /usr/local/include/X11 \
24119 /usr/XFree86/include/X11 \
24122 /usr/openwin/share/include"
24124 echo "$as_me:$LINENO: checking for libraries directory" >&5
24125 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24129 if test "${wx_cv_std_libpath+set}" = set; then
24130 echo $ECHO_N "(cached) $ECHO_C" >&6
24133 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24134 for e
in a so sl dylib dll.a
; do
24136 if test -f $libc; then
24139 cat >conftest.
$ac_ext <<_ACEOF
24140 int main() { return 0; }
24142 rm -f conftest.
$ac_objext conftest
$ac_exeext
24143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24144 (eval $ac_link) 2>conftest.er1
24146 grep -v '^ *+' conftest.er1
>conftest.err
24148 cat conftest.err
>&5
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); } &&
24151 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24153 (eval $ac_try) 2>&5
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); }; } &&
24157 { ac_try
='test -s conftest$ac_exeext'
24158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24159 (eval $ac_try) 2>&5
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); }; }; then
24163 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24165 echo "$as_me: failed program was:" >&5
24166 sed 's/^/| /' conftest.
$ac_ext >&5
24169 rm -f conftest.err conftest.
$ac_objext \
24170 conftest
$ac_exeext conftest.
$ac_ext
24172 if test "x$wx_cv_std_libpath" != "x"; then
24178 if test "x$wx_cv_std_libpath" = "x"; then
24179 wx_cv_std_libpath
="lib"
24188 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24189 wx_cv_std_libpath
="lib/64"
24191 wx_cv_std_libpath
="lib"
24196 if test "$ac_cv_sizeof_void_p" = 8 -a \
24197 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24198 wx_cv_std_libpath
="lib64"
24200 wx_cv_std_libpath
="lib"
24205 wx_cv_std_libpath
="lib";
24209 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24210 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24212 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24214 if test "$build" != "$host" -a "$GCC" = yes; then
24215 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24216 cross_root
=`dirname $cross_root`
24217 cross_root
=`dirname $cross_root`
24219 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24220 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24221 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24223 if test -z "$PKG_CONFIG_PATH"; then
24224 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24225 export PKG_CONFIG_PATH
24228 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24231 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24233 if test -f "$ac_dir/X11/Intrinsic.h"; then
24234 ac_find_includes
=$ac_dir
24239 x_includes
=$ac_find_includes
24241 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24244 for ac_dir
in $SEARCH_LIB;
24246 for ac_extension
in a so sl dylib dll.a
; do
24247 if test -f "$ac_dir/libXt.$ac_extension"; then
24248 ac_find_libraries
=$ac_dir
24254 x_libraries
=$ac_find_libraries
24260 cat >confcache
<<\_ACEOF
24261 # This file is a shell script that caches the results of configure
24262 # tests run on this system so they can be shared between configure
24263 # scripts and configure runs, see configure's option --config-cache.
24264 # It is not useful on other systems. If it contains results you don't
24265 # want to keep, you may remove or edit it.
24267 # config.status only pays attention to the cache file if you give it
24268 # the --recheck option to rerun configure.
24270 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24271 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24272 # following values.
24276 # The following way of writing the cache mishandles newlines in values,
24277 # but we know of no workaround that is simple, portable, and efficient.
24278 # So, don't put newlines in cache variables' values.
24279 # Ultrix sh set writes to stderr and can't be redirected directly,
24280 # and sets the high bit in the cache file unless we assign to the vars.
24283 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24285 # `set' does not quote correctly, so add quotes (double-quote
24286 # substitution turns \\\\ into \\, and sed turns \\ into \).
24289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24292 # `set' quotes correctly as required by POSIX, so do not add quotes.
24294 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24301 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24303 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24305 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24306 if test -w $cache_file; then
24307 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24308 cat confcache
>$cache_file
24310 echo "not updating unwritable cache $cache_file"
24315 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24316 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24317 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24318 if test "${wx_cv_lib_glibc21+set}" = set; then
24319 echo $ECHO_N "(cached) $ECHO_C" >&6
24322 cat >conftest.
$ac_ext <<_ACEOF
24325 cat confdefs.h
>>conftest.
$ac_ext
24326 cat >>conftest.
$ac_ext <<_ACEOF
24327 /* end confdefs.h. */
24328 #include <features.h>
24333 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24341 rm -f conftest.
$ac_objext
24342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24343 (eval $ac_compile) 2>conftest.er1
24345 grep -v '^ *+' conftest.er1
>conftest.err
24347 cat conftest.err
>&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } &&
24350 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24352 (eval $ac_try) 2>&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); }; } &&
24356 { ac_try
='test -s conftest.$ac_objext'
24357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24358 (eval $ac_try) 2>&5
24360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24361 (exit $ac_status); }; }; then
24363 wx_cv_lib_glibc21
=yes
24366 echo "$as_me: failed program was:" >&5
24367 sed 's/^/| /' conftest.
$ac_ext >&5
24370 wx_cv_lib_glibc21
=no
24374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24377 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24378 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24379 if test "$wx_cv_lib_glibc21" = "yes"; then
24380 cat >>confdefs.h
<<\_ACEOF
24381 #define wxHAVE_GLIBC2 1
24387 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24388 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24389 cat >>confdefs.h
<<\_ACEOF
24390 #define _GNU_SOURCE 1
24401 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24402 echo "$as_me:$LINENO: checking for $ac_func" >&5
24403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24404 if eval "test \"\${$as_ac_var+set}\" = set"; then
24405 echo $ECHO_N "(cached) $ECHO_C" >&6
24407 cat >conftest.
$ac_ext <<_ACEOF
24410 cat confdefs.h
>>conftest.
$ac_ext
24411 cat >>conftest.
$ac_ext <<_ACEOF
24412 /* end confdefs.h. */
24413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24415 #define $ac_func innocuous_$ac_func
24417 /* System header to define __stub macros and hopefully few prototypes,
24418 which can conflict with char $ac_func (); below.
24419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24420 <limits.h> exists even on freestanding compilers. */
24423 # include <limits.h>
24425 # include <assert.h>
24430 /* Override any gcc2 internal prototype to avoid an error. */
24435 /* We use char because int might match the return type of a gcc2
24436 builtin and then its argument prototype would still apply. */
24438 /* The GNU C library defines this for functions which it implements
24439 to always fail with ENOSYS. Some functions are actually named
24440 something starting with __ and the normal name is an alias. */
24441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24444 char (*f) () = $ac_func;
24453 return f != $ac_func;
24458 rm -f conftest.
$ac_objext conftest
$ac_exeext
24459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24460 (eval $ac_link) 2>conftest.er1
24462 grep -v '^ *+' conftest.er1
>conftest.err
24464 cat conftest.err
>&5
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); } &&
24467 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24469 (eval $ac_try) 2>&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); }; } &&
24473 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
24479 eval "$as_ac_var=yes"
24481 echo "$as_me: failed program was:" >&5
24482 sed 's/^/| /' conftest.
$ac_ext >&5
24484 eval "$as_ac_var=no"
24486 rm -f conftest.err conftest.
$ac_objext \
24487 conftest
$ac_exeext conftest.
$ac_ext
24489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24491 if test `eval echo '${'$as_ac_var'}'` = yes; then
24492 cat >>confdefs.h
<<_ACEOF
24493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24500 for ac_func
in floor
24502 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24503 echo "$as_me:$LINENO: checking for $ac_func" >&5
24504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24505 if eval "test \"\${$as_ac_var+set}\" = set"; then
24506 echo $ECHO_N "(cached) $ECHO_C" >&6
24508 cat >conftest.
$ac_ext <<_ACEOF
24511 cat confdefs.h
>>conftest.
$ac_ext
24512 cat >>conftest.
$ac_ext <<_ACEOF
24513 /* end confdefs.h. */
24514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24516 #define $ac_func innocuous_$ac_func
24518 /* System header to define __stub macros and hopefully few prototypes,
24519 which can conflict with char $ac_func (); below.
24520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24521 <limits.h> exists even on freestanding compilers. */
24524 # include <limits.h>
24526 # include <assert.h>
24531 /* Override any gcc2 internal prototype to avoid an error. */
24536 /* We use char because int might match the return type of a gcc2
24537 builtin and then its argument prototype would still apply. */
24539 /* The GNU C library defines this for functions which it implements
24540 to always fail with ENOSYS. Some functions are actually named
24541 something starting with __ and the normal name is an alias. */
24542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24545 char (*f) () = $ac_func;
24554 return f != $ac_func;
24559 rm -f conftest.
$ac_objext conftest
$ac_exeext
24560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24561 (eval $ac_link) 2>conftest.er1
24563 grep -v '^ *+' conftest.er1
>conftest.err
24565 cat conftest.err
>&5
24566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24567 (exit $ac_status); } &&
24568 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24570 (eval $ac_try) 2>&5
24572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24573 (exit $ac_status); }; } &&
24574 { ac_try
='test -s conftest$ac_exeext'
24575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24576 (eval $ac_try) 2>&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); }; }; then
24580 eval "$as_ac_var=yes"
24582 echo "$as_me: failed program was:" >&5
24583 sed 's/^/| /' conftest.
$ac_ext >&5
24585 eval "$as_ac_var=no"
24587 rm -f conftest.err conftest.
$ac_objext \
24588 conftest
$ac_exeext conftest.
$ac_ext
24590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24592 if test `eval echo '${'$as_ac_var'}'` = yes; then
24593 cat >>confdefs.h
<<_ACEOF
24594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24600 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24601 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24602 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24603 echo "$as_me:$LINENO: result: yes" >&5
24604 echo "${ECHO_T}yes" >&6
24606 echo "$as_me:$LINENO: result: no" >&5
24607 echo "${ECHO_T}no" >&6
24609 # use different functions to avoid configure caching
24615 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24616 echo "$as_me:$LINENO: checking for $ac_func" >&5
24617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24618 if eval "test \"\${$as_ac_var+set}\" = set"; then
24619 echo $ECHO_N "(cached) $ECHO_C" >&6
24621 cat >conftest.
$ac_ext <<_ACEOF
24624 cat confdefs.h
>>conftest.
$ac_ext
24625 cat >>conftest.
$ac_ext <<_ACEOF
24626 /* end confdefs.h. */
24627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24629 #define $ac_func innocuous_$ac_func
24631 /* System header to define __stub macros and hopefully few prototypes,
24632 which can conflict with char $ac_func (); below.
24633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24634 <limits.h> exists even on freestanding compilers. */
24637 # include <limits.h>
24639 # include <assert.h>
24644 /* Override any gcc2 internal prototype to avoid an error. */
24649 /* We use char because int might match the return type of a gcc2
24650 builtin and then its argument prototype would still apply. */
24652 /* The GNU C library defines this for functions which it implements
24653 to always fail with ENOSYS. Some functions are actually named
24654 something starting with __ and the normal name is an alias. */
24655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24658 char (*f) () = $ac_func;
24667 return f != $ac_func;
24672 rm -f conftest.
$ac_objext conftest
$ac_exeext
24673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24674 (eval $ac_link) 2>conftest.er1
24676 grep -v '^ *+' conftest.er1
>conftest.err
24678 cat conftest.err
>&5
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); } &&
24681 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24683 (eval $ac_try) 2>&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); }; } &&
24687 { ac_try
='test -s conftest$ac_exeext'
24688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24689 (eval $ac_try) 2>&5
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); }; }; then
24693 eval "$as_ac_var=yes"
24695 echo "$as_me: failed program was:" >&5
24696 sed 's/^/| /' conftest.
$ac_ext >&5
24698 eval "$as_ac_var=no"
24700 rm -f conftest.err conftest.
$ac_objext \
24701 conftest
$ac_exeext conftest.
$ac_ext
24703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24705 if test `eval echo '${'$as_ac_var'}'` = yes; then
24706 cat >>confdefs.h
<<_ACEOF
24707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24714 for ac_func
in ceil
24716 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24717 echo "$as_me:$LINENO: checking for $ac_func" >&5
24718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24719 if eval "test \"\${$as_ac_var+set}\" = set"; then
24720 echo $ECHO_N "(cached) $ECHO_C" >&6
24722 cat >conftest.
$ac_ext <<_ACEOF
24725 cat confdefs.h
>>conftest.
$ac_ext
24726 cat >>conftest.
$ac_ext <<_ACEOF
24727 /* end confdefs.h. */
24728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24730 #define $ac_func innocuous_$ac_func
24732 /* System header to define __stub macros and hopefully few prototypes,
24733 which can conflict with char $ac_func (); below.
24734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24735 <limits.h> exists even on freestanding compilers. */
24738 # include <limits.h>
24740 # include <assert.h>
24745 /* Override any gcc2 internal prototype to avoid an error. */
24750 /* We use char because int might match the return type of a gcc2
24751 builtin and then its argument prototype would still apply. */
24753 /* The GNU C library defines this for functions which it implements
24754 to always fail with ENOSYS. Some functions are actually named
24755 something starting with __ and the normal name is an alias. */
24756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24759 char (*f) () = $ac_func;
24768 return f != $ac_func;
24773 rm -f conftest.
$ac_objext conftest
$ac_exeext
24774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24775 (eval $ac_link) 2>conftest.er1
24777 grep -v '^ *+' conftest.er1
>conftest.err
24779 cat conftest.err
>&5
24780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24781 (exit $ac_status); } &&
24782 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24784 (eval $ac_try) 2>&5
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); }; } &&
24788 { ac_try
='test -s conftest$ac_exeext'
24789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24790 (eval $ac_try) 2>&5
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); }; }; then
24794 eval "$as_ac_var=yes"
24796 echo "$as_me: failed program was:" >&5
24797 sed 's/^/| /' conftest.
$ac_ext >&5
24799 eval "$as_ac_var=no"
24801 rm -f conftest.err conftest.
$ac_objext \
24802 conftest
$ac_exeext conftest.
$ac_ext
24804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24806 if test `eval echo '${'$as_ac_var'}'` = yes; then
24807 cat >>confdefs.h
<<_ACEOF
24808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24814 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24815 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24816 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24817 echo "$as_me:$LINENO: result: yes" >&5
24818 echo "${ECHO_T}yes" >&6
24820 echo "$as_me:$LINENO: result: no" >&5
24821 echo "${ECHO_T}no" >&6
24822 # not sure we should warn the user, crash, etc.
24828 if test "$wxUSE_REGEX" != "no"; then
24829 cat >>confdefs.h
<<\_ACEOF
24830 #define wxUSE_REGEX 1
24834 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24835 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24836 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24837 wxUSE_REGEX
=builtin
24840 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24841 if test "${ac_cv_header_regex_h+set}" = set; then
24842 echo "$as_me:$LINENO: checking for regex.h" >&5
24843 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24844 if test "${ac_cv_header_regex_h+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24847 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24848 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24850 # Is the header compilable?
24851 echo "$as_me:$LINENO: checking regex.h usability" >&5
24852 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24853 cat >conftest.
$ac_ext <<_ACEOF
24856 cat confdefs.h
>>conftest.
$ac_ext
24857 cat >>conftest.
$ac_ext <<_ACEOF
24858 /* end confdefs.h. */
24859 $ac_includes_default
24862 rm -f conftest.
$ac_objext
24863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24864 (eval $ac_compile) 2>conftest.er1
24866 grep -v '^ *+' conftest.er1
>conftest.err
24868 cat conftest.err
>&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); } &&
24871 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24873 (eval $ac_try) 2>&5
24875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24876 (exit $ac_status); }; } &&
24877 { ac_try
='test -s conftest.$ac_objext'
24878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24879 (eval $ac_try) 2>&5
24881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24882 (exit $ac_status); }; }; then
24883 ac_header_compiler
=yes
24885 echo "$as_me: failed program was:" >&5
24886 sed 's/^/| /' conftest.
$ac_ext >&5
24888 ac_header_compiler
=no
24890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24892 echo "${ECHO_T}$ac_header_compiler" >&6
24894 # Is the header present?
24895 echo "$as_me:$LINENO: checking regex.h presence" >&5
24896 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24897 cat >conftest.
$ac_ext <<_ACEOF
24900 cat confdefs.h
>>conftest.
$ac_ext
24901 cat >>conftest.
$ac_ext <<_ACEOF
24902 /* end confdefs.h. */
24905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24906 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24908 grep -v '^ *+' conftest.er1
>conftest.err
24910 cat conftest.err
>&5
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); } >/dev
/null
; then
24913 if test -s conftest.err
; then
24914 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24915 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24922 if test -z "$ac_cpp_err"; then
24923 ac_header_preproc
=yes
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.
$ac_ext >&5
24928 ac_header_preproc
=no
24930 rm -f conftest.err conftest.
$ac_ext
24931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24932 echo "${ECHO_T}$ac_header_preproc" >&6
24934 # So? What about this header?
24935 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24937 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24938 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24939 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24940 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24941 ac_header_preproc
=yes
24944 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24945 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24946 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24947 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24948 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24949 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24950 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24951 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24952 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24953 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24954 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24955 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24958 ## ----------------------------------------- ##
24959 ## Report this to wx-dev@lists.wxwidgets.org ##
24960 ## ----------------------------------------- ##
24963 sed "s/^/$as_me: WARNING: /" >&2
24966 echo "$as_me:$LINENO: checking for regex.h" >&5
24967 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24968 if test "${ac_cv_header_regex_h+set}" = set; then
24969 echo $ECHO_N "(cached) $ECHO_C" >&6
24971 ac_cv_header_regex_h
=$ac_header_preproc
24973 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24974 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24977 if test $ac_cv_header_regex_h = yes; then
24980 for ac_func
in regcomp re_search
24982 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24983 echo "$as_me:$LINENO: checking for $ac_func" >&5
24984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24985 if eval "test \"\${$as_ac_var+set}\" = set"; then
24986 echo $ECHO_N "(cached) $ECHO_C" >&6
24988 cat >conftest.
$ac_ext <<_ACEOF
24991 cat confdefs.h
>>conftest.
$ac_ext
24992 cat >>conftest.
$ac_ext <<_ACEOF
24993 /* end confdefs.h. */
24994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24996 #define $ac_func innocuous_$ac_func
24998 /* System header to define __stub macros and hopefully few prototypes,
24999 which can conflict with char $ac_func (); below.
25000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25001 <limits.h> exists even on freestanding compilers. */
25004 # include <limits.h>
25006 # include <assert.h>
25011 /* Override any gcc2 internal prototype to avoid an error. */
25016 /* We use char because int might match the return type of a gcc2
25017 builtin and then its argument prototype would still apply. */
25019 /* The GNU C library defines this for functions which it implements
25020 to always fail with ENOSYS. Some functions are actually named
25021 something starting with __ and the normal name is an alias. */
25022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25025 char (*f) () = $ac_func;
25034 return f != $ac_func;
25039 rm -f conftest.
$ac_objext conftest
$ac_exeext
25040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25041 (eval $ac_link) 2>conftest.er1
25043 grep -v '^ *+' conftest.er1
>conftest.err
25045 cat conftest.err
>&5
25046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25047 (exit $ac_status); } &&
25048 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25050 (eval $ac_try) 2>&5
25052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25053 (exit $ac_status); }; } &&
25054 { ac_try
='test -s conftest$ac_exeext'
25055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25056 (eval $ac_try) 2>&5
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); }; }; then
25060 eval "$as_ac_var=yes"
25062 echo "$as_me: failed program was:" >&5
25063 sed 's/^/| /' conftest.
$ac_ext >&5
25065 eval "$as_ac_var=no"
25067 rm -f conftest.err conftest.
$ac_objext \
25068 conftest
$ac_exeext conftest.
$ac_ext
25070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25072 if test `eval echo '${'$as_ac_var'}'` = yes; then
25073 cat >>confdefs.h
<<_ACEOF
25074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25084 if test "x$ac_cv_func_regcomp" != "xyes"; then
25085 if test "$wxUSE_REGEX" = "sys" ; then
25086 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25087 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25088 { (exit 1); exit 1; }; }
25090 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25091 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25092 wxUSE_REGEX
=builtin
25096 cat >>confdefs.h
<<\_ACEOF
25097 #define WX_NO_REGEX_ADVANCED 1
25106 if test "$wxUSE_ZLIB" != "no" ; then
25107 cat >>confdefs.h
<<\_ACEOF
25108 #define wxUSE_ZLIB 1
25112 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25113 if test "$USE_DARWIN" = 1; then
25114 system_zlib_h_ok
="yes"
25116 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25117 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25118 if test "${ac_cv_header_zlib_h+set}" = set; then
25119 echo $ECHO_N "(cached) $ECHO_C" >&6
25121 if test "$cross_compiling" = yes; then
25122 unset ac_cv_header_zlib_h
25125 cat >conftest.
$ac_ext <<_ACEOF
25128 cat confdefs.h
>>conftest.
$ac_ext
25129 cat >>conftest.
$ac_ext <<_ACEOF
25130 /* end confdefs.h. */
25137 FILE *f=fopen("conftestval", "w");
25140 ZLIB_VERSION[0] == '1' &&
25141 (ZLIB_VERSION[2] > '1' ||
25142 (ZLIB_VERSION[2] == '1' &&
25143 ZLIB_VERSION[4] >= '4')) ? "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_zlib_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_zlib_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_zlib_h" >&5
25173 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25174 if test "${ac_cv_header_zlib_h+set}" = set; then
25175 echo "$as_me:$LINENO: checking for zlib.h" >&5
25176 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25177 if test "${ac_cv_header_zlib_h+set}" = set; then
25178 echo $ECHO_N "(cached) $ECHO_C" >&6
25180 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25181 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25183 # Is the header compilable?
25184 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25185 echo $ECHO_N "checking zlib.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" || test ! -s conftest.err'
25205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25206 (eval $ac_try) 2>&5
25208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25209 (exit $ac_status); }; } &&
25210 { ac_try
='test -s conftest.$ac_objext'
25211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25212 (eval $ac_try) 2>&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); }; }; then
25216 ac_header_compiler
=yes
25218 echo "$as_me: failed program was:" >&5
25219 sed 's/^/| /' conftest.
$ac_ext >&5
25221 ac_header_compiler
=no
25223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25224 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25225 echo "${ECHO_T}$ac_header_compiler" >&6
25227 # Is the header present?
25228 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25229 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25230 cat >conftest.
$ac_ext <<_ACEOF
25233 cat confdefs.h
>>conftest.
$ac_ext
25234 cat >>conftest.
$ac_ext <<_ACEOF
25235 /* end confdefs.h. */
25238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25239 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25241 grep -v '^ *+' conftest.er1
>conftest.err
25243 cat conftest.err
>&5
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); } >/dev
/null
; then
25246 if test -s conftest.err
; then
25247 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25248 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25255 if test -z "$ac_cpp_err"; then
25256 ac_header_preproc
=yes
25258 echo "$as_me: failed program was:" >&5
25259 sed 's/^/| /' conftest.
$ac_ext >&5
25261 ac_header_preproc
=no
25263 rm -f conftest.err conftest.
$ac_ext
25264 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25265 echo "${ECHO_T}$ac_header_preproc" >&6
25267 # So? What about this header?
25268 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25270 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25271 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25272 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25273 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25274 ac_header_preproc
=yes
25277 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25278 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25279 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25280 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25281 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25282 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25283 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25284 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25285 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25286 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25287 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25288 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25291 ## ----------------------------------------- ##
25292 ## Report this to wx-dev@lists.wxwidgets.org ##
25293 ## ----------------------------------------- ##
25296 sed "s/^/$as_me: WARNING: /" >&2
25299 echo "$as_me:$LINENO: checking for zlib.h" >&5
25300 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25301 if test "${ac_cv_header_zlib_h+set}" = set; then
25302 echo $ECHO_N "(cached) $ECHO_C" >&6
25304 ac_cv_header_zlib_h
=$ac_header_preproc
25306 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25307 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25313 system_zlib_h_ok
=$ac_cv_header_zlib_h
25316 if test "$system_zlib_h_ok" = "yes"; then
25317 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25318 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25319 if test "${ac_cv_lib_z_deflate+set}" = set; then
25320 echo $ECHO_N "(cached) $ECHO_C" >&6
25322 ac_check_lib_save_LIBS
=$LIBS
25324 cat >conftest.
$ac_ext <<_ACEOF
25327 cat confdefs.h
>>conftest.
$ac_ext
25328 cat >>conftest.
$ac_ext <<_ACEOF
25329 /* end confdefs.h. */
25331 /* Override any gcc2 internal prototype to avoid an error. */
25335 /* We use char because int might match the return type of a gcc2
25336 builtin and then its argument prototype would still apply. */
25346 rm -f conftest.
$ac_objext conftest
$ac_exeext
25347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25348 (eval $ac_link) 2>conftest.er1
25350 grep -v '^ *+' conftest.er1
>conftest.err
25352 cat conftest.err
>&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } &&
25355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25357 (eval $ac_try) 2>&5
25359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25360 (exit $ac_status); }; } &&
25361 { ac_try
='test -s conftest$ac_exeext'
25362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25363 (eval $ac_try) 2>&5
25365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25366 (exit $ac_status); }; }; then
25367 ac_cv_lib_z_deflate
=yes
25369 echo "$as_me: failed program was:" >&5
25370 sed 's/^/| /' conftest.
$ac_ext >&5
25372 ac_cv_lib_z_deflate
=no
25374 rm -f conftest.err conftest.
$ac_objext \
25375 conftest
$ac_exeext conftest.
$ac_ext
25376 LIBS
=$ac_check_lib_save_LIBS
25378 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25379 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25380 if test $ac_cv_lib_z_deflate = yes; then
25386 if test "x$ZLIB_LINK" = "x" ; then
25387 if test "$wxUSE_ZLIB" = "sys" ; then
25388 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25389 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25390 { (exit 1); exit 1; }; }
25392 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25393 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25404 if test "$wxUSE_LIBPNG" != "no" ; then
25405 cat >>confdefs.h
<<\_ACEOF
25406 #define wxUSE_LIBPNG 1
25410 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25411 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25412 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25416 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25417 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25418 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25419 wxUSE_LIBPNG
=builtin
25422 if test "$wxUSE_MGL" != 1 ; then
25423 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25424 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25425 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25426 if test "${ac_cv_header_png_h+set}" = set; then
25427 echo $ECHO_N "(cached) $ECHO_C" >&6
25429 if test "$cross_compiling" = yes; then
25430 unset ac_cv_header_png_h
25433 cat >conftest.
$ac_ext <<_ACEOF
25436 cat confdefs.h
>>conftest.
$ac_ext
25437 cat >>conftest.
$ac_ext <<_ACEOF
25438 /* end confdefs.h. */
25445 FILE *f=fopen("conftestval", "w");
25448 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25453 rm -f conftest
$ac_exeext
25454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25455 (eval $ac_link) 2>&5
25457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25458 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25460 (eval $ac_try) 2>&5
25462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463 (exit $ac_status); }; }; then
25464 ac_cv_header_png_h
=`cat conftestval`
25466 echo "$as_me: program exited with status $ac_status" >&5
25467 echo "$as_me: failed program was:" >&5
25468 sed 's/^/| /' conftest.
$ac_ext >&5
25470 ( exit $ac_status )
25471 ac_cv_header_png_h
=no
25473 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25477 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25478 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25479 if test "${ac_cv_header_png_h+set}" = set; then
25480 echo "$as_me:$LINENO: checking for png.h" >&5
25481 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25482 if test "${ac_cv_header_png_h+set}" = set; then
25483 echo $ECHO_N "(cached) $ECHO_C" >&6
25485 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25486 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25488 # Is the header compilable?
25489 echo "$as_me:$LINENO: checking png.h usability" >&5
25490 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25491 cat >conftest.
$ac_ext <<_ACEOF
25494 cat confdefs.h
>>conftest.
$ac_ext
25495 cat >>conftest.
$ac_ext <<_ACEOF
25496 /* end confdefs.h. */
25497 $ac_includes_default
25500 rm -f conftest.
$ac_objext
25501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25502 (eval $ac_compile) 2>conftest.er1
25504 grep -v '^ *+' conftest.er1
>conftest.err
25506 cat conftest.err
>&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); } &&
25509 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; } &&
25515 { ac_try
='test -s conftest.$ac_objext'
25516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25517 (eval $ac_try) 2>&5
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); }; }; then
25521 ac_header_compiler
=yes
25523 echo "$as_me: failed program was:" >&5
25524 sed 's/^/| /' conftest.
$ac_ext >&5
25526 ac_header_compiler
=no
25528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25530 echo "${ECHO_T}$ac_header_compiler" >&6
25532 # Is the header present?
25533 echo "$as_me:$LINENO: checking png.h presence" >&5
25534 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25535 cat >conftest.
$ac_ext <<_ACEOF
25538 cat confdefs.h
>>conftest.
$ac_ext
25539 cat >>conftest.
$ac_ext <<_ACEOF
25540 /* end confdefs.h. */
25543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25546 grep -v '^ *+' conftest.er1
>conftest.err
25548 cat conftest.err
>&5
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); } >/dev
/null
; then
25551 if test -s conftest.err
; then
25552 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25553 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25560 if test -z "$ac_cpp_err"; then
25561 ac_header_preproc
=yes
25563 echo "$as_me: failed program was:" >&5
25564 sed 's/^/| /' conftest.
$ac_ext >&5
25566 ac_header_preproc
=no
25568 rm -f conftest.err conftest.
$ac_ext
25569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25570 echo "${ECHO_T}$ac_header_preproc" >&6
25572 # So? What about this header?
25573 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25575 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25576 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25577 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25578 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25579 ac_header_preproc
=yes
25582 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25583 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25584 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25585 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25586 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25587 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25588 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25589 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25590 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25591 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25592 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25593 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25596 ## ----------------------------------------- ##
25597 ## Report this to wx-dev@lists.wxwidgets.org ##
25598 ## ----------------------------------------- ##
25601 sed "s/^/$as_me: WARNING: /" >&2
25604 echo "$as_me:$LINENO: checking for png.h" >&5
25605 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25606 if test "${ac_cv_header_png_h+set}" = set; then
25607 echo $ECHO_N "(cached) $ECHO_C" >&6
25609 ac_cv_header_png_h
=$ac_header_preproc
25611 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25612 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25618 if test "$ac_cv_header_png_h" = "yes"; then
25619 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25620 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25621 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 ac_check_lib_save_LIBS
=$LIBS
25625 LIBS
="-lpng -lz -lm $LIBS"
25626 cat >conftest.
$ac_ext <<_ACEOF
25629 cat confdefs.h
>>conftest.
$ac_ext
25630 cat >>conftest.
$ac_ext <<_ACEOF
25631 /* end confdefs.h. */
25633 /* Override any gcc2 internal prototype to avoid an error. */
25637 /* We use char because int might match the return type of a gcc2
25638 builtin and then its argument prototype would still apply. */
25639 char png_check_sig ();
25648 rm -f conftest.
$ac_objext conftest
$ac_exeext
25649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25650 (eval $ac_link) 2>conftest.er1
25652 grep -v '^ *+' conftest.er1
>conftest.err
25654 cat conftest.err
>&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); } &&
25657 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25659 (eval $ac_try) 2>&5
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); }; } &&
25663 { ac_try
='test -s conftest$ac_exeext'
25664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25665 (eval $ac_try) 2>&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); }; }; then
25669 ac_cv_lib_png_png_check_sig
=yes
25671 echo "$as_me: failed program was:" >&5
25672 sed 's/^/| /' conftest.
$ac_ext >&5
25674 ac_cv_lib_png_png_check_sig
=no
25676 rm -f conftest.err conftest.
$ac_objext \
25677 conftest
$ac_exeext conftest.
$ac_ext
25678 LIBS
=$ac_check_lib_save_LIBS
25680 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25681 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25682 if test $ac_cv_lib_png_png_check_sig = yes; then
25683 PNG_LINK
=" -lpng -lz"
25688 if test "x$PNG_LINK" = "x" ; then
25689 if test "$wxUSE_LIBPNG" = "sys" ; then
25690 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25691 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25692 { (exit 1); exit 1; }; }
25694 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25695 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25696 wxUSE_LIBPNG
=builtin
25704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25709 if test "$wxUSE_LIBJPEG" != "no" ; then
25710 cat >>confdefs.h
<<\_ACEOF
25711 #define wxUSE_LIBJPEG 1
25715 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25716 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25717 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25721 if test "$wxUSE_MGL" != 1 ; then
25722 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25723 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25724 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25725 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25726 echo $ECHO_N "(cached) $ECHO_C" >&6
25728 cat >conftest.
$ac_ext <<_ACEOF
25731 cat confdefs.h
>>conftest.
$ac_ext
25732 cat >>conftest.
$ac_ext <<_ACEOF
25733 /* end confdefs.h. */
25735 #undef HAVE_STDLIB_H
25737 #include <jpeglib.h>
25748 rm -f conftest.
$ac_objext
25749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25750 (eval $ac_compile) 2>conftest.er1
25752 grep -v '^ *+' conftest.er1
>conftest.err
25754 cat conftest.err
>&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); } &&
25757 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25759 (eval $ac_try) 2>&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); }; } &&
25763 { ac_try
='test -s conftest.$ac_objext'
25764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25765 (eval $ac_try) 2>&5
25767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25768 (exit $ac_status); }; }; then
25769 ac_cv_header_jpeglib_h
=yes
25771 echo "$as_me: failed program was:" >&5
25772 sed 's/^/| /' conftest.
$ac_ext >&5
25774 ac_cv_header_jpeglib_h
=no
25777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25781 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25782 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25784 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25785 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25786 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25787 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25788 echo $ECHO_N "(cached) $ECHO_C" >&6
25790 ac_check_lib_save_LIBS
=$LIBS
25791 LIBS
="-ljpeg $LIBS"
25792 cat >conftest.
$ac_ext <<_ACEOF
25795 cat confdefs.h
>>conftest.
$ac_ext
25796 cat >>conftest.
$ac_ext <<_ACEOF
25797 /* end confdefs.h. */
25799 /* Override any gcc2 internal prototype to avoid an error. */
25803 /* We use char because int might match the return type of a gcc2
25804 builtin and then its argument prototype would still apply. */
25805 char jpeg_read_header ();
25809 jpeg_read_header ();
25814 rm -f conftest.
$ac_objext conftest
$ac_exeext
25815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25816 (eval $ac_link) 2>conftest.er1
25818 grep -v '^ *+' conftest.er1
>conftest.err
25820 cat conftest.err
>&5
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); } &&
25823 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25825 (eval $ac_try) 2>&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); }; } &&
25829 { ac_try
='test -s conftest$ac_exeext'
25830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25831 (eval $ac_try) 2>&5
25833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834 (exit $ac_status); }; }; then
25835 ac_cv_lib_jpeg_jpeg_read_header
=yes
25837 echo "$as_me: failed program was:" >&5
25838 sed 's/^/| /' conftest.
$ac_ext >&5
25840 ac_cv_lib_jpeg_jpeg_read_header
=no
25842 rm -f conftest.err conftest.
$ac_objext \
25843 conftest
$ac_exeext conftest.
$ac_ext
25844 LIBS
=$ac_check_lib_save_LIBS
25846 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25847 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25848 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25849 JPEG_LINK
=" -ljpeg"
25854 if test "x$JPEG_LINK" = "x" ; then
25855 if test "$wxUSE_LIBJPEG" = "sys" ; then
25856 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25857 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25858 { (exit 1); exit 1; }; }
25860 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25861 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25862 wxUSE_LIBJPEG
=builtin
25873 TIFF_PREREQ_LINKS
=-lm
25874 if test "$wxUSE_LIBTIFF" != "no" ; then
25875 cat >>confdefs.h
<<\_ACEOF
25876 #define wxUSE_LIBTIFF 1
25880 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25881 if test "$wxUSE_LIBJPEG" = "sys"; then
25882 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25884 if test "$wxUSE_ZLIB" = "sys"; then
25885 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25887 if test "${ac_cv_header_tiffio_h+set}" = set; then
25888 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25889 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25890 if test "${ac_cv_header_tiffio_h+set}" = set; then
25891 echo $ECHO_N "(cached) $ECHO_C" >&6
25893 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25894 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25896 # Is the header compilable?
25897 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25898 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25899 cat >conftest.
$ac_ext <<_ACEOF
25902 cat confdefs.h
>>conftest.
$ac_ext
25903 cat >>conftest.
$ac_ext <<_ACEOF
25904 /* end confdefs.h. */
25905 $ac_includes_default
25906 #include <tiffio.h>
25908 rm -f conftest.
$ac_objext
25909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25910 (eval $ac_compile) 2>conftest.er1
25912 grep -v '^ *+' conftest.er1
>conftest.err
25914 cat conftest.err
>&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); } &&
25917 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25919 (eval $ac_try) 2>&5
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); }; } &&
25923 { ac_try
='test -s conftest.$ac_objext'
25924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25925 (eval $ac_try) 2>&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); }; }; then
25929 ac_header_compiler
=yes
25931 echo "$as_me: failed program was:" >&5
25932 sed 's/^/| /' conftest.
$ac_ext >&5
25934 ac_header_compiler
=no
25936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25937 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25938 echo "${ECHO_T}$ac_header_compiler" >&6
25940 # Is the header present?
25941 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25942 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25943 cat >conftest.
$ac_ext <<_ACEOF
25946 cat confdefs.h
>>conftest.
$ac_ext
25947 cat >>conftest.
$ac_ext <<_ACEOF
25948 /* end confdefs.h. */
25949 #include <tiffio.h>
25951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25952 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25954 grep -v '^ *+' conftest.er1
>conftest.err
25956 cat conftest.err
>&5
25957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958 (exit $ac_status); } >/dev
/null
; then
25959 if test -s conftest.err
; then
25960 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25961 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25968 if test -z "$ac_cpp_err"; then
25969 ac_header_preproc
=yes
25971 echo "$as_me: failed program was:" >&5
25972 sed 's/^/| /' conftest.
$ac_ext >&5
25974 ac_header_preproc
=no
25976 rm -f conftest.err conftest.
$ac_ext
25977 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25978 echo "${ECHO_T}$ac_header_preproc" >&6
25980 # So? What about this header?
25981 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25983 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25984 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25985 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25986 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25987 ac_header_preproc
=yes
25990 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25991 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25992 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25993 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25994 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25995 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25996 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25997 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25998 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25999 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26000 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26001 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26004 ## ----------------------------------------- ##
26005 ## Report this to wx-dev@lists.wxwidgets.org ##
26006 ## ----------------------------------------- ##
26009 sed "s/^/$as_me: WARNING: /" >&2
26012 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26013 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26014 if test "${ac_cv_header_tiffio_h+set}" = set; then
26015 echo $ECHO_N "(cached) $ECHO_C" >&6
26017 ac_cv_header_tiffio_h
=$ac_header_preproc
26019 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26020 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26023 if test $ac_cv_header_tiffio_h = yes; then
26025 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26026 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26027 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26028 echo $ECHO_N "(cached) $ECHO_C" >&6
26030 ac_check_lib_save_LIBS
=$LIBS
26031 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26032 cat >conftest.
$ac_ext <<_ACEOF
26035 cat confdefs.h
>>conftest.
$ac_ext
26036 cat >>conftest.
$ac_ext <<_ACEOF
26037 /* end confdefs.h. */
26039 /* Override any gcc2 internal prototype to avoid an error. */
26043 /* We use char because int might match the return type of a gcc2
26044 builtin and then its argument prototype would still apply. */
26054 rm -f conftest.
$ac_objext conftest
$ac_exeext
26055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26056 (eval $ac_link) 2>conftest.er1
26058 grep -v '^ *+' conftest.er1
>conftest.err
26060 cat conftest.err
>&5
26061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26062 (exit $ac_status); } &&
26063 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26065 (eval $ac_try) 2>&5
26067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26068 (exit $ac_status); }; } &&
26069 { ac_try
='test -s conftest$ac_exeext'
26070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26071 (eval $ac_try) 2>&5
26073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26074 (exit $ac_status); }; }; then
26075 ac_cv_lib_tiff_TIFFError
=yes
26077 echo "$as_me: failed program was:" >&5
26078 sed 's/^/| /' conftest.
$ac_ext >&5
26080 ac_cv_lib_tiff_TIFFError
=no
26082 rm -f conftest.err conftest.
$ac_objext \
26083 conftest
$ac_exeext conftest.
$ac_ext
26084 LIBS
=$ac_check_lib_save_LIBS
26086 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26087 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26088 if test $ac_cv_lib_tiff_TIFFError = yes; then
26089 TIFF_LINK
=" -ltiff"
26098 if test "x$TIFF_LINK" = "x" ; then
26099 if test "$wxUSE_LIBTIFF" = "sys" ; then
26100 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26101 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26102 { (exit 1); exit 1; }; }
26104 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26105 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26106 wxUSE_LIBTIFF
=builtin
26115 if test "$wxUSE_WCHAR_T" != "yes"; then
26116 if test "$wxUSE_EXPAT" != "no"; then
26117 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26118 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26121 if test "$wxUSE_XML" != "no"; then
26122 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26123 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26128 if test "$wxUSE_EXPAT" != "no"; then
26130 cat >>confdefs.h
<<\_ACEOF
26131 #define wxUSE_EXPAT 1
26134 cat >>confdefs.h
<<\_ACEOF
26135 #define wxUSE_XML 1
26139 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26140 if test "${ac_cv_header_expat_h+set}" = set; then
26141 echo "$as_me:$LINENO: checking for expat.h" >&5
26142 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26143 if test "${ac_cv_header_expat_h+set}" = set; then
26144 echo $ECHO_N "(cached) $ECHO_C" >&6
26146 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26147 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26149 # Is the header compilable?
26150 echo "$as_me:$LINENO: checking expat.h usability" >&5
26151 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26152 cat >conftest.
$ac_ext <<_ACEOF
26155 cat confdefs.h
>>conftest.
$ac_ext
26156 cat >>conftest.
$ac_ext <<_ACEOF
26157 /* end confdefs.h. */
26158 $ac_includes_default
26161 rm -f conftest.
$ac_objext
26162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26163 (eval $ac_compile) 2>conftest.er1
26165 grep -v '^ *+' conftest.er1
>conftest.err
26167 cat conftest.err
>&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } &&
26170 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26172 (eval $ac_try) 2>&5
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); }; } &&
26176 { ac_try
='test -s conftest.$ac_objext'
26177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26178 (eval $ac_try) 2>&5
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); }; }; then
26182 ac_header_compiler
=yes
26184 echo "$as_me: failed program was:" >&5
26185 sed 's/^/| /' conftest.
$ac_ext >&5
26187 ac_header_compiler
=no
26189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26191 echo "${ECHO_T}$ac_header_compiler" >&6
26193 # Is the header present?
26194 echo "$as_me:$LINENO: checking expat.h presence" >&5
26195 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26196 cat >conftest.
$ac_ext <<_ACEOF
26199 cat confdefs.h
>>conftest.
$ac_ext
26200 cat >>conftest.
$ac_ext <<_ACEOF
26201 /* end confdefs.h. */
26204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26205 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26207 grep -v '^ *+' conftest.er1
>conftest.err
26209 cat conftest.err
>&5
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); } >/dev
/null
; then
26212 if test -s conftest.err
; then
26213 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26214 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26221 if test -z "$ac_cpp_err"; then
26222 ac_header_preproc
=yes
26224 echo "$as_me: failed program was:" >&5
26225 sed 's/^/| /' conftest.
$ac_ext >&5
26227 ac_header_preproc
=no
26229 rm -f conftest.err conftest.
$ac_ext
26230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26231 echo "${ECHO_T}$ac_header_preproc" >&6
26233 # So? What about this header?
26234 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26236 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26237 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26238 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26239 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26240 ac_header_preproc
=yes
26243 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26244 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26245 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26246 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26247 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26248 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26249 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26250 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26251 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26252 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26253 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26254 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26257 ## ----------------------------------------- ##
26258 ## Report this to wx-dev@lists.wxwidgets.org ##
26259 ## ----------------------------------------- ##
26262 sed "s/^/$as_me: WARNING: /" >&2
26265 echo "$as_me:$LINENO: checking for expat.h" >&5
26266 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26267 if test "${ac_cv_header_expat_h+set}" = set; then
26268 echo $ECHO_N "(cached) $ECHO_C" >&6
26270 ac_cv_header_expat_h
=$ac_header_preproc
26272 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26273 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26276 if test $ac_cv_header_expat_h = yes; then
26281 if test "x$found_expat_h" = "x1"; then
26282 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26283 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26284 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26285 echo $ECHO_N "(cached) $ECHO_C" >&6
26288 cat >conftest.
$ac_ext <<_ACEOF
26291 cat confdefs.h
>>conftest.
$ac_ext
26292 cat >>conftest.
$ac_ext <<_ACEOF
26293 /* end confdefs.h. */
26303 rm -f conftest.
$ac_objext
26304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26305 (eval $ac_compile) 2>conftest.er1
26307 grep -v '^ *+' conftest.er1
>conftest.err
26309 cat conftest.err
>&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); } &&
26312 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26314 (eval $ac_try) 2>&5
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); }; } &&
26318 { ac_try
='test -s conftest.$ac_objext'
26319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26320 (eval $ac_try) 2>&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); }; }; then
26324 wx_cv_expat_is_not_broken
=yes
26326 echo "$as_me: failed program was:" >&5
26327 sed 's/^/| /' conftest.
$ac_ext >&5
26329 wx_cv_expat_is_not_broken
=no
26332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26336 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26337 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26338 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26339 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26340 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26341 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26342 echo $ECHO_N "(cached) $ECHO_C" >&6
26344 ac_check_lib_save_LIBS
=$LIBS
26345 LIBS
="-lexpat $LIBS"
26346 cat >conftest.
$ac_ext <<_ACEOF
26349 cat confdefs.h
>>conftest.
$ac_ext
26350 cat >>conftest.
$ac_ext <<_ACEOF
26351 /* end confdefs.h. */
26353 /* Override any gcc2 internal prototype to avoid an error. */
26357 /* We use char because int might match the return type of a gcc2
26358 builtin and then its argument prototype would still apply. */
26359 char XML_ParserCreate ();
26363 XML_ParserCreate ();
26368 rm -f conftest.
$ac_objext conftest
$ac_exeext
26369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26370 (eval $ac_link) 2>conftest.er1
26372 grep -v '^ *+' conftest.er1
>conftest.err
26374 cat conftest.err
>&5
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); } &&
26377 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26379 (eval $ac_try) 2>&5
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); }; } &&
26383 { ac_try
='test -s conftest$ac_exeext'
26384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26385 (eval $ac_try) 2>&5
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); }; }; then
26389 ac_cv_lib_expat_XML_ParserCreate
=yes
26391 echo "$as_me: failed program was:" >&5
26392 sed 's/^/| /' conftest.
$ac_ext >&5
26394 ac_cv_lib_expat_XML_ParserCreate
=no
26396 rm -f conftest.err conftest.
$ac_objext \
26397 conftest
$ac_exeext conftest.
$ac_ext
26398 LIBS
=$ac_check_lib_save_LIBS
26400 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26401 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26402 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26403 EXPAT_LINK
=" -lexpat"
26408 if test "x$EXPAT_LINK" = "x" ; then
26409 if test "$wxUSE_EXPAT" = "sys" ; then
26410 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26411 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26412 { (exit 1); exit 1; }; }
26414 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26415 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26416 wxUSE_EXPAT
=builtin
26422 if test "$wxUSE_EXPAT" = "builtin" ; then
26425 subdirs
="$subdirs src/expat"
26432 if test "$wxUSE_LIBMSPACK" != "no"; then
26433 if test "${ac_cv_header_mspack_h+set}" = set; then
26434 echo "$as_me:$LINENO: checking for mspack.h" >&5
26435 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26436 if test "${ac_cv_header_mspack_h+set}" = set; then
26437 echo $ECHO_N "(cached) $ECHO_C" >&6
26439 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26440 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26442 # Is the header compilable?
26443 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26444 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26445 cat >conftest.
$ac_ext <<_ACEOF
26448 cat confdefs.h
>>conftest.
$ac_ext
26449 cat >>conftest.
$ac_ext <<_ACEOF
26450 /* end confdefs.h. */
26451 $ac_includes_default
26452 #include <mspack.h>
26454 rm -f conftest.
$ac_objext
26455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26456 (eval $ac_compile) 2>conftest.er1
26458 grep -v '^ *+' conftest.er1
>conftest.err
26460 cat conftest.err
>&5
26461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462 (exit $ac_status); } &&
26463 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26465 (eval $ac_try) 2>&5
26467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468 (exit $ac_status); }; } &&
26469 { ac_try
='test -s conftest.$ac_objext'
26470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26471 (eval $ac_try) 2>&5
26473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474 (exit $ac_status); }; }; then
26475 ac_header_compiler
=yes
26477 echo "$as_me: failed program was:" >&5
26478 sed 's/^/| /' conftest.
$ac_ext >&5
26480 ac_header_compiler
=no
26482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26484 echo "${ECHO_T}$ac_header_compiler" >&6
26486 # Is the header present?
26487 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26488 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26489 cat >conftest.
$ac_ext <<_ACEOF
26492 cat confdefs.h
>>conftest.
$ac_ext
26493 cat >>conftest.
$ac_ext <<_ACEOF
26494 /* end confdefs.h. */
26495 #include <mspack.h>
26497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26498 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26500 grep -v '^ *+' conftest.er1
>conftest.err
26502 cat conftest.err
>&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); } >/dev
/null
; then
26505 if test -s conftest.err
; then
26506 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26507 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26514 if test -z "$ac_cpp_err"; then
26515 ac_header_preproc
=yes
26517 echo "$as_me: failed program was:" >&5
26518 sed 's/^/| /' conftest.
$ac_ext >&5
26520 ac_header_preproc
=no
26522 rm -f conftest.err conftest.
$ac_ext
26523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26524 echo "${ECHO_T}$ac_header_preproc" >&6
26526 # So? What about this header?
26527 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26529 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26530 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26531 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26532 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26533 ac_header_preproc
=yes
26536 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26537 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26538 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26539 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26540 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26541 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26542 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26543 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26544 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26545 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26546 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26547 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26550 ## ----------------------------------------- ##
26551 ## Report this to wx-dev@lists.wxwidgets.org ##
26552 ## ----------------------------------------- ##
26555 sed "s/^/$as_me: WARNING: /" >&2
26558 echo "$as_me:$LINENO: checking for mspack.h" >&5
26559 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26560 if test "${ac_cv_header_mspack_h+set}" = set; then
26561 echo $ECHO_N "(cached) $ECHO_C" >&6
26563 ac_cv_header_mspack_h
=$ac_header_preproc
26565 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26566 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26569 if test $ac_cv_header_mspack_h = yes; then
26574 if test "x$found_mspack_h" = "x1"; then
26575 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26576 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26577 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26578 echo $ECHO_N "(cached) $ECHO_C" >&6
26580 ac_check_lib_save_LIBS
=$LIBS
26581 LIBS
="-lmspack $LIBS"
26582 cat >conftest.
$ac_ext <<_ACEOF
26585 cat confdefs.h
>>conftest.
$ac_ext
26586 cat >>conftest.
$ac_ext <<_ACEOF
26587 /* end confdefs.h. */
26589 /* Override any gcc2 internal prototype to avoid an error. */
26593 /* We use char because int might match the return type of a gcc2
26594 builtin and then its argument prototype would still apply. */
26595 char mspack_create_chm_decompressor ();
26599 mspack_create_chm_decompressor ();
26604 rm -f conftest.
$ac_objext conftest
$ac_exeext
26605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26606 (eval $ac_link) 2>conftest.er1
26608 grep -v '^ *+' conftest.er1
>conftest.err
26610 cat conftest.err
>&5
26611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612 (exit $ac_status); } &&
26613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26615 (eval $ac_try) 2>&5
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); }; } &&
26619 { ac_try
='test -s conftest$ac_exeext'
26620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26621 (eval $ac_try) 2>&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); }; }; then
26625 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26627 echo "$as_me: failed program was:" >&5
26628 sed 's/^/| /' conftest.
$ac_ext >&5
26630 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26632 rm -f conftest.err conftest.
$ac_objext \
26633 conftest
$ac_exeext conftest.
$ac_ext
26634 LIBS
=$ac_check_lib_save_LIBS
26636 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26637 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26638 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26639 MSPACK_LINK
=" -lmspack"
26643 if test "x$MSPACK_LINK" = "x" ; then
26648 if test "$wxUSE_LIBMSPACK" != "no"; then
26649 cat >>confdefs.h
<<\_ACEOF
26650 #define wxUSE_LIBMSPACK 1
26664 if test "$USE_WIN32" = 1 ; then
26666 for ac_header
in w32api.h
26668 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26670 echo "$as_me:$LINENO: checking for $ac_header" >&5
26671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26673 echo $ECHO_N "(cached) $ECHO_C" >&6
26675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26678 # Is the header compilable?
26679 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26680 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26681 cat >conftest.
$ac_ext <<_ACEOF
26684 cat confdefs.h
>>conftest.
$ac_ext
26685 cat >>conftest.
$ac_ext <<_ACEOF
26686 /* end confdefs.h. */
26687 $ac_includes_default
26688 #include <$ac_header>
26690 rm -f conftest.
$ac_objext
26691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26692 (eval $ac_compile) 2>conftest.er1
26694 grep -v '^ *+' conftest.er1
>conftest.err
26696 cat conftest.err
>&5
26697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26698 (exit $ac_status); } &&
26699 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26701 (eval $ac_try) 2>&5
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); }; } &&
26705 { ac_try
='test -s conftest.$ac_objext'
26706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26707 (eval $ac_try) 2>&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); }; }; then
26711 ac_header_compiler
=yes
26713 echo "$as_me: failed program was:" >&5
26714 sed 's/^/| /' conftest.
$ac_ext >&5
26716 ac_header_compiler
=no
26718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26720 echo "${ECHO_T}$ac_header_compiler" >&6
26722 # Is the header present?
26723 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26724 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26725 cat >conftest.
$ac_ext <<_ACEOF
26728 cat confdefs.h
>>conftest.
$ac_ext
26729 cat >>conftest.
$ac_ext <<_ACEOF
26730 /* end confdefs.h. */
26731 #include <$ac_header>
26733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26736 grep -v '^ *+' conftest.er1
>conftest.err
26738 cat conftest.err
>&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); } >/dev
/null
; then
26741 if test -s conftest.err
; then
26742 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26743 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26750 if test -z "$ac_cpp_err"; then
26751 ac_header_preproc
=yes
26753 echo "$as_me: failed program was:" >&5
26754 sed 's/^/| /' conftest.
$ac_ext >&5
26756 ac_header_preproc
=no
26758 rm -f conftest.err conftest.
$ac_ext
26759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26760 echo "${ECHO_T}$ac_header_preproc" >&6
26762 # So? What about this header?
26763 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26765 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26768 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26769 ac_header_preproc
=yes
26772 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26773 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26774 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26775 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26776 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26777 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26778 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26779 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26782 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26783 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26786 ## ----------------------------------------- ##
26787 ## Report this to wx-dev@lists.wxwidgets.org ##
26788 ## ----------------------------------------- ##
26791 sed "s/^/$as_me: WARNING: /" >&2
26794 echo "$as_me:$LINENO: checking for $ac_header" >&5
26795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26797 echo $ECHO_N "(cached) $ECHO_C" >&6
26799 eval "$as_ac_Header=\$ac_header_preproc"
26801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26806 cat >>confdefs.h
<<_ACEOF
26807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26814 if test "${ac_cv_header_windows_h+set}" = set; then
26815 echo "$as_me:$LINENO: checking for windows.h" >&5
26816 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26817 if test "${ac_cv_header_windows_h+set}" = set; then
26818 echo $ECHO_N "(cached) $ECHO_C" >&6
26820 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26821 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26823 # Is the header compilable?
26824 echo "$as_me:$LINENO: checking windows.h usability" >&5
26825 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26826 cat >conftest.
$ac_ext <<_ACEOF
26829 cat confdefs.h
>>conftest.
$ac_ext
26830 cat >>conftest.
$ac_ext <<_ACEOF
26831 /* end confdefs.h. */
26832 $ac_includes_default
26833 #include <windows.h>
26835 rm -f conftest.
$ac_objext
26836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26837 (eval $ac_compile) 2>conftest.er1
26839 grep -v '^ *+' conftest.er1
>conftest.err
26841 cat conftest.err
>&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); } &&
26844 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26846 (eval $ac_try) 2>&5
26848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849 (exit $ac_status); }; } &&
26850 { ac_try
='test -s conftest.$ac_objext'
26851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26852 (eval $ac_try) 2>&5
26854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855 (exit $ac_status); }; }; then
26856 ac_header_compiler
=yes
26858 echo "$as_me: failed program was:" >&5
26859 sed 's/^/| /' conftest.
$ac_ext >&5
26861 ac_header_compiler
=no
26863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26865 echo "${ECHO_T}$ac_header_compiler" >&6
26867 # Is the header present?
26868 echo "$as_me:$LINENO: checking windows.h presence" >&5
26869 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26870 cat >conftest.
$ac_ext <<_ACEOF
26873 cat confdefs.h
>>conftest.
$ac_ext
26874 cat >>conftest.
$ac_ext <<_ACEOF
26875 /* end confdefs.h. */
26876 #include <windows.h>
26878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26879 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26881 grep -v '^ *+' conftest.er1
>conftest.err
26883 cat conftest.err
>&5
26884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885 (exit $ac_status); } >/dev
/null
; then
26886 if test -s conftest.err
; then
26887 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26888 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26895 if test -z "$ac_cpp_err"; then
26896 ac_header_preproc
=yes
26898 echo "$as_me: failed program was:" >&5
26899 sed 's/^/| /' conftest.
$ac_ext >&5
26901 ac_header_preproc
=no
26903 rm -f conftest.err conftest.
$ac_ext
26904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26905 echo "${ECHO_T}$ac_header_preproc" >&6
26907 # So? What about this header?
26908 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26910 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26911 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26912 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26913 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26914 ac_header_preproc
=yes
26917 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26918 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26919 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26920 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26921 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26922 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26923 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26924 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26925 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26926 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26927 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26928 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26931 ## ----------------------------------------- ##
26932 ## Report this to wx-dev@lists.wxwidgets.org ##
26933 ## ----------------------------------------- ##
26936 sed "s/^/$as_me: WARNING: /" >&2
26939 echo "$as_me:$LINENO: checking for windows.h" >&5
26940 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26941 if test "${ac_cv_header_windows_h+set}" = set; then
26942 echo $ECHO_N "(cached) $ECHO_C" >&6
26944 ac_cv_header_windows_h
=$ac_header_preproc
26946 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26947 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26950 if test $ac_cv_header_windows_h = yes; then
26954 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26955 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26956 { (exit 1); exit 1; }; }
26962 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26964 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26965 LIBS
="$LIBS -loleacc"
26970 LIBS
="$LIBS -lkernel32 -luser32"
26973 if test "$wxUSE_ODBC" = "sys" ; then
26976 if test "$wxUSE_ODBC" = "yes" ; then
26977 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26978 cat >>confdefs.h
<<\_ACEOF
26979 #define wxUSE_ODBC 1
26984 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26985 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26987 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26989 WIN32INSTALL
=win32install
26992 if test "$wxUSE_GUI" = "yes"; then
27002 if test "$wxUSE_COCOA" = 1 ; then
27003 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27004 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27005 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27006 wxUSE_PRINTING_ARCHITECTURE
=no
27008 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27009 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27010 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27011 wxUSE_DRAG_AND_DROP
=no
27013 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27014 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27015 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27020 if test "$wxUSE_MSW" = 1 ; then
27026 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27030 if test "$wxUSE_GTK" = 1; then
27032 ac_cpp
='$CPP $CPPFLAGS'
27033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27038 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27039 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27041 gtk_version_cached
=1
27042 if test "${wx_cv_lib_gtk+set}" = set; then
27043 echo $ECHO_N "(cached) $ECHO_C" >&6
27046 gtk_version_cached
=0
27047 echo "$as_me:$LINENO: result: " >&5
27048 echo "${ECHO_T}" >&6
27051 if test "$wxUSE_THREADS" = "yes"; then
27052 GTK_MODULES
=gthread
27056 if test "x$wxGTK_VERSION" != "x1"
27060 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27065 # Check whether --enable-gtktest or --disable-gtktest was given.
27066 if test "${enable_gtktest+set}" = set; then
27067 enableval
="$enable_gtktest"
27073 pkg_config_args
=gtk
+-2.0
27074 for module
in .
$GTK_MODULES
27078 pkg_config_args
="$pkg_config_args gthread-2.0"
27085 # Extract the first word of "pkg-config", so it can be a program name with args.
27086 set dummy pkg
-config; ac_word
=$2
27087 echo "$as_me:$LINENO: checking for $ac_word" >&5
27088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27089 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27090 echo $ECHO_N "(cached) $ECHO_C" >&6
27092 case $PKG_CONFIG in
27094 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27098 for as_dir
in $PATH
27101 test -z "$as_dir" && as_dir
=.
27102 for ac_exec_ext
in '' $ac_executable_extensions; do
27103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27104 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27111 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27115 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27117 if test -n "$PKG_CONFIG"; then
27118 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27119 echo "${ECHO_T}$PKG_CONFIG" >&6
27121 echo "$as_me:$LINENO: result: no" >&5
27122 echo "${ECHO_T}no" >&6
27126 if test x
$PKG_CONFIG != xno
; then
27127 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27130 echo "*** pkg-config too old; version 0.7 or better required."
27138 min_gtk_version
=2.0.0
27139 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27140 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27142 if test x
$PKG_CONFIG != xno
; then
27143 ## don't try to run the test against uninstalled libtool libs
27144 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27145 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27149 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27156 if test x
"$no_gtk" = x
; then
27157 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27158 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27159 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27160 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27161 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27162 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27163 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27164 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27165 if test "x$enable_gtktest" = "xyes" ; then
27166 ac_save_CFLAGS
="$CFLAGS"
27167 ac_save_LIBS
="$LIBS"
27168 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27169 LIBS
="$GTK_LIBS $LIBS"
27171 if test "$cross_compiling" = yes; then
27172 echo $ac_n "cross compiling; assumed OK... $ac_c"
27174 cat >conftest.
$ac_ext <<_ACEOF
27177 cat confdefs.h
>>conftest.
$ac_ext
27178 cat >>conftest.
$ac_ext <<_ACEOF
27179 /* end confdefs.h. */
27181 #include <gtk/gtk.h>
27183 #include <stdlib.h>
27188 int major, minor, micro;
27191 system ("touch conf.gtktest");
27193 /* HP/UX 9 (%@#!) writes to sscanf strings */
27194 tmp_version = g_strdup("$min_gtk_version");
27195 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27196 printf("%s, bad version string\n", "$min_gtk_version");
27200 if ((gtk_major_version != $gtk_config_major_version) ||
27201 (gtk_minor_version != $gtk_config_minor_version) ||
27202 (gtk_micro_version != $gtk_config_micro_version))
27204 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27205 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27206 gtk_major_version, gtk_minor_version, gtk_micro_version);
27207 printf ("*** was found! If pkg-config was correct, then it is best\n");
27208 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27209 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27210 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27211 printf("*** required on your system.\n");
27212 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27213 printf("*** to point to the correct configuration files\n");
27215 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27216 (gtk_minor_version != GTK_MINOR_VERSION) ||
27217 (gtk_micro_version != GTK_MICRO_VERSION))
27219 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27220 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27221 printf("*** library (version %d.%d.%d)\n",
27222 gtk_major_version, gtk_minor_version, gtk_micro_version);
27226 if ((gtk_major_version > major) ||
27227 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27228 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27234 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27235 gtk_major_version, gtk_minor_version, gtk_micro_version);
27236 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27237 major, minor, micro);
27238 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27240 printf("*** If you have already installed a sufficiently new version, this error\n");
27241 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27242 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27243 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27244 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27245 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27246 printf("*** so that the correct libraries are found at run-time))\n");
27253 rm -f conftest
$ac_exeext
27254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27255 (eval $ac_link) 2>&5
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; }; then
27266 echo "$as_me: program exited with status $ac_status" >&5
27267 echo "$as_me: failed program was:" >&5
27268 sed 's/^/| /' conftest.
$ac_ext >&5
27270 ( exit $ac_status )
27273 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27275 CFLAGS
="$ac_save_CFLAGS"
27276 LIBS
="$ac_save_LIBS"
27279 if test "x$no_gtk" = x
; then
27280 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27281 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27284 echo "$as_me:$LINENO: result: no" >&5
27285 echo "${ECHO_T}no" >&6
27286 if test "$PKG_CONFIG" = "no" ; then
27287 echo "*** A new enough version of pkg-config was not found."
27288 echo "*** See http://pkgconfig.sourceforge.net"
27290 if test -f conf.gtktest
; then
27293 echo "*** Could not run GTK+ test program, checking why..."
27294 ac_save_CFLAGS
="$CFLAGS"
27295 ac_save_LIBS
="$LIBS"
27296 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27297 LIBS
="$LIBS $GTK_LIBS"
27298 cat >conftest.
$ac_ext <<_ACEOF
27301 cat confdefs.h
>>conftest.
$ac_ext
27302 cat >>conftest.
$ac_ext <<_ACEOF
27303 /* end confdefs.h. */
27305 #include <gtk/gtk.h>
27311 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27316 rm -f conftest.
$ac_objext conftest
$ac_exeext
27317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27318 (eval $ac_link) 2>conftest.er1
27320 grep -v '^ *+' conftest.er1
>conftest.err
27322 cat conftest.err
>&5
27323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 (exit $ac_status); } &&
27325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27327 (eval $ac_try) 2>&5
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); }; } &&
27331 { ac_try
='test -s conftest$ac_exeext'
27332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27333 (eval $ac_try) 2>&5
27335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27336 (exit $ac_status); }; }; then
27337 echo "*** The test program compiled, but did not run. This usually means"
27338 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27339 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27340 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27341 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27342 echo "*** is required on your system"
27344 echo "*** If you have an old version installed, it is best to remove it, although"
27345 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27347 echo "$as_me: failed program was:" >&5
27348 sed 's/^/| /' conftest.
$ac_ext >&5
27350 echo "*** The test program failed to compile or link. See the file config.log for the"
27351 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27353 rm -f conftest.err conftest.
$ac_objext \
27354 conftest
$ac_exeext conftest.
$ac_ext
27355 CFLAGS
="$ac_save_CFLAGS"
27356 LIBS
="$ac_save_LIBS"
27370 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27371 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27372 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27374 if test "$wxUSE_SHARED" != "yes"; then
27375 GTK_LIBS
="$GTK_LIBS -lX11"
27380 if test -z "$wx_cv_lib_gtk"; then
27381 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27383 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27384 if test "${with_gtk_prefix+set}" = set; then
27385 withval
="$with_gtk_prefix"
27386 gtk_config_prefix
="$withval"
27388 gtk_config_prefix
=""
27391 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27392 if test "${with_gtk_exec_prefix+set}" = set; then
27393 withval
="$with_gtk_exec_prefix"
27394 gtk_config_exec_prefix
="$withval"
27396 gtk_config_exec_prefix
=""
27398 # Check whether --enable-gtktest or --disable-gtktest was given.
27399 if test "${enable_gtktest+set}" = set; then
27400 enableval
="$enable_gtktest"
27406 for module
in .
$GTK_MODULES
27410 gtk_config_args
="$gtk_config_args gthread"
27415 if test x
$gtk_config_exec_prefix != x
; then
27416 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27417 if test x
${GTK_CONFIG+set} != xset
; then
27418 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27421 if test x
$gtk_config_prefix != x
; then
27422 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27423 if test x
${GTK_CONFIG+set} != xset
; then
27424 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27428 # Extract the first word of "gtk-config", so it can be a program name with args.
27429 set dummy gtk
-config; ac_word
=$2
27430 echo "$as_me:$LINENO: checking for $ac_word" >&5
27431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27432 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27433 echo $ECHO_N "(cached) $ECHO_C" >&6
27435 case $GTK_CONFIG in
27437 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27441 for as_dir
in $PATH
27444 test -z "$as_dir" && as_dir
=.
27445 for ac_exec_ext
in '' $ac_executable_extensions; do
27446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27447 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27454 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27458 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27460 if test -n "$GTK_CONFIG"; then
27461 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27462 echo "${ECHO_T}$GTK_CONFIG" >&6
27464 echo "$as_me:$LINENO: result: no" >&5
27465 echo "${ECHO_T}no" >&6
27468 min_gtk_version
=1.2.7
27469 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27470 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27472 if test "$GTK_CONFIG" = "no" ; then
27475 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27476 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27477 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27479 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27480 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27481 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27482 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27483 if test "x$enable_gtktest" = "xyes" ; then
27484 ac_save_CFLAGS
="$CFLAGS"
27485 ac_save_LIBS
="$LIBS"
27486 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27487 LIBS
="$GTK_LIBS $LIBS"
27489 if test "$cross_compiling" = yes; then
27490 echo $ac_n "cross compiling; assumed OK... $ac_c"
27492 cat >conftest.
$ac_ext <<_ACEOF
27495 cat confdefs.h
>>conftest.
$ac_ext
27496 cat >>conftest.
$ac_ext <<_ACEOF
27497 /* end confdefs.h. */
27499 #include <gtk/gtk.h>
27501 #include <stdlib.h>
27506 int major, minor, micro;
27509 system ("touch conf.gtktest");
27511 /* HP/UX 9 (%@#!) writes to sscanf strings */
27512 tmp_version = g_strdup("$min_gtk_version");
27513 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27514 printf("%s, bad version string\n", "$min_gtk_version");
27518 if ((gtk_major_version != $gtk_config_major_version) ||
27519 (gtk_minor_version != $gtk_config_minor_version) ||
27520 (gtk_micro_version != $gtk_config_micro_version))
27522 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27523 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27524 gtk_major_version, gtk_minor_version, gtk_micro_version);
27525 printf ("*** was found! If gtk-config was correct, then it is best\n");
27526 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27527 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27528 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27529 printf("*** required on your system.\n");
27530 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27531 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27532 printf("*** before re-running configure\n");
27534 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27535 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27536 (gtk_minor_version != GTK_MINOR_VERSION) ||
27537 (gtk_micro_version != GTK_MICRO_VERSION))
27539 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27540 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27541 printf("*** library (version %d.%d.%d)\n",
27542 gtk_major_version, gtk_minor_version, gtk_micro_version);
27544 #endif /* defined (GTK_MAJOR_VERSION) ... */
27547 if ((gtk_major_version > major) ||
27548 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27549 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27555 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27556 gtk_major_version, gtk_minor_version, gtk_micro_version);
27557 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27558 major, minor, micro);
27559 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27561 printf("*** If you have already installed a sufficiently new version, this error\n");
27562 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27563 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27564 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27565 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27566 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27567 printf("*** so that the correct libraries are found at run-time))\n");
27574 rm -f conftest
$ac_exeext
27575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27576 (eval $ac_link) 2>&5
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27581 (eval $ac_try) 2>&5
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); }; }; then
27587 echo "$as_me: program exited with status $ac_status" >&5
27588 echo "$as_me: failed program was:" >&5
27589 sed 's/^/| /' conftest.
$ac_ext >&5
27591 ( exit $ac_status )
27594 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27596 CFLAGS
="$ac_save_CFLAGS"
27597 LIBS
="$ac_save_LIBS"
27600 if test "x$no_gtk" = x
; then
27601 echo "$as_me:$LINENO: result: yes" >&5
27602 echo "${ECHO_T}yes" >&6
27603 wx_cv_lib_gtk
=1.2.7
27605 echo "$as_me:$LINENO: result: no" >&5
27606 echo "${ECHO_T}no" >&6
27607 if test "$GTK_CONFIG" = "no" ; then
27608 echo "*** The gtk-config script installed by GTK could not be found"
27609 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27610 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27611 echo "*** full path to gtk-config."
27613 if test -f conf.gtktest
; then
27616 echo "*** Could not run GTK test program, checking why..."
27617 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27618 LIBS
="$LIBS $GTK_LIBS"
27619 cat >conftest.
$ac_ext <<_ACEOF
27622 cat confdefs.h
>>conftest.
$ac_ext
27623 cat >>conftest.
$ac_ext <<_ACEOF
27624 /* end confdefs.h. */
27626 #include <gtk/gtk.h>
27632 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27637 rm -f conftest.
$ac_objext conftest
$ac_exeext
27638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27639 (eval $ac_link) 2>conftest.er1
27641 grep -v '^ *+' conftest.er1
>conftest.err
27643 cat conftest.err
>&5
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); } &&
27646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27648 (eval $ac_try) 2>&5
27650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651 (exit $ac_status); }; } &&
27652 { ac_try
='test -s conftest$ac_exeext'
27653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27654 (eval $ac_try) 2>&5
27656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27657 (exit $ac_status); }; }; then
27658 echo "*** The test program compiled, but did not run. This usually means"
27659 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27660 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27661 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27662 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27663 echo "*** is required on your system"
27665 echo "*** If you have an old version installed, it is best to remove it, although"
27666 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27668 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27669 echo "*** came with the system with the command"
27671 echo "*** rpm --erase --nodeps gtk gtk-devel"
27673 echo "$as_me: failed program was:" >&5
27674 sed 's/^/| /' conftest.
$ac_ext >&5
27676 echo "*** The test program failed to compile or link. See the file config.log for the"
27677 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27678 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27679 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27681 rm -f conftest.err conftest.
$ac_objext \
27682 conftest
$ac_exeext conftest.
$ac_ext
27683 CFLAGS
="$ac_save_CFLAGS"
27684 LIBS
="$ac_save_LIBS"
27696 if test -z "$wx_cv_lib_gtk"; then
27698 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27699 if test "${with_gtk_prefix+set}" = set; then
27700 withval
="$with_gtk_prefix"
27701 gtk_config_prefix
="$withval"
27703 gtk_config_prefix
=""
27706 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27707 if test "${with_gtk_exec_prefix+set}" = set; then
27708 withval
="$with_gtk_exec_prefix"
27709 gtk_config_exec_prefix
="$withval"
27711 gtk_config_exec_prefix
=""
27713 # Check whether --enable-gtktest or --disable-gtktest was given.
27714 if test "${enable_gtktest+set}" = set; then
27715 enableval
="$enable_gtktest"
27721 for module
in .
$GTK_MODULES
27725 gtk_config_args
="$gtk_config_args gthread"
27730 if test x
$gtk_config_exec_prefix != x
; then
27731 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27732 if test x
${GTK_CONFIG+set} != xset
; then
27733 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27736 if test x
$gtk_config_prefix != x
; then
27737 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27738 if test x
${GTK_CONFIG+set} != xset
; then
27739 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27743 # Extract the first word of "gtk-config", so it can be a program name with args.
27744 set dummy gtk
-config; ac_word
=$2
27745 echo "$as_me:$LINENO: checking for $ac_word" >&5
27746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27747 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27748 echo $ECHO_N "(cached) $ECHO_C" >&6
27750 case $GTK_CONFIG in
27752 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27756 for as_dir
in $PATH
27759 test -z "$as_dir" && as_dir
=.
27760 for ac_exec_ext
in '' $ac_executable_extensions; do
27761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27762 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27769 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27773 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27775 if test -n "$GTK_CONFIG"; then
27776 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27777 echo "${ECHO_T}$GTK_CONFIG" >&6
27779 echo "$as_me:$LINENO: result: no" >&5
27780 echo "${ECHO_T}no" >&6
27783 min_gtk_version
=1.2.3
27784 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27785 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27787 if test "$GTK_CONFIG" = "no" ; then
27790 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27791 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27792 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27793 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27794 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27795 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27796 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27797 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27798 if test "x$enable_gtktest" = "xyes" ; then
27799 ac_save_CFLAGS
="$CFLAGS"
27800 ac_save_LIBS
="$LIBS"
27801 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27802 LIBS
="$GTK_LIBS $LIBS"
27804 if test "$cross_compiling" = yes; then
27805 echo $ac_n "cross compiling; assumed OK... $ac_c"
27807 cat >conftest.
$ac_ext <<_ACEOF
27810 cat confdefs.h
>>conftest.
$ac_ext
27811 cat >>conftest.
$ac_ext <<_ACEOF
27812 /* end confdefs.h. */
27814 #include <gtk/gtk.h>
27816 #include <stdlib.h>
27821 int major, minor, micro;
27824 system ("touch conf.gtktest");
27826 /* HP/UX 9 (%@#!) writes to sscanf strings */
27827 tmp_version = g_strdup("$min_gtk_version");
27828 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27829 printf("%s, bad version string\n", "$min_gtk_version");
27833 if ((gtk_major_version != $gtk_config_major_version) ||
27834 (gtk_minor_version != $gtk_config_minor_version) ||
27835 (gtk_micro_version != $gtk_config_micro_version))
27837 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27838 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27839 gtk_major_version, gtk_minor_version, gtk_micro_version);
27840 printf ("*** was found! If gtk-config was correct, then it is best\n");
27841 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27842 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27843 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27844 printf("*** required on your system.\n");
27845 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27846 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27847 printf("*** before re-running configure\n");
27849 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27850 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27851 (gtk_minor_version != GTK_MINOR_VERSION) ||
27852 (gtk_micro_version != GTK_MICRO_VERSION))
27854 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27855 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27856 printf("*** library (version %d.%d.%d)\n",
27857 gtk_major_version, gtk_minor_version, gtk_micro_version);
27859 #endif /* defined (GTK_MAJOR_VERSION) ... */
27862 if ((gtk_major_version > major) ||
27863 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27864 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27870 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27871 gtk_major_version, gtk_minor_version, gtk_micro_version);
27872 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27873 major, minor, micro);
27874 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27876 printf("*** If you have already installed a sufficiently new version, this error\n");
27877 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27878 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27879 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27880 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27881 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27882 printf("*** so that the correct libraries are found at run-time))\n");
27889 rm -f conftest
$ac_exeext
27890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27891 (eval $ac_link) 2>&5
27893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27896 (eval $ac_try) 2>&5
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); }; }; then
27902 echo "$as_me: program exited with status $ac_status" >&5
27903 echo "$as_me: failed program was:" >&5
27904 sed 's/^/| /' conftest.
$ac_ext >&5
27906 ( exit $ac_status )
27909 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27911 CFLAGS
="$ac_save_CFLAGS"
27912 LIBS
="$ac_save_LIBS"
27915 if test "x$no_gtk" = x
; then
27916 echo "$as_me:$LINENO: result: yes" >&5
27917 echo "${ECHO_T}yes" >&6
27918 wx_cv_lib_gtk
=1.2.3
27920 echo "$as_me:$LINENO: result: no" >&5
27921 echo "${ECHO_T}no" >&6
27922 if test "$GTK_CONFIG" = "no" ; then
27923 echo "*** The gtk-config script installed by GTK could not be found"
27924 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27925 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27926 echo "*** full path to gtk-config."
27928 if test -f conf.gtktest
; then
27931 echo "*** Could not run GTK test program, checking why..."
27932 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27933 LIBS
="$LIBS $GTK_LIBS"
27934 cat >conftest.
$ac_ext <<_ACEOF
27937 cat confdefs.h
>>conftest.
$ac_ext
27938 cat >>conftest.
$ac_ext <<_ACEOF
27939 /* end confdefs.h. */
27941 #include <gtk/gtk.h>
27947 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27952 rm -f conftest.
$ac_objext conftest
$ac_exeext
27953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27954 (eval $ac_link) 2>conftest.er1
27956 grep -v '^ *+' conftest.er1
>conftest.err
27958 cat conftest.err
>&5
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); } &&
27961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27963 (eval $ac_try) 2>&5
27965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27966 (exit $ac_status); }; } &&
27967 { ac_try
='test -s conftest$ac_exeext'
27968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27969 (eval $ac_try) 2>&5
27971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972 (exit $ac_status); }; }; then
27973 echo "*** The test program compiled, but did not run. This usually means"
27974 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27975 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27976 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27977 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27978 echo "*** is required on your system"
27980 echo "*** If you have an old version installed, it is best to remove it, although"
27981 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27983 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27984 echo "*** came with the system with the command"
27986 echo "*** rpm --erase --nodeps gtk gtk-devel"
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.
$ac_ext >&5
27991 echo "*** The test program failed to compile or link. See the file config.log for the"
27992 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27993 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27994 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27996 rm -f conftest.err conftest.
$ac_objext \
27997 conftest
$ac_exeext conftest.
$ac_ext
27998 CFLAGS
="$ac_save_CFLAGS"
27999 LIBS
="$ac_save_LIBS"
28014 if test -z "$wx_cv_lib_gtk"; then
28017 wx_cv_cflags_gtk
=$GTK_CFLAGS
28018 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28025 if test "$gtk_version_cached" = 1; then
28026 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28027 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28030 case "$wx_cv_lib_gtk" in
28039 *) { { echo "$as_me:$LINENO: error:
28040 The development files for GTK+ were not found. For GTK+ 2, please
28041 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28042 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28043 and that the version is 1.2.3 or above. Also check that the
28044 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28045 --libs' are in the LD_LIBRARY_PATH or equivalent.
28047 echo "$as_me: error:
28048 The development files for GTK+ were not found. For GTK+ 2, please
28049 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28050 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28051 and that the version is 1.2.3 or above. Also check that the
28052 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28053 --libs' are in the LD_LIBRARY_PATH or equivalent.
28055 { (exit 1); exit 1; }; }
28059 if test "$WXGTK20" = 1; then
28060 save_CFLAGS
="$CFLAGS"
28062 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28063 LIBS
="$LIBS $wx_cv_libs_gtk"
28065 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
28066 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
28067 cat >conftest.
$ac_ext <<_ACEOF
28070 cat confdefs.h
>>conftest.
$ac_ext
28071 cat >>conftest.
$ac_ext <<_ACEOF
28072 /* end confdefs.h. */
28074 #include <gtk/gtk.h>
28080 void *f = gtk_icon_size_lookup;
28086 rm -f conftest.
$ac_objext
28087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28088 (eval $ac_compile) 2>conftest.er1
28090 grep -v '^ *+' conftest.er1
>conftest.err
28092 cat conftest.err
>&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } &&
28095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28097 (eval $ac_try) 2>&5
28099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28100 (exit $ac_status); }; } &&
28101 { ac_try
='test -s conftest.$ac_objext'
28102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28103 (eval $ac_try) 2>&5
28105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); }; }; then
28108 echo "$as_me:$LINENO: result: no" >&5
28109 echo "${ECHO_T}no" >&6
28112 echo "$as_me: failed program was:" >&5
28113 sed 's/^/| /' conftest.
$ac_ext >&5
28116 cat >>confdefs.h
<<\_ACEOF
28117 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28120 echo "$as_me:$LINENO: result: yes" >&5
28121 echo "${ECHO_T}yes" >&6
28124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28126 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28127 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28128 cat >conftest.
$ac_ext <<_ACEOF
28131 cat confdefs.h
>>conftest.
$ac_ext
28132 cat >>conftest.
$ac_ext <<_ACEOF
28133 /* end confdefs.h. */
28135 #include <gtk/gtk.h>
28141 #if !GTK_CHECK_VERSION(2,6,0)
28149 rm -f conftest.
$ac_objext
28150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28151 (eval $ac_compile) 2>conftest.er1
28153 grep -v '^ *+' conftest.er1
>conftest.err
28155 cat conftest.err
>&5
28156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28157 (exit $ac_status); } &&
28158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28160 (eval $ac_try) 2>&5
28162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28163 (exit $ac_status); }; } &&
28164 { ac_try
='test -s conftest.$ac_objext'
28165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28166 (eval $ac_try) 2>&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); }; }; then
28171 cat >>confdefs.h
<<\_ACEOF
28172 #define __WXGTK26__ 1
28175 cat >>confdefs.h
<<\_ACEOF
28176 #define __WXGTK24__ 1
28179 echo "$as_me:$LINENO: result: yes" >&5
28180 echo "${ECHO_T}yes" >&6
28184 echo "$as_me: failed program was:" >&5
28185 sed 's/^/| /' conftest.
$ac_ext >&5
28188 echo "$as_me:$LINENO: result: no" >&5
28189 echo "${ECHO_T}no" >&6
28193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28195 if test "$ac_wxgtk26" = 0; then
28196 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28197 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28198 cat >conftest.
$ac_ext <<_ACEOF
28201 cat confdefs.h
>>conftest.
$ac_ext
28202 cat >>conftest.
$ac_ext <<_ACEOF
28203 /* end confdefs.h. */
28205 #include <gtk/gtk.h>
28211 #if !GTK_CHECK_VERSION(2,4,0)
28219 rm -f conftest.
$ac_objext
28220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28221 (eval $ac_compile) 2>conftest.er1
28223 grep -v '^ *+' conftest.er1
>conftest.err
28225 cat conftest.err
>&5
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); } &&
28228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28230 (eval $ac_try) 2>&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); }; } &&
28234 { ac_try
='test -s conftest.$ac_objext'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; }; then
28241 cat >>confdefs.h
<<\_ACEOF
28242 #define __WXGTK24__ 1
28245 echo "$as_me:$LINENO: result: yes" >&5
28246 echo "${ECHO_T}yes" >&6
28249 echo "$as_me: failed program was:" >&5
28250 sed 's/^/| /' conftest.
$ac_ext >&5
28253 echo "$as_me:$LINENO: result: no" >&5
28254 echo "${ECHO_T}no" >&6
28257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28260 CFLAGS
="$save_CFLAGS"
28263 if test "$wxUSE_UNICODE" = "yes"; then
28264 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28265 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28271 ac_cpp
='$CXXCPP $CPPFLAGS'
28272 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28273 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28274 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28277 if test "$USE_DARWIN" != 1; then
28279 for ac_func
in poll
28281 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28282 echo "$as_me:$LINENO: checking for $ac_func" >&5
28283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28284 if eval "test \"\${$as_ac_var+set}\" = set"; then
28285 echo $ECHO_N "(cached) $ECHO_C" >&6
28287 cat >conftest.
$ac_ext <<_ACEOF
28290 cat confdefs.h
>>conftest.
$ac_ext
28291 cat >>conftest.
$ac_ext <<_ACEOF
28292 /* end confdefs.h. */
28293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28295 #define $ac_func innocuous_$ac_func
28297 /* System header to define __stub macros and hopefully few prototypes,
28298 which can conflict with char $ac_func (); below.
28299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28300 <limits.h> exists even on freestanding compilers. */
28303 # include <limits.h>
28305 # include <assert.h>
28310 /* Override any gcc2 internal prototype to avoid an error. */
28315 /* We use char because int might match the return type of a gcc2
28316 builtin and then its argument prototype would still apply. */
28318 /* The GNU C library defines this for functions which it implements
28319 to always fail with ENOSYS. Some functions are actually named
28320 something starting with __ and the normal name is an alias. */
28321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28324 char (*f) () = $ac_func;
28333 return f != $ac_func;
28338 rm -f conftest.
$ac_objext conftest
$ac_exeext
28339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28340 (eval $ac_link) 2>conftest.er1
28342 grep -v '^ *+' conftest.er1
>conftest.err
28344 cat conftest.err
>&5
28345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28346 (exit $ac_status); } &&
28347 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28349 (eval $ac_try) 2>&5
28351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28352 (exit $ac_status); }; } &&
28353 { ac_try
='test -s conftest$ac_exeext'
28354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28355 (eval $ac_try) 2>&5
28357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 (exit $ac_status); }; }; then
28359 eval "$as_ac_var=yes"
28361 echo "$as_me: failed program was:" >&5
28362 sed 's/^/| /' conftest.
$ac_ext >&5
28364 eval "$as_ac_var=no"
28366 rm -f conftest.err conftest.
$ac_objext \
28367 conftest
$ac_exeext conftest.
$ac_ext
28369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28371 if test `eval echo '${'$as_ac_var'}'` = yes; then
28372 cat >>confdefs.h
<<_ACEOF
28373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28381 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28382 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28384 AFMINSTALL
=afminstall
28388 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28389 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28390 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28391 echo $ECHO_N "(cached) $ECHO_C" >&6
28393 ac_check_lib_save_LIBS
=$LIBS
28395 cat >conftest.
$ac_ext <<_ACEOF
28398 cat confdefs.h
>>conftest.
$ac_ext
28399 cat >>conftest.
$ac_ext <<_ACEOF
28400 /* end confdefs.h. */
28402 /* Override any gcc2 internal prototype to avoid an error. */
28406 /* We use char because int might match the return type of a gcc2
28407 builtin and then its argument prototype would still apply. */
28408 char gdk_im_open ();
28417 rm -f conftest.
$ac_objext conftest
$ac_exeext
28418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28419 (eval $ac_link) 2>conftest.er1
28421 grep -v '^ *+' conftest.er1
>conftest.err
28423 cat conftest.err
>&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); } &&
28426 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
28438 ac_cv_lib_gdk_gdk_im_open
=yes
28440 echo "$as_me: failed program was:" >&5
28441 sed 's/^/| /' conftest.
$ac_ext >&5
28443 ac_cv_lib_gdk_gdk_im_open
=no
28445 rm -f conftest.err conftest.
$ac_objext \
28446 conftest
$ac_exeext conftest.
$ac_ext
28447 LIBS
=$ac_check_lib_save_LIBS
28449 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28450 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28451 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28452 cat >>confdefs.h
<<\_ACEOF
28460 if test "$wxUSE_GPE" = "yes"; then
28461 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28462 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28465 for ac_dir
in $SEARCH_LIB;
28467 for ac_extension
in a so sl dylib dll.a
; do
28468 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28469 ac_find_libraries
=$ac_dir
28475 if test "$ac_find_libraries" != "" ; then
28477 if test "$ac_find_libraries" = "default location"; then
28480 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28482 if test $result = 0; then
28485 ac_path_to_link
=" -L$ac_find_libraries"
28489 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28491 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28492 echo "${ECHO_T}found in $ac_find_libraries" >&6
28494 echo "$as_me:$LINENO: result: not found" >&5
28495 echo "${ECHO_T}not found" >&6
28501 if test "$wxUSE_MGL" = 1; then
28502 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28503 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28504 if test "x$MGL_ROOT" = x
; then
28505 echo "$as_me:$LINENO: result: not found" >&5
28506 echo "${ECHO_T}not found" >&6
28507 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28508 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28509 { (exit 1); exit 1; }; }
28511 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28512 echo "${ECHO_T}$MGL_ROOT" >&6
28515 echo "$as_me:$LINENO: checking for libmgl location" >&5
28516 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28519 if test "x$wxUSE_SHARED" = xyes
; then
28520 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28522 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28526 mgl_os_candidates
="dos32/dj2"
28529 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28530 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28531 { (exit 1); exit 1; }; }
28537 for mgl_os_i
in $mgl_os_candidates ; do
28538 if test "x$mgl_os" = x
; then
28539 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28540 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
28541 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
28546 if test "x$mgl_lib_type" = x
; then
28547 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
28548 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
28549 mgl_lib_type
=release
28556 if test "x$mgl_os" = x
; then
28557 echo "$as_me:$LINENO: result: not found" >&5
28558 echo "${ECHO_T}not found" >&6
28559 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28560 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28561 { (exit 1); exit 1; }; }
28563 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28564 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28566 wxUSE_UNIVERSAL
="yes"
28568 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
28569 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28571 AFMINSTALL
=afminstall
28576 if test "$wxUSE_MICROWIN" = 1; then
28577 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28578 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28579 if test "x$MICROWINDOWS" = x
; then
28580 echo "$as_me:$LINENO: result: not found" >&5
28581 echo "${ECHO_T}not found" >&6
28582 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28583 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28584 { (exit 1); exit 1; }; }
28586 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28587 echo "${ECHO_T}$MICROWINDOWS" >&6
28590 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
28591 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28592 echo "${ECHO_T}MicroWindows' libraries found." >&6
28594 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28595 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28596 { (exit 1); exit 1; }; }
28599 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
28600 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28602 wxUSE_UNIVERSAL
="yes"
28604 AFMINSTALL
=afminstall
28606 GUIDIST
=MICROWIN_DIST
28608 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28611 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28613 if test "x$ac_path_x_has_been_run" != xyes
; then
28614 echo "$as_me:$LINENO: checking for X" >&5
28615 echo $ECHO_N "checking for X... $ECHO_C" >&6
28617 ac_path_x_has_been_run
=yes
28619 # Check whether --with-x or --without-x was given.
28620 if test "${with_x+set}" = set; then
28624 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28625 if test "x$with_x" = xno
; then
28626 # The user explicitly disabled X.
28629 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28630 # Both variables are already set.
28633 if test "${ac_cv_have_x+set}" = set; then
28634 echo $ECHO_N "(cached) $ECHO_C" >&6
28636 # One or both of the vars are not set, and there is no cached value.
28637 ac_x_includes
=no ac_x_libraries
=no
28638 rm -fr conftest.dir
28639 if mkdir conftest.dir
; then
28641 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28642 cat >Imakefile
<<'_ACEOF'
28644 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28646 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28647 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28648 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28649 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28650 for ac_extension
in a so sl
; do
28651 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28652 test -f $ac_im_libdir/libX11.
$ac_extension; then
28653 ac_im_usrlibdir
=$ac_im_libdir; break
28656 # Screen out bogus values from the imake configuration. They are
28657 # bogus both because they are the default anyway, and because
28658 # using them would break gcc on systems where it needs fixed includes.
28659 case $ac_im_incroot in
28661 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28663 case $ac_im_usrlibdir in
28664 /usr
/lib
| /lib
) ;;
28665 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28669 rm -fr conftest.dir
28672 # Standard set of common directories for X headers.
28673 # Check X11 before X11Rn because it is often a symlink to the current release.
28685 /usr/local/X11/include
28686 /usr/local/X11R6/include
28687 /usr/local/X11R5/include
28688 /usr/local/X11R4/include
28690 /usr/local/include/X11
28691 /usr/local/include/X11R6
28692 /usr/local/include/X11R5
28693 /usr/local/include/X11R4
28697 /usr/XFree86/include/X11
28701 /usr/unsupported/include
28702 /usr/athena/include
28703 /usr/local/x11r5/include
28704 /usr/lpp/Xamples/include
28706 /usr/openwin/include
28707 /usr/openwin/share/include'
28709 if test "$ac_x_includes" = no
; then
28710 # Guess where to find include files, by looking for a specified header file.
28711 # First, try using that file with no special directory specified.
28712 cat >conftest.
$ac_ext <<_ACEOF
28715 cat confdefs.h
>>conftest.
$ac_ext
28716 cat >>conftest.
$ac_ext <<_ACEOF
28717 /* end confdefs.h. */
28718 #include <X11/Intrinsic.h>
28720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28721 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28723 grep -v '^ *+' conftest.er1
>conftest.err
28725 cat conftest.err
>&5
28726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727 (exit $ac_status); } >/dev
/null
; then
28728 if test -s conftest.err
; then
28729 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28730 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28737 if test -z "$ac_cpp_err"; then
28738 # We can compile using X headers with no special include directory.
28741 echo "$as_me: failed program was:" >&5
28742 sed 's/^/| /' conftest.
$ac_ext >&5
28744 for ac_dir
in $ac_x_header_dirs; do
28745 if test -r "$ac_dir/X11/Intrinsic.h"; then
28746 ac_x_includes
=$ac_dir
28751 rm -f conftest.err conftest.
$ac_ext
28752 fi # $ac_x_includes = no
28754 if test "$ac_x_libraries" = no
; then
28755 # Check for the libraries.
28756 # See if we find them without any special options.
28757 # Don't add to $LIBS permanently.
28760 cat >conftest.
$ac_ext <<_ACEOF
28763 cat confdefs.h
>>conftest.
$ac_ext
28764 cat >>conftest.
$ac_ext <<_ACEOF
28765 /* end confdefs.h. */
28766 #include <X11/Intrinsic.h>
28775 rm -f conftest.
$ac_objext conftest
$ac_exeext
28776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28777 (eval $ac_link) 2>conftest.er1
28779 grep -v '^ *+' conftest.er1
>conftest.err
28781 cat conftest.err
>&5
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); } &&
28784 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28786 (eval $ac_try) 2>&5
28788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789 (exit $ac_status); }; } &&
28790 { ac_try
='test -s conftest$ac_exeext'
28791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28792 (eval $ac_try) 2>&5
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); }; }; then
28797 # We can link X programs with no special library path.
28800 echo "$as_me: failed program was:" >&5
28801 sed 's/^/| /' conftest.
$ac_ext >&5
28804 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28806 # Don't even attempt the hair of trying to link an X program!
28807 for ac_extension
in a so sl
; do
28808 if test -r $ac_dir/libXt.
$ac_extension; then
28809 ac_x_libraries
=$ac_dir
28815 rm -f conftest.err conftest.
$ac_objext \
28816 conftest
$ac_exeext conftest.
$ac_ext
28817 fi # $ac_x_libraries = no
28819 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28820 # Didn't find X anywhere. Cache the known absence of X.
28821 ac_cv_have_x
="have_x=no"
28823 # Record where we found X for the cache.
28824 ac_cv_have_x
="have_x=yes \
28825 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28830 eval "$ac_cv_have_x"
28833 if test "$have_x" != yes; then
28834 echo "$as_me:$LINENO: result: $have_x" >&5
28835 echo "${ECHO_T}$have_x" >&6
28838 # If each of the values was on the command line, it overrides each guess.
28839 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28840 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28841 # Update the cache value to reflect the command line values.
28842 ac_cv_have_x
="have_x=yes \
28843 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28844 # It might be that x_includes is empty (headers are found in the
28845 # standard search path. Then output the corresponding message
28846 ac_out_x_includes
=$x_includes
28847 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
28848 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
28849 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
28853 if test "$no_x" = yes; then
28854 # Not all programs may use this symbol, but it does not hurt to define it.
28856 cat >>confdefs.h
<<\_ACEOF
28857 #define X_DISPLAY_MISSING 1
28860 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28862 if test -n "$x_includes"; then
28863 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28866 # It would also be nice to do this for all -L options, not just this one.
28867 if test -n "$x_libraries"; then
28868 X_LIBS
="$X_LIBS -L$x_libraries"
28869 # For Solaris; some versions of Sun CC require a space after -R and
28870 # others require no space. Words are not sufficient . . . .
28871 case `(uname -sr) 2>/dev/null` in
28873 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28874 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28875 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28876 cat >conftest.
$ac_ext <<_ACEOF
28879 cat confdefs.h
>>conftest.
$ac_ext
28880 cat >>conftest.
$ac_ext <<_ACEOF
28881 /* end confdefs.h. */
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" || test ! -s conftest.err'
28901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28902 (eval $ac_try) 2>&5
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); }; } &&
28906 { ac_try
='test -s conftest$ac_exeext'
28907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28908 (eval $ac_try) 2>&5
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); }; }; then
28914 echo "$as_me: failed program was:" >&5
28915 sed 's/^/| /' conftest.
$ac_ext >&5
28919 rm -f conftest.err conftest.
$ac_objext \
28920 conftest
$ac_exeext conftest.
$ac_ext
28921 if test $ac_R_nospace = yes; then
28922 echo "$as_me:$LINENO: result: no" >&5
28923 echo "${ECHO_T}no" >&6
28924 X_LIBS
="$X_LIBS -R$x_libraries"
28926 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28927 cat >conftest.
$ac_ext <<_ACEOF
28930 cat confdefs.h
>>conftest.
$ac_ext
28931 cat >>conftest.
$ac_ext <<_ACEOF
28932 /* end confdefs.h. */
28942 rm -f conftest.
$ac_objext conftest
$ac_exeext
28943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28944 (eval $ac_link) 2>conftest.er1
28946 grep -v '^ *+' conftest.er1
>conftest.err
28948 cat conftest.err
>&5
28949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28950 (exit $ac_status); } &&
28951 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28953 (eval $ac_try) 2>&5
28955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28956 (exit $ac_status); }; } &&
28957 { ac_try
='test -s conftest$ac_exeext'
28958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28959 (eval $ac_try) 2>&5
28961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28962 (exit $ac_status); }; }; then
28965 echo "$as_me: failed program was:" >&5
28966 sed 's/^/| /' conftest.
$ac_ext >&5
28970 rm -f conftest.err conftest.
$ac_objext \
28971 conftest
$ac_exeext conftest.
$ac_ext
28972 if test $ac_R_space = yes; then
28973 echo "$as_me:$LINENO: result: yes" >&5
28974 echo "${ECHO_T}yes" >&6
28975 X_LIBS
="$X_LIBS -R $x_libraries"
28977 echo "$as_me:$LINENO: result: neither works" >&5
28978 echo "${ECHO_T}neither works" >&6
28981 LIBS
=$ac_xsave_LIBS
28985 # Check for system-dependent libraries X programs must link with.
28986 # Do this before checking for the system-independent R6 libraries
28987 # (-lICE), since we may need -lsocket or whatever for X linking.
28989 if test "$ISC" = yes; then
28990 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28992 # Martyn Johnson says this is needed for Ultrix, if the X
28993 # libraries were built with DECnet support. And Karl Berry says
28994 # the Alpha needs dnet_stub (dnet does not exist).
28995 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28996 cat >conftest.
$ac_ext <<_ACEOF
28999 cat confdefs.h
>>conftest.
$ac_ext
29000 cat >>conftest.
$ac_ext <<_ACEOF
29001 /* end confdefs.h. */
29003 /* Override any gcc2 internal prototype to avoid an error. */
29007 /* We use char because int might match the return type of a gcc2
29008 builtin and then its argument prototype would still apply. */
29009 char XOpenDisplay ();
29018 rm -f conftest.
$ac_objext conftest
$ac_exeext
29019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29020 (eval $ac_link) 2>conftest.er1
29022 grep -v '^ *+' conftest.er1
>conftest.err
29024 cat conftest.err
>&5
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); } &&
29027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29029 (eval $ac_try) 2>&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); }; } &&
29033 { ac_try
='test -s conftest$ac_exeext'
29034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29035 (eval $ac_try) 2>&5
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); }; }; then
29041 echo "$as_me: failed program was:" >&5
29042 sed 's/^/| /' conftest.
$ac_ext >&5
29044 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29045 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29046 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29047 echo $ECHO_N "(cached) $ECHO_C" >&6
29049 ac_check_lib_save_LIBS
=$LIBS
29050 LIBS
="-ldnet $LIBS"
29051 cat >conftest.
$ac_ext <<_ACEOF
29054 cat confdefs.h
>>conftest.
$ac_ext
29055 cat >>conftest.
$ac_ext <<_ACEOF
29056 /* end confdefs.h. */
29058 /* Override any gcc2 internal prototype to avoid an error. */
29062 /* We use char because int might match the return type of a gcc2
29063 builtin and then its argument prototype would still apply. */
29073 rm -f conftest.
$ac_objext conftest
$ac_exeext
29074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29075 (eval $ac_link) 2>conftest.er1
29077 grep -v '^ *+' conftest.er1
>conftest.err
29079 cat conftest.err
>&5
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); } &&
29082 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29084 (eval $ac_try) 2>&5
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); }; } &&
29088 { ac_try
='test -s conftest$ac_exeext'
29089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29090 (eval $ac_try) 2>&5
29092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); }; }; then
29094 ac_cv_lib_dnet_dnet_ntoa
=yes
29096 echo "$as_me: failed program was:" >&5
29097 sed 's/^/| /' conftest.
$ac_ext >&5
29099 ac_cv_lib_dnet_dnet_ntoa
=no
29101 rm -f conftest.err conftest.
$ac_objext \
29102 conftest
$ac_exeext conftest.
$ac_ext
29103 LIBS
=$ac_check_lib_save_LIBS
29105 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29106 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29107 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29108 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29111 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29112 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29113 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29114 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29115 echo $ECHO_N "(cached) $ECHO_C" >&6
29117 ac_check_lib_save_LIBS
=$LIBS
29118 LIBS
="-ldnet_stub $LIBS"
29119 cat >conftest.
$ac_ext <<_ACEOF
29122 cat confdefs.h
>>conftest.
$ac_ext
29123 cat >>conftest.
$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29126 /* Override any gcc2 internal prototype to avoid an error. */
29130 /* We use char because int might match the return type of a gcc2
29131 builtin and then its argument prototype would still apply. */
29141 rm -f conftest.
$ac_objext conftest
$ac_exeext
29142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29143 (eval $ac_link) 2>conftest.er1
29145 grep -v '^ *+' conftest.er1
>conftest.err
29147 cat conftest.err
>&5
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); } &&
29150 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29152 (eval $ac_try) 2>&5
29154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 (exit $ac_status); }; } &&
29156 { ac_try
='test -s conftest$ac_exeext'
29157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29158 (eval $ac_try) 2>&5
29160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29161 (exit $ac_status); }; }; then
29162 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29164 echo "$as_me: failed program was:" >&5
29165 sed 's/^/| /' conftest.
$ac_ext >&5
29167 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29169 rm -f conftest.err conftest.
$ac_objext \
29170 conftest
$ac_exeext conftest.
$ac_ext
29171 LIBS
=$ac_check_lib_save_LIBS
29173 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29174 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29175 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29176 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29181 rm -f conftest.err conftest.
$ac_objext \
29182 conftest
$ac_exeext conftest.
$ac_ext
29183 LIBS
="$ac_xsave_LIBS"
29185 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29186 # to get the SysV transport functions.
29187 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29189 # The nsl library prevents programs from opening the X display
29190 # on Irix 5.2, according to T.E. Dickey.
29191 # The functions gethostbyname, getservbyname, and inet_addr are
29192 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29193 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29194 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29195 if test "${ac_cv_func_gethostbyname+set}" = set; then
29196 echo $ECHO_N "(cached) $ECHO_C" >&6
29198 cat >conftest.
$ac_ext <<_ACEOF
29201 cat confdefs.h
>>conftest.
$ac_ext
29202 cat >>conftest.
$ac_ext <<_ACEOF
29203 /* end confdefs.h. */
29204 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29206 #define gethostbyname innocuous_gethostbyname
29208 /* System header to define __stub macros and hopefully few prototypes,
29209 which can conflict with char gethostbyname (); below.
29210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29211 <limits.h> exists even on freestanding compilers. */
29214 # include <limits.h>
29216 # include <assert.h>
29219 #undef gethostbyname
29221 /* Override any gcc2 internal prototype to avoid an error. */
29226 /* We use char because int might match the return type of a gcc2
29227 builtin and then its argument prototype would still apply. */
29228 char gethostbyname ();
29229 /* The GNU C library defines this for functions which it implements
29230 to always fail with ENOSYS. Some functions are actually named
29231 something starting with __ and the normal name is an alias. */
29232 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29235 char (*f) () = gethostbyname;
29244 return f != gethostbyname;
29249 rm -f conftest.
$ac_objext conftest
$ac_exeext
29250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29251 (eval $ac_link) 2>conftest.er1
29253 grep -v '^ *+' conftest.er1
>conftest.err
29255 cat conftest.err
>&5
29256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257 (exit $ac_status); } &&
29258 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29260 (eval $ac_try) 2>&5
29262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29263 (exit $ac_status); }; } &&
29264 { ac_try
='test -s conftest$ac_exeext'
29265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29266 (eval $ac_try) 2>&5
29268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29269 (exit $ac_status); }; }; then
29270 ac_cv_func_gethostbyname
=yes
29272 echo "$as_me: failed program was:" >&5
29273 sed 's/^/| /' conftest.
$ac_ext >&5
29275 ac_cv_func_gethostbyname
=no
29277 rm -f conftest.err conftest.
$ac_objext \
29278 conftest
$ac_exeext conftest.
$ac_ext
29280 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29281 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29283 if test $ac_cv_func_gethostbyname = no
; then
29284 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29285 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29286 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29287 echo $ECHO_N "(cached) $ECHO_C" >&6
29289 ac_check_lib_save_LIBS
=$LIBS
29291 cat >conftest.
$ac_ext <<_ACEOF
29294 cat confdefs.h
>>conftest.
$ac_ext
29295 cat >>conftest.
$ac_ext <<_ACEOF
29296 /* end confdefs.h. */
29298 /* Override any gcc2 internal prototype to avoid an error. */
29302 /* We use char because int might match the return type of a gcc2
29303 builtin and then its argument prototype would still apply. */
29304 char gethostbyname ();
29313 rm -f conftest.
$ac_objext conftest
$ac_exeext
29314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29315 (eval $ac_link) 2>conftest.er1
29317 grep -v '^ *+' conftest.er1
>conftest.err
29319 cat conftest.err
>&5
29320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321 (exit $ac_status); } &&
29322 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29324 (eval $ac_try) 2>&5
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); }; } &&
29328 { ac_try
='test -s conftest$ac_exeext'
29329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29330 (eval $ac_try) 2>&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); }; }; then
29334 ac_cv_lib_nsl_gethostbyname
=yes
29336 echo "$as_me: failed program was:" >&5
29337 sed 's/^/| /' conftest.
$ac_ext >&5
29339 ac_cv_lib_nsl_gethostbyname
=no
29341 rm -f conftest.err conftest.
$ac_objext \
29342 conftest
$ac_exeext conftest.
$ac_ext
29343 LIBS
=$ac_check_lib_save_LIBS
29345 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29346 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29347 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29348 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29351 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29352 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29353 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29354 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29357 ac_check_lib_save_LIBS
=$LIBS
29359 cat >conftest.
$ac_ext <<_ACEOF
29362 cat confdefs.h
>>conftest.
$ac_ext
29363 cat >>conftest.
$ac_ext <<_ACEOF
29364 /* end confdefs.h. */
29366 /* Override any gcc2 internal prototype to avoid an error. */
29370 /* We use char because int might match the return type of a gcc2
29371 builtin and then its argument prototype would still apply. */
29372 char gethostbyname ();
29381 rm -f conftest.
$ac_objext conftest
$ac_exeext
29382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29383 (eval $ac_link) 2>conftest.er1
29385 grep -v '^ *+' conftest.er1
>conftest.err
29387 cat conftest.err
>&5
29388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29389 (exit $ac_status); } &&
29390 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29392 (eval $ac_try) 2>&5
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); }; } &&
29396 { ac_try
='test -s conftest$ac_exeext'
29397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29398 (eval $ac_try) 2>&5
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); }; }; then
29402 ac_cv_lib_bsd_gethostbyname
=yes
29404 echo "$as_me: failed program was:" >&5
29405 sed 's/^/| /' conftest.
$ac_ext >&5
29407 ac_cv_lib_bsd_gethostbyname
=no
29409 rm -f conftest.err conftest.
$ac_objext \
29410 conftest
$ac_exeext conftest.
$ac_ext
29411 LIBS
=$ac_check_lib_save_LIBS
29413 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29414 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29415 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29416 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
29422 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29423 # socket/setsockopt and other routines are undefined under SCO ODT
29424 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29425 # on later versions), says Simon Leinen: it contains gethostby*
29426 # variants that don't use the name server (or something). -lsocket
29427 # must be given before -lnsl if both are needed. We assume that
29428 # if connect needs -lnsl, so does gethostbyname.
29429 echo "$as_me:$LINENO: checking for connect" >&5
29430 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29431 if test "${ac_cv_func_connect+set}" = set; then
29432 echo $ECHO_N "(cached) $ECHO_C" >&6
29434 cat >conftest.
$ac_ext <<_ACEOF
29437 cat confdefs.h
>>conftest.
$ac_ext
29438 cat >>conftest.
$ac_ext <<_ACEOF
29439 /* end confdefs.h. */
29440 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29442 #define connect innocuous_connect
29444 /* System header to define __stub macros and hopefully few prototypes,
29445 which can conflict with char connect (); below.
29446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29447 <limits.h> exists even on freestanding compilers. */
29450 # include <limits.h>
29452 # include <assert.h>
29457 /* Override any gcc2 internal prototype to avoid an error. */
29462 /* We use char because int might match the return type of a gcc2
29463 builtin and then its argument prototype would still apply. */
29465 /* The GNU C library defines this for functions which it implements
29466 to always fail with ENOSYS. Some functions are actually named
29467 something starting with __ and the normal name is an alias. */
29468 #if defined (__stub_connect) || defined (__stub___connect)
29471 char (*f) () = connect;
29480 return f != connect;
29485 rm -f conftest.
$ac_objext conftest
$ac_exeext
29486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29487 (eval $ac_link) 2>conftest.er1
29489 grep -v '^ *+' conftest.er1
>conftest.err
29491 cat conftest.err
>&5
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); } &&
29494 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29496 (eval $ac_try) 2>&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); }; } &&
29500 { ac_try
='test -s conftest$ac_exeext'
29501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29502 (eval $ac_try) 2>&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); }; }; then
29506 ac_cv_func_connect
=yes
29508 echo "$as_me: failed program was:" >&5
29509 sed 's/^/| /' conftest.
$ac_ext >&5
29511 ac_cv_func_connect
=no
29513 rm -f conftest.err conftest.
$ac_objext \
29514 conftest
$ac_exeext conftest.
$ac_ext
29516 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29517 echo "${ECHO_T}$ac_cv_func_connect" >&6
29519 if test $ac_cv_func_connect = no
; then
29520 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29521 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29522 if test "${ac_cv_lib_socket_connect+set}" = set; then
29523 echo $ECHO_N "(cached) $ECHO_C" >&6
29525 ac_check_lib_save_LIBS
=$LIBS
29526 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29527 cat >conftest.
$ac_ext <<_ACEOF
29530 cat confdefs.h
>>conftest.
$ac_ext
29531 cat >>conftest.
$ac_ext <<_ACEOF
29532 /* end confdefs.h. */
29534 /* Override any gcc2 internal prototype to avoid an error. */
29538 /* We use char because int might match the return type of a gcc2
29539 builtin and then its argument prototype would still apply. */
29549 rm -f conftest.
$ac_objext conftest
$ac_exeext
29550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29551 (eval $ac_link) 2>conftest.er1
29553 grep -v '^ *+' conftest.er1
>conftest.err
29555 cat conftest.err
>&5
29556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557 (exit $ac_status); } &&
29558 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29560 (eval $ac_try) 2>&5
29562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29563 (exit $ac_status); }; } &&
29564 { ac_try
='test -s conftest$ac_exeext'
29565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29566 (eval $ac_try) 2>&5
29568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29569 (exit $ac_status); }; }; then
29570 ac_cv_lib_socket_connect
=yes
29572 echo "$as_me: failed program was:" >&5
29573 sed 's/^/| /' conftest.
$ac_ext >&5
29575 ac_cv_lib_socket_connect
=no
29577 rm -f conftest.err conftest.
$ac_objext \
29578 conftest
$ac_exeext conftest.
$ac_ext
29579 LIBS
=$ac_check_lib_save_LIBS
29581 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29582 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29583 if test $ac_cv_lib_socket_connect = yes; then
29584 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
29589 # Guillermo Gomez says -lposix is necessary on A/UX.
29590 echo "$as_me:$LINENO: checking for remove" >&5
29591 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29592 if test "${ac_cv_func_remove+set}" = set; then
29593 echo $ECHO_N "(cached) $ECHO_C" >&6
29595 cat >conftest.
$ac_ext <<_ACEOF
29598 cat confdefs.h
>>conftest.
$ac_ext
29599 cat >>conftest.
$ac_ext <<_ACEOF
29600 /* end confdefs.h. */
29601 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29603 #define remove innocuous_remove
29605 /* System header to define __stub macros and hopefully few prototypes,
29606 which can conflict with char remove (); below.
29607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29608 <limits.h> exists even on freestanding compilers. */
29611 # include <limits.h>
29613 # include <assert.h>
29618 /* Override any gcc2 internal prototype to avoid an error. */
29623 /* We use char because int might match the return type of a gcc2
29624 builtin and then its argument prototype would still apply. */
29626 /* The GNU C library defines this for functions which it implements
29627 to always fail with ENOSYS. Some functions are actually named
29628 something starting with __ and the normal name is an alias. */
29629 #if defined (__stub_remove) || defined (__stub___remove)
29632 char (*f) () = remove;
29641 return f != remove;
29646 rm -f conftest.
$ac_objext conftest
$ac_exeext
29647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29648 (eval $ac_link) 2>conftest.er1
29650 grep -v '^ *+' conftest.er1
>conftest.err
29652 cat conftest.err
>&5
29653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29654 (exit $ac_status); } &&
29655 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29657 (eval $ac_try) 2>&5
29659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29660 (exit $ac_status); }; } &&
29661 { ac_try
='test -s conftest$ac_exeext'
29662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29663 (eval $ac_try) 2>&5
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); }; }; then
29667 ac_cv_func_remove
=yes
29669 echo "$as_me: failed program was:" >&5
29670 sed 's/^/| /' conftest.
$ac_ext >&5
29672 ac_cv_func_remove
=no
29674 rm -f conftest.err conftest.
$ac_objext \
29675 conftest
$ac_exeext conftest.
$ac_ext
29677 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29678 echo "${ECHO_T}$ac_cv_func_remove" >&6
29680 if test $ac_cv_func_remove = no
; then
29681 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29682 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29683 if test "${ac_cv_lib_posix_remove+set}" = set; then
29684 echo $ECHO_N "(cached) $ECHO_C" >&6
29686 ac_check_lib_save_LIBS
=$LIBS
29687 LIBS
="-lposix $LIBS"
29688 cat >conftest.
$ac_ext <<_ACEOF
29691 cat confdefs.h
>>conftest.
$ac_ext
29692 cat >>conftest.
$ac_ext <<_ACEOF
29693 /* end confdefs.h. */
29695 /* Override any gcc2 internal prototype to avoid an error. */
29699 /* We use char because int might match the return type of a gcc2
29700 builtin and then its argument prototype would still apply. */
29710 rm -f conftest.
$ac_objext conftest
$ac_exeext
29711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29712 (eval $ac_link) 2>conftest.er1
29714 grep -v '^ *+' conftest.er1
>conftest.err
29716 cat conftest.err
>&5
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); } &&
29719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29721 (eval $ac_try) 2>&5
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); }; } &&
29725 { ac_try
='test -s conftest$ac_exeext'
29726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29727 (eval $ac_try) 2>&5
29729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730 (exit $ac_status); }; }; then
29731 ac_cv_lib_posix_remove
=yes
29733 echo "$as_me: failed program was:" >&5
29734 sed 's/^/| /' conftest.
$ac_ext >&5
29736 ac_cv_lib_posix_remove
=no
29738 rm -f conftest.err conftest.
$ac_objext \
29739 conftest
$ac_exeext conftest.
$ac_ext
29740 LIBS
=$ac_check_lib_save_LIBS
29742 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29743 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29744 if test $ac_cv_lib_posix_remove = yes; then
29745 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29750 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29751 echo "$as_me:$LINENO: checking for shmat" >&5
29752 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29753 if test "${ac_cv_func_shmat+set}" = set; then
29754 echo $ECHO_N "(cached) $ECHO_C" >&6
29756 cat >conftest.
$ac_ext <<_ACEOF
29759 cat confdefs.h
>>conftest.
$ac_ext
29760 cat >>conftest.
$ac_ext <<_ACEOF
29761 /* end confdefs.h. */
29762 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29764 #define shmat innocuous_shmat
29766 /* System header to define __stub macros and hopefully few prototypes,
29767 which can conflict with char shmat (); below.
29768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29769 <limits.h> exists even on freestanding compilers. */
29772 # include <limits.h>
29774 # include <assert.h>
29779 /* Override any gcc2 internal prototype to avoid an error. */
29784 /* We use char because int might match the return type of a gcc2
29785 builtin and then its argument prototype would still apply. */
29787 /* The GNU C library defines this for functions which it implements
29788 to always fail with ENOSYS. Some functions are actually named
29789 something starting with __ and the normal name is an alias. */
29790 #if defined (__stub_shmat) || defined (__stub___shmat)
29793 char (*f) () = shmat;
29807 rm -f conftest.
$ac_objext conftest
$ac_exeext
29808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29809 (eval $ac_link) 2>conftest.er1
29811 grep -v '^ *+' conftest.er1
>conftest.err
29813 cat conftest.err
>&5
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); } &&
29816 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29818 (eval $ac_try) 2>&5
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); }; } &&
29822 { ac_try
='test -s conftest$ac_exeext'
29823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29824 (eval $ac_try) 2>&5
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); }; }; then
29828 ac_cv_func_shmat
=yes
29830 echo "$as_me: failed program was:" >&5
29831 sed 's/^/| /' conftest.
$ac_ext >&5
29833 ac_cv_func_shmat
=no
29835 rm -f conftest.err conftest.
$ac_objext \
29836 conftest
$ac_exeext conftest.
$ac_ext
29838 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29839 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29841 if test $ac_cv_func_shmat = no
; then
29842 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29843 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29844 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29845 echo $ECHO_N "(cached) $ECHO_C" >&6
29847 ac_check_lib_save_LIBS
=$LIBS
29849 cat >conftest.
$ac_ext <<_ACEOF
29852 cat confdefs.h
>>conftest.
$ac_ext
29853 cat >>conftest.
$ac_ext <<_ACEOF
29854 /* end confdefs.h. */
29856 /* Override any gcc2 internal prototype to avoid an error. */
29860 /* We use char because int might match the return type of a gcc2
29861 builtin and then its argument prototype would still apply. */
29871 rm -f conftest.
$ac_objext conftest
$ac_exeext
29872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29873 (eval $ac_link) 2>conftest.er1
29875 grep -v '^ *+' conftest.er1
>conftest.err
29877 cat conftest.err
>&5
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); } &&
29880 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29882 (eval $ac_try) 2>&5
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); }; } &&
29886 { ac_try
='test -s conftest$ac_exeext'
29887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29888 (eval $ac_try) 2>&5
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); }; }; then
29892 ac_cv_lib_ipc_shmat
=yes
29894 echo "$as_me: failed program was:" >&5
29895 sed 's/^/| /' conftest.
$ac_ext >&5
29897 ac_cv_lib_ipc_shmat
=no
29899 rm -f conftest.err conftest.
$ac_objext \
29900 conftest
$ac_exeext conftest.
$ac_ext
29901 LIBS
=$ac_check_lib_save_LIBS
29903 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29904 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29905 if test $ac_cv_lib_ipc_shmat = yes; then
29906 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29912 # Check for libraries that X11R6 Xt/Xaw programs need.
29913 ac_save_LDFLAGS
=$LDFLAGS
29914 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29915 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29916 # check for ICE first), but we must link in the order -lSM -lICE or
29917 # we get undefined symbols. So assume we have SM if we have ICE.
29918 # These have to be linked with before -lX11, unlike the other
29919 # libraries we check for below, so use a different variable.
29920 # John Interrante, Karl Berry
29921 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29922 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29923 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29924 echo $ECHO_N "(cached) $ECHO_C" >&6
29926 ac_check_lib_save_LIBS
=$LIBS
29927 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29928 cat >conftest.
$ac_ext <<_ACEOF
29931 cat confdefs.h
>>conftest.
$ac_ext
29932 cat >>conftest.
$ac_ext <<_ACEOF
29933 /* end confdefs.h. */
29935 /* Override any gcc2 internal prototype to avoid an error. */
29939 /* We use char because int might match the return type of a gcc2
29940 builtin and then its argument prototype would still apply. */
29941 char IceConnectionNumber ();
29945 IceConnectionNumber ();
29950 rm -f conftest.
$ac_objext conftest
$ac_exeext
29951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29952 (eval $ac_link) 2>conftest.er1
29954 grep -v '^ *+' conftest.er1
>conftest.err
29956 cat conftest.err
>&5
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); } &&
29959 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29961 (eval $ac_try) 2>&5
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); }; } &&
29965 { ac_try
='test -s conftest$ac_exeext'
29966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29967 (eval $ac_try) 2>&5
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); }; }; then
29971 ac_cv_lib_ICE_IceConnectionNumber
=yes
29973 echo "$as_me: failed program was:" >&5
29974 sed 's/^/| /' conftest.
$ac_ext >&5
29976 ac_cv_lib_ICE_IceConnectionNumber
=no
29978 rm -f conftest.err conftest.
$ac_objext \
29979 conftest
$ac_exeext conftest.
$ac_ext
29980 LIBS
=$ac_check_lib_save_LIBS
29982 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29983 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29984 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29985 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29988 LDFLAGS
=$ac_save_LDFLAGS
29993 if test "$no_x" = "yes"; then
29994 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29995 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29996 { (exit 1); exit 1; }; }
29999 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30000 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30001 AFMINSTALL
=afminstall
30002 COMPILED_X_PROGRAM
=0
30006 if test "$wxUSE_X11" = 1; then
30007 if test "$wxUSE_NANOX" = "yes"; then
30008 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30009 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30010 if test "x$MICROWIN" = x
; then
30011 echo "$as_me:$LINENO: result: not found" >&5
30012 echo "${ECHO_T}not found" >&6
30013 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30014 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30015 { (exit 1); exit 1; }; }
30017 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30018 echo "${ECHO_T}$MICROWIN" >&6
30019 cat >>confdefs.h
<<\_ACEOF
30020 #define wxUSE_NANOX 1
30026 if test "$wxUSE_UNICODE" = "yes"; then
30029 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30030 if test -n "$ac_tool_prefix"; then
30031 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30032 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30033 echo "$as_me:$LINENO: checking for $ac_word" >&5
30034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30035 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30036 echo $ECHO_N "(cached) $ECHO_C" >&6
30038 case $PKG_CONFIG in
30040 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30044 for as_dir
in $PATH
30047 test -z "$as_dir" && as_dir
=.
30048 for ac_exec_ext
in '' $ac_executable_extensions; do
30049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30050 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30060 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30062 if test -n "$PKG_CONFIG"; then
30063 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30064 echo "${ECHO_T}$PKG_CONFIG" >&6
30066 echo "$as_me:$LINENO: result: no" >&5
30067 echo "${ECHO_T}no" >&6
30071 if test -z "$ac_cv_path_PKG_CONFIG"; then
30072 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30073 # Extract the first word of "pkg-config", so it can be a program name with args.
30074 set dummy pkg
-config; ac_word
=$2
30075 echo "$as_me:$LINENO: checking for $ac_word" >&5
30076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30077 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30078 echo $ECHO_N "(cached) $ECHO_C" >&6
30080 case $ac_pt_PKG_CONFIG in
30082 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30086 for as_dir
in $PATH
30089 test -z "$as_dir" && as_dir
=.
30090 for ac_exec_ext
in '' $ac_executable_extensions; do
30091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30092 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30102 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30104 if test -n "$ac_pt_PKG_CONFIG"; then
30105 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30106 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30108 echo "$as_me:$LINENO: result: no" >&5
30109 echo "${ECHO_T}no" >&6
30112 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30114 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30118 if test -n "$PKG_CONFIG"; then
30119 _pkg_min_version
=0.9.0
30120 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30121 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30122 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30123 echo "$as_me:$LINENO: result: yes" >&5
30124 echo "${ECHO_T}yes" >&6
30126 echo "$as_me:$LINENO: result: no" >&5
30127 echo "${ECHO_T}no" >&6
30134 echo "$as_me:$LINENO: checking for PANGOX" >&5
30135 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30137 if test -n "$PKG_CONFIG"; then
30138 if test -n "$PANGOX_CFLAGS"; then
30139 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30141 if test -n "$PKG_CONFIG" && \
30142 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30143 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30146 (exit $ac_status); }; then
30147 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30155 if test -n "$PKG_CONFIG"; then
30156 if test -n "$PANGOX_LIBS"; then
30157 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30159 if test -n "$PKG_CONFIG" && \
30160 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30161 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30164 (exit $ac_status); }; then
30165 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30176 if test $pkg_failed = yes; then
30178 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30179 _pkg_short_errors_supported
=yes
30181 _pkg_short_errors_supported
=no
30183 if test $_pkg_short_errors_supported = yes; then
30184 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30186 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30188 # Put the nasty error message in config.log where it belongs
30189 echo "$PANGOX_PKG_ERRORS" >&5
30192 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30193 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30194 { (exit 1); exit 1; }; }
30197 elif test $pkg_failed = untried
; then
30199 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30200 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30201 { (exit 1); exit 1; }; }
30205 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30206 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30207 echo "$as_me:$LINENO: result: yes" >&5
30208 echo "${ECHO_T}yes" >&6
30210 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30211 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30216 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30217 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30219 if test -n "$PKG_CONFIG"; then
30220 if test -n "$PANGOFT2_CFLAGS"; then
30221 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30223 if test -n "$PKG_CONFIG" && \
30224 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30225 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30228 (exit $ac_status); }; then
30229 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30237 if test -n "$PKG_CONFIG"; then
30238 if test -n "$PANGOFT2_LIBS"; then
30239 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30241 if test -n "$PKG_CONFIG" && \
30242 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30243 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30246 (exit $ac_status); }; then
30247 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30258 if test $pkg_failed = yes; then
30260 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30261 _pkg_short_errors_supported
=yes
30263 _pkg_short_errors_supported
=no
30265 if test $_pkg_short_errors_supported = yes; then
30266 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30268 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30270 # Put the nasty error message in config.log where it belongs
30271 echo "$PANGOFT2_PKG_ERRORS" >&5
30274 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30275 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30276 wxUSE_PRINTING_ARCHITECTURE
="no"
30279 elif test $pkg_failed = untried
; then
30281 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30282 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30283 wxUSE_PRINTING_ARCHITECTURE
="no"
30287 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30288 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30289 echo "$as_me:$LINENO: result: yes" >&5
30290 echo "${ECHO_T}yes" >&6
30292 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30293 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30298 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30299 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30301 if test -n "$PKG_CONFIG"; then
30302 if test -n "$PANGOXFT_CFLAGS"; then
30303 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30305 if test -n "$PKG_CONFIG" && \
30306 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30307 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30310 (exit $ac_status); }; then
30311 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30319 if test -n "$PKG_CONFIG"; then
30320 if test -n "$PANGOXFT_LIBS"; then
30321 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30323 if test -n "$PKG_CONFIG" && \
30324 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30325 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); }; then
30329 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30340 if test $pkg_failed = yes; then
30342 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30343 _pkg_short_errors_supported
=yes
30345 _pkg_short_errors_supported
=no
30347 if test $_pkg_short_errors_supported = yes; then
30348 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30350 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30352 # Put the nasty error message in config.log where it belongs
30353 echo "$PANGOXFT_PKG_ERRORS" >&5
30356 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30357 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30360 elif test $pkg_failed = untried
; then
30362 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30363 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30367 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30368 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30369 echo "$as_me:$LINENO: result: yes" >&5
30370 echo "${ECHO_T}yes" >&6
30372 cat >>confdefs.h
<<\_ACEOF
30373 #define HAVE_PANGO_XFT 1
30376 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30377 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30380 save_CXXFLAGS
="$CXXFLAGS"
30382 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30383 LIBS
="$LIBS $PANGOX_LIBS"
30385 for ac_func
in pango_font_family_is_monospace
30387 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30388 echo "$as_me:$LINENO: checking for $ac_func" >&5
30389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30390 if eval "test \"\${$as_ac_var+set}\" = set"; then
30391 echo $ECHO_N "(cached) $ECHO_C" >&6
30393 cat >conftest.
$ac_ext <<_ACEOF
30396 cat confdefs.h
>>conftest.
$ac_ext
30397 cat >>conftest.
$ac_ext <<_ACEOF
30398 /* end confdefs.h. */
30399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30401 #define $ac_func innocuous_$ac_func
30403 /* System header to define __stub macros and hopefully few prototypes,
30404 which can conflict with char $ac_func (); below.
30405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30406 <limits.h> exists even on freestanding compilers. */
30409 # include <limits.h>
30411 # include <assert.h>
30416 /* Override any gcc2 internal prototype to avoid an error. */
30421 /* We use char because int might match the return type of a gcc2
30422 builtin and then its argument prototype would still apply. */
30424 /* The GNU C library defines this for functions which it implements
30425 to always fail with ENOSYS. Some functions are actually named
30426 something starting with __ and the normal name is an alias. */
30427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30430 char (*f) () = $ac_func;
30439 return f != $ac_func;
30444 rm -f conftest.
$ac_objext conftest
$ac_exeext
30445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30446 (eval $ac_link) 2>conftest.er1
30448 grep -v '^ *+' conftest.er1
>conftest.err
30450 cat conftest.err
>&5
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); } &&
30453 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30455 (eval $ac_try) 2>&5
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); }; } &&
30459 { ac_try
='test -s conftest$ac_exeext'
30460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30461 (eval $ac_try) 2>&5
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); }; }; then
30465 eval "$as_ac_var=yes"
30467 echo "$as_me: failed program was:" >&5
30468 sed 's/^/| /' conftest.
$ac_ext >&5
30470 eval "$as_ac_var=no"
30472 rm -f conftest.err conftest.
$ac_objext \
30473 conftest
$ac_exeext conftest.
$ac_ext
30475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30477 if test `eval echo '${'$as_ac_var'}'` = yes; then
30478 cat >>confdefs.h
<<_ACEOF
30479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30485 CXXFLAGS
="$save_CXXFLAGS"
30489 wxUSE_UNIVERSAL
="yes"
30491 if test "$wxUSE_NANOX" = "yes"; then
30492 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30493 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"
30494 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30496 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
30503 if test "$wxUSE_MOTIF" = 1; then
30504 if test "$wxUSE_UNICODE" = "yes"; then
30505 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30506 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30507 { (exit 1); exit 1; }; }
30510 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30511 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30514 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30516 if test -f "$ac_dir/Xm/Xm.h"; then
30517 ac_find_includes
=$ac_dir
30522 if test "$ac_find_includes" != "" ; then
30523 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30524 echo "${ECHO_T}found in $ac_find_includes" >&6
30526 if test "x$ac_find_includes" = "x/usr/include"; then
30527 ac_path_to_include
=""
30529 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
30531 if test $result = 0; then
30532 ac_path_to_include
=""
30534 ac_path_to_include
=" -I$ac_find_includes"
30538 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
30540 save_CXXFLAGS
=$CXXFLAGS
30541 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30543 cat >conftest.
$ac_ext <<_ACEOF
30546 cat confdefs.h
>>conftest.
$ac_ext
30547 cat >>conftest.
$ac_ext <<_ACEOF
30548 /* end confdefs.h. */
30557 version = xmUseVersion;
30563 rm -f conftest.
$ac_objext
30564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30565 (eval $ac_compile) 2>conftest.er1
30567 grep -v '^ *+' conftest.er1
>conftest.err
30569 cat conftest.err
>&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); } &&
30572 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30574 (eval $ac_try) 2>&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); }; } &&
30578 { ac_try
='test -s conftest.$ac_objext'
30579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30580 (eval $ac_try) 2>&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; }; then
30585 echo "$as_me:$LINENO: result: found in default search path" >&5
30586 echo "${ECHO_T}found in default search path" >&6
30587 COMPILED_X_PROGRAM
=1
30590 echo "$as_me: failed program was:" >&5
30591 sed 's/^/| /' conftest.
$ac_ext >&5
30594 echo "$as_me:$LINENO: result: no" >&5
30595 echo "${ECHO_T}no" >&6
30596 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30597 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30598 { (exit 1); exit 1; }; }
30602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30604 CXXFLAGS
=$save_CXXFLAGS
30608 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30609 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30612 for ac_dir
in $SEARCH_LIB;
30614 for ac_extension
in a so sl dylib dll.a
; do
30615 if test -f "$ac_dir/libXm.$ac_extension"; then
30616 ac_find_libraries
=$ac_dir
30623 if test "x$ac_find_libraries" != "x" ; then
30624 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30625 echo "${ECHO_T}found in $ac_find_libraries" >&6
30628 if test "$ac_find_libraries" = "default location"; then
30631 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30633 if test $result = 0; then
30636 ac_path_to_link
=" -L$ac_find_libraries"
30640 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30642 save_CXXFLAGS
=$CXXFLAGS
30643 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30645 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30647 cat >conftest.
$ac_ext <<_ACEOF
30650 cat confdefs.h
>>conftest.
$ac_ext
30651 cat >>conftest.
$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30661 version = xmUseVersion;
30667 rm -f conftest.
$ac_objext conftest
$ac_exeext
30668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30669 (eval $ac_link) 2>conftest.er1
30671 grep -v '^ *+' conftest.er1
>conftest.err
30673 cat conftest.err
>&5
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); } &&
30676 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30678 (eval $ac_try) 2>&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); }; } &&
30682 { ac_try
='test -s conftest$ac_exeext'
30683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30684 (eval $ac_try) 2>&5
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); }; }; then
30689 echo "$as_me:$LINENO: result: found in default search path" >&5
30690 echo "${ECHO_T}found in default search path" >&6
30691 COMPILED_X_PROGRAM
=1
30694 echo "$as_me: failed program was:" >&5
30695 sed 's/^/| /' conftest.
$ac_ext >&5
30698 echo "$as_me:$LINENO: result: no" >&5
30699 echo "${ECHO_T}no" >&6
30700 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30701 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30702 { (exit 1); exit 1; }; }
30706 rm -f conftest.err conftest.
$ac_objext \
30707 conftest
$ac_exeext conftest.
$ac_ext
30709 CXXFLAGS
=$save_CXXFLAGS
30713 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30714 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30718 for libp
in "" " -lXp"; do
30719 if test "$libs_found" = "0"; then
30720 for libsm_ice
in "" " -lSM -lICE"; do
30721 if test "$libs_found" = "0"; then
30723 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30724 save_CXXFLAGS
=$CXXFLAGS
30725 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30727 cat >conftest.
$ac_ext <<_ACEOF
30730 cat confdefs.h
>>conftest.
$ac_ext
30731 cat >>conftest.
$ac_ext <<_ACEOF
30732 /* end confdefs.h. */
30735 #include <Xm/List.h>
30741 XmString string = NULL;
30744 XmListAddItem(w, string, position);
30750 rm -f conftest.
$ac_objext conftest
$ac_exeext
30751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30752 (eval $ac_link) 2>conftest.er1
30754 grep -v '^ *+' conftest.er1
>conftest.err
30756 cat conftest.err
>&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); } &&
30759 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30761 (eval $ac_try) 2>&5
30763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30764 (exit $ac_status); }; } &&
30765 { ac_try
='test -s conftest$ac_exeext'
30766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30767 (eval $ac_try) 2>&5
30769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30770 (exit $ac_status); }; }; then
30773 libsm_ice_link
="$libsm_ice"
30774 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30775 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30779 echo "$as_me: failed program was:" >&5
30780 sed 's/^/| /' conftest.
$ac_ext >&5
30785 rm -f conftest.err conftest.
$ac_objext \
30786 conftest
$ac_exeext conftest.
$ac_ext
30789 CXXFLAGS
=$save_CXXFLAGS
30795 if test "$libs_found" = "0"; then
30796 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30797 echo "${ECHO_T}can't find the right libraries" >&6
30798 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30799 echo "$as_me: error: can't link a simple motif program" >&2;}
30800 { (exit 1); exit 1; }; }
30803 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30804 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30805 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30806 echo $ECHO_N "(cached) $ECHO_C" >&6
30808 ac_check_lib_save_LIBS
=$LIBS
30810 cat >conftest.
$ac_ext <<_ACEOF
30813 cat confdefs.h
>>conftest.
$ac_ext
30814 cat >>conftest.
$ac_ext <<_ACEOF
30815 /* end confdefs.h. */
30817 /* Override any gcc2 internal prototype to avoid an error. */
30821 /* We use char because int might match the return type of a gcc2
30822 builtin and then its argument prototype would still apply. */
30823 char SgCreateList ();
30832 rm -f conftest.
$ac_objext conftest
$ac_exeext
30833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30834 (eval $ac_link) 2>conftest.er1
30836 grep -v '^ *+' conftest.er1
>conftest.err
30838 cat conftest.err
>&5
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); } &&
30841 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30843 (eval $ac_try) 2>&5
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); }; } &&
30847 { ac_try
='test -s conftest$ac_exeext'
30848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30849 (eval $ac_try) 2>&5
30851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852 (exit $ac_status); }; }; then
30853 ac_cv_lib_Sgm_SgCreateList
=yes
30855 echo "$as_me: failed program was:" >&5
30856 sed 's/^/| /' conftest.
$ac_ext >&5
30858 ac_cv_lib_Sgm_SgCreateList
=no
30860 rm -f conftest.err conftest.
$ac_objext \
30861 conftest
$ac_exeext conftest.
$ac_ext
30862 LIBS
=$ac_check_lib_save_LIBS
30864 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30865 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30866 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30867 libsgm_link
=" -lSgm"
30871 save_CXXFLAGS
=$CXXFLAGS
30872 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30874 echo "$as_me:$LINENO: checking for Motif 2" >&5
30875 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30876 if test "${wx_cv_lib_motif2+set}" = set; then
30877 echo $ECHO_N "(cached) $ECHO_C" >&6
30879 cat >conftest.
$ac_ext <<_ACEOF
30882 cat confdefs.h
>>conftest.
$ac_ext
30883 cat >>conftest.
$ac_ext <<_ACEOF
30884 /* end confdefs.h. */
30892 #if XmVersion < 2000
30900 rm -f conftest.
$ac_objext
30901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30902 (eval $ac_compile) 2>conftest.er1
30904 grep -v '^ *+' conftest.er1
>conftest.err
30906 cat conftest.err
>&5
30907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30908 (exit $ac_status); } &&
30909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30911 (eval $ac_try) 2>&5
30913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30914 (exit $ac_status); }; } &&
30915 { ac_try
='test -s conftest.$ac_objext'
30916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30917 (eval $ac_try) 2>&5
30919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30920 (exit $ac_status); }; }; then
30921 wx_cv_lib_motif2
="yes"
30923 echo "$as_me: failed program was:" >&5
30924 sed 's/^/| /' conftest.
$ac_ext >&5
30926 wx_cv_lib_motif2
="no"
30928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30930 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30931 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30932 if test "$wx_cv_lib_motif2" = "yes"; then
30933 cat >>confdefs.h
<<\_ACEOF
30934 #define __WXMOTIF20__ 1
30938 cat >>confdefs.h
<<\_ACEOF
30939 #define __WXMOTIF20__ 0
30944 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30945 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30946 if test "${wx_cv_lib_lesstif+set}" = set; then
30947 echo $ECHO_N "(cached) $ECHO_C" >&6
30949 cat >conftest.
$ac_ext <<_ACEOF
30952 cat confdefs.h
>>conftest.
$ac_ext
30953 cat >>conftest.
$ac_ext <<_ACEOF
30954 /* end confdefs.h. */
30962 #if !defined(LesstifVersion) || LesstifVersion <= 0
30970 rm -f conftest.
$ac_objext
30971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30972 (eval $ac_compile) 2>conftest.er1
30974 grep -v '^ *+' conftest.er1
>conftest.err
30976 cat conftest.err
>&5
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); } &&
30979 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30981 (eval $ac_try) 2>&5
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); }; } &&
30985 { ac_try
='test -s conftest.$ac_objext'
30986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30987 (eval $ac_try) 2>&5
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); }; }; then
30991 wx_cv_lib_lesstif
="yes"
30993 echo "$as_me: failed program was:" >&5
30994 sed 's/^/| /' conftest.
$ac_ext >&5
30996 wx_cv_lib_lesstif
="no"
30998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31001 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31002 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31003 if test "$wx_cv_lib_lesstif" = "yes"; then
31004 cat >>confdefs.h
<<\_ACEOF
31005 #define __WXLESSTIF__ 1
31009 cat >>confdefs.h
<<\_ACEOF
31010 #define __WXLESSTIF__ 0
31015 CXXFLAGS
=$save_CXXFLAGS
31017 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31022 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31023 if test "$wxUSE_LIBXPM" = "sys"; then
31024 echo "$as_me:$LINENO: checking for Xpm library" >&5
31025 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31028 for ac_dir
in $SEARCH_LIB;
31030 for ac_extension
in a so sl dylib dll.a
; do
31031 if test -f "$ac_dir/libXpm.$ac_extension"; then
31032 ac_find_libraries
=$ac_dir
31038 if test "$ac_find_libraries" != "" ; then
31040 if test "$ac_find_libraries" = "default location"; then
31043 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31045 if test $result = 0; then
31048 ac_path_to_link
=" -L$ac_find_libraries"
31052 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31053 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31054 echo "${ECHO_T}found in $ac_find_libraries" >&6
31056 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31057 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31058 if test "${wx_cv_x11_xpm_h+set}" = set; then
31059 echo $ECHO_N "(cached) $ECHO_C" >&6
31062 save_CXXFLAGS
=$CXXFLAGS
31063 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31065 cat >conftest.
$ac_ext <<_ACEOF
31068 cat confdefs.h
>>conftest.
$ac_ext
31069 cat >>conftest.
$ac_ext <<_ACEOF
31070 /* end confdefs.h. */
31072 #include <X11/xpm.h>
31079 version = XpmLibraryVersion();
31085 rm -f conftest.
$ac_objext
31086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31087 (eval $ac_compile) 2>conftest.er1
31089 grep -v '^ *+' conftest.er1
>conftest.err
31091 cat conftest.err
>&5
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); } &&
31094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31096 (eval $ac_try) 2>&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); }; } &&
31100 { ac_try
='test -s conftest.$ac_objext'
31101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31102 (eval $ac_try) 2>&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; }; then
31106 wx_cv_x11_xpm_h
=yes
31108 echo "$as_me: failed program was:" >&5
31109 sed 's/^/| /' conftest.
$ac_ext >&5
31114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31116 CXXFLAGS
=$save_CXXFLAGS
31120 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31121 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31123 if test $wx_cv_x11_xpm_h = "yes"; then
31124 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31125 cat >>confdefs.h
<<\_ACEOF
31126 #define wxHAVE_LIB_XPM 1
31130 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31131 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31137 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31138 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31139 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31140 echo $ECHO_N "(cached) $ECHO_C" >&6
31142 ac_check_lib_save_LIBS
=$LIBS
31143 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31144 cat >conftest.
$ac_ext <<_ACEOF
31147 cat confdefs.h
>>conftest.
$ac_ext
31148 cat >>conftest.
$ac_ext <<_ACEOF
31149 /* end confdefs.h. */
31151 /* Override any gcc2 internal prototype to avoid an error. */
31155 /* We use char because int might match the return type of a gcc2
31156 builtin and then its argument prototype would still apply. */
31157 char XShapeQueryExtension ();
31161 XShapeQueryExtension ();
31166 rm -f conftest.
$ac_objext conftest
$ac_exeext
31167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31168 (eval $ac_link) 2>conftest.er1
31170 grep -v '^ *+' conftest.er1
>conftest.err
31172 cat conftest.err
>&5
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); } &&
31175 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31177 (eval $ac_try) 2>&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); }; } &&
31181 { ac_try
='test -s conftest$ac_exeext'
31182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31183 (eval $ac_try) 2>&5
31185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31186 (exit $ac_status); }; }; then
31187 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31189 echo "$as_me: failed program was:" >&5
31190 sed 's/^/| /' conftest.
$ac_ext >&5
31192 ac_cv_lib_Xext_XShapeQueryExtension
=no
31194 rm -f conftest.err conftest.
$ac_objext \
31195 conftest
$ac_exeext conftest.
$ac_ext
31196 LIBS
=$ac_check_lib_save_LIBS
31198 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31199 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31200 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31202 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31208 if test "$wxHAVE_XEXT_LIB" = 1; then
31209 save_CXXFLAGS
="$CXXFLAGS"
31210 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31212 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31213 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31214 cat >conftest.
$ac_ext <<_ACEOF
31217 cat confdefs.h
>>conftest.
$ac_ext
31218 cat >>conftest.
$ac_ext <<_ACEOF
31219 /* end confdefs.h. */
31221 #include <X11/Xlib.h>
31222 #include <X11/extensions/shape.h>
31228 int dummy1, dummy2;
31229 XShapeQueryExtension((Display*)NULL,
31230 (int*)NULL, (int*)NULL);
31236 rm -f conftest.
$ac_objext
31237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31238 (eval $ac_compile) 2>conftest.er1
31240 grep -v '^ *+' conftest.er1
>conftest.err
31242 cat conftest.err
>&5
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); } &&
31245 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31247 (eval $ac_try) 2>&5
31249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31250 (exit $ac_status); }; } &&
31251 { ac_try
='test -s conftest.$ac_objext'
31252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31253 (eval $ac_try) 2>&5
31255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31256 (exit $ac_status); }; }; then
31258 cat >>confdefs.h
<<\_ACEOF
31259 #define HAVE_XSHAPE 1
31262 echo "$as_me:$LINENO: result: found" >&5
31263 echo "${ECHO_T}found" >&6
31266 echo "$as_me: failed program was:" >&5
31267 sed 's/^/| /' conftest.
$ac_ext >&5
31270 echo "$as_me:$LINENO: result: not found" >&5
31271 echo "${ECHO_T}not found" >&6
31274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31275 CXXFLAGS
="$save_CXXFLAGS"
31280 if test "$wxUSE_MAC" = 1; then
31281 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31282 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31283 if test "$GCC" = yes; then
31284 echo "$as_me:$LINENO: result: gcc" >&5
31285 echo "${ECHO_T}gcc" >&6
31286 CPPFLAGS_PASCAL
="-fpascal-strings"
31287 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31288 echo "$as_me:$LINENO: result: xlc" >&5
31289 echo "${ECHO_T}xlc" >&6
31290 CPPFLAGS_PASCAL
="-qmacpstr"
31292 echo "$as_me:$LINENO: result: none" >&5
31293 echo "${ECHO_T}none" >&6
31296 if test "x$wxUSE_UNIX" = "xyes"; then
31297 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31299 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31304 WXBASEPORT
="_carbon"
31307 if test "$wxUSE_COCOA" = 1; then
31312 if test "$wxUSE_PM" = 1; then
31315 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31316 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31317 if test "${wx_cv_spbcdata+set}" = set; then
31318 echo $ECHO_N "(cached) $ECHO_C" >&6
31321 cat >conftest.
$ac_ext <<_ACEOF
31324 cat confdefs.h
>>conftest.
$ac_ext
31325 cat >>conftest.
$ac_ext <<_ACEOF
31326 /* end confdefs.h. */
31341 rm -f conftest.
$ac_objext
31342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31343 (eval $ac_compile) 2>conftest.er1
31345 grep -v '^ *+' conftest.er1
>conftest.err
31347 cat conftest.err
>&5
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); } &&
31350 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31352 (eval $ac_try) 2>&5
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); }; } &&
31356 { ac_try
='test -s conftest.$ac_objext'
31357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31358 (eval $ac_try) 2>&5
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); }; }; then
31364 echo "$as_me: failed program was:" >&5
31365 sed 's/^/| /' conftest.
$ac_ext >&5
31370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31374 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31375 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31377 if test $wx_cv_spbcdata = "yes"; then
31378 cat >>confdefs.h
<<\_ACEOF
31379 #define HAVE_SPBCDATA 1
31385 if test "$TOOLKIT" = "PM" ; then
31388 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31391 if test "$wxUSE_UNIVERSAL" = "yes"; then
31392 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31396 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31397 DISTDIR
="wx\$(TOOLKIT)"
31403 if test "$USE_WIN32" = 1 ; then
31407 GUIDIST
="BASE_DIST"
31412 if test "$wxUSE_GUI" = "yes"; then
31413 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31415 for ac_header
in X
11/Xlib.h
31417 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31419 echo "$as_me:$LINENO: checking for $ac_header" >&5
31420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31422 echo $ECHO_N "(cached) $ECHO_C" >&6
31424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31427 # Is the header compilable?
31428 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31429 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31430 cat >conftest.
$ac_ext <<_ACEOF
31433 cat confdefs.h
>>conftest.
$ac_ext
31434 cat >>conftest.
$ac_ext <<_ACEOF
31435 /* end confdefs.h. */
31436 $ac_includes_default
31437 #include <$ac_header>
31439 rm -f conftest.
$ac_objext
31440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31441 (eval $ac_compile) 2>conftest.er1
31443 grep -v '^ *+' conftest.er1
>conftest.err
31445 cat conftest.err
>&5
31446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31447 (exit $ac_status); } &&
31448 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_objext'
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_header_compiler
=yes
31462 echo "$as_me: failed program was:" >&5
31463 sed 's/^/| /' conftest.
$ac_ext >&5
31465 ac_header_compiler
=no
31467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31468 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31469 echo "${ECHO_T}$ac_header_compiler" >&6
31471 # Is the header present?
31472 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31473 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31474 cat >conftest.
$ac_ext <<_ACEOF
31477 cat confdefs.h
>>conftest.
$ac_ext
31478 cat >>conftest.
$ac_ext <<_ACEOF
31479 /* end confdefs.h. */
31480 #include <$ac_header>
31482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31483 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31485 grep -v '^ *+' conftest.er1
>conftest.err
31487 cat conftest.err
>&5
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); } >/dev
/null
; then
31490 if test -s conftest.err
; then
31491 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31492 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31499 if test -z "$ac_cpp_err"; then
31500 ac_header_preproc
=yes
31502 echo "$as_me: failed program was:" >&5
31503 sed 's/^/| /' conftest.
$ac_ext >&5
31505 ac_header_preproc
=no
31507 rm -f conftest.err conftest.
$ac_ext
31508 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31509 echo "${ECHO_T}$ac_header_preproc" >&6
31511 # So? What about this header?
31512 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31514 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31515 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31516 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31517 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31518 ac_header_preproc
=yes
31521 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31522 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31523 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31524 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31525 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31526 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31527 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31528 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31531 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31532 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31535 ## ----------------------------------------- ##
31536 ## Report this to wx-dev@lists.wxwidgets.org ##
31537 ## ----------------------------------------- ##
31540 sed "s/^/$as_me: WARNING: /" >&2
31543 echo "$as_me:$LINENO: checking for $ac_header" >&5
31544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31546 echo $ECHO_N "(cached) $ECHO_C" >&6
31548 eval "$as_ac_Header=\$ac_header_preproc"
31550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31555 cat >>confdefs.h
<<_ACEOF
31556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31564 for ac_header
in X
11/XKBlib.h
31566 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31567 echo "$as_me:$LINENO: checking for $ac_header" >&5
31568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31570 echo $ECHO_N "(cached) $ECHO_C" >&6
31572 cat >conftest.
$ac_ext <<_ACEOF
31575 cat confdefs.h
>>conftest.
$ac_ext
31576 cat >>conftest.
$ac_ext <<_ACEOF
31577 /* end confdefs.h. */
31579 #if HAVE_X11_XLIB_H
31580 #include <X11/Xlib.h>
31584 #include <$ac_header>
31586 rm -f conftest.
$ac_objext
31587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31588 (eval $ac_compile) 2>conftest.er1
31590 grep -v '^ *+' conftest.er1
>conftest.err
31592 cat conftest.err
>&5
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); } &&
31595 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31597 (eval $ac_try) 2>&5
31599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31600 (exit $ac_status); }; } &&
31601 { ac_try
='test -s conftest.$ac_objext'
31602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31603 (eval $ac_try) 2>&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); }; }; then
31607 eval "$as_ac_Header=yes"
31609 echo "$as_me: failed program was:" >&5
31610 sed 's/^/| /' conftest.
$ac_ext >&5
31612 eval "$as_ac_Header=no"
31614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31619 cat >>confdefs.h
<<_ACEOF
31620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31635 if test "$TOOLKIT" != "MSW" ; then
31637 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31639 if test "${ac_cv_header_sql_h+set}" = set; then
31640 echo "$as_me:$LINENO: checking for sql.h" >&5
31641 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31642 if test "${ac_cv_header_sql_h+set}" = set; then
31643 echo $ECHO_N "(cached) $ECHO_C" >&6
31645 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31646 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31648 # Is the header compilable?
31649 echo "$as_me:$LINENO: checking sql.h usability" >&5
31650 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31651 cat >conftest.
$ac_ext <<_ACEOF
31654 cat confdefs.h
>>conftest.
$ac_ext
31655 cat >>conftest.
$ac_ext <<_ACEOF
31656 /* end confdefs.h. */
31657 $ac_includes_default
31660 rm -f conftest.
$ac_objext
31661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31662 (eval $ac_compile) 2>conftest.er1
31664 grep -v '^ *+' conftest.er1
>conftest.err
31666 cat conftest.err
>&5
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); } &&
31669 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31671 (eval $ac_try) 2>&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); }; } &&
31675 { ac_try
='test -s conftest.$ac_objext'
31676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31677 (eval $ac_try) 2>&5
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); }; }; then
31681 ac_header_compiler
=yes
31683 echo "$as_me: failed program was:" >&5
31684 sed 's/^/| /' conftest.
$ac_ext >&5
31686 ac_header_compiler
=no
31688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31690 echo "${ECHO_T}$ac_header_compiler" >&6
31692 # Is the header present?
31693 echo "$as_me:$LINENO: checking sql.h presence" >&5
31694 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31695 cat >conftest.
$ac_ext <<_ACEOF
31698 cat confdefs.h
>>conftest.
$ac_ext
31699 cat >>conftest.
$ac_ext <<_ACEOF
31700 /* end confdefs.h. */
31703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31706 grep -v '^ *+' conftest.er1
>conftest.err
31708 cat conftest.err
>&5
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); } >/dev
/null
; then
31711 if test -s conftest.err
; then
31712 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31713 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31720 if test -z "$ac_cpp_err"; then
31721 ac_header_preproc
=yes
31723 echo "$as_me: failed program was:" >&5
31724 sed 's/^/| /' conftest.
$ac_ext >&5
31726 ac_header_preproc
=no
31728 rm -f conftest.err conftest.
$ac_ext
31729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31730 echo "${ECHO_T}$ac_header_preproc" >&6
31732 # So? What about this header?
31733 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31735 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31736 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31737 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31738 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31739 ac_header_preproc
=yes
31742 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31743 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31744 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31745 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31746 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31747 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31748 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31749 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31750 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31751 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31752 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31753 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31756 ## ----------------------------------------- ##
31757 ## Report this to wx-dev@lists.wxwidgets.org ##
31758 ## ----------------------------------------- ##
31761 sed "s/^/$as_me: WARNING: /" >&2
31764 echo "$as_me:$LINENO: checking for sql.h" >&5
31765 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31766 if test "${ac_cv_header_sql_h+set}" = set; then
31767 echo $ECHO_N "(cached) $ECHO_C" >&6
31769 ac_cv_header_sql_h
=$ac_header_preproc
31771 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31772 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31775 if test $ac_cv_header_sql_h = yes; then
31780 if test "x$found_sql_h" = "x1" ; then
31781 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31782 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31783 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31784 echo $ECHO_N "(cached) $ECHO_C" >&6
31786 ac_check_lib_save_LIBS
=$LIBS
31787 LIBS
="-liodbc $LIBS"
31788 cat >conftest.
$ac_ext <<_ACEOF
31791 cat confdefs.h
>>conftest.
$ac_ext
31792 cat >>conftest.
$ac_ext <<_ACEOF
31793 /* end confdefs.h. */
31795 /* Override any gcc2 internal prototype to avoid an error. */
31799 /* We use char because int might match the return type of a gcc2
31800 builtin and then its argument prototype would still apply. */
31801 char SQLAllocEnv ();
31810 rm -f conftest.
$ac_objext conftest
$ac_exeext
31811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31812 (eval $ac_link) 2>conftest.er1
31814 grep -v '^ *+' conftest.er1
>conftest.err
31816 cat conftest.err
>&5
31817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818 (exit $ac_status); } &&
31819 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31821 (eval $ac_try) 2>&5
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); }; } &&
31825 { ac_try
='test -s conftest$ac_exeext'
31826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31827 (eval $ac_try) 2>&5
31829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31830 (exit $ac_status); }; }; then
31831 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31833 echo "$as_me: failed program was:" >&5
31834 sed 's/^/| /' conftest.
$ac_ext >&5
31836 ac_cv_lib_iodbc_SQLAllocEnv
=no
31838 rm -f conftest.err conftest.
$ac_objext \
31839 conftest
$ac_exeext conftest.
$ac_ext
31840 LIBS
=$ac_check_lib_save_LIBS
31842 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31843 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31844 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31845 ODBC_LINK
=" -liodbc"
31848 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31849 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31850 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31851 echo $ECHO_N "(cached) $ECHO_C" >&6
31853 ac_check_lib_save_LIBS
=$LIBS
31854 LIBS
="-lunixodbc $LIBS"
31855 cat >conftest.
$ac_ext <<_ACEOF
31858 cat confdefs.h
>>conftest.
$ac_ext
31859 cat >>conftest.
$ac_ext <<_ACEOF
31860 /* end confdefs.h. */
31862 /* Override any gcc2 internal prototype to avoid an error. */
31866 /* We use char because int might match the return type of a gcc2
31867 builtin and then its argument prototype would still apply. */
31868 char SQLAllocEnv ();
31877 rm -f conftest.
$ac_objext conftest
$ac_exeext
31878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31879 (eval $ac_link) 2>conftest.er1
31881 grep -v '^ *+' conftest.er1
>conftest.err
31883 cat conftest.err
>&5
31884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31885 (exit $ac_status); } &&
31886 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31888 (eval $ac_try) 2>&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); }; } &&
31892 { ac_try
='test -s conftest$ac_exeext'
31893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31894 (eval $ac_try) 2>&5
31896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31897 (exit $ac_status); }; }; then
31898 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31900 echo "$as_me: failed program was:" >&5
31901 sed 's/^/| /' conftest.
$ac_ext >&5
31903 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31905 rm -f conftest.err conftest.
$ac_objext \
31906 conftest
$ac_exeext conftest.
$ac_ext
31907 LIBS
=$ac_check_lib_save_LIBS
31909 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31910 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31911 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31912 ODBC_LINK
=" -lunixodbc"
31915 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31916 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31917 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31918 echo $ECHO_N "(cached) $ECHO_C" >&6
31920 ac_check_lib_save_LIBS
=$LIBS
31921 LIBS
="-lodbc $LIBS"
31922 cat >conftest.
$ac_ext <<_ACEOF
31925 cat confdefs.h
>>conftest.
$ac_ext
31926 cat >>conftest.
$ac_ext <<_ACEOF
31927 /* end confdefs.h. */
31929 /* Override any gcc2 internal prototype to avoid an error. */
31933 /* We use char because int might match the return type of a gcc2
31934 builtin and then its argument prototype would still apply. */
31935 char SQLAllocEnv ();
31944 rm -f conftest.
$ac_objext conftest
$ac_exeext
31945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31946 (eval $ac_link) 2>conftest.er1
31948 grep -v '^ *+' conftest.er1
>conftest.err
31950 cat conftest.err
>&5
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); } &&
31953 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31955 (eval $ac_try) 2>&5
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); }; } &&
31959 { ac_try
='test -s conftest$ac_exeext'
31960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31961 (eval $ac_try) 2>&5
31963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31964 (exit $ac_status); }; }; then
31965 ac_cv_lib_odbc_SQLAllocEnv
=yes
31967 echo "$as_me: failed program was:" >&5
31968 sed 's/^/| /' conftest.
$ac_ext >&5
31970 ac_cv_lib_odbc_SQLAllocEnv
=no
31972 rm -f conftest.err conftest.
$ac_objext \
31973 conftest
$ac_exeext conftest.
$ac_ext
31974 LIBS
=$ac_check_lib_save_LIBS
31976 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31977 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31978 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31979 ODBC_LINK
=" -lodbc"
31989 if test "x$ODBC_LINK" = "x" ; then
31990 if test "$wxUSE_ODBC" = "sys" ; then
31991 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31992 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31993 { (exit 1); exit 1; }; }
31995 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31996 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32004 if test "$wxUSE_ODBC" = "builtin" ; then
32005 cat >>confdefs.h
<<\_ACEOF
32006 #define wxUSE_BUILTIN_IODBC 1
32012 if test "$wxUSE_ODBC" != "no" ; then
32013 cat >>confdefs.h
<<\_ACEOF
32014 #define wxUSE_ODBC 1
32017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32019 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32023 if test "$wxUSE_DISPLAY" = "yes"; then
32024 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32025 echo "$as_me:$LINENO: checking for Xinerama" >&5
32026 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32029 for ac_dir
in $SEARCH_LIB;
32031 for ac_extension
in a so sl dylib dll.a
; do
32032 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32033 ac_find_libraries
=$ac_dir
32039 if test "$ac_find_libraries" != "" ; then
32041 if test "$ac_find_libraries" = "default location"; then
32044 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32046 if test $result = 0; then
32049 ac_path_to_link
=" -L$ac_find_libraries"
32053 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32054 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32056 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32057 echo "$as_me:$LINENO: result: yes" >&5
32058 echo "${ECHO_T}yes" >&6
32060 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32061 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32064 for ac_dir
in $SEARCH_LIB;
32066 for ac_extension
in a so sl dylib dll.a
; do
32067 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32068 ac_find_libraries
=$ac_dir
32074 if test "$ac_find_libraries" != "" ; then
32075 echo "$as_me:$LINENO: result: yes" >&5
32076 echo "${ECHO_T}yes" >&6
32078 for ac_header
in X
11/extensions
/xf86vmode.h
32080 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32081 echo "$as_me:$LINENO: checking for $ac_header" >&5
32082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32084 echo $ECHO_N "(cached) $ECHO_C" >&6
32086 cat >conftest.
$ac_ext <<_ACEOF
32089 cat confdefs.h
>>conftest.
$ac_ext
32090 cat >>conftest.
$ac_ext <<_ACEOF
32091 /* end confdefs.h. */
32093 #if HAVE_X11_XLIB_H
32094 #include <X11/Xlib.h>
32098 #include <$ac_header>
32100 rm -f conftest.
$ac_objext
32101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32102 (eval $ac_compile) 2>conftest.er1
32104 grep -v '^ *+' conftest.er1
>conftest.err
32106 cat conftest.err
>&5
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); } &&
32109 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32111 (eval $ac_try) 2>&5
32113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32114 (exit $ac_status); }; } &&
32115 { ac_try
='test -s conftest.$ac_objext'
32116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32117 (eval $ac_try) 2>&5
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); }; }; then
32121 eval "$as_ac_Header=yes"
32123 echo "$as_me: failed program was:" >&5
32124 sed 's/^/| /' conftest.
$ac_ext >&5
32126 eval "$as_ac_Header=no"
32128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32133 cat >>confdefs.h
<<_ACEOF
32134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32137 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32144 echo "$as_me:$LINENO: result: no" >&5
32145 echo "${ECHO_T}no" >&6
32149 echo "$as_me:$LINENO: result: no" >&5
32150 echo "${ECHO_T}no" >&6
32151 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32152 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32155 elif test "$wxUSE_MSW" = 1; then
32157 for ac_header
in ddraw.h
32159 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32160 echo "$as_me:$LINENO: checking for $ac_header" >&5
32161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32163 echo $ECHO_N "(cached) $ECHO_C" >&6
32165 cat >conftest.
$ac_ext <<_ACEOF
32168 cat confdefs.h
>>conftest.
$ac_ext
32169 cat >>conftest.
$ac_ext <<_ACEOF
32170 /* end confdefs.h. */
32171 #include <windows.h>
32173 #include <$ac_header>
32175 rm -f conftest.
$ac_objext
32176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32177 (eval $ac_compile) 2>conftest.er1
32179 grep -v '^ *+' conftest.er1
>conftest.err
32181 cat conftest.err
>&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); } &&
32184 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32186 (eval $ac_try) 2>&5
32188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189 (exit $ac_status); }; } &&
32190 { ac_try
='test -s conftest.$ac_objext'
32191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32192 (eval $ac_try) 2>&5
32194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32195 (exit $ac_status); }; }; then
32196 eval "$as_ac_Header=yes"
32198 echo "$as_me: failed program was:" >&5
32199 sed 's/^/| /' conftest.
$ac_ext >&5
32201 eval "$as_ac_Header=no"
32203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32207 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32208 cat >>confdefs.h
<<_ACEOF
32209 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32221 if test "$wxUSE_OPENGL" = "yes"; then
32222 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32223 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32224 elif test "$wxUSE_MSW" = 1; then
32225 OPENGL_LIBS
="-lopengl32 -lglu32"
32230 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32232 if test -f "$ac_dir/GL/gl.h"; then
32233 ac_find_includes
=$ac_dir
32238 if test "$ac_find_includes" != "" ; then
32239 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32240 echo "${ECHO_T}found in $ac_find_includes" >&6
32242 if test "x$ac_find_includes" = "x/usr/include"; then
32243 ac_path_to_include
=""
32245 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32247 if test $result = 0; then
32248 ac_path_to_include
=""
32250 ac_path_to_include
=" -I$ac_find_includes"
32254 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32257 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32258 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32259 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32260 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32261 echo $ECHO_N "(cached) $ECHO_C" >&6
32263 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32264 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32266 # Is the header compilable?
32267 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32268 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32269 cat >conftest.
$ac_ext <<_ACEOF
32272 cat confdefs.h
>>conftest.
$ac_ext
32273 cat >>conftest.
$ac_ext <<_ACEOF
32274 /* end confdefs.h. */
32275 $ac_includes_default
32278 rm -f conftest.
$ac_objext
32279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32280 (eval $ac_compile) 2>conftest.er1
32282 grep -v '^ *+' conftest.er1
>conftest.err
32284 cat conftest.err
>&5
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); } &&
32287 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32289 (eval $ac_try) 2>&5
32291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292 (exit $ac_status); }; } &&
32293 { ac_try
='test -s conftest.$ac_objext'
32294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32295 (eval $ac_try) 2>&5
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); }; }; then
32299 ac_header_compiler
=yes
32301 echo "$as_me: failed program was:" >&5
32302 sed 's/^/| /' conftest.
$ac_ext >&5
32304 ac_header_compiler
=no
32306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32308 echo "${ECHO_T}$ac_header_compiler" >&6
32310 # Is the header present?
32311 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32312 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32313 cat >conftest.
$ac_ext <<_ACEOF
32316 cat confdefs.h
>>conftest.
$ac_ext
32317 cat >>conftest.
$ac_ext <<_ACEOF
32318 /* end confdefs.h. */
32321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32324 grep -v '^ *+' conftest.er1
>conftest.err
32326 cat conftest.err
>&5
32327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32328 (exit $ac_status); } >/dev
/null
; then
32329 if test -s conftest.err
; then
32330 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32331 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32338 if test -z "$ac_cpp_err"; then
32339 ac_header_preproc
=yes
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.
$ac_ext >&5
32344 ac_header_preproc
=no
32346 rm -f conftest.err conftest.
$ac_ext
32347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32348 echo "${ECHO_T}$ac_header_preproc" >&6
32350 # So? What about this header?
32351 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32353 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32354 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32355 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32356 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32357 ac_header_preproc
=yes
32360 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32361 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32362 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32363 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32364 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32365 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32366 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32367 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32368 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32369 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32370 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32371 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32374 ## ----------------------------------------- ##
32375 ## Report this to wx-dev@lists.wxwidgets.org ##
32376 ## ----------------------------------------- ##
32379 sed "s/^/$as_me: WARNING: /" >&2
32382 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32383 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32384 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32385 echo $ECHO_N "(cached) $ECHO_C" >&6
32387 ac_cv_header_GL_gl_h
=$ac_header_preproc
32389 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32390 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32393 if test $ac_cv_header_GL_gl_h = yes; then
32397 echo "$as_me:$LINENO: checking for -lGL" >&5
32398 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32401 for ac_dir
in $SEARCH_LIB;
32403 for ac_extension
in a so sl dylib dll.a
; do
32404 if test -f "$ac_dir/libGL.$ac_extension"; then
32405 ac_find_libraries
=$ac_dir
32411 if test "$ac_find_libraries" != "" ; then
32412 echo "$as_me:$LINENO: result: yes" >&5
32413 echo "${ECHO_T}yes" >&6
32416 if test "$ac_find_libraries" = "default location"; then
32419 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32421 if test $result = 0; then
32424 ac_path_to_link
=" -L$ac_find_libraries"
32428 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32429 LDFLAGS_GL
="$ac_path_to_link"
32432 echo "$as_me:$LINENO: checking for -lGLU" >&5
32433 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32436 for ac_dir
in $SEARCH_LIB;
32438 for ac_extension
in a so sl dylib dll.a
; do
32439 if test -f "$ac_dir/libGLU.$ac_extension"; then
32440 ac_find_libraries
=$ac_dir
32446 if test "$ac_find_libraries" != "" ; then
32448 if test "$ac_find_libraries" = "default location"; then
32451 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32453 if test $result = 0; then
32456 ac_path_to_link
=" -L$ac_find_libraries"
32460 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32461 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32462 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32466 OPENGL_LIBS
="-lGL -lGLU"
32467 echo "$as_me:$LINENO: result: yes" >&5
32468 echo "${ECHO_T}yes" >&6
32470 echo "$as_me:$LINENO: result: no" >&5
32471 echo "${ECHO_T}no" >&6
32474 echo "$as_me:$LINENO: result: no" >&5
32475 echo "${ECHO_T}no" >&6
32478 if test "$found_gl" != 1; then
32479 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32480 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32483 for ac_dir
in $SEARCH_LIB;
32485 for ac_extension
in a so sl dylib dll.a
; do
32486 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32487 ac_find_libraries
=$ac_dir
32493 if test "$ac_find_libraries" != "" ; then
32495 if test "$ac_find_libraries" = "default location"; then
32498 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32500 if test $result = 0; then
32503 ac_path_to_link
=" -L$ac_find_libraries"
32507 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32508 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32509 echo "$as_me:$LINENO: result: yes" >&5
32510 echo "${ECHO_T}yes" >&6
32512 echo "$as_me:$LINENO: result: no" >&5
32513 echo "${ECHO_T}no" >&6
32521 if test "x$OPENGL_LIBS" = "x"; then
32522 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32523 echo "$as_me: error: OpenGL libraries not available" >&2;}
32524 { (exit 1); exit 1; }; }
32528 if test "$wxUSE_OPENGL" = "yes"; then
32530 cat >>confdefs.h
<<\_ACEOF
32531 #define wxUSE_OPENGL 1
32534 cat >>confdefs.h
<<\_ACEOF
32535 #define wxUSE_GLCANVAS 1
32538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32543 if test -n "$TOOLKIT" ; then
32544 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32549 if test "$wxUSE_SHARED" = "yes"; then
32553 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32554 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32559 if test "$wxUSE_SHARED" = "yes"; then
32562 found_versioning
=no
32565 if test $found_versioning = no
; then
32566 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32567 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32568 if test "${wx_cv_version_script+set}" = set; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32572 echo "VER_1 { *; };" >conftest.sym
32573 echo "int main() { return 0; }" >conftest.cpp
32576 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32577 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32579 (eval $ac_try) 2>&5
32581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32582 (exit $ac_status); }; } ; then
32583 if test -s conftest.stderr
; then
32584 wx_cv_version_script
=no
32586 wx_cv_version_script
=yes
32589 wx_cv_version_script
=no
32592 if test $wx_cv_version_script = yes
32594 echo "struct B { virtual ~B() { } }; \
32595 struct D : public B { }; \
32596 void F() { D d; }" > conftest.cpp
32599 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32600 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32602 (eval $ac_try) 2>&5
32604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32605 (exit $ac_status); }; } &&
32607 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32608 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32610 (eval $ac_try) 2>&5
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); }; }
32616 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32617 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32619 (eval $ac_try) 2>&5
32621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32622 (exit $ac_status); }; }
32624 wx_cv_version_script
=yes
32626 wx_cv_version_script
=no
32631 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32632 rm -f conftest1.output conftest2.output conftest3.output
32635 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32636 echo "${ECHO_T}$wx_cv_version_script" >&6
32637 if test $wx_cv_version_script = yes ; then
32638 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
32644 *-*-linux* | *-*-gnu* )
32645 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32646 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32650 if test "$GCC" = yes ; then
32651 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32653 saveLdflags
="$LDFLAGS"
32654 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32655 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32656 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32657 cat >conftest.
$ac_ext <<_ACEOF
32660 cat confdefs.h
>>conftest.
$ac_ext
32661 cat >>conftest.
$ac_ext <<_ACEOF
32662 /* end confdefs.h. */
32672 rm -f conftest.
$ac_objext conftest
$ac_exeext
32673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32674 (eval $ac_link) 2>conftest.er1
32676 grep -v '^ *+' conftest.er1
>conftest.err
32678 cat conftest.err
>&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); } &&
32681 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32683 (eval $ac_try) 2>&5
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); }; } &&
32687 { ac_try
='test -s conftest$ac_exeext'
32688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32689 (eval $ac_try) 2>&5
32691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32692 (exit $ac_status); }; }; then
32694 echo "$as_me:$LINENO: result: yes" >&5
32695 echo "${ECHO_T}yes" >&6
32696 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32697 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32700 echo "$as_me: failed program was:" >&5
32701 sed 's/^/| /' conftest.
$ac_ext >&5
32704 echo "$as_me:$LINENO: result: no" >&5
32705 echo "${ECHO_T}no" >&6
32706 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32707 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32708 LDFLAGS
="$saveLdflags -Wl,-R,/"
32709 cat >conftest.
$ac_ext <<_ACEOF
32712 cat confdefs.h
>>conftest.
$ac_ext
32713 cat >>conftest.
$ac_ext <<_ACEOF
32714 /* end confdefs.h. */
32724 rm -f conftest.
$ac_objext conftest
$ac_exeext
32725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32726 (eval $ac_link) 2>conftest.er1
32728 grep -v '^ *+' conftest.er1
>conftest.err
32730 cat conftest.err
>&5
32731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732 (exit $ac_status); } &&
32733 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32735 (eval $ac_try) 2>&5
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 (exit $ac_status); }; } &&
32739 { ac_try
='test -s conftest$ac_exeext'
32740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32741 (eval $ac_try) 2>&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); }; }; then
32746 echo "$as_me:$LINENO: result: yes" >&5
32747 echo "${ECHO_T}yes" >&6
32748 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
32749 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32752 echo "$as_me: failed program was:" >&5
32753 sed 's/^/| /' conftest.
$ac_ext >&5
32756 echo "$as_me:$LINENO: result: no" >&5
32757 echo "${ECHO_T}no" >&6
32760 rm -f conftest.err conftest.
$ac_objext \
32761 conftest
$ac_exeext conftest.
$ac_ext
32764 rm -f conftest.err conftest.
$ac_objext \
32765 conftest
$ac_exeext conftest.
$ac_ext
32766 LDFLAGS
="$saveLdflags"
32768 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
32769 WXCONFIG_RPATH
="-R\$libdir"
32774 install_name_tool
=`which install_name_tool`
32775 if test "$install_name_tool" -a -x "$install_name_tool"; then
32776 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32777 cat <<EOF >change-install-names
32779 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32780 inst_cmd="install_name_tool "
32781 for i in \${libnames} ; do
32782 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32786 chmod +x change
-install-names
32790 *-*-cygwin* | *-*-mingw32* )
32791 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32795 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
32796 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32801 if test $wxUSE_RPATH = "no"; then
32802 SAMPLES_RPATH_FLAG
=''
32803 SAMPLES_RPATH_POSTLINK
=''
32811 config_linkage_component
="-static"
32818 lib_unicode_suffix
=
32820 if test "$wxUSE_UNICODE" = "yes"; then
32821 lib_unicode_suffix
=u
32822 WX_CHARTYPE
="unicode"
32827 WX_DEBUGTYPE
="release"
32829 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32831 WX_DEBUGTYPE
="debug"
32835 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32836 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32839 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32843 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32845 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32847 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32849 if test "$cross_compiling" = "yes"; then
32850 HOST_SUFFIX
="-$host_alias"
32851 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32852 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32855 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32856 if test "${TOOLKIT_DIR}" = "os2"; then
32857 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32859 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32864 if test "$wxUSE_COCOA" = 1; then
32868 ac_cpp
='$CPP $CPPFLAGS'
32869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32875 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32876 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32877 cat >conftest.
$ac_ext <<_ACEOF
32880 cat confdefs.h
>>conftest.
$ac_ext
32881 cat >>conftest.
$ac_ext <<_ACEOF
32882 /* end confdefs.h. */
32883 #include <AppKit/NSEvent.h>
32884 #include <CoreFoundation/CoreFoundation.h>
32894 rm -f conftest.
$ac_objext
32895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32896 (eval $ac_compile) 2>conftest.er1
32898 grep -v '^ *+' conftest.er1
>conftest.err
32900 cat conftest.err
>&5
32901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32902 (exit $ac_status); } &&
32903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32905 (eval $ac_try) 2>&5
32907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32908 (exit $ac_status); }; } &&
32909 { ac_try
='test -s conftest.$ac_objext'
32910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32911 (eval $ac_try) 2>&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); }; }; then
32915 echo "$as_me:$LINENO: result: no" >&5
32916 echo "${ECHO_T}no" >&6
32918 echo "$as_me: failed program was:" >&5
32919 sed 's/^/| /' conftest.
$ac_ext >&5
32921 echo "$as_me:$LINENO: result: yes" >&5
32922 echo "${ECHO_T}yes" >&6
32923 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32924 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32925 cat >conftest.
$ac_ext <<_ACEOF
32928 cat confdefs.h
>>conftest.
$ac_ext
32929 cat >>conftest.
$ac_ext <<_ACEOF
32930 /* end confdefs.h. */
32931 #define __Point__ 1
32932 #include <AppKit/NSEvent.h>
32933 #include <CoreFoundation/CoreFoundation.h>
32943 rm -f conftest.
$ac_objext
32944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32945 (eval $ac_compile) 2>conftest.er1
32947 grep -v '^ *+' conftest.er1
>conftest.err
32949 cat conftest.err
>&5
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); } &&
32952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32954 (eval $ac_try) 2>&5
32956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957 (exit $ac_status); }; } &&
32958 { ac_try
='test -s conftest.$ac_objext'
32959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32960 (eval $ac_try) 2>&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); }; }; then
32964 echo "$as_me:$LINENO: result: yes" >&5
32965 echo "${ECHO_T}yes" >&6
32966 cat >>confdefs.h
<<\_ACEOF
32967 #define __Point__ 1
32972 echo "$as_me: failed program was:" >&5
32973 sed 's/^/| /' conftest.
$ac_ext >&5
32975 { { echo "$as_me:$LINENO: error: no
32976 See \`config.log' for more details." >&5
32977 echo "$as_me: error: no
32978 See \`config.log' for more details." >&2;}
32979 { (exit 1); exit 1; }; }
32982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32987 ac_cpp
='$CXXCPP $CPPFLAGS'
32988 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32989 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32990 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32994 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32995 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32996 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32998 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33000 # Extract the first word of "Rez", so it can be a program name with args.
33001 set dummy Rez
; ac_word
=$2
33002 echo "$as_me:$LINENO: checking for $ac_word" >&5
33003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33004 if test "${ac_cv_prog_REZ+set}" = set; then
33005 echo $ECHO_N "(cached) $ECHO_C" >&6
33007 if test -n "$REZ"; then
33008 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33011 for as_dir
in $PATH
33014 test -z "$as_dir" && as_dir
=.
33015 for ac_exec_ext
in '' $ac_executable_extensions; do
33016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33017 ac_cv_prog_REZ
="Rez"
33018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33024 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33027 REZ
=$ac_cv_prog_REZ
33028 if test -n "$REZ"; then
33029 echo "$as_me:$LINENO: result: $REZ" >&5
33030 echo "${ECHO_T}$REZ" >&6
33032 echo "$as_me:$LINENO: result: no" >&5
33033 echo "${ECHO_T}no" >&6
33036 # Extract the first word of "DeRez", so it can be a program name with args.
33037 set dummy DeRez
; ac_word
=$2
33038 echo "$as_me:$LINENO: checking for $ac_word" >&5
33039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33040 if test "${ac_cv_prog_DEREZ+set}" = set; then
33041 echo $ECHO_N "(cached) $ECHO_C" >&6
33043 if test -n "$DEREZ"; then
33044 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33047 for as_dir
in $PATH
33050 test -z "$as_dir" && as_dir
=.
33051 for ac_exec_ext
in '' $ac_executable_extensions; do
33052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33053 ac_cv_prog_DEREZ
="DeRez"
33054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33060 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33063 DEREZ
=$ac_cv_prog_DEREZ
33064 if test -n "$DEREZ"; then
33065 echo "$as_me:$LINENO: result: $DEREZ" >&5
33066 echo "${ECHO_T}$DEREZ" >&6
33068 echo "$as_me:$LINENO: result: no" >&5
33069 echo "${ECHO_T}no" >&6
33072 # Extract the first word of "SetFile", so it can be a program name with args.
33073 set dummy SetFile
; ac_word
=$2
33074 echo "$as_me:$LINENO: checking for $ac_word" >&5
33075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33076 if test "${ac_cv_prog_SETFILE+set}" = set; then
33077 echo $ECHO_N "(cached) $ECHO_C" >&6
33079 if test -n "$SETFILE"; then
33080 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33083 for as_dir
in $PATH
33086 test -z "$as_dir" && as_dir
=.
33087 for ac_exec_ext
in '' $ac_executable_extensions; do
33088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33089 ac_cv_prog_SETFILE
="SetFile"
33090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33096 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33099 SETFILE
=$ac_cv_prog_SETFILE
33100 if test -n "$SETFILE"; then
33101 echo "$as_me:$LINENO: result: $SETFILE" >&5
33102 echo "${ECHO_T}$SETFILE" >&6
33104 echo "$as_me:$LINENO: result: no" >&5
33105 echo "${ECHO_T}no" >&6
33109 MACSETFILE
="\$(SETFILE)"
33111 if test "$wxUSE_MAC" = 1; then
33112 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33114 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33116 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33117 RESCOMP
="echo -n \| $REZ"
33118 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33124 if test "$wxUSE_PM" = 1; then
33126 WXCONFIG_RESFLAGS
="-ep"
33128 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33130 POSTLINK_COMMAND
="@true"
33137 echo "$as_me:$LINENO: checking for mode_t" >&5
33138 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33139 if test "${ac_cv_type_mode_t+set}" = set; then
33140 echo $ECHO_N "(cached) $ECHO_C" >&6
33142 cat >conftest.
$ac_ext <<_ACEOF
33145 cat confdefs.h
>>conftest.
$ac_ext
33146 cat >>conftest.
$ac_ext <<_ACEOF
33147 /* end confdefs.h. */
33148 $ac_includes_default
33154 if (sizeof (mode_t))
33160 rm -f conftest.
$ac_objext
33161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33162 (eval $ac_compile) 2>conftest.er1
33164 grep -v '^ *+' conftest.er1
>conftest.err
33166 cat conftest.err
>&5
33167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168 (exit $ac_status); } &&
33169 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33171 (eval $ac_try) 2>&5
33173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33174 (exit $ac_status); }; } &&
33175 { ac_try
='test -s conftest.$ac_objext'
33176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33177 (eval $ac_try) 2>&5
33179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33180 (exit $ac_status); }; }; then
33181 ac_cv_type_mode_t
=yes
33183 echo "$as_me: failed program was:" >&5
33184 sed 's/^/| /' conftest.
$ac_ext >&5
33186 ac_cv_type_mode_t
=no
33188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33190 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33191 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33192 if test $ac_cv_type_mode_t = yes; then
33196 cat >>confdefs.h
<<_ACEOF
33202 echo "$as_me:$LINENO: checking for off_t" >&5
33203 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33204 if test "${ac_cv_type_off_t+set}" = set; then
33205 echo $ECHO_N "(cached) $ECHO_C" >&6
33207 cat >conftest.
$ac_ext <<_ACEOF
33210 cat confdefs.h
>>conftest.
$ac_ext
33211 cat >>conftest.
$ac_ext <<_ACEOF
33212 /* end confdefs.h. */
33213 $ac_includes_default
33219 if (sizeof (off_t))
33225 rm -f conftest.
$ac_objext
33226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33227 (eval $ac_compile) 2>conftest.er1
33229 grep -v '^ *+' conftest.er1
>conftest.err
33231 cat conftest.err
>&5
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); } &&
33234 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33236 (eval $ac_try) 2>&5
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; } &&
33240 { ac_try
='test -s conftest.$ac_objext'
33241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33242 (eval $ac_try) 2>&5
33244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33245 (exit $ac_status); }; }; then
33246 ac_cv_type_off_t
=yes
33248 echo "$as_me: failed program was:" >&5
33249 sed 's/^/| /' conftest.
$ac_ext >&5
33251 ac_cv_type_off_t
=no
33253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33255 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33256 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33257 if test $ac_cv_type_off_t = yes; then
33261 cat >>confdefs.h
<<_ACEOF
33267 echo "$as_me:$LINENO: checking for pid_t" >&5
33268 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33269 if test "${ac_cv_type_pid_t+set}" = set; then
33270 echo $ECHO_N "(cached) $ECHO_C" >&6
33272 cat >conftest.
$ac_ext <<_ACEOF
33275 cat confdefs.h
>>conftest.
$ac_ext
33276 cat >>conftest.
$ac_ext <<_ACEOF
33277 /* end confdefs.h. */
33278 $ac_includes_default
33284 if (sizeof (pid_t))
33290 rm -f conftest.
$ac_objext
33291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33292 (eval $ac_compile) 2>conftest.er1
33294 grep -v '^ *+' conftest.er1
>conftest.err
33296 cat conftest.err
>&5
33297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33298 (exit $ac_status); } &&
33299 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33301 (eval $ac_try) 2>&5
33303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304 (exit $ac_status); }; } &&
33305 { ac_try
='test -s conftest.$ac_objext'
33306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33307 (eval $ac_try) 2>&5
33309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33310 (exit $ac_status); }; }; then
33311 ac_cv_type_pid_t
=yes
33313 echo "$as_me: failed program was:" >&5
33314 sed 's/^/| /' conftest.
$ac_ext >&5
33316 ac_cv_type_pid_t
=no
33318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33320 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33321 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33322 if test $ac_cv_type_pid_t = yes; then
33326 cat >>confdefs.h
<<_ACEOF
33332 echo "$as_me:$LINENO: checking for size_t" >&5
33333 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33334 if test "${ac_cv_type_size_t+set}" = set; then
33335 echo $ECHO_N "(cached) $ECHO_C" >&6
33337 cat >conftest.
$ac_ext <<_ACEOF
33340 cat confdefs.h
>>conftest.
$ac_ext
33341 cat >>conftest.
$ac_ext <<_ACEOF
33342 /* end confdefs.h. */
33343 $ac_includes_default
33349 if (sizeof (size_t))
33355 rm -f conftest.
$ac_objext
33356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33357 (eval $ac_compile) 2>conftest.er1
33359 grep -v '^ *+' conftest.er1
>conftest.err
33361 cat conftest.err
>&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); } &&
33364 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33366 (eval $ac_try) 2>&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); }; } &&
33370 { ac_try
='test -s conftest.$ac_objext'
33371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372 (eval $ac_try) 2>&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); }; }; then
33376 ac_cv_type_size_t
=yes
33378 echo "$as_me: failed program was:" >&5
33379 sed 's/^/| /' conftest.
$ac_ext >&5
33381 ac_cv_type_size_t
=no
33383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33385 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33386 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33387 if test $ac_cv_type_size_t = yes; then
33391 cat >>confdefs.h
<<_ACEOF
33392 #define size_t unsigned
33397 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33398 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33399 if test "${ac_cv_type_uid_t+set}" = set; then
33400 echo $ECHO_N "(cached) $ECHO_C" >&6
33402 cat >conftest.
$ac_ext <<_ACEOF
33405 cat confdefs.h
>>conftest.
$ac_ext
33406 cat >>conftest.
$ac_ext <<_ACEOF
33407 /* end confdefs.h. */
33408 #include <sys/types.h>
33411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33412 $EGREP "uid_t" >/dev
/null
2>&1; then
33413 ac_cv_type_uid_t
=yes
33415 ac_cv_type_uid_t
=no
33420 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33421 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33422 if test $ac_cv_type_uid_t = no
; then
33424 cat >>confdefs.h
<<\_ACEOF
33429 cat >>confdefs.h
<<\_ACEOF
33436 echo "$as_me:$LINENO: checking for ssize_t" >&5
33437 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33438 if test "${ac_cv_type_ssize_t+set}" = set; then
33439 echo $ECHO_N "(cached) $ECHO_C" >&6
33441 cat >conftest.
$ac_ext <<_ACEOF
33444 cat confdefs.h
>>conftest.
$ac_ext
33445 cat >>conftest.
$ac_ext <<_ACEOF
33446 /* end confdefs.h. */
33447 $ac_includes_default
33453 if (sizeof (ssize_t))
33459 rm -f conftest.
$ac_objext
33460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33461 (eval $ac_compile) 2>conftest.er1
33463 grep -v '^ *+' conftest.er1
>conftest.err
33465 cat conftest.err
>&5
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); } &&
33468 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33470 (eval $ac_try) 2>&5
33472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33473 (exit $ac_status); }; } &&
33474 { ac_try
='test -s conftest.$ac_objext'
33475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33476 (eval $ac_try) 2>&5
33478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33479 (exit $ac_status); }; }; then
33480 ac_cv_type_ssize_t
=yes
33482 echo "$as_me: failed program was:" >&5
33483 sed 's/^/| /' conftest.
$ac_ext >&5
33485 ac_cv_type_ssize_t
=no
33487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33489 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33490 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33491 if test $ac_cv_type_ssize_t = yes; then
33493 cat >>confdefs.h
<<_ACEOF
33494 #define HAVE_SSIZE_T 1
33501 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33502 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33503 if test "${wx_cv_size_t_is_uint+set}" = set; then
33504 echo $ECHO_N "(cached) $ECHO_C" >&6
33507 cat >conftest.
$ac_ext <<_ACEOF
33510 cat confdefs.h
>>conftest.
$ac_ext
33511 cat >>conftest.
$ac_ext <<_ACEOF
33512 /* end confdefs.h. */
33513 #include <stddef.h>
33520 struct Foo { void foo(size_t); void foo(unsigned int); };
33528 rm -f conftest.
$ac_objext
33529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33530 (eval $ac_compile) 2>conftest.er1
33532 grep -v '^ *+' conftest.er1
>conftest.err
33534 cat conftest.err
>&5
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); } &&
33537 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33539 (eval $ac_try) 2>&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); }; } &&
33543 { ac_try
='test -s conftest.$ac_objext'
33544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33545 (eval $ac_try) 2>&5
33547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33548 (exit $ac_status); }; }; then
33549 wx_cv_size_t_is_uint
=no
33551 echo "$as_me: failed program was:" >&5
33552 sed 's/^/| /' conftest.
$ac_ext >&5
33554 wx_cv_size_t_is_uint
=yes
33557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33561 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33562 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33564 if test "$wx_cv_size_t_is_uint" = "yes"; then
33565 cat >>confdefs.h
<<\_ACEOF
33566 #define wxSIZE_T_IS_UINT 1
33570 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33571 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33572 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33573 echo $ECHO_N "(cached) $ECHO_C" >&6
33575 cat >conftest.
$ac_ext <<_ACEOF
33578 cat confdefs.h
>>conftest.
$ac_ext
33579 cat >>conftest.
$ac_ext <<_ACEOF
33580 /* end confdefs.h. */
33581 #include <stddef.h>
33588 struct Foo { void foo(size_t); void foo(unsigned long); };
33596 rm -f conftest.
$ac_objext
33597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33598 (eval $ac_compile) 2>conftest.er1
33600 grep -v '^ *+' conftest.er1
>conftest.err
33602 cat conftest.err
>&5
33603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33604 (exit $ac_status); } &&
33605 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33607 (eval $ac_try) 2>&5
33609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33610 (exit $ac_status); }; } &&
33611 { ac_try
='test -s conftest.$ac_objext'
33612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33613 (eval $ac_try) 2>&5
33615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33616 (exit $ac_status); }; }; then
33617 wx_cv_size_t_is_ulong
=no
33619 echo "$as_me: failed program was:" >&5
33620 sed 's/^/| /' conftest.
$ac_ext >&5
33622 wx_cv_size_t_is_ulong
=yes
33625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33628 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33629 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33631 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33632 cat >>confdefs.h
<<\_ACEOF
33633 #define wxSIZE_T_IS_ULONG 1
33640 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33641 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33642 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33643 echo $ECHO_N "(cached) $ECHO_C" >&6
33646 cat >conftest.
$ac_ext <<_ACEOF
33649 cat confdefs.h
>>conftest.
$ac_ext
33650 cat >>conftest.
$ac_ext <<_ACEOF
33651 /* end confdefs.h. */
33665 rm -f conftest.
$ac_objext
33666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33667 (eval $ac_compile) 2>conftest.er1
33669 grep -v '^ *+' conftest.er1
>conftest.err
33671 cat conftest.err
>&5
33672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33673 (exit $ac_status); } &&
33674 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33676 (eval $ac_try) 2>&5
33678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33679 (exit $ac_status); }; } &&
33680 { ac_try
='test -s conftest.$ac_objext'
33681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33682 (eval $ac_try) 2>&5
33684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33685 (exit $ac_status); }; }; then
33687 wx_cv_struct_pw_gecos
=yes
33690 echo "$as_me: failed program was:" >&5
33691 sed 's/^/| /' conftest.
$ac_ext >&5
33694 wx_cv_struct_pw_gecos
=no
33698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33702 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33703 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33705 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33706 cat >>confdefs.h
<<\_ACEOF
33707 #define HAVE_PW_GECOS 1
33713 if test "$wxUSE_WCHAR_T" = "yes"; then
33714 cat >>confdefs.h
<<\_ACEOF
33715 #define wxUSE_WCHAR_T 1
33722 for ac_func
in wcslen
33724 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33725 echo "$as_me:$LINENO: checking for $ac_func" >&5
33726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33727 if eval "test \"\${$as_ac_var+set}\" = set"; then
33728 echo $ECHO_N "(cached) $ECHO_C" >&6
33730 cat >conftest.
$ac_ext <<_ACEOF
33733 cat confdefs.h
>>conftest.
$ac_ext
33734 cat >>conftest.
$ac_ext <<_ACEOF
33735 /* end confdefs.h. */
33736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33738 #define $ac_func innocuous_$ac_func
33740 /* System header to define __stub macros and hopefully few prototypes,
33741 which can conflict with char $ac_func (); below.
33742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33743 <limits.h> exists even on freestanding compilers. */
33746 # include <limits.h>
33748 # include <assert.h>
33753 /* Override any gcc2 internal prototype to avoid an error. */
33758 /* We use char because int might match the return type of a gcc2
33759 builtin and then its argument prototype would still apply. */
33761 /* The GNU C library defines this for functions which it implements
33762 to always fail with ENOSYS. Some functions are actually named
33763 something starting with __ and the normal name is an alias. */
33764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33767 char (*f) () = $ac_func;
33776 return f != $ac_func;
33781 rm -f conftest.
$ac_objext conftest
$ac_exeext
33782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33783 (eval $ac_link) 2>conftest.er1
33785 grep -v '^ *+' conftest.er1
>conftest.err
33787 cat conftest.err
>&5
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); } &&
33790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33792 (eval $ac_try) 2>&5
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); }; } &&
33796 { ac_try
='test -s conftest$ac_exeext'
33797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33798 (eval $ac_try) 2>&5
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); }; }; then
33802 eval "$as_ac_var=yes"
33804 echo "$as_me: failed program was:" >&5
33805 sed 's/^/| /' conftest.
$ac_ext >&5
33807 eval "$as_ac_var=no"
33809 rm -f conftest.err conftest.
$ac_objext \
33810 conftest
$ac_exeext conftest.
$ac_ext
33812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33814 if test `eval echo '${'$as_ac_var'}'` = yes; then
33815 cat >>confdefs.h
<<_ACEOF
33816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33823 if test "$WCSLEN_FOUND" = 0; then
33824 if test "$TOOLKIT" = "MSW"; then
33825 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33826 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33827 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33828 echo $ECHO_N "(cached) $ECHO_C" >&6
33830 ac_check_lib_save_LIBS
=$LIBS
33831 LIBS
="-lmsvcrt $LIBS"
33832 cat >conftest.
$ac_ext <<_ACEOF
33835 cat confdefs.h
>>conftest.
$ac_ext
33836 cat >>conftest.
$ac_ext <<_ACEOF
33837 /* end confdefs.h. */
33839 /* Override any gcc2 internal prototype to avoid an error. */
33843 /* We use char because int might match the return type of a gcc2
33844 builtin and then its argument prototype would still apply. */
33854 rm -f conftest.
$ac_objext conftest
$ac_exeext
33855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33856 (eval $ac_link) 2>conftest.er1
33858 grep -v '^ *+' conftest.er1
>conftest.err
33860 cat conftest.err
>&5
33861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33862 (exit $ac_status); } &&
33863 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33865 (eval $ac_try) 2>&5
33867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33868 (exit $ac_status); }; } &&
33869 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
33875 ac_cv_lib_msvcrt_wcslen
=yes
33877 echo "$as_me: failed program was:" >&5
33878 sed 's/^/| /' conftest.
$ac_ext >&5
33880 ac_cv_lib_msvcrt_wcslen
=no
33882 rm -f conftest.err conftest.
$ac_objext \
33883 conftest
$ac_exeext conftest.
$ac_ext
33884 LIBS
=$ac_check_lib_save_LIBS
33886 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33887 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33888 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33893 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33894 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33895 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33896 echo $ECHO_N "(cached) $ECHO_C" >&6
33898 ac_check_lib_save_LIBS
=$LIBS
33900 cat >conftest.
$ac_ext <<_ACEOF
33903 cat confdefs.h
>>conftest.
$ac_ext
33904 cat >>conftest.
$ac_ext <<_ACEOF
33905 /* end confdefs.h. */
33907 /* Override any gcc2 internal prototype to avoid an error. */
33911 /* We use char because int might match the return type of a gcc2
33912 builtin and then its argument prototype would still apply. */
33922 rm -f conftest.
$ac_objext conftest
$ac_exeext
33923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33924 (eval $ac_link) 2>conftest.er1
33926 grep -v '^ *+' conftest.er1
>conftest.err
33928 cat conftest.err
>&5
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); } &&
33931 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33933 (eval $ac_try) 2>&5
33935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33936 (exit $ac_status); }; } &&
33937 { ac_try
='test -s conftest$ac_exeext'
33938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33939 (eval $ac_try) 2>&5
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); }; }; then
33943 ac_cv_lib_w_wcslen
=yes
33945 echo "$as_me: failed program was:" >&5
33946 sed 's/^/| /' conftest.
$ac_ext >&5
33948 ac_cv_lib_w_wcslen
=no
33950 rm -f conftest.err conftest.
$ac_objext \
33951 conftest
$ac_exeext conftest.
$ac_ext
33952 LIBS
=$ac_check_lib_save_LIBS
33954 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33955 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33956 if test $ac_cv_lib_w_wcslen = yes; then
33966 if test "$WCSLEN_FOUND" = 1; then
33967 cat >>confdefs.h
<<\_ACEOF
33968 #define HAVE_WCSLEN 1
33973 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33974 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33977 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33978 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33979 if test "${ac_cv_type_mbstate_t+set}" = set; then
33980 echo $ECHO_N "(cached) $ECHO_C" >&6
33982 cat >conftest.
$ac_ext <<_ACEOF
33985 cat confdefs.h
>>conftest.
$ac_ext
33986 cat >>conftest.
$ac_ext <<_ACEOF
33987 /* end confdefs.h. */
33993 if ((mbstate_t *) 0)
33995 if (sizeof (mbstate_t))
34001 rm -f conftest.
$ac_objext
34002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34003 (eval $ac_compile) 2>conftest.er1
34005 grep -v '^ *+' conftest.er1
>conftest.err
34007 cat conftest.err
>&5
34008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34009 (exit $ac_status); } &&
34010 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34012 (eval $ac_try) 2>&5
34014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34015 (exit $ac_status); }; } &&
34016 { ac_try
='test -s conftest.$ac_objext'
34017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34018 (eval $ac_try) 2>&5
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; }; then
34022 ac_cv_type_mbstate_t
=yes
34024 echo "$as_me: failed program was:" >&5
34025 sed 's/^/| /' conftest.
$ac_ext >&5
34027 ac_cv_type_mbstate_t
=no
34029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34031 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34032 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34033 if test $ac_cv_type_mbstate_t = yes; then
34035 cat >>confdefs.h
<<_ACEOF
34036 #define HAVE_MBSTATE_T 1
34040 for ac_func
in wcsrtombs
34042 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34043 echo "$as_me:$LINENO: checking for $ac_func" >&5
34044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34045 if eval "test \"\${$as_ac_var+set}\" = set"; then
34046 echo $ECHO_N "(cached) $ECHO_C" >&6
34048 cat >conftest.
$ac_ext <<_ACEOF
34051 cat confdefs.h
>>conftest.
$ac_ext
34052 cat >>conftest.
$ac_ext <<_ACEOF
34053 /* end confdefs.h. */
34054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34056 #define $ac_func innocuous_$ac_func
34058 /* System header to define __stub macros and hopefully few prototypes,
34059 which can conflict with char $ac_func (); below.
34060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34061 <limits.h> exists even on freestanding compilers. */
34064 # include <limits.h>
34066 # include <assert.h>
34071 /* Override any gcc2 internal prototype to avoid an error. */
34076 /* We use char because int might match the return type of a gcc2
34077 builtin and then its argument prototype would still apply. */
34079 /* The GNU C library defines this for functions which it implements
34080 to always fail with ENOSYS. Some functions are actually named
34081 something starting with __ and the normal name is an alias. */
34082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34085 char (*f) () = $ac_func;
34094 return f != $ac_func;
34099 rm -f conftest.
$ac_objext conftest
$ac_exeext
34100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34101 (eval $ac_link) 2>conftest.er1
34103 grep -v '^ *+' conftest.er1
>conftest.err
34105 cat conftest.err
>&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); } &&
34108 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34110 (eval $ac_try) 2>&5
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); }; } &&
34114 { ac_try
='test -s conftest$ac_exeext'
34115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34116 (eval $ac_try) 2>&5
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); }; }; then
34120 eval "$as_ac_var=yes"
34122 echo "$as_me: failed program was:" >&5
34123 sed 's/^/| /' conftest.
$ac_ext >&5
34125 eval "$as_ac_var=no"
34127 rm -f conftest.err conftest.
$ac_objext \
34128 conftest
$ac_exeext conftest.
$ac_ext
34130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34132 if test `eval echo '${'$as_ac_var'}'` = yes; then
34133 cat >>confdefs.h
<<_ACEOF
34134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34143 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34144 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34149 for ac_func
in snprintf vsnprintf
34151 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34152 echo "$as_me:$LINENO: checking for $ac_func" >&5
34153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34154 if eval "test \"\${$as_ac_var+set}\" = set"; then
34155 echo $ECHO_N "(cached) $ECHO_C" >&6
34157 cat >conftest.
$ac_ext <<_ACEOF
34160 cat confdefs.h
>>conftest.
$ac_ext
34161 cat >>conftest.
$ac_ext <<_ACEOF
34162 /* end confdefs.h. */
34163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34165 #define $ac_func innocuous_$ac_func
34167 /* System header to define __stub macros and hopefully few prototypes,
34168 which can conflict with char $ac_func (); below.
34169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34170 <limits.h> exists even on freestanding compilers. */
34173 # include <limits.h>
34175 # include <assert.h>
34180 /* Override any gcc2 internal prototype to avoid an error. */
34185 /* We use char because int might match the return type of a gcc2
34186 builtin and then its argument prototype would still apply. */
34188 /* The GNU C library defines this for functions which it implements
34189 to always fail with ENOSYS. Some functions are actually named
34190 something starting with __ and the normal name is an alias. */
34191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34194 char (*f) () = $ac_func;
34203 return f != $ac_func;
34208 rm -f conftest.
$ac_objext conftest
$ac_exeext
34209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34210 (eval $ac_link) 2>conftest.er1
34212 grep -v '^ *+' conftest.er1
>conftest.err
34214 cat conftest.err
>&5
34215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216 (exit $ac_status); } &&
34217 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34219 (eval $ac_try) 2>&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); }; } &&
34223 { ac_try
='test -s conftest$ac_exeext'
34224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34225 (eval $ac_try) 2>&5
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); }; }; then
34229 eval "$as_ac_var=yes"
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.
$ac_ext >&5
34234 eval "$as_ac_var=no"
34236 rm -f conftest.err conftest.
$ac_objext \
34237 conftest
$ac_exeext conftest.
$ac_ext
34239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34241 if test `eval echo '${'$as_ac_var'}'` = yes; then
34242 cat >>confdefs.h
<<_ACEOF
34243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34250 if test "$ac_cv_func_vsnprintf" = "yes"; then
34251 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34252 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34253 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34257 cat >conftest.
$ac_ext <<_ACEOF
34260 cat confdefs.h
>>conftest.
$ac_ext
34261 cat >>conftest.
$ac_ext <<_ACEOF
34262 /* end confdefs.h. */
34265 #include <stdarg.h>
34267 #if __MSL__ >= 0x6000
34269 using namespace std;
34279 vsnprintf(buf, 10u, "%s", ap);
34285 rm -f conftest.
$ac_objext
34286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34287 (eval $ac_compile) 2>conftest.er1
34289 grep -v '^ *+' conftest.er1
>conftest.err
34291 cat conftest.err
>&5
34292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34293 (exit $ac_status); } &&
34294 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_objext'
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 wx_cv_func_vsnprintf_decl
=yes
34308 echo "$as_me: failed program was:" >&5
34309 sed 's/^/| /' conftest.
$ac_ext >&5
34311 wx_cv_func_vsnprintf_decl
=no
34314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34318 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34319 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34321 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34322 cat >>confdefs.h
<<\_ACEOF
34323 #define HAVE_VSNPRINTF_DECL 1
34327 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34328 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34329 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34330 echo $ECHO_N "(cached) $ECHO_C" >&6
34333 cat >conftest.
$ac_ext <<_ACEOF
34336 cat confdefs.h
>>conftest.
$ac_ext
34337 cat >>conftest.
$ac_ext <<_ACEOF
34338 /* end confdefs.h. */
34341 #include <stdarg.h>
34343 #if __MSL__ >= 0x6000
34345 using namespace std;
34355 const char *fmt = "%s";
34356 vsnprintf(buf, 10u, fmt, ap);
34362 rm -f conftest.
$ac_objext
34363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34364 (eval $ac_compile) 2>conftest.er1
34366 grep -v '^ *+' conftest.er1
>conftest.err
34368 cat conftest.err
>&5
34369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34370 (exit $ac_status); } &&
34371 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34373 (eval $ac_try) 2>&5
34375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34376 (exit $ac_status); }; } &&
34377 { ac_try
='test -s conftest.$ac_objext'
34378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34379 (eval $ac_try) 2>&5
34381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34382 (exit $ac_status); }; }; then
34383 wx_cv_func_broken_vsnprintf_decl
=no
34385 echo "$as_me: failed program was:" >&5
34386 sed 's/^/| /' conftest.
$ac_ext >&5
34388 wx_cv_func_broken_vsnprintf_decl
=yes
34391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34395 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34396 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34398 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34399 cat >>confdefs.h
<<\_ACEOF
34400 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34407 if test "$ac_cv_func_snprintf" = "yes"; then
34408 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34409 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34410 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34411 echo $ECHO_N "(cached) $ECHO_C" >&6
34414 cat >conftest.
$ac_ext <<_ACEOF
34417 cat confdefs.h
>>conftest.
$ac_ext
34418 cat >>conftest.
$ac_ext <<_ACEOF
34419 /* end confdefs.h. */
34422 #include <stdarg.h>
34424 #if __MSL__ >= 0x6000
34426 using namespace std;
34435 snprintf(buf, 10u, "%s", "wx");
34441 rm -f conftest.
$ac_objext
34442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34443 (eval $ac_compile) 2>conftest.er1
34445 grep -v '^ *+' conftest.er1
>conftest.err
34447 cat conftest.err
>&5
34448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34449 (exit $ac_status); } &&
34450 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34452 (eval $ac_try) 2>&5
34454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34455 (exit $ac_status); }; } &&
34456 { ac_try
='test -s conftest.$ac_objext'
34457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34458 (eval $ac_try) 2>&5
34460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34461 (exit $ac_status); }; }; then
34462 wx_cv_func_snprintf_decl
=yes
34464 echo "$as_me: failed program was:" >&5
34465 sed 's/^/| /' conftest.
$ac_ext >&5
34467 wx_cv_func_snprintf_decl
=no
34470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34474 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34475 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34477 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34478 cat >>confdefs.h
<<\_ACEOF
34479 #define HAVE_SNPRINTF_DECL 1
34483 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34484 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34485 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34486 echo $ECHO_N "(cached) $ECHO_C" >&6
34489 cat >conftest.
$ac_ext <<_ACEOF
34492 cat confdefs.h
>>conftest.
$ac_ext
34493 cat >>conftest.
$ac_ext <<_ACEOF
34494 /* end confdefs.h. */
34497 #include <stdarg.h>
34499 #if __MSL__ >= 0x6000
34501 using namespace std;
34510 const char *fmt = "%s";
34511 snprintf(buf, 10u, fmt, "wx");
34517 rm -f conftest.
$ac_objext
34518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34519 (eval $ac_compile) 2>conftest.er1
34521 grep -v '^ *+' conftest.er1
>conftest.err
34523 cat conftest.err
>&5
34524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34525 (exit $ac_status); } &&
34526 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34528 (eval $ac_try) 2>&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); }; } &&
34532 { ac_try
='test -s conftest.$ac_objext'
34533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34534 (eval $ac_try) 2>&5
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); }; }; then
34538 wx_cv_func_broken_snprintf_decl
=no
34540 echo "$as_me: failed program was:" >&5
34541 sed 's/^/| /' conftest.
$ac_ext >&5
34543 wx_cv_func_broken_snprintf_decl
=yes
34546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34550 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34551 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34553 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34554 cat >>confdefs.h
<<\_ACEOF
34555 #define HAVE_BROKEN_SNPRINTF_DECL 1
34561 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34563 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34564 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
34565 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34566 echo $ECHO_N "(cached) $ECHO_C" >&6
34569 if test "$cross_compiling" = yes; then
34570 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
34571 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
34572 { (exit 1); exit 1; }; }
34574 cat >conftest.
$ac_ext <<_ACEOF
34577 cat confdefs.h
>>conftest.
$ac_ext
34578 cat >>conftest.
$ac_ext <<_ACEOF
34579 /* end confdefs.h. */
34586 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
34587 if (strcmp ("2 3 1", buffer) == 0)
34593 rm -f conftest
$ac_exeext
34594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34595 (eval $ac_link) 2>&5
34597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34598 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34600 (eval $ac_try) 2>&5
34602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34603 (exit $ac_status); }; }; then
34604 wx_cv_func_snprintf_pos_params
=no
34606 echo "$as_me: program exited with status $ac_status" >&5
34607 echo "$as_me: failed program was:" >&5
34608 sed 's/^/| /' conftest.
$ac_ext >&5
34610 ( exit $ac_status )
34611 wx_cv_func_snprintf_pos_params
=yes
34614 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34619 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34620 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34622 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34623 cat >>confdefs.h
<<\_ACEOF
34624 #define HAVE_UNIX98_PRINTF 1
34632 if test "$wxUSE_UNICODE" = yes; then
34639 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
34641 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34642 echo "$as_me:$LINENO: checking for $ac_func" >&5
34643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34644 if eval "test \"\${$as_ac_var+set}\" = set"; then
34645 echo $ECHO_N "(cached) $ECHO_C" >&6
34647 cat >conftest.
$ac_ext <<_ACEOF
34650 cat confdefs.h
>>conftest.
$ac_ext
34651 cat >>conftest.
$ac_ext <<_ACEOF
34652 /* end confdefs.h. */
34653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34655 #define $ac_func innocuous_$ac_func
34657 /* System header to define __stub macros and hopefully few prototypes,
34658 which can conflict with char $ac_func (); below.
34659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34660 <limits.h> exists even on freestanding compilers. */
34663 # include <limits.h>
34665 # include <assert.h>
34670 /* Override any gcc2 internal prototype to avoid an error. */
34675 /* We use char because int might match the return type of a gcc2
34676 builtin and then its argument prototype would still apply. */
34678 /* The GNU C library defines this for functions which it implements
34679 to always fail with ENOSYS. Some functions are actually named
34680 something starting with __ and the normal name is an alias. */
34681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34684 char (*f) () = $ac_func;
34693 return f != $ac_func;
34698 rm -f conftest.
$ac_objext conftest
$ac_exeext
34699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34700 (eval $ac_link) 2>conftest.er1
34702 grep -v '^ *+' conftest.er1
>conftest.err
34704 cat conftest.err
>&5
34705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34706 (exit $ac_status); } &&
34707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34709 (eval $ac_try) 2>&5
34711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34712 (exit $ac_status); }; } &&
34713 { ac_try
='test -s conftest$ac_exeext'
34714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34715 (eval $ac_try) 2>&5
34717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718 (exit $ac_status); }; }; then
34719 eval "$as_ac_var=yes"
34721 echo "$as_me: failed program was:" >&5
34722 sed 's/^/| /' conftest.
$ac_ext >&5
34724 eval "$as_ac_var=no"
34726 rm -f conftest.err conftest.
$ac_objext \
34727 conftest
$ac_exeext conftest.
$ac_ext
34729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34731 if test `eval echo '${'$as_ac_var'}'` = yes; then
34732 cat >>confdefs.h
<<_ACEOF
34733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34740 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34741 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34742 cat >conftest.
$ac_ext <<_ACEOF
34745 cat confdefs.h
>>conftest.
$ac_ext
34746 cat >>conftest.
$ac_ext <<_ACEOF
34747 /* end confdefs.h. */
34757 rm -f conftest.
$ac_objext
34758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34759 (eval $ac_compile) 2>conftest.er1
34761 grep -v '^ *+' conftest.er1
>conftest.err
34763 cat conftest.err
>&5
34764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34765 (exit $ac_status); } &&
34766 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34768 (eval $ac_try) 2>&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); }; } &&
34772 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
34778 echo "$as_me:$LINENO: result: yes" >&5
34779 echo "${ECHO_T}yes" >&6
34780 cat >>confdefs.h
<<\_ACEOF
34781 #define HAVE__VSNWPRINTF 1
34785 echo "$as_me: failed program was:" >&5
34786 sed 's/^/| /' conftest.
$ac_ext >&5
34788 echo "$as_me:$LINENO: result: no" >&5
34789 echo "${ECHO_T}no" >&6
34791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34794 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34796 for ac_func
in fnmatch
34798 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34799 echo "$as_me:$LINENO: checking for $ac_func" >&5
34800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34801 if eval "test \"\${$as_ac_var+set}\" = set"; then
34802 echo $ECHO_N "(cached) $ECHO_C" >&6
34804 cat >conftest.
$ac_ext <<_ACEOF
34807 cat confdefs.h
>>conftest.
$ac_ext
34808 cat >>conftest.
$ac_ext <<_ACEOF
34809 /* end confdefs.h. */
34810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34812 #define $ac_func innocuous_$ac_func
34814 /* System header to define __stub macros and hopefully few prototypes,
34815 which can conflict with char $ac_func (); below.
34816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34817 <limits.h> exists even on freestanding compilers. */
34820 # include <limits.h>
34822 # include <assert.h>
34827 /* Override any gcc2 internal prototype to avoid an error. */
34832 /* We use char because int might match the return type of a gcc2
34833 builtin and then its argument prototype would still apply. */
34835 /* The GNU C library defines this for functions which it implements
34836 to always fail with ENOSYS. Some functions are actually named
34837 something starting with __ and the normal name is an alias. */
34838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34841 char (*f) () = $ac_func;
34850 return f != $ac_func;
34855 rm -f conftest.
$ac_objext conftest
$ac_exeext
34856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34857 (eval $ac_link) 2>conftest.er1
34859 grep -v '^ *+' conftest.er1
>conftest.err
34861 cat conftest.err
>&5
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); } &&
34864 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34866 (eval $ac_try) 2>&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); }; } &&
34870 { ac_try
='test -s conftest$ac_exeext'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; }; then
34876 eval "$as_ac_var=yes"
34878 echo "$as_me: failed program was:" >&5
34879 sed 's/^/| /' conftest.
$ac_ext >&5
34881 eval "$as_ac_var=no"
34883 rm -f conftest.err conftest.
$ac_objext \
34884 conftest
$ac_exeext conftest.
$ac_ext
34886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34888 if test `eval echo '${'$as_ac_var'}'` = yes; then
34889 cat >>confdefs.h
<<_ACEOF
34890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34898 if test "$wxUSE_FILE" = "yes"; then
34900 for ac_func
in fsync
34902 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34903 echo "$as_me:$LINENO: checking for $ac_func" >&5
34904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34905 if eval "test \"\${$as_ac_var+set}\" = set"; then
34906 echo $ECHO_N "(cached) $ECHO_C" >&6
34908 cat >conftest.
$ac_ext <<_ACEOF
34911 cat confdefs.h
>>conftest.
$ac_ext
34912 cat >>conftest.
$ac_ext <<_ACEOF
34913 /* end confdefs.h. */
34914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34916 #define $ac_func innocuous_$ac_func
34918 /* System header to define __stub macros and hopefully few prototypes,
34919 which can conflict with char $ac_func (); below.
34920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34921 <limits.h> exists even on freestanding compilers. */
34924 # include <limits.h>
34926 # include <assert.h>
34931 /* Override any gcc2 internal prototype to avoid an error. */
34936 /* We use char because int might match the return type of a gcc2
34937 builtin and then its argument prototype would still apply. */
34939 /* The GNU C library defines this for functions which it implements
34940 to always fail with ENOSYS. Some functions are actually named
34941 something starting with __ and the normal name is an alias. */
34942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34945 char (*f) () = $ac_func;
34954 return f != $ac_func;
34959 rm -f conftest.
$ac_objext conftest
$ac_exeext
34960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34961 (eval $ac_link) 2>conftest.er1
34963 grep -v '^ *+' conftest.er1
>conftest.err
34965 cat conftest.err
>&5
34966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34967 (exit $ac_status); } &&
34968 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34970 (eval $ac_try) 2>&5
34972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34973 (exit $ac_status); }; } &&
34974 { ac_try
='test -s conftest$ac_exeext'
34975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34976 (eval $ac_try) 2>&5
34978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34979 (exit $ac_status); }; }; then
34980 eval "$as_ac_var=yes"
34982 echo "$as_me: failed program was:" >&5
34983 sed 's/^/| /' conftest.
$ac_ext >&5
34985 eval "$as_ac_var=no"
34987 rm -f conftest.err conftest.
$ac_objext \
34988 conftest
$ac_exeext conftest.
$ac_ext
34990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34992 if test `eval echo '${'$as_ac_var'}'` = yes; then
34993 cat >>confdefs.h
<<_ACEOF
34994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35003 for ac_func
in round
35005 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35006 echo "$as_me:$LINENO: checking for $ac_func" >&5
35007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35008 if eval "test \"\${$as_ac_var+set}\" = set"; then
35009 echo $ECHO_N "(cached) $ECHO_C" >&6
35011 cat >conftest.
$ac_ext <<_ACEOF
35014 cat confdefs.h
>>conftest.
$ac_ext
35015 cat >>conftest.
$ac_ext <<_ACEOF
35016 /* end confdefs.h. */
35017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35019 #define $ac_func innocuous_$ac_func
35021 /* System header to define __stub macros and hopefully few prototypes,
35022 which can conflict with char $ac_func (); below.
35023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35024 <limits.h> exists even on freestanding compilers. */
35027 # include <limits.h>
35029 # include <assert.h>
35034 /* Override any gcc2 internal prototype to avoid an error. */
35039 /* We use char because int might match the return type of a gcc2
35040 builtin and then its argument prototype would still apply. */
35042 /* The GNU C library defines this for functions which it implements
35043 to always fail with ENOSYS. Some functions are actually named
35044 something starting with __ and the normal name is an alias. */
35045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35048 char (*f) () = $ac_func;
35057 return f != $ac_func;
35062 rm -f conftest.
$ac_objext conftest
$ac_exeext
35063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35064 (eval $ac_link) 2>conftest.er1
35066 grep -v '^ *+' conftest.er1
>conftest.err
35068 cat conftest.err
>&5
35069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070 (exit $ac_status); } &&
35071 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35073 (eval $ac_try) 2>&5
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); }; } &&
35077 { ac_try
='test -s conftest$ac_exeext'
35078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35079 (eval $ac_try) 2>&5
35081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35082 (exit $ac_status); }; }; then
35083 eval "$as_ac_var=yes"
35085 echo "$as_me: failed program was:" >&5
35086 sed 's/^/| /' conftest.
$ac_ext >&5
35088 eval "$as_ac_var=no"
35090 rm -f conftest.err conftest.
$ac_objext \
35091 conftest
$ac_exeext conftest.
$ac_ext
35093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35095 if test `eval echo '${'$as_ac_var'}'` = yes; then
35096 cat >>confdefs.h
<<_ACEOF
35097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35103 if test "$ac_cv_func_round" = yes; then
35104 echo "$as_me:$LINENO: checking whether round is declared" >&5
35105 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35106 if test "${ac_cv_have_decl_round+set}" = set; then
35107 echo $ECHO_N "(cached) $ECHO_C" >&6
35109 cat >conftest.
$ac_ext <<_ACEOF
35112 cat confdefs.h
>>conftest.
$ac_ext
35113 cat >>conftest.
$ac_ext <<_ACEOF
35114 /* end confdefs.h. */
35121 char *p = (char *) round;
35128 rm -f conftest.
$ac_objext
35129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35130 (eval $ac_compile) 2>conftest.er1
35132 grep -v '^ *+' conftest.er1
>conftest.err
35134 cat conftest.err
>&5
35135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136 (exit $ac_status); } &&
35137 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35139 (eval $ac_try) 2>&5
35141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35142 (exit $ac_status); }; } &&
35143 { ac_try
='test -s conftest.$ac_objext'
35144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35145 (eval $ac_try) 2>&5
35147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35148 (exit $ac_status); }; }; then
35149 ac_cv_have_decl_round
=yes
35151 echo "$as_me: failed program was:" >&5
35152 sed 's/^/| /' conftest.
$ac_ext >&5
35154 ac_cv_have_decl_round
=no
35156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35158 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35159 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35160 if test $ac_cv_have_decl_round = yes; then
35162 cat >>confdefs.h
<<_ACEOF
35163 #define HAVE_DECL_ROUND 1
35168 cat >>confdefs.h
<<_ACEOF
35169 #define HAVE_DECL_ROUND 0
35179 if test "$TOOLKIT" != "MSW"; then
35185 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
35186 if test "${with_libiconv_prefix+set}" = set; then
35187 withval
="$with_libiconv_prefix"
35189 for dir
in `echo "$withval" | tr : ' '`; do
35190 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35191 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35196 echo "$as_me:$LINENO: checking for iconv" >&5
35197 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
35198 if test "${am_cv_func_iconv+set}" = set; then
35199 echo $ECHO_N "(cached) $ECHO_C" >&6
35202 am_cv_func_iconv
="no, consider installing GNU libiconv"
35204 cat >conftest.
$ac_ext <<_ACEOF
35207 cat confdefs.h
>>conftest.
$ac_ext
35208 cat >>conftest.
$ac_ext <<_ACEOF
35209 /* end confdefs.h. */
35210 #include <stdlib.h>
35215 iconv_t cd = iconv_open("","");
35216 iconv(cd,NULL,NULL,NULL,NULL);
35222 rm -f conftest.
$ac_objext conftest
$ac_exeext
35223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35224 (eval $ac_link) 2>conftest.er1
35226 grep -v '^ *+' conftest.er1
>conftest.err
35228 cat conftest.err
>&5
35229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230 (exit $ac_status); } &&
35231 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35233 (eval $ac_try) 2>&5
35235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35236 (exit $ac_status); }; } &&
35237 { ac_try
='test -s conftest$ac_exeext'
35238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35239 (eval $ac_try) 2>&5
35241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35242 (exit $ac_status); }; }; then
35243 am_cv_func_iconv
=yes
35245 echo "$as_me: failed program was:" >&5
35246 sed 's/^/| /' conftest.
$ac_ext >&5
35249 rm -f conftest.err conftest.
$ac_objext \
35250 conftest
$ac_exeext conftest.
$ac_ext
35251 if test "$am_cv_func_iconv" != yes; then
35252 am_save_LIBS
="$LIBS"
35253 LIBS
="$LIBS -liconv"
35254 cat >conftest.
$ac_ext <<_ACEOF
35257 cat confdefs.h
>>conftest.
$ac_ext
35258 cat >>conftest.
$ac_ext <<_ACEOF
35259 /* end confdefs.h. */
35260 #include <stdlib.h>
35265 iconv_t cd = iconv_open("","");
35266 iconv(cd,NULL,NULL,NULL,NULL);
35272 rm -f conftest.
$ac_objext conftest
$ac_exeext
35273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35274 (eval $ac_link) 2>conftest.er1
35276 grep -v '^ *+' conftest.er1
>conftest.err
35278 cat conftest.err
>&5
35279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35280 (exit $ac_status); } &&
35281 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35283 (eval $ac_try) 2>&5
35285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286 (exit $ac_status); }; } &&
35287 { ac_try
='test -s conftest$ac_exeext'
35288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35289 (eval $ac_try) 2>&5
35291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35292 (exit $ac_status); }; }; then
35293 am_cv_lib_iconv
=yes
35294 am_cv_func_iconv
=yes
35296 echo "$as_me: failed program was:" >&5
35297 sed 's/^/| /' conftest.
$ac_ext >&5
35300 rm -f conftest.err conftest.
$ac_objext \
35301 conftest
$ac_exeext conftest.
$ac_ext
35302 LIBS
="$am_save_LIBS"
35306 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35307 echo "${ECHO_T}$am_cv_func_iconv" >&6
35308 if test "$am_cv_func_iconv" = yes; then
35310 cat >>confdefs.h
<<\_ACEOF
35311 #define HAVE_ICONV 1
35314 echo "$as_me:$LINENO: checking if iconv needs const" >&5
35315 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
35316 if test "${wx_cv_func_iconv_const+set}" = set; then
35317 echo $ECHO_N "(cached) $ECHO_C" >&6
35319 cat >conftest.
$ac_ext <<_ACEOF
35322 cat confdefs.h
>>conftest.
$ac_ext
35323 cat >>conftest.
$ac_ext <<_ACEOF
35324 /* end confdefs.h. */
35326 #include <stdlib.h>
35332 #if defined(__STDC__) || defined(__cplusplus)
35333 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35346 rm -f conftest.
$ac_objext
35347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35348 (eval $ac_compile) 2>conftest.er1
35350 grep -v '^ *+' conftest.er1
>conftest.err
35352 cat conftest.err
>&5
35353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35354 (exit $ac_status); } &&
35355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35357 (eval $ac_try) 2>&5
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); }; } &&
35361 { ac_try
='test -s conftest.$ac_objext'
35362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35363 (eval $ac_try) 2>&5
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); }; }; then
35367 wx_cv_func_iconv_const
="no"
35369 echo "$as_me: failed program was:" >&5
35370 sed 's/^/| /' conftest.
$ac_ext >&5
35372 wx_cv_func_iconv_const
="yes"
35375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35378 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35379 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
35382 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35383 iconv_const
="const"
35387 cat >>confdefs.h
<<_ACEOF
35388 #define ICONV_CONST $iconv_const
35393 if test "$am_cv_lib_iconv" = yes; then
35398 LIBS
="$LIBICONV $LIBS"
35400 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35402 for ac_func
in sigaction
35404 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35405 echo "$as_me:$LINENO: checking for $ac_func" >&5
35406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35407 if eval "test \"\${$as_ac_var+set}\" = set"; then
35408 echo $ECHO_N "(cached) $ECHO_C" >&6
35410 cat >conftest.
$ac_ext <<_ACEOF
35413 cat confdefs.h
>>conftest.
$ac_ext
35414 cat >>conftest.
$ac_ext <<_ACEOF
35415 /* end confdefs.h. */
35416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35418 #define $ac_func innocuous_$ac_func
35420 /* System header to define __stub macros and hopefully few prototypes,
35421 which can conflict with char $ac_func (); below.
35422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35423 <limits.h> exists even on freestanding compilers. */
35426 # include <limits.h>
35428 # include <assert.h>
35433 /* Override any gcc2 internal prototype to avoid an error. */
35438 /* We use char because int might match the return type of a gcc2
35439 builtin and then its argument prototype would still apply. */
35441 /* The GNU C library defines this for functions which it implements
35442 to always fail with ENOSYS. Some functions are actually named
35443 something starting with __ and the normal name is an alias. */
35444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35447 char (*f) () = $ac_func;
35456 return f != $ac_func;
35461 rm -f conftest.
$ac_objext conftest
$ac_exeext
35462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35463 (eval $ac_link) 2>conftest.er1
35465 grep -v '^ *+' conftest.er1
>conftest.err
35467 cat conftest.err
>&5
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); } &&
35470 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35472 (eval $ac_try) 2>&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); }; } &&
35476 { ac_try
='test -s conftest$ac_exeext'
35477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35478 (eval $ac_try) 2>&5
35480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35481 (exit $ac_status); }; }; then
35482 eval "$as_ac_var=yes"
35484 echo "$as_me: failed program was:" >&5
35485 sed 's/^/| /' conftest.
$ac_ext >&5
35487 eval "$as_ac_var=no"
35489 rm -f conftest.err conftest.
$ac_objext \
35490 conftest
$ac_exeext conftest.
$ac_ext
35492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35494 if test `eval echo '${'$as_ac_var'}'` = yes; then
35495 cat >>confdefs.h
<<_ACEOF
35496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35503 if test "$ac_cv_func_sigaction" = "no"; then
35504 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35505 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35506 wxUSE_ON_FATAL_EXCEPTION
=no
35509 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35510 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35511 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35512 if test "${wx_cv_type_sa_handler+set}" = set; then
35513 echo $ECHO_N "(cached) $ECHO_C" >&6
35516 cat >conftest.
$ac_ext <<_ACEOF
35519 cat confdefs.h
>>conftest.
$ac_ext
35520 cat >>conftest.
$ac_ext <<_ACEOF
35521 /* end confdefs.h. */
35522 #include <signal.h>
35527 extern void testSigHandler(int);
35529 struct sigaction sa;
35530 sa.sa_handler = testSigHandler;
35536 rm -f conftest.
$ac_objext
35537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35538 (eval $ac_compile) 2>conftest.er1
35540 grep -v '^ *+' conftest.er1
>conftest.err
35542 cat conftest.err
>&5
35543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544 (exit $ac_status); } &&
35545 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35547 (eval $ac_try) 2>&5
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); }; } &&
35551 { ac_try
='test -s conftest.$ac_objext'
35552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35553 (eval $ac_try) 2>&5
35555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556 (exit $ac_status); }; }; then
35558 wx_cv_type_sa_handler
=int
35561 echo "$as_me: failed program was:" >&5
35562 sed 's/^/| /' conftest.
$ac_ext >&5
35565 wx_cv_type_sa_handler
=void
35568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35571 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35572 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35574 cat >>confdefs.h
<<_ACEOF
35575 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35581 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35582 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35583 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35584 if test "${wx_cv_func_backtrace+set}" = set; then
35585 echo $ECHO_N "(cached) $ECHO_C" >&6
35588 cat >conftest.
$ac_ext <<_ACEOF
35591 cat confdefs.h
>>conftest.
$ac_ext
35592 cat >>conftest.
$ac_ext <<_ACEOF
35593 /* end confdefs.h. */
35594 #include <execinfo.h>
35602 backtrace(trace, 1);
35603 messages = backtrace_symbols(trace, 1);
35609 rm -f conftest.
$ac_objext
35610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35611 (eval $ac_compile) 2>conftest.er1
35613 grep -v '^ *+' conftest.er1
>conftest.err
35615 cat conftest.err
>&5
35616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35617 (exit $ac_status); } &&
35618 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35620 (eval $ac_try) 2>&5
35622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35623 (exit $ac_status); }; } &&
35624 { ac_try
='test -s conftest.$ac_objext'
35625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35626 (eval $ac_try) 2>&5
35628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35629 (exit $ac_status); }; }; then
35630 wx_cv_func_backtrace
=yes
35632 echo "$as_me: failed program was:" >&5
35633 sed 's/^/| /' conftest.
$ac_ext >&5
35635 wx_cv_func_backtrace
=no
35638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35642 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35643 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35646 if test "$wx_cv_func_backtrace" = "no"; then
35647 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35648 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35649 wxUSE_STACKWALKER
=no
35651 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35652 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35653 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35654 echo $ECHO_N "(cached) $ECHO_C" >&6
35657 cat >conftest.
$ac_ext <<_ACEOF
35660 cat confdefs.h
>>conftest.
$ac_ext
35661 cat >>conftest.
$ac_ext <<_ACEOF
35662 /* end confdefs.h. */
35663 #include <cxxabi.h>
35669 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35675 rm -f conftest.
$ac_objext conftest
$ac_exeext
35676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35677 (eval $ac_link) 2>conftest.er1
35679 grep -v '^ *+' conftest.er1
>conftest.err
35681 cat conftest.err
>&5
35682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35683 (exit $ac_status); } &&
35684 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35686 (eval $ac_try) 2>&5
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); }; } &&
35690 { ac_try
='test -s conftest$ac_exeext'
35691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35692 (eval $ac_try) 2>&5
35694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35695 (exit $ac_status); }; }; then
35696 wx_cv_func_cxa_demangle
=yes
35698 echo "$as_me: failed program was:" >&5
35699 sed 's/^/| /' conftest.
$ac_ext >&5
35701 wx_cv_func_cxa_demangle
=no
35704 rm -f conftest.err conftest.
$ac_objext \
35705 conftest
$ac_exeext conftest.
$ac_ext
35709 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35710 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35712 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35713 cat >>confdefs.h
<<\_ACEOF
35714 #define HAVE_CXA_DEMANGLE 1
35721 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35722 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35723 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35724 wxUSE_STACKWALKER
=no
35730 for ac_func
in mkstemp mktemp
35732 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35733 echo "$as_me:$LINENO: checking for $ac_func" >&5
35734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35735 if eval "test \"\${$as_ac_var+set}\" = set"; then
35736 echo $ECHO_N "(cached) $ECHO_C" >&6
35738 cat >conftest.
$ac_ext <<_ACEOF
35741 cat confdefs.h
>>conftest.
$ac_ext
35742 cat >>conftest.
$ac_ext <<_ACEOF
35743 /* end confdefs.h. */
35744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35746 #define $ac_func innocuous_$ac_func
35748 /* System header to define __stub macros and hopefully few prototypes,
35749 which can conflict with char $ac_func (); below.
35750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35751 <limits.h> exists even on freestanding compilers. */
35754 # include <limits.h>
35756 # include <assert.h>
35761 /* Override any gcc2 internal prototype to avoid an error. */
35766 /* We use char because int might match the return type of a gcc2
35767 builtin and then its argument prototype would still apply. */
35769 /* The GNU C library defines this for functions which it implements
35770 to always fail with ENOSYS. Some functions are actually named
35771 something starting with __ and the normal name is an alias. */
35772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35775 char (*f) () = $ac_func;
35784 return f != $ac_func;
35789 rm -f conftest.
$ac_objext conftest
$ac_exeext
35790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35791 (eval $ac_link) 2>conftest.er1
35793 grep -v '^ *+' conftest.er1
>conftest.err
35795 cat conftest.err
>&5
35796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35797 (exit $ac_status); } &&
35798 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35800 (eval $ac_try) 2>&5
35802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35803 (exit $ac_status); }; } &&
35804 { ac_try
='test -s conftest$ac_exeext'
35805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35806 (eval $ac_try) 2>&5
35808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35809 (exit $ac_status); }; }; then
35810 eval "$as_ac_var=yes"
35812 echo "$as_me: failed program was:" >&5
35813 sed 's/^/| /' conftest.
$ac_ext >&5
35815 eval "$as_ac_var=no"
35817 rm -f conftest.err conftest.
$ac_objext \
35818 conftest
$ac_exeext conftest.
$ac_ext
35820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35822 if test `eval echo '${'$as_ac_var'}'` = yes; then
35823 cat >>confdefs.h
<<_ACEOF
35824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35831 echo "$as_me:$LINENO: checking for statfs" >&5
35832 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35833 if test "${wx_cv_func_statfs+set}" = set; then
35834 echo $ECHO_N "(cached) $ECHO_C" >&6
35836 cat >conftest.
$ac_ext <<_ACEOF
35839 cat confdefs.h
>>conftest.
$ac_ext
35840 cat >>conftest.
$ac_ext <<_ACEOF
35841 /* end confdefs.h. */
35843 #if defined(__BSD__)
35844 #include <sys/param.h>
35845 #include <sys/mount.h>
35847 #include <sys/vfs.h>
35865 rm -f conftest.
$ac_objext
35866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35867 (eval $ac_compile) 2>conftest.er1
35869 grep -v '^ *+' conftest.er1
>conftest.err
35871 cat conftest.err
>&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); } &&
35874 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35876 (eval $ac_try) 2>&5
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); }; } &&
35880 { ac_try
='test -s conftest.$ac_objext'
35881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35882 (eval $ac_try) 2>&5
35884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35885 (exit $ac_status); }; }; then
35886 wx_cv_func_statfs
=yes
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.
$ac_ext >&5
35891 wx_cv_func_statfs
=no
35894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35897 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35898 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35900 if test "$wx_cv_func_statfs" = "yes"; then
35901 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35902 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35903 if test "${wx_cv_func_statfs_decl+set}" = set; then
35904 echo $ECHO_N "(cached) $ECHO_C" >&6
35906 cat >conftest.
$ac_ext <<_ACEOF
35909 cat confdefs.h
>>conftest.
$ac_ext
35910 cat >>conftest.
$ac_ext <<_ACEOF
35911 /* end confdefs.h. */
35913 #if defined(__BSD__)
35914 #include <sys/param.h>
35915 #include <sys/mount.h>
35917 #include <sys/vfs.h>
35931 rm -f conftest.
$ac_objext
35932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35933 (eval $ac_compile) 2>conftest.er1
35935 grep -v '^ *+' conftest.er1
>conftest.err
35937 cat conftest.err
>&5
35938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35939 (exit $ac_status); } &&
35940 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35942 (eval $ac_try) 2>&5
35944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35945 (exit $ac_status); }; } &&
35946 { ac_try
='test -s conftest.$ac_objext'
35947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35948 (eval $ac_try) 2>&5
35950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35951 (exit $ac_status); }; }; then
35952 wx_cv_func_statfs_decl
=yes
35954 echo "$as_me: failed program was:" >&5
35955 sed 's/^/| /' conftest.
$ac_ext >&5
35957 wx_cv_func_statfs_decl
=no
35960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35963 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35964 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35966 if test "$wx_cv_func_statfs_decl" = "yes"; then
35967 cat >>confdefs.h
<<\_ACEOF
35968 #define HAVE_STATFS_DECL 1
35973 wx_cv_type_statvfs_t
="struct statfs"
35974 cat >>confdefs.h
<<\_ACEOF
35975 #define HAVE_STATFS 1
35979 echo "$as_me:$LINENO: checking for statvfs" >&5
35980 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35981 if test "${wx_cv_func_statvfs+set}" = set; then
35982 echo $ECHO_N "(cached) $ECHO_C" >&6
35984 cat >conftest.
$ac_ext <<_ACEOF
35987 cat confdefs.h
>>conftest.
$ac_ext
35988 cat >>conftest.
$ac_ext <<_ACEOF
35989 /* end confdefs.h. */
35991 #include <stddef.h>
35992 #include <sys/statvfs.h>
35998 statvfs("/", NULL);
36004 rm -f conftest.
$ac_objext
36005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36006 (eval $ac_compile) 2>conftest.er1
36008 grep -v '^ *+' conftest.er1
>conftest.err
36010 cat conftest.err
>&5
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); } &&
36013 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36015 (eval $ac_try) 2>&5
36017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018 (exit $ac_status); }; } &&
36019 { ac_try
='test -s conftest.$ac_objext'
36020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36021 (eval $ac_try) 2>&5
36023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36024 (exit $ac_status); }; }; then
36025 wx_cv_func_statvfs
=yes
36027 echo "$as_me: failed program was:" >&5
36028 sed 's/^/| /' conftest.
$ac_ext >&5
36030 wx_cv_func_statvfs
=no
36033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36036 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36037 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36039 if test "$wx_cv_func_statvfs" = "yes"; then
36040 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36041 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36042 if test "${wx_cv_type_statvfs_t+set}" = set; then
36043 echo $ECHO_N "(cached) $ECHO_C" >&6
36045 cat >conftest.
$ac_ext <<_ACEOF
36048 cat confdefs.h
>>conftest.
$ac_ext
36049 cat >>conftest.
$ac_ext <<_ACEOF
36050 /* end confdefs.h. */
36052 #include <sys/statvfs.h>
36069 rm -f conftest.
$ac_objext
36070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36071 (eval $ac_compile) 2>conftest.er1
36073 grep -v '^ *+' conftest.er1
>conftest.err
36075 cat conftest.err
>&5
36076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36077 (exit $ac_status); } &&
36078 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36080 (eval $ac_try) 2>&5
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); }; } &&
36084 { ac_try
='test -s conftest.$ac_objext'
36085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36086 (eval $ac_try) 2>&5
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); }; }; then
36090 wx_cv_type_statvfs_t
=statvfs_t
36092 echo "$as_me: failed program was:" >&5
36093 sed 's/^/| /' conftest.
$ac_ext >&5
36096 cat >conftest.
$ac_ext <<_ACEOF
36099 cat confdefs.h
>>conftest.
$ac_ext
36100 cat >>conftest.
$ac_ext <<_ACEOF
36101 /* end confdefs.h. */
36103 #include <sys/statvfs.h>
36120 rm -f conftest.
$ac_objext
36121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36122 (eval $ac_compile) 2>conftest.er1
36124 grep -v '^ *+' conftest.er1
>conftest.err
36126 cat conftest.err
>&5
36127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36128 (exit $ac_status); } &&
36129 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36131 (eval $ac_try) 2>&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); }; } &&
36135 { ac_try
='test -s conftest.$ac_objext'
36136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36137 (eval $ac_try) 2>&5
36139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140 (exit $ac_status); }; }; then
36141 wx_cv_type_statvfs_t
="struct statvfs"
36143 echo "$as_me: failed program was:" >&5
36144 sed 's/^/| /' conftest.
$ac_ext >&5
36146 wx_cv_type_statvfs_t
="unknown"
36149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36156 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36157 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36159 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36160 cat >>confdefs.h
<<\_ACEOF
36161 #define HAVE_STATVFS 1
36166 wx_cv_type_statvfs_t
="unknown"
36170 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36171 cat >>confdefs.h
<<_ACEOF
36172 #define WX_STATFS_T $wx_cv_type_statvfs_t
36176 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36177 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36180 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36183 for ac_func
in fcntl flock
36185 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36186 echo "$as_me:$LINENO: checking for $ac_func" >&5
36187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36188 if eval "test \"\${$as_ac_var+set}\" = set"; then
36189 echo $ECHO_N "(cached) $ECHO_C" >&6
36191 cat >conftest.
$ac_ext <<_ACEOF
36194 cat confdefs.h
>>conftest.
$ac_ext
36195 cat >>conftest.
$ac_ext <<_ACEOF
36196 /* end confdefs.h. */
36197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36199 #define $ac_func innocuous_$ac_func
36201 /* System header to define __stub macros and hopefully few prototypes,
36202 which can conflict with char $ac_func (); below.
36203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36204 <limits.h> exists even on freestanding compilers. */
36207 # include <limits.h>
36209 # include <assert.h>
36214 /* Override any gcc2 internal prototype to avoid an error. */
36219 /* We use char because int might match the return type of a gcc2
36220 builtin and then its argument prototype would still apply. */
36222 /* The GNU C library defines this for functions which it implements
36223 to always fail with ENOSYS. Some functions are actually named
36224 something starting with __ and the normal name is an alias. */
36225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36228 char (*f) () = $ac_func;
36237 return f != $ac_func;
36242 rm -f conftest.
$ac_objext conftest
$ac_exeext
36243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36244 (eval $ac_link) 2>conftest.er1
36246 grep -v '^ *+' conftest.er1
>conftest.err
36248 cat conftest.err
>&5
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); } &&
36251 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36253 (eval $ac_try) 2>&5
36255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36256 (exit $ac_status); }; } &&
36257 { ac_try
='test -s conftest$ac_exeext'
36258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36259 (eval $ac_try) 2>&5
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); }; }; then
36263 eval "$as_ac_var=yes"
36265 echo "$as_me: failed program was:" >&5
36266 sed 's/^/| /' conftest.
$ac_ext >&5
36268 eval "$as_ac_var=no"
36270 rm -f conftest.err conftest.
$ac_objext \
36271 conftest
$ac_exeext conftest.
$ac_ext
36273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36275 if test `eval echo '${'$as_ac_var'}'` = yes; then
36276 cat >>confdefs.h
<<_ACEOF
36277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36284 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36285 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36286 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36287 wxUSE_SNGLINST_CHECKER
=no
36292 for ac_func
in timegm
36294 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36295 echo "$as_me:$LINENO: checking for $ac_func" >&5
36296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36297 if eval "test \"\${$as_ac_var+set}\" = set"; then
36298 echo $ECHO_N "(cached) $ECHO_C" >&6
36300 cat >conftest.
$ac_ext <<_ACEOF
36303 cat confdefs.h
>>conftest.
$ac_ext
36304 cat >>conftest.
$ac_ext <<_ACEOF
36305 /* end confdefs.h. */
36306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36308 #define $ac_func innocuous_$ac_func
36310 /* System header to define __stub macros and hopefully few prototypes,
36311 which can conflict with char $ac_func (); below.
36312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36313 <limits.h> exists even on freestanding compilers. */
36316 # include <limits.h>
36318 # include <assert.h>
36323 /* Override any gcc2 internal prototype to avoid an error. */
36328 /* We use char because int might match the return type of a gcc2
36329 builtin and then its argument prototype would still apply. */
36331 /* The GNU C library defines this for functions which it implements
36332 to always fail with ENOSYS. Some functions are actually named
36333 something starting with __ and the normal name is an alias. */
36334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36337 char (*f) () = $ac_func;
36346 return f != $ac_func;
36351 rm -f conftest.
$ac_objext conftest
$ac_exeext
36352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36353 (eval $ac_link) 2>conftest.er1
36355 grep -v '^ *+' conftest.er1
>conftest.err
36357 cat conftest.err
>&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); } &&
36360 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36362 (eval $ac_try) 2>&5
36364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365 (exit $ac_status); }; } &&
36366 { ac_try
='test -s conftest$ac_exeext'
36367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36368 (eval $ac_try) 2>&5
36370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36371 (exit $ac_status); }; }; then
36372 eval "$as_ac_var=yes"
36374 echo "$as_me: failed program was:" >&5
36375 sed 's/^/| /' conftest.
$ac_ext >&5
36377 eval "$as_ac_var=no"
36379 rm -f conftest.err conftest.
$ac_objext \
36380 conftest
$ac_exeext conftest.
$ac_ext
36382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36384 if test `eval echo '${'$as_ac_var'}'` = yes; then
36385 cat >>confdefs.h
<<_ACEOF
36386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36395 for ac_func
in putenv setenv
36397 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36398 echo "$as_me:$LINENO: checking for $ac_func" >&5
36399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36400 if eval "test \"\${$as_ac_var+set}\" = set"; then
36401 echo $ECHO_N "(cached) $ECHO_C" >&6
36403 cat >conftest.
$ac_ext <<_ACEOF
36406 cat confdefs.h
>>conftest.
$ac_ext
36407 cat >>conftest.
$ac_ext <<_ACEOF
36408 /* end confdefs.h. */
36409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36411 #define $ac_func innocuous_$ac_func
36413 /* System header to define __stub macros and hopefully few prototypes,
36414 which can conflict with char $ac_func (); below.
36415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36416 <limits.h> exists even on freestanding compilers. */
36419 # include <limits.h>
36421 # include <assert.h>
36426 /* Override any gcc2 internal prototype to avoid an error. */
36431 /* We use char because int might match the return type of a gcc2
36432 builtin and then its argument prototype would still apply. */
36434 /* The GNU C library defines this for functions which it implements
36435 to always fail with ENOSYS. Some functions are actually named
36436 something starting with __ and the normal name is an alias. */
36437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36440 char (*f) () = $ac_func;
36449 return f != $ac_func;
36454 rm -f conftest.
$ac_objext conftest
$ac_exeext
36455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36456 (eval $ac_link) 2>conftest.er1
36458 grep -v '^ *+' conftest.er1
>conftest.err
36460 cat conftest.err
>&5
36461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36462 (exit $ac_status); } &&
36463 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36465 (eval $ac_try) 2>&5
36467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 (exit $ac_status); }; } &&
36469 { ac_try
='test -s conftest$ac_exeext'
36470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36471 (eval $ac_try) 2>&5
36473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36474 (exit $ac_status); }; }; then
36475 eval "$as_ac_var=yes"
36477 echo "$as_me: failed program was:" >&5
36478 sed 's/^/| /' conftest.
$ac_ext >&5
36480 eval "$as_ac_var=no"
36482 rm -f conftest.err conftest.
$ac_objext \
36483 conftest
$ac_exeext conftest.
$ac_ext
36485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36487 if test `eval echo '${'$as_ac_var'}'` = yes; then
36488 cat >>confdefs.h
<<_ACEOF
36489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36496 HAVE_SOME_SLEEP_FUNC
=0
36497 if test "$USE_BEOS" = 1; then
36498 cat >>confdefs.h
<<\_ACEOF
36499 #define HAVE_SLEEP 1
36502 HAVE_SOME_SLEEP_FUNC
=1
36505 if test "$USE_DARWIN" = 1; then
36506 cat >>confdefs.h
<<\_ACEOF
36507 #define HAVE_USLEEP 1
36510 HAVE_SOME_SLEEP_FUNC
=1
36513 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36516 for ac_func
in nanosleep
36518 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36519 echo "$as_me:$LINENO: checking for $ac_func" >&5
36520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36521 if eval "test \"\${$as_ac_var+set}\" = set"; then
36522 echo $ECHO_N "(cached) $ECHO_C" >&6
36524 cat >conftest.
$ac_ext <<_ACEOF
36527 cat confdefs.h
>>conftest.
$ac_ext
36528 cat >>conftest.
$ac_ext <<_ACEOF
36529 /* end confdefs.h. */
36530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36532 #define $ac_func innocuous_$ac_func
36534 /* System header to define __stub macros and hopefully few prototypes,
36535 which can conflict with char $ac_func (); below.
36536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36537 <limits.h> exists even on freestanding compilers. */
36540 # include <limits.h>
36542 # include <assert.h>
36547 /* Override any gcc2 internal prototype to avoid an error. */
36552 /* We use char because int might match the return type of a gcc2
36553 builtin and then its argument prototype would still apply. */
36555 /* The GNU C library defines this for functions which it implements
36556 to always fail with ENOSYS. Some functions are actually named
36557 something starting with __ and the normal name is an alias. */
36558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36561 char (*f) () = $ac_func;
36570 return f != $ac_func;
36575 rm -f conftest.
$ac_objext conftest
$ac_exeext
36576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36577 (eval $ac_link) 2>conftest.er1
36579 grep -v '^ *+' conftest.er1
>conftest.err
36581 cat conftest.err
>&5
36582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583 (exit $ac_status); } &&
36584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36586 (eval $ac_try) 2>&5
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); }; } &&
36590 { ac_try
='test -s conftest$ac_exeext'
36591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36592 (eval $ac_try) 2>&5
36594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36595 (exit $ac_status); }; }; then
36596 eval "$as_ac_var=yes"
36598 echo "$as_me: failed program was:" >&5
36599 sed 's/^/| /' conftest.
$ac_ext >&5
36601 eval "$as_ac_var=no"
36603 rm -f conftest.err conftest.
$ac_objext \
36604 conftest
$ac_exeext conftest.
$ac_ext
36606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36608 if test `eval echo '${'$as_ac_var'}'` = yes; then
36609 cat >>confdefs.h
<<_ACEOF
36610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36612 cat >>confdefs.h
<<\_ACEOF
36613 #define HAVE_NANOSLEEP 1
36618 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36619 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36620 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36621 echo $ECHO_N "(cached) $ECHO_C" >&6
36623 ac_check_lib_save_LIBS
=$LIBS
36624 LIBS
="-lposix4 $LIBS"
36625 cat >conftest.
$ac_ext <<_ACEOF
36628 cat confdefs.h
>>conftest.
$ac_ext
36629 cat >>conftest.
$ac_ext <<_ACEOF
36630 /* end confdefs.h. */
36632 /* Override any gcc2 internal prototype to avoid an error. */
36636 /* We use char because int might match the return type of a gcc2
36637 builtin and then its argument prototype would still apply. */
36647 rm -f conftest.
$ac_objext conftest
$ac_exeext
36648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36649 (eval $ac_link) 2>conftest.er1
36651 grep -v '^ *+' conftest.er1
>conftest.err
36653 cat conftest.err
>&5
36654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655 (exit $ac_status); } &&
36656 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36658 (eval $ac_try) 2>&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); }; } &&
36662 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
36668 ac_cv_lib_posix4_nanosleep
=yes
36670 echo "$as_me: failed program was:" >&5
36671 sed 's/^/| /' conftest.
$ac_ext >&5
36673 ac_cv_lib_posix4_nanosleep
=no
36675 rm -f conftest.err conftest.
$ac_objext \
36676 conftest
$ac_exeext conftest.
$ac_ext
36677 LIBS
=$ac_check_lib_save_LIBS
36679 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36680 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36681 if test $ac_cv_lib_posix4_nanosleep = yes; then
36683 cat >>confdefs.h
<<\_ACEOF
36684 #define HAVE_NANOSLEEP 1
36687 POSIX4_LINK
=" -lposix4"
36692 for ac_func
in usleep
36694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36695 echo "$as_me:$LINENO: checking for $ac_func" >&5
36696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36697 if eval "test \"\${$as_ac_var+set}\" = set"; then
36698 echo $ECHO_N "(cached) $ECHO_C" >&6
36700 cat >conftest.
$ac_ext <<_ACEOF
36703 cat confdefs.h
>>conftest.
$ac_ext
36704 cat >>conftest.
$ac_ext <<_ACEOF
36705 /* end confdefs.h. */
36706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36708 #define $ac_func innocuous_$ac_func
36710 /* System header to define __stub macros and hopefully few prototypes,
36711 which can conflict with char $ac_func (); below.
36712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36713 <limits.h> exists even on freestanding compilers. */
36716 # include <limits.h>
36718 # include <assert.h>
36723 /* Override any gcc2 internal prototype to avoid an error. */
36728 /* We use char because int might match the return type of a gcc2
36729 builtin and then its argument prototype would still apply. */
36731 /* The GNU C library defines this for functions which it implements
36732 to always fail with ENOSYS. Some functions are actually named
36733 something starting with __ and the normal name is an alias. */
36734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36737 char (*f) () = $ac_func;
36746 return f != $ac_func;
36751 rm -f conftest.
$ac_objext conftest
$ac_exeext
36752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36753 (eval $ac_link) 2>conftest.er1
36755 grep -v '^ *+' conftest.er1
>conftest.err
36757 cat conftest.err
>&5
36758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36759 (exit $ac_status); } &&
36760 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36762 (eval $ac_try) 2>&5
36764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36765 (exit $ac_status); }; } &&
36766 { ac_try
='test -s conftest$ac_exeext'
36767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36768 (eval $ac_try) 2>&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); }; }; then
36772 eval "$as_ac_var=yes"
36774 echo "$as_me: failed program was:" >&5
36775 sed 's/^/| /' conftest.
$ac_ext >&5
36777 eval "$as_ac_var=no"
36779 rm -f conftest.err conftest.
$ac_objext \
36780 conftest
$ac_exeext conftest.
$ac_ext
36782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36784 if test `eval echo '${'$as_ac_var'}'` = yes; then
36785 cat >>confdefs.h
<<_ACEOF
36786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36788 cat >>confdefs.h
<<\_ACEOF
36789 #define HAVE_USLEEP 1
36793 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36794 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36812 for ac_func
in uname gethostname
36814 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36815 echo "$as_me:$LINENO: checking for $ac_func" >&5
36816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36817 if eval "test \"\${$as_ac_var+set}\" = set"; then
36818 echo $ECHO_N "(cached) $ECHO_C" >&6
36820 cat >conftest.
$ac_ext <<_ACEOF
36823 cat confdefs.h
>>conftest.
$ac_ext
36824 cat >>conftest.
$ac_ext <<_ACEOF
36825 /* end confdefs.h. */
36826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36828 #define $ac_func innocuous_$ac_func
36830 /* System header to define __stub macros and hopefully few prototypes,
36831 which can conflict with char $ac_func (); below.
36832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36833 <limits.h> exists even on freestanding compilers. */
36836 # include <limits.h>
36838 # include <assert.h>
36843 /* Override any gcc2 internal prototype to avoid an error. */
36848 /* We use char because int might match the return type of a gcc2
36849 builtin and then its argument prototype would still apply. */
36851 /* The GNU C library defines this for functions which it implements
36852 to always fail with ENOSYS. Some functions are actually named
36853 something starting with __ and the normal name is an alias. */
36854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36857 char (*f) () = $ac_func;
36866 return f != $ac_func;
36871 rm -f conftest.
$ac_objext conftest
$ac_exeext
36872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36873 (eval $ac_link) 2>conftest.er1
36875 grep -v '^ *+' conftest.er1
>conftest.err
36877 cat conftest.err
>&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); } &&
36880 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36882 (eval $ac_try) 2>&5
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); }; } &&
36886 { ac_try
='test -s conftest$ac_exeext'
36887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36888 (eval $ac_try) 2>&5
36890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36891 (exit $ac_status); }; }; then
36892 eval "$as_ac_var=yes"
36894 echo "$as_me: failed program was:" >&5
36895 sed 's/^/| /' conftest.
$ac_ext >&5
36897 eval "$as_ac_var=no"
36899 rm -f conftest.err conftest.
$ac_objext \
36900 conftest
$ac_exeext conftest.
$ac_ext
36902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36904 if test `eval echo '${'$as_ac_var'}'` = yes; then
36905 cat >>confdefs.h
<<_ACEOF
36906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36913 SAVE_CPPFLAGS
="$CPPFLAGS"
36914 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
36915 echo "$as_me:$LINENO: checking whether strtok_r is declared" >&5
36916 echo $ECHO_N "checking whether strtok_r is declared... $ECHO_C" >&6
36917 if test "${ac_cv_have_decl_strtok_r+set}" = set; then
36918 echo $ECHO_N "(cached) $ECHO_C" >&6
36920 cat >conftest.
$ac_ext <<_ACEOF
36923 cat confdefs.h
>>conftest.
$ac_ext
36924 cat >>conftest.
$ac_ext <<_ACEOF
36925 /* end confdefs.h. */
36926 $ac_includes_default
36931 char *p = (char *) strtok_r;
36938 rm -f conftest.
$ac_objext
36939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36940 (eval $ac_compile) 2>conftest.er1
36942 grep -v '^ *+' conftest.er1
>conftest.err
36944 cat conftest.err
>&5
36945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946 (exit $ac_status); } &&
36947 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36949 (eval $ac_try) 2>&5
36951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952 (exit $ac_status); }; } &&
36953 { ac_try
='test -s conftest.$ac_objext'
36954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36955 (eval $ac_try) 2>&5
36957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36958 (exit $ac_status); }; }; then
36959 ac_cv_have_decl_strtok_r
=yes
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.
$ac_ext >&5
36964 ac_cv_have_decl_strtok_r
=no
36966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36968 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtok_r" >&5
36969 echo "${ECHO_T}$ac_cv_have_decl_strtok_r" >&6
36970 if test $ac_cv_have_decl_strtok_r = yes; then
36972 cat >>confdefs.h
<<_ACEOF
36973 #define HAVE_DECL_STRTOK_R 1
36976 cat >>confdefs.h
<<\_ACEOF
36977 #define HAVE_STRTOK_R 1
36981 cat >>confdefs.h
<<_ACEOF
36982 #define HAVE_DECL_STRTOK_R 0
36989 CPPFLAGS
="$SAVE_CPPFLAGS"
36993 for ac_func
in inet_addr
36995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36996 echo "$as_me:$LINENO: checking for $ac_func" >&5
36997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36998 if eval "test \"\${$as_ac_var+set}\" = set"; then
36999 echo $ECHO_N "(cached) $ECHO_C" >&6
37001 cat >conftest.
$ac_ext <<_ACEOF
37004 cat confdefs.h
>>conftest.
$ac_ext
37005 cat >>conftest.
$ac_ext <<_ACEOF
37006 /* end confdefs.h. */
37007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37009 #define $ac_func innocuous_$ac_func
37011 /* System header to define __stub macros and hopefully few prototypes,
37012 which can conflict with char $ac_func (); below.
37013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37014 <limits.h> exists even on freestanding compilers. */
37017 # include <limits.h>
37019 # include <assert.h>
37024 /* Override any gcc2 internal prototype to avoid an error. */
37029 /* We use char because int might match the return type of a gcc2
37030 builtin and then its argument prototype would still apply. */
37032 /* The GNU C library defines this for functions which it implements
37033 to always fail with ENOSYS. Some functions are actually named
37034 something starting with __ and the normal name is an alias. */
37035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37038 char (*f) () = $ac_func;
37047 return f != $ac_func;
37052 rm -f conftest.
$ac_objext conftest
$ac_exeext
37053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37054 (eval $ac_link) 2>conftest.er1
37056 grep -v '^ *+' conftest.er1
>conftest.err
37058 cat conftest.err
>&5
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); } &&
37061 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37063 (eval $ac_try) 2>&5
37065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37066 (exit $ac_status); }; } &&
37067 { ac_try
='test -s conftest$ac_exeext'
37068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37069 (eval $ac_try) 2>&5
37071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37072 (exit $ac_status); }; }; then
37073 eval "$as_ac_var=yes"
37075 echo "$as_me: failed program was:" >&5
37076 sed 's/^/| /' conftest.
$ac_ext >&5
37078 eval "$as_ac_var=no"
37080 rm -f conftest.err conftest.
$ac_objext \
37081 conftest
$ac_exeext conftest.
$ac_ext
37083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37085 if test `eval echo '${'$as_ac_var'}'` = yes; then
37086 cat >>confdefs.h
<<_ACEOF
37087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37089 cat >>confdefs.h
<<\_ACEOF
37090 #define HAVE_INET_ADDR 1
37095 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37096 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37097 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37098 echo $ECHO_N "(cached) $ECHO_C" >&6
37100 ac_check_lib_save_LIBS
=$LIBS
37102 cat >conftest.
$ac_ext <<_ACEOF
37105 cat confdefs.h
>>conftest.
$ac_ext
37106 cat >>conftest.
$ac_ext <<_ACEOF
37107 /* end confdefs.h. */
37109 /* Override any gcc2 internal prototype to avoid an error. */
37113 /* We use char because int might match the return type of a gcc2
37114 builtin and then its argument prototype would still apply. */
37124 rm -f conftest.
$ac_objext conftest
$ac_exeext
37125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37126 (eval $ac_link) 2>conftest.er1
37128 grep -v '^ *+' conftest.er1
>conftest.err
37130 cat conftest.err
>&5
37131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37132 (exit $ac_status); } &&
37133 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37135 (eval $ac_try) 2>&5
37137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37138 (exit $ac_status); }; } &&
37139 { ac_try
='test -s conftest$ac_exeext'
37140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37141 (eval $ac_try) 2>&5
37143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37144 (exit $ac_status); }; }; then
37145 ac_cv_lib_nsl_inet_addr
=yes
37147 echo "$as_me: failed program was:" >&5
37148 sed 's/^/| /' conftest.
$ac_ext >&5
37150 ac_cv_lib_nsl_inet_addr
=no
37152 rm -f conftest.err conftest.
$ac_objext \
37153 conftest
$ac_exeext conftest.
$ac_ext
37154 LIBS
=$ac_check_lib_save_LIBS
37156 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37157 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37158 if test $ac_cv_lib_nsl_inet_addr = yes; then
37162 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37163 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37164 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37165 echo $ECHO_N "(cached) $ECHO_C" >&6
37167 ac_check_lib_save_LIBS
=$LIBS
37168 LIBS
="-lresolv $LIBS"
37169 cat >conftest.
$ac_ext <<_ACEOF
37172 cat confdefs.h
>>conftest.
$ac_ext
37173 cat >>conftest.
$ac_ext <<_ACEOF
37174 /* end confdefs.h. */
37176 /* Override any gcc2 internal prototype to avoid an error. */
37180 /* We use char because int might match the return type of a gcc2
37181 builtin and then its argument prototype would still apply. */
37191 rm -f conftest.
$ac_objext conftest
$ac_exeext
37192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37193 (eval $ac_link) 2>conftest.er1
37195 grep -v '^ *+' conftest.er1
>conftest.err
37197 cat conftest.err
>&5
37198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37199 (exit $ac_status); } &&
37200 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37202 (eval $ac_try) 2>&5
37204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205 (exit $ac_status); }; } &&
37206 { ac_try
='test -s conftest$ac_exeext'
37207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37208 (eval $ac_try) 2>&5
37210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37211 (exit $ac_status); }; }; then
37212 ac_cv_lib_resolv_inet_addr
=yes
37214 echo "$as_me: failed program was:" >&5
37215 sed 's/^/| /' conftest.
$ac_ext >&5
37217 ac_cv_lib_resolv_inet_addr
=no
37219 rm -f conftest.err conftest.
$ac_objext \
37220 conftest
$ac_exeext conftest.
$ac_ext
37221 LIBS
=$ac_check_lib_save_LIBS
37223 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37224 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37225 if test $ac_cv_lib_resolv_inet_addr = yes; then
37229 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37230 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37231 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37232 echo $ECHO_N "(cached) $ECHO_C" >&6
37234 ac_check_lib_save_LIBS
=$LIBS
37235 LIBS
="-lsocket $LIBS"
37236 cat >conftest.
$ac_ext <<_ACEOF
37239 cat confdefs.h
>>conftest.
$ac_ext
37240 cat >>conftest.
$ac_ext <<_ACEOF
37241 /* end confdefs.h. */
37243 /* Override any gcc2 internal prototype to avoid an error. */
37247 /* We use char because int might match the return type of a gcc2
37248 builtin and then its argument prototype would still apply. */
37258 rm -f conftest.
$ac_objext conftest
$ac_exeext
37259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37260 (eval $ac_link) 2>conftest.er1
37262 grep -v '^ *+' conftest.er1
>conftest.err
37264 cat conftest.err
>&5
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); } &&
37267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37269 (eval $ac_try) 2>&5
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); }; } &&
37273 { ac_try
='test -s conftest$ac_exeext'
37274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37275 (eval $ac_try) 2>&5
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); }; }; then
37279 ac_cv_lib_socket_inet_addr
=yes
37281 echo "$as_me: failed program was:" >&5
37282 sed 's/^/| /' conftest.
$ac_ext >&5
37284 ac_cv_lib_socket_inet_addr
=no
37286 rm -f conftest.err conftest.
$ac_objext \
37287 conftest
$ac_exeext conftest.
$ac_ext
37288 LIBS
=$ac_check_lib_save_LIBS
37290 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37291 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37292 if test $ac_cv_lib_socket_inet_addr = yes; then
37312 for ac_func
in inet_aton
37314 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37315 echo "$as_me:$LINENO: checking for $ac_func" >&5
37316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37317 if eval "test \"\${$as_ac_var+set}\" = set"; then
37318 echo $ECHO_N "(cached) $ECHO_C" >&6
37320 cat >conftest.
$ac_ext <<_ACEOF
37323 cat confdefs.h
>>conftest.
$ac_ext
37324 cat >>conftest.
$ac_ext <<_ACEOF
37325 /* end confdefs.h. */
37326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37328 #define $ac_func innocuous_$ac_func
37330 /* System header to define __stub macros and hopefully few prototypes,
37331 which can conflict with char $ac_func (); below.
37332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37333 <limits.h> exists even on freestanding compilers. */
37336 # include <limits.h>
37338 # include <assert.h>
37343 /* Override any gcc2 internal prototype to avoid an error. */
37348 /* We use char because int might match the return type of a gcc2
37349 builtin and then its argument prototype would still apply. */
37351 /* The GNU C library defines this for functions which it implements
37352 to always fail with ENOSYS. Some functions are actually named
37353 something starting with __ and the normal name is an alias. */
37354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37357 char (*f) () = $ac_func;
37366 return f != $ac_func;
37371 rm -f conftest.
$ac_objext conftest
$ac_exeext
37372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37373 (eval $ac_link) 2>conftest.er1
37375 grep -v '^ *+' conftest.er1
>conftest.err
37377 cat conftest.err
>&5
37378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379 (exit $ac_status); } &&
37380 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37382 (eval $ac_try) 2>&5
37384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37385 (exit $ac_status); }; } &&
37386 { ac_try
='test -s conftest$ac_exeext'
37387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37388 (eval $ac_try) 2>&5
37390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37391 (exit $ac_status); }; }; then
37392 eval "$as_ac_var=yes"
37394 echo "$as_me: failed program was:" >&5
37395 sed 's/^/| /' conftest.
$ac_ext >&5
37397 eval "$as_ac_var=no"
37399 rm -f conftest.err conftest.
$ac_objext \
37400 conftest
$ac_exeext conftest.
$ac_ext
37402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37404 if test `eval echo '${'$as_ac_var'}'` = yes; then
37405 cat >>confdefs.h
<<_ACEOF
37406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37408 cat >>confdefs.h
<<\_ACEOF
37409 #define HAVE_INET_ATON 1
37414 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37415 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37416 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37417 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37418 echo $ECHO_N "(cached) $ECHO_C" >&6
37420 ac_check_lib_save_LIBS
=$LIBS
37421 LIBS
="-l$INET_LINK $LIBS"
37422 cat >conftest.
$ac_ext <<_ACEOF
37425 cat confdefs.h
>>conftest.
$ac_ext
37426 cat >>conftest.
$ac_ext <<_ACEOF
37427 /* end confdefs.h. */
37429 /* Override any gcc2 internal prototype to avoid an error. */
37433 /* We use char because int might match the return type of a gcc2
37434 builtin and then its argument prototype would still apply. */
37444 rm -f conftest.
$ac_objext conftest
$ac_exeext
37445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37446 (eval $ac_link) 2>conftest.er1
37448 grep -v '^ *+' conftest.er1
>conftest.err
37450 cat conftest.err
>&5
37451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37452 (exit $ac_status); } &&
37453 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37455 (eval $ac_try) 2>&5
37457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37458 (exit $ac_status); }; } &&
37459 { ac_try
='test -s conftest$ac_exeext'
37460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37461 (eval $ac_try) 2>&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); }; }; then
37465 eval "$as_ac_Lib=yes"
37467 echo "$as_me: failed program was:" >&5
37468 sed 's/^/| /' conftest.
$ac_ext >&5
37470 eval "$as_ac_Lib=no"
37472 rm -f conftest.err conftest.
$ac_objext \
37473 conftest
$ac_exeext conftest.
$ac_ext
37474 LIBS
=$ac_check_lib_save_LIBS
37476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37477 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37478 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37479 cat >>confdefs.h
<<\_ACEOF
37480 #define HAVE_INET_ATON 1
37490 if test "x$INET_LINK" != "x"; then
37491 cat >>confdefs.h
<<\_ACEOF
37492 #define HAVE_INET_ADDR 1
37495 INET_LINK
=" -l$INET_LINK"
37503 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37504 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
37505 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37506 echo $ECHO_N "(cached) $ECHO_C" >&6
37508 ac_check_lib_save_LIBS
=$LIBS
37510 cat >conftest.
$ac_ext <<_ACEOF
37513 cat confdefs.h
>>conftest.
$ac_ext
37514 cat >>conftest.
$ac_ext <<_ACEOF
37515 /* end confdefs.h. */
37517 /* Override any gcc2 internal prototype to avoid an error. */
37521 /* We use char because int might match the return type of a gcc2
37522 builtin and then its argument prototype would still apply. */
37532 rm -f conftest.
$ac_objext conftest
$ac_exeext
37533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37534 (eval $ac_link) 2>conftest.er1
37536 grep -v '^ *+' conftest.er1
>conftest.err
37538 cat conftest.err
>&5
37539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37540 (exit $ac_status); } &&
37541 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37543 (eval $ac_try) 2>&5
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); }; } &&
37547 { ac_try
='test -s conftest$ac_exeext'
37548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37549 (eval $ac_try) 2>&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); }; }; then
37553 ac_cv_lib_esd_esd_close
=yes
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.
$ac_ext >&5
37558 ac_cv_lib_esd_esd_close
=no
37560 rm -f conftest.err conftest.
$ac_objext \
37561 conftest
$ac_exeext conftest.
$ac_ext
37562 LIBS
=$ac_check_lib_save_LIBS
37564 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37565 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
37566 if test $ac_cv_lib_esd_esd_close = yes; then
37569 for ac_header
in esd.h
37571 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37573 echo "$as_me:$LINENO: checking for $ac_header" >&5
37574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37576 echo $ECHO_N "(cached) $ECHO_C" >&6
37578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37581 # Is the header compilable?
37582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37584 cat >conftest.
$ac_ext <<_ACEOF
37587 cat confdefs.h
>>conftest.
$ac_ext
37588 cat >>conftest.
$ac_ext <<_ACEOF
37589 /* end confdefs.h. */
37590 $ac_includes_default
37591 #include <$ac_header>
37593 rm -f conftest.
$ac_objext
37594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37595 (eval $ac_compile) 2>conftest.er1
37597 grep -v '^ *+' conftest.er1
>conftest.err
37599 cat conftest.err
>&5
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); } &&
37602 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37604 (eval $ac_try) 2>&5
37606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37607 (exit $ac_status); }; } &&
37608 { ac_try
='test -s conftest.$ac_objext'
37609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37610 (eval $ac_try) 2>&5
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); }; }; then
37614 ac_header_compiler
=yes
37616 echo "$as_me: failed program was:" >&5
37617 sed 's/^/| /' conftest.
$ac_ext >&5
37619 ac_header_compiler
=no
37621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37623 echo "${ECHO_T}$ac_header_compiler" >&6
37625 # Is the header present?
37626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37628 cat >conftest.
$ac_ext <<_ACEOF
37631 cat confdefs.h
>>conftest.
$ac_ext
37632 cat >>conftest.
$ac_ext <<_ACEOF
37633 /* end confdefs.h. */
37634 #include <$ac_header>
37636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37639 grep -v '^ *+' conftest.er1
>conftest.err
37641 cat conftest.err
>&5
37642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643 (exit $ac_status); } >/dev
/null
; then
37644 if test -s conftest.err
; then
37645 ac_cpp_err
=$ac_cxx_preproc_warn_flag
37646 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
37653 if test -z "$ac_cpp_err"; then
37654 ac_header_preproc
=yes
37656 echo "$as_me: failed program was:" >&5
37657 sed 's/^/| /' conftest.
$ac_ext >&5
37659 ac_header_preproc
=no
37661 rm -f conftest.err conftest.
$ac_ext
37662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37663 echo "${ECHO_T}$ac_header_preproc" >&6
37665 # So? What about this header?
37666 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37672 ac_header_preproc
=yes
37675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37689 ## ----------------------------------------- ##
37690 ## Report this to wx-dev@lists.wxwidgets.org ##
37691 ## ----------------------------------------- ##
37694 sed "s/^/$as_me: WARNING: /" >&2
37697 echo "$as_me:$LINENO: checking for $ac_header" >&5
37698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37700 echo $ECHO_N "(cached) $ECHO_C" >&6
37702 eval "$as_ac_Header=\$ac_header_preproc"
37704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37709 cat >>confdefs.h
<<_ACEOF
37710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37713 EXTRALIBS_ESD
="-lesd"
37724 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37725 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
37726 cat >conftest.
$ac_ext <<_ACEOF
37729 cat confdefs.h
>>conftest.
$ac_ext
37730 cat >>conftest.
$ac_ext <<_ACEOF
37731 /* end confdefs.h. */
37733 #include <linux/cdrom.h>
37736 #include <sys/cdio.h>
37742 struct cdrom_tocentry entry, old_entry;
37747 rm -f conftest.
$ac_objext
37748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37749 (eval $ac_compile) 2>conftest.er1
37751 grep -v '^ *+' conftest.er1
>conftest.err
37753 cat conftest.err
>&5
37754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37755 (exit $ac_status); } &&
37756 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37758 (eval $ac_try) 2>&5
37760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37761 (exit $ac_status); }; } &&
37762 { ac_try
='test -s conftest.$ac_objext'
37763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37764 (eval $ac_try) 2>&5
37766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37767 (exit $ac_status); }; }; then
37768 echo "$as_me:$LINENO: result: yes" >&5
37769 echo "${ECHO_T}yes" >&6
37770 cat >>confdefs.h
<<\_ACEOF
37771 #define HAVE_KNOWN_CDROM_INTERFACE 1
37775 echo "$as_me: failed program was:" >&5
37776 sed 's/^/| /' conftest.
$ac_ext >&5
37778 echo "$as_me:$LINENO: result: no" >&5
37779 echo "${ECHO_T}no" >&6
37781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37784 cat >confcache
<<\_ACEOF
37785 # This file is a shell script that caches the results of configure
37786 # tests run on this system so they can be shared between configure
37787 # scripts and configure runs, see configure's option --config-cache.
37788 # It is not useful on other systems. If it contains results you don't
37789 # want to keep, you may remove or edit it.
37791 # config.status only pays attention to the cache file if you give it
37792 # the --recheck option to rerun configure.
37794 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37795 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37796 # following values.
37800 # The following way of writing the cache mishandles newlines in values,
37801 # but we know of no workaround that is simple, portable, and efficient.
37802 # So, don't put newlines in cache variables' values.
37803 # Ultrix sh set writes to stderr and can't be redirected directly,
37804 # and sets the high bit in the cache file unless we assign to the vars.
37807 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37809 # `set' does not quote correctly, so add quotes (double-quote
37810 # substitution turns \\\\ into \\, and sed turns \\ into \).
37813 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37816 # `set' quotes correctly as required by POSIX, so do not add quotes.
37818 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37825 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37827 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37829 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37830 if test -w $cache_file; then
37831 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37832 cat confcache
>$cache_file
37834 echo "not updating unwritable cache $cache_file"
37840 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37846 if test "$wxUSE_THREADS" = "yes" ; then
37847 if test "$USE_BEOS" = 1; then
37848 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37849 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37854 if test "$wxUSE_THREADS" = "yes" ; then
37857 THREAD_OPTS
="-pthread"
37859 *-*-solaris2* | *-*-sunos4* )
37860 if test "x$GCC" = "xyes"; then
37861 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37863 THREAD_OPTS
="-mt $THREAD_OPTS"
37867 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37869 *-*-darwin* | *-*-cygwin* )
37873 THREAD_OPTS
="pthreads"
37876 if test "x$GCC" = "xyes"; then
37877 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37885 if test "x$GCC" = "xyes"; then
37891 if test "x$GCC" != "xyes"; then
37892 THREAD_OPTS
="-Ethread"
37897 THREAD_OPTS
="$THREAD_OPTS pthread none"
37900 for flag
in $THREAD_OPTS; do
37903 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37904 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37908 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37909 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37910 THREADS_CXXFLAGS
="$flag"
37914 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37915 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37916 THREADS_LINK
="-l$flag"
37921 save_CXXFLAGS
="$CXXFLAGS"
37922 LIBS
="$THREADS_LINK $LIBS"
37923 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
37925 cat >conftest.
$ac_ext <<_ACEOF
37928 cat confdefs.h
>>conftest.
$ac_ext
37929 cat >>conftest.
$ac_ext <<_ACEOF
37930 /* end confdefs.h. */
37931 #include <pthread.h>
37935 pthread_create(0,0,0,0);
37940 rm -f conftest.
$ac_objext conftest
$ac_exeext
37941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37942 (eval $ac_link) 2>conftest.er1
37944 grep -v '^ *+' conftest.er1
>conftest.err
37946 cat conftest.err
>&5
37947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37948 (exit $ac_status); } &&
37949 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37951 (eval $ac_try) 2>&5
37953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37954 (exit $ac_status); }; } &&
37955 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
37963 echo "$as_me: failed program was:" >&5
37964 sed 's/^/| /' conftest.
$ac_ext >&5
37967 rm -f conftest.err conftest.
$ac_objext \
37968 conftest
$ac_exeext conftest.
$ac_ext
37971 CXXFLAGS
="$save_CXXFLAGS"
37973 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37974 echo "${ECHO_T}$THREADS_OK" >&6
37975 if test "x$THREADS_OK" = "xyes"; then
37980 THREADS_CXXFLAGS
=""
37983 if test "x$THREADS_OK" != "xyes"; then
37985 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37986 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37988 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
37989 LIBS
="$THREADS_LINK $LIBS"
37991 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37992 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37996 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37997 flag
="-D_THREAD_SAFE"
38000 flag
="-D_THREAD_SAFE"
38003 flag
="-D_REENTRANT"
38004 if test "x$GCC" != "xyes"; then
38005 flag
="$flag -D_RWSTD_MULTI_THREAD"
38008 *solaris
* | alpha
*-osf*)
38009 flag
="-D_REENTRANT"
38012 echo "$as_me:$LINENO: result: ${flag}" >&5
38013 echo "${ECHO_T}${flag}" >&6
38014 if test "x$flag" != xno
; then
38015 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
38018 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38022 if test "$wxUSE_THREADS" = "yes" ; then
38024 for ac_func
in thr_setconcurrency
38026 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38027 echo "$as_me:$LINENO: checking for $ac_func" >&5
38028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38029 if eval "test \"\${$as_ac_var+set}\" = set"; then
38030 echo $ECHO_N "(cached) $ECHO_C" >&6
38032 cat >conftest.
$ac_ext <<_ACEOF
38035 cat confdefs.h
>>conftest.
$ac_ext
38036 cat >>conftest.
$ac_ext <<_ACEOF
38037 /* end confdefs.h. */
38038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38040 #define $ac_func innocuous_$ac_func
38042 /* System header to define __stub macros and hopefully few prototypes,
38043 which can conflict with char $ac_func (); below.
38044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38045 <limits.h> exists even on freestanding compilers. */
38048 # include <limits.h>
38050 # include <assert.h>
38055 /* Override any gcc2 internal prototype to avoid an error. */
38060 /* We use char because int might match the return type of a gcc2
38061 builtin and then its argument prototype would still apply. */
38063 /* The GNU C library defines this for functions which it implements
38064 to always fail with ENOSYS. Some functions are actually named
38065 something starting with __ and the normal name is an alias. */
38066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38069 char (*f) () = $ac_func;
38078 return f != $ac_func;
38083 rm -f conftest.
$ac_objext conftest
$ac_exeext
38084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38085 (eval $ac_link) 2>conftest.er1
38087 grep -v '^ *+' conftest.er1
>conftest.err
38089 cat conftest.err
>&5
38090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38091 (exit $ac_status); } &&
38092 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38094 (eval $ac_try) 2>&5
38096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38097 (exit $ac_status); }; } &&
38098 { ac_try
='test -s conftest$ac_exeext'
38099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38100 (eval $ac_try) 2>&5
38102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38103 (exit $ac_status); }; }; then
38104 eval "$as_ac_var=yes"
38106 echo "$as_me: failed program was:" >&5
38107 sed 's/^/| /' conftest.
$ac_ext >&5
38109 eval "$as_ac_var=no"
38111 rm -f conftest.err conftest.
$ac_objext \
38112 conftest
$ac_exeext conftest.
$ac_ext
38114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38116 if test `eval echo '${'$as_ac_var'}'` = yes; then
38117 cat >>confdefs.h
<<_ACEOF
38118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38125 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38126 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38127 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38128 echo $ECHO_N "(cached) $ECHO_C" >&6
38131 cat >conftest.
$ac_ext <<_ACEOF
38134 cat confdefs.h
>>conftest.
$ac_ext
38135 cat >>conftest.
$ac_ext <<_ACEOF
38136 /* end confdefs.h. */
38137 #include <pthread.h>
38138 void ThreadCleanupFunc(void *p);
38145 pthread_cleanup_push(ThreadCleanupFunc, p);
38146 pthread_cleanup_pop(0);
38152 rm -f conftest.
$ac_objext
38153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38154 (eval $ac_compile) 2>conftest.er1
38156 grep -v '^ *+' conftest.er1
>conftest.err
38158 cat conftest.err
>&5
38159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38160 (exit $ac_status); } &&
38161 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
38167 { ac_try
='test -s conftest.$ac_objext'
38168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38169 (eval $ac_try) 2>&5
38171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38172 (exit $ac_status); }; }; then
38174 wx_cv_func_pthread_cleanup
=yes
38177 echo "$as_me: failed program was:" >&5
38178 sed 's/^/| /' conftest.
$ac_ext >&5
38181 wx_cv_func_pthread_cleanup
=no
38185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38188 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38189 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38190 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38191 cat >>confdefs.h
<<\_ACEOF
38192 #define wxHAVE_PTHREAD_CLEANUP 1
38198 for ac_header
in sched.h
38200 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38202 echo "$as_me:$LINENO: checking for $ac_header" >&5
38203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38205 echo $ECHO_N "(cached) $ECHO_C" >&6
38207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38210 # Is the header compilable?
38211 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38212 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38213 cat >conftest.
$ac_ext <<_ACEOF
38216 cat confdefs.h
>>conftest.
$ac_ext
38217 cat >>conftest.
$ac_ext <<_ACEOF
38218 /* end confdefs.h. */
38219 $ac_includes_default
38220 #include <$ac_header>
38222 rm -f conftest.
$ac_objext
38223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38224 (eval $ac_compile) 2>conftest.er1
38226 grep -v '^ *+' conftest.er1
>conftest.err
38228 cat conftest.err
>&5
38229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38230 (exit $ac_status); } &&
38231 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38233 (eval $ac_try) 2>&5
38235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38236 (exit $ac_status); }; } &&
38237 { ac_try
='test -s conftest.$ac_objext'
38238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38239 (eval $ac_try) 2>&5
38241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38242 (exit $ac_status); }; }; then
38243 ac_header_compiler
=yes
38245 echo "$as_me: failed program was:" >&5
38246 sed 's/^/| /' conftest.
$ac_ext >&5
38248 ac_header_compiler
=no
38250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38251 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38252 echo "${ECHO_T}$ac_header_compiler" >&6
38254 # Is the header present?
38255 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38256 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38257 cat >conftest.
$ac_ext <<_ACEOF
38260 cat confdefs.h
>>conftest.
$ac_ext
38261 cat >>conftest.
$ac_ext <<_ACEOF
38262 /* end confdefs.h. */
38263 #include <$ac_header>
38265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38266 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38268 grep -v '^ *+' conftest.er1
>conftest.err
38270 cat conftest.err
>&5
38271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272 (exit $ac_status); } >/dev
/null
; then
38273 if test -s conftest.err
; then
38274 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38275 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38282 if test -z "$ac_cpp_err"; then
38283 ac_header_preproc
=yes
38285 echo "$as_me: failed program was:" >&5
38286 sed 's/^/| /' conftest.
$ac_ext >&5
38288 ac_header_preproc
=no
38290 rm -f conftest.err conftest.
$ac_ext
38291 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38292 echo "${ECHO_T}$ac_header_preproc" >&6
38294 # So? What about this header?
38295 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38297 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38301 ac_header_preproc
=yes
38304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38308 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38310 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38311 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38318 ## ----------------------------------------- ##
38319 ## Report this to wx-dev@lists.wxwidgets.org ##
38320 ## ----------------------------------------- ##
38323 sed "s/^/$as_me: WARNING: /" >&2
38326 echo "$as_me:$LINENO: checking for $ac_header" >&5
38327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38329 echo $ECHO_N "(cached) $ECHO_C" >&6
38331 eval "$as_ac_Header=\$ac_header_preproc"
38333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38338 cat >>confdefs.h
<<_ACEOF
38339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38346 if test "$ac_cv_header_sched_h" = "yes"; then
38347 echo "$as_me:$LINENO: checking for sched_yield" >&5
38348 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
38349 if test "${ac_cv_func_sched_yield+set}" = set; then
38350 echo $ECHO_N "(cached) $ECHO_C" >&6
38352 cat >conftest.
$ac_ext <<_ACEOF
38355 cat confdefs.h
>>conftest.
$ac_ext
38356 cat >>conftest.
$ac_ext <<_ACEOF
38357 /* end confdefs.h. */
38358 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38360 #define sched_yield innocuous_sched_yield
38362 /* System header to define __stub macros and hopefully few prototypes,
38363 which can conflict with char sched_yield (); below.
38364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38365 <limits.h> exists even on freestanding compilers. */
38368 # include <limits.h>
38370 # include <assert.h>
38375 /* Override any gcc2 internal prototype to avoid an error. */
38380 /* We use char because int might match the return type of a gcc2
38381 builtin and then its argument prototype would still apply. */
38382 char sched_yield ();
38383 /* The GNU C library defines this for functions which it implements
38384 to always fail with ENOSYS. Some functions are actually named
38385 something starting with __ and the normal name is an alias. */
38386 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
38389 char (*f) () = sched_yield;
38398 return f != sched_yield;
38403 rm -f conftest.
$ac_objext conftest
$ac_exeext
38404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38405 (eval $ac_link) 2>conftest.er1
38407 grep -v '^ *+' conftest.er1
>conftest.err
38409 cat conftest.err
>&5
38410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38411 (exit $ac_status); } &&
38412 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38414 (eval $ac_try) 2>&5
38416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38417 (exit $ac_status); }; } &&
38418 { ac_try
='test -s conftest$ac_exeext'
38419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38420 (eval $ac_try) 2>&5
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); }; }; then
38424 ac_cv_func_sched_yield
=yes
38426 echo "$as_me: failed program was:" >&5
38427 sed 's/^/| /' conftest.
$ac_ext >&5
38429 ac_cv_func_sched_yield
=no
38431 rm -f conftest.err conftest.
$ac_objext \
38432 conftest
$ac_exeext conftest.
$ac_ext
38434 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38435 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
38436 if test $ac_cv_func_sched_yield = yes; then
38437 cat >>confdefs.h
<<\_ACEOF
38438 #define HAVE_SCHED_YIELD 1
38443 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38444 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
38445 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38448 ac_check_lib_save_LIBS
=$LIBS
38449 LIBS
="-lposix4 $LIBS"
38450 cat >conftest.
$ac_ext <<_ACEOF
38453 cat confdefs.h
>>conftest.
$ac_ext
38454 cat >>conftest.
$ac_ext <<_ACEOF
38455 /* end confdefs.h. */
38457 /* Override any gcc2 internal prototype to avoid an error. */
38461 /* We use char because int might match the return type of a gcc2
38462 builtin and then its argument prototype would still apply. */
38463 char sched_yield ();
38472 rm -f conftest.
$ac_objext conftest
$ac_exeext
38473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38474 (eval $ac_link) 2>conftest.er1
38476 grep -v '^ *+' conftest.er1
>conftest.err
38478 cat conftest.err
>&5
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); } &&
38481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38483 (eval $ac_try) 2>&5
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); }; } &&
38487 { ac_try
='test -s conftest$ac_exeext'
38488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38489 (eval $ac_try) 2>&5
38491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38492 (exit $ac_status); }; }; then
38493 ac_cv_lib_posix4_sched_yield
=yes
38495 echo "$as_me: failed program was:" >&5
38496 sed 's/^/| /' conftest.
$ac_ext >&5
38498 ac_cv_lib_posix4_sched_yield
=no
38500 rm -f conftest.err conftest.
$ac_objext \
38501 conftest
$ac_exeext conftest.
$ac_ext
38502 LIBS
=$ac_check_lib_save_LIBS
38504 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38505 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
38506 if test $ac_cv_lib_posix4_sched_yield = yes; then
38507 cat >>confdefs.h
<<\_ACEOF
38508 #define HAVE_SCHED_YIELD 1
38510 POSIX4_LINK
=" -lposix4"
38512 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38513 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38524 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38525 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38526 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38527 echo $ECHO_N "(cached) $ECHO_C" >&6
38529 cat >conftest.
$ac_ext <<_ACEOF
38532 cat confdefs.h
>>conftest.
$ac_ext
38533 cat >>conftest.
$ac_ext <<_ACEOF
38534 /* end confdefs.h. */
38535 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38537 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38539 /* System header to define __stub macros and hopefully few prototypes,
38540 which can conflict with char pthread_attr_getschedpolicy (); below.
38541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38542 <limits.h> exists even on freestanding compilers. */
38545 # include <limits.h>
38547 # include <assert.h>
38550 #undef pthread_attr_getschedpolicy
38552 /* Override any gcc2 internal prototype to avoid an error. */
38557 /* We use char because int might match the return type of a gcc2
38558 builtin and then its argument prototype would still apply. */
38559 char pthread_attr_getschedpolicy ();
38560 /* The GNU C library defines this for functions which it implements
38561 to always fail with ENOSYS. Some functions are actually named
38562 something starting with __ and the normal name is an alias. */
38563 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38566 char (*f) () = pthread_attr_getschedpolicy;
38575 return f != pthread_attr_getschedpolicy;
38580 rm -f conftest.
$ac_objext conftest
$ac_exeext
38581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38582 (eval $ac_link) 2>conftest.er1
38584 grep -v '^ *+' conftest.er1
>conftest.err
38586 cat conftest.err
>&5
38587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588 (exit $ac_status); } &&
38589 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38591 (eval $ac_try) 2>&5
38593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38594 (exit $ac_status); }; } &&
38595 { ac_try
='test -s conftest$ac_exeext'
38596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38597 (eval $ac_try) 2>&5
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); }; }; then
38601 ac_cv_func_pthread_attr_getschedpolicy
=yes
38603 echo "$as_me: failed program was:" >&5
38604 sed 's/^/| /' conftest.
$ac_ext >&5
38606 ac_cv_func_pthread_attr_getschedpolicy
=no
38608 rm -f conftest.err conftest.
$ac_objext \
38609 conftest
$ac_exeext conftest.
$ac_ext
38611 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38612 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
38613 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38614 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38615 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
38616 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38617 echo $ECHO_N "(cached) $ECHO_C" >&6
38619 cat >conftest.
$ac_ext <<_ACEOF
38622 cat confdefs.h
>>conftest.
$ac_ext
38623 cat >>conftest.
$ac_ext <<_ACEOF
38624 /* end confdefs.h. */
38625 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38627 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38629 /* System header to define __stub macros and hopefully few prototypes,
38630 which can conflict with char pthread_attr_setschedparam (); below.
38631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38632 <limits.h> exists even on freestanding compilers. */
38635 # include <limits.h>
38637 # include <assert.h>
38640 #undef pthread_attr_setschedparam
38642 /* Override any gcc2 internal prototype to avoid an error. */
38647 /* We use char because int might match the return type of a gcc2
38648 builtin and then its argument prototype would still apply. */
38649 char pthread_attr_setschedparam ();
38650 /* The GNU C library defines this for functions which it implements
38651 to always fail with ENOSYS. Some functions are actually named
38652 something starting with __ and the normal name is an alias. */
38653 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38656 char (*f) () = pthread_attr_setschedparam;
38665 return f != pthread_attr_setschedparam;
38670 rm -f conftest.
$ac_objext conftest
$ac_exeext
38671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38672 (eval $ac_link) 2>conftest.er1
38674 grep -v '^ *+' conftest.er1
>conftest.err
38676 cat conftest.err
>&5
38677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38678 (exit $ac_status); } &&
38679 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38681 (eval $ac_try) 2>&5
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); }; } &&
38685 { ac_try
='test -s conftest$ac_exeext'
38686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38687 (eval $ac_try) 2>&5
38689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 (exit $ac_status); }; }; then
38691 ac_cv_func_pthread_attr_setschedparam
=yes
38693 echo "$as_me: failed program was:" >&5
38694 sed 's/^/| /' conftest.
$ac_ext >&5
38696 ac_cv_func_pthread_attr_setschedparam
=no
38698 rm -f conftest.err conftest.
$ac_objext \
38699 conftest
$ac_exeext conftest.
$ac_ext
38701 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38702 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38703 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38704 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38705 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38706 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38707 echo $ECHO_N "(cached) $ECHO_C" >&6
38709 cat >conftest.
$ac_ext <<_ACEOF
38712 cat confdefs.h
>>conftest.
$ac_ext
38713 cat >>conftest.
$ac_ext <<_ACEOF
38714 /* end confdefs.h. */
38715 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38717 #define sched_get_priority_max innocuous_sched_get_priority_max
38719 /* System header to define __stub macros and hopefully few prototypes,
38720 which can conflict with char sched_get_priority_max (); below.
38721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38722 <limits.h> exists even on freestanding compilers. */
38725 # include <limits.h>
38727 # include <assert.h>
38730 #undef sched_get_priority_max
38732 /* Override any gcc2 internal prototype to avoid an error. */
38737 /* We use char because int might match the return type of a gcc2
38738 builtin and then its argument prototype would still apply. */
38739 char sched_get_priority_max ();
38740 /* The GNU C library defines this for functions which it implements
38741 to always fail with ENOSYS. Some functions are actually named
38742 something starting with __ and the normal name is an alias. */
38743 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38746 char (*f) () = sched_get_priority_max;
38755 return f != sched_get_priority_max;
38760 rm -f conftest.
$ac_objext conftest
$ac_exeext
38761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38762 (eval $ac_link) 2>conftest.er1
38764 grep -v '^ *+' conftest.er1
>conftest.err
38766 cat conftest.err
>&5
38767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38768 (exit $ac_status); } &&
38769 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38771 (eval $ac_try) 2>&5
38773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38774 (exit $ac_status); }; } &&
38775 { ac_try
='test -s conftest$ac_exeext'
38776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38777 (eval $ac_try) 2>&5
38779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38780 (exit $ac_status); }; }; then
38781 ac_cv_func_sched_get_priority_max
=yes
38783 echo "$as_me: failed program was:" >&5
38784 sed 's/^/| /' conftest.
$ac_ext >&5
38786 ac_cv_func_sched_get_priority_max
=no
38788 rm -f conftest.err conftest.
$ac_objext \
38789 conftest
$ac_exeext conftest.
$ac_ext
38791 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38792 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38793 if test $ac_cv_func_sched_get_priority_max = yes; then
38796 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38797 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38798 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38799 echo $ECHO_N "(cached) $ECHO_C" >&6
38801 ac_check_lib_save_LIBS
=$LIBS
38802 LIBS
="-lposix4 $LIBS"
38803 cat >conftest.
$ac_ext <<_ACEOF
38806 cat confdefs.h
>>conftest.
$ac_ext
38807 cat >>conftest.
$ac_ext <<_ACEOF
38808 /* end confdefs.h. */
38810 /* Override any gcc2 internal prototype to avoid an error. */
38814 /* We use char because int might match the return type of a gcc2
38815 builtin and then its argument prototype would still apply. */
38816 char sched_get_priority_max ();
38820 sched_get_priority_max ();
38825 rm -f conftest.
$ac_objext conftest
$ac_exeext
38826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38827 (eval $ac_link) 2>conftest.er1
38829 grep -v '^ *+' conftest.er1
>conftest.err
38831 cat conftest.err
>&5
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); } &&
38834 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38836 (eval $ac_try) 2>&5
38838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38839 (exit $ac_status); }; } &&
38840 { ac_try
='test -s conftest$ac_exeext'
38841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38842 (eval $ac_try) 2>&5
38844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38845 (exit $ac_status); }; }; then
38846 ac_cv_lib_posix4_sched_get_priority_max
=yes
38848 echo "$as_me: failed program was:" >&5
38849 sed 's/^/| /' conftest.
$ac_ext >&5
38851 ac_cv_lib_posix4_sched_get_priority_max
=no
38853 rm -f conftest.err conftest.
$ac_objext \
38854 conftest
$ac_exeext conftest.
$ac_ext
38855 LIBS
=$ac_check_lib_save_LIBS
38857 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38858 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38859 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38862 POSIX4_LINK
=" -lposix4"
38876 if test "$HAVE_PRIOR_FUNCS" = 1; then
38877 cat >>confdefs.h
<<\_ACEOF
38878 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38882 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38883 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38886 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38887 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38888 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38889 echo $ECHO_N "(cached) $ECHO_C" >&6
38891 cat >conftest.
$ac_ext <<_ACEOF
38894 cat confdefs.h
>>conftest.
$ac_ext
38895 cat >>conftest.
$ac_ext <<_ACEOF
38896 /* end confdefs.h. */
38897 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38899 #define pthread_cancel innocuous_pthread_cancel
38901 /* System header to define __stub macros and hopefully few prototypes,
38902 which can conflict with char pthread_cancel (); below.
38903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38904 <limits.h> exists even on freestanding compilers. */
38907 # include <limits.h>
38909 # include <assert.h>
38912 #undef pthread_cancel
38914 /* Override any gcc2 internal prototype to avoid an error. */
38919 /* We use char because int might match the return type of a gcc2
38920 builtin and then its argument prototype would still apply. */
38921 char pthread_cancel ();
38922 /* The GNU C library defines this for functions which it implements
38923 to always fail with ENOSYS. Some functions are actually named
38924 something starting with __ and the normal name is an alias. */
38925 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38928 char (*f) () = pthread_cancel;
38937 return f != pthread_cancel;
38942 rm -f conftest.
$ac_objext conftest
$ac_exeext
38943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38944 (eval $ac_link) 2>conftest.er1
38946 grep -v '^ *+' conftest.er1
>conftest.err
38948 cat conftest.err
>&5
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); } &&
38951 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38953 (eval $ac_try) 2>&5
38955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38956 (exit $ac_status); }; } &&
38957 { ac_try
='test -s conftest$ac_exeext'
38958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38959 (eval $ac_try) 2>&5
38961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38962 (exit $ac_status); }; }; then
38963 ac_cv_func_pthread_cancel
=yes
38965 echo "$as_me: failed program was:" >&5
38966 sed 's/^/| /' conftest.
$ac_ext >&5
38968 ac_cv_func_pthread_cancel
=no
38970 rm -f conftest.err conftest.
$ac_objext \
38971 conftest
$ac_exeext conftest.
$ac_ext
38973 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38974 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38975 if test $ac_cv_func_pthread_cancel = yes; then
38976 cat >>confdefs.h
<<\_ACEOF
38977 #define HAVE_PTHREAD_CANCEL 1
38981 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38982 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38986 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38987 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38988 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38989 echo $ECHO_N "(cached) $ECHO_C" >&6
38991 cat >conftest.
$ac_ext <<_ACEOF
38994 cat confdefs.h
>>conftest.
$ac_ext
38995 cat >>conftest.
$ac_ext <<_ACEOF
38996 /* end confdefs.h. */
38997 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38999 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39001 /* System header to define __stub macros and hopefully few prototypes,
39002 which can conflict with char pthread_attr_setstacksize (); below.
39003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39004 <limits.h> exists even on freestanding compilers. */
39007 # include <limits.h>
39009 # include <assert.h>
39012 #undef pthread_attr_setstacksize
39014 /* Override any gcc2 internal prototype to avoid an error. */
39019 /* We use char because int might match the return type of a gcc2
39020 builtin and then its argument prototype would still apply. */
39021 char pthread_attr_setstacksize ();
39022 /* The GNU C library defines this for functions which it implements
39023 to always fail with ENOSYS. Some functions are actually named
39024 something starting with __ and the normal name is an alias. */
39025 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39028 char (*f) () = pthread_attr_setstacksize;
39037 return f != pthread_attr_setstacksize;
39042 rm -f conftest.
$ac_objext conftest
$ac_exeext
39043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39044 (eval $ac_link) 2>conftest.er1
39046 grep -v '^ *+' conftest.er1
>conftest.err
39048 cat conftest.err
>&5
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); } &&
39051 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39053 (eval $ac_try) 2>&5
39055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056 (exit $ac_status); }; } &&
39057 { ac_try
='test -s conftest$ac_exeext'
39058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39059 (eval $ac_try) 2>&5
39061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39062 (exit $ac_status); }; }; then
39063 ac_cv_func_pthread_attr_setstacksize
=yes
39065 echo "$as_me: failed program was:" >&5
39066 sed 's/^/| /' conftest.
$ac_ext >&5
39068 ac_cv_func_pthread_attr_setstacksize
=no
39070 rm -f conftest.err conftest.
$ac_objext \
39071 conftest
$ac_exeext conftest.
$ac_ext
39073 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39074 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39075 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39076 cat >>confdefs.h
<<\_ACEOF
39077 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39084 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39085 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39086 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39087 echo $ECHO_N "(cached) $ECHO_C" >&6
39090 cat >conftest.
$ac_ext <<_ACEOF
39093 cat confdefs.h
>>conftest.
$ac_ext
39094 cat >>conftest.
$ac_ext <<_ACEOF
39095 /* end confdefs.h. */
39096 #include <pthread.h>
39101 pthread_mutexattr_t attr;
39102 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39108 rm -f conftest.
$ac_objext
39109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39110 (eval $ac_compile) 2>conftest.er1
39112 grep -v '^ *+' conftest.er1
>conftest.err
39114 cat conftest.err
>&5
39115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39116 (exit $ac_status); } &&
39117 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39119 (eval $ac_try) 2>&5
39121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39122 (exit $ac_status); }; } &&
39123 { ac_try
='test -s conftest.$ac_objext'
39124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39125 (eval $ac_try) 2>&5
39127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39128 (exit $ac_status); }; }; then
39129 wx_cv_type_pthread_mutexattr_t
=yes
39131 echo "$as_me: failed program was:" >&5
39132 sed 's/^/| /' conftest.
$ac_ext >&5
39134 wx_cv_type_pthread_mutexattr_t
=no
39137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39140 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39141 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39143 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39144 cat >>confdefs.h
<<\_ACEOF
39145 #define HAVE_PTHREAD_MUTEXATTR_T 1
39149 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39150 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39151 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39152 echo $ECHO_N "(cached) $ECHO_C" >&6
39155 cat >conftest.
$ac_ext <<_ACEOF
39158 cat confdefs.h
>>conftest.
$ac_ext
39159 cat >>conftest.
$ac_ext <<_ACEOF
39160 /* end confdefs.h. */
39161 #include <pthread.h>
39166 pthread_mutexattr_t attr;
39167 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39173 rm -f conftest.
$ac_objext
39174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39175 (eval $ac_compile) 2>conftest.er1
39177 grep -v '^ *+' conftest.er1
>conftest.err
39179 cat conftest.err
>&5
39180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39181 (exit $ac_status); } &&
39182 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39184 (eval $ac_try) 2>&5
39186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39187 (exit $ac_status); }; } &&
39188 { ac_try
='test -s conftest.$ac_objext'
39189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39190 (eval $ac_try) 2>&5
39192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193 (exit $ac_status); }; }; then
39194 wx_cv_func_pthread_mutexattr_settype_decl
=yes
39196 echo "$as_me: failed program was:" >&5
39197 sed 's/^/| /' conftest.
$ac_ext >&5
39199 wx_cv_func_pthread_mutexattr_settype_decl
=no
39202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39205 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39206 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39207 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39208 cat >>confdefs.h
<<\_ACEOF
39209 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39214 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39215 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
39216 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39217 echo $ECHO_N "(cached) $ECHO_C" >&6
39220 cat >conftest.
$ac_ext <<_ACEOF
39223 cat confdefs.h
>>conftest.
$ac_ext
39224 cat >>conftest.
$ac_ext <<_ACEOF
39225 /* end confdefs.h. */
39226 #include <pthread.h>
39231 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39237 rm -f conftest.
$ac_objext
39238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39239 (eval $ac_compile) 2>conftest.er1
39241 grep -v '^ *+' conftest.er1
>conftest.err
39243 cat conftest.err
>&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } &&
39246 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39248 (eval $ac_try) 2>&5
39250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251 (exit $ac_status); }; } &&
39252 { ac_try
='test -s conftest.$ac_objext'
39253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39254 (eval $ac_try) 2>&5
39256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39257 (exit $ac_status); }; }; then
39259 wx_cv_type_pthread_rec_mutex_init
=yes
39262 echo "$as_me: failed program was:" >&5
39263 sed 's/^/| /' conftest.
$ac_ext >&5
39266 wx_cv_type_pthread_rec_mutex_init
=no
39270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39273 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39274 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39275 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39276 cat >>confdefs.h
<<\_ACEOF
39277 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39281 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39282 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39288 if test "$wxUSE_THREADS" = "yes" ; then
39291 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39292 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39293 if test "${wx_cv_cflags_mthread+set}" = set; then
39294 echo $ECHO_N "(cached) $ECHO_C" >&6
39297 CXXFLAGS_OLD
="$CXXFLAGS"
39298 CXXFLAGS
="-mthreads $CXXFLAGS"
39299 cat >conftest.
$ac_ext <<_ACEOF
39302 cat confdefs.h
>>conftest.
$ac_ext
39303 cat >>conftest.
$ac_ext <<_ACEOF
39304 /* end confdefs.h. */
39314 rm -f conftest.
$ac_objext
39315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39316 (eval $ac_compile) 2>conftest.er1
39318 grep -v '^ *+' conftest.er1
>conftest.err
39320 cat conftest.err
>&5
39321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39322 (exit $ac_status); } &&
39323 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39325 (eval $ac_try) 2>&5
39327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328 (exit $ac_status); }; } &&
39329 { ac_try
='test -s conftest.$ac_objext'
39330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39331 (eval $ac_try) 2>&5
39333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39334 (exit $ac_status); }; }; then
39335 wx_cv_cflags_mthread
=yes
39337 echo "$as_me: failed program was:" >&5
39338 sed 's/^/| /' conftest.
$ac_ext >&5
39340 wx_cv_cflags_mthread
=no
39343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39347 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39348 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
39350 if test "$wx_cv_cflags_mthread" = "yes"; then
39351 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
39352 LDFLAGS
="$LDFLAGS -mthreads"
39354 CXXFLAGS
="$CXXFLAGS_OLD"
39358 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39359 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
39360 LDFLAGS
="$LDFLAGS -Zmt"
39366 echo "$as_me:$LINENO: checking for localtime_r" >&5
39367 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
39368 if test "${ac_cv_func_localtime_r+set}" = set; then
39369 echo $ECHO_N "(cached) $ECHO_C" >&6
39371 cat >conftest.
$ac_ext <<_ACEOF
39374 cat confdefs.h
>>conftest.
$ac_ext
39375 cat >>conftest.
$ac_ext <<_ACEOF
39376 /* end confdefs.h. */
39377 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39379 #define localtime_r innocuous_localtime_r
39381 /* System header to define __stub macros and hopefully few prototypes,
39382 which can conflict with char localtime_r (); below.
39383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39384 <limits.h> exists even on freestanding compilers. */
39387 # include <limits.h>
39389 # include <assert.h>
39394 /* Override any gcc2 internal prototype to avoid an error. */
39399 /* We use char because int might match the return type of a gcc2
39400 builtin and then its argument prototype would still apply. */
39401 char localtime_r ();
39402 /* The GNU C library defines this for functions which it implements
39403 to always fail with ENOSYS. Some functions are actually named
39404 something starting with __ and the normal name is an alias. */
39405 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
39408 char (*f) () = localtime_r;
39417 return f != localtime_r;
39422 rm -f conftest.
$ac_objext conftest
$ac_exeext
39423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39424 (eval $ac_link) 2>conftest.er1
39426 grep -v '^ *+' conftest.er1
>conftest.err
39428 cat conftest.err
>&5
39429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39430 (exit $ac_status); } &&
39431 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39433 (eval $ac_try) 2>&5
39435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39436 (exit $ac_status); }; } &&
39437 { ac_try
='test -s conftest$ac_exeext'
39438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39439 (eval $ac_try) 2>&5
39441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39442 (exit $ac_status); }; }; then
39443 ac_cv_func_localtime_r
=yes
39445 echo "$as_me: failed program was:" >&5
39446 sed 's/^/| /' conftest.
$ac_ext >&5
39448 ac_cv_func_localtime_r
=no
39450 rm -f conftest.err conftest.
$ac_objext \
39451 conftest
$ac_exeext conftest.
$ac_ext
39453 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39454 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
39455 if test $ac_cv_func_localtime_r = yes; then
39456 cat >>confdefs.h
<<\_ACEOF
39457 #define HAVE_LOCALTIME_R 1
39462 echo "$as_me:$LINENO: checking for gmtime_r" >&5
39463 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
39464 if test "${ac_cv_func_gmtime_r+set}" = set; then
39465 echo $ECHO_N "(cached) $ECHO_C" >&6
39467 cat >conftest.
$ac_ext <<_ACEOF
39470 cat confdefs.h
>>conftest.
$ac_ext
39471 cat >>conftest.
$ac_ext <<_ACEOF
39472 /* end confdefs.h. */
39473 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39475 #define gmtime_r innocuous_gmtime_r
39477 /* System header to define __stub macros and hopefully few prototypes,
39478 which can conflict with char gmtime_r (); below.
39479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39480 <limits.h> exists even on freestanding compilers. */
39483 # include <limits.h>
39485 # include <assert.h>
39490 /* Override any gcc2 internal prototype to avoid an error. */
39495 /* We use char because int might match the return type of a gcc2
39496 builtin and then its argument prototype would still apply. */
39498 /* The GNU C library defines this for functions which it implements
39499 to always fail with ENOSYS. Some functions are actually named
39500 something starting with __ and the normal name is an alias. */
39501 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
39504 char (*f) () = gmtime_r;
39513 return f != gmtime_r;
39518 rm -f conftest.
$ac_objext conftest
$ac_exeext
39519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39520 (eval $ac_link) 2>conftest.er1
39522 grep -v '^ *+' conftest.er1
>conftest.err
39524 cat conftest.err
>&5
39525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39526 (exit $ac_status); } &&
39527 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39529 (eval $ac_try) 2>&5
39531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39532 (exit $ac_status); }; } &&
39533 { ac_try
='test -s conftest$ac_exeext'
39534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39535 (eval $ac_try) 2>&5
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); }; }; then
39539 ac_cv_func_gmtime_r
=yes
39541 echo "$as_me: failed program was:" >&5
39542 sed 's/^/| /' conftest.
$ac_ext >&5
39544 ac_cv_func_gmtime_r
=no
39546 rm -f conftest.err conftest.
$ac_objext \
39547 conftest
$ac_exeext conftest.
$ac_ext
39549 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39550 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39551 if test $ac_cv_func_gmtime_r = yes; then
39552 cat >>confdefs.h
<<\_ACEOF
39553 #define HAVE_GMTIME_R 1
39558 echo "$as_me:$LINENO: checking for readdir_r" >&5
39559 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39560 if test "${ac_cv_func_readdir_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 readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39571 #define readdir_r innocuous_readdir_r
39573 /* System header to define __stub macros and hopefully few prototypes,
39574 which can conflict with char readdir_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>
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. */
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_readdir_r) || defined (__stub___readdir_r)
39600 char (*f) () = readdir_r;
39609 return f != readdir_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" || test ! -s conftest.err'
39624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39625 (eval $ac_try) 2>&5
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); }; } &&
39629 { ac_try
='test -s conftest$ac_exeext'
39630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39631 (eval $ac_try) 2>&5
39633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39634 (exit $ac_status); }; }; then
39635 ac_cv_func_readdir_r
=yes
39637 echo "$as_me: failed program was:" >&5
39638 sed 's/^/| /' conftest.
$ac_ext >&5
39640 ac_cv_func_readdir_r
=no
39642 rm -f conftest.err conftest.
$ac_objext \
39643 conftest
$ac_exeext conftest.
$ac_ext
39645 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39646 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39647 if test $ac_cv_func_readdir_r = yes; then
39648 cat >>confdefs.h
<<\_ACEOF
39649 #define HAVE_READDIR_R 1
39658 ac_cpp
='$CPP $CPPFLAGS'
39659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39663 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39664 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39666 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39667 echo $ECHO_N "(cached) $ECHO_C" >&6
39671 ################################################################
39673 ac_cv_func_which_gethostbyname_r
=unknown
39676 # ONE ARGUMENT (sanity check)
39679 # This should fail, as there is no variant of gethostbyname_r() that takes
39680 # a single argument. If it actually compiles, then we can assume that
39681 # netdb.h is not declaring the function, and the compiler is thereby
39682 # assuming an implicit prototype. In which case, we're out of luck.
39684 cat >conftest.
$ac_ext <<_ACEOF
39687 cat confdefs.h
>>conftest.
$ac_ext
39688 cat >>conftest.
$ac_ext <<_ACEOF
39689 /* end confdefs.h. */
39695 char *name = "www.gnu.org";
39696 (void)gethostbyname_r(name) /* ; */
39702 rm -f conftest.
$ac_objext
39703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39704 (eval $ac_compile) 2>conftest.er1
39706 grep -v '^ *+' conftest.er1
>conftest.err
39708 cat conftest.err
>&5
39709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39710 (exit $ac_status); } &&
39711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39713 (eval $ac_try) 2>&5
39715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39716 (exit $ac_status); }; } &&
39717 { ac_try
='test -s conftest.$ac_objext'
39718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39719 (eval $ac_try) 2>&5
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); }; }; then
39723 ac_cv_func_which_gethostbyname_r
=no
39725 echo "$as_me: failed program was:" >&5
39726 sed 's/^/| /' conftest.
$ac_ext >&5
39729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39736 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39738 cat >conftest.
$ac_ext <<_ACEOF
39741 cat confdefs.h
>>conftest.
$ac_ext
39742 cat >>conftest.
$ac_ext <<_ACEOF
39743 /* end confdefs.h. */
39749 char *name = "www.gnu.org";
39750 struct hostent ret, *retp;
39754 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39760 rm -f conftest.
$ac_objext
39761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39762 (eval $ac_compile) 2>conftest.er1
39764 grep -v '^ *+' conftest.er1
>conftest.err
39766 cat conftest.err
>&5
39767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39768 (exit $ac_status); } &&
39769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39771 (eval $ac_try) 2>&5
39773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39774 (exit $ac_status); }; } &&
39775 { ac_try
='test -s conftest.$ac_objext'
39776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39777 (eval $ac_try) 2>&5
39779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39780 (exit $ac_status); }; }; then
39781 ac_cv_func_which_gethostbyname_r
=six
39783 echo "$as_me: failed program was:" >&5
39784 sed 's/^/| /' conftest.
$ac_ext >&5
39787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39796 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39798 cat >conftest.
$ac_ext <<_ACEOF
39801 cat confdefs.h
>>conftest.
$ac_ext
39802 cat >>conftest.
$ac_ext <<_ACEOF
39803 /* end confdefs.h. */
39809 char *name = "www.gnu.org";
39810 struct hostent ret;
39814 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39820 rm -f conftest.
$ac_objext
39821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39822 (eval $ac_compile) 2>conftest.er1
39824 grep -v '^ *+' conftest.er1
>conftest.err
39826 cat conftest.err
>&5
39827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39828 (exit $ac_status); } &&
39829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39831 (eval $ac_try) 2>&5
39833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39834 (exit $ac_status); }; } &&
39835 { ac_try
='test -s conftest.$ac_objext'
39836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39837 (eval $ac_try) 2>&5
39839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39840 (exit $ac_status); }; }; then
39841 ac_cv_func_which_gethostbyname_r
=five
39843 echo "$as_me: failed program was:" >&5
39844 sed 's/^/| /' conftest.
$ac_ext >&5
39847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39853 # (e.g. AIX, HP-UX, Tru64)
39856 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39858 cat >conftest.
$ac_ext <<_ACEOF
39861 cat confdefs.h
>>conftest.
$ac_ext
39862 cat >>conftest.
$ac_ext <<_ACEOF
39863 /* end confdefs.h. */
39869 char *name = "www.gnu.org";
39870 struct hostent ret;
39871 struct hostent_data data;
39872 (void)gethostbyname_r(name, &ret, &data) /* ; */
39878 rm -f conftest.
$ac_objext
39879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39880 (eval $ac_compile) 2>conftest.er1
39882 grep -v '^ *+' conftest.er1
>conftest.err
39884 cat conftest.err
>&5
39885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39886 (exit $ac_status); } &&
39887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39889 (eval $ac_try) 2>&5
39891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39892 (exit $ac_status); }; } &&
39893 { ac_try
='test -s conftest.$ac_objext'
39894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39895 (eval $ac_try) 2>&5
39897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39898 (exit $ac_status); }; }; then
39899 ac_cv_func_which_gethostbyname_r
=three
39901 echo "$as_me: failed program was:" >&5
39902 sed 's/^/| /' conftest.
$ac_ext >&5
39905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39909 ################################################################
39914 case "$ac_cv_func_which_gethostbyname_r" in
39916 echo "$as_me:$LINENO: result: three" >&5
39917 echo "${ECHO_T}three" >&6
39918 cat >>confdefs.h
<<\_ACEOF
39919 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39925 echo "$as_me:$LINENO: result: five" >&5
39926 echo "${ECHO_T}five" >&6
39927 cat >>confdefs.h
<<\_ACEOF
39928 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39934 echo "$as_me:$LINENO: result: six" >&5
39935 echo "${ECHO_T}six" >&6
39936 cat >>confdefs.h
<<\_ACEOF
39937 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39943 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39944 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39948 echo "$as_me:$LINENO: result: can't tell" >&5
39949 echo "${ECHO_T}can't tell" >&6
39953 { { echo "$as_me:$LINENO: error: internal error" >&5
39954 echo "$as_me: error: internal error" >&2;}
39955 { (exit 1); exit 1; }; }
39960 ac_cpp
='$CXXCPP $CPPFLAGS'
39961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39967 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39968 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39969 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39970 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39971 if test "${ac_cv_func_gethostbyname+set}" = set; then
39972 echo $ECHO_N "(cached) $ECHO_C" >&6
39974 cat >conftest.
$ac_ext <<_ACEOF
39977 cat confdefs.h
>>conftest.
$ac_ext
39978 cat >>conftest.
$ac_ext <<_ACEOF
39979 /* end confdefs.h. */
39980 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39982 #define gethostbyname innocuous_gethostbyname
39984 /* System header to define __stub macros and hopefully few prototypes,
39985 which can conflict with char gethostbyname (); below.
39986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39987 <limits.h> exists even on freestanding compilers. */
39990 # include <limits.h>
39992 # include <assert.h>
39995 #undef gethostbyname
39997 /* Override any gcc2 internal prototype to avoid an error. */
40002 /* We use char because int might match the return type of a gcc2
40003 builtin and then its argument prototype would still apply. */
40004 char gethostbyname ();
40005 /* The GNU C library defines this for functions which it implements
40006 to always fail with ENOSYS. Some functions are actually named
40007 something starting with __ and the normal name is an alias. */
40008 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40011 char (*f) () = gethostbyname;
40020 return f != gethostbyname;
40025 rm -f conftest.
$ac_objext conftest
$ac_exeext
40026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40027 (eval $ac_link) 2>conftest.er1
40029 grep -v '^ *+' conftest.er1
>conftest.err
40031 cat conftest.err
>&5
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); } &&
40034 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40036 (eval $ac_try) 2>&5
40038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40039 (exit $ac_status); }; } &&
40040 { ac_try
='test -s conftest$ac_exeext'
40041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40042 (eval $ac_try) 2>&5
40044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40045 (exit $ac_status); }; }; then
40046 ac_cv_func_gethostbyname
=yes
40048 echo "$as_me: failed program was:" >&5
40049 sed 's/^/| /' conftest.
$ac_ext >&5
40051 ac_cv_func_gethostbyname
=no
40053 rm -f conftest.err conftest.
$ac_objext \
40054 conftest
$ac_exeext conftest.
$ac_ext
40056 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40057 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40058 if test $ac_cv_func_gethostbyname = yes; then
40059 cat >>confdefs.h
<<\_ACEOF
40060 #define HAVE_GETHOSTBYNAME 1
40066 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40067 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40068 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40069 echo $ECHO_N "(cached) $ECHO_C" >&6
40072 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40073 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40074 if test "${ac_cv_func_getservbyname_r+set}" = set; then
40075 echo $ECHO_N "(cached) $ECHO_C" >&6
40077 cat >conftest.
$ac_ext <<_ACEOF
40080 cat confdefs.h
>>conftest.
$ac_ext
40081 cat >>conftest.
$ac_ext <<_ACEOF
40082 /* end confdefs.h. */
40083 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
40084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40085 #define getservbyname_r innocuous_getservbyname_r
40087 /* System header to define __stub macros and hopefully few prototypes,
40088 which can conflict with char getservbyname_r (); below.
40089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40090 <limits.h> exists even on freestanding compilers. */
40093 # include <limits.h>
40095 # include <assert.h>
40098 #undef getservbyname_r
40100 /* Override any gcc2 internal prototype to avoid an error. */
40105 /* We use char because int might match the return type of a gcc2
40106 builtin and then its argument prototype would still apply. */
40107 char getservbyname_r ();
40108 /* The GNU C library defines this for functions which it implements
40109 to always fail with ENOSYS. Some functions are actually named
40110 something starting with __ and the normal name is an alias. */
40111 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
40114 char (*f) () = getservbyname_r;
40123 return f != getservbyname_r;
40128 rm -f conftest.
$ac_objext conftest
$ac_exeext
40129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40130 (eval $ac_link) 2>conftest.er1
40132 grep -v '^ *+' conftest.er1
>conftest.err
40134 cat conftest.err
>&5
40135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40136 (exit $ac_status); } &&
40137 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40139 (eval $ac_try) 2>&5
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); }; } &&
40143 { ac_try
='test -s conftest$ac_exeext'
40144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40145 (eval $ac_try) 2>&5
40147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40148 (exit $ac_status); }; }; then
40149 ac_cv_func_getservbyname_r
=yes
40151 echo "$as_me: failed program was:" >&5
40152 sed 's/^/| /' conftest.
$ac_ext >&5
40154 ac_cv_func_getservbyname_r
=no
40156 rm -f conftest.err conftest.
$ac_objext \
40157 conftest
$ac_exeext conftest.
$ac_ext
40159 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
40160 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
40161 if test $ac_cv_func_getservbyname_r = yes; then
40163 cat >conftest.
$ac_ext <<_ACEOF
40166 cat confdefs.h
>>conftest.
$ac_ext
40167 cat >>conftest.
$ac_ext <<_ACEOF
40168 /* end confdefs.h. */
40170 # include <netdb.h>
40179 struct servent *se;
40180 struct servent_data data;
40181 (void) getservbyname_r(name, proto, se, &data);
40188 rm -f conftest.
$ac_objext
40189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40190 (eval $ac_compile) 2>conftest.er1
40192 grep -v '^ *+' conftest.er1
>conftest.err
40194 cat conftest.err
>&5
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); } &&
40197 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40199 (eval $ac_try) 2>&5
40201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202 (exit $ac_status); }; } &&
40203 { ac_try
='test -s conftest.$ac_objext'
40204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40205 (eval $ac_try) 2>&5
40207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40208 (exit $ac_status); }; }; then
40209 ac_cv_func_which_getservbyname_r
=four
40211 echo "$as_me: failed program was:" >&5
40212 sed 's/^/| /' conftest.
$ac_ext >&5
40215 cat >conftest.
$ac_ext <<_ACEOF
40218 cat confdefs.h
>>conftest.
$ac_ext
40219 cat >>conftest.
$ac_ext <<_ACEOF
40220 /* end confdefs.h. */
40222 # include <netdb.h>
40230 struct servent *se, *res;
40233 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40239 rm -f conftest.
$ac_objext
40240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40241 (eval $ac_compile) 2>conftest.er1
40243 grep -v '^ *+' conftest.er1
>conftest.err
40245 cat conftest.err
>&5
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); } &&
40248 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40250 (eval $ac_try) 2>&5
40252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40253 (exit $ac_status); }; } &&
40254 { ac_try
='test -s conftest.$ac_objext'
40255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40256 (eval $ac_try) 2>&5
40258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40259 (exit $ac_status); }; }; then
40260 ac_cv_func_which_getservbyname_r
=six
40262 echo "$as_me: failed program was:" >&5
40263 sed 's/^/| /' conftest.
$ac_ext >&5
40266 cat >conftest.
$ac_ext <<_ACEOF
40269 cat confdefs.h
>>conftest.
$ac_ext
40270 cat >>conftest.
$ac_ext <<_ACEOF
40271 /* end confdefs.h. */
40273 # include <netdb.h>
40281 struct servent *se;
40284 (void) getservbyname_r(name, proto, se, buffer, buflen)
40290 rm -f conftest.
$ac_objext
40291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40292 (eval $ac_compile) 2>conftest.er1
40294 grep -v '^ *+' conftest.er1
>conftest.err
40296 cat conftest.err
>&5
40297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40298 (exit $ac_status); } &&
40299 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40301 (eval $ac_try) 2>&5
40303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40304 (exit $ac_status); }; } &&
40305 { ac_try
='test -s conftest.$ac_objext'
40306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40307 (eval $ac_try) 2>&5
40309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40310 (exit $ac_status); }; }; then
40311 ac_cv_func_which_getservbyname_r
=five
40313 echo "$as_me: failed program was:" >&5
40314 sed 's/^/| /' conftest.
$ac_ext >&5
40316 ac_cv_func_which_getservbyname_r
=no
40318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40331 ac_cv_func_which_getservbyname_r
=no
40335 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40336 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
40338 if test $ac_cv_func_which_getservbyname_r = six
; then
40339 cat >>confdefs.h
<<\_ACEOF
40340 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40343 elif test $ac_cv_func_which_getservbyname_r = five
; then
40344 cat >>confdefs.h
<<\_ACEOF
40345 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40348 elif test $ac_cv_func_which_getservbyname_r = four
; then
40349 cat >>confdefs.h
<<\_ACEOF
40350 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40357 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40358 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40360 for ac_func
in getservbyname
40362 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40363 echo "$as_me:$LINENO: checking for $ac_func" >&5
40364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40365 if eval "test \"\${$as_ac_var+set}\" = set"; then
40366 echo $ECHO_N "(cached) $ECHO_C" >&6
40368 cat >conftest.
$ac_ext <<_ACEOF
40371 cat confdefs.h
>>conftest.
$ac_ext
40372 cat >>conftest.
$ac_ext <<_ACEOF
40373 /* end confdefs.h. */
40374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40376 #define $ac_func innocuous_$ac_func
40378 /* System header to define __stub macros and hopefully few prototypes,
40379 which can conflict with char $ac_func (); below.
40380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40381 <limits.h> exists even on freestanding compilers. */
40384 # include <limits.h>
40386 # include <assert.h>
40391 /* Override any gcc2 internal prototype to avoid an error. */
40396 /* We use char because int might match the return type of a gcc2
40397 builtin and then its argument prototype would still apply. */
40399 /* The GNU C library defines this for functions which it implements
40400 to always fail with ENOSYS. Some functions are actually named
40401 something starting with __ and the normal name is an alias. */
40402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40405 char (*f) () = $ac_func;
40414 return f != $ac_func;
40419 rm -f conftest.
$ac_objext conftest
$ac_exeext
40420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40421 (eval $ac_link) 2>conftest.er1
40423 grep -v '^ *+' conftest.er1
>conftest.err
40425 cat conftest.err
>&5
40426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40427 (exit $ac_status); } &&
40428 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40430 (eval $ac_try) 2>&5
40432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40433 (exit $ac_status); }; } &&
40434 { ac_try
='test -s conftest$ac_exeext'
40435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40436 (eval $ac_try) 2>&5
40438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40439 (exit $ac_status); }; }; then
40440 eval "$as_ac_var=yes"
40442 echo "$as_me: failed program was:" >&5
40443 sed 's/^/| /' conftest.
$ac_ext >&5
40445 eval "$as_ac_var=no"
40447 rm -f conftest.err conftest.
$ac_objext \
40448 conftest
$ac_exeext conftest.
$ac_ext
40450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40452 if test `eval echo '${'$as_ac_var'}'` = yes; then
40453 cat >>confdefs.h
<<_ACEOF
40454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40456 cat >>confdefs.h
<<\_ACEOF
40457 #define HAVE_GETSERVBYNAME 1
40465 if test "$wxUSE_THREADS" = "yes"; then
40466 cat >>confdefs.h
<<\_ACEOF
40467 #define wxUSE_THREADS 1
40471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40473 if test "$ac_cv_have_decl_strtok_r" = "yes"; then
40474 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40475 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
40476 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40477 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40478 echo "$as_me:$LINENO: result: yes" >&5
40479 echo "${ECHO_T}yes" >&6
40481 echo "$as_me:$LINENO: result: no" >&5
40482 echo "${ECHO_T}no" >&6
40487 if test "$WXGTK20" = 1 ; then
40488 cat >>confdefs.h
<<_ACEOF
40489 #define __WXGTK20__ $WXGTK20
40495 if test "$WXGTK12" = 1 ; then
40496 cat >>confdefs.h
<<_ACEOF
40497 #define __WXGTK12__ $WXGTK12
40502 if test "$WXGTK127" = 1 ; then
40503 cat >>confdefs.h
<<_ACEOF
40504 #define __WXGTK127__ $WXGTK127
40509 if test "$WXGPE" = 1 ; then
40510 cat >>confdefs.h
<<_ACEOF
40511 #define __WXGPE__ $WXGPE
40517 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40522 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40523 wxUSE_DEBUG_INFO
=yes
40524 if test "$GCC" = yes; then
40525 DEBUG_CFLAGS
="-ggdb"
40529 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40530 cat >>confdefs.h
<<\_ACEOF
40534 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40536 if test "$wxUSE_GTK" = 1 ; then
40537 if test "x$wxGTK_VERSION" = "x1" ; then
40538 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40543 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40544 cat >>confdefs.h
<<\_ACEOF
40545 #define wxUSE_MEMORY_TRACING 1
40548 cat >>confdefs.h
<<\_ACEOF
40549 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40552 cat >>confdefs.h
<<\_ACEOF
40553 #define wxUSE_DEBUG_NEW_ALWAYS 1
40556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40559 if test "$wxUSE_DMALLOC" = "yes" ; then
40560 DMALLOC_LIBS
="-ldmallocthcxx"
40564 if test "$wxUSE_PROFILE" = "yes" ; then
40565 PROFILE_FLAGS
=" -pg"
40568 if test "$GCC" = "yes" ; then
40569 if test "$wxUSE_NO_RTTI" = "yes" ; then
40570 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40572 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40573 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40575 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40576 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40581 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40584 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40590 if test "$wxUSE_OPTIMISE" = "no" ; then
40591 if test "$GCC" = yes ; then
40592 OPTIMISE_CFLAGS
="-O0"
40595 if test "$GCC" = yes ; then
40597 *-pc-os2_emx | *-pc-os2-emx )
40598 OPTIMISE_CFLAGS
="-O2"
40601 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40605 OPTIMISE_CFLAGS
="-O"
40610 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
40611 cat >>confdefs.h
<<\_ACEOF
40612 #define WXWIN_COMPATIBILITY_2_4 1
40616 WXWIN_COMPATIBILITY_2_6
="yes"
40619 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
40620 cat >>confdefs.h
<<\_ACEOF
40621 #define WXWIN_COMPATIBILITY_2_6 1
40627 if test "$wxUSE_GUI" = "yes"; then
40628 cat >>confdefs.h
<<\_ACEOF
40629 #define wxUSE_GUI 1
40636 if test "$wxUSE_UNIX" = "yes"; then
40637 cat >>confdefs.h
<<\_ACEOF
40638 #define wxUSE_UNIX 1
40644 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40648 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40649 if test "$USE_DARWIN" = 1; then
40651 elif test "$USE_DOS" = 1; then
40655 for ac_func
in dlopen
40657 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40658 echo "$as_me:$LINENO: checking for $ac_func" >&5
40659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40660 if eval "test \"\${$as_ac_var+set}\" = set"; then
40661 echo $ECHO_N "(cached) $ECHO_C" >&6
40663 cat >conftest.
$ac_ext <<_ACEOF
40666 cat confdefs.h
>>conftest.
$ac_ext
40667 cat >>conftest.
$ac_ext <<_ACEOF
40668 /* end confdefs.h. */
40669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40671 #define $ac_func innocuous_$ac_func
40673 /* System header to define __stub macros and hopefully few prototypes,
40674 which can conflict with char $ac_func (); below.
40675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40676 <limits.h> exists even on freestanding compilers. */
40679 # include <limits.h>
40681 # include <assert.h>
40686 /* Override any gcc2 internal prototype to avoid an error. */
40691 /* We use char because int might match the return type of a gcc2
40692 builtin and then its argument prototype would still apply. */
40694 /* The GNU C library defines this for functions which it implements
40695 to always fail with ENOSYS. Some functions are actually named
40696 something starting with __ and the normal name is an alias. */
40697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40700 char (*f) () = $ac_func;
40709 return f != $ac_func;
40714 rm -f conftest.
$ac_objext conftest
$ac_exeext
40715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40716 (eval $ac_link) 2>conftest.er1
40718 grep -v '^ *+' conftest.er1
>conftest.err
40720 cat conftest.err
>&5
40721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40722 (exit $ac_status); } &&
40723 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40725 (eval $ac_try) 2>&5
40727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40728 (exit $ac_status); }; } &&
40729 { ac_try
='test -s conftest$ac_exeext'
40730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40731 (eval $ac_try) 2>&5
40733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40734 (exit $ac_status); }; }; then
40735 eval "$as_ac_var=yes"
40737 echo "$as_me: failed program was:" >&5
40738 sed 's/^/| /' conftest.
$ac_ext >&5
40740 eval "$as_ac_var=no"
40742 rm -f conftest.err conftest.
$ac_objext \
40743 conftest
$ac_exeext conftest.
$ac_ext
40745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40747 if test `eval echo '${'$as_ac_var'}'` = yes; then
40748 cat >>confdefs.h
<<_ACEOF
40749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40752 cat >>confdefs.h
<<\_ACEOF
40753 #define HAVE_DLOPEN 1
40760 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40761 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40762 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40763 echo $ECHO_N "(cached) $ECHO_C" >&6
40765 ac_check_lib_save_LIBS
=$LIBS
40767 cat >conftest.
$ac_ext <<_ACEOF
40770 cat confdefs.h
>>conftest.
$ac_ext
40771 cat >>conftest.
$ac_ext <<_ACEOF
40772 /* end confdefs.h. */
40774 /* Override any gcc2 internal prototype to avoid an error. */
40778 /* We use char because int might match the return type of a gcc2
40779 builtin and then its argument prototype would still apply. */
40789 rm -f conftest.
$ac_objext conftest
$ac_exeext
40790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40791 (eval $ac_link) 2>conftest.er1
40793 grep -v '^ *+' conftest.er1
>conftest.err
40795 cat conftest.err
>&5
40796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40797 (exit $ac_status); } &&
40798 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40800 (eval $ac_try) 2>&5
40802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40803 (exit $ac_status); }; } &&
40804 { ac_try
='test -s conftest$ac_exeext'
40805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40806 (eval $ac_try) 2>&5
40808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809 (exit $ac_status); }; }; then
40810 ac_cv_lib_dl_dlopen
=yes
40812 echo "$as_me: failed program was:" >&5
40813 sed 's/^/| /' conftest.
$ac_ext >&5
40815 ac_cv_lib_dl_dlopen
=no
40817 rm -f conftest.err conftest.
$ac_objext \
40818 conftest
$ac_exeext conftest.
$ac_ext
40819 LIBS
=$ac_check_lib_save_LIBS
40821 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40822 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40823 if test $ac_cv_lib_dl_dlopen = yes; then
40825 cat >>confdefs.h
<<\_ACEOF
40826 #define HAVE_DLOPEN 1
40830 DL_LINK
=" -ldl$DL_LINK"
40835 for ac_func
in shl_load
40837 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40838 echo "$as_me:$LINENO: checking for $ac_func" >&5
40839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40840 if eval "test \"\${$as_ac_var+set}\" = set"; then
40841 echo $ECHO_N "(cached) $ECHO_C" >&6
40843 cat >conftest.
$ac_ext <<_ACEOF
40846 cat confdefs.h
>>conftest.
$ac_ext
40847 cat >>conftest.
$ac_ext <<_ACEOF
40848 /* end confdefs.h. */
40849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40851 #define $ac_func innocuous_$ac_func
40853 /* System header to define __stub macros and hopefully few prototypes,
40854 which can conflict with char $ac_func (); below.
40855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40856 <limits.h> exists even on freestanding compilers. */
40859 # include <limits.h>
40861 # include <assert.h>
40866 /* Override any gcc2 internal prototype to avoid an error. */
40871 /* We use char because int might match the return type of a gcc2
40872 builtin and then its argument prototype would still apply. */
40874 /* The GNU C library defines this for functions which it implements
40875 to always fail with ENOSYS. Some functions are actually named
40876 something starting with __ and the normal name is an alias. */
40877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40880 char (*f) () = $ac_func;
40889 return f != $ac_func;
40894 rm -f conftest.
$ac_objext conftest
$ac_exeext
40895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40896 (eval $ac_link) 2>conftest.er1
40898 grep -v '^ *+' conftest.er1
>conftest.err
40900 cat conftest.err
>&5
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); } &&
40903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40905 (eval $ac_try) 2>&5
40907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40908 (exit $ac_status); }; } &&
40909 { ac_try
='test -s conftest$ac_exeext'
40910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40911 (eval $ac_try) 2>&5
40913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40914 (exit $ac_status); }; }; then
40915 eval "$as_ac_var=yes"
40917 echo "$as_me: failed program was:" >&5
40918 sed 's/^/| /' conftest.
$ac_ext >&5
40920 eval "$as_ac_var=no"
40922 rm -f conftest.err conftest.
$ac_objext \
40923 conftest
$ac_exeext conftest.
$ac_ext
40925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40927 if test `eval echo '${'$as_ac_var'}'` = yes; then
40928 cat >>confdefs.h
<<_ACEOF
40929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40932 cat >>confdefs.h
<<\_ACEOF
40933 #define HAVE_SHL_LOAD 1
40940 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40941 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40942 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40943 echo $ECHO_N "(cached) $ECHO_C" >&6
40945 ac_check_lib_save_LIBS
=$LIBS
40946 LIBS
="-lshl_load $LIBS"
40947 cat >conftest.
$ac_ext <<_ACEOF
40950 cat confdefs.h
>>conftest.
$ac_ext
40951 cat >>conftest.
$ac_ext <<_ACEOF
40952 /* end confdefs.h. */
40954 /* Override any gcc2 internal prototype to avoid an error. */
40958 /* We use char because int might match the return type of a gcc2
40959 builtin and then its argument prototype would still apply. */
40969 rm -f conftest.
$ac_objext conftest
$ac_exeext
40970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40971 (eval $ac_link) 2>conftest.er1
40973 grep -v '^ *+' conftest.er1
>conftest.err
40975 cat conftest.err
>&5
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); } &&
40978 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40980 (eval $ac_try) 2>&5
40982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40983 (exit $ac_status); }; } &&
40984 { ac_try
='test -s conftest$ac_exeext'
40985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40986 (eval $ac_try) 2>&5
40988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40989 (exit $ac_status); }; }; then
40990 ac_cv_lib_shl_load_dld
=yes
40992 echo "$as_me: failed program was:" >&5
40993 sed 's/^/| /' conftest.
$ac_ext >&5
40995 ac_cv_lib_shl_load_dld
=no
40997 rm -f conftest.err conftest.
$ac_objext \
40998 conftest
$ac_exeext conftest.
$ac_ext
40999 LIBS
=$ac_check_lib_save_LIBS
41001 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41002 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41003 if test $ac_cv_lib_shl_load_dld = yes; then
41006 DL_LINK
=" -ldld$DL_LINK"
41022 if test "$HAVE_DL_FUNCS" = 1; then
41024 for ac_func
in dlerror
41026 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41027 echo "$as_me:$LINENO: checking for $ac_func" >&5
41028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41029 if eval "test \"\${$as_ac_var+set}\" = set"; then
41030 echo $ECHO_N "(cached) $ECHO_C" >&6
41032 cat >conftest.
$ac_ext <<_ACEOF
41035 cat confdefs.h
>>conftest.
$ac_ext
41036 cat >>conftest.
$ac_ext <<_ACEOF
41037 /* end confdefs.h. */
41038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41040 #define $ac_func innocuous_$ac_func
41042 /* System header to define __stub macros and hopefully few prototypes,
41043 which can conflict with char $ac_func (); below.
41044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41045 <limits.h> exists even on freestanding compilers. */
41048 # include <limits.h>
41050 # include <assert.h>
41055 /* Override any gcc2 internal prototype to avoid an error. */
41060 /* We use char because int might match the return type of a gcc2
41061 builtin and then its argument prototype would still apply. */
41063 /* The GNU C library defines this for functions which it implements
41064 to always fail with ENOSYS. Some functions are actually named
41065 something starting with __ and the normal name is an alias. */
41066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41069 char (*f) () = $ac_func;
41078 return f != $ac_func;
41083 rm -f conftest.
$ac_objext conftest
$ac_exeext
41084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41085 (eval $ac_link) 2>conftest.er1
41087 grep -v '^ *+' conftest.er1
>conftest.err
41089 cat conftest.err
>&5
41090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41091 (exit $ac_status); } &&
41092 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41094 (eval $ac_try) 2>&5
41096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41097 (exit $ac_status); }; } &&
41098 { ac_try
='test -s conftest$ac_exeext'
41099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41100 (eval $ac_try) 2>&5
41102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41103 (exit $ac_status); }; }; then
41104 eval "$as_ac_var=yes"
41106 echo "$as_me: failed program was:" >&5
41107 sed 's/^/| /' conftest.
$ac_ext >&5
41109 eval "$as_ac_var=no"
41111 rm -f conftest.err conftest.
$ac_objext \
41112 conftest
$ac_exeext conftest.
$ac_ext
41114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41116 if test `eval echo '${'$as_ac_var'}'` = yes; then
41117 cat >>confdefs.h
<<_ACEOF
41118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41120 cat >>confdefs.h
<<\_ACEOF
41121 #define HAVE_DLERROR 1
41126 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41127 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41128 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41129 echo $ECHO_N "(cached) $ECHO_C" >&6
41131 ac_check_lib_save_LIBS
=$LIBS
41133 cat >conftest.
$ac_ext <<_ACEOF
41136 cat confdefs.h
>>conftest.
$ac_ext
41137 cat >>conftest.
$ac_ext <<_ACEOF
41138 /* end confdefs.h. */
41140 /* Override any gcc2 internal prototype to avoid an error. */
41144 /* We use char because int might match the return type of a gcc2
41145 builtin and then its argument prototype would still apply. */
41155 rm -f conftest.
$ac_objext conftest
$ac_exeext
41156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41157 (eval $ac_link) 2>conftest.er1
41159 grep -v '^ *+' conftest.er1
>conftest.err
41161 cat conftest.err
>&5
41162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41163 (exit $ac_status); } &&
41164 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41166 (eval $ac_try) 2>&5
41168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169 (exit $ac_status); }; } &&
41170 { ac_try
='test -s conftest$ac_exeext'
41171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41172 (eval $ac_try) 2>&5
41174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41175 (exit $ac_status); }; }; then
41176 ac_cv_lib_dl_dlerror
=yes
41178 echo "$as_me: failed program was:" >&5
41179 sed 's/^/| /' conftest.
$ac_ext >&5
41181 ac_cv_lib_dl_dlerror
=no
41183 rm -f conftest.err conftest.
$ac_objext \
41184 conftest
$ac_exeext conftest.
$ac_ext
41185 LIBS
=$ac_check_lib_save_LIBS
41187 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41188 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41189 if test $ac_cv_lib_dl_dlerror = yes; then
41190 cat >>confdefs.h
<<\_ACEOF
41191 #define HAVE_DLERROR 1
41204 if test "$HAVE_DL_FUNCS" = 0; then
41205 if test "$HAVE_SHL_FUNCS" = 0; then
41206 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41207 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41208 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41209 wxUSE_DYNAMIC_LOADER
=no
41210 wxUSE_DYNLIB_CLASS
=no
41212 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41213 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41220 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41221 cat >>confdefs.h
<<\_ACEOF
41222 #define wxUSE_DYNAMIC_LOADER 1
41226 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41227 cat >>confdefs.h
<<\_ACEOF
41228 #define wxUSE_DYNLIB_CLASS 1
41235 if test "$wxUSE_PLUGINS" = "yes" ; then
41236 if test "$wxUSE_SHARED" = "no" ; then
41237 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41238 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41241 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41242 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41243 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41246 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41247 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41248 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41251 if test "$wxUSE_PLUGINS" = "yes" ; then
41252 cat >>confdefs.h
<<\_ACEOF
41253 #define wxUSE_PLUGINS 1
41260 if test "$wxUSE_STL" = "yes"; then
41261 cat >>confdefs.h
<<\_ACEOF
41262 #define wxUSE_STL 1
41267 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41268 cat >>confdefs.h
<<\_ACEOF
41269 #define wxUSE_APPLE_IEEE 1
41274 if test "$wxUSE_TIMER" = "yes"; then
41275 cat >>confdefs.h
<<\_ACEOF
41276 #define wxUSE_TIMER 1
41281 if test "$USE_UNIX" = "1" ; then
41282 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41283 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41284 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41285 echo $ECHO_N "(cached) $ECHO_C" >&6
41288 cat >conftest.
$ac_ext <<_ACEOF
41291 cat confdefs.h
>>conftest.
$ac_ext
41292 cat >>conftest.
$ac_ext <<_ACEOF
41293 /* end confdefs.h. */
41295 #include <sys/ioctl.h>
41296 #include <sys/soundcard.h>
41302 ioctl(0, SNDCTL_DSP_SPEED, 0);
41308 rm -f conftest.
$ac_objext conftest
$ac_exeext
41309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41310 (eval $ac_link) 2>conftest.er1
41312 grep -v '^ *+' conftest.er1
>conftest.err
41314 cat conftest.err
>&5
41315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41316 (exit $ac_status); } &&
41317 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41319 (eval $ac_try) 2>&5
41321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41322 (exit $ac_status); }; } &&
41323 { ac_try
='test -s conftest$ac_exeext'
41324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41325 (eval $ac_try) 2>&5
41327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41328 (exit $ac_status); }; }; then
41329 ac_cv_header_sys_soundcard
=yes
41331 echo "$as_me: failed program was:" >&5
41332 sed 's/^/| /' conftest.
$ac_ext >&5
41336 LIBS
="$saveLibs -lossaudio"
41337 cat >conftest.
$ac_ext <<_ACEOF
41340 cat confdefs.h
>>conftest.
$ac_ext
41341 cat >>conftest.
$ac_ext <<_ACEOF
41342 /* end confdefs.h. */
41344 #include <sys/ioctl.h>
41345 #include <sys/soundcard.h>
41351 ioctl(0, SNDCTL_DSP_SPEED, 0);
41357 rm -f conftest.
$ac_objext conftest
$ac_exeext
41358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41359 (eval $ac_link) 2>conftest.er1
41361 grep -v '^ *+' conftest.er1
>conftest.err
41363 cat conftest.err
>&5
41364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365 (exit $ac_status); } &&
41366 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41368 (eval $ac_try) 2>&5
41370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41371 (exit $ac_status); }; } &&
41372 { ac_try
='test -s conftest$ac_exeext'
41373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41374 (eval $ac_try) 2>&5
41376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41377 (exit $ac_status); }; }; then
41378 ac_cv_header_sys_soundcard
=yes
41380 echo "$as_me: failed program was:" >&5
41381 sed 's/^/| /' conftest.
$ac_ext >&5
41385 ac_cv_header_sys_soundcard
=no
41389 rm -f conftest.err conftest.
$ac_objext \
41390 conftest
$ac_exeext conftest.
$ac_ext
41394 rm -f conftest.err conftest.
$ac_objext \
41395 conftest
$ac_exeext conftest.
$ac_ext
41398 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41399 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
41401 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41402 cat >>confdefs.h
<<\_ACEOF
41403 #define HAVE_SYS_SOUNDCARD_H 1
41407 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
41411 if test "$wxUSE_SOUND" = "yes"; then
41412 if test "$USE_UNIX" = "1" ; then
41413 if test "$wxUSE_LIBSDL" != "no"; then
41415 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
41416 if test "${with_sdl_prefix+set}" = set; then
41417 withval
="$with_sdl_prefix"
41418 sdl_prefix
="$withval"
41423 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
41424 if test "${with_sdl_exec_prefix+set}" = set; then
41425 withval
="$with_sdl_exec_prefix"
41426 sdl_exec_prefix
="$withval"
41430 # Check whether --enable-sdltest or --disable-sdltest was given.
41431 if test "${enable_sdltest+set}" = set; then
41432 enableval
="$enable_sdltest"
41438 if test x
$sdl_exec_prefix != x
; then
41439 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41440 if test x
${SDL_CONFIG+set} != xset
; then
41441 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41444 if test x
$sdl_prefix != x
; then
41445 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41446 if test x
${SDL_CONFIG+set} != xset
; then
41447 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41451 if test "x$prefix" != xNONE
; then
41452 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41454 # Extract the first word of "sdl-config", so it can be a program name with args.
41455 set dummy sdl
-config; ac_word
=$2
41456 echo "$as_me:$LINENO: checking for $ac_word" >&5
41457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41458 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41459 echo $ECHO_N "(cached) $ECHO_C" >&6
41461 case $SDL_CONFIG in
41463 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41467 for as_dir
in $PATH
41470 test -z "$as_dir" && as_dir
=.
41471 for ac_exec_ext
in '' $ac_executable_extensions; do
41472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41473 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41480 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41484 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41486 if test -n "$SDL_CONFIG"; then
41487 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41488 echo "${ECHO_T}$SDL_CONFIG" >&6
41490 echo "$as_me:$LINENO: result: no" >&5
41491 echo "${ECHO_T}no" >&6
41494 min_sdl_version
=1.2.0
41495 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41496 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
41498 if test "$SDL_CONFIG" = "no" ; then
41501 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41502 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41504 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41505 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41506 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41507 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41508 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41509 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41510 if test "x$enable_sdltest" = "xyes" ; then
41511 ac_save_CFLAGS
="$CFLAGS"
41512 ac_save_CXXFLAGS
="$CXXFLAGS"
41513 ac_save_LIBS
="$LIBS"
41514 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41515 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41516 LIBS
="$LIBS $SDL_LIBS"
41518 if test "$cross_compiling" = yes; then
41519 echo $ac_n "cross compiling; assumed OK... $ac_c"
41521 cat >conftest.
$ac_ext <<_ACEOF
41524 cat confdefs.h
>>conftest.
$ac_ext
41525 cat >>conftest.
$ac_ext <<_ACEOF
41526 /* end confdefs.h. */
41529 #include <stdlib.h>
41530 #include <string.h>
41534 my_strdup (char *str)
41540 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41541 strcpy (new_str, str);
41549 int main (int argc, char *argv[])
41551 int major, minor, micro;
41554 /* This hangs on some systems (?)
41555 system ("touch conf.sdltest");
41557 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41559 /* HP/UX 9 (%@#!) writes to sscanf strings */
41560 tmp_version = my_strdup("$min_sdl_version");
41561 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41562 printf("%s, bad version string\n", "$min_sdl_version");
41566 if (($sdl_major_version > major) ||
41567 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41568 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41574 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41575 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41576 printf("*** best to upgrade to the required version.\n");
41577 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41578 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41579 printf("*** config.cache before re-running configure\n");
41586 rm -f conftest
$ac_exeext
41587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41588 (eval $ac_link) 2>&5
41590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41591 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41593 (eval $ac_try) 2>&5
41595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41596 (exit $ac_status); }; }; then
41599 echo "$as_me: program exited with status $ac_status" >&5
41600 echo "$as_me: failed program was:" >&5
41601 sed 's/^/| /' conftest.
$ac_ext >&5
41603 ( exit $ac_status )
41606 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41608 CFLAGS
="$ac_save_CFLAGS"
41609 CXXFLAGS
="$ac_save_CXXFLAGS"
41610 LIBS
="$ac_save_LIBS"
41613 if test "x$no_sdl" = x
; then
41614 echo "$as_me:$LINENO: result: yes" >&5
41615 echo "${ECHO_T}yes" >&6
41617 EXTRALIBS_SDL
="$SDL_LIBS"
41618 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41619 cat >>confdefs.h
<<\_ACEOF
41620 #define wxUSE_LIBSDL 1
41625 echo "$as_me:$LINENO: result: no" >&5
41626 echo "${ECHO_T}no" >&6
41627 if test "$SDL_CONFIG" = "no" ; then
41628 echo "*** The sdl-config script installed by SDL could not be found"
41629 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41630 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41631 echo "*** full path to sdl-config."
41633 if test -f conf.sdltest
; then
41636 echo "*** Could not run SDL test program, checking why..."
41637 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41638 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41639 LIBS
="$LIBS $SDL_LIBS"
41640 cat >conftest.
$ac_ext <<_ACEOF
41643 cat confdefs.h
>>conftest.
$ac_ext
41644 cat >>conftest.
$ac_ext <<_ACEOF
41645 /* end confdefs.h. */
41650 int main(int argc, char *argv[])
41653 #define main K_and_R_C_main
41663 rm -f conftest.
$ac_objext conftest
$ac_exeext
41664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41665 (eval $ac_link) 2>conftest.er1
41667 grep -v '^ *+' conftest.er1
>conftest.err
41669 cat conftest.err
>&5
41670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41671 (exit $ac_status); } &&
41672 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41674 (eval $ac_try) 2>&5
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); }; } &&
41678 { ac_try
='test -s conftest$ac_exeext'
41679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41680 (eval $ac_try) 2>&5
41682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41683 (exit $ac_status); }; }; then
41684 echo "*** The test program compiled, but did not run. This usually means"
41685 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41686 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41687 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41688 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41689 echo "*** is required on your system"
41691 echo "*** If you have an old version installed, it is best to remove it, although"
41692 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41694 echo "$as_me: failed program was:" >&5
41695 sed 's/^/| /' conftest.
$ac_ext >&5
41697 echo "*** The test program failed to compile or link. See the file config.log for the"
41698 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41699 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41700 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41702 rm -f conftest.err conftest.
$ac_objext \
41703 conftest
$ac_exeext conftest.
$ac_ext
41704 CFLAGS
="$ac_save_CFLAGS"
41705 CXXFLAGS
="$ac_save_CXXFLAGS"
41706 LIBS
="$ac_save_LIBS"
41717 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41723 cat >>confdefs.h
<<\_ACEOF
41724 #define wxUSE_SOUND 1
41727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41730 if test "$WXGTK20" = 1; then
41731 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41732 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41736 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41737 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
41739 if test -n "$PKG_CONFIG"; then
41740 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41741 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
41743 if test -n "$PKG_CONFIG" && \
41744 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41745 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41748 (exit $ac_status); }; then
41749 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41757 if test -n "$PKG_CONFIG"; then
41758 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41759 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
41761 if test -n "$PKG_CONFIG" && \
41762 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41763 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41766 (exit $ac_status); }; then
41767 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41778 if test $pkg_failed = yes; then
41780 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41781 _pkg_short_errors_supported
=yes
41783 _pkg_short_errors_supported
=no
41785 if test $_pkg_short_errors_supported = yes; then
41786 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41788 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41790 # Put the nasty error message in config.log where it belongs
41791 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41794 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41795 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41796 wxUSE_LIBGNOMEPRINT
="no"
41799 elif test $pkg_failed = untried
; then
41801 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41802 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41803 wxUSE_LIBGNOMEPRINT
="no"
41807 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41808 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41809 echo "$as_me:$LINENO: result: yes" >&5
41810 echo "${ECHO_T}yes" >&6
41812 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41813 cat >>confdefs.h
<<\_ACEOF
41814 #define wxUSE_LIBGNOMEPRINT 1
41823 if test "$WXGTK20" = 1; then
41824 if test "$wxUSE_MIMETYPE" = "yes" ; then
41825 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41829 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41830 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
41832 if test -n "$PKG_CONFIG"; then
41833 if test -n "$GNOMEVFS_CFLAGS"; then
41834 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
41836 if test -n "$PKG_CONFIG" && \
41837 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41838 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41841 (exit $ac_status); }; then
41842 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41850 if test -n "$PKG_CONFIG"; then
41851 if test -n "$GNOMEVFS_LIBS"; then
41852 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
41854 if test -n "$PKG_CONFIG" && \
41855 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41856 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41859 (exit $ac_status); }; then
41860 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41871 if test $pkg_failed = yes; then
41873 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41874 _pkg_short_errors_supported
=yes
41876 _pkg_short_errors_supported
=no
41878 if test $_pkg_short_errors_supported = yes; then
41879 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41881 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41883 # Put the nasty error message in config.log where it belongs
41884 echo "$GNOMEVFS_PKG_ERRORS" >&5
41887 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41888 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41889 wxUSE_LIBGNOMEVFS
="no"
41892 elif test $pkg_failed = untried
; then
41894 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41895 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41896 wxUSE_LIBGNOMEVFS
="no"
41900 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
41901 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
41902 echo "$as_me:$LINENO: result: yes" >&5
41903 echo "${ECHO_T}yes" >&6
41905 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41906 cat >>confdefs.h
<<\_ACEOF
41907 #define wxUSE_LIBGNOMEVFS 1
41916 if test "$WXGTK20" = 1; then
41917 if test "$wxUSE_LIBHILDON" = "yes" ; then
41920 echo "$as_me:$LINENO: checking for HILDON" >&5
41921 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
41923 if test -n "$PKG_CONFIG"; then
41924 if test -n "$HILDON_CFLAGS"; then
41925 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
41927 if test -n "$PKG_CONFIG" && \
41928 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41929 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41932 (exit $ac_status); }; then
41933 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41941 if test -n "$PKG_CONFIG"; then
41942 if test -n "$HILDON_LIBS"; then
41943 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
41945 if test -n "$PKG_CONFIG" && \
41946 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41947 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41950 (exit $ac_status); }; then
41951 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41962 if test $pkg_failed = yes; then
41964 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41965 _pkg_short_errors_supported
=yes
41967 _pkg_short_errors_supported
=no
41969 if test $_pkg_short_errors_supported = yes; then
41970 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41972 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41974 # Put the nasty error message in config.log where it belongs
41975 echo "$HILDON_PKG_ERRORS" >&5
41978 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41979 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41980 wxUSE_LIBHILDON
="no"
41983 elif test $pkg_failed = untried
; then
41985 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41986 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41987 wxUSE_LIBHILDON
="no"
41991 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
41992 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
41993 echo "$as_me:$LINENO: result: yes" >&5
41994 echo "${ECHO_T}yes" >&6
41996 EXTRALIBS_HILDON
="$HILDON_LIBS"
41997 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41998 cat >>confdefs.h
<<\_ACEOF
41999 #define wxUSE_LIBHILDON 1
42007 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42008 cat >>confdefs.h
<<\_ACEOF
42009 #define wxUSE_CMDLINE_PARSER 1
42014 if test "$wxUSE_STOPWATCH" = "yes"; then
42015 cat >>confdefs.h
<<\_ACEOF
42016 #define wxUSE_STOPWATCH 1
42021 if test "$wxUSE_DATETIME" = "yes"; then
42022 cat >>confdefs.h
<<\_ACEOF
42023 #define wxUSE_DATETIME 1
42028 if test "$wxUSE_FILE" = "yes"; then
42029 cat >>confdefs.h
<<\_ACEOF
42030 #define wxUSE_FILE 1
42035 if test "$wxUSE_FFILE" = "yes"; then
42036 cat >>confdefs.h
<<\_ACEOF
42037 #define wxUSE_FFILE 1
42042 if test "$wxUSE_FILESYSTEM" = "yes"; then
42043 cat >>confdefs.h
<<\_ACEOF
42044 #define wxUSE_FILESYSTEM 1
42049 if test "$wxUSE_FS_ZIP" = "yes"; then
42050 cat >>confdefs.h
<<\_ACEOF
42051 #define wxUSE_FS_ZIP 1
42056 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42057 cat >>confdefs.h
<<\_ACEOF
42058 #define wxUSE_ARCHIVE_STREAMS 1
42063 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42064 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42065 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42066 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42067 elif test "$wxUSE_ZLIB" = "no"; then
42068 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42069 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42071 cat >>confdefs.h
<<\_ACEOF
42072 #define wxUSE_ZIPSTREAM 1
42078 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42079 if test "$USE_UNIX" != 1; then
42080 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42081 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42082 wxUSE_ON_FATAL_EXCEPTION
=no
42084 cat >>confdefs.h
<<\_ACEOF
42085 #define wxUSE_ON_FATAL_EXCEPTION 1
42091 if test "$wxUSE_STACKWALKER" = "yes"; then
42092 cat >>confdefs.h
<<\_ACEOF
42093 #define wxUSE_STACKWALKER 1
42098 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42099 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42100 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42101 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42102 wxUSE_DEBUGREPORT
=no
42104 cat >>confdefs.h
<<\_ACEOF
42105 #define wxUSE_DEBUGREPORT 1
42108 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
42114 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42115 cat >>confdefs.h
<<\_ACEOF
42116 #define wxUSE_SNGLINST_CHECKER 1
42121 if test "$wxUSE_BUSYINFO" = "yes"; then
42122 cat >>confdefs.h
<<\_ACEOF
42123 #define wxUSE_BUSYINFO 1
42128 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42129 cat >>confdefs.h
<<\_ACEOF
42130 #define wxUSE_STD_IOSTREAM 1
42135 if test "$wxUSE_STD_STRING" = "yes"; then
42136 cat >>confdefs.h
<<\_ACEOF
42137 #define wxUSE_STD_STRING 1
42142 if test "$wxUSE_STDPATHS" = "yes"; then
42143 cat >>confdefs.h
<<\_ACEOF
42144 #define wxUSE_STDPATHS 1
42149 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42150 cat >>confdefs.h
<<\_ACEOF
42151 #define wxUSE_TEXTBUFFER 1
42156 if test "$wxUSE_TEXTFILE" = "yes"; then
42157 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42158 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42159 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42161 cat >>confdefs.h
<<\_ACEOF
42162 #define wxUSE_TEXTFILE 1
42168 if test "$wxUSE_CONFIG" = "yes" ; then
42169 if test "$wxUSE_TEXTFILE" != "yes"; then
42170 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42171 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42173 cat >>confdefs.h
<<\_ACEOF
42174 #define wxUSE_CONFIG 1
42177 cat >>confdefs.h
<<\_ACEOF
42178 #define wxUSE_CONFIG_NATIVE 1
42181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42185 if test "$wxUSE_INTL" = "yes" ; then
42186 if test "$wxUSE_FILE" != "yes"; then
42187 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42188 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42190 cat >>confdefs.h
<<\_ACEOF
42191 #define wxUSE_INTL 1
42194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42195 GUIDIST
="$GUIDIST INTL_DIST"
42199 if test "$wxUSE_LOG" = "yes"; then
42200 cat >>confdefs.h
<<\_ACEOF
42201 #define wxUSE_LOG 1
42205 if test "$wxUSE_LOGGUI" = "yes"; then
42206 cat >>confdefs.h
<<\_ACEOF
42207 #define wxUSE_LOGGUI 1
42212 if test "$wxUSE_LOGWINDOW" = "yes"; then
42213 cat >>confdefs.h
<<\_ACEOF
42214 #define wxUSE_LOGWINDOW 1
42219 if test "$wxUSE_LOGDIALOG" = "yes"; then
42220 cat >>confdefs.h
<<\_ACEOF
42221 #define wxUSE_LOG_DIALOG 1
42226 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42229 if test "$wxUSE_LONGLONG" = "yes"; then
42230 cat >>confdefs.h
<<\_ACEOF
42231 #define wxUSE_LONGLONG 1
42236 if test "$wxUSE_GEOMETRY" = "yes"; then
42237 cat >>confdefs.h
<<\_ACEOF
42238 #define wxUSE_GEOMETRY 1
42243 if test "$wxUSE_STREAMS" = "yes" ; then
42244 cat >>confdefs.h
<<\_ACEOF
42245 #define wxUSE_STREAMS 1
42250 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42251 cat >>confdefs.h
<<\_ACEOF
42252 #define wxUSE_PRINTF_POS_PARAMS 1
42259 if test "$wxUSE_DATETIME" = "yes"; then
42261 for ac_func
in strptime
42263 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42264 echo "$as_me:$LINENO: checking for $ac_func" >&5
42265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42266 if eval "test \"\${$as_ac_var+set}\" = set"; then
42267 echo $ECHO_N "(cached) $ECHO_C" >&6
42269 cat >conftest.
$ac_ext <<_ACEOF
42272 cat confdefs.h
>>conftest.
$ac_ext
42273 cat >>conftest.
$ac_ext <<_ACEOF
42274 /* end confdefs.h. */
42275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42277 #define $ac_func innocuous_$ac_func
42279 /* System header to define __stub macros and hopefully few prototypes,
42280 which can conflict with char $ac_func (); below.
42281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42282 <limits.h> exists even on freestanding compilers. */
42285 # include <limits.h>
42287 # include <assert.h>
42292 /* Override any gcc2 internal prototype to avoid an error. */
42297 /* We use char because int might match the return type of a gcc2
42298 builtin and then its argument prototype would still apply. */
42300 /* The GNU C library defines this for functions which it implements
42301 to always fail with ENOSYS. Some functions are actually named
42302 something starting with __ and the normal name is an alias. */
42303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42306 char (*f) () = $ac_func;
42315 return f != $ac_func;
42320 rm -f conftest.
$ac_objext conftest
$ac_exeext
42321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42322 (eval $ac_link) 2>conftest.er1
42324 grep -v '^ *+' conftest.er1
>conftest.err
42326 cat conftest.err
>&5
42327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42328 (exit $ac_status); } &&
42329 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42331 (eval $ac_try) 2>&5
42333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42334 (exit $ac_status); }; } &&
42335 { ac_try
='test -s conftest$ac_exeext'
42336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42337 (eval $ac_try) 2>&5
42339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42340 (exit $ac_status); }; }; then
42341 eval "$as_ac_var=yes"
42343 echo "$as_me: failed program was:" >&5
42344 sed 's/^/| /' conftest.
$ac_ext >&5
42346 eval "$as_ac_var=no"
42348 rm -f conftest.err conftest.
$ac_objext \
42349 conftest
$ac_exeext conftest.
$ac_ext
42351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42353 if test `eval echo '${'$as_ac_var'}'` = yes; then
42354 cat >>confdefs.h
<<_ACEOF
42355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42361 if test "$ac_cv_func_strptime" = "yes"; then
42362 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42363 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42364 if test "${wx_cv_func_strptime_decl+set}" = set; then
42365 echo $ECHO_N "(cached) $ECHO_C" >&6
42368 cat >conftest.
$ac_ext <<_ACEOF
42371 cat confdefs.h
>>conftest.
$ac_ext
42372 cat >>conftest.
$ac_ext <<_ACEOF
42373 /* end confdefs.h. */
42382 strptime("foo", "bar", &t);
42388 rm -f conftest.
$ac_objext
42389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42390 (eval $ac_compile) 2>conftest.er1
42392 grep -v '^ *+' conftest.er1
>conftest.err
42394 cat conftest.err
>&5
42395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42396 (exit $ac_status); } &&
42397 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42399 (eval $ac_try) 2>&5
42401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42402 (exit $ac_status); }; } &&
42403 { ac_try
='test -s conftest.$ac_objext'
42404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42405 (eval $ac_try) 2>&5
42407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42408 (exit $ac_status); }; }; then
42409 wx_cv_func_strptime_decl
=yes
42411 echo "$as_me: failed program was:" >&5
42412 sed 's/^/| /' conftest.
$ac_ext >&5
42414 wx_cv_func_strptime_decl
=no
42417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42421 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42422 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42424 if test "$wx_cv_func_strptime_decl" = "yes"; then
42425 cat >>confdefs.h
<<\_ACEOF
42426 #define HAVE_STRPTIME_DECL 1
42431 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42432 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42433 if test "${wx_cv_var_timezone+set}" = set; then
42434 echo $ECHO_N "(cached) $ECHO_C" >&6
42437 cat >conftest.
$ac_ext <<_ACEOF
42440 cat confdefs.h
>>conftest.
$ac_ext
42441 cat >>conftest.
$ac_ext <<_ACEOF
42442 /* end confdefs.h. */
42457 rm -f conftest.
$ac_objext
42458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42459 (eval $ac_compile) 2>conftest.er1
42461 grep -v '^ *+' conftest.er1
>conftest.err
42463 cat conftest.err
>&5
42464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42465 (exit $ac_status); } &&
42466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42468 (eval $ac_try) 2>&5
42470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42471 (exit $ac_status); }; } &&
42472 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
42479 wx_cv_var_timezone
=timezone
42482 echo "$as_me: failed program was:" >&5
42483 sed 's/^/| /' conftest.
$ac_ext >&5
42486 cat >conftest.
$ac_ext <<_ACEOF
42489 cat confdefs.h
>>conftest.
$ac_ext
42490 cat >>conftest.
$ac_ext <<_ACEOF
42491 /* end confdefs.h. */
42506 rm -f conftest.
$ac_objext
42507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42508 (eval $ac_compile) 2>conftest.er1
42510 grep -v '^ *+' conftest.er1
>conftest.err
42512 cat conftest.err
>&5
42513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42514 (exit $ac_status); } &&
42515 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42517 (eval $ac_try) 2>&5
42519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42520 (exit $ac_status); }; } &&
42521 { ac_try
='test -s conftest.$ac_objext'
42522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42523 (eval $ac_try) 2>&5
42525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42526 (exit $ac_status); }; }; then
42528 wx_cv_var_timezone
=_timezone
42531 echo "$as_me: failed program was:" >&5
42532 sed 's/^/| /' conftest.
$ac_ext >&5
42535 cat >conftest.
$ac_ext <<_ACEOF
42538 cat confdefs.h
>>conftest.
$ac_ext
42539 cat >>conftest.
$ac_ext <<_ACEOF
42540 /* end confdefs.h. */
42555 rm -f conftest.
$ac_objext
42556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42557 (eval $ac_compile) 2>conftest.er1
42559 grep -v '^ *+' conftest.er1
>conftest.err
42561 cat conftest.err
>&5
42562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42563 (exit $ac_status); } &&
42564 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42566 (eval $ac_try) 2>&5
42568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42569 (exit $ac_status); }; } &&
42570 { ac_try
='test -s conftest.$ac_objext'
42571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42572 (eval $ac_try) 2>&5
42574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42575 (exit $ac_status); }; }; then
42577 wx_cv_var_timezone
=__timezone
42580 echo "$as_me: failed program was:" >&5
42581 sed 's/^/| /' conftest.
$ac_ext >&5
42584 if test "$USE_DOS" = 0 ; then
42585 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42586 echo "$as_me: WARNING: no timezone variable" >&2;}
42591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42603 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42604 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42606 if test "x$wx_cv_var_timezone" != x
; then
42607 cat >>confdefs.h
<<_ACEOF
42608 #define WX_TIMEZONE $wx_cv_var_timezone
42614 for ac_func
in localtime
42616 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42617 echo "$as_me:$LINENO: checking for $ac_func" >&5
42618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42619 if eval "test \"\${$as_ac_var+set}\" = set"; then
42620 echo $ECHO_N "(cached) $ECHO_C" >&6
42622 cat >conftest.
$ac_ext <<_ACEOF
42625 cat confdefs.h
>>conftest.
$ac_ext
42626 cat >>conftest.
$ac_ext <<_ACEOF
42627 /* end confdefs.h. */
42628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42630 #define $ac_func innocuous_$ac_func
42632 /* System header to define __stub macros and hopefully few prototypes,
42633 which can conflict with char $ac_func (); below.
42634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42635 <limits.h> exists even on freestanding compilers. */
42638 # include <limits.h>
42640 # include <assert.h>
42645 /* Override any gcc2 internal prototype to avoid an error. */
42650 /* We use char because int might match the return type of a gcc2
42651 builtin and then its argument prototype would still apply. */
42653 /* The GNU C library defines this for functions which it implements
42654 to always fail with ENOSYS. Some functions are actually named
42655 something starting with __ and the normal name is an alias. */
42656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42659 char (*f) () = $ac_func;
42668 return f != $ac_func;
42673 rm -f conftest.
$ac_objext conftest
$ac_exeext
42674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42675 (eval $ac_link) 2>conftest.er1
42677 grep -v '^ *+' conftest.er1
>conftest.err
42679 cat conftest.err
>&5
42680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42681 (exit $ac_status); } &&
42682 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42684 (eval $ac_try) 2>&5
42686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42687 (exit $ac_status); }; } &&
42688 { ac_try
='test -s conftest$ac_exeext'
42689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42690 (eval $ac_try) 2>&5
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); }; }; then
42694 eval "$as_ac_var=yes"
42696 echo "$as_me: failed program was:" >&5
42697 sed 's/^/| /' conftest.
$ac_ext >&5
42699 eval "$as_ac_var=no"
42701 rm -f conftest.err conftest.
$ac_objext \
42702 conftest
$ac_exeext conftest.
$ac_ext
42704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42706 if test `eval echo '${'$as_ac_var'}'` = yes; then
42707 cat >>confdefs.h
<<_ACEOF
42708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42715 if test "$ac_cv_func_localtime" = "yes"; then
42716 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42717 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42718 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42719 echo $ECHO_N "(cached) $ECHO_C" >&6
42722 cat >conftest.
$ac_ext <<_ACEOF
42725 cat confdefs.h
>>conftest.
$ac_ext
42726 cat >>conftest.
$ac_ext <<_ACEOF
42727 /* end confdefs.h. */
42742 rm -f conftest.
$ac_objext
42743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42744 (eval $ac_compile) 2>conftest.er1
42746 grep -v '^ *+' conftest.er1
>conftest.err
42748 cat conftest.err
>&5
42749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42750 (exit $ac_status); } &&
42751 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42753 (eval $ac_try) 2>&5
42755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42756 (exit $ac_status); }; } &&
42757 { ac_try
='test -s conftest.$ac_objext'
42758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42759 (eval $ac_try) 2>&5
42761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42762 (exit $ac_status); }; }; then
42764 wx_cv_struct_tm_has_gmtoff
=yes
42767 echo "$as_me: failed program was:" >&5
42768 sed 's/^/| /' conftest.
$ac_ext >&5
42770 wx_cv_struct_tm_has_gmtoff
=no
42773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42776 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42777 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42780 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42781 cat >>confdefs.h
<<\_ACEOF
42782 #define WX_GMTOFF_IN_TM 1
42789 for ac_func
in gettimeofday ftime
42791 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42792 echo "$as_me:$LINENO: checking for $ac_func" >&5
42793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42794 if eval "test \"\${$as_ac_var+set}\" = set"; then
42795 echo $ECHO_N "(cached) $ECHO_C" >&6
42797 cat >conftest.
$ac_ext <<_ACEOF
42800 cat confdefs.h
>>conftest.
$ac_ext
42801 cat >>conftest.
$ac_ext <<_ACEOF
42802 /* end confdefs.h. */
42803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42805 #define $ac_func innocuous_$ac_func
42807 /* System header to define __stub macros and hopefully few prototypes,
42808 which can conflict with char $ac_func (); below.
42809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42810 <limits.h> exists even on freestanding compilers. */
42813 # include <limits.h>
42815 # include <assert.h>
42820 /* Override any gcc2 internal prototype to avoid an error. */
42825 /* We use char because int might match the return type of a gcc2
42826 builtin and then its argument prototype would still apply. */
42828 /* The GNU C library defines this for functions which it implements
42829 to always fail with ENOSYS. Some functions are actually named
42830 something starting with __ and the normal name is an alias. */
42831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42834 char (*f) () = $ac_func;
42843 return f != $ac_func;
42848 rm -f conftest.
$ac_objext conftest
$ac_exeext
42849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42850 (eval $ac_link) 2>conftest.er1
42852 grep -v '^ *+' conftest.er1
>conftest.err
42854 cat conftest.err
>&5
42855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42856 (exit $ac_status); } &&
42857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42859 (eval $ac_try) 2>&5
42861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42862 (exit $ac_status); }; } &&
42863 { ac_try
='test -s conftest$ac_exeext'
42864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42865 (eval $ac_try) 2>&5
42867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42868 (exit $ac_status); }; }; then
42869 eval "$as_ac_var=yes"
42871 echo "$as_me: failed program was:" >&5
42872 sed 's/^/| /' conftest.
$ac_ext >&5
42874 eval "$as_ac_var=no"
42876 rm -f conftest.err conftest.
$ac_objext \
42877 conftest
$ac_exeext conftest.
$ac_ext
42879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42881 if test `eval echo '${'$as_ac_var'}'` = yes; then
42882 cat >>confdefs.h
<<_ACEOF
42883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42890 if test "$ac_cv_func_gettimeofday" = "yes"; then
42891 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42892 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42893 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42894 echo $ECHO_N "(cached) $ECHO_C" >&6
42897 cat >conftest.
$ac_ext <<_ACEOF
42900 cat confdefs.h
>>conftest.
$ac_ext
42901 cat >>conftest.
$ac_ext <<_ACEOF
42902 /* end confdefs.h. */
42904 #include <sys/time.h>
42905 #include <unistd.h>
42912 gettimeofday(&tv, NULL);
42918 rm -f conftest.
$ac_objext
42919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42920 (eval $ac_compile) 2>conftest.er1
42922 grep -v '^ *+' conftest.er1
>conftest.err
42924 cat conftest.err
>&5
42925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42926 (exit $ac_status); } &&
42927 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42929 (eval $ac_try) 2>&5
42931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42932 (exit $ac_status); }; } &&
42933 { ac_try
='test -s conftest.$ac_objext'
42934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42935 (eval $ac_try) 2>&5
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); }; }; then
42939 wx_cv_func_gettimeofday_has_2_args
=yes
42941 echo "$as_me: failed program was:" >&5
42942 sed 's/^/| /' conftest.
$ac_ext >&5
42944 cat >conftest.
$ac_ext <<_ACEOF
42947 cat confdefs.h
>>conftest.
$ac_ext
42948 cat >>conftest.
$ac_ext <<_ACEOF
42949 /* end confdefs.h. */
42951 #include <sys/time.h>
42952 #include <unistd.h>
42965 rm -f conftest.
$ac_objext
42966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42967 (eval $ac_compile) 2>conftest.er1
42969 grep -v '^ *+' conftest.er1
>conftest.err
42971 cat conftest.err
>&5
42972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42973 (exit $ac_status); } &&
42974 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42976 (eval $ac_try) 2>&5
42978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979 (exit $ac_status); }; } &&
42980 { ac_try
='test -s conftest.$ac_objext'
42981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42982 (eval $ac_try) 2>&5
42984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42985 (exit $ac_status); }; }; then
42986 wx_cv_func_gettimeofday_has_2_args
=no
42988 echo "$as_me: failed program was:" >&5
42989 sed 's/^/| /' conftest.
$ac_ext >&5
42992 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42993 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42994 wx_cv_func_gettimeofday_has_2_args
=unknown
42998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43004 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43005 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43007 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43008 cat >>confdefs.h
<<\_ACEOF
43009 #define WX_GETTIMEOFDAY_NO_TZ 1
43015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43019 if test "$wxUSE_SOCKETS" = "yes"; then
43020 if test "$wxUSE_MGL" = "1"; then
43021 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43022 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43027 if test "$wxUSE_SOCKETS" = "yes"; then
43028 if test "$TOOLKIT" != "MSW"; then
43029 echo "$as_me:$LINENO: checking for socket" >&5
43030 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43031 if test "${ac_cv_func_socket+set}" = set; then
43032 echo $ECHO_N "(cached) $ECHO_C" >&6
43034 cat >conftest.
$ac_ext <<_ACEOF
43037 cat confdefs.h
>>conftest.
$ac_ext
43038 cat >>conftest.
$ac_ext <<_ACEOF
43039 /* end confdefs.h. */
43040 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43042 #define socket innocuous_socket
43044 /* System header to define __stub macros and hopefully few prototypes,
43045 which can conflict with char socket (); below.
43046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43047 <limits.h> exists even on freestanding compilers. */
43050 # include <limits.h>
43052 # include <assert.h>
43057 /* Override any gcc2 internal prototype to avoid an error. */
43062 /* We use char because int might match the return type of a gcc2
43063 builtin and then its argument prototype would still apply. */
43065 /* The GNU C library defines this for functions which it implements
43066 to always fail with ENOSYS. Some functions are actually named
43067 something starting with __ and the normal name is an alias. */
43068 #if defined (__stub_socket) || defined (__stub___socket)
43071 char (*f) () = socket;
43080 return f != socket;
43085 rm -f conftest.
$ac_objext conftest
$ac_exeext
43086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43087 (eval $ac_link) 2>conftest.er1
43089 grep -v '^ *+' conftest.er1
>conftest.err
43091 cat conftest.err
>&5
43092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43093 (exit $ac_status); } &&
43094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43096 (eval $ac_try) 2>&5
43098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43099 (exit $ac_status); }; } &&
43100 { ac_try
='test -s conftest$ac_exeext'
43101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43102 (eval $ac_try) 2>&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); }; }; then
43106 ac_cv_func_socket
=yes
43108 echo "$as_me: failed program was:" >&5
43109 sed 's/^/| /' conftest.
$ac_ext >&5
43111 ac_cv_func_socket
=no
43113 rm -f conftest.err conftest.
$ac_objext \
43114 conftest
$ac_exeext conftest.
$ac_ext
43116 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43117 echo "${ECHO_T}$ac_cv_func_socket" >&6
43118 if test $ac_cv_func_socket = yes; then
43122 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43123 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43124 if test "${ac_cv_lib_socket_socket+set}" = set; then
43125 echo $ECHO_N "(cached) $ECHO_C" >&6
43127 ac_check_lib_save_LIBS
=$LIBS
43128 LIBS
="-lsocket $LIBS"
43129 cat >conftest.
$ac_ext <<_ACEOF
43132 cat confdefs.h
>>conftest.
$ac_ext
43133 cat >>conftest.
$ac_ext <<_ACEOF
43134 /* end confdefs.h. */
43136 /* Override any gcc2 internal prototype to avoid an error. */
43140 /* We use char because int might match the return type of a gcc2
43141 builtin and then its argument prototype would still apply. */
43151 rm -f conftest.
$ac_objext conftest
$ac_exeext
43152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43153 (eval $ac_link) 2>conftest.er1
43155 grep -v '^ *+' conftest.er1
>conftest.err
43157 cat conftest.err
>&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); } &&
43160 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43162 (eval $ac_try) 2>&5
43164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43165 (exit $ac_status); }; } &&
43166 { ac_try
='test -s conftest$ac_exeext'
43167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43168 (eval $ac_try) 2>&5
43170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171 (exit $ac_status); }; }; then
43172 ac_cv_lib_socket_socket
=yes
43174 echo "$as_me: failed program was:" >&5
43175 sed 's/^/| /' conftest.
$ac_ext >&5
43177 ac_cv_lib_socket_socket
=no
43179 rm -f conftest.err conftest.
$ac_objext \
43180 conftest
$ac_exeext conftest.
$ac_ext
43181 LIBS
=$ac_check_lib_save_LIBS
43183 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43184 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43185 if test $ac_cv_lib_socket_socket = yes; then
43186 if test "$INET_LINK" != " -lsocket"; then
43187 INET_LINK
="$INET_LINK -lsocket"
43191 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43192 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43205 if test "$wxUSE_SOCKETS" = "yes" ; then
43206 if test "$TOOLKIT" != "MSW"; then
43207 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43208 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43209 if test "${wx_cv_type_getsockname3+set}" = set; then
43210 echo $ECHO_N "(cached) $ECHO_C" >&6
43213 cat >conftest.
$ac_ext <<_ACEOF
43216 cat confdefs.h
>>conftest.
$ac_ext
43217 cat >>conftest.
$ac_ext <<_ACEOF
43218 /* end confdefs.h. */
43220 #include <sys/types.h>
43221 #include <sys/socket.h>
43228 getsockname(0, 0, &len);
43234 rm -f conftest.
$ac_objext
43235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43236 (eval $ac_compile) 2>conftest.er1
43238 grep -v '^ *+' conftest.er1
>conftest.err
43240 cat conftest.err
>&5
43241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242 (exit $ac_status); } &&
43243 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43245 (eval $ac_try) 2>&5
43247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43248 (exit $ac_status); }; } &&
43249 { ac_try
='test -s conftest.$ac_objext'
43250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43251 (eval $ac_try) 2>&5
43253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254 (exit $ac_status); }; }; then
43255 wx_cv_type_getsockname3
=socklen_t
43257 echo "$as_me: failed program was:" >&5
43258 sed 's/^/| /' conftest.
$ac_ext >&5
43261 CXXFLAGS_OLD
="$CXXFLAGS"
43262 if test "$GCC" = yes ; then
43263 CXXFLAGS
="-Werror $CXXFLAGS"
43266 cat >conftest.
$ac_ext <<_ACEOF
43269 cat confdefs.h
>>conftest.
$ac_ext
43270 cat >>conftest.
$ac_ext <<_ACEOF
43271 /* end confdefs.h. */
43273 #include <sys/types.h>
43274 #include <sys/socket.h>
43281 getsockname(0, 0, &len);
43287 rm -f conftest.
$ac_objext
43288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43289 (eval $ac_compile) 2>conftest.er1
43291 grep -v '^ *+' conftest.er1
>conftest.err
43293 cat conftest.err
>&5
43294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295 (exit $ac_status); } &&
43296 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43298 (eval $ac_try) 2>&5
43300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43301 (exit $ac_status); }; } &&
43302 { ac_try
='test -s conftest.$ac_objext'
43303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43304 (eval $ac_try) 2>&5
43306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43307 (exit $ac_status); }; }; then
43308 wx_cv_type_getsockname3
=size_t
43310 echo "$as_me: failed program was:" >&5
43311 sed 's/^/| /' conftest.
$ac_ext >&5
43313 cat >conftest.
$ac_ext <<_ACEOF
43316 cat confdefs.h
>>conftest.
$ac_ext
43317 cat >>conftest.
$ac_ext <<_ACEOF
43318 /* end confdefs.h. */
43320 #include <sys/types.h>
43321 #include <sys/socket.h>
43328 getsockname(0, 0, &len);
43334 rm -f conftest.
$ac_objext
43335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43336 (eval $ac_compile) 2>conftest.er1
43338 grep -v '^ *+' conftest.er1
>conftest.err
43340 cat conftest.err
>&5
43341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43342 (exit $ac_status); } &&
43343 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43345 (eval $ac_try) 2>&5
43347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43348 (exit $ac_status); }; } &&
43349 { ac_try
='test -s conftest.$ac_objext'
43350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43351 (eval $ac_try) 2>&5
43353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43354 (exit $ac_status); }; }; then
43355 wx_cv_type_getsockname3
=int
43357 echo "$as_me: failed program was:" >&5
43358 sed 's/^/| /' conftest.
$ac_ext >&5
43360 wx_cv_type_getsockname3
=unknown
43363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43368 CXXFLAGS
="$CXXFLAGS_OLD"
43372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43375 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43376 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43378 if test "$wx_cv_type_getsockname3" = "unknown"; then
43380 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43381 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43383 cat >>confdefs.h
<<_ACEOF
43384 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43388 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43389 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43390 if test "${wx_cv_type_getsockopt5+set}" = set; then
43391 echo $ECHO_N "(cached) $ECHO_C" >&6
43394 cat >conftest.
$ac_ext <<_ACEOF
43397 cat confdefs.h
>>conftest.
$ac_ext
43398 cat >>conftest.
$ac_ext <<_ACEOF
43399 /* end confdefs.h. */
43401 #include <sys/types.h>
43402 #include <sys/socket.h>
43409 getsockopt(0, 0, 0, 0, &len);
43415 rm -f conftest.
$ac_objext
43416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43417 (eval $ac_compile) 2>conftest.er1
43419 grep -v '^ *+' conftest.er1
>conftest.err
43421 cat conftest.err
>&5
43422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43423 (exit $ac_status); } &&
43424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43426 (eval $ac_try) 2>&5
43428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43429 (exit $ac_status); }; } &&
43430 { ac_try
='test -s conftest.$ac_objext'
43431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43432 (eval $ac_try) 2>&5
43434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43435 (exit $ac_status); }; }; then
43436 wx_cv_type_getsockopt5
=socklen_t
43438 echo "$as_me: failed program was:" >&5
43439 sed 's/^/| /' conftest.
$ac_ext >&5
43442 CXXFLAGS_OLD
="$CXXFLAGS"
43443 if test "$GCC" = yes ; then
43444 CXXFLAGS
="-Werror $CXXFLAGS"
43447 cat >conftest.
$ac_ext <<_ACEOF
43450 cat confdefs.h
>>conftest.
$ac_ext
43451 cat >>conftest.
$ac_ext <<_ACEOF
43452 /* end confdefs.h. */
43454 #include <sys/types.h>
43455 #include <sys/socket.h>
43462 getsockopt(0, 0, 0, 0, &len);
43468 rm -f conftest.
$ac_objext
43469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43470 (eval $ac_compile) 2>conftest.er1
43472 grep -v '^ *+' conftest.er1
>conftest.err
43474 cat conftest.err
>&5
43475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43476 (exit $ac_status); } &&
43477 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43479 (eval $ac_try) 2>&5
43481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43482 (exit $ac_status); }; } &&
43483 { ac_try
='test -s conftest.$ac_objext'
43484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43485 (eval $ac_try) 2>&5
43487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43488 (exit $ac_status); }; }; then
43489 wx_cv_type_getsockopt5
=size_t
43491 echo "$as_me: failed program was:" >&5
43492 sed 's/^/| /' conftest.
$ac_ext >&5
43494 cat >conftest.
$ac_ext <<_ACEOF
43497 cat confdefs.h
>>conftest.
$ac_ext
43498 cat >>conftest.
$ac_ext <<_ACEOF
43499 /* end confdefs.h. */
43501 #include <sys/types.h>
43502 #include <sys/socket.h>
43509 getsockopt(0, 0, 0, 0, &len);
43515 rm -f conftest.
$ac_objext
43516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43517 (eval $ac_compile) 2>conftest.er1
43519 grep -v '^ *+' conftest.er1
>conftest.err
43521 cat conftest.err
>&5
43522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43523 (exit $ac_status); } &&
43524 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43526 (eval $ac_try) 2>&5
43528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43529 (exit $ac_status); }; } &&
43530 { ac_try
='test -s conftest.$ac_objext'
43531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43532 (eval $ac_try) 2>&5
43534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43535 (exit $ac_status); }; }; then
43536 wx_cv_type_getsockopt5
=int
43538 echo "$as_me: failed program was:" >&5
43539 sed 's/^/| /' conftest.
$ac_ext >&5
43541 wx_cv_type_getsockopt5
=unknown
43544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43549 CXXFLAGS
="$CXXFLAGS_OLD"
43553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43556 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43557 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43559 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43561 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43562 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43564 cat >>confdefs.h
<<_ACEOF
43565 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43572 if test "$wxUSE_SOCKETS" = "yes" ; then
43573 cat >>confdefs.h
<<\_ACEOF
43574 #define wxUSE_SOCKETS 1
43577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43580 if test "$wxUSE_PROTOCOL" = "yes"; then
43581 if test "$wxUSE_SOCKETS" != "yes"; then
43582 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43583 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43588 if test "$wxUSE_PROTOCOL" = "yes"; then
43589 cat >>confdefs.h
<<\_ACEOF
43590 #define wxUSE_PROTOCOL 1
43594 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43595 cat >>confdefs.h
<<\_ACEOF
43596 #define wxUSE_PROTOCOL_HTTP 1
43600 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43601 cat >>confdefs.h
<<\_ACEOF
43602 #define wxUSE_PROTOCOL_FTP 1
43606 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43607 cat >>confdefs.h
<<\_ACEOF
43608 #define wxUSE_PROTOCOL_FILE 1
43613 if test "$wxUSE_FS_INET" = "yes"; then
43614 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43615 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43620 if test "$wxUSE_URL" = "yes"; then
43621 if test "$wxUSE_PROTOCOL" != "yes"; then
43622 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43623 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43626 if test "$wxUSE_URL" = "yes"; then
43627 cat >>confdefs.h
<<\_ACEOF
43628 #define wxUSE_URL 1
43634 if test "$wxUSE_FS_INET" = "yes"; then
43635 cat >>confdefs.h
<<\_ACEOF
43636 #define wxUSE_FS_INET 1
43642 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43645 if test "$TOOLKIT" = "MSW"; then
43648 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43649 if test "$USE_DARWIN" = 1; then
43650 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43651 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43652 cat >conftest.
$ac_ext <<_ACEOF
43655 cat confdefs.h
>>conftest.
$ac_ext
43656 cat >>conftest.
$ac_ext <<_ACEOF
43657 /* end confdefs.h. */
43658 #include <IOKit/hid/IOHIDLib.h>
43662 IOHIDQueueInterface *qi = NULL;
43663 IOHIDCallbackFunction cb = NULL;
43664 qi->setEventCallout(NULL, cb, NULL, NULL);
43669 rm -f conftest.
$ac_objext
43670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43671 (eval $ac_compile) 2>conftest.er1
43673 grep -v '^ *+' conftest.er1
>conftest.err
43675 cat conftest.err
>&5
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); } &&
43678 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
43693 echo "$as_me: failed program was:" >&5
43694 sed 's/^/| /' conftest.
$ac_ext >&5
43697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43698 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43699 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43704 for ac_header
in linux
/joystick.h
43706 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43708 echo "$as_me:$LINENO: checking for $ac_header" >&5
43709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43711 echo $ECHO_N "(cached) $ECHO_C" >&6
43713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43716 # Is the header compilable?
43717 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43719 cat >conftest.
$ac_ext <<_ACEOF
43722 cat confdefs.h
>>conftest.
$ac_ext
43723 cat >>conftest.
$ac_ext <<_ACEOF
43724 /* end confdefs.h. */
43725 $ac_includes_default
43726 #include <$ac_header>
43728 rm -f conftest.
$ac_objext
43729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43730 (eval $ac_compile) 2>conftest.er1
43732 grep -v '^ *+' conftest.er1
>conftest.err
43734 cat conftest.err
>&5
43735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43736 (exit $ac_status); } &&
43737 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43739 (eval $ac_try) 2>&5
43741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43742 (exit $ac_status); }; } &&
43743 { ac_try
='test -s conftest.$ac_objext'
43744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43745 (eval $ac_try) 2>&5
43747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43748 (exit $ac_status); }; }; then
43749 ac_header_compiler
=yes
43751 echo "$as_me: failed program was:" >&5
43752 sed 's/^/| /' conftest.
$ac_ext >&5
43754 ac_header_compiler
=no
43756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43758 echo "${ECHO_T}$ac_header_compiler" >&6
43760 # Is the header present?
43761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43763 cat >conftest.
$ac_ext <<_ACEOF
43766 cat confdefs.h
>>conftest.
$ac_ext
43767 cat >>conftest.
$ac_ext <<_ACEOF
43768 /* end confdefs.h. */
43769 #include <$ac_header>
43771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43772 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43774 grep -v '^ *+' conftest.er1
>conftest.err
43776 cat conftest.err
>&5
43777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43778 (exit $ac_status); } >/dev
/null
; then
43779 if test -s conftest.err
; then
43780 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43781 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43788 if test -z "$ac_cpp_err"; then
43789 ac_header_preproc
=yes
43791 echo "$as_me: failed program was:" >&5
43792 sed 's/^/| /' conftest.
$ac_ext >&5
43794 ac_header_preproc
=no
43796 rm -f conftest.err conftest.
$ac_ext
43797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43798 echo "${ECHO_T}$ac_header_preproc" >&6
43800 # So? What about this header?
43801 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43807 ac_header_preproc
=yes
43810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43824 ## ----------------------------------------- ##
43825 ## Report this to wx-dev@lists.wxwidgets.org ##
43826 ## ----------------------------------------- ##
43829 sed "s/^/$as_me: WARNING: /" >&2
43832 echo "$as_me:$LINENO: checking for $ac_header" >&5
43833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43835 echo $ECHO_N "(cached) $ECHO_C" >&6
43837 eval "$as_ac_Header=\$ac_header_preproc"
43839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43844 cat >>confdefs.h
<<_ACEOF
43845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43854 if test "$wxUSE_JOYSTICK" = "yes"; then
43855 cat >>confdefs.h
<<\_ACEOF
43856 #define wxUSE_JOYSTICK 1
43859 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43861 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43862 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43868 if test "$wxUSE_FONTMAP" = "yes" ; then
43869 cat >>confdefs.h
<<\_ACEOF
43870 #define wxUSE_FONTMAP 1
43875 if test "$wxUSE_UNICODE" = "yes" ; then
43876 cat >>confdefs.h
<<\_ACEOF
43877 #define wxUSE_UNICODE 1
43881 if test "$USE_WIN32" != 1; then
43882 wxUSE_UNICODE_MSLU
=no
43885 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43886 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43887 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43888 if test "${ac_cv_lib_unicows_main+set}" = set; then
43889 echo $ECHO_N "(cached) $ECHO_C" >&6
43891 ac_check_lib_save_LIBS
=$LIBS
43892 LIBS
="-lunicows $LIBS"
43893 cat >conftest.
$ac_ext <<_ACEOF
43896 cat confdefs.h
>>conftest.
$ac_ext
43897 cat >>conftest.
$ac_ext <<_ACEOF
43898 /* end confdefs.h. */
43909 rm -f conftest.
$ac_objext conftest
$ac_exeext
43910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43911 (eval $ac_link) 2>conftest.er1
43913 grep -v '^ *+' conftest.er1
>conftest.err
43915 cat conftest.err
>&5
43916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43917 (exit $ac_status); } &&
43918 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43920 (eval $ac_try) 2>&5
43922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43923 (exit $ac_status); }; } &&
43924 { ac_try
='test -s conftest$ac_exeext'
43925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43926 (eval $ac_try) 2>&5
43928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43929 (exit $ac_status); }; }; then
43930 ac_cv_lib_unicows_main
=yes
43932 echo "$as_me: failed program was:" >&5
43933 sed 's/^/| /' conftest.
$ac_ext >&5
43935 ac_cv_lib_unicows_main
=no
43937 rm -f conftest.err conftest.
$ac_objext \
43938 conftest
$ac_exeext conftest.
$ac_ext
43939 LIBS
=$ac_check_lib_save_LIBS
43941 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43942 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43943 if test $ac_cv_lib_unicows_main = yes; then
43945 cat >>confdefs.h
<<\_ACEOF
43946 #define wxUSE_UNICODE_MSLU 1
43952 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43953 Applications will only run on Windows NT/2000/XP!" >&5
43954 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43955 Applications will only run on Windows NT/2000/XP!" >&2;}
43956 wxUSE_UNICODE_MSLU
=no
43963 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43964 cat >>confdefs.h
<<\_ACEOF
43965 #define wxUSE_EXPERIMENTAL_PRINTF 1
43971 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43972 cat >>confdefs.h
<<\_ACEOF
43973 #define wxUSE_POSTSCRIPT 1
43978 cat >>confdefs.h
<<\_ACEOF
43979 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43983 cat >>confdefs.h
<<\_ACEOF
43984 #define wxUSE_NORMALIZED_PS_FONTS 1
43989 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43990 cat >>confdefs.h
<<\_ACEOF
43991 #define wxUSE_CONSTRAINTS 1
43994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43997 if test "$wxUSE_MDI" = "yes"; then
43998 cat >>confdefs.h
<<\_ACEOF
43999 #define wxUSE_MDI 1
44003 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44004 cat >>confdefs.h
<<\_ACEOF
44005 #define wxUSE_MDI_ARCHITECTURE 1
44008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44012 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44013 cat >>confdefs.h
<<\_ACEOF
44014 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44018 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44023 if test "$wxUSE_HELP" = "yes"; then
44024 cat >>confdefs.h
<<\_ACEOF
44025 #define wxUSE_HELP 1
44028 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44030 if test "$wxUSE_MSW" = 1; then
44031 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44032 cat >>confdefs.h
<<\_ACEOF
44033 #define wxUSE_MS_HTML_HELP 1
44039 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44040 if test "$wxUSE_HTML" = "yes"; then
44041 cat >>confdefs.h
<<\_ACEOF
44042 #define wxUSE_WXHTML_HELP 1
44046 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44047 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44048 wxUSE_WXHTML_HELP
=no
44053 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44054 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44055 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44056 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44058 cat >>confdefs.h
<<\_ACEOF
44059 #define wxUSE_PRINTING_ARCHITECTURE 1
44063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44066 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44067 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44068 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44069 { (exit 1); exit 1; }; }
44073 if test "$wxUSE_METAFILE" = "yes"; then
44074 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44075 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44076 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44082 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44083 -o "$wxUSE_CLIPBOARD" = "yes" \
44084 -o "$wxUSE_OLE" = "yes" \
44085 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44087 for ac_header
in ole2.h
44089 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44091 echo "$as_me:$LINENO: checking for $ac_header" >&5
44092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44094 echo $ECHO_N "(cached) $ECHO_C" >&6
44096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44099 # Is the header compilable?
44100 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44102 cat >conftest.
$ac_ext <<_ACEOF
44105 cat confdefs.h
>>conftest.
$ac_ext
44106 cat >>conftest.
$ac_ext <<_ACEOF
44107 /* end confdefs.h. */
44108 $ac_includes_default
44109 #include <$ac_header>
44111 rm -f conftest.
$ac_objext
44112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44113 (eval $ac_compile) 2>conftest.er1
44115 grep -v '^ *+' conftest.er1
>conftest.err
44117 cat conftest.err
>&5
44118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44119 (exit $ac_status); } &&
44120 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44122 (eval $ac_try) 2>&5
44124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44125 (exit $ac_status); }; } &&
44126 { ac_try
='test -s conftest.$ac_objext'
44127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44128 (eval $ac_try) 2>&5
44130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44131 (exit $ac_status); }; }; then
44132 ac_header_compiler
=yes
44134 echo "$as_me: failed program was:" >&5
44135 sed 's/^/| /' conftest.
$ac_ext >&5
44137 ac_header_compiler
=no
44139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44141 echo "${ECHO_T}$ac_header_compiler" >&6
44143 # Is the header present?
44144 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44145 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44146 cat >conftest.
$ac_ext <<_ACEOF
44149 cat confdefs.h
>>conftest.
$ac_ext
44150 cat >>conftest.
$ac_ext <<_ACEOF
44151 /* end confdefs.h. */
44152 #include <$ac_header>
44154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44155 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44157 grep -v '^ *+' conftest.er1
>conftest.err
44159 cat conftest.err
>&5
44160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44161 (exit $ac_status); } >/dev
/null
; then
44162 if test -s conftest.err
; then
44163 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44164 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44171 if test -z "$ac_cpp_err"; then
44172 ac_header_preproc
=yes
44174 echo "$as_me: failed program was:" >&5
44175 sed 's/^/| /' conftest.
$ac_ext >&5
44177 ac_header_preproc
=no
44179 rm -f conftest.err conftest.
$ac_ext
44180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44181 echo "${ECHO_T}$ac_header_preproc" >&6
44183 # So? What about this header?
44184 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44186 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44189 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44190 ac_header_preproc
=yes
44193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44197 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44198 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44199 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44200 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44202 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44203 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44204 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44207 ## ----------------------------------------- ##
44208 ## Report this to wx-dev@lists.wxwidgets.org ##
44209 ## ----------------------------------------- ##
44212 sed "s/^/$as_me: WARNING: /" >&2
44215 echo "$as_me:$LINENO: checking for $ac_header" >&5
44216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44218 echo $ECHO_N "(cached) $ECHO_C" >&6
44220 eval "$as_ac_Header=\$ac_header_preproc"
44222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44227 cat >>confdefs.h
<<_ACEOF
44228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44236 if test "$ac_cv_header_ole2_h" = "yes" ; then
44237 if test "$GCC" = yes ; then
44238 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44239 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44240 cat >conftest.
$ac_ext <<_ACEOF
44243 cat confdefs.h
>>conftest.
$ac_ext
44244 cat >>conftest.
$ac_ext <<_ACEOF
44245 /* end confdefs.h. */
44246 #include <windows.h>
44256 rm -f conftest.
$ac_objext
44257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44258 (eval $ac_compile) 2>conftest.er1
44260 grep -v '^ *+' conftest.er1
>conftest.err
44262 cat conftest.err
>&5
44263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44264 (exit $ac_status); } &&
44265 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44267 (eval $ac_try) 2>&5
44269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44270 (exit $ac_status); }; } &&
44271 { ac_try
='test -s conftest.$ac_objext'
44272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44273 (eval $ac_try) 2>&5
44275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44276 (exit $ac_status); }; }; then
44277 echo "$as_me:$LINENO: result: no" >&5
44278 echo "${ECHO_T}no" >&6
44280 echo "$as_me: failed program was:" >&5
44281 sed 's/^/| /' conftest.
$ac_ext >&5
44283 echo "$as_me:$LINENO: result: yes" >&5
44284 echo "${ECHO_T}yes" >&6
44285 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44288 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44289 if test "$wxUSE_OLE" = "yes" ; then
44290 cat >>confdefs.h
<<\_ACEOF
44291 #define wxUSE_OLE 1
44294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44298 if test "$wxUSE_DATAOBJ" = "yes" ; then
44299 cat >>confdefs.h
<<\_ACEOF
44300 #define wxUSE_DATAOBJ 1
44305 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44306 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44309 wxUSE_DRAG_AND_DROP
=no
44314 if test "$wxUSE_METAFILE" = "yes"; then
44315 cat >>confdefs.h
<<\_ACEOF
44316 #define wxUSE_METAFILE 1
44320 cat >>confdefs.h
<<\_ACEOF
44321 #define wxUSE_ENH_METAFILE 1
44327 if test "$wxUSE_IPC" = "yes"; then
44328 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44329 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44330 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44334 if test "$wxUSE_IPC" = "yes"; then
44335 cat >>confdefs.h
<<\_ACEOF
44336 #define wxUSE_IPC 1
44339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44343 if test "$wxUSE_DATAOBJ" = "yes"; then
44344 if test "$wxUSE_MGL" = 1; then
44345 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
44346 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
44349 cat >>confdefs.h
<<\_ACEOF
44350 #define wxUSE_DATAOBJ 1
44355 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44356 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44358 wxUSE_DRAG_AND_DROP
=no
44361 if test "$wxUSE_CLIPBOARD" = "yes"; then
44362 if test "$wxUSE_MGL" = 1; then
44363 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
44364 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
44368 if test "$wxUSE_CLIPBOARD" = "yes"; then
44369 cat >>confdefs.h
<<\_ACEOF
44370 #define wxUSE_CLIPBOARD 1
44376 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44377 if test "$wxUSE_GTK" = 1; then
44378 if test "$WXGTK12" != 1; then
44379 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44380 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44381 wxUSE_DRAG_AND_DROP
=no
44385 if test "$wxUSE_MOTIF" = 1; then
44386 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
44387 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
44388 wxUSE_DRAG_AND_DROP
=no
44391 if test "$wxUSE_X11" = 1; then
44392 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
44393 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
44394 wxUSE_DRAG_AND_DROP
=no
44397 if test "$wxUSE_MGL" = 1; then
44398 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
44399 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
44400 wxUSE_DRAG_AND_DROP
=no
44403 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44404 cat >>confdefs.h
<<\_ACEOF
44405 #define wxUSE_DRAG_AND_DROP 1
44412 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44416 if test "$wxUSE_SPLINES" = "yes" ; then
44417 cat >>confdefs.h
<<\_ACEOF
44418 #define wxUSE_SPLINES 1
44423 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44424 cat >>confdefs.h
<<\_ACEOF
44425 #define wxUSE_MOUSEWHEEL 1
44432 if test "$wxUSE_CONTROLS" = "yes"; then
44436 if test "$wxUSE_ACCEL" = "yes"; then
44437 cat >>confdefs.h
<<\_ACEOF
44438 #define wxUSE_ACCEL 1
44444 if test "$wxUSE_BUTTON" = "yes"; then
44445 cat >>confdefs.h
<<\_ACEOF
44446 #define wxUSE_BUTTON 1
44452 if test "$wxUSE_BMPBUTTON" = "yes"; then
44453 cat >>confdefs.h
<<\_ACEOF
44454 #define wxUSE_BMPBUTTON 1
44460 if test "$wxUSE_CALCTRL" = "yes"; then
44461 cat >>confdefs.h
<<\_ACEOF
44462 #define wxUSE_CALENDARCTRL 1
44466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44469 if test "$wxUSE_CARET" = "yes"; then
44470 cat >>confdefs.h
<<\_ACEOF
44471 #define wxUSE_CARET 1
44475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44478 if test "$wxUSE_COMBOBOX" = "yes"; then
44479 cat >>confdefs.h
<<\_ACEOF
44480 #define wxUSE_COMBOBOX 1
44486 if test "$wxUSE_COMBOCTRL" = "yes"; then
44487 cat >>confdefs.h
<<\_ACEOF
44488 #define wxUSE_COMBOCTRL 1
44494 if test "$wxUSE_CHOICE" = "yes"; then
44495 cat >>confdefs.h
<<\_ACEOF
44496 #define wxUSE_CHOICE 1
44502 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44503 cat >>confdefs.h
<<\_ACEOF
44504 #define wxUSE_CHOICEBOOK 1
44510 if test "$wxUSE_CHECKBOX" = "yes"; then
44511 cat >>confdefs.h
<<\_ACEOF
44512 #define wxUSE_CHECKBOX 1
44518 if test "$wxUSE_CHECKLST" = "yes"; then
44519 cat >>confdefs.h
<<\_ACEOF
44520 #define wxUSE_CHECKLISTBOX 1
44524 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44527 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44528 cat >>confdefs.h
<<\_ACEOF
44529 #define wxUSE_COLOURPICKERCTRL 1
44535 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44536 cat >>confdefs.h
<<\_ACEOF
44537 #define wxUSE_DATEPICKCTRL 1
44543 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44544 cat >>confdefs.h
<<\_ACEOF
44545 #define wxUSE_DIRPICKERCTRL 1
44551 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44552 cat >>confdefs.h
<<\_ACEOF
44553 #define wxUSE_FILEPICKERCTRL 1
44559 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44560 cat >>confdefs.h
<<\_ACEOF
44561 #define wxUSE_FONTPICKERCTRL 1
44567 if test "$wxUSE_DISPLAY" = "yes"; then
44568 cat >>confdefs.h
<<\_ACEOF
44569 #define wxUSE_DISPLAY 1
44572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44575 if test "$wxUSE_GAUGE" = "yes"; then
44576 cat >>confdefs.h
<<\_ACEOF
44577 #define wxUSE_GAUGE 1
44583 if test "$wxUSE_GRID" = "yes"; then
44584 cat >>confdefs.h
<<\_ACEOF
44585 #define wxUSE_GRID 1
44589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44592 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44593 cat >>confdefs.h
<<\_ACEOF
44594 #define wxUSE_HYPERLINKCTRL 1
44600 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44601 cat >>confdefs.h
<<\_ACEOF
44602 #define wxUSE_DATAVIEWCTRL 1
44606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44609 if test "$wxUSE_IMAGLIST" = "yes"; then
44610 cat >>confdefs.h
<<\_ACEOF
44611 #define wxUSE_IMAGLIST 1
44616 if test "$wxUSE_LISTBOOK" = "yes"; then
44617 cat >>confdefs.h
<<\_ACEOF
44618 #define wxUSE_LISTBOOK 1
44624 if test "$wxUSE_LISTBOX" = "yes"; then
44625 cat >>confdefs.h
<<\_ACEOF
44626 #define wxUSE_LISTBOX 1
44630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44633 if test "$wxUSE_LISTCTRL" = "yes"; then
44634 if test "$wxUSE_IMAGLIST" = "yes"; then
44635 cat >>confdefs.h
<<\_ACEOF
44636 #define wxUSE_LISTCTRL 1
44640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44642 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44643 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44647 if test "$wxUSE_NOTEBOOK" = "yes"; then
44648 cat >>confdefs.h
<<\_ACEOF
44649 #define wxUSE_NOTEBOOK 1
44653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44656 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44657 cat >>confdefs.h
<<\_ACEOF
44658 #define wxUSE_ODCOMBOBOX 1
44662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44666 if test "$wxUSE_RADIOBOX" = "yes"; then
44667 cat >>confdefs.h
<<\_ACEOF
44668 #define wxUSE_RADIOBOX 1
44674 if test "$wxUSE_RADIOBTN" = "yes"; then
44675 cat >>confdefs.h
<<\_ACEOF
44676 #define wxUSE_RADIOBTN 1
44682 if test "$wxUSE_SASH" = "yes"; then
44683 cat >>confdefs.h
<<\_ACEOF
44684 #define wxUSE_SASH 1
44687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44690 if test "$wxUSE_SCROLLBAR" = "yes"; then
44691 cat >>confdefs.h
<<\_ACEOF
44692 #define wxUSE_SCROLLBAR 1
44696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44699 if test "$wxUSE_SLIDER" = "yes"; then
44700 cat >>confdefs.h
<<\_ACEOF
44701 #define wxUSE_SLIDER 1
44707 if test "$wxUSE_SPINBTN" = "yes"; then
44708 cat >>confdefs.h
<<\_ACEOF
44709 #define wxUSE_SPINBTN 1
44715 if test "$wxUSE_SPINCTRL" = "yes"; then
44716 cat >>confdefs.h
<<\_ACEOF
44717 #define wxUSE_SPINCTRL 1
44723 if test "$wxUSE_SPLITTER" = "yes"; then
44724 cat >>confdefs.h
<<\_ACEOF
44725 #define wxUSE_SPLITTER 1
44728 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44731 if test "$wxUSE_STATBMP" = "yes"; then
44732 cat >>confdefs.h
<<\_ACEOF
44733 #define wxUSE_STATBMP 1
44739 if test "$wxUSE_STATBOX" = "yes"; then
44740 cat >>confdefs.h
<<\_ACEOF
44741 #define wxUSE_STATBOX 1
44747 if test "$wxUSE_STATTEXT" = "yes"; then
44748 cat >>confdefs.h
<<\_ACEOF
44749 #define wxUSE_STATTEXT 1
44755 if test "$wxUSE_STATLINE" = "yes"; then
44756 cat >>confdefs.h
<<\_ACEOF
44757 #define wxUSE_STATLINE 1
44763 if test "$wxUSE_STATUSBAR" = "yes"; then
44764 cat >>confdefs.h
<<\_ACEOF
44765 #define wxUSE_NATIVE_STATUSBAR 1
44768 cat >>confdefs.h
<<\_ACEOF
44769 #define wxUSE_STATUSBAR 1
44774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44777 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44778 cat >>confdefs.h
<<\_ACEOF
44779 #define wxUSE_TAB_DIALOG 1
44784 if test "$wxUSE_TEXTCTRL" = "yes"; then
44785 cat >>confdefs.h
<<\_ACEOF
44786 #define wxUSE_TEXTCTRL 1
44790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44793 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44794 if test "$wxUSE_COCOA" = 1 ; then
44795 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44796 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44800 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44801 cat >>confdefs.h
<<\_ACEOF
44802 #define wxUSE_TOGGLEBTN 1
44809 if test "$wxUSE_TOOLBAR" = "yes"; then
44810 cat >>confdefs.h
<<\_ACEOF
44811 #define wxUSE_TOOLBAR 1
44816 if test "$wxUSE_UNIVERSAL" = "yes"; then
44817 wxUSE_TOOLBAR_NATIVE
="no"
44819 wxUSE_TOOLBAR_NATIVE
="yes"
44820 cat >>confdefs.h
<<\_ACEOF
44821 #define wxUSE_TOOLBAR_NATIVE 1
44826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44829 if test "$wxUSE_TOOLTIPS" = "yes"; then
44830 if test "$wxUSE_MOTIF" = 1; then
44831 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44832 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44834 if test "$wxUSE_UNIVERSAL" = "yes"; then
44835 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44836 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44838 cat >>confdefs.h
<<\_ACEOF
44839 #define wxUSE_TOOLTIPS 1
44846 if test "$wxUSE_TREEBOOK" = "yes"; then
44847 cat >>confdefs.h
<<\_ACEOF
44848 #define wxUSE_TREEBOOK 1
44854 if test "$wxUSE_TOOLBOOK" = "yes"; then
44855 cat >>confdefs.h
<<\_ACEOF
44856 #define wxUSE_TOOLBOOK 1
44862 if test "$wxUSE_TREECTRL" = "yes"; then
44863 if test "$wxUSE_IMAGLIST" = "yes"; then
44864 cat >>confdefs.h
<<\_ACEOF
44865 #define wxUSE_TREECTRL 1
44869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44871 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44872 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44876 if test "$wxUSE_POPUPWIN" = "yes"; then
44877 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44878 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44879 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44881 if test "$wxUSE_PM" = 1; then
44882 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44883 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44885 cat >>confdefs.h
<<\_ACEOF
44886 #define wxUSE_POPUPWIN 1
44889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44896 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44897 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44898 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44899 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44901 cat >>confdefs.h
<<\_ACEOF
44902 #define wxUSE_DIALUP_MANAGER 1
44905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44909 if test "$wxUSE_TIPWINDOW" = "yes"; then
44910 if test "$wxUSE_PM" = 1; then
44911 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44912 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44914 cat >>confdefs.h
<<\_ACEOF
44915 #define wxUSE_TIPWINDOW 1
44921 if test "$USES_CONTROLS" = 1; then
44922 cat >>confdefs.h
<<\_ACEOF
44923 #define wxUSE_CONTROLS 1
44929 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44930 cat >>confdefs.h
<<\_ACEOF
44931 #define wxUSE_ACCESSIBILITY 1
44934 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44937 if test "$wxUSE_DC_CACHEING" = "yes"; then
44938 cat >>confdefs.h
<<\_ACEOF
44939 #define wxUSE_DC_CACHEING 1
44944 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44945 cat >>confdefs.h
<<\_ACEOF
44946 #define wxUSE_DRAGIMAGE 1
44949 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44952 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44953 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44954 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44955 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44957 cat >>confdefs.h
<<\_ACEOF
44958 #define wxUSE_EXCEPTIONS 1
44961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44966 if test "$wxUSE_HTML" = "yes"; then
44967 cat >>confdefs.h
<<\_ACEOF
44968 #define wxUSE_HTML 1
44972 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44973 if test "$wxUSE_MAC" = 1; then
44974 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44977 if test "$wxUSE_WEBKIT" = "yes"; then
44978 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44979 old_CPPFLAGS
="$CPPFLAGS"
44980 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44981 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44982 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44983 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44984 echo $ECHO_N "(cached) $ECHO_C" >&6
44986 cat >conftest.
$ac_ext <<_ACEOF
44989 cat confdefs.h
>>conftest.
$ac_ext
44990 cat >>conftest.
$ac_ext <<_ACEOF
44991 /* end confdefs.h. */
44992 #include <Carbon/Carbon.h>
44994 #include <WebKit/HIWebView.h>
44996 rm -f conftest.
$ac_objext
44997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44998 (eval $ac_compile) 2>conftest.er1
45000 grep -v '^ *+' conftest.er1
>conftest.err
45002 cat conftest.err
>&5
45003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45004 (exit $ac_status); } &&
45005 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45007 (eval $ac_try) 2>&5
45009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45010 (exit $ac_status); }; } &&
45011 { ac_try
='test -s conftest.$ac_objext'
45012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45013 (eval $ac_try) 2>&5
45015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45016 (exit $ac_status); }; }; then
45017 ac_cv_header_WebKit_HIWebView_h
=yes
45019 echo "$as_me: failed program was:" >&5
45020 sed 's/^/| /' conftest.
$ac_ext >&5
45022 ac_cv_header_WebKit_HIWebView_h
=no
45024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45026 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45027 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45028 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45030 cat >>confdefs.h
<<\_ACEOF
45031 #define wxUSE_WEBKIT 1
45034 WEBKIT_LINK
="-framework WebKit"
45038 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45039 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45045 CPPFLAGS
="$old_CPPFLAGS"
45046 elif test "$wxUSE_COCOA" = 1; then
45047 cat >>confdefs.h
<<\_ACEOF
45048 #define wxUSE_WEBKIT 1
45057 if test "$wxUSE_XRC" = "yes"; then
45058 if test "$wxUSE_XML" != "yes"; then
45059 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45060 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45063 cat >>confdefs.h
<<\_ACEOF
45064 #define wxUSE_XRC 1
45068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
45073 if test "$wxUSE_AUI" = "yes"; then
45074 cat >>confdefs.h
<<\_ACEOF
45075 #define wxUSE_AUI 1
45079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
45082 if test "$wxUSE_MENUS" = "yes"; then
45083 cat >>confdefs.h
<<\_ACEOF
45084 #define wxUSE_MENUS 1
45087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
45090 if test "$wxUSE_METAFILE" = "yes"; then
45091 cat >>confdefs.h
<<\_ACEOF
45092 #define wxUSE_METAFILE 1
45097 if test "$wxUSE_MIMETYPE" = "yes"; then
45098 cat >>confdefs.h
<<\_ACEOF
45099 #define wxUSE_MIMETYPE 1
45104 if test "$wxUSE_MINIFRAME" = "yes"; then
45105 cat >>confdefs.h
<<\_ACEOF
45106 #define wxUSE_MINIFRAME 1
45109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
45112 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45113 cat >>confdefs.h
<<\_ACEOF
45114 #define wxUSE_SYSTEM_OPTIONS 1
45117 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45118 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
45124 if test "$wxUSE_VALIDATORS" = "yes"; then
45125 cat >>confdefs.h
<<\_ACEOF
45126 #define wxUSE_VALIDATORS 1
45129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
45132 if test "$wxUSE_PALETTE" = "yes" ; then
45133 cat >>confdefs.h
<<\_ACEOF
45134 #define wxUSE_PALETTE 1
45139 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45140 LIBS
=" -lunicows $LIBS"
45144 if test "$wxUSE_RICHTEXT" = "yes"; then
45145 cat >>confdefs.h
<<\_ACEOF
45146 #define wxUSE_RICHTEXT 1
45150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
45154 if test "$wxUSE_IMAGE" = "yes" ; then
45155 cat >>confdefs.h
<<\_ACEOF
45156 #define wxUSE_IMAGE 1
45160 if test "$wxUSE_GIF" = "yes" ; then
45161 cat >>confdefs.h
<<\_ACEOF
45162 #define wxUSE_GIF 1
45167 if test "$wxUSE_PCX" = "yes" ; then
45168 cat >>confdefs.h
<<\_ACEOF
45169 #define wxUSE_PCX 1
45174 if test "$wxUSE_IFF" = "yes" ; then
45175 cat >>confdefs.h
<<\_ACEOF
45176 #define wxUSE_IFF 1
45181 if test "$wxUSE_PNM" = "yes" ; then
45182 cat >>confdefs.h
<<\_ACEOF
45183 #define wxUSE_PNM 1
45188 if test "$wxUSE_XPM" = "yes" ; then
45189 cat >>confdefs.h
<<\_ACEOF
45190 #define wxUSE_XPM 1
45195 if test "$wxUSE_ICO_CUR" = "yes" ; then
45196 cat >>confdefs.h
<<\_ACEOF
45197 #define wxUSE_ICO_CUR 1
45204 if test "$wxUSE_CHOICEDLG" = "yes"; then
45205 cat >>confdefs.h
<<\_ACEOF
45206 #define wxUSE_CHOICEDLG 1
45211 if test "$wxUSE_COLOURDLG" = "yes"; then
45212 cat >>confdefs.h
<<\_ACEOF
45213 #define wxUSE_COLOURDLG 1
45218 if test "$wxUSE_FILEDLG" = "yes"; then
45219 cat >>confdefs.h
<<\_ACEOF
45220 #define wxUSE_FILEDLG 1
45225 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45226 cat >>confdefs.h
<<\_ACEOF
45227 #define wxUSE_FINDREPLDLG 1
45232 if test "$wxUSE_FONTDLG" = "yes"; then
45233 cat >>confdefs.h
<<\_ACEOF
45234 #define wxUSE_FONTDLG 1
45239 if test "$wxUSE_DIRDLG" = "yes"; then
45240 if test "$wxUSE_TREECTRL" != "yes"; then
45241 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45242 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45244 cat >>confdefs.h
<<\_ACEOF
45245 #define wxUSE_DIRDLG 1
45251 if test "$wxUSE_MSGDLG" = "yes"; then
45252 cat >>confdefs.h
<<\_ACEOF
45253 #define wxUSE_MSGDLG 1
45258 if test "$wxUSE_NUMBERDLG" = "yes"; then
45259 cat >>confdefs.h
<<\_ACEOF
45260 #define wxUSE_NUMBERDLG 1
45265 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45266 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45267 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45268 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45270 cat >>confdefs.h
<<\_ACEOF
45271 #define wxUSE_PROGRESSDLG 1
45277 if test "$wxUSE_SPLASH" = "yes"; then
45278 cat >>confdefs.h
<<\_ACEOF
45279 #define wxUSE_SPLASH 1
45282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
45285 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45286 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45287 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45288 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45290 cat >>confdefs.h
<<\_ACEOF
45291 #define wxUSE_STARTUP_TIPS 1
45297 if test "$wxUSE_TEXTDLG" = "yes"; then
45298 cat >>confdefs.h
<<\_ACEOF
45299 #define wxUSE_TEXTDLG 1
45304 if test "$wxUSE_WIZARDDLG" = "yes"; then
45305 cat >>confdefs.h
<<\_ACEOF
45306 #define wxUSE_WIZARDDLG 1
45309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
45315 if test "$wxUSE_MEDIACTRL" = "yes"; then
45318 if test "$wxUSE_GTK" = 1; then
45319 wxUSE_GSTREAMER
="no"
45321 GST_VERSION_MAJOR
=0
45322 GST_VERSION_MINOR
=10
45323 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45325 if test "$wxUSE_GSTREAMER8" = "no"; then
45328 echo "$as_me:$LINENO: checking for GST" >&5
45329 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45331 if test -n "$PKG_CONFIG"; then
45332 if test -n "$GST_CFLAGS"; then
45333 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45335 if test -n "$PKG_CONFIG" && \
45336 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45337 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45340 (exit $ac_status); }; then
45341 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45349 if test -n "$PKG_CONFIG"; then
45350 if test -n "$GST_LIBS"; then
45351 pkg_cv_GST_LIBS
="$GST_LIBS"
45353 if test -n "$PKG_CONFIG" && \
45354 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45355 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45358 (exit $ac_status); }; then
45359 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45370 if test $pkg_failed = yes; then
45372 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45373 _pkg_short_errors_supported
=yes
45375 _pkg_short_errors_supported
=no
45377 if test $_pkg_short_errors_supported = yes; then
45378 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45380 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45382 # Put the nasty error message in config.log where it belongs
45383 echo "$GST_PKG_ERRORS" >&5
45386 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45387 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45388 GST_VERSION_MINOR
=8
45391 elif test $pkg_failed = untried
; then
45393 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45394 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45395 GST_VERSION_MINOR
=8
45399 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45400 GST_LIBS
=$pkg_cv_GST_LIBS
45401 echo "$as_me:$LINENO: result: yes" >&5
45402 echo "${ECHO_T}yes" >&6
45404 wxUSE_GSTREAMER
="yes"
45405 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45409 GST_VERSION_MINOR
=8
45412 if test $GST_VERSION_MINOR = "8"; then
45413 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45416 echo "$as_me:$LINENO: checking for GST" >&5
45417 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45419 if test -n "$PKG_CONFIG"; then
45420 if test -n "$GST_CFLAGS"; then
45421 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45423 if test -n "$PKG_CONFIG" && \
45424 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45425 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45428 (exit $ac_status); }; then
45429 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45437 if test -n "$PKG_CONFIG"; then
45438 if test -n "$GST_LIBS"; then
45439 pkg_cv_GST_LIBS
="$GST_LIBS"
45441 if test -n "$PKG_CONFIG" && \
45442 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45443 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45446 (exit $ac_status); }; then
45447 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45458 if test $pkg_failed = yes; then
45460 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45461 _pkg_short_errors_supported
=yes
45463 _pkg_short_errors_supported
=no
45465 if test $_pkg_short_errors_supported = yes; then
45466 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45468 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45470 # Put the nasty error message in config.log where it belongs
45471 echo "$GST_PKG_ERRORS" >&5
45474 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45475 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45477 elif test $pkg_failed = untried
; then
45479 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45480 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45483 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45484 GST_LIBS
=$pkg_cv_GST_LIBS
45485 echo "$as_me:$LINENO: result: yes" >&5
45486 echo "${ECHO_T}yes" >&6
45487 wxUSE_GSTREAMER
="yes"
45492 if test "$wxUSE_GSTREAMER" = "yes"; then
45495 if "$GCC" = yes; then
45496 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
45497 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
45501 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45502 LIBS
="$GST_LIBS $LIBS"
45504 cat >>confdefs.h
<<\_ACEOF
45505 #define wxUSE_GSTREAMER 1
45513 if test $USE_MEDIA = 1; then
45514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45515 cat >>confdefs.h
<<\_ACEOF
45516 #define wxUSE_MEDIACTRL 1
45523 if test "$cross_compiling" = "yes"; then
45526 OSINFO
=`uname -s -r -m`
45527 OSINFO
="\"$OSINFO\""
45530 cat >>confdefs.h
<<_ACEOF
45531 #define WXWIN_OS_DESCRIPTION $OSINFO
45536 if test "x$prefix" != "xNONE"; then
45539 wxPREFIX
=$ac_default_prefix
45542 cat >>confdefs.h
<<_ACEOF
45543 #define wxINSTALL_PREFIX "$wxPREFIX"
45549 CORE_BASE_LIBS
="net base"
45550 CORE_GUI_LIBS
="adv core"
45552 if test "$wxUSE_XML" = "yes" ; then
45553 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45555 if test "$wxUSE_ODBC" != "no" ; then
45556 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45557 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45559 if test "$wxUSE_HTML" = "yes" ; then
45560 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45562 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45563 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45565 if test "$wxUSE_XRC" = "yes" ; then
45566 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45568 if test "$wxUSE_AUI" = "yes" ; then
45569 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45572 if test "$wxUSE_GUI" != "yes"; then
45581 ac_cpp
='$CPP $CPPFLAGS'
45582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45588 if test "$wxUSE_MAC" = 1 ; then
45589 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45590 if test "$USE_DARWIN" = 1; then
45591 LDFLAGS
="$LDFLAGS -framework QuickTime"
45593 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45596 if test "$USE_DARWIN" = 1; then
45597 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45599 LDFLAGS
="$LDFLAGS -lCarbonLib"
45602 if test "$wxUSE_COCOA" = 1 ; then
45603 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45604 if test "$wxUSE_MEDIACTRL" = "yes"; then
45605 LDFLAGS
="$LDFLAGS -framework QuickTime"
45608 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45609 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45612 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45614 if test "$wxUSE_GUI" = "yes"; then
45617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45618 dynamic erase event exec font image minimal mobile \
45619 mobile/wxedit mobile/styles propsize render \
45620 rotate shaped vscroll widgets"
45622 if test "$wxUSE_MONOLITHIC" != "yes"; then
45623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45625 if test "$TOOLKIT" = "MSW"; then
45626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45627 if test "$wxUSE_UNIVERSAL" != "yes"; then
45628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45631 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45632 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45635 SAMPLES_SUBDIRS
="console"
45639 if test "x$INTELCC" = "xyes" ; then
45640 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45641 elif test "$GCC" = yes ; then
45642 CWARNINGS
="-Wall -Wundef"
45645 if test "x$INTELCXX" = "xyes" ; then
45646 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45647 elif test "$GXX" = yes ; then
45648 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45652 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45653 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45656 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45657 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45658 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45661 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45662 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45663 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45665 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45668 if test "x$MWCC" = "xyes"; then
45670 CC
="$CC -cwd source -I-"
45671 CXX
="$CXX -cwd source -I-"
45676 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45677 EXTRALIBS_XML
="$EXPAT_LINK"
45678 EXTRALIBS_HTML
="$MSPACK_LINK"
45679 EXTRALIBS_ODBC
="$ODBC_LINK"
45680 if test "$wxUSE_GUI" = "yes"; then
45681 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45683 if test "$wxUSE_OPENGL" = "yes"; then
45684 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45687 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45689 WXCONFIG_LIBS
="$LIBS"
45691 if test "$wxUSE_REGEX" = "builtin" ; then
45692 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45694 if test "$wxUSE_EXPAT" = "builtin" ; then
45695 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45697 if test "$wxUSE_ODBC" = "builtin" ; then
45698 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45700 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45701 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45703 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45704 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45706 if test "$wxUSE_LIBPNG" = "builtin" ; then
45707 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45709 if test "$wxUSE_ZLIB" = "builtin" ; then
45710 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45713 for i
in $wxconfig_3rdparty ; do
45714 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45718 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45732 if test $wxUSE_MONOLITHIC = "yes" ; then
45738 if test $wxUSE_PLUGINS = "yes" ; then
45744 if test $wxUSE_ODBC != "no" ; then
45750 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45756 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45786 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45797 TOOLKIT_DESC
="GTK+"
45798 if test "$WXGTK20" = 1; then
45799 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
45800 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45801 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
45803 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45804 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
45806 if test "$wxUSE_LIBHILDON" = "yes"; then
45807 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
45810 if test "$TOOLKIT_EXTRA" != ""; then
45811 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45817 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
45821 TOOLKIT_DESC
="base only"
45825 if test "$wxUSE_WINE" = "yes"; then
45826 BAKEFILE_FORCE_PLATFORM
=win32
45829 if test "$wxUSE_MAC" = 1 ; then
45830 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
45831 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
45832 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45834 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45836 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
45837 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
45838 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
45839 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
45842 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45843 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45849 if test "x$BAKEFILE_HOST" = "x"; then
45850 if test "x${host}" = "x" ; then
45851 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45852 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45853 { (exit 1); exit 1; }; }
45856 BAKEFILE_HOST
="${host}"
45859 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45861 if test -n "$ac_tool_prefix"; then
45862 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45863 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45864 echo "$as_me:$LINENO: checking for $ac_word" >&5
45865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45866 if test "${ac_cv_prog_RANLIB+set}" = set; then
45867 echo $ECHO_N "(cached) $ECHO_C" >&6
45869 if test -n "$RANLIB"; then
45870 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45873 for as_dir
in $PATH
45876 test -z "$as_dir" && as_dir
=.
45877 for ac_exec_ext
in '' $ac_executable_extensions; do
45878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45879 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45888 RANLIB
=$ac_cv_prog_RANLIB
45889 if test -n "$RANLIB"; then
45890 echo "$as_me:$LINENO: result: $RANLIB" >&5
45891 echo "${ECHO_T}$RANLIB" >&6
45893 echo "$as_me:$LINENO: result: no" >&5
45894 echo "${ECHO_T}no" >&6
45898 if test -z "$ac_cv_prog_RANLIB"; then
45899 ac_ct_RANLIB
=$RANLIB
45900 # Extract the first word of "ranlib", so it can be a program name with args.
45901 set dummy ranlib
; ac_word
=$2
45902 echo "$as_me:$LINENO: checking for $ac_word" >&5
45903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45904 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45905 echo $ECHO_N "(cached) $ECHO_C" >&6
45907 if test -n "$ac_ct_RANLIB"; then
45908 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45911 for as_dir
in $PATH
45914 test -z "$as_dir" && as_dir
=.
45915 for ac_exec_ext
in '' $ac_executable_extensions; do
45916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45917 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45924 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45927 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45928 if test -n "$ac_ct_RANLIB"; then
45929 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45930 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45932 echo "$as_me:$LINENO: result: no" >&5
45933 echo "${ECHO_T}no" >&6
45936 RANLIB
=$ac_ct_RANLIB
45938 RANLIB
="$ac_cv_prog_RANLIB"
45941 # Find a good install program. We prefer a C program (faster),
45942 # so one script is as good as another. But avoid the broken or
45943 # incompatible versions:
45944 # SysV /etc/install, /usr/sbin/install
45945 # SunOS /usr/etc/install
45946 # IRIX /sbin/install
45948 # AmigaOS /C/install, which installs bootblocks on floppy discs
45949 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45950 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45951 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45952 # OS/2's system install, which has a completely different semantic
45953 # ./install, which can be erroneously created by make from ./install.sh.
45954 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45955 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45956 if test -z "$INSTALL"; then
45957 if test "${ac_cv_path_install+set}" = set; then
45958 echo $ECHO_N "(cached) $ECHO_C" >&6
45960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45961 for as_dir
in $PATH
45964 test -z "$as_dir" && as_dir
=.
45965 # Account for people who put trailing slashes in PATH elements.
45967 .
/ | .
// | /cC
/* | \
45968 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45969 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45972 # OSF1 and SCO ODT 3.0 have their own names for install.
45973 # Don't use installbsd from OSF since it installs stuff as root
45975 for ac_prog
in ginstall scoinst
install; do
45976 for ac_exec_ext
in '' $ac_executable_extensions; do
45977 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45978 if test $ac_prog = install &&
45979 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45980 # AIX install. It has an incompatible calling convention.
45982 elif test $ac_prog = install &&
45983 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45984 # program-specific install script used by HP pwplus--don't use.
45987 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45999 if test "${ac_cv_path_install+set}" = set; then
46000 INSTALL
=$ac_cv_path_install
46002 # As a last resort, use the slow shell script. We don't cache a
46003 # path for INSTALL within a source directory, because that will
46004 # break other packages using the cache if that directory is
46005 # removed, or if the path is relative.
46006 INSTALL
=$ac_install_sh
46009 echo "$as_me:$LINENO: result: $INSTALL" >&5
46010 echo "${ECHO_T}$INSTALL" >&6
46012 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46013 # It thinks the first close brace ends the variable substitution.
46014 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
46016 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
46018 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
46020 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46021 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46023 if test "$LN_S" = "ln -s"; then
46024 echo "$as_me:$LINENO: result: yes" >&5
46025 echo "${ECHO_T}yes" >&6
46027 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46028 echo "${ECHO_T}no, using $LN_S" >&6
46032 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46033 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46034 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46035 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46036 echo $ECHO_N "(cached) $ECHO_C" >&6
46038 cat >conftest.
make <<\_ACEOF
46040 @
echo 'ac_maketemp="$(MAKE)"'
46042 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46043 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46044 if test -n "$ac_maketemp"; then
46045 eval ac_cv_prog_make_
${ac_make}_set
=yes
46047 eval ac_cv_prog_make_
${ac_make}_set
=no
46049 rm -f conftest.
make
46051 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46052 echo "$as_me:$LINENO: result: yes" >&5
46053 echo "${ECHO_T}yes" >&6
46056 echo "$as_me:$LINENO: result: no" >&5
46057 echo "${ECHO_T}no" >&6
46058 SET_MAKE
="MAKE=${MAKE-make}"
46063 if test -n "$ac_tool_prefix"; then
46064 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46065 set dummy
${ac_tool_prefix}ar; ac_word
=$2
46066 echo "$as_me:$LINENO: checking for $ac_word" >&5
46067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46068 if test "${ac_cv_prog_AR+set}" = set; then
46069 echo $ECHO_N "(cached) $ECHO_C" >&6
46071 if test -n "$AR"; then
46072 ac_cv_prog_AR
="$AR" # Let the user override the test.
46074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46075 for as_dir
in $PATH
46078 test -z "$as_dir" && as_dir
=.
46079 for ac_exec_ext
in '' $ac_executable_extensions; do
46080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46081 ac_cv_prog_AR
="${ac_tool_prefix}ar"
46082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46091 if test -n "$AR"; then
46092 echo "$as_me:$LINENO: result: $AR" >&5
46093 echo "${ECHO_T}$AR" >&6
46095 echo "$as_me:$LINENO: result: no" >&5
46096 echo "${ECHO_T}no" >&6
46100 if test -z "$ac_cv_prog_AR"; then
46102 # Extract the first word of "ar", so it can be a program name with args.
46103 set dummy
ar; ac_word
=$2
46104 echo "$as_me:$LINENO: checking for $ac_word" >&5
46105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46106 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46107 echo $ECHO_N "(cached) $ECHO_C" >&6
46109 if test -n "$ac_ct_AR"; then
46110 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
46112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46113 for as_dir
in $PATH
46116 test -z "$as_dir" && as_dir
=.
46117 for ac_exec_ext
in '' $ac_executable_extensions; do
46118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46119 ac_cv_prog_ac_ct_AR
="ar"
46120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46126 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
46129 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
46130 if test -n "$ac_ct_AR"; then
46131 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46132 echo "${ECHO_T}$ac_ct_AR" >&6
46134 echo "$as_me:$LINENO: result: no" >&5
46135 echo "${ECHO_T}no" >&6
46140 AR
="$ac_cv_prog_AR"
46143 if test -n "$ac_tool_prefix"; then
46144 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46145 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46146 echo "$as_me:$LINENO: checking for $ac_word" >&5
46147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46148 if test "${ac_cv_prog_STRIP+set}" = set; then
46149 echo $ECHO_N "(cached) $ECHO_C" >&6
46151 if test -n "$STRIP"; then
46152 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46155 for as_dir
in $PATH
46158 test -z "$as_dir" && as_dir
=.
46159 for ac_exec_ext
in '' $ac_executable_extensions; do
46160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46161 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46170 STRIP
=$ac_cv_prog_STRIP
46171 if test -n "$STRIP"; then
46172 echo "$as_me:$LINENO: result: $STRIP" >&5
46173 echo "${ECHO_T}$STRIP" >&6
46175 echo "$as_me:$LINENO: result: no" >&5
46176 echo "${ECHO_T}no" >&6
46180 if test -z "$ac_cv_prog_STRIP"; then
46182 # Extract the first word of "strip", so it can be a program name with args.
46183 set dummy strip
; ac_word
=$2
46184 echo "$as_me:$LINENO: checking for $ac_word" >&5
46185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46186 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46187 echo $ECHO_N "(cached) $ECHO_C" >&6
46189 if test -n "$ac_ct_STRIP"; then
46190 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46193 for as_dir
in $PATH
46196 test -z "$as_dir" && as_dir
=.
46197 for ac_exec_ext
in '' $ac_executable_extensions; do
46198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46199 ac_cv_prog_ac_ct_STRIP
="strip"
46200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46206 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
46209 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46210 if test -n "$ac_ct_STRIP"; then
46211 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46212 echo "${ECHO_T}$ac_ct_STRIP" >&6
46214 echo "$as_me:$LINENO: result: no" >&5
46215 echo "${ECHO_T}no" >&6
46220 STRIP
="$ac_cv_prog_STRIP"
46223 if test -n "$ac_tool_prefix"; then
46224 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46225 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46226 echo "$as_me:$LINENO: checking for $ac_word" >&5
46227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46228 if test "${ac_cv_prog_NM+set}" = set; then
46229 echo $ECHO_N "(cached) $ECHO_C" >&6
46231 if test -n "$NM"; then
46232 ac_cv_prog_NM
="$NM" # Let the user override the test.
46234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46235 for as_dir
in $PATH
46238 test -z "$as_dir" && as_dir
=.
46239 for ac_exec_ext
in '' $ac_executable_extensions; do
46240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46241 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46251 if test -n "$NM"; then
46252 echo "$as_me:$LINENO: result: $NM" >&5
46253 echo "${ECHO_T}$NM" >&6
46255 echo "$as_me:$LINENO: result: no" >&5
46256 echo "${ECHO_T}no" >&6
46260 if test -z "$ac_cv_prog_NM"; then
46262 # Extract the first word of "nm", so it can be a program name with args.
46263 set dummy nm
; ac_word
=$2
46264 echo "$as_me:$LINENO: checking for $ac_word" >&5
46265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46266 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46267 echo $ECHO_N "(cached) $ECHO_C" >&6
46269 if test -n "$ac_ct_NM"; then
46270 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46273 for as_dir
in $PATH
46276 test -z "$as_dir" && as_dir
=.
46277 for ac_exec_ext
in '' $ac_executable_extensions; do
46278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46279 ac_cv_prog_ac_ct_NM
="nm"
46280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46286 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
46289 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46290 if test -n "$ac_ct_NM"; then
46291 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46292 echo "${ECHO_T}$ac_ct_NM" >&6
46294 echo "$as_me:$LINENO: result: no" >&5
46295 echo "${ECHO_T}no" >&6
46300 NM
="$ac_cv_prog_NM"
46304 case ${BAKEFILE_HOST} in
46306 INSTALL_DIR
="mkdir -p"
46308 *) INSTALL_DIR
="$INSTALL -d"
46314 case ${BAKEFILE_HOST} in
46315 *-*-cygwin* | *-*-mingw32* )
46316 LDFLAGS_GUI
="-mwindows"
46322 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46323 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46324 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46325 echo $ECHO_N "(cached) $ECHO_C" >&6
46328 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46329 egrep -s GNU
> /dev
/null
); then
46330 bakefile_cv_prog_makeisgnu
="yes"
46332 bakefile_cv_prog_makeisgnu
="no"
46336 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46337 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46339 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46356 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46357 case "${BAKEFILE_HOST}" in
46364 *-pc-os2_emx | *-pc-os2-emx )
46374 powerpc
-apple-macos* )
46383 case "$BAKEFILE_FORCE_PLATFORM" in
46404 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46405 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46406 { (exit 1); exit 1; }; }
46421 # Check whether --enable-omf or --disable-omf was given.
46422 if test "${enable_omf+set}" = set; then
46423 enableval
="$enable_omf"
46424 bk_os2_use_omf
="$enableval"
46427 case "${BAKEFILE_HOST}" in
46429 if test "x$GCC" = "xyes"; then
46430 CFLAGS
="$CFLAGS -fno-common"
46431 CXXFLAGS
="$CXXFLAGS -fno-common"
46433 if test "x$XLCC" = "xyes"; then
46434 CFLAGS
="$CFLAGS -qnocommon"
46435 CXXFLAGS
="$CXXFLAGS -qnocommon"
46439 *-pc-os2_emx | *-pc-os2-emx )
46440 if test "x$bk_os2_use_omf" = "xyes" ; then
46443 LDFLAGS
="-Zomf $LDFLAGS"
46444 CFLAGS
="-Zomf $CFLAGS"
46445 CXXFLAGS
="-Zomf $CXXFLAGS"
46453 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46459 SO_SUFFIX_MODULE
="so"
46464 DLLPREFIX_MODULE
=""
46468 case "${BAKEFILE_HOST}" in
46471 SO_SUFFIX_MODULE
="sl"
46475 SO_SUFFIX_MODULE
="a"
46479 SO_SUFFIX_MODULE
="dll"
46480 DLLIMP_SUFFIX
="dll.a"
46487 SO_SUFFIX_MODULE
="dll"
46488 DLLIMP_SUFFIX
="dll.a"
46498 *-pc-os2_emx | *-pc-os2-emx )
46500 SO_SUFFIX_MODULE
="dll"
46501 DLLIMP_SUFFIX
=$OS2_LIBEXT
46505 LIBEXT
=".$OS2_LIBEXT"
46510 SO_SUFFIX_MODULE
="bundle"
46514 if test "x$DLLIMP_SUFFIX" = "x" ; then
46515 DLLIMP_SUFFIX
="$SO_SUFFIX"
46530 if test "x$GCC" = "xyes"; then
46534 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46535 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46538 case "${BAKEFILE_HOST}" in
46540 if test "x$GCC" != "xyes"; then
46541 LDFLAGS
="$LDFLAGS -L/usr/lib"
46543 SHARED_LD_CC
="${CC} -b -o"
46544 SHARED_LD_CXX
="${CXX} -b -o"
46550 if test "x$GCC" != "xyes"; then
46551 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46552 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46553 if test "${bakefile_cv_prog_icc+set}" = set; then
46554 echo $ECHO_N "(cached) $ECHO_C" >&6
46557 cat >conftest.
$ac_ext <<_ACEOF
46560 cat confdefs.h
>>conftest.
$ac_ext
46561 cat >>conftest.
$ac_ext <<_ACEOF
46562 /* end confdefs.h. */
46568 #ifndef __INTEL_COMPILER
46576 rm -f conftest.
$ac_objext
46577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46578 (eval $ac_compile) 2>conftest.er1
46580 grep -v '^ *+' conftest.er1
>conftest.err
46582 cat conftest.err
>&5
46583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46584 (exit $ac_status); } &&
46585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46587 (eval $ac_try) 2>&5
46589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46590 (exit $ac_status); }; } &&
46591 { ac_try
='test -s conftest.$ac_objext'
46592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46593 (eval $ac_try) 2>&5
46595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46596 (exit $ac_status); }; }; then
46597 bakefile_cv_prog_icc
=yes
46599 echo "$as_me: failed program was:" >&5
46600 sed 's/^/| /' conftest.
$ac_ext >&5
46602 bakefile_cv_prog_icc
=no
46605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46608 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46609 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46610 if test "$bakefile_cv_prog_icc" = "yes"; then
46617 if test "x$GCC" != xyes
; then
46618 SHARED_LD_CC
="${CC} -G -o"
46619 SHARED_LD_CXX
="${CXX} -G -o"
46627 cat <<EOF >shared-ld-sh
46629 #-----------------------------------------------------------------------------
46630 #-- Name: distrib/mac/shared-ld-sh
46631 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46632 #-- Author: Gilles Depeyrot
46633 #-- Copyright: (c) 2002 Gilles Depeyrot
46634 #-- Licence: any use permitted
46635 #-----------------------------------------------------------------------------
46640 linking_flag="-dynamiclib"
46641 ldargs="-r -keep_private_externs -nostdlib"
46643 while test ${D}# -gt 0; do
46650 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46651 # collect these options and values
46652 args="${D}{args} ${D}1 ${D}2"
46657 # collect these load args
46658 ldargs="${D}{ldargs} ${D}1"
46661 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46662 # collect these options
46663 args="${D}{args} ${D}1"
46666 -dynamiclib|-bundle)
46667 linking_flag="${D}1"
46671 echo "shared-ld: unhandled option '${D}1'"
46675 *.o | *.a | *.dylib)
46676 # collect object files
46677 objects="${D}{objects} ${D}1"
46681 echo "shared-ld: unhandled argument '${D}1'"
46692 # Link one module containing all the others
46694 if test ${D}{verbose} = 1; then
46695 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46697 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46701 # Link the shared library from the single module created, but only if the
46702 # previous command didn't fail:
46704 if test ${D}{status} = 0; then
46705 if test ${D}{verbose} = 1; then
46706 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46708 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46713 # Remove intermediate module
46715 rm -f master.${D}${D}.o
46720 chmod +x shared
-ld-sh
46722 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46723 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46726 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46727 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46728 if test "${bakefile_cv_gcc31+set}" = set; then
46729 echo $ECHO_N "(cached) $ECHO_C" >&6
46732 cat >conftest.
$ac_ext <<_ACEOF
46735 cat confdefs.h
>>conftest.
$ac_ext
46736 cat >>conftest.
$ac_ext <<_ACEOF
46737 /* end confdefs.h. */
46743 #if (__GNUC__ < 3) || \
46744 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46752 rm -f conftest.
$ac_objext
46753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46754 (eval $ac_compile) 2>conftest.er1
46756 grep -v '^ *+' conftest.er1
>conftest.err
46758 cat conftest.err
>&5
46759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46760 (exit $ac_status); } &&
46761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46763 (eval $ac_try) 2>&5
46765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46766 (exit $ac_status); }; } &&
46767 { ac_try
='test -s conftest.$ac_objext'
46768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46769 (eval $ac_try) 2>&5
46771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46772 (exit $ac_status); }; }; then
46774 bakefile_cv_gcc31
=yes
46777 echo "$as_me: failed program was:" >&5
46778 sed 's/^/| /' conftest.
$ac_ext >&5
46781 bakefile_cv_gcc31
=no
46785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46788 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46789 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46790 if test "$bakefile_cv_gcc31" = "no"; then
46791 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46792 SHARED_LD_CXX
="$SHARED_LD_CC"
46794 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46795 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46798 if test "x$GCC" == "xyes"; then
46799 PIC_FLAG
="-dynamic -fPIC"
46801 if test "x$XLCC" = "xyes"; then
46802 PIC_FLAG
="-dynamic -DPIC"
46807 if test "x$GCC" = "xyes"; then
46810 case "${BAKEFILE_HOST}" in
46812 LD_EXPFULL
="-Wl,-bexpfull"
46816 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46817 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46819 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46820 set dummy makeC
++SharedLib
; ac_word
=$2
46821 echo "$as_me:$LINENO: checking for $ac_word" >&5
46822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46823 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46824 echo $ECHO_N "(cached) $ECHO_C" >&6
46826 if test -n "$AIX_CXX_LD"; then
46827 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46830 for as_dir
in $PATH
46833 test -z "$as_dir" && as_dir
=.
46834 for ac_exec_ext
in '' $ac_executable_extensions; do
46835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46836 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46843 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46846 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46847 if test -n "$AIX_CXX_LD"; then
46848 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46849 echo "${ECHO_T}$AIX_CXX_LD" >&6
46851 echo "$as_me:$LINENO: result: no" >&5
46852 echo "${ECHO_T}no" >&6
46855 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46856 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46861 SHARED_LD_CC
="${LD} -nostart -o"
46862 SHARED_LD_CXX
="${LD} -nostart -o"
46866 if test "x$GCC" != "xyes"; then
46871 *-*-cygwin* | *-*-mingw32* )
46873 SHARED_LD_CC
="\$(CC) -shared -o"
46874 SHARED_LD_CXX
="\$(CXX) -shared -o"
46878 *-pc-os2_emx | *-pc-os2-emx )
46879 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46880 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46884 cat <<EOF >dllar.sh
46887 # dllar - a tool to build both a .dll and an .a file
46888 # from a set of object (.o) files for EMX/OS2.
46890 # Written by Andrew Zabolotny, bit@freya.etu.ru
46891 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46893 # This script will accept a set of files on the command line.
46894 # All the public symbols from the .o files will be exported into
46895 # a .DEF file, then linker will be run (through gcc) against them to
46896 # build a shared library consisting of all given .o files. All libraries
46897 # (.a) will be first decompressed into component .o files then act as
46898 # described above. You can optionally give a description (-d "description")
46899 # which will be put into .DLL. To see the list of accepted options (as well
46900 # as command-line format) simply run this program without options. The .DLL
46901 # is built to be imported by name (there is no guarantee that new versions
46902 # of the library you build will have same ordinals for same symbols).
46904 # dllar is free software; you can redistribute it and/or modify
46905 # it under the terms of the GNU General Public License as published by
46906 # the Free Software Foundation; either version 2, or (at your option)
46907 # any later version.
46909 # dllar is distributed in the hope that it will be useful,
46910 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46911 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46912 # GNU General Public License for more details.
46914 # You should have received a copy of the GNU General Public License
46915 # along with dllar; see the file COPYING. If not, write to the Free
46916 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46919 # To successfuly run this program you will need:
46920 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46921 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46923 # (used to build the .dll)
46925 # (used to create .def file from .o files)
46927 # (used to create .a file from .def file)
46928 # - GNU text utilites (cat, sort, uniq)
46929 # used to process emxexp output
46930 # - GNU file utilities (mv, rm)
46932 # - lxlite (optional, see flag below)
46933 # (used for general .dll cleanup)
46940 # basnam, variant of basename, which does _not_ remove the path, _iff_
46941 # second argument (suffix to remove) is given
46945 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46948 echo ${D}1 | sed 's/'${D}2'${D}//'
46951 echo "error in basnam ${D}*"
46957 # Cleanup temporary files and output
46960 for i in ${D}inputFiles ; do
46963 rm -rf \`basnam ${D}i !\`
46970 # Kill result in case of failure as there is just to many stupid make/nmake
46971 # things out there which doesn't do this.
46972 if [ ${D}# -eq 0 ]; then
46973 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46977 # Print usage and exit script with rc=1.
46979 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46980 echo ' [-name-mangler-script script.sh]'
46981 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46982 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46983 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46984 echo ' [*.o] [*.a]'
46985 echo '*> "output_file" should have no extension.'
46986 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46987 echo ' The import library name is derived from this and is set to "name".a,'
46988 echo ' unless overridden by -import'
46989 echo '*> "importlib_name" should have no extension.'
46990 echo ' If it has the .o, or .a extension, it is automatically removed.'
46991 echo ' This name is used as the import library name and may be longer and'
46992 echo ' more descriptive than the DLL name which has to follow the old '
46993 echo ' 8.3 convention of FAT.'
46994 echo '*> "script.sh may be given to override the output_file name by a'
46995 echo ' different name. It is mainly useful if the regular make process'
46996 echo ' of some package does not take into account OS/2 restriction of'
46997 echo ' DLL name lengths. It takes the importlib name as input and is'
46998 echo ' supposed to procude a shorter name as output. The script should'
46999 echo ' expect to get importlib_name without extension and should produce'
47000 echo ' a (max.) 8 letter name without extension.'
47001 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47002 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47003 echo ' These flags will be put at the start of GCC command line.'
47004 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47005 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47006 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47007 echo ' If the last character of a symbol is "*", all symbols beginning'
47008 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47009 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47010 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47011 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47012 echo ' C runtime DLLs.'
47013 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47014 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47015 echo ' unchanged to GCC at the end of command line.'
47016 echo '*> If you create a DLL from a library and you do not specify -o,'
47017 echo ' the basename for DLL and import library will be set to library name,'
47018 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47019 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47020 echo ' library will be renamed into gcc_s.a.'
47023 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47024 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47029 # Execute a command.
47030 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47031 # @Uses Whatever CleanUp() uses.
47037 if [ ${D}rcCmd -ne 0 ]; then
47038 echo "command failed, exit code="${D}rcCmd
47053 CFLAGS="-s -Zcrtdll"
47055 EXPORT_BY_ORDINALS=0
47060 case ${D}curDirS in
47064 curDirS=${D}{curDirS}"/"
47067 # Parse commandline
47070 while [ ${D}1 ]; do
47073 EXPORT_BY_ORDINALS=1;
47083 -name-mangler-script)
47104 exclude_symbols=${D}{exclude_symbols}${D}1" "
47108 library_flags=${D}{library_flags}${D}1" "
47127 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47130 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47131 if [ ${D}omfLinking -eq 1 ]; then
47132 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47134 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47139 if [ ${D}libsToLink -ne 0 ]; then
47140 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47142 for file in ${D}1 ; do
47143 if [ -f ${D}file ]; then
47144 inputFiles="${D}{inputFiles} ${D}file"
47148 if [ ${D}found -eq 0 ]; then
47149 echo "ERROR: No file(s) found: "${D}1
47156 done # iterate cmdline words
47159 if [ -z "${D}inputFiles" ]; then
47160 echo "dllar: no input files"
47164 # Now extract all .o files from .a files
47166 for file in ${D}inputFiles ; do
47177 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47182 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47184 if [ ${D}? -ne 0 ]; then
47185 echo "Failed to create subdirectory ./${D}dirname"
47189 # Append '!' to indicate archive
47190 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47191 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47194 for subfile in ${D}dirname/*.o* ; do
47195 if [ -f ${D}subfile ]; then
47197 if [ -s ${D}subfile ]; then
47198 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47199 newInputFiles="${D}newInputFiles ${D}subfile"
47203 if [ ${D}found -eq 0 ]; then
47204 echo "WARNING: there are no files in archive \\'${D}file\\'"
47208 newInputFiles="${D}{newInputFiles} ${D}file"
47212 inputFiles="${D}newInputFiles"
47214 # Output filename(s).
47216 if [ -z ${D}outFile ]; then
47218 set outFile ${D}inputFiles; outFile=${D}2
47221 # If it is an archive, remove the '!' and the '_%' suffixes
47222 case ${D}outFile in
47224 outFile=\`basnam ${D}outFile _%!\`
47229 case ${D}outFile in
47231 outFile=\`basnam ${D}outFile .dll\`
47234 outFile=\`basnam ${D}outFile .DLL\`
47237 outFile=\`basnam ${D}outFile .o\`
47240 outFile=\`basnam ${D}outFile .obj\`
47243 outFile=\`basnam ${D}outFile .a\`
47246 outFile=\`basnam ${D}outFile .lib\`
47251 case ${D}outimpFile in
47253 outimpFile=\`basnam ${D}outimpFile .a\`
47256 outimpFile=\`basnam ${D}outimpFile .lib\`
47261 if [ -z ${D}outimpFile ]; then
47262 outimpFile=${D}outFile
47264 defFile="${D}{outFile}.def"
47265 arcFile="${D}{outimpFile}.a"
47266 arcFile2="${D}{outimpFile}.lib"
47268 #create ${D}dllFile as something matching 8.3 restrictions,
47269 if [ -z ${D}renameScript ] ; then
47270 dllFile="${D}outFile"
47272 dllFile=\`${D}renameScript ${D}outimpFile\`
47275 if [ ${D}do_backup -ne 0 ] ; then
47276 if [ -f ${D}arcFile ] ; then
47277 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47279 if [ -f ${D}arcFile2 ] ; then
47280 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47284 # Extract public symbols from all the object files.
47285 tmpdefFile=${D}{defFile}_%
47286 rm -f ${D}tmpdefFile
47287 for file in ${D}inputFiles ; do
47292 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47297 # Create the def file.
47299 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47300 dllFile="${D}{dllFile}.dll"
47301 if [ ! -z ${D}description ]; then
47302 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47304 echo "EXPORTS" >> ${D}defFile
47306 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47307 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47309 # Checks if the export is ok or not.
47310 for word in ${D}exclude_symbols; do
47311 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47312 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47316 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47317 sed "=" < ${D}tmpdefFile | \\
47321 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47323 ' > ${D}{tmpdefFile}%
47324 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47326 rm -f ${D}{tmpdefFile}%
47328 cat ${D}tmpdefFile >> ${D}defFile
47329 rm -f ${D}tmpdefFile
47331 # Do linking, create implib, and apply lxlite.
47333 for file in ${D}inputFiles ; do
47338 gccCmdl="${D}gccCmdl ${D}file"
47342 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47343 touch "${D}{outFile}.dll"
47345 doCommand "emximp -o ${D}arcFile ${D}defFile"
47346 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47348 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47351 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47353 doCommand "emxomf -s -l ${D}arcFile"
47363 powerpc
-apple-macos* | \
47364 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47375 if test "x$PIC_FLAG" != "x" ; then
47376 PIC_FLAG
="$PIC_FLAG -DPIC"
47379 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47380 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47382 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47383 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47402 case "${BAKEFILE_HOST}" in
47403 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47404 SONAME_FLAG
="-Wl,-soname,"
47438 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47439 if test "${enable_dependency_tracking+set}" = set; then
47440 enableval
="$enable_dependency_tracking"
47441 bk_use_trackdeps
="$enableval"
47444 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47445 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47447 if test "x$bk_use_trackdeps" = "xno" ; then
47449 echo "$as_me:$LINENO: result: disabled" >&5
47450 echo "${ECHO_T}disabled" >&6
47454 if test "x$GCC" = "xyes"; then
47456 case "${BAKEFILE_HOST}" in
47458 DEPSFLAG
="-no-cpp-precomp -MMD"
47464 echo "$as_me:$LINENO: result: gcc" >&5
47465 echo "${ECHO_T}gcc" >&6
47466 elif test "x$MWCC" = "xyes"; then
47469 echo "$as_me:$LINENO: result: mwcc" >&5
47470 echo "${ECHO_T}mwcc" >&6
47471 elif test "x$SUNCC" = "xyes"; then
47474 echo "$as_me:$LINENO: result: Sun cc" >&5
47475 echo "${ECHO_T}Sun cc" >&6
47476 elif test "x$SGICC" = "xyes"; then
47479 echo "$as_me:$LINENO: result: SGI cc" >&5
47480 echo "${ECHO_T}SGI cc" >&6
47481 elif test "x$HPCC" = "xyes"; then
47484 echo "$as_me:$LINENO: result: HP cc" >&5
47485 echo "${ECHO_T}HP cc" >&6
47486 elif test "x$COMPAQCC" = "xyes"; then
47489 echo "$as_me:$LINENO: result: Compaq cc" >&5
47490 echo "${ECHO_T}Compaq cc" >&6
47493 echo "$as_me:$LINENO: result: none" >&5
47494 echo "${ECHO_T}none" >&6
47497 if test $DEPS_TRACKING = 1 ; then
47503 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47504 # script. It is used to track C/C++ files dependencies in portable way.
47506 # Permission is given to use this file in any way.
47508 DEPSMODE=${DEPSMODE}
47510 DEPSFLAG="${DEPSFLAG}"
47512 mkdir -p ${D}DEPSDIR
47514 if test ${D}DEPSMODE = gcc ; then
47515 ${D}* ${D}{DEPSFLAG}
47517 if test ${D}{status} != 0 ; then
47520 # move created file to the location we want it in:
47521 while test ${D}# -gt 0; do
47535 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47536 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47537 if test -f ${D}depfile ; then
47538 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47541 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47542 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47543 if test ! -f ${D}depfile ; then
47544 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47545 depfile="${D}objfile.d"
47547 if test -f ${D}depfile ; then
47548 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47553 elif test ${D}DEPSMODE = mwcc ; then
47554 ${D}* || exit ${D}?
47555 # Run mwcc again with -MM and redirect into the dep file we want
47556 # NOTE: We can't use shift here because we need ${D}* to be valid
47558 for arg in ${D}* ; do
47559 if test "${D}prevarg" = "-o"; then
47572 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47574 elif test ${D}DEPSMODE = unixcc; then
47575 ${D}* || exit ${D}?
47576 # Run compiler again with deps flag and redirect into the dep file.
47577 # It doesn't work if the '-o FILE' option is used, but without it the
47578 # dependency file will contain the wrong name for the object. So it is
47579 # removed from the command line, and the dep file is fixed with sed.
47581 while test ${D}# -gt 0; do
47588 eval arg${D}#=\\${D}1
47589 cmd="${D}cmd \\${D}arg${D}#"
47594 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47609 case ${BAKEFILE_HOST} in
47610 *-*-cygwin* | *-*-mingw32* )
47611 if test -n "$ac_tool_prefix"; then
47612 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47613 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47614 echo "$as_me:$LINENO: checking for $ac_word" >&5
47615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47616 if test "${ac_cv_prog_WINDRES+set}" = set; then
47617 echo $ECHO_N "(cached) $ECHO_C" >&6
47619 if test -n "$WINDRES"; then
47620 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47623 for as_dir
in $PATH
47626 test -z "$as_dir" && as_dir
=.
47627 for ac_exec_ext
in '' $ac_executable_extensions; do
47628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47629 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47638 WINDRES
=$ac_cv_prog_WINDRES
47639 if test -n "$WINDRES"; then
47640 echo "$as_me:$LINENO: result: $WINDRES" >&5
47641 echo "${ECHO_T}$WINDRES" >&6
47643 echo "$as_me:$LINENO: result: no" >&5
47644 echo "${ECHO_T}no" >&6
47648 if test -z "$ac_cv_prog_WINDRES"; then
47649 ac_ct_WINDRES
=$WINDRES
47650 # Extract the first word of "windres", so it can be a program name with args.
47651 set dummy windres
; ac_word
=$2
47652 echo "$as_me:$LINENO: checking for $ac_word" >&5
47653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47654 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47655 echo $ECHO_N "(cached) $ECHO_C" >&6
47657 if test -n "$ac_ct_WINDRES"; then
47658 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47661 for as_dir
in $PATH
47664 test -z "$as_dir" && as_dir
=.
47665 for ac_exec_ext
in '' $ac_executable_extensions; do
47666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47667 ac_cv_prog_ac_ct_WINDRES
="windres"
47668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47676 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47677 if test -n "$ac_ct_WINDRES"; then
47678 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47679 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47681 echo "$as_me:$LINENO: result: no" >&5
47682 echo "${ECHO_T}no" >&6
47685 WINDRES
=$ac_ct_WINDRES
47687 WINDRES
="$ac_cv_prog_WINDRES"
47692 *-*-darwin* | powerpc
-apple-macos* )
47693 # Extract the first word of "Rez", so it can be a program name with args.
47694 set dummy Rez
; ac_word
=$2
47695 echo "$as_me:$LINENO: checking for $ac_word" >&5
47696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47697 if test "${ac_cv_prog_REZ+set}" = set; then
47698 echo $ECHO_N "(cached) $ECHO_C" >&6
47700 if test -n "$REZ"; then
47701 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47704 for as_dir
in $PATH
47707 test -z "$as_dir" && as_dir
=.
47708 for ac_exec_ext
in '' $ac_executable_extensions; do
47709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47710 ac_cv_prog_REZ
="Rez"
47711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47717 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47720 REZ
=$ac_cv_prog_REZ
47721 if test -n "$REZ"; then
47722 echo "$as_me:$LINENO: result: $REZ" >&5
47723 echo "${ECHO_T}$REZ" >&6
47725 echo "$as_me:$LINENO: result: no" >&5
47726 echo "${ECHO_T}no" >&6
47729 # Extract the first word of "SetFile", so it can be a program name with args.
47730 set dummy SetFile
; ac_word
=$2
47731 echo "$as_me:$LINENO: checking for $ac_word" >&5
47732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47733 if test "${ac_cv_prog_SETFILE+set}" = set; then
47734 echo $ECHO_N "(cached) $ECHO_C" >&6
47736 if test -n "$SETFILE"; then
47737 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47740 for as_dir
in $PATH
47743 test -z "$as_dir" && as_dir
=.
47744 for ac_exec_ext
in '' $ac_executable_extensions; do
47745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47746 ac_cv_prog_SETFILE
="SetFile"
47747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47753 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47756 SETFILE
=$ac_cv_prog_SETFILE
47757 if test -n "$SETFILE"; then
47758 echo "$as_me:$LINENO: result: $SETFILE" >&5
47759 echo "${ECHO_T}$SETFILE" >&6
47761 echo "$as_me:$LINENO: result: no" >&5
47762 echo "${ECHO_T}no" >&6
47773 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
47776 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
47780 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47781 if test "${enable_precomp_headers+set}" = set; then
47782 enableval
="$enable_precomp_headers"
47783 bk_use_pch
="$enableval"
47790 case ${BAKEFILE_HOST} in
47796 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47797 if test "x$GCC" = "xyes"; then
47798 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47799 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47800 cat >conftest.
$ac_ext <<_ACEOF
47803 cat confdefs.h
>>conftest.
$ac_ext
47804 cat >>conftest.
$ac_ext <<_ACEOF
47805 /* end confdefs.h. */
47811 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47812 There is no PCH support
47815 There is no PCH support
47817 #if (__GNUC__ == 3) && \
47818 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47819 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47820 ( defined(__INTEL_COMPILER) )
47821 There is no PCH support
47828 rm -f conftest.
$ac_objext
47829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47830 (eval $ac_compile) 2>conftest.er1
47832 grep -v '^ *+' conftest.er1
>conftest.err
47834 cat conftest.err
>&5
47835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47836 (exit $ac_status); } &&
47837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47839 (eval $ac_try) 2>&5
47841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47842 (exit $ac_status); }; } &&
47843 { ac_try
='test -s conftest.$ac_objext'
47844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47845 (eval $ac_try) 2>&5
47847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47848 (exit $ac_status); }; }; then
47850 echo "$as_me:$LINENO: result: yes" >&5
47851 echo "${ECHO_T}yes" >&6
47855 echo "$as_me: failed program was:" >&5
47856 sed 's/^/| /' conftest.
$ac_ext >&5
47859 cat >conftest.
$ac_ext <<_ACEOF
47862 cat confdefs.h
>>conftest.
$ac_ext
47863 cat >>conftest.
$ac_ext <<_ACEOF
47864 /* end confdefs.h. */
47870 #if !defined(__INTEL_COMPILER) || \
47871 (__INTEL_COMPILER < 800)
47872 There is no PCH support
47879 rm -f conftest.
$ac_objext
47880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47881 (eval $ac_compile) 2>conftest.er1
47883 grep -v '^ *+' conftest.er1
>conftest.err
47885 cat conftest.err
>&5
47886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47887 (exit $ac_status); } &&
47888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47890 (eval $ac_try) 2>&5
47892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47893 (exit $ac_status); }; } &&
47894 { ac_try
='test -s conftest.$ac_objext'
47895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47896 (eval $ac_try) 2>&5
47898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47899 (exit $ac_status); }; }; then
47901 echo "$as_me:$LINENO: result: yes" >&5
47902 echo "${ECHO_T}yes" >&6
47906 echo "$as_me: failed program was:" >&5
47907 sed 's/^/| /' conftest.
$ac_ext >&5
47910 echo "$as_me:$LINENO: result: no" >&5
47911 echo "${ECHO_T}no" >&6
47914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47918 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47922 cat <<EOF >bk-make-pch
47925 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47926 # script. It is used to generated precompiled headers.
47928 # Permission is given to use this file in any way.
47938 while test ${D}{#} -gt 0; do
47942 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47943 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47944 headerfile="${D}{incdir}/${D}{header}"
47947 -use-pch|-use_pch )
47952 if test ${D}add_to_cmdline = 1 ; then
47953 compiler="${D}{compiler} ${D}{1}"
47958 if test "x${D}{headerfile}" = "x" ; then
47959 echo "error: can't find header ${D}{header} in include paths" >&2
47961 if test -f ${D}{outfile} ; then
47962 rm -f ${D}{outfile}
47964 mkdir -p \`dirname ${D}{outfile}\`
47966 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47968 if test "x${GCC_PCH}" = "x1" ; then
47969 # can do this because gcc is >= 3.4:
47970 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47971 elif test "x${ICC_PCH}" = "x1" ; then
47972 filename=pch_gen-${D}${D}
47973 file=${D}{filename}.c
47974 dfile=${D}{filename}.d
47975 cat > ${D}file <<EOT
47976 #include "${D}header"
47978 # using -MF icc complains about differing command lines in creation/use
47979 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47980 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47981 rm -f ${D}file ${D}dfile ${D}{filename}.o
47987 chmod +x bk
-make-pch
47995 COND_BUILD_DEBUG
="#"
47996 if test "x$BUILD" = "xdebug" ; then
47997 COND_BUILD_DEBUG
=""
48000 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48001 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48002 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48005 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48006 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48007 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48010 COND_BUILD_DEBUG_UNICODE_0
="#"
48011 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48012 COND_BUILD_DEBUG_UNICODE_0
=""
48015 COND_BUILD_DEBUG_UNICODE_1
="#"
48016 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48017 COND_BUILD_DEBUG_UNICODE_1
=""
48020 COND_BUILD_RELEASE
="#"
48021 if test "x$BUILD" = "xrelease" ; then
48022 COND_BUILD_RELEASE
=""
48025 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48026 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48027 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48030 COND_BUILD_RELEASE_UNICODE_0
="#"
48031 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48032 COND_BUILD_RELEASE_UNICODE_0
=""
48035 COND_BUILD_RELEASE_UNICODE_1
="#"
48036 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48037 COND_BUILD_RELEASE_UNICODE_1
=""
48040 COND_DEBUG_FLAG_1
="#"
48041 if test "x$DEBUG_FLAG" = "x1" ; then
48042 COND_DEBUG_FLAG_1
=""
48045 COND_DEBUG_INFO_0
="#"
48046 if test "x$DEBUG_INFO" = "x0" ; then
48047 COND_DEBUG_INFO_0
=""
48050 COND_DEBUG_INFO_1
="#"
48051 if test "x$DEBUG_INFO" = "x1" ; then
48052 COND_DEBUG_INFO_1
=""
48055 COND_DEPS_TRACKING_0
="#"
48056 if test "x$DEPS_TRACKING" = "x0" ; then
48057 COND_DEPS_TRACKING_0
=""
48060 COND_DEPS_TRACKING_1
="#"
48061 if test "x$DEPS_TRACKING" = "x1" ; then
48062 COND_DEPS_TRACKING_1
=""
48066 if test "x$GCC_PCH" = "x1" ; then
48071 if test "x$ICC_PCH" = "x1" ; then
48075 COND_MONOLITHIC_0
="#"
48076 if test "x$MONOLITHIC" = "x0" ; then
48077 COND_MONOLITHIC_0
=""
48080 COND_MONOLITHIC_0_SHARED_0
="#"
48081 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48082 COND_MONOLITHIC_0_SHARED_0
=""
48085 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48086 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48087 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48090 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48091 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48092 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48095 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48096 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48097 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48100 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48101 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48105 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48106 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48107 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
48110 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48111 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48112 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48115 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
48116 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48117 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
48120 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48121 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48122 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48125 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48126 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48127 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48130 COND_MONOLITHIC_0_SHARED_1
="#"
48131 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48132 COND_MONOLITHIC_0_SHARED_1
=""
48135 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48136 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48137 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48140 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48141 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48142 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48145 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48146 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48147 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48150 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48151 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48152 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48155 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48156 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48157 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48160 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48161 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48162 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48165 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48166 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48167 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48170 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48171 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48172 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48175 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48176 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48177 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48180 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48181 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48182 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48185 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48186 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48187 COND_MONOLITHIC_0_USE_ODBC_1
=""
48190 COND_MONOLITHIC_1
="#"
48191 if test "x$MONOLITHIC" = "x1" ; then
48192 COND_MONOLITHIC_1
=""
48195 COND_MONOLITHIC_1_SHARED_0
="#"
48196 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48197 COND_MONOLITHIC_1_SHARED_0
=""
48200 COND_MONOLITHIC_1_SHARED_1
="#"
48201 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48202 COND_MONOLITHIC_1_SHARED_1
=""
48205 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48206 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48207 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48210 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48211 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48212 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48215 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48216 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48217 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48220 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48221 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48222 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48225 COND_PLATFORM_MACOSX_1
="#"
48226 if test "x$PLATFORM_MACOSX" = "x1" ; then
48227 COND_PLATFORM_MACOSX_1
=""
48230 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48231 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48232 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48235 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48236 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48237 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48240 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48241 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48242 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48245 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48246 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48247 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48250 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48251 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48252 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48255 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48256 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48257 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48260 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48261 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48262 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48265 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48266 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48267 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48270 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48271 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48272 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48275 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48276 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48277 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48280 COND_PLATFORM_MACOS_1
="#"
48281 if test "x$PLATFORM_MACOS" = "x1" ; then
48282 COND_PLATFORM_MACOS_1
=""
48285 COND_PLATFORM_MAC_1
="#"
48286 if test "x$PLATFORM_MAC" = "x1" ; then
48287 COND_PLATFORM_MAC_1
=""
48290 COND_PLATFORM_MSDOS_0
="#"
48291 if test "x$PLATFORM_MSDOS" = "x0" ; then
48292 COND_PLATFORM_MSDOS_0
=""
48295 COND_PLATFORM_MSDOS_1
="#"
48296 if test "x$PLATFORM_MSDOS" = "x1" ; then
48297 COND_PLATFORM_MSDOS_1
=""
48300 COND_PLATFORM_OS2_1
="#"
48301 if test "x$PLATFORM_OS2" = "x1" ; then
48302 COND_PLATFORM_OS2_1
=""
48305 COND_PLATFORM_UNIX_0
="#"
48306 if test "x$PLATFORM_UNIX" = "x0" ; then
48307 COND_PLATFORM_UNIX_0
=""
48310 COND_PLATFORM_UNIX_1
="#"
48311 if test "x$PLATFORM_UNIX" = "x1" ; then
48312 COND_PLATFORM_UNIX_1
=""
48315 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48316 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48317 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48320 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48321 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48322 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48325 COND_PLATFORM_WIN32_0
="#"
48326 if test "x$PLATFORM_WIN32" = "x0" ; then
48327 COND_PLATFORM_WIN32_0
=""
48330 COND_PLATFORM_WIN32_1
="#"
48331 if test "x$PLATFORM_WIN32" = "x1" ; then
48332 COND_PLATFORM_WIN32_1
=""
48336 if test "x$SHARED" = "x0" ; then
48340 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48341 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48342 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48345 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48346 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48347 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48350 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48351 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48352 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48355 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48356 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48357 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48360 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48361 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48362 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48365 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48366 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48367 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48370 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48371 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48372 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48375 COND_SHARED_0_USE_XRC_1
="#"
48376 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48377 COND_SHARED_0_USE_XRC_1
=""
48380 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48381 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48382 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48385 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48386 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48387 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48390 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48391 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48392 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48395 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48396 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48397 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48401 if test "x$SHARED" = "x1" ; then
48405 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48406 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48407 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48410 COND_SHARED_1_USE_XRC_1
="#"
48411 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48412 COND_SHARED_1_USE_XRC_1
=""
48416 if test "x$TOOLKIT" = "x" ; then
48420 COND_TOOLKIT_COCOA
="#"
48421 if test "x$TOOLKIT" = "xCOCOA" ; then
48422 COND_TOOLKIT_COCOA
=""
48425 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48426 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48427 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48430 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48431 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48432 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48435 COND_TOOLKIT_GTK
="#"
48436 if test "x$TOOLKIT" = "xGTK" ; then
48437 COND_TOOLKIT_GTK
=""
48440 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48441 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48442 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48445 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48446 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48447 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48450 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48451 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48452 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48455 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48456 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48457 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48460 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48461 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48462 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48465 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48466 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48467 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48470 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48471 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48472 COND_TOOLKIT_GTK_USE_GUI_1
=""
48475 COND_TOOLKIT_MAC
="#"
48476 if test "x$TOOLKIT" = "xMAC" ; then
48477 COND_TOOLKIT_MAC
=""
48480 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48481 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48482 COND_TOOLKIT_MAC_USE_GUI_1
=""
48485 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48486 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48487 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48490 COND_TOOLKIT_MGL
="#"
48491 if test "x$TOOLKIT" = "xMGL" ; then
48492 COND_TOOLKIT_MGL
=""
48495 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48496 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48497 COND_TOOLKIT_MGL_USE_GUI_1
=""
48500 COND_TOOLKIT_MOTIF
="#"
48501 if test "x$TOOLKIT" = "xMOTIF" ; then
48502 COND_TOOLKIT_MOTIF
=""
48505 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48506 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48507 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48510 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48511 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48512 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48515 COND_TOOLKIT_MSW
="#"
48516 if test "x$TOOLKIT" = "xMSW" ; then
48517 COND_TOOLKIT_MSW
=""
48520 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48521 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48522 COND_TOOLKIT_MSW_USE_GUI_1
=""
48525 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48526 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48527 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48530 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48531 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48532 COND_TOOLKIT_MSW_WXUNIV_0
=""
48535 COND_TOOLKIT_PM
="#"
48536 if test "x$TOOLKIT" = "xPM" ; then
48540 COND_TOOLKIT_PM_USE_GUI_1
="#"
48541 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48542 COND_TOOLKIT_PM_USE_GUI_1
=""
48545 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48546 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48547 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48550 COND_TOOLKIT_WINCE
="#"
48551 if test "x$TOOLKIT" = "xWINCE" ; then
48552 COND_TOOLKIT_WINCE
=""
48555 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48556 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48557 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48560 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48561 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48562 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48565 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48566 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48567 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48570 COND_TOOLKIT_X11
="#"
48571 if test "x$TOOLKIT" = "xX11" ; then
48572 COND_TOOLKIT_X11
=""
48575 COND_TOOLKIT_X11_USE_GUI_1
="#"
48576 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48577 COND_TOOLKIT_X11_USE_GUI_1
=""
48581 if test "x$UNICODE" = "x1" ; then
48585 COND_USE_EXCEPTIONS_0
="#"
48586 if test "x$USE_EXCEPTIONS" = "x0" ; then
48587 COND_USE_EXCEPTIONS_0
=""
48590 COND_USE_EXCEPTIONS_1
="#"
48591 if test "x$USE_EXCEPTIONS" = "x1" ; then
48592 COND_USE_EXCEPTIONS_1
=""
48596 if test "x$USE_GUI" = "x0" ; then
48601 if test "x$USE_GUI" = "x1" ; then
48605 COND_USE_GUI_1_WXUNIV_0
="#"
48606 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48607 COND_USE_GUI_1_WXUNIV_0
=""
48610 COND_USE_GUI_1_WXUNIV_1
="#"
48611 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48612 COND_USE_GUI_1_WXUNIV_1
=""
48615 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48616 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48617 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48620 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48621 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48622 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48625 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48626 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48627 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48630 COND_USE_ODBC_1
="#"
48631 if test "x$USE_ODBC" = "x1" ; then
48635 COND_USE_OPENGL_1
="#"
48636 if test "x$USE_OPENGL" = "x1" ; then
48637 COND_USE_OPENGL_1
=""
48641 if test "x$USE_PCH" = "x1" ; then
48645 COND_USE_PLUGINS_0
="#"
48646 if test "x$USE_PLUGINS" = "x0" ; then
48647 COND_USE_PLUGINS_0
=""
48650 COND_USE_RTTI_0
="#"
48651 if test "x$USE_RTTI" = "x0" ; then
48655 COND_USE_RTTI_1
="#"
48656 if test "x$USE_RTTI" = "x1" ; then
48660 COND_USE_SOSYMLINKS_1
="#"
48661 if test "x$USE_SOSYMLINKS" = "x1" ; then
48662 COND_USE_SOSYMLINKS_1
=""
48665 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48666 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48667 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48670 COND_USE_SOVERLINUX_1
="#"
48671 if test "x$USE_SOVERLINUX" = "x1" ; then
48672 COND_USE_SOVERLINUX_1
=""
48675 COND_USE_SOVERSION_0
="#"
48676 if test "x$USE_SOVERSION" = "x0" ; then
48677 COND_USE_SOVERSION_0
=""
48680 COND_USE_SOVERSOLARIS_1
="#"
48681 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48682 COND_USE_SOVERSOLARIS_1
=""
48685 COND_USE_THREADS_0
="#"
48686 if test "x$USE_THREADS" = "x0" ; then
48687 COND_USE_THREADS_0
=""
48690 COND_USE_THREADS_1
="#"
48691 if test "x$USE_THREADS" = "x1" ; then
48692 COND_USE_THREADS_1
=""
48696 if test "x$USE_XRC" = "x1" ; then
48700 COND_WINDOWS_IMPLIB_1
="#"
48701 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48702 COND_WINDOWS_IMPLIB_1
=""
48705 COND_WITH_PLUGIN_SDL_1
="#"
48706 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48707 COND_WITH_PLUGIN_SDL_1
=""
48711 if test "x$WXUNIV" = "x0" ; then
48716 if test "x$WXUNIV" = "x1" ; then
48720 COND_WXUSE_EXPAT_BUILTIN
="#"
48721 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48722 COND_WXUSE_EXPAT_BUILTIN
=""
48725 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48726 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48727 COND_WXUSE_LIBJPEG_BUILTIN
=""
48730 COND_WXUSE_LIBPNG_BUILTIN
="#"
48731 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48732 COND_WXUSE_LIBPNG_BUILTIN
=""
48735 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48736 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48737 COND_WXUSE_LIBTIFF_BUILTIN
=""
48740 COND_WXUSE_ODBC_BUILTIN
="#"
48741 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48742 COND_WXUSE_ODBC_BUILTIN
=""
48745 COND_WXUSE_REGEX_BUILTIN
="#"
48746 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48747 COND_WXUSE_REGEX_BUILTIN
=""
48750 COND_WXUSE_ZLIB_BUILTIN
="#"
48751 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48752 COND_WXUSE_ZLIB_BUILTIN
=""
48757 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48758 { { 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
48759 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;}
48760 { (exit 1); exit 1; }; }
48763 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48764 { { 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
48765 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;}
48766 { (exit 1); exit 1; }; }
48771 if test "$wxUSE_MAC" = 1 ; then
48772 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48773 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48779 if test "$wxUSE_SHARED" = "yes"; then
48781 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48782 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48785 *-pc-os2_emx | *-pc-os2-emx )
48786 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48787 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48788 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48789 cp -p ${srcdir}/src
/os
2/dllar.sh .
48794 EXE_LINKER
="$CXX -o"
48797 if test "$wxUSE_OMF" = "yes"; then
48799 *-pc-os2_emx | *-pc-os2-emx )
48800 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48801 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48802 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48807 if test $GCC_PCH = 1 ; then
48808 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48811 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48813 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48875 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48876 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48877 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48878 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48879 echo $ECHO_N "(cached) $ECHO_C" >&6
48881 cat >conftest.
make <<\_ACEOF
48883 @
echo 'ac_maketemp="$(MAKE)"'
48885 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48886 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48887 if test -n "$ac_maketemp"; then
48888 eval ac_cv_prog_make_
${ac_make}_set
=yes
48890 eval ac_cv_prog_make_
${ac_make}_set
=no
48892 rm -f conftest.
make
48894 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48895 echo "$as_me:$LINENO: result: yes" >&5
48896 echo "${ECHO_T}yes" >&6
48899 echo "$as_me:$LINENO: result: no" >&5
48900 echo "${ECHO_T}no" >&6
48901 SET_MAKE
="MAKE=${MAKE-make}"
48906 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48909 if test "$USE_WIN32" = 1; then
48910 ac_config_commands
="$ac_config_commands
48916 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48919 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48922 ac_config_files
="$ac_config_files version-script Makefile"
48925 ac_config_commands
="$ac_config_commands wx-config"
48929 if test "$wxWITH_SUBDIRS" != "no"; then
48930 if test "$wxUSE_GUI" = "yes"; then
48931 SUBDIRS
="samples demos utils contrib"
48932 else SUBDIRS
="samples utils"
48937 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48938 if test "${with_cppunit_prefix+set}" = set; then
48939 withval
="$with_cppunit_prefix"
48940 cppunit_config_prefix
="$withval"
48942 cppunit_config_prefix
=""
48945 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48946 if test "${with_cppunit_exec_prefix+set}" = set; then
48947 withval
="$with_cppunit_exec_prefix"
48948 cppunit_config_exec_prefix
="$withval"
48950 cppunit_config_exec_prefix
=""
48953 if test x
$cppunit_config_exec_prefix != x
; then
48954 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48955 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48956 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48959 if test x
$cppunit_config_prefix != x
; then
48960 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48961 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48962 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48966 # Extract the first word of "cppunit-config", so it can be a program name with args.
48967 set dummy cppunit
-config; ac_word
=$2
48968 echo "$as_me:$LINENO: checking for $ac_word" >&5
48969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48970 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48971 echo $ECHO_N "(cached) $ECHO_C" >&6
48973 case $CPPUNIT_CONFIG in
48975 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48979 for as_dir
in $PATH
48982 test -z "$as_dir" && as_dir
=.
48983 for ac_exec_ext
in '' $ac_executable_extensions; do
48984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48985 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48992 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48996 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48998 if test -n "$CPPUNIT_CONFIG"; then
48999 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49000 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49002 echo "$as_me:$LINENO: result: no" >&5
49003 echo "${ECHO_T}no" >&6
49006 cppunit_version_min
=1.8.0
49008 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49009 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49011 if test "$CPPUNIT_CONFIG" = "no" ; then
49012 echo "$as_me:$LINENO: result: no" >&5
49013 echo "${ECHO_T}no" >&6
49016 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49017 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49018 cppunit_version
=`$CPPUNIT_CONFIG --version`
49020 cppunit_major_version
=`echo $cppunit_version | \
49021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49022 cppunit_minor_version
=`echo $cppunit_version | \
49023 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49024 cppunit_micro_version
=`echo $cppunit_version | \
49025 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49027 cppunit_major_min
=`echo $cppunit_version_min | \
49028 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49029 cppunit_minor_min
=`echo $cppunit_version_min | \
49030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49031 cppunit_micro_min
=`echo $cppunit_version_min | \
49032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49034 cppunit_version_proper
=`expr \
49035 $cppunit_major_version \> $cppunit_major_min \| \
49036 $cppunit_major_version \= $cppunit_major_min \& \
49037 $cppunit_minor_version \> $cppunit_minor_min \| \
49038 $cppunit_major_version \= $cppunit_major_min \& \
49039 $cppunit_minor_version \= $cppunit_minor_min \& \
49040 $cppunit_micro_version \>= $cppunit_micro_min `
49042 if test "$cppunit_version_proper" = "1" ; then
49043 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49044 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49046 echo "$as_me:$LINENO: result: no" >&5
49047 echo "${ECHO_T}no" >&6
49052 if test "x$no_cppunit" = x
; then
49053 SUBDIRS
="$SUBDIRS tests"
49064 for subdir
in `echo $SUBDIRS`; do
49065 if test -d ${srcdir}/${subdir} ; then
49066 if test "$wxUSE_GUI" = "yes"; then
49067 if test ${subdir} = "samples"; then
49068 makefiles
="samples/Makefile.in $makefiles"
49069 for sample
in `echo $SAMPLES_SUBDIRS`; do
49070 if test -d $srcdir/samples
/$sample; then
49071 makefiles
="samples/$sample/Makefile.in $makefiles"
49075 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49076 eval "disabled=\$$disabled_var"
49077 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49078 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49080 else if test ${subdir} = "samples"; then
49081 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49082 elif test ${subdir} = "utils"; then
49084 for util
in HelpGen tex2rtf
; do
49085 if test -d $srcdir/utils
/$util ; then
49086 makefiles
="utils/$util/Makefile.in \
49087 utils/$util/src/Makefile.in \
49091 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49095 for mkin
in $makefiles ; do
49096 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49097 ac_config_files
="$ac_config_files $mk"
49103 cat >confcache
<<\_ACEOF
49104 # This file is a shell script that caches the results of configure
49105 # tests run on this system so they can be shared between configure
49106 # scripts and configure runs, see configure's option --config-cache.
49107 # It is not useful on other systems. If it contains results you don't
49108 # want to keep, you may remove or edit it.
49110 # config.status only pays attention to the cache file if you give it
49111 # the --recheck option to rerun configure.
49113 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49114 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49115 # following values.
49119 # The following way of writing the cache mishandles newlines in values,
49120 # but we know of no workaround that is simple, portable, and efficient.
49121 # So, don't put newlines in cache variables' values.
49122 # Ultrix sh set writes to stderr and can't be redirected directly,
49123 # and sets the high bit in the cache file unless we assign to the vars.
49126 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49128 # `set' does not quote correctly, so add quotes (double-quote
49129 # substitution turns \\\\ into \\, and sed turns \\ into \).
49132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49135 # `set' quotes correctly as required by POSIX, so do not add quotes.
49137 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49146 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49148 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
49149 if test -w $cache_file; then
49150 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49151 cat confcache
>$cache_file
49153 echo "not updating unwritable cache $cache_file"
49158 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49159 # Let make expand exec_prefix.
49160 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49162 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49163 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49164 # trailing colons and then remove the whole line if VPATH becomes empty
49165 # (actually we leave an empty line to preserve line numbers).
49166 if test "x$srcdir" = x.
; then
49167 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
49168 s/:*\$(srcdir):*/:/;
49169 s/:*\${srcdir}:*/:/;
49171 s/^\([^=]*=[ ]*\):*/\1/;
49177 DEFS
=-DHAVE_CONFIG_H
49181 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49182 # 1. Remove the extension, and $U if already installed.
49183 ac_i
=`echo "$ac_i" |
49184 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49186 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
49187 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
49189 LIBOBJS
=$ac_libobjs
49191 LTLIBOBJS
=$ac_ltlibobjs
49195 : ${CONFIG_STATUS=./config.status}
49196 ac_clean_files_save
=$ac_clean_files
49197 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49198 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49199 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49200 cat >$CONFIG_STATUS <<_ACEOF
49202 # Generated by $as_me.
49203 # Run this file to recreate the current configuration.
49204 # Compiler output produced by configure, useful for debugging
49205 # configure, is in config.log if it exists.
49208 ac_cs_recheck=false
49210 SHELL=\${CONFIG_SHELL-$SHELL}
49213 cat >>$CONFIG_STATUS <<\_ACEOF
49214 ## --------------------- ##
49215 ## M4sh Initialization. ##
49216 ## --------------------- ##
49218 # Be Bourne compatible
49219 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49222 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49223 # is contrary to our usage. Disable this feature.
49224 alias -g '${1+"$@"}'='"$@"'
49225 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
49228 DUALCASE
=1; export DUALCASE
# for MKS sh
49230 # Support unset when possible.
49231 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49238 # Work around bugs in pre-3.0 UWIN ksh.
49239 $as_unset ENV MAIL MAILPATH
49246 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49247 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49248 LC_TELEPHONE LC_TIME
49250 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49251 eval $as_var=C
; export $as_var
49257 # Required to use basename.
49258 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49264 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
49265 as_basename
=basename
49271 # Name of the executable.
49272 as_me
=`$as_basename "$0" ||
49273 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49274 X"$0" : 'X\(//\)$' \| \
49275 X"$0" : 'X\(/\)$' \| \
49276 . : '\(.\)' 2>/dev/null ||
49278 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49279 /^X\/\(\/\/\)$/{ s//\1/; q; }
49280 /^X\/\(\/\).*/{ s//\1/; q; }
49284 # PATH needs CR, and LINENO needs CR and PATH.
49285 # Avoid depending upon Character Ranges.
49286 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49287 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49288 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49289 as_cr_digits
='0123456789'
49290 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49292 # The user is always right.
49293 if test "${PATH_SEPARATOR+set}" != set; then
49294 echo "#! /bin/sh" >conf$$.sh
49295 echo "exit 0" >>conf$$.sh
49297 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49306 as_lineno_1
=$LINENO
49307 as_lineno_2
=$LINENO
49308 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
49309 test "x$as_lineno_1" != "x$as_lineno_2" &&
49310 test "x$as_lineno_3" = "x$as_lineno_2" || {
49311 # Find who we are. Look in the path if we contain no path at all
49314 *[\\/]* ) as_myself
=$0 ;;
49315 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49316 for as_dir
in $PATH
49319 test -z "$as_dir" && as_dir
=.
49320 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49325 # We did not find ourselves, most probably we were run as `sh COMMAND'
49326 # in which case we are not to be found in the path.
49327 if test "x$as_myself" = x
; then
49330 if test ! -f "$as_myself"; then
49331 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49332 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49333 { (exit 1); exit 1; }; }
49335 case $CONFIG_SHELL in
49337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49338 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
49341 test -z "$as_dir" && as_dir
=.
49342 for as_base
in sh bash ksh sh5
; do
49345 if ("$as_dir/$as_base" -c '
49346 as_lineno_1=$LINENO
49347 as_lineno_2=$LINENO
49348 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49349 test "x$as_lineno_1" != "x$as_lineno_2" &&
49350 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
49351 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
49352 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
49353 CONFIG_SHELL
=$as_dir/$as_base
49354 export CONFIG_SHELL
49355 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49363 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49364 # uniformly replaced by the line number. The first 'sed' inserts a
49365 # line-number line before each line; the second 'sed' does the real
49366 # work. The second script uses 'N' to pair each line-number line
49367 # with the numbered line, and appends trailing '-' during
49368 # substitution so that $LINENO is not a special case at line end.
49369 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49370 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49371 sed '=' <$as_myself |
49376 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49379 s,^['$as_cr_digits']*\n,,
49380 ' >$as_me.lineno
&&
49381 chmod +x
$as_me.lineno
||
49382 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49383 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49384 { (exit 1); exit 1; }; }
49386 # Don't try to exec as it changes $[0], causing all sort of problems
49387 # (the dirname of $[0] is not the place where we might find the
49388 # original and so on. Autoconf is especially sensible to this).
49390 # Exit status is that of the last command.
49395 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49396 *c
*,-n*) ECHO_N
= ECHO_C
='
49398 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
49399 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
49402 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49408 rm -f conf$$ conf$$.exe conf$$.
file
49410 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49411 # We could just check for DJGPP; but this test a) works b) is more generic
49412 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49413 if test -f conf$$.exe
; then
49414 # Don't use ln at all; we don't have any links
49419 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49424 rm -f conf$$ conf$$.exe conf$$.
file
49426 if mkdir -p .
2>/dev
/null
; then
49429 test -d .
/-p && rmdir .
/-p
49433 as_executable_p
="test -f"
49435 # Sed expression to map a string onto a valid CPP name.
49436 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49438 # Sed expression to map a string onto a valid variable name.
49439 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49443 # We need space, tab and new line, in precisely that order.
49453 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49454 # report actual input values of CONFIG_FILES etc. instead of their
49455 # values after options handling. Logging --version etc. is OK.
49459 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49460 ## Running $as_me. ##
49465 This file was extended by wxWidgets $as_me 2.7.0, which was
49466 generated by GNU Autoconf 2.59. Invocation command line was
49468 CONFIG_FILES = $CONFIG_FILES
49469 CONFIG_HEADERS = $CONFIG_HEADERS
49470 CONFIG_LINKS = $CONFIG_LINKS
49471 CONFIG_COMMANDS = $CONFIG_COMMANDS
49475 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49479 # Files that config.status was made for.
49480 if test -n "$ac_config_files"; then
49481 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49484 if test -n "$ac_config_headers"; then
49485 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49488 if test -n "$ac_config_links"; then
49489 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49492 if test -n "$ac_config_commands"; then
49493 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49496 cat >>$CONFIG_STATUS <<\_ACEOF
49499 \`$as_me' instantiates files from templates according to the
49500 current configuration.
49502 Usage: $0 [OPTIONS] [FILE]...
49504 -h, --help print this help, then exit
49505 -V, --version print version number, then exit
49506 -q, --quiet do not print progress messages
49507 -d, --debug don't remove temporary files
49508 --recheck update $as_me by reconfiguring in the same conditions
49509 --file=FILE[:TEMPLATE]
49510 instantiate the configuration file FILE
49511 --header=FILE[:TEMPLATE]
49512 instantiate the configuration header FILE
49514 Configuration files:
49517 Configuration headers:
49520 Configuration commands:
49523 Report bugs to <bug-autoconf@gnu.org>."
49526 cat >>$CONFIG_STATUS <<_ACEOF
49528 wxWidgets config.status 2.7.0
49529 configured by $0, generated by GNU Autoconf 2.59,
49530 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49532 Copyright (C) 2003 Free Software Foundation, Inc.
49533 This config.status script is free software; the Free Software Foundation
49534 gives unlimited permission to copy, distribute and modify it."
49539 cat >>$CONFIG_STATUS <<\_ACEOF
49540 # If no file are specified by the user, then we need to provide default
49541 # value. By we need to know if files were specified by the user.
49547 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
49548 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
49556 *) # This is not an option, so the user has probably given explicit
49559 ac_need_defaults
=false
;;
49563 # Handling of the options.
49565 cat >>$CONFIG_STATUS <<\_ACEOF
49566 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49568 --version | --vers* | -V )
49569 echo "$ac_cs_version"; exit 0 ;;
49571 # Conflict between --help and --header
49572 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49573 Try \`$0 --help' for more information." >&5
49574 echo "$as_me: error: ambiguous option: $1
49575 Try \`$0 --help' for more information." >&2;}
49576 { (exit 1); exit 1; }; };;
49577 --help | --hel | -h )
49578 echo "$ac_cs_usage"; exit 0 ;;
49579 --debug | --d* | -d )
49581 --file | --fil | --fi | --f )
49583 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49584 ac_need_defaults
=false
;;
49585 --header | --heade | --head | --hea )
49587 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49588 ac_need_defaults
=false
;;
49589 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49590 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49593 # This is an error.
49594 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49595 Try \`$0 --help' for more information." >&5
49596 echo "$as_me: error: unrecognized option: $1
49597 Try \`$0 --help' for more information." >&2;}
49598 { (exit 1); exit 1; }; } ;;
49600 *) ac_config_targets
="$ac_config_targets $1" ;;
49606 ac_configure_extra_args
=
49608 if $ac_cs_silent; then
49610 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49614 cat >>$CONFIG_STATUS <<_ACEOF
49615 if \$ac_cs_recheck; then
49616 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49617 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49622 cat >>$CONFIG_STATUS <<_ACEOF
49624 # INIT-COMMANDS section.
49629 infile="$srcdir/include/wx/msw/genrcdefs.h"
49630 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49633 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49634 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49635 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49643 cat >>$CONFIG_STATUS <<\_ACEOF
49644 for ac_config_target
in $ac_config_targets
49646 case "$ac_config_target" in
49647 # Handling of arguments.
49648 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49649 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49650 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49651 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49652 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49653 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49654 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49655 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49656 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49657 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49658 { (exit 1); exit 1; }; };;
49662 # If the user did not use the arguments to specify the items to instantiate,
49663 # then the envvar interface is used. Set only those that are not.
49664 # We use the long form for the default assignment because of an extremely
49665 # bizarre bug on SunOS 4.1.3.
49666 if $ac_need_defaults; then
49667 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49668 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49669 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49672 # Have a temporary directory for convenience. Make it in the build tree
49673 # simply because there is no reason to put it here, and in addition,
49674 # creating and moving files from /tmp can sometimes cause problems.
49675 # Create a temporary directory, and hook for its removal unless debugging.
49678 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49679 trap '{ (exit 1); exit 1; }' 1 2 13 15
49682 # Create a (secure) tmp directory for tmp files.
49685 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49686 test -n "$tmp" && test -d "$tmp"
49689 tmp
=.
/confstat$$
-$RANDOM
49690 (umask 077 && mkdir $tmp)
49693 echo "$me: cannot create a temporary directory in ." >&2
49694 { (exit 1); exit 1; }
49699 cat >>$CONFIG_STATUS <<_ACEOF
49702 # CONFIG_FILES section.
49705 # No need to generate the scripts if there are no CONFIG_FILES.
49706 # This happens for instance when ./config.status config.h
49707 if test -n "\$CONFIG_FILES"; then
49708 # Protect against being on the right side of a sed subst in config.status.
49709 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49710 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49711 s,@SHELL@,$SHELL,;t t
49712 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49713 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49714 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49715 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49716 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49717 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49718 s,@exec_prefix@,$exec_prefix,;t t
49719 s,@prefix@,$prefix,;t t
49720 s,@program_transform_name@,$program_transform_name,;t t
49721 s,@bindir@,$bindir,;t t
49722 s,@sbindir@,$sbindir,;t t
49723 s,@libexecdir@,$libexecdir,;t t
49724 s,@datadir@,$datadir,;t t
49725 s,@sysconfdir@,$sysconfdir,;t t
49726 s,@sharedstatedir@,$sharedstatedir,;t t
49727 s,@localstatedir@,$localstatedir,;t t
49728 s,@libdir@,$libdir,;t t
49729 s,@includedir@,$includedir,;t t
49730 s,@oldincludedir@,$oldincludedir,;t t
49731 s,@infodir@,$infodir,;t t
49732 s,@mandir@,$mandir,;t t
49733 s,@build_alias@,$build_alias,;t t
49734 s,@host_alias@,$host_alias,;t t
49735 s,@target_alias@,$target_alias,;t t
49736 s,@DEFS@,$DEFS,;t t
49737 s,@ECHO_C@,$ECHO_C,;t t
49738 s,@ECHO_N@,$ECHO_N,;t t
49739 s,@ECHO_T@,$ECHO_T,;t t
49740 s,@LIBS@,$LIBS,;t t
49741 s,@build@,$build,;t t
49742 s,@build_cpu@,$build_cpu,;t t
49743 s,@build_vendor@,$build_vendor,;t t
49744 s,@build_os@,$build_os,;t t
49745 s,@host@,$host,;t t
49746 s,@host_cpu@,$host_cpu,;t t
49747 s,@host_vendor@,$host_vendor,;t t
49748 s,@host_os@,$host_os,;t t
49749 s,@target@,$target,;t t
49750 s,@target_cpu@,$target_cpu,;t t
49751 s,@target_vendor@,$target_vendor,;t t
49752 s,@target_os@,$target_os,;t t
49754 s,@CFLAGS@,$CFLAGS,;t t
49755 s,@LDFLAGS@,$LDFLAGS,;t t
49756 s,@CPPFLAGS@,$CPPFLAGS,;t t
49757 s,@ac_ct_CC@,$ac_ct_CC,;t t
49758 s,@EXEEXT@,$EXEEXT,;t t
49759 s,@OBJEXT@,$OBJEXT,;t t
49761 s,@EGREP@,$EGREP,;t t
49763 s,@CXXFLAGS@,$CXXFLAGS,;t t
49764 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49765 s,@RANLIB@,$RANLIB,;t t
49766 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49768 s,@ac_ct_AR@,$ac_ct_AR,;t t
49769 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49770 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49771 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49772 s,@STRIP@,$STRIP,;t t
49773 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49774 s,@WINDRES@,$WINDRES,;t t
49775 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49776 s,@DLLTOOL@,$DLLTOOL,;t t
49777 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49778 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49779 s,@LN_S@,$LN_S,;t t
49780 s,@CXXCPP@,$CXXCPP,;t t
49781 s,@subdirs@,$subdirs,;t t
49782 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49783 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49784 s,@GTK_LIBS@,$GTK_LIBS,;t t
49785 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49786 s,@X_CFLAGS@,$X_CFLAGS,;t t
49787 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49788 s,@X_LIBS@,$X_LIBS,;t t
49789 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49790 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
49791 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49792 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49793 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49794 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49795 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49796 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49798 s,@DEREZ@,$DEREZ,;t t
49799 s,@SETFILE@,$SETFILE,;t t
49800 s,@LIBICONV@,$LIBICONV,;t t
49801 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49802 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49803 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49804 s,@SDL_LIBS@,$SDL_LIBS,;t t
49805 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49806 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49807 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49808 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49809 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49810 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49811 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49812 s,@GST_LIBS@,$GST_LIBS,;t t
49813 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49814 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49815 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49816 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49817 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49818 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49819 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49820 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49821 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49822 s,@VENDOR@,$VENDOR,;t t
49823 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49824 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49825 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49826 s,@WXUNIV@,$WXUNIV,;t t
49827 s,@MONOLITHIC@,$MONOLITHIC,;t t
49828 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49829 s,@EXTRALIBS@,$EXTRALIBS,;t t
49830 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49831 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49832 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49833 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49834 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49835 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49836 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49837 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49838 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49839 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49840 s,@UNICODE@,$UNICODE,;t t
49841 s,@BUILD@,$BUILD,;t t
49842 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49843 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49844 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49845 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49846 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49847 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49848 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49849 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49850 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49851 s,@SET_MAKE@,$SET_MAKE,;t t
49852 s,@MAKE_SET@,$MAKE_SET,;t t
49854 s,@ac_ct_NM@,$ac_ct_NM,;t t
49855 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49856 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49857 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49858 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49859 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49860 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49861 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49862 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49863 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49864 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49865 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49866 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49867 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49868 s,@LIBPREFIX@,$LIBPREFIX,;t t
49869 s,@LIBEXT@,$LIBEXT,;t t
49870 s,@DLLPREFIX@,$DLLPREFIX,;t t
49871 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49872 s,@dlldir@,$dlldir,;t t
49873 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49874 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49875 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49876 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49877 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49878 s,@PIC_FLAG@,$PIC_FLAG,;t t
49879 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49880 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49881 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49882 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49883 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49884 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49885 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49886 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49887 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49888 s,@GCC_PCH@,$GCC_PCH,;t t
49889 s,@ICC_PCH@,$ICC_PCH,;t t
49890 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49891 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49892 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49893 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49894 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49895 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49896 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49897 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49898 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49899 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49900 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49901 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49902 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49903 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49904 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49905 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49906 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49907 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49908 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49909 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49910 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
49911 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
49912 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
49913 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
49914 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49915 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
49916 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49917 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49918 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49919 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49920 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
49921 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
49922 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
49923 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
49924 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49925 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
49926 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49927 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49928 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49929 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49930 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49931 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49932 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49933 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49934 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49935 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49936 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49937 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49938 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49939 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49940 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49941 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49942 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
49943 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49944 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49945 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49946 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49947 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49948 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49949 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49950 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49951 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49952 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49953 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49954 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49955 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49956 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49957 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49958 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49959 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49960 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49961 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49962 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49963 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49964 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49965 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49966 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49967 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49968 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49969 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49970 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49971 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49972 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49973 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49974 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49975 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49976 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49977 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49978 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49979 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49980 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49981 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49982 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
49983 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49984 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49985 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49986 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49987 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49988 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49989 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49990 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49991 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49992 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49993 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49994 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49995 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49996 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49997 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49998 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49999 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50000 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50001 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50002 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50003 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50004 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50005 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50006 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50007 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50008 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50009 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50010 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50011 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50012 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50013 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50014 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50015 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50016 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50017 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50018 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50019 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50020 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50021 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50022 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50023 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50024 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50025 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50026 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50027 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50028 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50029 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50030 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50031 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50032 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50033 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50034 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50035 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50036 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50037 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50038 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50039 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50040 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50041 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50042 s,@SHARED@,$SHARED,;t t
50043 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50044 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50045 s,@USE_GUI@,$USE_GUI,;t t
50046 s,@AFMINSTALL@,$AFMINSTALL,;t t
50047 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50048 s,@TOOLKIT@,$TOOLKIT,;t t
50049 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50050 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50051 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50052 s,@cross_compiling@,$cross_compiling,;t t
50053 s,@WIDGET_SET@,$WIDGET_SET,;t t
50054 s,@WX_RELEASE@,$WX_RELEASE,;t t
50055 s,@WX_VERSION@,$WX_VERSION,;t t
50056 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50057 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50058 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50059 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50060 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50061 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50062 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50063 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50064 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50065 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50066 s,@EXE_LINKER@,$EXE_LINKER,;t t
50067 s,@GUIDIST@,$GUIDIST,;t t
50068 s,@DISTDIR@,$DISTDIR,;t t
50069 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50070 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50071 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50072 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50073 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50074 s,@RESCOMP@,$RESCOMP,;t t
50075 s,@RESFLAGS@,$RESFLAGS,;t t
50076 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50077 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50078 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50079 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50080 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50081 s,@MACSETFILE@,$MACSETFILE,;t t
50083 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50084 s,@LIBOBJS@,$LIBOBJS,;t t
50085 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50090 cat >>$CONFIG_STATUS <<\_ACEOF
50091 # Split the substitutions into bite-sized pieces for seds with
50092 # small command number limits, like on Digital OSF/1 and HP-UX.
50093 ac_max_sed_lines
=48
50094 ac_sed_frag
=1 # Number of current file.
50095 ac_beg
=1 # First line for current file.
50096 ac_end
=$ac_max_sed_lines # Line after last line for current file.
50099 while $ac_more_lines; do
50100 if test $ac_beg -gt 1; then
50101 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50103 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50105 if test ! -s $tmp/subs.frag
; then
50106 ac_more_lines
=false
50108 # The purpose of the label and of the branching condition is to
50109 # speed up the sed processing (if there are no `@' at all, there
50110 # is no need to browse any of the substitutions).
50111 # These are the two extra sed commands mentioned above.
50113 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
50114 if test -z "$ac_sed_cmds"; then
50115 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
50117 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50119 ac_sed_frag
=`expr $ac_sed_frag + 1`
50121 ac_end
=`expr $ac_end + $ac_max_sed_lines`
50124 if test -z "$ac_sed_cmds"; then
50127 fi # test -n "$CONFIG_FILES"
50130 cat >>$CONFIG_STATUS <<\_ACEOF
50131 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
50132 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50134 - | *:- | *:-:* ) # input from stdin
50136 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50137 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50138 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50139 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50140 * ) ac_file_in
=$ac_file.
in ;;
50143 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50144 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50145 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50146 X"$ac_file" : 'X\(//\)[^/]' \| \
50147 X"$ac_file" : 'X\(//\)$' \| \
50148 X"$ac_file" : 'X\(/\)' \| \
50149 . : '\(.\)' 2>/dev/null ||
50151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50152 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50153 /^X\(\/\/\)$/{ s//\1/; q; }
50154 /^X\(\/\).*/{ s//\1/; q; }
50156 { if $as_mkdir_p; then
50161 while test ! -d "$as_dir"; do
50162 as_dirs
="$as_dir $as_dirs"
50163 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50164 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50165 X"$as_dir" : 'X\(//\)[^/]' \| \
50166 X"$as_dir" : 'X\(//\)$' \| \
50167 X"$as_dir" : 'X\(/\)' \| \
50168 . : '\(.\)' 2>/dev/null ||
50170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50171 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50172 /^X\(\/\/\)$/{ s//\1/; q; }
50173 /^X\(\/\).*/{ s//\1/; q; }
50176 test ! -n "$as_dirs" || mkdir $as_dirs
50177 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50178 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50179 { (exit 1); exit 1; }; }; }
50183 if test "$ac_dir" != .
; then
50184 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50185 # A "../" for each directory in $ac_dir_suffix.
50186 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50188 ac_dir_suffix
= ac_top_builddir
=
50192 .
) # No --srcdir option. We are building in place.
50194 if test -z "$ac_top_builddir"; then
50197 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50199 [\\/]* | ?
:[\\/]* ) # Absolute path.
50200 ac_srcdir
=$srcdir$ac_dir_suffix;
50201 ac_top_srcdir
=$srcdir ;;
50202 *) # Relative path.
50203 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50204 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50207 # Do not use `cd foo && pwd` to compute absolute paths, because
50208 # the directories may not exist.
50210 .
) ac_abs_builddir
="$ac_dir";;
50213 .
) ac_abs_builddir
=`pwd`;;
50214 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50215 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50218 case $ac_abs_builddir in
50219 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50221 case ${ac_top_builddir}.
in
50222 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50223 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50224 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50227 case $ac_abs_builddir in
50228 .
) ac_abs_srcdir
=$ac_srcdir;;
50231 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50232 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50233 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50236 case $ac_abs_builddir in
50237 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50239 case $ac_top_srcdir in
50240 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50241 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50242 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50248 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50249 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
50252 # Let's still pretend it is `configure' which instantiates (i.e., don't
50253 # use $as_me), people would be surprised to read:
50254 # /* config.h. Generated by config.status. */
50255 if test x
"$ac_file" = x
-; then
50258 configure_input
="$ac_file. "
50260 configure_input
=$configure_input"Generated from `echo $ac_file_in |
50261 sed 's,.*/,,'` by configure."
50263 # First look for the input files in the build tree, otherwise in the
50265 ac_file_inputs
=`IFS=:
50266 for f in $ac_file_in; do
50268 -) echo $tmp/stdin ;;
50270 # Absolute (can't be DOS-style, as IFS=:)
50271 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50272 echo "$as_me: error: cannot find input file: $f" >&2;}
50273 { (exit 1); exit 1; }; }
50276 if test -f "$f"; then
50279 elif test -f "$srcdir/$f"; then
50284 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50285 echo "$as_me: error: cannot find input file: $f" >&2;}
50286 { (exit 1); exit 1; }; }
50289 done` || { (exit 1); exit 1; }
50291 if test x
"$ac_file" != x
-; then
50292 { echo "$as_me:$LINENO: creating $ac_file" >&5
50293 echo "$as_me: creating $ac_file" >&6;}
50297 cat >>$CONFIG_STATUS <<_ACEOF
50301 cat >>$CONFIG_STATUS <<\_ACEOF
50303 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50304 s
,@configure_input@
,$configure_input,;t t
50305 s
,@srcdir@
,$ac_srcdir,;t t
50306 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
50307 s
,@top_srcdir@
,$ac_top_srcdir,;t t
50308 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
50309 s
,@builddir@
,$ac_builddir,;t t
50310 s
,@abs_builddir@
,$ac_abs_builddir,;t t
50311 s
,@top_builddir@
,$ac_top_builddir,;t t
50312 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
50313 s
,@INSTALL@
,$ac_INSTALL,;t t
50314 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50316 if test x"$ac_file" != x-; then
50317 mv $tmp/out $ac_file
50323 # Run the commands associated with the file.
50325 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50326 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50330 cat >>$CONFIG_STATUS <<\_ACEOF
50333 # CONFIG_HEADER section.
50336 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
50337 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50339 # ac_d sets the value in "#define NAME VALUE" lines.
50340 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50341 ac_dB
='[ ].*$,\1#\2'
50344 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50345 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50346 ac_uB
='$,\1#\2define\3'
50350 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
50351 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50353 - | *:- | *:-:* ) # input from stdin
50355 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50356 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50357 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50358 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50359 * ) ac_file_in
=$ac_file.
in ;;
50362 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50363 echo "$as_me: creating $ac_file" >&6;}
50365 # First look for the input files in the build tree, otherwise in the
50367 ac_file_inputs
=`IFS=:
50368 for f in $ac_file_in; do
50370 -) echo $tmp/stdin ;;
50372 # Absolute (can't be DOS-style, as IFS=:)
50373 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50374 echo "$as_me: error: cannot find input file: $f" >&2;}
50375 { (exit 1); exit 1; }; }
50376 # Do quote $f, to prevent DOS paths from being IFS'd.
50379 if test -f "$f"; then
50382 elif test -f "$srcdir/$f"; then
50387 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50388 echo "$as_me: error: cannot find input file: $f" >&2;}
50389 { (exit 1); exit 1; }; }
50392 done` || { (exit 1); exit 1; }
50393 # Remove the trailing spaces.
50394 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50398 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50399 # `conftest.undefs', that substitutes the proper values into
50400 # config.h.in to produce config.h. The first handles `#define'
50401 # templates, and the second `#undef' templates.
50402 # And first: Protect against being on the right side of a sed subst in
50403 # config.status. Protect against being in an unquoted here document
50404 # in config.status.
50405 rm -f conftest.defines conftest.undefs
50406 # Using a here document instead of a string reduces the quoting nightmare.
50407 # Putting comments in sed scripts is not portable.
50409 # `end' is used to avoid that the second main sed command (meant for
50410 # 0-ary CPP macros) applies to n-ary macro definitions.
50411 # See the Autoconf documentation for `clear'.
50412 cat >confdef2sed.
sed <<\_ACEOF
50417 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50419 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50422 # If some macros were called several times there might be several times
50423 # the same #defines, which is useless. Nevertheless, we may not want to
50424 # sort them, since we want the *last* AC-DEFINE to be honored.
50425 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50426 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50427 rm -f confdef2sed.sed
50429 # This sed command replaces #undef with comments. This is necessary, for
50430 # example, in the case of _POSIX_SOURCE, which is predefined and required
50431 # on some systems where configure will not decide to define it.
50432 cat >>conftest.undefs <<\_ACEOF
50433 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50436 # Break up conftest.defines because some shells have a limit on the size
50437 # of here documents, and old seds have small limits too (100 cmds).
50438 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50439 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50440 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50441 echo ' :' >>$CONFIG_STATUS
50442 rm -f conftest.tail
50443 while grep . conftest.defines >/dev/null
50445 # Write a limited-size here document to $tmp/defines.sed.
50446 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50447 # Speed up: don't consider the non `#define' lines.
50448 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50449 # Work around the forget-to-reset-the-flag bug.
50450 echo 't clr' >>$CONFIG_STATUS
50451 echo ': clr' >>$CONFIG_STATUS
50452 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
50454 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50456 mv $tmp/out $tmp/in
50458 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
50459 rm -f conftest.defines
50460 mv conftest.
tail conftest.defines
50462 rm -f conftest.defines
50463 echo ' fi # grep' >>$CONFIG_STATUS
50464 echo >>$CONFIG_STATUS
50466 # Break up conftest.undefs because some shells have a limit on the size
50467 # of here documents, and old seds have small limits too (100 cmds).
50468 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50469 rm -f conftest.
tail
50470 while grep . conftest.undefs
>/dev
/null
50472 # Write a limited-size here document to $tmp/undefs.sed.
50473 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50474 # Speed up: don't consider the non
`#undef'
50475 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50476 # Work around the forget-to-reset-the-flag bug.
50477 echo 't clr' >>$CONFIG_STATUS
50478 echo ': clr' >>$CONFIG_STATUS
50479 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50481 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50483 mv $tmp/out $tmp/in
50485 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50486 rm -f conftest.undefs
50487 mv conftest.tail conftest.undefs
50489 rm -f conftest.undefs
50491 cat >>$CONFIG_STATUS <<\_ACEOF
50492 # Let's still pretend it is `configure
' which instantiates (i.e., don't
50493 # use $as_me), people would be surprised to read:
50494 # /* config.h. Generated by config.status. */
50495 if test x
"$ac_file" = x
-; then
50496 echo "/* Generated by configure. */" >$tmp/config.h
50498 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50500 cat $tmp/in >>$tmp/config.h
50502 if test x
"$ac_file" != x
-; then
50503 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
50504 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50505 echo "$as_me: $ac_file is unchanged" >&6;}
50507 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50508 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50509 X"$ac_file" : 'X\(//\)[^/]' \| \
50510 X"$ac_file" : 'X\(//\)$' \| \
50511 X"$ac_file" : 'X\(/\)' \| \
50512 . : '\(.\)' 2>/dev/null ||
50514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50515 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50516 /^X\(\/\/\)$/{ s//\1/; q; }
50517 /^X\(\/\).*/{ s//\1/; q; }
50519 { if $as_mkdir_p; then
50524 while test ! -d "$as_dir"; do
50525 as_dirs
="$as_dir $as_dirs"
50526 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50527 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50528 X"$as_dir" : 'X\(//\)[^/]' \| \
50529 X"$as_dir" : 'X\(//\)$' \| \
50530 X"$as_dir" : 'X\(/\)' \| \
50531 . : '\(.\)' 2>/dev/null ||
50533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50534 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50535 /^X\(\/\/\)$/{ s//\1/; q; }
50536 /^X\(\/\).*/{ s//\1/; q; }
50539 test ! -n "$as_dirs" || mkdir $as_dirs
50540 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50541 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50542 { (exit 1); exit 1; }; }; }
50545 mv $tmp/config.h
$ac_file
50549 rm -f $tmp/config.h
50553 cat >>$CONFIG_STATUS <<\_ACEOF
50556 # CONFIG_COMMANDS section.
50558 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
50559 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
50560 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50561 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
50562 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50563 X"$ac_dest" : 'X\(//\)[^/]' \| \
50564 X"$ac_dest" : 'X\(//\)$' \| \
50565 X"$ac_dest" : 'X\(/\)' \| \
50566 . : '\(.\)' 2>/dev/null ||
50568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50569 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50570 /^X\(\/\/\)$/{ s//\1/; q; }
50571 /^X\(\/\).*/{ s//\1/; q; }
50573 { if $as_mkdir_p; then
50578 while test ! -d "$as_dir"; do
50579 as_dirs
="$as_dir $as_dirs"
50580 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50581 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50582 X"$as_dir" : 'X\(//\)[^/]' \| \
50583 X"$as_dir" : 'X\(//\)$' \| \
50584 X"$as_dir" : 'X\(/\)' \| \
50585 . : '\(.\)' 2>/dev/null ||
50587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50588 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50589 /^X\(\/\/\)$/{ s//\1/; q; }
50590 /^X\(\/\).*/{ s//\1/; q; }
50593 test ! -n "$as_dirs" || mkdir $as_dirs
50594 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50595 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50596 { (exit 1); exit 1; }; }; }
50600 if test "$ac_dir" != .
; then
50601 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50602 # A "../" for each directory in $ac_dir_suffix.
50603 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50605 ac_dir_suffix
= ac_top_builddir
=
50609 .
) # No --srcdir option. We are building in place.
50611 if test -z "$ac_top_builddir"; then
50614 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50616 [\\/]* | ?
:[\\/]* ) # Absolute path.
50617 ac_srcdir
=$srcdir$ac_dir_suffix;
50618 ac_top_srcdir
=$srcdir ;;
50619 *) # Relative path.
50620 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50621 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50624 # Do not use `cd foo && pwd` to compute absolute paths, because
50625 # the directories may not exist.
50627 .
) ac_abs_builddir
="$ac_dir";;
50630 .
) ac_abs_builddir
=`pwd`;;
50631 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50632 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50635 case $ac_abs_builddir in
50636 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50638 case ${ac_top_builddir}.
in
50639 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50640 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50641 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50644 case $ac_abs_builddir in
50645 .
) ac_abs_srcdir
=$ac_srcdir;;
50648 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50649 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50650 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50653 case $ac_abs_builddir in
50654 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50656 case $ac_top_srcdir in
50657 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50658 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50659 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50664 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50665 echo "$as_me: executing $ac_dest commands" >&6;}
50668 mkdir -p $outdir &&
50669 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50671 wx
-config ) rm -f wx
-config
50672 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50678 cat >>$CONFIG_STATUS <<\_ACEOF
50680 { (exit 0); exit 0; }
50682 chmod +x
$CONFIG_STATUS
50683 ac_clean_files
=$ac_clean_files_save
50686 # configure is writing to config.log, and then calls config.status.
50687 # config.status does its own redirection, appending to config.log.
50688 # Unfortunately, on DOS this fails, as config.log is still kept open
50689 # by configure, so config.status won't be able to write to it; its
50690 # output is simply discarded. So we exec the FD to /dev/null,
50691 # effectively closing config.log, so it can be properly (re)opened and
50692 # appended to by config.status. When coming back to configure, we
50693 # need to make the FD available again.
50694 if test "$no_create" != yes; then
50696 ac_config_status_args
=
50697 test "$silent" = yes &&
50698 ac_config_status_args
="$ac_config_status_args --quiet"
50700 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50702 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50703 # would make configure fail if this is the last instruction.
50704 $ac_cs_success || { (exit 1); exit 1; }
50708 # CONFIG_SUBDIRS section.
50710 if test "$no_recursion" != yes; then
50712 # Remove --cache-file and --srcdir arguments so they do not pile up.
50713 ac_sub_configure_args
=
50715 for ac_arg
in $ac_configure_args; do
50716 if test -n "$ac_prev"; then
50721 -cache-file | --cache-file | --cache-fil | --cache-fi \
50722 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50723 ac_prev
=cache_file
;;
50724 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50725 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50728 --config-cache | -C)
50730 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50732 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50734 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50736 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50738 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50742 # Always prepend --prefix to ensure using the same prefix
50743 # in subdir configurations.
50744 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50747 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50749 # Do not complain, so a configure script can configure whichever
50750 # parts of a large source tree are present.
50751 test -d $srcdir/$ac_dir || continue
50753 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50754 echo "$as_me: configuring in $ac_dir" >&6;}
50755 { if $as_mkdir_p; then
50760 while test ! -d "$as_dir"; do
50761 as_dirs
="$as_dir $as_dirs"
50762 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50764 X"$as_dir" : 'X\(//\)[^/]' \| \
50765 X"$as_dir" : 'X\(//\)$' \| \
50766 X"$as_dir" : 'X\(/\)' \| \
50767 . : '\(.\)' 2>/dev/null ||
50769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50770 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50771 /^X\(\/\/\)$/{ s//\1/; q; }
50772 /^X\(\/\).*/{ s//\1/; q; }
50775 test ! -n "$as_dirs" || mkdir $as_dirs
50776 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50777 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50778 { (exit 1); exit 1; }; }; }
50782 if test "$ac_dir" != .
; then
50783 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50784 # A "../" for each directory in $ac_dir_suffix.
50785 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50787 ac_dir_suffix
= ac_top_builddir
=
50791 .
) # No --srcdir option. We are building in place.
50793 if test -z "$ac_top_builddir"; then
50796 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50798 [\\/]* | ?
:[\\/]* ) # Absolute path.
50799 ac_srcdir
=$srcdir$ac_dir_suffix;
50800 ac_top_srcdir
=$srcdir ;;
50801 *) # Relative path.
50802 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50803 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50806 # Do not use `cd foo && pwd` to compute absolute paths, because
50807 # the directories may not exist.
50809 .
) ac_abs_builddir
="$ac_dir";;
50812 .
) ac_abs_builddir
=`pwd`;;
50813 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50814 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50817 case $ac_abs_builddir in
50818 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50820 case ${ac_top_builddir}.
in
50821 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50822 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50823 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50826 case $ac_abs_builddir in
50827 .
) ac_abs_srcdir
=$ac_srcdir;;
50830 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50831 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50832 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50835 case $ac_abs_builddir in
50836 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50838 case $ac_top_srcdir in
50839 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50840 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50841 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50848 # Check for guested configure; otherwise get Cygnus style configure.
50849 if test -f $ac_srcdir/configure.gnu
; then
50850 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50851 elif test -f $ac_srcdir/configure
; then
50852 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50853 elif test -f $ac_srcdir/configure.
in; then
50854 ac_sub_configure
=$ac_configure
50856 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50857 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50861 # The recursion is here.
50862 if test -n "$ac_sub_configure"; then
50863 # Make the cache file name correct relative to the subdirectory.
50864 case $cache_file in
50865 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50866 *) # Relative path.
50867 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50870 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50871 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50872 # The eval makes quoting arguments work.
50873 eval $ac_sub_configure $ac_sub_configure_args \
50874 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50875 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50876 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50877 { (exit 1); exit 1; }; }
50886 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50888 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50889 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50891 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50892 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50893 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50895 echo " What level of wxWidgets compatibility should be enabled?"
50896 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50897 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50899 echo " Which libraries should wxWidgets use?"
50900 echo " jpeg ${wxUSE_LIBJPEG-none}"
50901 echo " png ${wxUSE_LIBPNG-none}"
50902 echo " regex ${wxUSE_REGEX}"
50903 echo " tiff ${wxUSE_LIBTIFF-none}"
50904 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50905 echo " xpm ${wxUSE_LIBXPM-none}"
50907 echo " zlib ${wxUSE_ZLIB}"
50908 echo " odbc ${wxUSE_ODBC}"
50909 echo " expat ${wxUSE_EXPAT}"
50910 echo " libmspack ${wxUSE_LIBMSPACK}"
50911 echo " sdl ${wxUSE_LIBSDL}"