2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.7.0'
274 PACKAGE_STRING
='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_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_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_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-universal_binary create Mac PowerPC and Intel Universal binary
(not yet working
)
893 --enable-compat24 enable wxWidgets
2.4 compatibility
894 --disable-compat26 disable wxWidgets
2.6 compatibility
895 --disable-rpath disable use of rpath
for uninstalled builds
896 --enable-intl use internationalization system
897 --enable-config use wxConfig
(and derived
) classes
898 --enable-protocols use wxProtocol and derived classes
899 --enable-ftp use wxFTP
(requires wxProtocol
900 --enable-http use wxHTTP
(requires wxProtocol
901 --enable-fileproto use wxFileProto class
(requires wxProtocol
902 --enable-sockets use socket
/network classes
903 --enable-ole use OLE classes
(Win32 only
)
904 --enable-dataobj use data object classes
905 --enable-ipc use interprocess communication
(wxSocket etc.
)
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-arcstream use wxArchive streams
908 --enable-backtrace use wxStackWalker class
for getting backtraces
909 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
910 --enable-cmdline use wxCmdLineParser class
911 --enable-datetime use wxDateTime class
912 --enable-debugreport use wxDebugReport class
913 --enable-dialupman use dialup network classes
914 --enable-dynlib use wxLibrary class
for DLL loading
915 --enable-dynamicloader use
(new
) wxDynamicLibrary class
916 --enable-exceptions build exception
-safe library
917 --enable-ffile use wxFFile class
918 --enable-file use wxFile class
919 --enable-filesystem use virtual
file systems classes
920 --enable-fontmap use font encodings conversion classes
921 --enable-fs_inet use virtual HTTP
/FTP filesystems
922 --enable-fs_zip use virtual ZIP filesystems
923 --enable-geometry use geometry class
924 --enable-log use logging system
925 --enable-longlong use wxLongLong class
926 --enable-mimetype use wxMimeTypesManager
927 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
928 --enable-snglinst use wxSingleInstanceChecker class
929 --enable-std_iostreams use standard C
++ stream classes
930 --enable-std_string use standard C
++ string classes
931 --enable-stdpaths use wxStandardPaths class
932 --enable-stopwatch use wxStopWatch class
933 --enable-streams use wxStream etc classes
934 --enable-sysoptions use wxSystemOptions
935 --enable-textbuf use wxTextBuffer class
936 --enable-textfile use wxTextFile class
937 --enable-timer use wxTimer class
938 --enable-unicode compile wxString with Unicode support
939 --enable-sound use wxSound class
940 --enable-mediactrl use wxMediaCtrl class
941 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
942 --enable-wxprintfv use wxWidgets implementation of vprintf
()
943 --enable-zipstream use wxZip streams
944 --enable-url use wxURL class
945 --enable-protocol use wxProtocol class
946 --enable-protocol-http HTTP support
in wxProtocol
947 --enable-protocol-ftp FTP support
in wxProtocol
948 --enable-protocol-file FILE support
in wxProtocol
949 --enable-threads use threads
950 --enable-docview use document view architecture
951 --enable-help use
help subsystem
952 --enable-mshtmlhelp use MS HTML Help
(win32
)
953 --enable-html use wxHTML sub
-library
954 --enable-htmlhelp use wxHTML
-based help
955 --enable-xrc use XRC resources sub
-library
956 --enable-aui use AUI docking library
957 --enable-constraints use layout
-constraints system
958 --enable-printarch use printing architecture
959 --enable-mdi use multiple document interface architecture
960 --enable-mdidoc use docview architecture with MDI
961 --enable-loggui use standard GUI logger
962 --enable-logwin use wxLogWindow
963 --enable-logdialog use wxLogDialog
964 --enable-webkit use wxWebKitCtrl
(Mac
)
965 --enable-richtext use wxRichTextCtrl
966 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
967 --enable-prologio not available
; see contrib
968 --enable-resources not available
; see contrib
969 --enable-clipboard use wxClipboard class
970 --enable-dnd use Drag
'n'Drop classes
971 --enable-metafile use win32 metafiles
972 --enable-controls use all usual controls
973 --enable-accel use accelerators
974 --enable-button use wxButton class
975 --enable-bmpbutton use wxBitmapButton class
976 --enable-calendar use wxCalendarCtrl class
977 --enable-caret use wxCaret class
978 --enable-checkbox use wxCheckBox class
979 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
980 --enable-choice use wxChoice class
981 --enable-choicebook use wxChoicebook class
982 --enable-colourpicker use wxColourPickerCtrl class
983 --enable-combobox use wxComboBox class
984 --enable-comboctrl use wxComboCtrl class
985 --enable-datepick use wxDatePickerCtrl class
986 --enable-dirpicker use wxDirPickerCtrl class
987 --enable-display use wxDisplay class
988 --enable-filepicker use wxFilePickerCtrl class
989 --enable-fontpicker use wxFontPickerCtrl class
990 --enable-gauge use wxGauge class
991 --enable-grid use wxGrid class
992 --enable-dataviewctrl, use wxDataViewCtrl class
993 --enable-hyperlink use wxHyperlinkCtrl class
994 --enable-imaglist use wxImageList class
995 --enable-listbook use wxListbook class
996 --enable-listbox use wxListBox class
997 --enable-listctrl use wxListCtrl class
998 --enable-notebook use wxNotebook class
999 --enable-odcombobox use wxOwnerDrawnComboBox class
1000 --enable-radiobox use wxRadioBox class
1001 --enable-radiobtn use wxRadioButton class
1002 --enable-sash use wxSashWindow class
1003 --enable-scrollbar use wxScrollBar class and scrollable windows
1004 --enable-slider use wxSlider class
1005 --enable-spinbtn use wxSpinButton class
1006 --enable-spinctrl use wxSpinCtrl class
1007 --enable-splitter use wxSplitterWindow class
1008 --enable-statbmp use wxStaticBitmap class
1009 --enable-statbox use wxStaticBox class
1010 --enable-statline use wxStaticLine class
1011 --enable-stattext use wxStaticText class
1012 --enable-statusbar use wxStatusBar class
1013 --enable-tabdialog use wxTabControl class
1014 --enable-textctrl use wxTextCtrl class
1015 --enable-togglebtn use wxToggleButton class
1016 --enable-toolbar use wxToolBar class
1017 --enable-tbarnative use native wxToolBar class
1018 --enable-tbarsmpl use wxToolBarSimple class
1019 --enable-treebook use wxTreebook class
1020 --enable-toolbook use wxToolbook class
1021 --enable-treectrl use wxTreeCtrl class
1022 --enable-tipwindow use wxTipWindow class
1023 --enable-popupwin use wxPopUpWindow class
1024 --enable-commondlg use all common dialogs
1025 --enable-choicedlg use wxChoiceDialog
1026 --enable-coldlg use wxColourDialog
1027 --enable-filedlg use wxFileDialog
1028 --enable-finddlg use wxFindReplaceDialog
1029 --enable-fontdlg use wxFontDialog
1030 --enable-dirdlg use wxDirDialog
1031 --enable-msgdlg use wxMessageDialog
1032 --enable-numberdlg use wxNumberEntryDialog
1033 --enable-splash use wxSplashScreen
1034 --enable-textdlg use wxTextDialog
1035 --enable-tipdlg use startup tips
1036 --enable-progressdlg use wxProgressDialog
1037 --enable-wizarddlg use wxWizard
1038 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1039 --enable-miniframe use wxMiniFrame class
1040 --enable-tooltips use wxToolTip class
1041 --enable-splines use spline drawing code
1042 --enable-mousewheel use mousewheel
1043 --enable-validators use wxValidator and derived classes
1044 --enable-busyinfo use wxBusyInfo
1045 --enable-joystick use wxJoystick
1046 --enable-metafiles use wxMetaFile
(Win32 only
)
1047 --enable-dragimage use wxDragImage
1048 --enable-accessibility enable accessibility support
1049 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1050 --enable-palette use wxPalette class
1051 --enable-image use wxImage class
1052 --enable-gif use gif images
(GIF
file format
)
1053 --enable-pcx use pcx images
(PCX
file format
)
1054 --enable-iff use iff images
(IFF
file format
)
1055 --enable-pnm use pnm images
(PNM
file format
)
1056 --enable-xpm use xpm images
(XPM
file format
)
1057 --enable-icocur use Windows ICO and CUR formats
1058 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1059 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1060 --disable-largefile omit support
for large files
1061 --disable-gtktest do not try to compile and run a
test GTK
+ program
1062 --disable-gtktest Do not try to compile and run a
test GTK program
1063 --disable-sdltest Do not try to compile and run a
test SDL program
1064 --enable-omf use OMF object format
(OS
/2)
1065 --disable-dependency-tracking
1066 don
't use dependency tracking even if the compiler
1068 --disable-precomp-headers
1069 don't use precompiled headers even
if compiler can
1072 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1073 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1074 --without-subdirs don
't generate makefiles for samples/demos/...
1075 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1076 --with-motif use Motif/Lesstif
1077 --with-mac use Mac OS X
1078 --with-cocoa use Cocoa
1079 --with-wine use Wine
1080 --with-msw use MS-Windows
1081 --with-pm use OS/2 Presentation Manager
1082 --with-mgl use SciTech MGL
1083 --with-microwin use MicroWindows
1085 --with-libpng use libpng (PNG image format)
1086 --with-libjpeg use libjpeg (JPEG file format)
1087 --with-libtiff use libtiff (TIFF file format)
1088 --with-libxpm use libxpm (XPM file format)
1089 --with-libmspack use libmspack (CHM help files loading)
1090 --with-sdl use SDL for audio on Unix
1091 --with-gnomeprint use GNOME print for printing under GNOME
1092 --with-gnomevfs use GNOME VFS for associating MIME types
1093 --with-hildon use Hildon framework for Nokia 770
1094 --with-opengl use OpenGL (or Mesa)
1095 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1096 --with-regex enable support for wxRegEx class
1097 --with-zlib use zlib for LZW compression
1098 --with-odbc use the IODBC and wxODBC classes
1099 --with-expat enable XML support using expat parser
1100 --with-flavour=NAME specify a name to identify this build
1101 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1102 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1103 --with-x use the X Window System
1104 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1105 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1106 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1107 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1108 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1110 Some influential environment variables:
1111 CC C compiler command
1112 CFLAGS C compiler flags
1113 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1114 nonstandard directory <lib dir>
1115 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1116 headers in a nonstandard directory <include dir>
1118 CXX C++ compiler command
1119 CXXFLAGS C++ compiler flags
1120 CXXCPP C++ preprocessor
1122 Use these variables to override the choices made by `configure' or to
help
1123 it to
find libraries and programs with nonstandard names
/locations.
1125 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1129 if test "$ac_init_help" = "recursive"; then
1130 # If there are subdirs, report their specific --help.
1132 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1133 test -d $ac_dir || continue
1136 if test "$ac_dir" != .
; then
1137 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1138 # A "../" for each directory in $ac_dir_suffix.
1139 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1141 ac_dir_suffix
= ac_top_builddir
=
1145 .
) # No --srcdir option. We are building in place.
1147 if test -z "$ac_top_builddir"; then
1150 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1152 [\\/]* | ?
:[\\/]* ) # Absolute path.
1153 ac_srcdir
=$srcdir$ac_dir_suffix;
1154 ac_top_srcdir
=$srcdir ;;
1156 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1157 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1160 # Do not use `cd foo && pwd` to compute absolute paths, because
1161 # the directories may not exist.
1163 .
) ac_abs_builddir
="$ac_dir";;
1166 .
) ac_abs_builddir
=`pwd`;;
1167 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1168 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1171 case $ac_abs_builddir in
1172 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1174 case ${ac_top_builddir}.
in
1175 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1176 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1177 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1180 case $ac_abs_builddir in
1181 .
) ac_abs_srcdir
=$ac_srcdir;;
1184 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1185 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1186 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1189 case $ac_abs_builddir in
1190 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1192 case $ac_top_srcdir in
1193 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1194 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1195 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1200 # Check for guested configure; otherwise get Cygnus style configure.
1201 if test -f $ac_srcdir/configure.gnu
; then
1203 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1204 elif test -f $ac_srcdir/configure
; then
1206 $SHELL $ac_srcdir/configure
--help=recursive
1207 elif test -f $ac_srcdir/configure.ac
||
1208 test -f $ac_srcdir/configure.
in; then
1210 $ac_configure --help
1212 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1218 test -n "$ac_init_help" && exit 0
1219 if $ac_init_version; then
1221 wxWidgets configure
2.7.0
1222 generated by GNU Autoconf
2.59
1224 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1225 This configure
script is free software
; the Free Software Foundation
1226 gives unlimited permission to copy
, distribute and modify it.
1232 This file contains any messages produced by compilers while
1233 running configure, to aid debugging if configure makes a mistake.
1235 It was created by wxWidgets $as_me 2.7.0, which was
1236 generated by GNU Autoconf 2.59. Invocation command line was
1247 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1248 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1249 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1250 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1251 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1253 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1254 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1256 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1257 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1258 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1259 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1260 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1261 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1262 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1270 test -z "$as_dir" && as_dir
=.
1271 echo "PATH: $as_dir"
1286 # Keep a trace of the command line.
1287 # Strip out --no-create and --no-recursion so they do not pile up.
1288 # Strip out --silent because we don't want to record it for future runs.
1289 # Also quote any args containing shell meta-characters.
1290 # Make two passes to allow for proper duplicate-argument suppression.
1295 ac_must_keep_next
=false
1301 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1303 | -silent | --silent | --silen | --sile | --sil)
1305 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1306 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1309 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1311 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1312 if test $ac_must_keep_next = true
; then
1313 ac_must_keep_next
=false
# Got value, back to normal.
1316 *=* | --config-cache | -C | -disable-* | --disable-* \
1317 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1318 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1319 | -with-* | --with-* | -without-* | --without-* | --x)
1320 case "$ac_configure_args0 " in
1321 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1324 -* ) ac_must_keep_next
=true
;;
1327 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1328 # Get rid of the leading space.
1334 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1335 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1337 # When interrupted or exit'd, cleanup temporary files, and complete
1338 # config.log. We remove comments because anyway the quotes in there
1339 # would cause problems or look ugly.
1340 # WARNING: Be sure not to use single quotes in there, as some shells,
1341 # such as our DU 5.0 friend, will then `close' the trap.
1342 trap 'exit_status=$?
1343 # Save into config.log some information that might help in debugging.
1348 ## ---------------- ##
1349 ## Cache variables. ##
1350 ## ---------------- ##
1353 # The following way of writing the cache mishandles newlines in values,
1356 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1359 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1364 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1371 ## ----------------- ##
1372 ## Output variables. ##
1373 ## ----------------- ##
1376 for ac_var in $ac_subst_vars
1378 eval ac_val=$`echo $ac_var`
1379 echo "$ac_var='"'"'$ac_val'"'"'"
1383 if test -n "$ac_subst_files"; then
1390 for ac_var in $ac_subst_files
1392 eval ac_val=$`echo $ac_var`
1393 echo "$ac_var='"'"'$ac_val'"'"'"
1398 if test -s confdefs.h; then
1405 sed "/^$/d" confdefs.h | sort
1408 test "$ac_signal" != 0 &&
1409 echo "$as_me: caught signal $ac_signal"
1410 echo "$as_me: exit $exit_status"
1412 rm -f core *.core &&
1413 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1416 for ac_signal
in 1 2 13 15; do
1417 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1421 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1422 rm -rf conftest
* confdefs.h
1423 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1426 # Predefined preprocessor variables.
1428 cat >>confdefs.h
<<_ACEOF
1429 #define PACKAGE_NAME "$PACKAGE_NAME"
1433 cat >>confdefs.h
<<_ACEOF
1434 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1438 cat >>confdefs.h
<<_ACEOF
1439 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1443 cat >>confdefs.h
<<_ACEOF
1444 #define PACKAGE_STRING "$PACKAGE_STRING"
1448 cat >>confdefs.h
<<_ACEOF
1449 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1453 # Let the site file select an alternate cache file if it wants to.
1454 # Prefer explicitly selected file to automatically selected ones.
1455 if test -z "$CONFIG_SITE"; then
1456 if test "x$prefix" != xNONE
; then
1457 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1459 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1462 for ac_site_file
in $CONFIG_SITE; do
1463 if test -r "$ac_site_file"; then
1464 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1465 echo "$as_me: loading site script $ac_site_file" >&6;}
1466 sed 's/^/| /' "$ac_site_file" >&5
1471 if test -r "$cache_file"; then
1472 # Some versions of bash will fail to source /dev/null (special
1473 # files actually), so we avoid doing that.
1474 if test -f "$cache_file"; then
1475 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1476 echo "$as_me: loading cache $cache_file" >&6;}
1478 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1479 *) . .
/$cache_file;;
1483 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1484 echo "$as_me: creating cache $cache_file" >&6;}
1488 # Check that the precious variables saved in the cache have kept the same
1490 ac_cache_corrupted
=false
1491 for ac_var
in `(set) 2>&1 |
1492 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1493 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1494 eval ac_new_set
=\
$ac_env_${ac_var}_set
1495 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1496 eval ac_new_val
="\$ac_env_${ac_var}_value"
1497 case $ac_old_set,$ac_new_set in
1499 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1500 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1501 ac_cache_corrupted
=: ;;
1503 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1504 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1505 ac_cache_corrupted
=: ;;
1508 if test "x$ac_old_val" != "x$ac_new_val"; then
1509 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1510 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1511 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1512 echo "$as_me: former value: $ac_old_val" >&2;}
1513 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1514 echo "$as_me: current value: $ac_new_val" >&2;}
1515 ac_cache_corrupted
=:
1518 # Pass precious variables to config.status.
1519 if test "$ac_new_set" = set; then
1521 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1522 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1523 *) ac_arg
=$ac_var=$ac_new_val ;;
1525 case " $ac_configure_args " in
1526 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1527 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1531 if $ac_cache_corrupted; then
1532 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1533 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1534 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1535 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1536 { (exit 1); exit 1; }; }
1540 ac_cpp
='$CPP $CPPFLAGS'
1541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1575 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1576 if test -f $ac_dir/install-sh; then
1578 ac_install_sh
="$ac_aux_dir/install-sh -c"
1580 elif test -f $ac_dir/install.sh
; then
1582 ac_install_sh
="$ac_aux_dir/install.sh -c"
1584 elif test -f $ac_dir/shtool
; then
1586 ac_install_sh
="$ac_aux_dir/shtool install -c"
1590 if test -z "$ac_aux_dir"; then
1591 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1592 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1593 { (exit 1); exit 1; }; }
1595 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1596 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1597 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1599 # Make sure we can run config.sub.
1600 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1601 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1602 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1603 { (exit 1); exit 1; }; }
1605 echo "$as_me:$LINENO: checking build system type" >&5
1606 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1607 if test "${ac_cv_build+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 ac_cv_build_alias
=$build_alias
1611 test -z "$ac_cv_build_alias" &&
1612 ac_cv_build_alias
=`$ac_config_guess`
1613 test -z "$ac_cv_build_alias" &&
1614 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1615 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1616 { (exit 1); exit 1; }; }
1617 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1618 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1619 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1620 { (exit 1); exit 1; }; }
1623 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1624 echo "${ECHO_T}$ac_cv_build" >&6
1626 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1627 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1628 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1631 echo "$as_me:$LINENO: checking host system type" >&5
1632 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1633 if test "${ac_cv_host+set}" = set; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 ac_cv_host_alias
=$host_alias
1637 test -z "$ac_cv_host_alias" &&
1638 ac_cv_host_alias
=$ac_cv_build_alias
1639 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1640 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1641 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1642 { (exit 1); exit 1; }; }
1645 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1646 echo "${ECHO_T}$ac_cv_host" >&6
1648 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1649 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1650 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1653 echo "$as_me:$LINENO: checking target system type" >&5
1654 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1655 if test "${ac_cv_target+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 ac_cv_target_alias
=$target_alias
1659 test "x$ac_cv_target_alias" = "x" &&
1660 ac_cv_target_alias
=$ac_cv_host_alias
1661 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1662 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1663 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1664 { (exit 1); exit 1; }; }
1667 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1668 echo "${ECHO_T}$ac_cv_target" >&6
1669 target
=$ac_cv_target
1670 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1671 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1672 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1675 # The aliases save the names the user supplied, while $host etc.
1676 # will get canonicalized.
1677 test -n "$target_alias" &&
1678 test "$program_prefix$program_suffix$program_transform_name" = \
1680 program_prefix
=${target_alias}-
1684 wx_major_version_number
=2
1685 wx_minor_version_number
=7
1687 wx_subrelease_number
=0
1689 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1690 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1691 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1693 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1706 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1712 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1718 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1720 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1722 DEFAULT_wxUSE_COCOA
=0
1726 DEFAULT_wxUSE_MICROWIN
=0
1727 DEFAULT_wxUSE_MOTIF
=0
1732 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1733 DEFAULT_DEFAULT_wxUSE_GTK
=0
1734 DEFAULT_DEFAULT_wxUSE_MAC
=0
1735 DEFAULT_DEFAULT_wxUSE_MGL
=0
1736 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1737 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1738 DEFAULT_DEFAULT_wxUSE_MSW
=0
1739 DEFAULT_DEFAULT_wxUSE_PM
=0
1740 DEFAULT_DEFAULT_wxUSE_X11
=0
1745 SAMPLES_RPATH_POSTLINK
=
1747 DEFAULT_STD_FLAG
=yes
1752 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1753 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1755 cat >>confdefs.h
<<\_ACEOF
1760 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1764 cat >>confdefs.h
<<\_ACEOF
1769 if test "x$TMP" = "xalpha"; then
1771 cat >>confdefs.h
<<\_ACEOF
1776 DEFAULT_DEFAULT_wxUSE_GTK
=1
1778 *-*-gnu* | *-*-k*bsd
*-gnu )
1781 if test "x$TMP" = "xalpha"; then
1783 cat >>confdefs.h
<<\_ACEOF
1788 DEFAULT_DEFAULT_wxUSE_GTK
=1
1790 *-*-irix5* | *-*-irix6* )
1793 cat >>confdefs.h
<<\_ACEOF
1797 cat >>confdefs.h
<<\_ACEOF
1801 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1807 cat >>confdefs.h
<<\_ACEOF
1811 cat >>confdefs.h
<<\_ACEOF
1812 #define __SOLARIS__ 1
1815 cat >>confdefs.h
<<\_ACEOF
1819 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1820 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1826 cat >>confdefs.h
<<\_ACEOF
1830 cat >>confdefs.h
<<\_ACEOF
1834 cat >>confdefs.h
<<\_ACEOF
1838 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1843 cat >>confdefs.h
<<\_ACEOF
1844 #define __FREEBSD__ 1
1847 cat >>confdefs.h
<<\_ACEOF
1851 DEFAULT_DEFAULT_wxUSE_GTK
=1
1856 cat >>confdefs.h
<<\_ACEOF
1857 #define __OPENBSD__ 1
1860 cat >>confdefs.h
<<\_ACEOF
1864 DEFAULT_DEFAULT_wxUSE_GTK
=1
1869 cat >>confdefs.h
<<\_ACEOF
1870 #define __NETBSD__ 1
1873 cat >>confdefs.h
<<\_ACEOF
1877 DEFAULT_DEFAULT_wxUSE_GTK
=1
1878 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1880 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1885 cat >>confdefs.h
<<\_ACEOF
1889 cat >>confdefs.h
<<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1894 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1899 cat >>confdefs.h
<<\_ACEOF
1903 cat >>confdefs.h
<<\_ACEOF
1907 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1912 cat >>confdefs.h
<<\_ACEOF
1916 cat >>confdefs.h
<<\_ACEOF
1920 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1927 cat >>confdefs.h
<<\_ACEOF
1931 cat >>confdefs.h
<<\_ACEOF
1935 cat >>confdefs.h
<<\_ACEOF
1939 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1946 cat >>confdefs.h
<<\_ACEOF
1947 #define __UNIXWARE__ 1
1952 *-*-cygwin* | *-*-mingw32* )
1955 DEFAULT_DEFAULT_wxUSE_MSW
=1
1962 cat >>confdefs.h
<<\_ACEOF
1967 DEFAULT_DEFAULT_wxUSE_MGL
=1
1970 *-pc-os2_emx | *-pc-os2-emx )
1971 cat >>confdefs.h
<<\_ACEOF
1976 cat >>confdefs.h
<<\_ACEOF
1981 DEFAULT_DEFAULT_wxUSE_PM
=1
1983 LDFLAGS
="$LDFLAGS -Zcrtdll"
1984 ac_executable_extensions
=".exe"
1985 export ac_executable_extensions
1989 for ac_dir
in $PATH; do
1991 if test -z "$ac_TEMP_PATH"; then
1992 ac_TEMP_PATH
="$ac_dir"
1994 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1997 export PATH
="$ac_TEMP_PATH"
2006 cat >>confdefs.h
<<\_ACEOF
2010 cat >>confdefs.h
<<\_ACEOF
2011 #define __DARWIN__ 1
2014 cat >>confdefs.h
<<\_ACEOF
2015 #define TARGET_CARBON 1
2018 DEFAULT_DEFAULT_wxUSE_MAC
=1
2021 powerpc
-apple-macos* )
2023 ac_cv_c_bigendian
=yes
2025 DEFAULT_DEFAULT_wxUSE_MAC
=1
2031 cat >>confdefs.h
<<\_ACEOF
2038 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2039 echo "$as_me: error: unknown system type ${host}." >&2;}
2040 { (exit 1); exit 1; }; }
2046 wx_arg_cache_file
="configarg.cache"
2047 echo "loading argument cache $wx_arg_cache_file"
2048 rm -f ${wx_arg_cache_file}.tmp
2049 touch ${wx_arg_cache_file}.tmp
2050 touch ${wx_arg_cache_file}
2054 if test $DEBUG_CONFIGURE = 1; then
2055 DEFAULT_wxUSE_UNIVERSAL
=no
2056 DEFAULT_wxUSE_STL
=no
2058 DEFAULT_wxUSE_NANOX
=no
2060 DEFAULT_wxUSE_THREADS
=yes
2062 DEFAULT_wxUSE_SHARED
=yes
2063 DEFAULT_wxUSE_OPTIMISE
=no
2064 DEFAULT_wxUSE_PROFILE
=no
2065 DEFAULT_wxUSE_NO_DEPS
=no
2066 DEFAULT_wxUSE_NO_RTTI
=no
2067 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2068 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2069 DEFAULT_wxUSE_RPATH
=yes
2070 DEFAULT_wxUSE_PERMISSIVE
=no
2071 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2072 DEFAULT_wxUSE_DEBUG_INFO
=yes
2073 DEFAULT_wxUSE_DEBUG_GDB
=yes
2074 DEFAULT_wxUSE_MEM_TRACING
=no
2075 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2076 DEFAULT_wxUSE_DMALLOC
=no
2077 DEFAULT_wxUSE_APPLE_IEEE
=no
2079 DEFAULT_wxUSE_EXCEPTIONS
=no
2080 DEFAULT_wxUSE_LOG
=yes
2081 DEFAULT_wxUSE_LOGWINDOW
=no
2082 DEFAULT_wxUSE_LOGGUI
=no
2083 DEFAULT_wxUSE_LOGDIALOG
=no
2085 DEFAULT_wxUSE_GUI
=yes
2086 DEFAULT_wxUSE_CONTROLS
=no
2088 DEFAULT_wxUSE_REGEX
=no
2089 DEFAULT_wxUSE_XML
=no
2090 DEFAULT_wxUSE_EXPAT
=no
2091 DEFAULT_wxUSE_ZLIB
=no
2092 DEFAULT_wxUSE_LIBPNG
=no
2093 DEFAULT_wxUSE_LIBJPEG
=no
2094 DEFAULT_wxUSE_LIBTIFF
=no
2095 DEFAULT_wxUSE_LIBXPM
=no
2096 DEFAULT_wxUSE_LIBMSPACK
=no
2097 DEFAULT_wxUSE_LIBSDL
=no
2098 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2099 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2100 DEFAULT_wxUSE_LIBHILDON
=no
2101 DEFAULT_wxUSE_ODBC
=no
2102 DEFAULT_wxUSE_OPENGL
=no
2104 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2105 DEFAULT_wxUSE_STACKWALKER
=no
2106 DEFAULT_wxUSE_DEBUGREPORT
=no
2107 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2108 DEFAULT_wxUSE_STD_IOSTREAM
=no
2109 DEFAULT_wxUSE_STD_STRING
=no
2110 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2111 DEFAULT_wxUSE_DATETIME
=no
2112 DEFAULT_wxUSE_TIMER
=no
2113 DEFAULT_wxUSE_STOPWATCH
=no
2114 DEFAULT_wxUSE_FILE
=no
2115 DEFAULT_wxUSE_FFILE
=no
2116 DEFAULT_wxUSE_STDPATHS
=no
2117 DEFAULT_wxUSE_TEXTBUFFER
=no
2118 DEFAULT_wxUSE_TEXTFILE
=no
2119 DEFAULT_wxUSE_SOUND
=no
2120 DEFAULT_wxUSE_MEDIACTRL
=no
2121 DEFAULT_wxUSE_GSTREAMER8
=no
2122 DEFAULT_wxUSE_INTL
=no
2123 DEFAULT_wxUSE_CONFIG
=no
2124 DEFAULT_wxUSE_FONTMAP
=no
2125 DEFAULT_wxUSE_STREAMS
=no
2126 DEFAULT_wxUSE_SOCKETS
=no
2127 DEFAULT_wxUSE_OLE
=no
2128 DEFAULT_wxUSE_DATAOBJ
=no
2129 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2130 DEFAULT_wxUSE_JOYSTICK
=no
2131 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2132 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2133 DEFAULT_wxUSE_LONGLONG
=no
2134 DEFAULT_wxUSE_GEOMETRY
=no
2136 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2137 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2138 DEFAULT_wxUSE_POSTSCRIPT
=no
2140 DEFAULT_wxUSE_CLIPBOARD
=no
2141 DEFAULT_wxUSE_TOOLTIPS
=no
2142 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2143 DEFAULT_wxUSE_DRAGIMAGE
=no
2144 DEFAULT_wxUSE_SPLINES
=no
2145 DEFAULT_wxUSE_MOUSEWHEEL
=no
2147 DEFAULT_wxUSE_MDI
=no
2148 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2149 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2150 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2152 DEFAULT_wxUSE_RESOURCES
=no
2153 DEFAULT_wxUSE_CONSTRAINTS
=no
2154 DEFAULT_wxUSE_IPC
=no
2155 DEFAULT_wxUSE_HELP
=no
2156 DEFAULT_wxUSE_MS_HTML_HELP
=no
2157 DEFAULT_wxUSE_WXHTML_HELP
=no
2158 DEFAULT_wxUSE_TREELAYOUT
=no
2159 DEFAULT_wxUSE_METAFILE
=no
2160 DEFAULT_wxUSE_MIMETYPE
=no
2161 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2162 DEFAULT_wxUSE_PROTOCOL
=no
2163 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2164 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2165 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2166 DEFAULT_wxUSE_URL
=no
2168 DEFAULT_wxUSE_COMMONDLGS
=no
2169 DEFAULT_wxUSE_CHOICEDLG
=no
2170 DEFAULT_wxUSE_COLOURDLG
=no
2171 DEFAULT_wxUSE_DIRDLG
=no
2172 DEFAULT_wxUSE_FILEDLG
=no
2173 DEFAULT_wxUSE_FINDREPLDLG
=no
2174 DEFAULT_wxUSE_FONTDLG
=no
2175 DEFAULT_wxUSE_MSGDLG
=no
2176 DEFAULT_wxUSE_NUMBERDLG
=no
2177 DEFAULT_wxUSE_TEXTDLG
=no
2178 DEFAULT_wxUSE_SPLASH
=no
2179 DEFAULT_wxUSE_STARTUP_TIPS
=no
2180 DEFAULT_wxUSE_PROGRESSDLG
=no
2181 DEFAULT_wxUSE_WIZARDDLG
=no
2183 DEFAULT_wxUSE_MENUS
=no
2184 DEFAULT_wxUSE_MINIFRAME
=no
2185 DEFAULT_wxUSE_HTML
=no
2186 DEFAULT_wxUSE_RICHTEXT
=no
2187 DEFAULT_wxUSE_XRC
=no
2188 DEFAULT_wxUSE_AUI
=no
2189 DEFAULT_wxUSE_WEBKIT
=no
2190 DEFAULT_wxUSE_FILESYSTEM
=no
2191 DEFAULT_wxUSE_FS_INET
=no
2192 DEFAULT_wxUSE_FS_ZIP
=no
2193 DEFAULT_wxUSE_BUSYINFO
=no
2194 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2195 DEFAULT_wxUSE_ZIPSTREAM
=no
2196 DEFAULT_wxUSE_VALIDATORS
=no
2198 DEFAULT_wxUSE_ACCEL
=no
2199 DEFAULT_wxUSE_BUTTON
=no
2200 DEFAULT_wxUSE_BMPBUTTON
=no
2201 DEFAULT_wxUSE_CALCTRL
=no
2202 DEFAULT_wxUSE_CARET
=no
2203 DEFAULT_wxUSE_CHECKBOX
=no
2204 DEFAULT_wxUSE_CHECKLST
=no
2205 DEFAULT_wxUSE_CHOICE
=no
2206 DEFAULT_wxUSE_CHOICEBOOK
=no
2207 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2208 DEFAULT_wxUSE_COMBOBOX
=no
2209 DEFAULT_wxUSE_COMBOCTRL
=no
2210 DEFAULT_wxUSE_DATEPICKCTRL
=no
2211 DEFAULT_wxUSE_DISPLAY
=no
2212 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2213 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2214 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2215 DEFAULT_wxUSE_GAUGE
=no
2216 DEFAULT_wxUSE_GRID
=no
2217 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2218 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2219 DEFAULT_wxUSE_IMAGLIST
=no
2220 DEFAULT_wxUSE_LISTBOOK
=no
2221 DEFAULT_wxUSE_LISTBOX
=no
2222 DEFAULT_wxUSE_LISTCTRL
=no
2223 DEFAULT_wxUSE_NOTEBOOK
=no
2224 DEFAULT_wxUSE_ODCOMBOBOX
=no
2225 DEFAULT_wxUSE_RADIOBOX
=no
2226 DEFAULT_wxUSE_RADIOBTN
=no
2227 DEFAULT_wxUSE_SASH
=no
2228 DEFAULT_wxUSE_SCROLLBAR
=no
2229 DEFAULT_wxUSE_SLIDER
=no
2230 DEFAULT_wxUSE_SPINBTN
=no
2231 DEFAULT_wxUSE_SPINCTRL
=no
2232 DEFAULT_wxUSE_SPLITTER
=no
2233 DEFAULT_wxUSE_STATBMP
=no
2234 DEFAULT_wxUSE_STATBOX
=no
2235 DEFAULT_wxUSE_STATLINE
=no
2236 DEFAULT_wxUSE_STATTEXT
=no
2237 DEFAULT_wxUSE_STATUSBAR
=yes
2238 DEFAULT_wxUSE_TAB_DIALOG
=no
2239 DEFAULT_wxUSE_TEXTCTRL
=no
2240 DEFAULT_wxUSE_TOGGLEBTN
=no
2241 DEFAULT_wxUSE_TOOLBAR
=no
2242 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2243 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2244 DEFAULT_wxUSE_TREEBOOK
=no
2245 DEFAULT_wxUSE_TOOLBOOK
=no
2246 DEFAULT_wxUSE_TREECTRL
=no
2247 DEFAULT_wxUSE_POPUPWIN
=no
2248 DEFAULT_wxUSE_TIPWINDOW
=no
2250 DEFAULT_wxUSE_UNICODE
=no
2251 DEFAULT_wxUSE_UNICODE_MSLU
=no
2252 DEFAULT_wxUSE_WCSRTOMBS
=no
2254 DEFAULT_wxUSE_PALETTE
=no
2255 DEFAULT_wxUSE_IMAGE
=no
2256 DEFAULT_wxUSE_GIF
=no
2257 DEFAULT_wxUSE_PCX
=no
2258 DEFAULT_wxUSE_PNM
=no
2259 DEFAULT_wxUSE_IFF
=no
2260 DEFAULT_wxUSE_XPM
=no
2261 DEFAULT_wxUSE_ICO_CUR
=no
2262 DEFAULT_wxUSE_ACCESSIBILITY
=no
2264 DEFAULT_wxUSE_MONOLITHIC
=no
2265 DEFAULT_wxUSE_PLUGINS
=no
2266 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2268 DEFAULT_wxUSE_UNIVERSAL
=no
2269 DEFAULT_wxUSE_STL
=no
2271 DEFAULT_wxUSE_NANOX
=no
2273 DEFAULT_wxUSE_THREADS
=yes
2275 DEFAULT_wxUSE_SHARED
=yes
2276 DEFAULT_wxUSE_OPTIMISE
=yes
2277 DEFAULT_wxUSE_PROFILE
=no
2278 DEFAULT_wxUSE_NO_DEPS
=no
2279 DEFAULT_wxUSE_NO_RTTI
=no
2280 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2281 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2282 DEFAULT_wxUSE_RPATH
=yes
2283 DEFAULT_wxUSE_PERMISSIVE
=no
2284 DEFAULT_wxUSE_DEBUG_FLAG
=no
2285 DEFAULT_wxUSE_DEBUG_INFO
=no
2286 DEFAULT_wxUSE_DEBUG_GDB
=no
2287 DEFAULT_wxUSE_MEM_TRACING
=no
2288 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2289 DEFAULT_wxUSE_DMALLOC
=no
2290 DEFAULT_wxUSE_APPLE_IEEE
=yes
2292 DEFAULT_wxUSE_EXCEPTIONS
=yes
2293 DEFAULT_wxUSE_LOG
=yes
2294 DEFAULT_wxUSE_LOGWINDOW
=yes
2295 DEFAULT_wxUSE_LOGGUI
=yes
2296 DEFAULT_wxUSE_LOGDIALOG
=yes
2298 DEFAULT_wxUSE_GUI
=yes
2300 DEFAULT_wxUSE_REGEX
=yes
2301 DEFAULT_wxUSE_XML
=yes
2302 DEFAULT_wxUSE_EXPAT
=yes
2303 DEFAULT_wxUSE_ZLIB
=yes
2304 DEFAULT_wxUSE_LIBPNG
=yes
2305 DEFAULT_wxUSE_LIBJPEG
=yes
2306 DEFAULT_wxUSE_LIBTIFF
=yes
2307 DEFAULT_wxUSE_LIBXPM
=yes
2308 DEFAULT_wxUSE_LIBMSPACK
=yes
2309 DEFAULT_wxUSE_LIBSDL
=no
2310 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2311 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2312 DEFAULT_wxUSE_LIBHILDON
=no
2313 DEFAULT_wxUSE_ODBC
=no
2314 DEFAULT_wxUSE_OPENGL
=no
2316 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2317 DEFAULT_wxUSE_STACKWALKER
=yes
2318 DEFAULT_wxUSE_DEBUGREPORT
=yes
2319 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2320 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2321 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2322 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2323 DEFAULT_wxUSE_DATETIME
=yes
2324 DEFAULT_wxUSE_TIMER
=yes
2325 DEFAULT_wxUSE_STOPWATCH
=yes
2326 DEFAULT_wxUSE_FILE
=yes
2327 DEFAULT_wxUSE_FFILE
=yes
2328 DEFAULT_wxUSE_STDPATHS
=yes
2329 DEFAULT_wxUSE_TEXTBUFFER
=yes
2330 DEFAULT_wxUSE_TEXTFILE
=yes
2331 DEFAULT_wxUSE_SOUND
=yes
2332 DEFAULT_wxUSE_MEDIACTRL
=no
2333 DEFAULT_wxUSE_GSTREAMER8
=no
2334 DEFAULT_wxUSE_INTL
=yes
2335 DEFAULT_wxUSE_CONFIG
=yes
2336 DEFAULT_wxUSE_FONTMAP
=yes
2337 DEFAULT_wxUSE_STREAMS
=yes
2338 DEFAULT_wxUSE_SOCKETS
=yes
2339 DEFAULT_wxUSE_OLE
=yes
2340 DEFAULT_wxUSE_DATAOBJ
=yes
2341 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2342 DEFAULT_wxUSE_JOYSTICK
=yes
2343 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2344 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2345 DEFAULT_wxUSE_LONGLONG
=yes
2346 DEFAULT_wxUSE_GEOMETRY
=yes
2348 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2349 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2350 DEFAULT_wxUSE_POSTSCRIPT
=yes
2352 DEFAULT_wxUSE_CLIPBOARD
=yes
2353 DEFAULT_wxUSE_TOOLTIPS
=yes
2354 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2355 DEFAULT_wxUSE_DRAGIMAGE
=yes
2356 DEFAULT_wxUSE_SPLINES
=yes
2357 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2359 DEFAULT_wxUSE_MDI
=yes
2360 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2361 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2362 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2364 DEFAULT_wxUSE_RESOURCES
=no
2365 DEFAULT_wxUSE_CONSTRAINTS
=yes
2366 DEFAULT_wxUSE_IPC
=yes
2367 DEFAULT_wxUSE_HELP
=yes
2368 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2369 DEFAULT_wxUSE_WXHTML_HELP
=yes
2370 DEFAULT_wxUSE_TREELAYOUT
=yes
2371 DEFAULT_wxUSE_METAFILE
=yes
2372 DEFAULT_wxUSE_MIMETYPE
=yes
2373 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2374 DEFAULT_wxUSE_PROTOCOL
=yes
2375 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2376 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2377 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2378 DEFAULT_wxUSE_URL
=yes
2380 DEFAULT_wxUSE_COMMONDLGS
=yes
2381 DEFAULT_wxUSE_CHOICEDLG
=yes
2382 DEFAULT_wxUSE_COLOURDLG
=yes
2383 DEFAULT_wxUSE_DIRDLG
=yes
2384 DEFAULT_wxUSE_FILEDLG
=yes
2385 DEFAULT_wxUSE_FINDREPLDLG
=yes
2386 DEFAULT_wxUSE_FONTDLG
=yes
2387 DEFAULT_wxUSE_MSGDLG
=yes
2388 DEFAULT_wxUSE_NUMBERDLG
=yes
2389 DEFAULT_wxUSE_TEXTDLG
=yes
2390 DEFAULT_wxUSE_SPLASH
=yes
2391 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2392 DEFAULT_wxUSE_PROGRESSDLG
=yes
2393 DEFAULT_wxUSE_WIZARDDLG
=yes
2395 DEFAULT_wxUSE_MENUS
=yes
2396 DEFAULT_wxUSE_MINIFRAME
=yes
2397 DEFAULT_wxUSE_HTML
=yes
2398 DEFAULT_wxUSE_RICHTEXT
=yes
2399 DEFAULT_wxUSE_XRC
=yes
2400 DEFAULT_wxUSE_AUI
=yes
2401 DEFAULT_wxUSE_WEBKIT
=yes
2402 DEFAULT_wxUSE_FILESYSTEM
=yes
2403 DEFAULT_wxUSE_FS_INET
=yes
2404 DEFAULT_wxUSE_FS_ZIP
=yes
2405 DEFAULT_wxUSE_BUSYINFO
=yes
2406 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2407 DEFAULT_wxUSE_ZIPSTREAM
=yes
2408 DEFAULT_wxUSE_VALIDATORS
=yes
2410 DEFAULT_wxUSE_ACCEL
=yes
2411 DEFAULT_wxUSE_BUTTON
=yes
2412 DEFAULT_wxUSE_BMPBUTTON
=yes
2413 DEFAULT_wxUSE_CALCTRL
=yes
2414 DEFAULT_wxUSE_CARET
=yes
2415 DEFAULT_wxUSE_CHECKBOX
=yes
2416 DEFAULT_wxUSE_CHECKLST
=yes
2417 DEFAULT_wxUSE_CHOICE
=yes
2418 DEFAULT_wxUSE_CHOICEBOOK
=yes
2419 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2420 DEFAULT_wxUSE_COMBOBOX
=yes
2421 DEFAULT_wxUSE_COMBOCTRL
=yes
2422 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2423 DEFAULT_wxUSE_DISPLAY
=yes
2424 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2425 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2426 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2427 DEFAULT_wxUSE_GAUGE
=yes
2428 DEFAULT_wxUSE_GRID
=yes
2429 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2430 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2431 DEFAULT_wxUSE_IMAGLIST
=yes
2432 DEFAULT_wxUSE_LISTBOOK
=yes
2433 DEFAULT_wxUSE_LISTBOX
=yes
2434 DEFAULT_wxUSE_LISTCTRL
=yes
2435 DEFAULT_wxUSE_NOTEBOOK
=yes
2436 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2437 DEFAULT_wxUSE_RADIOBOX
=yes
2438 DEFAULT_wxUSE_RADIOBTN
=yes
2439 DEFAULT_wxUSE_SASH
=yes
2440 DEFAULT_wxUSE_SCROLLBAR
=yes
2441 DEFAULT_wxUSE_SLIDER
=yes
2442 DEFAULT_wxUSE_SPINBTN
=yes
2443 DEFAULT_wxUSE_SPINCTRL
=yes
2444 DEFAULT_wxUSE_SPLITTER
=yes
2445 DEFAULT_wxUSE_STATBMP
=yes
2446 DEFAULT_wxUSE_STATBOX
=yes
2447 DEFAULT_wxUSE_STATLINE
=yes
2448 DEFAULT_wxUSE_STATTEXT
=yes
2449 DEFAULT_wxUSE_STATUSBAR
=yes
2450 DEFAULT_wxUSE_TAB_DIALOG
=no
2451 DEFAULT_wxUSE_TEXTCTRL
=yes
2452 DEFAULT_wxUSE_TOGGLEBTN
=yes
2453 DEFAULT_wxUSE_TOOLBAR
=yes
2454 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2455 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2456 DEFAULT_wxUSE_TREEBOOK
=yes
2457 DEFAULT_wxUSE_TOOLBOOK
=yes
2458 DEFAULT_wxUSE_TREECTRL
=yes
2459 DEFAULT_wxUSE_POPUPWIN
=yes
2460 DEFAULT_wxUSE_TIPWINDOW
=yes
2462 DEFAULT_wxUSE_UNICODE
=no
2463 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2464 DEFAULT_wxUSE_WCSRTOMBS
=no
2466 DEFAULT_wxUSE_PALETTE
=yes
2467 DEFAULT_wxUSE_IMAGE
=yes
2468 DEFAULT_wxUSE_GIF
=yes
2469 DEFAULT_wxUSE_PCX
=yes
2470 DEFAULT_wxUSE_IFF
=no
2471 DEFAULT_wxUSE_PNM
=yes
2472 DEFAULT_wxUSE_XPM
=yes
2473 DEFAULT_wxUSE_ICO_CUR
=yes
2474 DEFAULT_wxUSE_ACCESSIBILITY
=no
2476 DEFAULT_wxUSE_MONOLITHIC
=no
2477 DEFAULT_wxUSE_PLUGINS
=no
2478 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2480 DEFAULT_wxUSE_GTK2
=yes
2486 for toolkit
in `echo $ALL_TOOLKITS`; do
2487 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2488 if test "x$LINE" != "x" ; then
2489 has_toolkit_in_cache
=1
2490 eval "DEFAULT_$LINE"
2491 eval "CACHE_$toolkit=1"
2493 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2494 if test "x$LINE" != "x" ; then
2495 eval "DEFAULT_$LINE"
2503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2504 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2506 # Check whether --enable-gui or --disable-gui was given.
2507 if test "${enable_gui+set}" = set; then
2508 enableval
="$enable_gui"
2510 if test "$enableval" = yes; then
2511 ac_cv_use_gui
='wxUSE_GUI=yes'
2513 ac_cv_use_gui
='wxUSE_GUI=no'
2518 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2519 if test "x$LINE" != x
; then
2520 eval "DEFAULT_$LINE"
2525 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2529 eval "$ac_cv_use_gui"
2530 if test "$no_cache" != 1; then
2531 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2534 if test "$wxUSE_GUI" = yes; then
2535 echo "$as_me:$LINENO: result: yes" >&5
2536 echo "${ECHO_T}yes" >&6
2538 echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6
2544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2545 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2547 # Check whether --enable-monolithic or --disable-monolithic was given.
2548 if test "${enable_monolithic+set}" = set; then
2549 enableval
="$enable_monolithic"
2551 if test "$enableval" = yes; then
2552 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2554 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2559 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2560 if test "x$LINE" != x
; then
2561 eval "DEFAULT_$LINE"
2566 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2570 eval "$ac_cv_use_monolithic"
2571 if test "$no_cache" != 1; then
2572 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2575 if test "$wxUSE_MONOLITHIC" = yes; then
2576 echo "$as_me:$LINENO: result: yes" >&5
2577 echo "${ECHO_T}yes" >&6
2579 echo "$as_me:$LINENO: result: no" >&5
2580 echo "${ECHO_T}no" >&6
2585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2586 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2588 # Check whether --enable-plugins or --disable-plugins was given.
2589 if test "${enable_plugins+set}" = set; then
2590 enableval
="$enable_plugins"
2592 if test "$enableval" = yes; then
2593 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2595 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2600 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2601 if test "x$LINE" != x
; then
2602 eval "DEFAULT_$LINE"
2607 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2611 eval "$ac_cv_use_plugins"
2612 if test "$no_cache" != 1; then
2613 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2616 if test "$wxUSE_PLUGINS" = yes; then
2617 echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6
2620 echo "$as_me:$LINENO: result: no" >&5
2621 echo "${ECHO_T}no" >&6
2626 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2627 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2630 # Check whether --with-subdirs or --without-subdirs was given.
2631 if test "${with_subdirs+set}" = set; then
2632 withval
="$with_subdirs"
2634 if test "$withval" = yes; then
2635 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2637 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2642 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2643 if test "x$LINE" != x
; then
2644 eval "DEFAULT_$LINE"
2649 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2653 eval "$ac_cv_use_subdirs"
2654 if test "$no_cache" != 1; then
2655 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2658 if test "$wxWITH_SUBDIRS" = yes; then
2659 echo "$as_me:$LINENO: result: yes" >&5
2660 echo "${ECHO_T}yes" >&6
2662 echo "$as_me:$LINENO: result: no" >&5
2663 echo "${ECHO_T}no" >&6
2667 if test "$wxUSE_GUI" = "yes"; then
2671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2672 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2674 # Check whether --enable-universal or --disable-universal was given.
2675 if test "${enable_universal+set}" = set; then
2676 enableval
="$enable_universal"
2678 if test "$enableval" = yes; then
2679 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2681 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2686 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2687 if test "x$LINE" != x
; then
2688 eval "DEFAULT_$LINE"
2693 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2697 eval "$ac_cv_use_universal"
2698 if test "$no_cache" != 1; then
2699 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2702 if test "$wxUSE_UNIVERSAL" = yes; then
2703 echo "$as_me:$LINENO: result: yes" >&5
2704 echo "${ECHO_T}yes" >&6
2706 echo "$as_me:$LINENO: result: no" >&5
2707 echo "${ECHO_T}no" >&6
2711 # Check whether --with-gtk or --without-gtk was given.
2712 if test "${with_gtk+set}" = set; then
2714 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2717 # Check whether --with-motif or --without-motif was given.
2718 if test "${with_motif+set}" = set; then
2719 withval
="$with_motif"
2720 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2723 # Check whether --with-mac or --without-mac was given.
2724 if test "${with_mac+set}" = set; then
2726 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2729 # Check whether --with-cocoa or --without-cocoa was given.
2730 if test "${with_cocoa+set}" = set; then
2731 withval
="$with_cocoa"
2732 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2735 # Check whether --with-wine or --without-wine was given.
2736 if test "${with_wine+set}" = set; then
2737 withval
="$with_wine"
2738 wxUSE_WINE
="$withval" CACHE_WINE
=1
2741 # Check whether --with-msw or --without-msw was given.
2742 if test "${with_msw+set}" = set; then
2744 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2747 # Check whether --with-pm or --without-pm was given.
2748 if test "${with_pm+set}" = set; then
2750 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2753 # Check whether --with-mgl or --without-mgl was given.
2754 if test "${with_mgl+set}" = set; then
2756 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2759 # Check whether --with-microwin or --without-microwin was given.
2760 if test "${with_microwin+set}" = set; then
2761 withval
="$with_microwin"
2762 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2765 # Check whether --with-x11 or --without-x11 was given.
2766 if test "${with_x11+set}" = set; then
2768 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2773 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2775 # Check whether --enable-nanox or --disable-nanox was given.
2776 if test "${enable_nanox+set}" = set; then
2777 enableval
="$enable_nanox"
2779 if test "$enableval" = yes; then
2780 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2782 ac_cv_use_nanox
='wxUSE_NANOX=no'
2787 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2788 if test "x$LINE" != x
; then
2789 eval "DEFAULT_$LINE"
2794 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2798 eval "$ac_cv_use_nanox"
2799 if test "$no_cache" != 1; then
2800 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2803 if test "$wxUSE_NANOX" = yes; then
2804 echo "$as_me:$LINENO: result: yes" >&5
2805 echo "${ECHO_T}yes" >&6
2807 echo "$as_me:$LINENO: result: no" >&5
2808 echo "${ECHO_T}no" >&6
2812 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2813 if test "${enable_gtk2+set}" = set; then
2814 enableval
="$enable_gtk2"
2815 wxUSE_GTK2
="$enableval"
2819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2820 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2822 # Check whether --enable-gpe or --disable-gpe was given.
2823 if test "${enable_gpe+set}" = set; then
2824 enableval
="$enable_gpe"
2826 if test "$enableval" = yes; then
2827 ac_cv_use_gpe
='wxUSE_GPE=yes'
2829 ac_cv_use_gpe
='wxUSE_GPE=no'
2834 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2835 if test "x$LINE" != x
; then
2836 eval "DEFAULT_$LINE"
2841 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2845 eval "$ac_cv_use_gpe"
2846 if test "$no_cache" != 1; then
2847 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2850 if test "$wxUSE_GPE" = yes; then
2851 echo "$as_me:$LINENO: result: yes" >&5
2852 echo "${ECHO_T}yes" >&6
2854 echo "$as_me:$LINENO: result: no" >&5
2855 echo "${ECHO_T}no" >&6
2860 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2861 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2864 # Check whether --with-libpng or --without-libpng was given.
2865 if test "${with_libpng+set}" = set; then
2866 withval
="$with_libpng"
2868 if test "$withval" = yes; then
2869 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2870 elif test "$withval" = no
; then
2871 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2872 elif test "$withval" = sys
; then
2873 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2874 elif test "$withval" = builtin; then
2875 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2877 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2878 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2879 { (exit 1); exit 1; }; }
2884 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2885 if test "x$LINE" != x
; then
2886 eval "DEFAULT_$LINE"
2891 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2895 eval "$ac_cv_use_libpng"
2896 if test "$no_cache" != 1; then
2897 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2900 if test "$wxUSE_LIBPNG" = yes; then
2901 echo "$as_me:$LINENO: result: yes" >&5
2902 echo "${ECHO_T}yes" >&6
2903 elif test "$wxUSE_LIBPNG" = no
; then
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2906 elif test "$wxUSE_LIBPNG" = sys
; then
2907 echo "$as_me:$LINENO: result: system version" >&5
2908 echo "${ECHO_T}system version" >&6
2909 elif test "$wxUSE_LIBPNG" = builtin; then
2910 echo "$as_me:$LINENO: result: builtin version" >&5
2911 echo "${ECHO_T}builtin version" >&6
2913 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2914 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2915 { (exit 1); exit 1; }; }
2919 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2920 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2923 # Check whether --with-libjpeg or --without-libjpeg was given.
2924 if test "${with_libjpeg+set}" = set; then
2925 withval
="$with_libjpeg"
2927 if test "$withval" = yes; then
2928 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2929 elif test "$withval" = no
; then
2930 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2931 elif test "$withval" = sys
; then
2932 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2933 elif test "$withval" = builtin; then
2934 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2936 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2937 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2938 { (exit 1); exit 1; }; }
2943 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x
; then
2945 eval "DEFAULT_$LINE"
2950 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2954 eval "$ac_cv_use_libjpeg"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2959 if test "$wxUSE_LIBJPEG" = yes; then
2960 echo "$as_me:$LINENO: result: yes" >&5
2961 echo "${ECHO_T}yes" >&6
2962 elif test "$wxUSE_LIBJPEG" = no
; then
2963 echo "$as_me:$LINENO: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2965 elif test "$wxUSE_LIBJPEG" = sys
; then
2966 echo "$as_me:$LINENO: result: system version" >&5
2967 echo "${ECHO_T}system version" >&6
2968 elif test "$wxUSE_LIBJPEG" = builtin; then
2969 echo "$as_me:$LINENO: result: builtin version" >&5
2970 echo "${ECHO_T}builtin version" >&6
2972 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2973 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2974 { (exit 1); exit 1; }; }
2978 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2979 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2982 # Check whether --with-libtiff or --without-libtiff was given.
2983 if test "${with_libtiff+set}" = set; then
2984 withval
="$with_libtiff"
2986 if test "$withval" = yes; then
2987 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2988 elif test "$withval" = no
; then
2989 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2990 elif test "$withval" = sys
; then
2991 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2992 elif test "$withval" = builtin; then
2993 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2995 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2996 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2997 { (exit 1); exit 1; }; }
3002 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3003 if test "x$LINE" != x
; then
3004 eval "DEFAULT_$LINE"
3009 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3013 eval "$ac_cv_use_libtiff"
3014 if test "$no_cache" != 1; then
3015 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3018 if test "$wxUSE_LIBTIFF" = yes; then
3019 echo "$as_me:$LINENO: result: yes" >&5
3020 echo "${ECHO_T}yes" >&6
3021 elif test "$wxUSE_LIBTIFF" = no
; then
3022 echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6
3024 elif test "$wxUSE_LIBTIFF" = sys
; then
3025 echo "$as_me:$LINENO: result: system version" >&5
3026 echo "${ECHO_T}system version" >&6
3027 elif test "$wxUSE_LIBTIFF" = builtin; then
3028 echo "$as_me:$LINENO: result: builtin version" >&5
3029 echo "${ECHO_T}builtin version" >&6
3031 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3032 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3033 { (exit 1); exit 1; }; }
3037 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3038 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3041 # Check whether --with-libxpm or --without-libxpm was given.
3042 if test "${with_libxpm+set}" = set; then
3043 withval
="$with_libxpm"
3045 if test "$withval" = yes; then
3046 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3047 elif test "$withval" = no
; then
3048 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3049 elif test "$withval" = sys
; then
3050 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3051 elif test "$withval" = builtin; then
3052 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3054 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3055 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3056 { (exit 1); exit 1; }; }
3061 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3062 if test "x$LINE" != x
; then
3063 eval "DEFAULT_$LINE"
3068 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3072 eval "$ac_cv_use_libxpm"
3073 if test "$no_cache" != 1; then
3074 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3077 if test "$wxUSE_LIBXPM" = yes; then
3078 echo "$as_me:$LINENO: result: yes" >&5
3079 echo "${ECHO_T}yes" >&6
3080 elif test "$wxUSE_LIBXPM" = no
; then
3081 echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6
3083 elif test "$wxUSE_LIBXPM" = sys
; then
3084 echo "$as_me:$LINENO: result: system version" >&5
3085 echo "${ECHO_T}system version" >&6
3086 elif test "$wxUSE_LIBXPM" = builtin; then
3087 echo "$as_me:$LINENO: result: builtin version" >&5
3088 echo "${ECHO_T}builtin version" >&6
3090 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3091 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3092 { (exit 1); exit 1; }; }
3097 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3098 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3101 # Check whether --with-libmspack or --without-libmspack was given.
3102 if test "${with_libmspack+set}" = set; then
3103 withval
="$with_libmspack"
3105 if test "$withval" = yes; then
3106 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3108 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3113 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3114 if test "x$LINE" != x
; then
3115 eval "DEFAULT_$LINE"
3120 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3124 eval "$ac_cv_use_libmspack"
3125 if test "$no_cache" != 1; then
3126 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3129 if test "$wxUSE_LIBMSPACK" = yes; then
3130 echo "$as_me:$LINENO: result: yes" >&5
3131 echo "${ECHO_T}yes" >&6
3133 echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6
3139 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3140 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3143 # Check whether --with-sdl or --without-sdl was given.
3144 if test "${with_sdl+set}" = set; then
3147 if test "$withval" = yes; then
3148 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3150 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3155 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3156 if test "x$LINE" != x
; then
3157 eval "DEFAULT_$LINE"
3162 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3166 eval "$ac_cv_use_sdl"
3167 if test "$no_cache" != 1; then
3168 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3171 if test "$wxUSE_LIBSDL" = yes; then
3172 echo "$as_me:$LINENO: result: yes" >&5
3173 echo "${ECHO_T}yes" >&6
3175 echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3181 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3182 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3185 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3186 if test "${with_gnomeprint+set}" = set; then
3187 withval
="$with_gnomeprint"
3189 if test "$withval" = yes; then
3190 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3192 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3197 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3198 if test "x$LINE" != x
; then
3199 eval "DEFAULT_$LINE"
3204 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3208 eval "$ac_cv_use_gnomeprint"
3209 if test "$no_cache" != 1; then
3210 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3213 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3214 echo "$as_me:$LINENO: result: yes" >&5
3215 echo "${ECHO_T}yes" >&6
3217 echo "$as_me:$LINENO: result: no" >&5
3218 echo "${ECHO_T}no" >&6
3223 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3224 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3227 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3228 if test "${with_gnomevfs+set}" = set; then
3229 withval
="$with_gnomevfs"
3231 if test "$withval" = yes; then
3232 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3234 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3239 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3240 if test "x$LINE" != x
; then
3241 eval "DEFAULT_$LINE"
3246 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3250 eval "$ac_cv_use_gnomevfs"
3251 if test "$no_cache" != 1; then
3252 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3255 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3256 echo "$as_me:$LINENO: result: yes" >&5
3257 echo "${ECHO_T}yes" >&6
3259 echo "$as_me:$LINENO: result: no" >&5
3260 echo "${ECHO_T}no" >&6
3265 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3266 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3269 # Check whether --with-hildon or --without-hildon was given.
3270 if test "${with_hildon+set}" = set; then
3271 withval
="$with_hildon"
3273 if test "$withval" = yes; then
3274 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3276 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3281 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3282 if test "x$LINE" != x
; then
3283 eval "DEFAULT_$LINE"
3288 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3292 eval "$ac_cv_use_hildon"
3293 if test "$no_cache" != 1; then
3294 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3297 if test "$wxUSE_LIBHILDON" = yes; then
3298 echo "$as_me:$LINENO: result: yes" >&5
3299 echo "${ECHO_T}yes" >&6
3301 echo "$as_me:$LINENO: result: no" >&5
3302 echo "${ECHO_T}no" >&6
3307 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3308 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3311 # Check whether --with-opengl or --without-opengl was given.
3312 if test "${with_opengl+set}" = set; then
3313 withval
="$with_opengl"
3315 if test "$withval" = yes; then
3316 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3318 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3323 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3324 if test "x$LINE" != x
; then
3325 eval "DEFAULT_$LINE"
3330 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3334 eval "$ac_cv_use_opengl"
3335 if test "$no_cache" != 1; then
3336 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3339 if test "$wxUSE_OPENGL" = yes; then
3340 echo "$as_me:$LINENO: result: yes" >&5
3341 echo "${ECHO_T}yes" >&6
3343 echo "$as_me:$LINENO: result: no" >&5
3344 echo "${ECHO_T}no" >&6
3352 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3353 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3356 # Check whether --with-dmalloc or --without-dmalloc was given.
3357 if test "${with_dmalloc+set}" = set; then
3358 withval
="$with_dmalloc"
3360 if test "$withval" = yes; then
3361 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3363 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3368 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x
; then
3370 eval "DEFAULT_$LINE"
3375 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3379 eval "$ac_cv_use_dmalloc"
3380 if test "$no_cache" != 1; then
3381 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3384 if test "$wxUSE_DMALLOC" = yes; then
3385 echo "$as_me:$LINENO: result: yes" >&5
3386 echo "${ECHO_T}yes" >&6
3388 echo "$as_me:$LINENO: result: no" >&5
3389 echo "${ECHO_T}no" >&6
3393 echo "$as_me:$LINENO: checking for --with-regex" >&5
3394 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3397 # Check whether --with-regex or --without-regex was given.
3398 if test "${with_regex+set}" = set; then
3399 withval
="$with_regex"
3401 if test "$withval" = yes; then
3402 ac_cv_use_regex
='wxUSE_REGEX=yes'
3403 elif test "$withval" = no
; then
3404 ac_cv_use_regex
='wxUSE_REGEX=no'
3405 elif test "$withval" = sys
; then
3406 ac_cv_use_regex
='wxUSE_REGEX=sys'
3407 elif test "$withval" = builtin; then
3408 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3410 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3411 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3412 { (exit 1); exit 1; }; }
3417 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3418 if test "x$LINE" != x
; then
3419 eval "DEFAULT_$LINE"
3424 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3428 eval "$ac_cv_use_regex"
3429 if test "$no_cache" != 1; then
3430 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3433 if test "$wxUSE_REGEX" = yes; then
3434 echo "$as_me:$LINENO: result: yes" >&5
3435 echo "${ECHO_T}yes" >&6
3436 elif test "$wxUSE_REGEX" = no
; then
3437 echo "$as_me:$LINENO: result: no" >&5
3438 echo "${ECHO_T}no" >&6
3439 elif test "$wxUSE_REGEX" = sys
; then
3440 echo "$as_me:$LINENO: result: system version" >&5
3441 echo "${ECHO_T}system version" >&6
3442 elif test "$wxUSE_REGEX" = builtin; then
3443 echo "$as_me:$LINENO: result: builtin version" >&5
3444 echo "${ECHO_T}builtin version" >&6
3446 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3447 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3448 { (exit 1); exit 1; }; }
3452 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3453 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3456 # Check whether --with-zlib or --without-zlib was given.
3457 if test "${with_zlib+set}" = set; then
3458 withval
="$with_zlib"
3460 if test "$withval" = yes; then
3461 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3462 elif test "$withval" = no
; then
3463 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3464 elif test "$withval" = sys
; then
3465 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3466 elif test "$withval" = builtin; then
3467 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3469 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3470 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3471 { (exit 1); exit 1; }; }
3476 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3477 if test "x$LINE" != x
; then
3478 eval "DEFAULT_$LINE"
3483 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3487 eval "$ac_cv_use_zlib"
3488 if test "$no_cache" != 1; then
3489 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3492 if test "$wxUSE_ZLIB" = yes; then
3493 echo "$as_me:$LINENO: result: yes" >&5
3494 echo "${ECHO_T}yes" >&6
3495 elif test "$wxUSE_ZLIB" = no
; then
3496 echo "$as_me:$LINENO: result: no" >&5
3497 echo "${ECHO_T}no" >&6
3498 elif test "$wxUSE_ZLIB" = sys
; then
3499 echo "$as_me:$LINENO: result: system version" >&5
3500 echo "${ECHO_T}system version" >&6
3501 elif test "$wxUSE_ZLIB" = builtin; then
3502 echo "$as_me:$LINENO: result: builtin version" >&5
3503 echo "${ECHO_T}builtin version" >&6
3505 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3506 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3507 { (exit 1); exit 1; }; }
3511 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3512 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3515 # Check whether --with-odbc or --without-odbc was given.
3516 if test "${with_odbc+set}" = set; then
3517 withval
="$with_odbc"
3519 if test "$withval" = yes; then
3520 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3521 elif test "$withval" = no
; then
3522 ac_cv_use_odbc
='wxUSE_ODBC=no'
3523 elif test "$withval" = sys
; then
3524 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3525 elif test "$withval" = builtin; then
3526 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3528 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3529 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3530 { (exit 1); exit 1; }; }
3535 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3536 if test "x$LINE" != x
; then
3537 eval "DEFAULT_$LINE"
3542 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3546 eval "$ac_cv_use_odbc"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3551 if test "$wxUSE_ODBC" = yes; then
3552 echo "$as_me:$LINENO: result: yes" >&5
3553 echo "${ECHO_T}yes" >&6
3554 elif test "$wxUSE_ODBC" = no
; then
3555 echo "$as_me:$LINENO: result: no" >&5
3556 echo "${ECHO_T}no" >&6
3557 elif test "$wxUSE_ODBC" = sys
; then
3558 echo "$as_me:$LINENO: result: system version" >&5
3559 echo "${ECHO_T}system version" >&6
3560 elif test "$wxUSE_ODBC" = builtin; then
3561 echo "$as_me:$LINENO: result: builtin version" >&5
3562 echo "${ECHO_T}builtin version" >&6
3564 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3565 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3566 { (exit 1); exit 1; }; }
3570 echo "$as_me:$LINENO: checking for --with-expat" >&5
3571 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3574 # Check whether --with-expat or --without-expat was given.
3575 if test "${with_expat+set}" = set; then
3576 withval
="$with_expat"
3578 if test "$withval" = yes; then
3579 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3580 elif test "$withval" = no
; then
3581 ac_cv_use_expat
='wxUSE_EXPAT=no'
3582 elif test "$withval" = sys
; then
3583 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3584 elif test "$withval" = builtin; then
3585 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3587 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3588 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3589 { (exit 1); exit 1; }; }
3594 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3595 if test "x$LINE" != x
; then
3596 eval "DEFAULT_$LINE"
3601 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3605 eval "$ac_cv_use_expat"
3606 if test "$no_cache" != 1; then
3607 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3610 if test "$wxUSE_EXPAT" = yes; then
3611 echo "$as_me:$LINENO: result: yes" >&5
3612 echo "${ECHO_T}yes" >&6
3613 elif test "$wxUSE_EXPAT" = no
; then
3614 echo "$as_me:$LINENO: result: no" >&5
3615 echo "${ECHO_T}no" >&6
3616 elif test "$wxUSE_EXPAT" = sys
; then
3617 echo "$as_me:$LINENO: result: system version" >&5
3618 echo "${ECHO_T}system version" >&6
3619 elif test "$wxUSE_EXPAT" = builtin; then
3620 echo "$as_me:$LINENO: result: builtin version" >&5
3621 echo "${ECHO_T}builtin version" >&6
3623 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3624 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3625 { (exit 1); exit 1; }; }
3632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3633 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3635 # Check whether --enable-shared or --disable-shared was given.
3636 if test "${enable_shared+set}" = set; then
3637 enableval
="$enable_shared"
3639 if test "$enableval" = yes; then
3640 ac_cv_use_shared
='wxUSE_SHARED=yes'
3642 ac_cv_use_shared
='wxUSE_SHARED=no'
3647 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3648 if test "x$LINE" != x
; then
3649 eval "DEFAULT_$LINE"
3654 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3658 eval "$ac_cv_use_shared"
3659 if test "$no_cache" != 1; then
3660 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3663 if test "$wxUSE_SHARED" = yes; then
3664 echo "$as_me:$LINENO: result: yes" >&5
3665 echo "${ECHO_T}yes" >&6
3667 echo "$as_me:$LINENO: result: no" >&5
3668 echo "${ECHO_T}no" >&6
3673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3674 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3676 # Check whether --enable-optimise or --disable-optimise was given.
3677 if test "${enable_optimise+set}" = set; then
3678 enableval
="$enable_optimise"
3680 if test "$enableval" = yes; then
3681 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3683 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3688 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3689 if test "x$LINE" != x
; then
3690 eval "DEFAULT_$LINE"
3695 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3699 eval "$ac_cv_use_optimise"
3700 if test "$no_cache" != 1; then
3701 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3704 if test "$wxUSE_OPTIMISE" = yes; then
3705 echo "$as_me:$LINENO: result: yes" >&5
3706 echo "${ECHO_T}yes" >&6
3708 echo "$as_me:$LINENO: result: no" >&5
3709 echo "${ECHO_T}no" >&6
3714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3715 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3717 # Check whether --enable-debug or --disable-debug was given.
3718 if test "${enable_debug+set}" = set; then
3719 enableval
="$enable_debug"
3721 if test "$enableval" = yes; then
3722 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3724 ac_cv_use_debug
='wxUSE_DEBUG=no'
3729 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3730 if test "x$LINE" != x
; then
3731 eval "DEFAULT_$LINE"
3736 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3740 eval "$ac_cv_use_debug"
3741 if test "$no_cache" != 1; then
3742 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3745 if test "$wxUSE_DEBUG" = yes; then
3746 echo "$as_me:$LINENO: result: yes" >&5
3747 echo "${ECHO_T}yes" >&6
3749 echo "$as_me:$LINENO: result: no" >&5
3750 echo "${ECHO_T}no" >&6
3755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3756 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3758 # Check whether --enable-stl or --disable-stl was given.
3759 if test "${enable_stl+set}" = set; then
3760 enableval
="$enable_stl"
3762 if test "$enableval" = yes; then
3763 ac_cv_use_stl
='wxUSE_STL=yes'
3765 ac_cv_use_stl
='wxUSE_STL=no'
3770 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3771 if test "x$LINE" != x
; then
3772 eval "DEFAULT_$LINE"
3777 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3781 eval "$ac_cv_use_stl"
3782 if test "$no_cache" != 1; then
3783 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3786 if test "$wxUSE_STL" = yes; then
3787 echo "$as_me:$LINENO: result: yes" >&5
3788 echo "${ECHO_T}yes" >&6
3790 echo "$as_me:$LINENO: result: no" >&5
3791 echo "${ECHO_T}no" >&6
3794 if test "$USE_OS2" = "1"; then
3795 DEFAULT_wxUSE_OMF
=no
3798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3799 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3801 # Check whether --enable-omf or --disable-omf was given.
3802 if test "${enable_omf+set}" = set; then
3803 enableval
="$enable_omf"
3805 if test "$enableval" = yes; then
3806 ac_cv_use_omf
='wxUSE_OMF=yes'
3808 ac_cv_use_omf
='wxUSE_OMF=no'
3813 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x
; then
3815 eval "DEFAULT_$LINE"
3820 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3824 eval "$ac_cv_use_omf"
3825 if test "$no_cache" != 1; then
3826 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3829 if test "$wxUSE_OMF" = yes; then
3830 echo "$as_me:$LINENO: result: yes" >&5
3831 echo "${ECHO_T}yes" >&6
3833 echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3839 if test "$wxUSE_DEBUG" = "yes"; then
3840 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3841 DEFAULT_wxUSE_DEBUG_INFO
=yes
3843 elif test "$wxUSE_DEBUG" = "no"; then
3844 DEFAULT_wxUSE_DEBUG_FLAG
=no
3845 DEFAULT_wxUSE_DEBUG_INFO
=no
3851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3852 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3854 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3855 if test "${enable_debug_flag+set}" = set; then
3856 enableval
="$enable_debug_flag"
3858 if test "$enableval" = yes; then
3859 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3861 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3866 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3867 if test "x$LINE" != x
; then
3868 eval "DEFAULT_$LINE"
3873 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3877 eval "$ac_cv_use_debug_flag"
3878 if test "$no_cache" != 1; then
3879 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3882 if test "$wxUSE_DEBUG_FLAG" = yes; then
3883 echo "$as_me:$LINENO: result: yes" >&5
3884 echo "${ECHO_T}yes" >&6
3886 echo "$as_me:$LINENO: result: no" >&5
3887 echo "${ECHO_T}no" >&6
3892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3893 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3895 # Check whether --enable-debug_info or --disable-debug_info was given.
3896 if test "${enable_debug_info+set}" = set; then
3897 enableval
="$enable_debug_info"
3899 if test "$enableval" = yes; then
3900 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3902 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3907 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3908 if test "x$LINE" != x
; then
3909 eval "DEFAULT_$LINE"
3914 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3918 eval "$ac_cv_use_debug_info"
3919 if test "$no_cache" != 1; then
3920 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3923 if test "$wxUSE_DEBUG_INFO" = yes; then
3924 echo "$as_me:$LINENO: result: yes" >&5
3925 echo "${ECHO_T}yes" >&6
3927 echo "$as_me:$LINENO: result: no" >&5
3928 echo "${ECHO_T}no" >&6
3933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3934 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3936 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3937 if test "${enable_debug_gdb+set}" = set; then
3938 enableval
="$enable_debug_gdb"
3940 if test "$enableval" = yes; then
3941 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3943 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3948 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x
; then
3950 eval "DEFAULT_$LINE"
3955 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3959 eval "$ac_cv_use_debug_gdb"
3960 if test "$no_cache" != 1; then
3961 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3964 if test "$wxUSE_DEBUG_GDB" = yes; then
3965 echo "$as_me:$LINENO: result: yes" >&5
3966 echo "${ECHO_T}yes" >&6
3968 echo "$as_me:$LINENO: result: no" >&5
3969 echo "${ECHO_T}no" >&6
3974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3975 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3977 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3978 if test "${enable_debug_cntxt+set}" = set; then
3979 enableval
="$enable_debug_cntxt"
3981 if test "$enableval" = yes; then
3982 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3984 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3989 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3990 if test "x$LINE" != x
; then
3991 eval "DEFAULT_$LINE"
3996 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4000 eval "$ac_cv_use_debug_cntxt"
4001 if test "$no_cache" != 1; then
4002 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4005 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4006 echo "$as_me:$LINENO: result: yes" >&5
4007 echo "${ECHO_T}yes" >&6
4009 echo "$as_me:$LINENO: result: no" >&5
4010 echo "${ECHO_T}no" >&6
4015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4016 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4018 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4019 if test "${enable_mem_tracing+set}" = set; then
4020 enableval
="$enable_mem_tracing"
4022 if test "$enableval" = yes; then
4023 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4025 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4030 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4031 if test "x$LINE" != x
; then
4032 eval "DEFAULT_$LINE"
4037 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4041 eval "$ac_cv_use_mem_tracing"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4046 if test "$wxUSE_MEM_TRACING" = yes; then
4047 echo "$as_me:$LINENO: result: yes" >&5
4048 echo "${ECHO_T}yes" >&6
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4057 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4059 # Check whether --enable-profile or --disable-profile was given.
4060 if test "${enable_profile+set}" = set; then
4061 enableval
="$enable_profile"
4063 if test "$enableval" = yes; then
4064 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4066 ac_cv_use_profile
='wxUSE_PROFILE=no'
4071 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x
; then
4073 eval "DEFAULT_$LINE"
4078 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4082 eval "$ac_cv_use_profile"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4087 if test "$wxUSE_PROFILE" = yes; then
4088 echo "$as_me:$LINENO: result: yes" >&5
4089 echo "${ECHO_T}yes" >&6
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4100 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4101 if test "${enable_no_rtti+set}" = set; then
4102 enableval
="$enable_no_rtti"
4104 if test "$enableval" = yes; then
4105 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4107 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4112 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x
; then
4114 eval "DEFAULT_$LINE"
4119 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4123 eval "$ac_cv_use_no_rtti"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4128 if test "$wxUSE_NO_RTTI" = yes; then
4129 echo "$as_me:$LINENO: result: yes" >&5
4130 echo "${ECHO_T}yes" >&6
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4139 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4141 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4142 if test "${enable_no_exceptions+set}" = set; then
4143 enableval
="$enable_no_exceptions"
4145 if test "$enableval" = yes; then
4146 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4148 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4153 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x
; then
4155 eval "DEFAULT_$LINE"
4160 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4164 eval "$ac_cv_use_no_exceptions"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4169 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4180 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4182 # Check whether --enable-permissive or --disable-permissive was given.
4183 if test "${enable_permissive+set}" = set; then
4184 enableval
="$enable_permissive"
4186 if test "$enableval" = yes; then
4187 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4189 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4194 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4195 if test "x$LINE" != x
; then
4196 eval "DEFAULT_$LINE"
4201 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4205 eval "$ac_cv_use_permissive"
4206 if test "$no_cache" != 1; then
4207 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4210 if test "$wxUSE_PERMISSIVE" = yes; then
4211 echo "$as_me:$LINENO: result: yes" >&5
4212 echo "${ECHO_T}yes" >&6
4214 echo "$as_me:$LINENO: result: no" >&5
4215 echo "${ECHO_T}no" >&6
4220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4221 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4223 # Check whether --enable-no_deps or --disable-no_deps was given.
4224 if test "${enable_no_deps+set}" = set; then
4225 enableval
="$enable_no_deps"
4227 if test "$enableval" = yes; then
4228 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4230 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4235 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4236 if test "x$LINE" != x
; then
4237 eval "DEFAULT_$LINE"
4242 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4246 eval "$ac_cv_use_no_deps"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4251 if test "$wxUSE_NO_DEPS" = yes; then
4252 echo "$as_me:$LINENO: result: yes" >&5
4253 echo "${ECHO_T}yes" >&6
4255 echo "$as_me:$LINENO: result: no" >&5
4256 echo "${ECHO_T}no" >&6
4261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4262 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4264 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4265 if test "${enable_universal_binary+set}" = set; then
4266 enableval
="$enable_universal_binary"
4268 if test "$enableval" = yes; then
4269 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=yes'
4271 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=no'
4276 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4277 if test "x$LINE" != x
; then
4278 eval "DEFAULT_$LINE"
4283 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4287 eval "$ac_cv_use_universal_binary"
4288 if test "$no_cache" != 1; then
4289 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4292 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4293 echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6
4296 echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6
4303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4304 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4306 # Check whether --enable-compat24 or --disable-compat24 was given.
4307 if test "${enable_compat24+set}" = set; then
4308 enableval
="$enable_compat24"
4310 if test "$enableval" = yes; then
4311 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4313 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4318 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4319 if test "x$LINE" != x
; then
4320 eval "DEFAULT_$LINE"
4325 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4329 eval "$ac_cv_use_compat24"
4330 if test "$no_cache" != 1; then
4331 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4334 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4335 echo "$as_me:$LINENO: result: yes" >&5
4336 echo "${ECHO_T}yes" >&6
4338 echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6
4343 enablestring
=disable
4344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4345 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4347 # Check whether --enable-compat26 or --disable-compat26 was given.
4348 if test "${enable_compat26+set}" = set; then
4349 enableval
="$enable_compat26"
4351 if test "$enableval" = yes; then
4352 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4354 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4359 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x
; then
4361 eval "DEFAULT_$LINE"
4366 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4370 eval "$ac_cv_use_compat26"
4371 if test "$no_cache" != 1; then
4372 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4375 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4376 echo "$as_me:$LINENO: result: yes" >&5
4377 echo "${ECHO_T}yes" >&6
4379 echo "$as_me:$LINENO: result: no" >&5
4380 echo "${ECHO_T}no" >&6
4386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4387 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4389 # Check whether --enable-rpath or --disable-rpath was given.
4390 if test "${enable_rpath+set}" = set; then
4391 enableval
="$enable_rpath"
4393 if test "$enableval" = yes; then
4394 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4396 ac_cv_use_rpath
='wxUSE_RPATH=no'
4401 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4402 if test "x$LINE" != x
; then
4403 eval "DEFAULT_$LINE"
4408 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4412 eval "$ac_cv_use_rpath"
4413 if test "$no_cache" != 1; then
4414 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4417 if test "$wxUSE_RPATH" = yes; then
4418 echo "$as_me:$LINENO: result: yes" >&5
4419 echo "${ECHO_T}yes" >&6
4421 echo "$as_me:$LINENO: result: no" >&5
4422 echo "${ECHO_T}no" >&6
4430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4431 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4433 # Check whether --enable-intl or --disable-intl was given.
4434 if test "${enable_intl+set}" = set; then
4435 enableval
="$enable_intl"
4437 if test "$enableval" = yes; then
4438 ac_cv_use_intl
='wxUSE_INTL=yes'
4440 ac_cv_use_intl
='wxUSE_INTL=no'
4445 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x
; then
4447 eval "DEFAULT_$LINE"
4452 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4456 eval "$ac_cv_use_intl"
4457 if test "$no_cache" != 1; then
4458 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4461 if test "$wxUSE_INTL" = yes; then
4462 echo "$as_me:$LINENO: result: yes" >&5
4463 echo "${ECHO_T}yes" >&6
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4474 # Check whether --enable-config or --disable-config was given.
4475 if test "${enable_config+set}" = set; then
4476 enableval
="$enable_config"
4478 if test "$enableval" = yes; then
4479 ac_cv_use_config
='wxUSE_CONFIG=yes'
4481 ac_cv_use_config
='wxUSE_CONFIG=no'
4486 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x
; then
4488 eval "DEFAULT_$LINE"
4493 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4497 eval "$ac_cv_use_config"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4502 if test "$wxUSE_CONFIG" = yes; then
4503 echo "$as_me:$LINENO: result: yes" >&5
4504 echo "${ECHO_T}yes" >&6
4506 echo "$as_me:$LINENO: result: no" >&5
4507 echo "${ECHO_T}no" >&6
4513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4516 # Check whether --enable-protocols or --disable-protocols was given.
4517 if test "${enable_protocols+set}" = set; then
4518 enableval
="$enable_protocols"
4520 if test "$enableval" = yes; then
4521 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4523 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4528 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4529 if test "x$LINE" != x
; then
4530 eval "DEFAULT_$LINE"
4535 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4539 eval "$ac_cv_use_protocols"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4544 if test "$wxUSE_PROTOCOL" = yes; then
4545 echo "$as_me:$LINENO: result: yes" >&5
4546 echo "${ECHO_T}yes" >&6
4548 echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6
4554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4555 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4557 # Check whether --enable-ftp or --disable-ftp was given.
4558 if test "${enable_ftp+set}" = set; then
4559 enableval
="$enable_ftp"
4561 if test "$enableval" = yes; then
4562 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4564 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4569 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4570 if test "x$LINE" != x
; then
4571 eval "DEFAULT_$LINE"
4576 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4580 eval "$ac_cv_use_ftp"
4581 if test "$no_cache" != 1; then
4582 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4585 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4586 echo "$as_me:$LINENO: result: yes" >&5
4587 echo "${ECHO_T}yes" >&6
4589 echo "$as_me:$LINENO: result: no" >&5
4590 echo "${ECHO_T}no" >&6
4595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4598 # Check whether --enable-http or --disable-http was given.
4599 if test "${enable_http+set}" = set; then
4600 enableval
="$enable_http"
4602 if test "$enableval" = yes; then
4603 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4605 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4610 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4611 if test "x$LINE" != x
; then
4612 eval "DEFAULT_$LINE"
4617 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4621 eval "$ac_cv_use_http"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4626 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4627 echo "$as_me:$LINENO: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4637 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4639 # Check whether --enable-fileproto or --disable-fileproto was given.
4640 if test "${enable_fileproto+set}" = set; then
4641 enableval
="$enable_fileproto"
4643 if test "$enableval" = yes; then
4644 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4646 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4651 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4652 if test "x$LINE" != x
; then
4653 eval "DEFAULT_$LINE"
4658 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4662 eval "$ac_cv_use_fileproto"
4663 if test "$no_cache" != 1; then
4664 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4667 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4668 echo "$as_me:$LINENO: result: yes" >&5
4669 echo "${ECHO_T}yes" >&6
4671 echo "$as_me:$LINENO: result: no" >&5
4672 echo "${ECHO_T}no" >&6
4677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4678 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4680 # Check whether --enable-sockets or --disable-sockets was given.
4681 if test "${enable_sockets+set}" = set; then
4682 enableval
="$enable_sockets"
4684 if test "$enableval" = yes; then
4685 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4687 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4692 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4693 if test "x$LINE" != x
; then
4694 eval "DEFAULT_$LINE"
4699 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4703 eval "$ac_cv_use_sockets"
4704 if test "$no_cache" != 1; then
4705 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4708 if test "$wxUSE_SOCKETS" = yes; then
4709 echo "$as_me:$LINENO: result: yes" >&5
4710 echo "${ECHO_T}yes" >&6
4712 echo "$as_me:$LINENO: result: no" >&5
4713 echo "${ECHO_T}no" >&6
4718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4719 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4721 # Check whether --enable-ole or --disable-ole was given.
4722 if test "${enable_ole+set}" = set; then
4723 enableval
="$enable_ole"
4725 if test "$enableval" = yes; then
4726 ac_cv_use_ole
='wxUSE_OLE=yes'
4728 ac_cv_use_ole
='wxUSE_OLE=no'
4733 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4734 if test "x$LINE" != x
; then
4735 eval "DEFAULT_$LINE"
4740 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4744 eval "$ac_cv_use_ole"
4745 if test "$no_cache" != 1; then
4746 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4749 if test "$wxUSE_OLE" = yes; then
4750 echo "$as_me:$LINENO: result: yes" >&5
4751 echo "${ECHO_T}yes" >&6
4753 echo "$as_me:$LINENO: result: no" >&5
4754 echo "${ECHO_T}no" >&6
4759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4760 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4762 # Check whether --enable-dataobj or --disable-dataobj was given.
4763 if test "${enable_dataobj+set}" = set; then
4764 enableval
="$enable_dataobj"
4766 if test "$enableval" = yes; then
4767 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4769 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4774 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4775 if test "x$LINE" != x
; then
4776 eval "DEFAULT_$LINE"
4781 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4785 eval "$ac_cv_use_dataobj"
4786 if test "$no_cache" != 1; then
4787 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4790 if test "$wxUSE_DATAOBJ" = yes; then
4791 echo "$as_me:$LINENO: result: yes" >&5
4792 echo "${ECHO_T}yes" >&6
4794 echo "$as_me:$LINENO: result: no" >&5
4795 echo "${ECHO_T}no" >&6
4801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4804 # Check whether --enable-ipc or --disable-ipc was given.
4805 if test "${enable_ipc+set}" = set; then
4806 enableval
="$enable_ipc"
4808 if test "$enableval" = yes; then
4809 ac_cv_use_ipc
='wxUSE_IPC=yes'
4811 ac_cv_use_ipc
='wxUSE_IPC=no'
4816 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x
; then
4818 eval "DEFAULT_$LINE"
4823 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4827 eval "$ac_cv_use_ipc"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4832 if test "$wxUSE_IPC" = yes; then
4833 echo "$as_me:$LINENO: result: yes" >&5
4834 echo "${ECHO_T}yes" >&6
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4846 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4847 if test "${enable_apple_ieee+set}" = set; then
4848 enableval
="$enable_apple_ieee"
4850 if test "$enableval" = yes; then
4851 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4853 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4858 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x
; then
4860 eval "DEFAULT_$LINE"
4865 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4869 eval "$ac_cv_use_apple_ieee"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4874 if test "$wxUSE_APPLE_IEEE" = yes; then
4875 echo "$as_me:$LINENO: result: yes" >&5
4876 echo "${ECHO_T}yes" >&6
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4885 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4887 # Check whether --enable-arcstream or --disable-arcstream was given.
4888 if test "${enable_arcstream+set}" = set; then
4889 enableval
="$enable_arcstream"
4891 if test "$enableval" = yes; then
4892 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4894 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4899 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x
; then
4901 eval "DEFAULT_$LINE"
4906 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4910 eval "$ac_cv_use_arcstream"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4915 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4916 echo "$as_me:$LINENO: result: yes" >&5
4917 echo "${ECHO_T}yes" >&6
4919 echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6
4925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4926 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4928 # Check whether --enable-backtrace or --disable-backtrace was given.
4929 if test "${enable_backtrace+set}" = set; then
4930 enableval
="$enable_backtrace"
4932 if test "$enableval" = yes; then
4933 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4935 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4940 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x
; then
4942 eval "DEFAULT_$LINE"
4947 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4951 eval "$ac_cv_use_backtrace"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4956 if test "$wxUSE_STACKWALKER" = yes; then
4957 echo "$as_me:$LINENO: result: yes" >&5
4958 echo "${ECHO_T}yes" >&6
4960 echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6
4966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4967 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4969 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4970 if test "${enable_catch_segvs+set}" = set; then
4971 enableval
="$enable_catch_segvs"
4973 if test "$enableval" = yes; then
4974 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4976 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4981 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4982 if test "x$LINE" != x
; then
4983 eval "DEFAULT_$LINE"
4988 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4992 eval "$ac_cv_use_catch_segvs"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4997 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4998 echo "$as_me:$LINENO: result: yes" >&5
4999 echo "${ECHO_T}yes" >&6
5001 echo "$as_me:$LINENO: result: no" >&5
5002 echo "${ECHO_T}no" >&6
5007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5008 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5010 # Check whether --enable-cmdline or --disable-cmdline was given.
5011 if test "${enable_cmdline+set}" = set; then
5012 enableval
="$enable_cmdline"
5014 if test "$enableval" = yes; then
5015 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5017 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5022 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5023 if test "x$LINE" != x
; then
5024 eval "DEFAULT_$LINE"
5029 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5033 eval "$ac_cv_use_cmdline"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5038 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5039 echo "$as_me:$LINENO: result: yes" >&5
5040 echo "${ECHO_T}yes" >&6
5042 echo "$as_me:$LINENO: result: no" >&5
5043 echo "${ECHO_T}no" >&6
5048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5049 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5051 # Check whether --enable-datetime or --disable-datetime was given.
5052 if test "${enable_datetime+set}" = set; then
5053 enableval
="$enable_datetime"
5055 if test "$enableval" = yes; then
5056 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5058 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5063 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5064 if test "x$LINE" != x
; then
5065 eval "DEFAULT_$LINE"
5070 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5074 eval "$ac_cv_use_datetime"
5075 if test "$no_cache" != 1; then
5076 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5079 if test "$wxUSE_DATETIME" = yes; then
5080 echo "$as_me:$LINENO: result: yes" >&5
5081 echo "${ECHO_T}yes" >&6
5083 echo "$as_me:$LINENO: result: no" >&5
5084 echo "${ECHO_T}no" >&6
5089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5090 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5092 # Check whether --enable-debugreport or --disable-debugreport was given.
5093 if test "${enable_debugreport+set}" = set; then
5094 enableval
="$enable_debugreport"
5096 if test "$enableval" = yes; then
5097 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5099 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5104 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x
; then
5106 eval "DEFAULT_$LINE"
5111 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5115 eval "$ac_cv_use_debugreport"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5120 if test "$wxUSE_DEBUGREPORT" = yes; then
5121 echo "$as_me:$LINENO: result: yes" >&5
5122 echo "${ECHO_T}yes" >&6
5124 echo "$as_me:$LINENO: result: no" >&5
5125 echo "${ECHO_T}no" >&6
5130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5133 # Check whether --enable-dialupman or --disable-dialupman was given.
5134 if test "${enable_dialupman+set}" = set; then
5135 enableval
="$enable_dialupman"
5137 if test "$enableval" = yes; then
5138 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5140 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5145 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5146 if test "x$LINE" != x
; then
5147 eval "DEFAULT_$LINE"
5152 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5156 eval "$ac_cv_use_dialupman"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5161 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5162 echo "$as_me:$LINENO: result: yes" >&5
5163 echo "${ECHO_T}yes" >&6
5165 echo "$as_me:$LINENO: result: no" >&5
5166 echo "${ECHO_T}no" >&6
5171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5174 # Check whether --enable-dynlib or --disable-dynlib was given.
5175 if test "${enable_dynlib+set}" = set; then
5176 enableval
="$enable_dynlib"
5178 if test "$enableval" = yes; then
5179 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5181 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5186 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x
; then
5188 eval "DEFAULT_$LINE"
5193 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5197 eval "$ac_cv_use_dynlib"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5202 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5203 echo "$as_me:$LINENO: result: yes" >&5
5204 echo "${ECHO_T}yes" >&6
5206 echo "$as_me:$LINENO: result: no" >&5
5207 echo "${ECHO_T}no" >&6
5212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5215 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5216 if test "${enable_dynamicloader+set}" = set; then
5217 enableval
="$enable_dynamicloader"
5219 if test "$enableval" = yes; then
5220 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5222 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5227 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x
; then
5229 eval "DEFAULT_$LINE"
5234 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5238 eval "$ac_cv_use_dynamicloader"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5243 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5244 echo "$as_me:$LINENO: result: yes" >&5
5245 echo "${ECHO_T}yes" >&6
5247 echo "$as_me:$LINENO: result: no" >&5
5248 echo "${ECHO_T}no" >&6
5253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5256 # Check whether --enable-exceptions or --disable-exceptions was given.
5257 if test "${enable_exceptions+set}" = set; then
5258 enableval
="$enable_exceptions"
5260 if test "$enableval" = yes; then
5261 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5263 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5268 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x
; then
5270 eval "DEFAULT_$LINE"
5275 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5279 eval "$ac_cv_use_exceptions"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5284 if test "$wxUSE_EXCEPTIONS" = yes; then
5285 echo "$as_me:$LINENO: result: yes" >&5
5286 echo "${ECHO_T}yes" >&6
5288 echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6
5294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5297 # Check whether --enable-ffile or --disable-ffile was given.
5298 if test "${enable_ffile+set}" = set; then
5299 enableval
="$enable_ffile"
5301 if test "$enableval" = yes; then
5302 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5304 ac_cv_use_ffile
='wxUSE_FFILE=no'
5309 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x
; then
5311 eval "DEFAULT_$LINE"
5316 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5320 eval "$ac_cv_use_ffile"
5321 if test "$no_cache" != 1; then
5322 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5325 if test "$wxUSE_FFILE" = yes; then
5326 echo "$as_me:$LINENO: result: yes" >&5
5327 echo "${ECHO_T}yes" >&6
5329 echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6
5335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5338 # Check whether --enable-file or --disable-file was given.
5339 if test "${enable_file+set}" = set; then
5340 enableval
="$enable_file"
5342 if test "$enableval" = yes; then
5343 ac_cv_use_file
='wxUSE_FILE=yes'
5345 ac_cv_use_file
='wxUSE_FILE=no'
5350 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5351 if test "x$LINE" != x
; then
5352 eval "DEFAULT_$LINE"
5357 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5361 eval "$ac_cv_use_file"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5366 if test "$wxUSE_FILE" = yes; then
5367 echo "$as_me:$LINENO: result: yes" >&5
5368 echo "${ECHO_T}yes" >&6
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5377 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5379 # Check whether --enable-filesystem or --disable-filesystem was given.
5380 if test "${enable_filesystem+set}" = set; then
5381 enableval
="$enable_filesystem"
5383 if test "$enableval" = yes; then
5384 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5386 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5391 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x
; then
5393 eval "DEFAULT_$LINE"
5398 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5402 eval "$ac_cv_use_filesystem"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5407 if test "$wxUSE_FILESYSTEM" = yes; then
5408 echo "$as_me:$LINENO: result: yes" >&5
5409 echo "${ECHO_T}yes" >&6
5411 echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6
5417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5420 # Check whether --enable-fontmap or --disable-fontmap was given.
5421 if test "${enable_fontmap+set}" = set; then
5422 enableval
="$enable_fontmap"
5424 if test "$enableval" = yes; then
5425 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5427 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5432 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5433 if test "x$LINE" != x
; then
5434 eval "DEFAULT_$LINE"
5439 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5443 eval "$ac_cv_use_fontmap"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5448 if test "$wxUSE_FONTMAP" = yes; then
5449 echo "$as_me:$LINENO: result: yes" >&5
5450 echo "${ECHO_T}yes" >&6
5452 echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6
5458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5461 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5462 if test "${enable_fs_inet+set}" = set; then
5463 enableval
="$enable_fs_inet"
5465 if test "$enableval" = yes; then
5466 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5468 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5473 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5474 if test "x$LINE" != x
; then
5475 eval "DEFAULT_$LINE"
5480 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5484 eval "$ac_cv_use_fs_inet"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5489 if test "$wxUSE_FS_INET" = yes; then
5490 echo "$as_me:$LINENO: result: yes" >&5
5491 echo "${ECHO_T}yes" >&6
5493 echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6
5499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5502 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5503 if test "${enable_fs_zip+set}" = set; then
5504 enableval
="$enable_fs_zip"
5506 if test "$enableval" = yes; then
5507 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5509 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5514 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5515 if test "x$LINE" != x
; then
5516 eval "DEFAULT_$LINE"
5521 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5525 eval "$ac_cv_use_fs_zip"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5530 if test "$wxUSE_FS_ZIP" = yes; then
5531 echo "$as_me:$LINENO: result: yes" >&5
5532 echo "${ECHO_T}yes" >&6
5534 echo "$as_me:$LINENO: result: no" >&5
5535 echo "${ECHO_T}no" >&6
5540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5543 # Check whether --enable-geometry or --disable-geometry was given.
5544 if test "${enable_geometry+set}" = set; then
5545 enableval
="$enable_geometry"
5547 if test "$enableval" = yes; then
5548 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5550 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5555 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5556 if test "x$LINE" != x
; then
5557 eval "DEFAULT_$LINE"
5562 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5566 eval "$ac_cv_use_geometry"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5571 if test "$wxUSE_GEOMETRY" = yes; then
5572 echo "$as_me:$LINENO: result: yes" >&5
5573 echo "${ECHO_T}yes" >&6
5575 echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6
5581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5584 # Check whether --enable-log or --disable-log was given.
5585 if test "${enable_log+set}" = set; then
5586 enableval
="$enable_log"
5588 if test "$enableval" = yes; then
5589 ac_cv_use_log
='wxUSE_LOG=yes'
5591 ac_cv_use_log
='wxUSE_LOG=no'
5596 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5597 if test "x$LINE" != x
; then
5598 eval "DEFAULT_$LINE"
5603 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5607 eval "$ac_cv_use_log"
5608 if test "$no_cache" != 1; then
5609 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5612 if test "$wxUSE_LOG" = yes; then
5613 echo "$as_me:$LINENO: result: yes" >&5
5614 echo "${ECHO_T}yes" >&6
5616 echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6
5622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5625 # Check whether --enable-longlong or --disable-longlong was given.
5626 if test "${enable_longlong+set}" = set; then
5627 enableval
="$enable_longlong"
5629 if test "$enableval" = yes; then
5630 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5632 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5637 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5638 if test "x$LINE" != x
; then
5639 eval "DEFAULT_$LINE"
5644 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5648 eval "$ac_cv_use_longlong"
5649 if test "$no_cache" != 1; then
5650 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5653 if test "$wxUSE_LONGLONG" = yes; then
5654 echo "$as_me:$LINENO: result: yes" >&5
5655 echo "${ECHO_T}yes" >&6
5657 echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6
5663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5666 # Check whether --enable-mimetype or --disable-mimetype was given.
5667 if test "${enable_mimetype+set}" = set; then
5668 enableval
="$enable_mimetype"
5670 if test "$enableval" = yes; then
5671 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5673 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5678 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5679 if test "x$LINE" != x
; then
5680 eval "DEFAULT_$LINE"
5685 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5689 eval "$ac_cv_use_mimetype"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5694 if test "$wxUSE_MIMETYPE" = yes; then
5695 echo "$as_me:$LINENO: result: yes" >&5
5696 echo "${ECHO_T}yes" >&6
5698 echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6
5704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5705 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5707 # Check whether --enable-mslu or --disable-mslu was given.
5708 if test "${enable_mslu+set}" = set; then
5709 enableval
="$enable_mslu"
5711 if test "$enableval" = yes; then
5712 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5714 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5719 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x
; then
5721 eval "DEFAULT_$LINE"
5726 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5730 eval "$ac_cv_use_mslu"
5731 if test "$no_cache" != 1; then
5732 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5735 if test "$wxUSE_UNICODE_MSLU" = yes; then
5736 echo "$as_me:$LINENO: result: yes" >&5
5737 echo "${ECHO_T}yes" >&6
5739 echo "$as_me:$LINENO: result: no" >&5
5740 echo "${ECHO_T}no" >&6
5745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5748 # Check whether --enable-snglinst or --disable-snglinst was given.
5749 if test "${enable_snglinst+set}" = set; then
5750 enableval
="$enable_snglinst"
5752 if test "$enableval" = yes; then
5753 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5755 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5760 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x
; then
5762 eval "DEFAULT_$LINE"
5767 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5771 eval "$ac_cv_use_snglinst"
5772 if test "$no_cache" != 1; then
5773 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5776 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5777 echo "$as_me:$LINENO: result: yes" >&5
5778 echo "${ECHO_T}yes" >&6
5780 echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6
5786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5787 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5789 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5790 if test "${enable_std_iostreams+set}" = set; then
5791 enableval
="$enable_std_iostreams"
5793 if test "$enableval" = yes; then
5794 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5796 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5801 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x
; then
5803 eval "DEFAULT_$LINE"
5808 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5812 eval "$ac_cv_use_std_iostreams"
5813 if test "$no_cache" != 1; then
5814 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5817 if test "$wxUSE_STD_IOSTREAM" = yes; then
5818 echo "$as_me:$LINENO: result: yes" >&5
5819 echo "${ECHO_T}yes" >&6
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5828 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5830 # Check whether --enable-std_string or --disable-std_string was given.
5831 if test "${enable_std_string+set}" = set; then
5832 enableval
="$enable_std_string"
5834 if test "$enableval" = yes; then
5835 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5837 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5842 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x
; then
5844 eval "DEFAULT_$LINE"
5849 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5853 eval "$ac_cv_use_std_string"
5854 if test "$no_cache" != 1; then
5855 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5858 if test "$wxUSE_STD_STRING" = yes; then
5859 echo "$as_me:$LINENO: result: yes" >&5
5860 echo "${ECHO_T}yes" >&6
5862 echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6
5868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5869 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5871 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5872 if test "${enable_stdpaths+set}" = set; then
5873 enableval
="$enable_stdpaths"
5875 if test "$enableval" = yes; then
5876 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5878 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5883 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x
; then
5885 eval "DEFAULT_$LINE"
5890 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5894 eval "$ac_cv_use_stdpaths"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5899 if test "$wxUSE_STDPATHS" = yes; then
5900 echo "$as_me:$LINENO: result: yes" >&5
5901 echo "${ECHO_T}yes" >&6
5903 echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6
5909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5910 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5912 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5913 if test "${enable_stopwatch+set}" = set; then
5914 enableval
="$enable_stopwatch"
5916 if test "$enableval" = yes; then
5917 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5919 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5924 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x
; then
5926 eval "DEFAULT_$LINE"
5931 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5935 eval "$ac_cv_use_stopwatch"
5936 if test "$no_cache" != 1; then
5937 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5940 if test "$wxUSE_STOPWATCH" = yes; then
5941 echo "$as_me:$LINENO: result: yes" >&5
5942 echo "${ECHO_T}yes" >&6
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5951 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5953 # Check whether --enable-streams or --disable-streams was given.
5954 if test "${enable_streams+set}" = set; then
5955 enableval
="$enable_streams"
5957 if test "$enableval" = yes; then
5958 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5960 ac_cv_use_streams
='wxUSE_STREAMS=no'
5965 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x
; then
5967 eval "DEFAULT_$LINE"
5972 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5976 eval "$ac_cv_use_streams"
5977 if test "$no_cache" != 1; then
5978 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5981 if test "$wxUSE_STREAMS" = yes; then
5982 echo "$as_me:$LINENO: result: yes" >&5
5983 echo "${ECHO_T}yes" >&6
5985 echo "$as_me:$LINENO: result: no" >&5
5986 echo "${ECHO_T}no" >&6
5991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5994 # Check whether --enable-system_options or --disable-system_options was given.
5995 if test "${enable_system_options+set}" = set; then
5996 enableval
="$enable_system_options"
5998 if test "$enableval" = yes; then
5999 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6001 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6006 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x
; then
6008 eval "DEFAULT_$LINE"
6013 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6017 eval "$ac_cv_use_system_options"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6022 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6023 echo "$as_me:$LINENO: result: yes" >&5
6024 echo "${ECHO_T}yes" >&6
6026 echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6
6032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6035 # Check whether --enable-textbuf or --disable-textbuf was given.
6036 if test "${enable_textbuf+set}" = set; then
6037 enableval
="$enable_textbuf"
6039 if test "$enableval" = yes; then
6040 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6042 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6047 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x
; then
6049 eval "DEFAULT_$LINE"
6054 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6058 eval "$ac_cv_use_textbuf"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6063 if test "$wxUSE_TEXTBUFFER" = yes; then
6064 echo "$as_me:$LINENO: result: yes" >&5
6065 echo "${ECHO_T}yes" >&6
6067 echo "$as_me:$LINENO: result: no" >&5
6068 echo "${ECHO_T}no" >&6
6073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6076 # Check whether --enable-textfile or --disable-textfile was given.
6077 if test "${enable_textfile+set}" = set; then
6078 enableval
="$enable_textfile"
6080 if test "$enableval" = yes; then
6081 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6083 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6088 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x
; then
6090 eval "DEFAULT_$LINE"
6095 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6099 eval "$ac_cv_use_textfile"
6100 if test "$no_cache" != 1; then
6101 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6104 if test "$wxUSE_TEXTFILE" = yes; then
6105 echo "$as_me:$LINENO: result: yes" >&5
6106 echo "${ECHO_T}yes" >&6
6108 echo "$as_me:$LINENO: result: no" >&5
6109 echo "${ECHO_T}no" >&6
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6117 # Check whether --enable-timer or --disable-timer was given.
6118 if test "${enable_timer+set}" = set; then
6119 enableval
="$enable_timer"
6121 if test "$enableval" = yes; then
6122 ac_cv_use_timer
='wxUSE_TIMER=yes'
6124 ac_cv_use_timer
='wxUSE_TIMER=no'
6129 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x
; then
6131 eval "DEFAULT_$LINE"
6136 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6140 eval "$ac_cv_use_timer"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6145 if test "$wxUSE_TIMER" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6158 # Check whether --enable-unicode or --disable-unicode was given.
6159 if test "${enable_unicode+set}" = set; then
6160 enableval
="$enable_unicode"
6162 if test "$enableval" = yes; then
6163 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6165 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6170 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x
; then
6172 eval "DEFAULT_$LINE"
6177 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6181 eval "$ac_cv_use_unicode"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6186 if test "$wxUSE_UNICODE" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6199 # Check whether --enable-sound or --disable-sound was given.
6200 if test "${enable_sound+set}" = set; then
6201 enableval
="$enable_sound"
6203 if test "$enableval" = yes; then
6204 ac_cv_use_sound
='wxUSE_SOUND=yes'
6206 ac_cv_use_sound
='wxUSE_SOUND=no'
6211 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x
; then
6213 eval "DEFAULT_$LINE"
6218 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6222 eval "$ac_cv_use_sound"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6227 if test "$wxUSE_SOUND" = yes; then
6228 echo "$as_me:$LINENO: result: yes" >&5
6229 echo "${ECHO_T}yes" >&6
6231 echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6240 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6241 if test "${enable_mediactrl+set}" = set; then
6242 enableval
="$enable_mediactrl"
6244 if test "$enableval" = yes; then
6245 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6247 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6252 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x
; then
6254 eval "DEFAULT_$LINE"
6259 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6263 eval "$ac_cv_use_mediactrl"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6268 if test "$wxUSE_MEDIACTRL" = yes; then
6269 echo "$as_me:$LINENO: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6281 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6282 if test "${enable_gstreamer8+set}" = set; then
6283 enableval
="$enable_gstreamer8"
6285 if test "$enableval" = yes; then
6286 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6288 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6293 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x
; then
6295 eval "DEFAULT_$LINE"
6300 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6304 eval "$ac_cv_use_gstreamer8"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6309 if test "$wxUSE_GSTREAMER8" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6320 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6322 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6323 if test "${enable_wxprintfv+set}" = set; then
6324 enableval
="$enable_wxprintfv"
6326 if test "$enableval" = yes; then
6327 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6329 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6334 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6335 if test "x$LINE" != x
; then
6336 eval "DEFAULT_$LINE"
6341 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6345 eval "$ac_cv_use_wxprintfv"
6346 if test "$no_cache" != 1; then
6347 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6350 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6351 echo "$as_me:$LINENO: result: yes" >&5
6352 echo "${ECHO_T}yes" >&6
6354 echo "$as_me:$LINENO: result: no" >&5
6355 echo "${ECHO_T}no" >&6
6360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6361 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6363 # Check whether --enable-zipstream or --disable-zipstream was given.
6364 if test "${enable_zipstream+set}" = set; then
6365 enableval
="$enable_zipstream"
6367 if test "$enableval" = yes; then
6368 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6370 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6375 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6376 if test "x$LINE" != x
; then
6377 eval "DEFAULT_$LINE"
6382 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6386 eval "$ac_cv_use_zipstream"
6387 if test "$no_cache" != 1; then
6388 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6391 if test "$wxUSE_ZIPSTREAM" = yes; then
6392 echo "$as_me:$LINENO: result: yes" >&5
6393 echo "${ECHO_T}yes" >&6
6395 echo "$as_me:$LINENO: result: no" >&5
6396 echo "${ECHO_T}no" >&6
6402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6403 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6405 # Check whether --enable-url or --disable-url was given.
6406 if test "${enable_url+set}" = set; then
6407 enableval
="$enable_url"
6409 if test "$enableval" = yes; then
6410 ac_cv_use_url
='wxUSE_URL=yes'
6412 ac_cv_use_url
='wxUSE_URL=no'
6417 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6418 if test "x$LINE" != x
; then
6419 eval "DEFAULT_$LINE"
6424 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6428 eval "$ac_cv_use_url"
6429 if test "$no_cache" != 1; then
6430 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6433 if test "$wxUSE_URL" = yes; then
6434 echo "$as_me:$LINENO: result: yes" >&5
6435 echo "${ECHO_T}yes" >&6
6437 echo "$as_me:$LINENO: result: no" >&5
6438 echo "${ECHO_T}no" >&6
6443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6444 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6446 # Check whether --enable-protocol or --disable-protocol was given.
6447 if test "${enable_protocol+set}" = set; then
6448 enableval
="$enable_protocol"
6450 if test "$enableval" = yes; then
6451 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6453 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6458 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x
; then
6460 eval "DEFAULT_$LINE"
6465 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6469 eval "$ac_cv_use_protocol"
6470 if test "$no_cache" != 1; then
6471 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6474 if test "$wxUSE_PROTOCOL" = yes; then
6475 echo "$as_me:$LINENO: result: yes" >&5
6476 echo "${ECHO_T}yes" >&6
6478 echo "$as_me:$LINENO: result: no" >&5
6479 echo "${ECHO_T}no" >&6
6484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6485 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6487 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6488 if test "${enable_protocol_http+set}" = set; then
6489 enableval
="$enable_protocol_http"
6491 if test "$enableval" = yes; then
6492 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6494 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6499 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6500 if test "x$LINE" != x
; then
6501 eval "DEFAULT_$LINE"
6506 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6510 eval "$ac_cv_use_protocol_http"
6511 if test "$no_cache" != 1; then
6512 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6515 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6516 echo "$as_me:$LINENO: result: yes" >&5
6517 echo "${ECHO_T}yes" >&6
6519 echo "$as_me:$LINENO: result: no" >&5
6520 echo "${ECHO_T}no" >&6
6525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6526 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6528 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6529 if test "${enable_protocol_ftp+set}" = set; then
6530 enableval
="$enable_protocol_ftp"
6532 if test "$enableval" = yes; then
6533 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6535 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6540 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6541 if test "x$LINE" != x
; then
6542 eval "DEFAULT_$LINE"
6547 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6551 eval "$ac_cv_use_protocol_ftp"
6552 if test "$no_cache" != 1; then
6553 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6556 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6557 echo "$as_me:$LINENO: result: yes" >&5
6558 echo "${ECHO_T}yes" >&6
6560 echo "$as_me:$LINENO: result: no" >&5
6561 echo "${ECHO_T}no" >&6
6566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6567 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6569 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6570 if test "${enable_protocol_file+set}" = set; then
6571 enableval
="$enable_protocol_file"
6573 if test "$enableval" = yes; then
6574 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6576 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6581 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6582 if test "x$LINE" != x
; then
6583 eval "DEFAULT_$LINE"
6588 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6592 eval "$ac_cv_use_protocol_file"
6593 if test "$no_cache" != 1; then
6594 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6597 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6598 echo "$as_me:$LINENO: result: yes" >&5
6599 echo "${ECHO_T}yes" >&6
6601 echo "$as_me:$LINENO: result: no" >&5
6602 echo "${ECHO_T}no" >&6
6610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6611 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6613 # Check whether --enable-threads or --disable-threads was given.
6614 if test "${enable_threads+set}" = set; then
6615 enableval
="$enable_threads"
6617 if test "$enableval" = yes; then
6618 ac_cv_use_threads
='wxUSE_THREADS=yes'
6620 ac_cv_use_threads
='wxUSE_THREADS=no'
6625 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6626 if test "x$LINE" != x
; then
6627 eval "DEFAULT_$LINE"
6632 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6636 eval "$ac_cv_use_threads"
6637 if test "$no_cache" != 1; then
6638 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6641 if test "$wxUSE_THREADS" = yes; then
6642 echo "$as_me:$LINENO: result: yes" >&5
6643 echo "${ECHO_T}yes" >&6
6645 echo "$as_me:$LINENO: result: no" >&5
6646 echo "${ECHO_T}no" >&6
6650 if test "$wxUSE_GUI" = "yes"; then
6655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6656 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6658 # Check whether --enable-docview or --disable-docview was given.
6659 if test "${enable_docview+set}" = set; then
6660 enableval
="$enable_docview"
6662 if test "$enableval" = yes; then
6663 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6665 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6670 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6671 if test "x$LINE" != x
; then
6672 eval "DEFAULT_$LINE"
6677 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6681 eval "$ac_cv_use_docview"
6682 if test "$no_cache" != 1; then
6683 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6686 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6687 echo "$as_me:$LINENO: result: yes" >&5
6688 echo "${ECHO_T}yes" >&6
6690 echo "$as_me:$LINENO: result: no" >&5
6691 echo "${ECHO_T}no" >&6
6696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6697 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6699 # Check whether --enable-help or --disable-help was given.
6700 if test "${enable_help+set}" = set; then
6701 enableval
="$enable_help"
6703 if test "$enableval" = yes; then
6704 ac_cv_use_help
='wxUSE_HELP=yes'
6706 ac_cv_use_help
='wxUSE_HELP=no'
6711 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6712 if test "x$LINE" != x
; then
6713 eval "DEFAULT_$LINE"
6718 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6722 eval "$ac_cv_use_help"
6723 if test "$no_cache" != 1; then
6724 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6727 if test "$wxUSE_HELP" = yes; then
6728 echo "$as_me:$LINENO: result: yes" >&5
6729 echo "${ECHO_T}yes" >&6
6731 echo "$as_me:$LINENO: result: no" >&5
6732 echo "${ECHO_T}no" >&6
6737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6738 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6740 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6741 if test "${enable_mshtmlhelp+set}" = set; then
6742 enableval
="$enable_mshtmlhelp"
6744 if test "$enableval" = yes; then
6745 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6747 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6752 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6753 if test "x$LINE" != x
; then
6754 eval "DEFAULT_$LINE"
6759 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6763 eval "$ac_cv_use_mshtmlhelp"
6764 if test "$no_cache" != 1; then
6765 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6768 if test "$wxUSE_MS_HTML_HELP" = yes; then
6769 echo "$as_me:$LINENO: result: yes" >&5
6770 echo "${ECHO_T}yes" >&6
6772 echo "$as_me:$LINENO: result: no" >&5
6773 echo "${ECHO_T}no" >&6
6778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6779 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6781 # Check whether --enable-html or --disable-html was given.
6782 if test "${enable_html+set}" = set; then
6783 enableval
="$enable_html"
6785 if test "$enableval" = yes; then
6786 ac_cv_use_html
='wxUSE_HTML=yes'
6788 ac_cv_use_html
='wxUSE_HTML=no'
6793 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6794 if test "x$LINE" != x
; then
6795 eval "DEFAULT_$LINE"
6800 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6804 eval "$ac_cv_use_html"
6805 if test "$no_cache" != 1; then
6806 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6809 if test "$wxUSE_HTML" = yes; then
6810 echo "$as_me:$LINENO: result: yes" >&5
6811 echo "${ECHO_T}yes" >&6
6813 echo "$as_me:$LINENO: result: no" >&5
6814 echo "${ECHO_T}no" >&6
6819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6820 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6822 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6823 if test "${enable_htmlhelp+set}" = set; then
6824 enableval
="$enable_htmlhelp"
6826 if test "$enableval" = yes; then
6827 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6829 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6834 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6835 if test "x$LINE" != x
; then
6836 eval "DEFAULT_$LINE"
6841 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6845 eval "$ac_cv_use_htmlhelp"
6846 if test "$no_cache" != 1; then
6847 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6850 if test "$wxUSE_WXHTML_HELP" = yes; then
6851 echo "$as_me:$LINENO: result: yes" >&5
6852 echo "${ECHO_T}yes" >&6
6854 echo "$as_me:$LINENO: result: no" >&5
6855 echo "${ECHO_T}no" >&6
6860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6863 # Check whether --enable-xrc or --disable-xrc was given.
6864 if test "${enable_xrc+set}" = set; then
6865 enableval
="$enable_xrc"
6867 if test "$enableval" = yes; then
6868 ac_cv_use_xrc
='wxUSE_XRC=yes'
6870 ac_cv_use_xrc
='wxUSE_XRC=no'
6875 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6876 if test "x$LINE" != x
; then
6877 eval "DEFAULT_$LINE"
6882 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6886 eval "$ac_cv_use_xrc"
6887 if test "$no_cache" != 1; then
6888 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6891 if test "$wxUSE_XRC" = yes; then
6892 echo "$as_me:$LINENO: result: yes" >&5
6893 echo "${ECHO_T}yes" >&6
6895 echo "$as_me:$LINENO: result: no" >&5
6896 echo "${ECHO_T}no" >&6
6901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
6902 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
6904 # Check whether --enable-aui or --disable-aui was given.
6905 if test "${enable_aui+set}" = set; then
6906 enableval
="$enable_aui"
6908 if test "$enableval" = yes; then
6909 ac_cv_use_aui
='wxUSE_AUI=yes'
6911 ac_cv_use_aui
='wxUSE_AUI=no'
6916 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
6917 if test "x$LINE" != x
; then
6918 eval "DEFAULT_$LINE"
6923 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
6927 eval "$ac_cv_use_aui"
6928 if test "$no_cache" != 1; then
6929 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
6932 if test "$wxUSE_AUI" = yes; then
6933 echo "$as_me:$LINENO: result: yes" >&5
6934 echo "${ECHO_T}yes" >&6
6936 echo "$as_me:$LINENO: result: no" >&5
6937 echo "${ECHO_T}no" >&6
6942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6945 # Check whether --enable-constraints or --disable-constraints was given.
6946 if test "${enable_constraints+set}" = set; then
6947 enableval
="$enable_constraints"
6949 if test "$enableval" = yes; then
6950 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6952 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6957 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x
; then
6959 eval "DEFAULT_$LINE"
6964 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6968 eval "$ac_cv_use_constraints"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6973 if test "$wxUSE_CONSTRAINTS" = yes; then
6974 echo "$as_me:$LINENO: result: yes" >&5
6975 echo "${ECHO_T}yes" >&6
6977 echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6
6983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6984 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6986 # Check whether --enable-printarch or --disable-printarch was given.
6987 if test "${enable_printarch+set}" = set; then
6988 enableval
="$enable_printarch"
6990 if test "$enableval" = yes; then
6991 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6993 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6998 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6999 if test "x$LINE" != x
; then
7000 eval "DEFAULT_$LINE"
7005 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7009 eval "$ac_cv_use_printarch"
7010 if test "$no_cache" != 1; then
7011 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7014 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7015 echo "$as_me:$LINENO: result: yes" >&5
7016 echo "${ECHO_T}yes" >&6
7018 echo "$as_me:$LINENO: result: no" >&5
7019 echo "${ECHO_T}no" >&6
7024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7025 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7027 # Check whether --enable-mdi or --disable-mdi was given.
7028 if test "${enable_mdi+set}" = set; then
7029 enableval
="$enable_mdi"
7031 if test "$enableval" = yes; then
7032 ac_cv_use_mdi
='wxUSE_MDI=yes'
7034 ac_cv_use_mdi
='wxUSE_MDI=no'
7039 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7040 if test "x$LINE" != x
; then
7041 eval "DEFAULT_$LINE"
7046 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7050 eval "$ac_cv_use_mdi"
7051 if test "$no_cache" != 1; then
7052 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7055 if test "$wxUSE_MDI" = yes; then
7056 echo "$as_me:$LINENO: result: yes" >&5
7057 echo "${ECHO_T}yes" >&6
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7066 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7068 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7069 if test "${enable_mdidoc+set}" = set; then
7070 enableval
="$enable_mdidoc"
7072 if test "$enableval" = yes; then
7073 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7075 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7080 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7081 if test "x$LINE" != x
; then
7082 eval "DEFAULT_$LINE"
7087 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7091 eval "$ac_cv_use_mdidoc"
7092 if test "$no_cache" != 1; then
7093 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7096 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7097 echo "$as_me:$LINENO: result: yes" >&5
7098 echo "${ECHO_T}yes" >&6
7100 echo "$as_me:$LINENO: result: no" >&5
7101 echo "${ECHO_T}no" >&6
7106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7107 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7109 # Check whether --enable-loggui or --disable-loggui was given.
7110 if test "${enable_loggui+set}" = set; then
7111 enableval
="$enable_loggui"
7113 if test "$enableval" = yes; then
7114 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7116 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7121 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7122 if test "x$LINE" != x
; then
7123 eval "DEFAULT_$LINE"
7128 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7132 eval "$ac_cv_use_loggui"
7133 if test "$no_cache" != 1; then
7134 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7137 if test "$wxUSE_LOGGUI" = yes; then
7138 echo "$as_me:$LINENO: result: yes" >&5
7139 echo "${ECHO_T}yes" >&6
7141 echo "$as_me:$LINENO: result: no" >&5
7142 echo "${ECHO_T}no" >&6
7147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7148 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7150 # Check whether --enable-logwin or --disable-logwin was given.
7151 if test "${enable_logwin+set}" = set; then
7152 enableval
="$enable_logwin"
7154 if test "$enableval" = yes; then
7155 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7157 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7162 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7163 if test "x$LINE" != x
; then
7164 eval "DEFAULT_$LINE"
7169 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7173 eval "$ac_cv_use_logwin"
7174 if test "$no_cache" != 1; then
7175 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7178 if test "$wxUSE_LOGWINDOW" = yes; then
7179 echo "$as_me:$LINENO: result: yes" >&5
7180 echo "${ECHO_T}yes" >&6
7182 echo "$as_me:$LINENO: result: no" >&5
7183 echo "${ECHO_T}no" >&6
7188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7189 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7191 # Check whether --enable-logdialog or --disable-logdialog was given.
7192 if test "${enable_logdialog+set}" = set; then
7193 enableval
="$enable_logdialog"
7195 if test "$enableval" = yes; then
7196 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7198 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7203 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7204 if test "x$LINE" != x
; then
7205 eval "DEFAULT_$LINE"
7210 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7214 eval "$ac_cv_use_logdialog"
7215 if test "$no_cache" != 1; then
7216 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7219 if test "$wxUSE_LOGDIALOG" = yes; then
7220 echo "$as_me:$LINENO: result: yes" >&5
7221 echo "${ECHO_T}yes" >&6
7223 echo "$as_me:$LINENO: result: no" >&5
7224 echo "${ECHO_T}no" >&6
7229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7230 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7232 # Check whether --enable-webkit or --disable-webkit was given.
7233 if test "${enable_webkit+set}" = set; then
7234 enableval
="$enable_webkit"
7236 if test "$enableval" = yes; then
7237 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7239 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7244 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7245 if test "x$LINE" != x
; then
7246 eval "DEFAULT_$LINE"
7251 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7255 eval "$ac_cv_use_webkit"
7256 if test "$no_cache" != 1; then
7257 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7260 if test "$wxUSE_WEBKIT" = yes; then
7261 echo "$as_me:$LINENO: result: yes" >&5
7262 echo "${ECHO_T}yes" >&6
7264 echo "$as_me:$LINENO: result: no" >&5
7265 echo "${ECHO_T}no" >&6
7270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7271 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7273 # Check whether --enable-html or --disable-html was given.
7274 if test "${enable_html+set}" = set; then
7275 enableval
="$enable_html"
7277 if test "$enableval" = yes; then
7278 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7280 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7285 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7286 if test "x$LINE" != x
; then
7287 eval "DEFAULT_$LINE"
7292 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7296 eval "$ac_cv_use_html"
7297 if test "$no_cache" != 1; then
7298 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7301 if test "$wxUSE_RICHTEXT" = yes; then
7302 echo "$as_me:$LINENO: result: yes" >&5
7303 echo "${ECHO_T}yes" >&6
7305 echo "$as_me:$LINENO: result: no" >&5
7306 echo "${ECHO_T}no" >&6
7312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7313 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7315 # Check whether --enable-postscript or --disable-postscript was given.
7316 if test "${enable_postscript+set}" = set; then
7317 enableval
="$enable_postscript"
7319 if test "$enableval" = yes; then
7320 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7322 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7327 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7328 if test "x$LINE" != x
; then
7329 eval "DEFAULT_$LINE"
7334 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7338 eval "$ac_cv_use_postscript"
7339 if test "$no_cache" != 1; then
7340 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7343 if test "$wxUSE_POSTSCRIPT" = yes; then
7344 echo "$as_me:$LINENO: result: yes" >&5
7345 echo "${ECHO_T}yes" >&6
7347 echo "$as_me:$LINENO: result: no" >&5
7348 echo "${ECHO_T}no" >&6
7356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7357 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7359 # Check whether --enable-prologio or --disable-prologio was given.
7360 if test "${enable_prologio+set}" = set; then
7361 enableval
="$enable_prologio"
7363 if test "$enableval" = yes; then
7364 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7366 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7371 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7372 if test "x$LINE" != x
; then
7373 eval "DEFAULT_$LINE"
7378 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7382 eval "$ac_cv_use_prologio"
7383 if test "$no_cache" != 1; then
7384 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7387 if test "$wxUSE_PROLOGIO" = yes; then
7388 echo "$as_me:$LINENO: result: yes" >&5
7389 echo "${ECHO_T}yes" >&6
7391 echo "$as_me:$LINENO: result: no" >&5
7392 echo "${ECHO_T}no" >&6
7397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7398 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7400 # Check whether --enable-resources or --disable-resources was given.
7401 if test "${enable_resources+set}" = set; then
7402 enableval
="$enable_resources"
7404 if test "$enableval" = yes; then
7405 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7407 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7412 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7413 if test "x$LINE" != x
; then
7414 eval "DEFAULT_$LINE"
7419 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7423 eval "$ac_cv_use_resources"
7424 if test "$no_cache" != 1; then
7425 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7428 if test "$wxUSE_RESOURCES" = yes; then
7429 echo "$as_me:$LINENO: result: yes" >&5
7430 echo "${ECHO_T}yes" >&6
7432 echo "$as_me:$LINENO: result: no" >&5
7433 echo "${ECHO_T}no" >&6
7440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7441 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7443 # Check whether --enable-clipboard or --disable-clipboard was given.
7444 if test "${enable_clipboard+set}" = set; then
7445 enableval
="$enable_clipboard"
7447 if test "$enableval" = yes; then
7448 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7450 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7455 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7456 if test "x$LINE" != x
; then
7457 eval "DEFAULT_$LINE"
7462 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7466 eval "$ac_cv_use_clipboard"
7467 if test "$no_cache" != 1; then
7468 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7471 if test "$wxUSE_CLIPBOARD" = yes; then
7472 echo "$as_me:$LINENO: result: yes" >&5
7473 echo "${ECHO_T}yes" >&6
7475 echo "$as_me:$LINENO: result: no" >&5
7476 echo "${ECHO_T}no" >&6
7481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7482 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7484 # Check whether --enable-dnd or --disable-dnd was given.
7485 if test "${enable_dnd+set}" = set; then
7486 enableval
="$enable_dnd"
7488 if test "$enableval" = yes; then
7489 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7491 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7496 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7497 if test "x$LINE" != x
; then
7498 eval "DEFAULT_$LINE"
7503 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7507 eval "$ac_cv_use_dnd"
7508 if test "$no_cache" != 1; then
7509 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7512 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7513 echo "$as_me:$LINENO: result: yes" >&5
7514 echo "${ECHO_T}yes" >&6
7516 echo "$as_me:$LINENO: result: no" >&5
7517 echo "${ECHO_T}no" >&6
7522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7525 # Check whether --enable-metafile or --disable-metafile was given.
7526 if test "${enable_metafile+set}" = set; then
7527 enableval
="$enable_metafile"
7529 if test "$enableval" = yes; then
7530 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7532 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7537 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x
; then
7539 eval "DEFAULT_$LINE"
7544 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7548 eval "$ac_cv_use_metafile"
7549 if test "$no_cache" != 1; then
7550 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7553 if test "$wxUSE_METAFILE" = yes; then
7554 echo "$as_me:$LINENO: result: yes" >&5
7555 echo "${ECHO_T}yes" >&6
7557 echo "$as_me:$LINENO: result: no" >&5
7558 echo "${ECHO_T}no" >&6
7566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7569 # Check whether --enable-controls or --disable-controls was given.
7570 if test "${enable_controls+set}" = set; then
7571 enableval
="$enable_controls"
7573 if test "$enableval" = yes; then
7574 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7576 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7581 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7582 if test "x$LINE" != x
; then
7583 eval "DEFAULT_$LINE"
7588 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7592 eval "$ac_cv_use_controls"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7597 if test "$wxUSE_CONTROLS" = yes; then
7598 echo "$as_me:$LINENO: result: yes" >&5
7599 echo "${ECHO_T}yes" >&6
7601 echo "$as_me:$LINENO: result: no" >&5
7602 echo "${ECHO_T}no" >&6
7606 if test "$wxUSE_CONTROLS" = "yes"; then
7607 DEFAULT_wxUSE_ACCEL
=yes
7608 DEFAULT_wxUSE_BMPBUTTON
=yes
7609 DEFAULT_wxUSE_BUTTON
=yes
7610 DEFAULT_wxUSE_CALCTRL
=yes
7611 DEFAULT_wxUSE_CARET
=yes
7612 DEFAULT_wxUSE_COMBOBOX
=yes
7613 DEFAULT_wxUSE_CHECKBOX
=yes
7614 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7615 DEFAULT_wxUSE_CHOICE
=yes
7616 DEFAULT_wxUSE_CHOICEBOOK
=yes
7617 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7618 DEFAULT_wxUSE_COMBOBOX
=yes
7619 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7620 DEFAULT_wxUSE_DISPLAY
=yes
7621 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7622 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7623 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7624 DEFAULT_wxUSE_GAUGE
=yes
7625 DEFAULT_wxUSE_GRID
=yes
7626 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7627 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7628 DEFAULT_wxUSE_IMAGLIST
=yes
7629 DEFAULT_wxUSE_LISTBOOK
=yes
7630 DEFAULT_wxUSE_LISTBOX
=yes
7631 DEFAULT_wxUSE_LISTCTRL
=yes
7632 DEFAULT_wxUSE_NOTEBOOK
=yes
7633 DEFAULT_wxUSE_RADIOBOX
=yes
7634 DEFAULT_wxUSE_RADIOBTN
=yes
7635 DEFAULT_wxUSE_SASH
=yes
7636 DEFAULT_wxUSE_SCROLLBAR
=yes
7637 DEFAULT_wxUSE_SLIDER
=yes
7638 DEFAULT_wxUSE_SPINBTN
=yes
7639 DEFAULT_wxUSE_SPINCTRL
=yes
7640 DEFAULT_wxUSE_SPLITTER
=yes
7641 DEFAULT_wxUSE_STATBMP
=yes
7642 DEFAULT_wxUSE_STATBOX
=yes
7643 DEFAULT_wxUSE_STATLINE
=yes
7644 DEFAULT_wxUSE_STATUSBAR
=yes
7645 DEFAULT_wxUSE_TAB_DIALOG
=yes
7646 DEFAULT_wxUSE_TOGGLEBTN
=yes
7647 DEFAULT_wxUSE_TOOLBAR
=yes
7648 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7649 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7650 DEFAULT_wxUSE_TOOLTIPS
=yes
7651 DEFAULT_wxUSE_TREEBOOK
=yes
7652 DEFAULT_wxUSE_TOOLBOOK
=yes
7653 DEFAULT_wxUSE_TREECTRL
=yes
7654 DEFAULT_wxUSE_POPUPWIN
=yes
7655 DEFAULT_wxUSE_TIPWINDOW
=yes
7656 elif test "$wxUSE_CONTROLS" = "no"; then
7657 DEFAULT_wxUSE_ACCEL
=no
7658 DEFAULT_wxUSE_BMPBUTTON
=no
7659 DEFAULT_wxUSE_BUTTON
=no
7660 DEFAULT_wxUSE_CALCTRL
=no
7661 DEFAULT_wxUSE_CARET
=no
7662 DEFAULT_wxUSE_COMBOBOX
=no
7663 DEFAULT_wxUSE_CHECKBOX
=no
7664 DEFAULT_wxUSE_CHECKLISTBOX
=no
7665 DEFAULT_wxUSE_CHOICE
=no
7666 DEFAULT_wxUSE_CHOICEBOOK
=no
7667 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7668 DEFAULT_wxUSE_COMBOBOX
=no
7669 DEFAULT_wxUSE_DATEPICKCTRL
=no
7670 DEFAULT_wxUSE_DISPLAY
=no
7671 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7672 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7673 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7674 DEFAULT_wxUSE_GAUGE
=no
7675 DEFAULT_wxUSE_GRID
=no
7676 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7677 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7678 DEFAULT_wxUSE_IMAGLIST
=no
7679 DEFAULT_wxUSE_LISTBOOK
=no
7680 DEFAULT_wxUSE_LISTBOX
=no
7681 DEFAULT_wxUSE_LISTCTRL
=no
7682 DEFAULT_wxUSE_NOTEBOOK
=no
7683 DEFAULT_wxUSE_RADIOBOX
=no
7684 DEFAULT_wxUSE_RADIOBTN
=no
7685 DEFAULT_wxUSE_SASH
=no
7686 DEFAULT_wxUSE_SCROLLBAR
=no
7687 DEFAULT_wxUSE_SLIDER
=no
7688 DEFAULT_wxUSE_SPINBTN
=no
7689 DEFAULT_wxUSE_SPINCTRL
=no
7690 DEFAULT_wxUSE_SPLITTER
=no
7691 DEFAULT_wxUSE_STATBMP
=no
7692 DEFAULT_wxUSE_STATBOX
=no
7693 DEFAULT_wxUSE_STATLINE
=no
7694 DEFAULT_wxUSE_STATUSBAR
=no
7695 DEFAULT_wxUSE_TAB_DIALOG
=no
7696 DEFAULT_wxUSE_TOGGLEBTN
=no
7697 DEFAULT_wxUSE_TOOLBAR
=no
7698 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7699 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7700 DEFAULT_wxUSE_TOOLTIPS
=no
7701 DEFAULT_wxUSE_TREEBOOK
=no
7702 DEFAULT_wxUSE_TOOLBOOK
=no
7703 DEFAULT_wxUSE_TREECTRL
=no
7704 DEFAULT_wxUSE_POPUPWIN
=no
7705 DEFAULT_wxUSE_TIPWINDOW
=no
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7713 # Check whether --enable-accel or --disable-accel was given.
7714 if test "${enable_accel+set}" = set; then
7715 enableval
="$enable_accel"
7717 if test "$enableval" = yes; then
7718 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7720 ac_cv_use_accel
='wxUSE_ACCEL=no'
7725 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x
; then
7727 eval "DEFAULT_$LINE"
7732 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7736 eval "$ac_cv_use_accel"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7741 if test "$wxUSE_ACCEL" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7754 # Check whether --enable-button or --disable-button was given.
7755 if test "${enable_button+set}" = set; then
7756 enableval
="$enable_button"
7758 if test "$enableval" = yes; then
7759 ac_cv_use_button
='wxUSE_BUTTON=yes'
7761 ac_cv_use_button
='wxUSE_BUTTON=no'
7766 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x
; then
7768 eval "DEFAULT_$LINE"
7773 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7777 eval "$ac_cv_use_button"
7778 if test "$no_cache" != 1; then
7779 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7782 if test "$wxUSE_BUTTON" = yes; then
7783 echo "$as_me:$LINENO: result: yes" >&5
7784 echo "${ECHO_T}yes" >&6
7786 echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7795 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7796 if test "${enable_bmpbutton+set}" = set; then
7797 enableval
="$enable_bmpbutton"
7799 if test "$enableval" = yes; then
7800 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7802 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7807 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x
; then
7809 eval "DEFAULT_$LINE"
7814 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7818 eval "$ac_cv_use_bmpbutton"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7823 if test "$wxUSE_BMPBUTTON" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7836 # Check whether --enable-calendar or --disable-calendar was given.
7837 if test "${enable_calendar+set}" = set; then
7838 enableval
="$enable_calendar"
7840 if test "$enableval" = yes; then
7841 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7843 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7848 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x
; then
7850 eval "DEFAULT_$LINE"
7855 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7859 eval "$ac_cv_use_calendar"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7864 if test "$wxUSE_CALCTRL" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7877 # Check whether --enable-caret or --disable-caret was given.
7878 if test "${enable_caret+set}" = set; then
7879 enableval
="$enable_caret"
7881 if test "$enableval" = yes; then
7882 ac_cv_use_caret
='wxUSE_CARET=yes'
7884 ac_cv_use_caret
='wxUSE_CARET=no'
7889 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x
; then
7891 eval "DEFAULT_$LINE"
7896 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7900 eval "$ac_cv_use_caret"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7905 if test "$wxUSE_CARET" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7918 # Check whether --enable-checkbox or --disable-checkbox was given.
7919 if test "${enable_checkbox+set}" = set; then
7920 enableval
="$enable_checkbox"
7922 if test "$enableval" = yes; then
7923 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7925 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7930 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7931 if test "x$LINE" != x
; then
7932 eval "DEFAULT_$LINE"
7937 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7941 eval "$ac_cv_use_checkbox"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7946 if test "$wxUSE_CHECKBOX" = yes; then
7947 echo "$as_me:$LINENO: result: yes" >&5
7948 echo "${ECHO_T}yes" >&6
7950 echo "$as_me:$LINENO: result: no" >&5
7951 echo "${ECHO_T}no" >&6
7956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7959 # Check whether --enable-checklst or --disable-checklst was given.
7960 if test "${enable_checklst+set}" = set; then
7961 enableval
="$enable_checklst"
7963 if test "$enableval" = yes; then
7964 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7966 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7971 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x
; then
7973 eval "DEFAULT_$LINE"
7978 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7982 eval "$ac_cv_use_checklst"
7983 if test "$no_cache" != 1; then
7984 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7987 if test "$wxUSE_CHECKLST" = yes; then
7988 echo "$as_me:$LINENO: result: yes" >&5
7989 echo "${ECHO_T}yes" >&6
7991 echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6
7997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8000 # Check whether --enable-choice or --disable-choice was given.
8001 if test "${enable_choice+set}" = set; then
8002 enableval
="$enable_choice"
8004 if test "$enableval" = yes; then
8005 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8007 ac_cv_use_choice
='wxUSE_CHOICE=no'
8012 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8013 if test "x$LINE" != x
; then
8014 eval "DEFAULT_$LINE"
8019 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8023 eval "$ac_cv_use_choice"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8028 if test "$wxUSE_CHOICE" = yes; then
8029 echo "$as_me:$LINENO: result: yes" >&5
8030 echo "${ECHO_T}yes" >&6
8032 echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6
8038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8041 # Check whether --enable-choicebook or --disable-choicebook was given.
8042 if test "${enable_choicebook+set}" = set; then
8043 enableval
="$enable_choicebook"
8045 if test "$enableval" = yes; then
8046 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8048 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8053 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x
; then
8055 eval "DEFAULT_$LINE"
8060 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8064 eval "$ac_cv_use_choicebook"
8065 if test "$no_cache" != 1; then
8066 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8069 if test "$wxUSE_CHOICEBOOK" = yes; then
8070 echo "$as_me:$LINENO: result: yes" >&5
8071 echo "${ECHO_T}yes" >&6
8073 echo "$as_me:$LINENO: result: no" >&5
8074 echo "${ECHO_T}no" >&6
8079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8082 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8083 if test "${enable_colourpicker+set}" = set; then
8084 enableval
="$enable_colourpicker"
8086 if test "$enableval" = yes; then
8087 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8089 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8094 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x
; then
8096 eval "DEFAULT_$LINE"
8101 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8105 eval "$ac_cv_use_colourpicker"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8110 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8111 echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6
8114 echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6
8120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8123 # Check whether --enable-combobox or --disable-combobox was given.
8124 if test "${enable_combobox+set}" = set; then
8125 enableval
="$enable_combobox"
8127 if test "$enableval" = yes; then
8128 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8130 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8135 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8136 if test "x$LINE" != x
; then
8137 eval "DEFAULT_$LINE"
8142 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8146 eval "$ac_cv_use_combobox"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8151 if test "$wxUSE_COMBOBOX" = yes; then
8152 echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6
8155 echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6
8161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8164 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8165 if test "${enable_comboctrl+set}" = set; then
8166 enableval
="$enable_comboctrl"
8168 if test "$enableval" = yes; then
8169 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8171 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8176 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8177 if test "x$LINE" != x
; then
8178 eval "DEFAULT_$LINE"
8183 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8187 eval "$ac_cv_use_comboctrl"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8192 if test "$wxUSE_COMBOCTRL" = yes; then
8193 echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6
8196 echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6
8202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8205 # Check whether --enable-datepick or --disable-datepick was given.
8206 if test "${enable_datepick+set}" = set; then
8207 enableval
="$enable_datepick"
8209 if test "$enableval" = yes; then
8210 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8212 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8217 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x
; then
8219 eval "DEFAULT_$LINE"
8224 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8228 eval "$ac_cv_use_datepick"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8233 if test "$wxUSE_DATEPICKCTRL" = yes; then
8234 echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8246 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8247 if test "${enable_dirpicker+set}" = set; then
8248 enableval
="$enable_dirpicker"
8250 if test "$enableval" = yes; then
8251 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8253 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8258 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x
; then
8260 eval "DEFAULT_$LINE"
8265 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8269 eval "$ac_cv_use_dirpicker"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8274 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8275 echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6
8278 echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6
8284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8287 # Check whether --enable-display or --disable-display was given.
8288 if test "${enable_display+set}" = set; then
8289 enableval
="$enable_display"
8291 if test "$enableval" = yes; then
8292 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8294 ac_cv_use_display
='wxUSE_DISPLAY=no'
8299 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x
; then
8301 eval "DEFAULT_$LINE"
8306 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8310 eval "$ac_cv_use_display"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8315 if test "$wxUSE_DISPLAY" = yes; then
8316 echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6
8319 echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6
8325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8328 # Check whether --enable-filepicker or --disable-filepicker was given.
8329 if test "${enable_filepicker+set}" = set; then
8330 enableval
="$enable_filepicker"
8332 if test "$enableval" = yes; then
8333 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8335 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8340 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x
; then
8342 eval "DEFAULT_$LINE"
8347 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8351 eval "$ac_cv_use_filepicker"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8356 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8357 echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6
8360 echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6
8366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8369 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8370 if test "${enable_fontpicker+set}" = set; then
8371 enableval
="$enable_fontpicker"
8373 if test "$enableval" = yes; then
8374 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8376 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8381 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8382 if test "x$LINE" != x
; then
8383 eval "DEFAULT_$LINE"
8388 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8392 eval "$ac_cv_use_fontpicker"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8397 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8398 echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8410 # Check whether --enable-gauge or --disable-gauge was given.
8411 if test "${enable_gauge+set}" = set; then
8412 enableval
="$enable_gauge"
8414 if test "$enableval" = yes; then
8415 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8417 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8422 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x
; then
8424 eval "DEFAULT_$LINE"
8429 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8433 eval "$ac_cv_use_gauge"
8434 if test "$no_cache" != 1; then
8435 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8438 if test "$wxUSE_GAUGE" = yes; then
8439 echo "$as_me:$LINENO: result: yes" >&5
8440 echo "${ECHO_T}yes" >&6
8442 echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6
8448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8451 # Check whether --enable-grid or --disable-grid was given.
8452 if test "${enable_grid+set}" = set; then
8453 enableval
="$enable_grid"
8455 if test "$enableval" = yes; then
8456 ac_cv_use_grid
='wxUSE_GRID=yes'
8458 ac_cv_use_grid
='wxUSE_GRID=no'
8463 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x
; then
8465 eval "DEFAULT_$LINE"
8470 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8474 eval "$ac_cv_use_grid"
8475 if test "$no_cache" != 1; then
8476 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8479 if test "$wxUSE_GRID" = yes; then
8480 echo "$as_me:$LINENO: result: yes" >&5
8481 echo "${ECHO_T}yes" >&6
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8492 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8493 if test "${enable_dataviewctrl+set}" = set; then
8494 enableval
="$enable_dataviewctrl"
8496 if test "$enableval" = yes; then
8497 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8499 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8504 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x
; then
8506 eval "DEFAULT_$LINE"
8511 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8515 eval "$ac_cv_use_dataviewctrl"
8516 if test "$no_cache" != 1; then
8517 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8520 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8521 echo "$as_me:$LINENO: result: yes" >&5
8522 echo "${ECHO_T}yes" >&6
8524 echo "$as_me:$LINENO: result: no" >&5
8525 echo "${ECHO_T}no" >&6
8530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8531 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8533 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8534 if test "${enable_hyperlink+set}" = set; then
8535 enableval
="$enable_hyperlink"
8537 if test "$enableval" = yes; then
8538 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8540 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8545 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x
; then
8547 eval "DEFAULT_$LINE"
8552 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8556 eval "$ac_cv_use_hyperlink"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8561 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8562 echo "$as_me:$LINENO: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8574 # Check whether --enable-imaglist or --disable-imaglist was given.
8575 if test "${enable_imaglist+set}" = set; then
8576 enableval
="$enable_imaglist"
8578 if test "$enableval" = yes; then
8579 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8581 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8586 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8587 if test "x$LINE" != x
; then
8588 eval "DEFAULT_$LINE"
8593 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8597 eval "$ac_cv_use_imaglist"
8598 if test "$no_cache" != 1; then
8599 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8602 if test "$wxUSE_IMAGLIST" = yes; then
8603 echo "$as_me:$LINENO: result: yes" >&5
8604 echo "${ECHO_T}yes" >&6
8606 echo "$as_me:$LINENO: result: no" >&5
8607 echo "${ECHO_T}no" >&6
8612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8615 # Check whether --enable-listbook or --disable-listbook was given.
8616 if test "${enable_listbook+set}" = set; then
8617 enableval
="$enable_listbook"
8619 if test "$enableval" = yes; then
8620 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8622 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8627 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x
; then
8629 eval "DEFAULT_$LINE"
8634 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8638 eval "$ac_cv_use_listbook"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8643 if test "$wxUSE_LISTBOOK" = yes; then
8644 echo "$as_me:$LINENO: result: yes" >&5
8645 echo "${ECHO_T}yes" >&6
8647 echo "$as_me:$LINENO: result: no" >&5
8648 echo "${ECHO_T}no" >&6
8653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8656 # Check whether --enable-listbox or --disable-listbox was given.
8657 if test "${enable_listbox+set}" = set; then
8658 enableval
="$enable_listbox"
8660 if test "$enableval" = yes; then
8661 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8663 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8668 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x
; then
8670 eval "DEFAULT_$LINE"
8675 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8679 eval "$ac_cv_use_listbox"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8684 if test "$wxUSE_LISTBOX" = yes; then
8685 echo "$as_me:$LINENO: result: yes" >&5
8686 echo "${ECHO_T}yes" >&6
8688 echo "$as_me:$LINENO: result: no" >&5
8689 echo "${ECHO_T}no" >&6
8694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8695 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8697 # Check whether --enable-listctrl or --disable-listctrl was given.
8698 if test "${enable_listctrl+set}" = set; then
8699 enableval
="$enable_listctrl"
8701 if test "$enableval" = yes; then
8702 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8704 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8709 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x
; then
8711 eval "DEFAULT_$LINE"
8716 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8720 eval "$ac_cv_use_listctrl"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8725 if test "$wxUSE_LISTCTRL" = yes; then
8726 echo "$as_me:$LINENO: result: yes" >&5
8727 echo "${ECHO_T}yes" >&6
8729 echo "$as_me:$LINENO: result: no" >&5
8730 echo "${ECHO_T}no" >&6
8735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8738 # Check whether --enable-notebook or --disable-notebook was given.
8739 if test "${enable_notebook+set}" = set; then
8740 enableval
="$enable_notebook"
8742 if test "$enableval" = yes; then
8743 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8745 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8750 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x
; then
8752 eval "DEFAULT_$LINE"
8757 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8761 eval "$ac_cv_use_notebook"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8766 if test "$wxUSE_NOTEBOOK" = yes; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768 echo "${ECHO_T}yes" >&6
8770 echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8779 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8780 if test "${enable_odcombobox+set}" = set; then
8781 enableval
="$enable_odcombobox"
8783 if test "$enableval" = yes; then
8784 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
8786 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
8791 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x
; then
8793 eval "DEFAULT_$LINE"
8798 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8802 eval "$ac_cv_use_odcombobox"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8807 if test "$wxUSE_ODCOMBOBOX" = yes; then
8808 echo "$as_me:$LINENO: result: yes" >&5
8809 echo "${ECHO_T}yes" >&6
8811 echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6
8817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8820 # Check whether --enable-radiobox or --disable-radiobox was given.
8821 if test "${enable_radiobox+set}" = set; then
8822 enableval
="$enable_radiobox"
8824 if test "$enableval" = yes; then
8825 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8827 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8832 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x
; then
8834 eval "DEFAULT_$LINE"
8839 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8843 eval "$ac_cv_use_radiobox"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8848 if test "$wxUSE_RADIOBOX" = yes; then
8849 echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6
8852 echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6
8858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8861 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8862 if test "${enable_radiobtn+set}" = set; then
8863 enableval
="$enable_radiobtn"
8865 if test "$enableval" = yes; then
8866 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8868 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8873 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x
; then
8875 eval "DEFAULT_$LINE"
8880 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8884 eval "$ac_cv_use_radiobtn"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8889 if test "$wxUSE_RADIOBTN" = yes; then
8890 echo "$as_me:$LINENO: result: yes" >&5
8891 echo "${ECHO_T}yes" >&6
8893 echo "$as_me:$LINENO: result: no" >&5
8894 echo "${ECHO_T}no" >&6
8899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8902 # Check whether --enable-sash or --disable-sash was given.
8903 if test "${enable_sash+set}" = set; then
8904 enableval
="$enable_sash"
8906 if test "$enableval" = yes; then
8907 ac_cv_use_sash
='wxUSE_SASH=yes'
8909 ac_cv_use_sash
='wxUSE_SASH=no'
8914 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x
; then
8916 eval "DEFAULT_$LINE"
8921 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8925 eval "$ac_cv_use_sash"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8930 if test "$wxUSE_SASH" = yes; then
8931 echo "$as_me:$LINENO: result: yes" >&5
8932 echo "${ECHO_T}yes" >&6
8934 echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6
8940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8943 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8944 if test "${enable_scrollbar+set}" = set; then
8945 enableval
="$enable_scrollbar"
8947 if test "$enableval" = yes; then
8948 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8950 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8955 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x
; then
8957 eval "DEFAULT_$LINE"
8962 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8966 eval "$ac_cv_use_scrollbar"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8971 if test "$wxUSE_SCROLLBAR" = yes; then
8972 echo "$as_me:$LINENO: result: yes" >&5
8973 echo "${ECHO_T}yes" >&6
8975 echo "$as_me:$LINENO: result: no" >&5
8976 echo "${ECHO_T}no" >&6
8981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8984 # Check whether --enable-slider or --disable-slider was given.
8985 if test "${enable_slider+set}" = set; then
8986 enableval
="$enable_slider"
8988 if test "$enableval" = yes; then
8989 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8991 ac_cv_use_slider
='wxUSE_SLIDER=no'
8996 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x
; then
8998 eval "DEFAULT_$LINE"
9003 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9007 eval "$ac_cv_use_slider"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9012 if test "$wxUSE_SLIDER" = yes; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014 echo "${ECHO_T}yes" >&6
9016 echo "$as_me:$LINENO: result: no" >&5
9017 echo "${ECHO_T}no" >&6
9022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9025 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9026 if test "${enable_spinbtn+set}" = set; then
9027 enableval
="$enable_spinbtn"
9029 if test "$enableval" = yes; then
9030 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9032 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9037 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x
; then
9039 eval "DEFAULT_$LINE"
9044 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9048 eval "$ac_cv_use_spinbtn"
9049 if test "$no_cache" != 1; then
9050 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9053 if test "$wxUSE_SPINBTN" = yes; then
9054 echo "$as_me:$LINENO: result: yes" >&5
9055 echo "${ECHO_T}yes" >&6
9057 echo "$as_me:$LINENO: result: no" >&5
9058 echo "${ECHO_T}no" >&6
9063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9066 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9067 if test "${enable_spinctrl+set}" = set; then
9068 enableval
="$enable_spinctrl"
9070 if test "$enableval" = yes; then
9071 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9073 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9078 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9079 if test "x$LINE" != x
; then
9080 eval "DEFAULT_$LINE"
9085 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9089 eval "$ac_cv_use_spinctrl"
9090 if test "$no_cache" != 1; then
9091 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9094 if test "$wxUSE_SPINCTRL" = yes; then
9095 echo "$as_me:$LINENO: result: yes" >&5
9096 echo "${ECHO_T}yes" >&6
9098 echo "$as_me:$LINENO: result: no" >&5
9099 echo "${ECHO_T}no" >&6
9104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9107 # Check whether --enable-splitter or --disable-splitter was given.
9108 if test "${enable_splitter+set}" = set; then
9109 enableval
="$enable_splitter"
9111 if test "$enableval" = yes; then
9112 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9114 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9119 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9120 if test "x$LINE" != x
; then
9121 eval "DEFAULT_$LINE"
9126 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9130 eval "$ac_cv_use_splitter"
9131 if test "$no_cache" != 1; then
9132 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9135 if test "$wxUSE_SPLITTER" = yes; then
9136 echo "$as_me:$LINENO: result: yes" >&5
9137 echo "${ECHO_T}yes" >&6
9139 echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9148 # Check whether --enable-statbmp or --disable-statbmp was given.
9149 if test "${enable_statbmp+set}" = set; then
9150 enableval
="$enable_statbmp"
9152 if test "$enableval" = yes; then
9153 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9155 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9160 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x
; then
9162 eval "DEFAULT_$LINE"
9167 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9171 eval "$ac_cv_use_statbmp"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9176 if test "$wxUSE_STATBMP" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9189 # Check whether --enable-statbox or --disable-statbox was given.
9190 if test "${enable_statbox+set}" = set; then
9191 enableval
="$enable_statbox"
9193 if test "$enableval" = yes; then
9194 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9196 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9201 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x
; then
9203 eval "DEFAULT_$LINE"
9208 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9212 eval "$ac_cv_use_statbox"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9217 if test "$wxUSE_STATBOX" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9230 # Check whether --enable-statline or --disable-statline was given.
9231 if test "${enable_statline+set}" = set; then
9232 enableval
="$enable_statline"
9234 if test "$enableval" = yes; then
9235 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9237 ac_cv_use_statline
='wxUSE_STATLINE=no'
9242 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x
; then
9244 eval "DEFAULT_$LINE"
9249 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9253 eval "$ac_cv_use_statline"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9258 if test "$wxUSE_STATLINE" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9271 # Check whether --enable-stattext or --disable-stattext was given.
9272 if test "${enable_stattext+set}" = set; then
9273 enableval
="$enable_stattext"
9275 if test "$enableval" = yes; then
9276 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9278 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9283 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x
; then
9285 eval "DEFAULT_$LINE"
9290 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9294 eval "$ac_cv_use_stattext"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9299 if test "$wxUSE_STATTEXT" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9312 # Check whether --enable-statusbar or --disable-statusbar was given.
9313 if test "${enable_statusbar+set}" = set; then
9314 enableval
="$enable_statusbar"
9316 if test "$enableval" = yes; then
9317 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9319 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9324 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x
; then
9326 eval "DEFAULT_$LINE"
9331 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9335 eval "$ac_cv_use_statusbar"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9340 if test "$wxUSE_STATUSBAR" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9353 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9354 if test "${enable_tabdialog+set}" = set; then
9355 enableval
="$enable_tabdialog"
9357 if test "$enableval" = yes; then
9358 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9360 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9365 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x
; then
9367 eval "DEFAULT_$LINE"
9372 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9376 eval "$ac_cv_use_tabdialog"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9381 if test "$wxUSE_TAB_DIALOG" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9394 # Check whether --enable-textctrl or --disable-textctrl was given.
9395 if test "${enable_textctrl+set}" = set; then
9396 enableval
="$enable_textctrl"
9398 if test "$enableval" = yes; then
9399 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9401 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9406 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x
; then
9408 eval "DEFAULT_$LINE"
9413 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9417 eval "$ac_cv_use_textctrl"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9422 if test "$wxUSE_TEXTCTRL" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9435 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9436 if test "${enable_togglebtn+set}" = set; then
9437 enableval
="$enable_togglebtn"
9439 if test "$enableval" = yes; then
9440 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9442 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9447 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x
; then
9449 eval "DEFAULT_$LINE"
9454 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9458 eval "$ac_cv_use_togglebtn"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9463 if test "$wxUSE_TOGGLEBTN" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9476 # Check whether --enable-toolbar or --disable-toolbar was given.
9477 if test "${enable_toolbar+set}" = set; then
9478 enableval
="$enable_toolbar"
9480 if test "$enableval" = yes; then
9481 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9483 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9488 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x
; then
9490 eval "DEFAULT_$LINE"
9495 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9499 eval "$ac_cv_use_toolbar"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9504 if test "$wxUSE_TOOLBAR" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9517 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9518 if test "${enable_tbarnative+set}" = set; then
9519 enableval
="$enable_tbarnative"
9521 if test "$enableval" = yes; then
9522 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9524 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9529 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x
; then
9531 eval "DEFAULT_$LINE"
9536 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9540 eval "$ac_cv_use_tbarnative"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9545 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9558 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9559 if test "${enable_tbarsmpl+set}" = set; then
9560 enableval
="$enable_tbarsmpl"
9562 if test "$enableval" = yes; then
9563 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
9565 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
9570 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x
; then
9572 eval "DEFAULT_$LINE"
9577 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9581 eval "$ac_cv_use_tbarsmpl"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9586 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9597 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9599 # Check whether --enable-treebook or --disable-treebook was given.
9600 if test "${enable_treebook+set}" = set; then
9601 enableval
="$enable_treebook"
9603 if test "$enableval" = yes; then
9604 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9606 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9611 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9612 if test "x$LINE" != x
; then
9613 eval "DEFAULT_$LINE"
9618 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9622 eval "$ac_cv_use_treebook"
9623 if test "$no_cache" != 1; then
9624 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9627 if test "$wxUSE_TREEBOOK" = yes; then
9628 echo "$as_me:$LINENO: result: yes" >&5
9629 echo "${ECHO_T}yes" >&6
9631 echo "$as_me:$LINENO: result: no" >&5
9632 echo "${ECHO_T}no" >&6
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9640 # Check whether --enable-toolbook or --disable-toolbook was given.
9641 if test "${enable_toolbook+set}" = set; then
9642 enableval
="$enable_toolbook"
9644 if test "$enableval" = yes; then
9645 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9647 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9652 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x
; then
9654 eval "DEFAULT_$LINE"
9659 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9663 eval "$ac_cv_use_toolbook"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9668 if test "$wxUSE_TOOLBOOK" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670 echo "${ECHO_T}yes" >&6
9672 echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6
9678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9681 # Check whether --enable-treectrl or --disable-treectrl was given.
9682 if test "${enable_treectrl+set}" = set; then
9683 enableval
="$enable_treectrl"
9685 if test "$enableval" = yes; then
9686 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9688 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9693 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9694 if test "x$LINE" != x
; then
9695 eval "DEFAULT_$LINE"
9700 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9704 eval "$ac_cv_use_treectrl"
9705 if test "$no_cache" != 1; then
9706 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9709 if test "$wxUSE_TREECTRL" = yes; then
9710 echo "$as_me:$LINENO: result: yes" >&5
9711 echo "${ECHO_T}yes" >&6
9713 echo "$as_me:$LINENO: result: no" >&5
9714 echo "${ECHO_T}no" >&6
9719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9720 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9722 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9723 if test "${enable_tipwindow+set}" = set; then
9724 enableval
="$enable_tipwindow"
9726 if test "$enableval" = yes; then
9727 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9729 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9734 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9735 if test "x$LINE" != x
; then
9736 eval "DEFAULT_$LINE"
9741 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9745 eval "$ac_cv_use_tipwindow"
9746 if test "$no_cache" != 1; then
9747 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9750 if test "$wxUSE_TIPWINDOW" = yes; then
9751 echo "$as_me:$LINENO: result: yes" >&5
9752 echo "${ECHO_T}yes" >&6
9754 echo "$as_me:$LINENO: result: no" >&5
9755 echo "${ECHO_T}no" >&6
9760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9761 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9763 # Check whether --enable-popupwin or --disable-popupwin was given.
9764 if test "${enable_popupwin+set}" = set; then
9765 enableval
="$enable_popupwin"
9767 if test "$enableval" = yes; then
9768 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9770 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9775 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9776 if test "x$LINE" != x
; then
9777 eval "DEFAULT_$LINE"
9782 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9786 eval "$ac_cv_use_popupwin"
9787 if test "$no_cache" != 1; then
9788 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9791 if test "$wxUSE_POPUPWIN" = yes; then
9792 echo "$as_me:$LINENO: result: yes" >&5
9793 echo "${ECHO_T}yes" >&6
9795 echo "$as_me:$LINENO: result: no" >&5
9796 echo "${ECHO_T}no" >&6
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9806 # Check whether --enable-commondlg or --disable-commondlg was given.
9807 if test "${enable_commondlg+set}" = set; then
9808 enableval
="$enable_commondlg"
9810 if test "$enableval" = yes; then
9811 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9813 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9818 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x
; then
9820 eval "DEFAULT_$LINE"
9825 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9829 eval "$ac_cv_use_commondlg"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9834 if test "$wxUSE_COMMONDLGS" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9847 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9848 if test "${enable_choicedlg+set}" = set; then
9849 enableval
="$enable_choicedlg"
9851 if test "$enableval" = yes; then
9852 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9854 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9859 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x
; then
9861 eval "DEFAULT_$LINE"
9866 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9870 eval "$ac_cv_use_choicedlg"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9875 if test "$wxUSE_CHOICEDLG" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9888 # Check whether --enable-coldlg or --disable-coldlg was given.
9889 if test "${enable_coldlg+set}" = set; then
9890 enableval
="$enable_coldlg"
9892 if test "$enableval" = yes; then
9893 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9895 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9900 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x
; then
9902 eval "DEFAULT_$LINE"
9907 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9911 eval "$ac_cv_use_coldlg"
9912 if test "$no_cache" != 1; then
9913 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9916 if test "$wxUSE_COLOURDLG" = yes; then
9917 echo "$as_me:$LINENO: result: yes" >&5
9918 echo "${ECHO_T}yes" >&6
9920 echo "$as_me:$LINENO: result: no" >&5
9921 echo "${ECHO_T}no" >&6
9926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9929 # Check whether --enable-filedlg or --disable-filedlg was given.
9930 if test "${enable_filedlg+set}" = set; then
9931 enableval
="$enable_filedlg"
9933 if test "$enableval" = yes; then
9934 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9936 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9941 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9942 if test "x$LINE" != x
; then
9943 eval "DEFAULT_$LINE"
9948 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9952 eval "$ac_cv_use_filedlg"
9953 if test "$no_cache" != 1; then
9954 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9957 if test "$wxUSE_FILEDLG" = yes; then
9958 echo "$as_me:$LINENO: result: yes" >&5
9959 echo "${ECHO_T}yes" >&6
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9970 # Check whether --enable-finddlg or --disable-finddlg was given.
9971 if test "${enable_finddlg+set}" = set; then
9972 enableval
="$enable_finddlg"
9974 if test "$enableval" = yes; then
9975 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9977 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9982 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9983 if test "x$LINE" != x
; then
9984 eval "DEFAULT_$LINE"
9989 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9993 eval "$ac_cv_use_finddlg"
9994 if test "$no_cache" != 1; then
9995 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9998 if test "$wxUSE_FINDREPLDLG" = yes; then
9999 echo "$as_me:$LINENO: result: yes" >&5
10000 echo "${ECHO_T}yes" >&6
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10011 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10012 if test "${enable_fontdlg+set}" = set; then
10013 enableval
="$enable_fontdlg"
10015 if test "$enableval" = yes; then
10016 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10018 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10023 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10024 if test "x$LINE" != x
; then
10025 eval "DEFAULT_$LINE"
10030 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10034 eval "$ac_cv_use_fontdlg"
10035 if test "$no_cache" != 1; then
10036 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10039 if test "$wxUSE_FONTDLG" = yes; then
10040 echo "$as_me:$LINENO: result: yes" >&5
10041 echo "${ECHO_T}yes" >&6
10043 echo "$as_me:$LINENO: result: no" >&5
10044 echo "${ECHO_T}no" >&6
10049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10050 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10052 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10053 if test "${enable_dirdlg+set}" = set; then
10054 enableval
="$enable_dirdlg"
10056 if test "$enableval" = yes; then
10057 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10059 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10064 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10065 if test "x$LINE" != x
; then
10066 eval "DEFAULT_$LINE"
10071 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10075 eval "$ac_cv_use_dirdlg"
10076 if test "$no_cache" != 1; then
10077 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10080 if test "$wxUSE_DIRDLG" = yes; then
10081 echo "$as_me:$LINENO: result: yes" >&5
10082 echo "${ECHO_T}yes" >&6
10084 echo "$as_me:$LINENO: result: no" >&5
10085 echo "${ECHO_T}no" >&6
10090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10091 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10093 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10094 if test "${enable_msgdlg+set}" = set; then
10095 enableval
="$enable_msgdlg"
10097 if test "$enableval" = yes; then
10098 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10100 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10105 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10106 if test "x$LINE" != x
; then
10107 eval "DEFAULT_$LINE"
10112 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10116 eval "$ac_cv_use_msgdlg"
10117 if test "$no_cache" != 1; then
10118 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10121 if test "$wxUSE_MSGDLG" = yes; then
10122 echo "$as_me:$LINENO: result: yes" >&5
10123 echo "${ECHO_T}yes" >&6
10125 echo "$as_me:$LINENO: result: no" >&5
10126 echo "${ECHO_T}no" >&6
10131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10132 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10134 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10135 if test "${enable_numberdlg+set}" = set; then
10136 enableval
="$enable_numberdlg"
10138 if test "$enableval" = yes; then
10139 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10141 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10146 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10147 if test "x$LINE" != x
; then
10148 eval "DEFAULT_$LINE"
10153 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10157 eval "$ac_cv_use_numberdlg"
10158 if test "$no_cache" != 1; then
10159 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10162 if test "$wxUSE_NUMBERDLG" = yes; then
10163 echo "$as_me:$LINENO: result: yes" >&5
10164 echo "${ECHO_T}yes" >&6
10166 echo "$as_me:$LINENO: result: no" >&5
10167 echo "${ECHO_T}no" >&6
10172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10173 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10175 # Check whether --enable-splash or --disable-splash was given.
10176 if test "${enable_splash+set}" = set; then
10177 enableval
="$enable_splash"
10179 if test "$enableval" = yes; then
10180 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10182 ac_cv_use_splash
='wxUSE_SPLASH=no'
10187 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10188 if test "x$LINE" != x
; then
10189 eval "DEFAULT_$LINE"
10194 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10198 eval "$ac_cv_use_splash"
10199 if test "$no_cache" != 1; then
10200 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10203 if test "$wxUSE_SPLASH" = yes; then
10204 echo "$as_me:$LINENO: result: yes" >&5
10205 echo "${ECHO_T}yes" >&6
10207 echo "$as_me:$LINENO: result: no" >&5
10208 echo "${ECHO_T}no" >&6
10213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10214 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10216 # Check whether --enable-textdlg or --disable-textdlg was given.
10217 if test "${enable_textdlg+set}" = set; then
10218 enableval
="$enable_textdlg"
10220 if test "$enableval" = yes; then
10221 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10223 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10228 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10229 if test "x$LINE" != x
; then
10230 eval "DEFAULT_$LINE"
10235 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10239 eval "$ac_cv_use_textdlg"
10240 if test "$no_cache" != 1; then
10241 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10244 if test "$wxUSE_TEXTDLG" = yes; then
10245 echo "$as_me:$LINENO: result: yes" >&5
10246 echo "${ECHO_T}yes" >&6
10248 echo "$as_me:$LINENO: result: no" >&5
10249 echo "${ECHO_T}no" >&6
10254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10255 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10257 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10258 if test "${enable_tipdlg+set}" = set; then
10259 enableval
="$enable_tipdlg"
10261 if test "$enableval" = yes; then
10262 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10264 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10269 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10270 if test "x$LINE" != x
; then
10271 eval "DEFAULT_$LINE"
10276 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10280 eval "$ac_cv_use_tipdlg"
10281 if test "$no_cache" != 1; then
10282 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10285 if test "$wxUSE_STARTUP_TIPS" = yes; then
10286 echo "$as_me:$LINENO: result: yes" >&5
10287 echo "${ECHO_T}yes" >&6
10289 echo "$as_me:$LINENO: result: no" >&5
10290 echo "${ECHO_T}no" >&6
10295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10296 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10298 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10299 if test "${enable_progressdlg+set}" = set; then
10300 enableval
="$enable_progressdlg"
10302 if test "$enableval" = yes; then
10303 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10305 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10310 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10311 if test "x$LINE" != x
; then
10312 eval "DEFAULT_$LINE"
10317 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10321 eval "$ac_cv_use_progressdlg"
10322 if test "$no_cache" != 1; then
10323 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10326 if test "$wxUSE_PROGRESSDLG" = yes; then
10327 echo "$as_me:$LINENO: result: yes" >&5
10328 echo "${ECHO_T}yes" >&6
10330 echo "$as_me:$LINENO: result: no" >&5
10331 echo "${ECHO_T}no" >&6
10336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10337 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10339 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10340 if test "${enable_wizarddlg+set}" = set; then
10341 enableval
="$enable_wizarddlg"
10343 if test "$enableval" = yes; then
10344 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10346 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10351 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10352 if test "x$LINE" != x
; then
10353 eval "DEFAULT_$LINE"
10358 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10362 eval "$ac_cv_use_wizarddlg"
10363 if test "$no_cache" != 1; then
10364 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10367 if test "$wxUSE_WIZARDDLG" = yes; then
10368 echo "$as_me:$LINENO: result: yes" >&5
10369 echo "${ECHO_T}yes" >&6
10371 echo "$as_me:$LINENO: result: no" >&5
10372 echo "${ECHO_T}no" >&6
10379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10380 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10382 # Check whether --enable-menus or --disable-menus was given.
10383 if test "${enable_menus+set}" = set; then
10384 enableval
="$enable_menus"
10386 if test "$enableval" = yes; then
10387 ac_cv_use_menus
='wxUSE_MENUS=yes'
10389 ac_cv_use_menus
='wxUSE_MENUS=no'
10394 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10395 if test "x$LINE" != x
; then
10396 eval "DEFAULT_$LINE"
10401 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10405 eval "$ac_cv_use_menus"
10406 if test "$no_cache" != 1; then
10407 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10410 if test "$wxUSE_MENUS" = yes; then
10411 echo "$as_me:$LINENO: result: yes" >&5
10412 echo "${ECHO_T}yes" >&6
10414 echo "$as_me:$LINENO: result: no" >&5
10415 echo "${ECHO_T}no" >&6
10420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10421 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10423 # Check whether --enable-miniframe or --disable-miniframe was given.
10424 if test "${enable_miniframe+set}" = set; then
10425 enableval
="$enable_miniframe"
10427 if test "$enableval" = yes; then
10428 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10430 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10435 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10436 if test "x$LINE" != x
; then
10437 eval "DEFAULT_$LINE"
10442 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10446 eval "$ac_cv_use_miniframe"
10447 if test "$no_cache" != 1; then
10448 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10451 if test "$wxUSE_MINIFRAME" = yes; then
10452 echo "$as_me:$LINENO: result: yes" >&5
10453 echo "${ECHO_T}yes" >&6
10455 echo "$as_me:$LINENO: result: no" >&5
10456 echo "${ECHO_T}no" >&6
10461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10462 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10464 # Check whether --enable-tooltips or --disable-tooltips was given.
10465 if test "${enable_tooltips+set}" = set; then
10466 enableval
="$enable_tooltips"
10468 if test "$enableval" = yes; then
10469 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10471 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10476 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10477 if test "x$LINE" != x
; then
10478 eval "DEFAULT_$LINE"
10483 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10487 eval "$ac_cv_use_tooltips"
10488 if test "$no_cache" != 1; then
10489 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10492 if test "$wxUSE_TOOLTIPS" = yes; then
10493 echo "$as_me:$LINENO: result: yes" >&5
10494 echo "${ECHO_T}yes" >&6
10496 echo "$as_me:$LINENO: result: no" >&5
10497 echo "${ECHO_T}no" >&6
10502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10503 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10505 # Check whether --enable-splines or --disable-splines was given.
10506 if test "${enable_splines+set}" = set; then
10507 enableval
="$enable_splines"
10509 if test "$enableval" = yes; then
10510 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10512 ac_cv_use_splines
='wxUSE_SPLINES=no'
10517 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10518 if test "x$LINE" != x
; then
10519 eval "DEFAULT_$LINE"
10524 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10528 eval "$ac_cv_use_splines"
10529 if test "$no_cache" != 1; then
10530 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10533 if test "$wxUSE_SPLINES" = yes; then
10534 echo "$as_me:$LINENO: result: yes" >&5
10535 echo "${ECHO_T}yes" >&6
10537 echo "$as_me:$LINENO: result: no" >&5
10538 echo "${ECHO_T}no" >&6
10543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10544 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10546 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10547 if test "${enable_mousewheel+set}" = set; then
10548 enableval
="$enable_mousewheel"
10550 if test "$enableval" = yes; then
10551 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10553 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10558 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10559 if test "x$LINE" != x
; then
10560 eval "DEFAULT_$LINE"
10565 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10569 eval "$ac_cv_use_mousewheel"
10570 if test "$no_cache" != 1; then
10571 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10574 if test "$wxUSE_MOUSEWHEEL" = yes; then
10575 echo "$as_me:$LINENO: result: yes" >&5
10576 echo "${ECHO_T}yes" >&6
10578 echo "$as_me:$LINENO: result: no" >&5
10579 echo "${ECHO_T}no" >&6
10584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10585 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10587 # Check whether --enable-validators or --disable-validators was given.
10588 if test "${enable_validators+set}" = set; then
10589 enableval
="$enable_validators"
10591 if test "$enableval" = yes; then
10592 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10594 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10599 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10600 if test "x$LINE" != x
; then
10601 eval "DEFAULT_$LINE"
10606 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10610 eval "$ac_cv_use_validators"
10611 if test "$no_cache" != 1; then
10612 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10615 if test "$wxUSE_VALIDATORS" = yes; then
10616 echo "$as_me:$LINENO: result: yes" >&5
10617 echo "${ECHO_T}yes" >&6
10619 echo "$as_me:$LINENO: result: no" >&5
10620 echo "${ECHO_T}no" >&6
10625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10626 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10628 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10629 if test "${enable_busyinfo+set}" = set; then
10630 enableval
="$enable_busyinfo"
10632 if test "$enableval" = yes; then
10633 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10635 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10640 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10641 if test "x$LINE" != x
; then
10642 eval "DEFAULT_$LINE"
10647 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10651 eval "$ac_cv_use_busyinfo"
10652 if test "$no_cache" != 1; then
10653 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10656 if test "$wxUSE_BUSYINFO" = yes; then
10657 echo "$as_me:$LINENO: result: yes" >&5
10658 echo "${ECHO_T}yes" >&6
10660 echo "$as_me:$LINENO: result: no" >&5
10661 echo "${ECHO_T}no" >&6
10666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10667 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10669 # Check whether --enable-joystick or --disable-joystick was given.
10670 if test "${enable_joystick+set}" = set; then
10671 enableval
="$enable_joystick"
10673 if test "$enableval" = yes; then
10674 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10676 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10681 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10682 if test "x$LINE" != x
; then
10683 eval "DEFAULT_$LINE"
10688 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10692 eval "$ac_cv_use_joystick"
10693 if test "$no_cache" != 1; then
10694 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10697 if test "$wxUSE_JOYSTICK" = yes; then
10698 echo "$as_me:$LINENO: result: yes" >&5
10699 echo "${ECHO_T}yes" >&6
10701 echo "$as_me:$LINENO: result: no" >&5
10702 echo "${ECHO_T}no" >&6
10707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10708 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10710 # Check whether --enable-metafile or --disable-metafile was given.
10711 if test "${enable_metafile+set}" = set; then
10712 enableval
="$enable_metafile"
10714 if test "$enableval" = yes; then
10715 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10717 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10722 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10723 if test "x$LINE" != x
; then
10724 eval "DEFAULT_$LINE"
10729 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10733 eval "$ac_cv_use_metafile"
10734 if test "$no_cache" != 1; then
10735 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10738 if test "$wxUSE_METAFILE" = yes; then
10739 echo "$as_me:$LINENO: result: yes" >&5
10740 echo "${ECHO_T}yes" >&6
10742 echo "$as_me:$LINENO: result: no" >&5
10743 echo "${ECHO_T}no" >&6
10748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10749 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10751 # Check whether --enable-dragimage or --disable-dragimage was given.
10752 if test "${enable_dragimage+set}" = set; then
10753 enableval
="$enable_dragimage"
10755 if test "$enableval" = yes; then
10756 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10758 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10763 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10764 if test "x$LINE" != x
; then
10765 eval "DEFAULT_$LINE"
10770 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10774 eval "$ac_cv_use_dragimage"
10775 if test "$no_cache" != 1; then
10776 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10779 if test "$wxUSE_DRAGIMAGE" = yes; then
10780 echo "$as_me:$LINENO: result: yes" >&5
10781 echo "${ECHO_T}yes" >&6
10783 echo "$as_me:$LINENO: result: no" >&5
10784 echo "${ECHO_T}no" >&6
10789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10790 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10792 # Check whether --enable-accessibility or --disable-accessibility was given.
10793 if test "${enable_accessibility+set}" = set; then
10794 enableval
="$enable_accessibility"
10796 if test "$enableval" = yes; then
10797 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10799 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10804 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10805 if test "x$LINE" != x
; then
10806 eval "DEFAULT_$LINE"
10811 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10815 eval "$ac_cv_use_accessibility"
10816 if test "$no_cache" != 1; then
10817 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10820 if test "$wxUSE_ACCESSIBILITY" = yes; then
10821 echo "$as_me:$LINENO: result: yes" >&5
10822 echo "${ECHO_T}yes" >&6
10824 echo "$as_me:$LINENO: result: no" >&5
10825 echo "${ECHO_T}no" >&6
10829 if test "$wxUSE_MSW" = "1"; then
10832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10833 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10835 # Check whether --enable-dccache or --disable-dccache was given.
10836 if test "${enable_dccache+set}" = set; then
10837 enableval
="$enable_dccache"
10839 if test "$enableval" = yes; then
10840 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10842 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10847 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10848 if test "x$LINE" != x
; then
10849 eval "DEFAULT_$LINE"
10854 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10858 eval "$ac_cv_use_dccache"
10859 if test "$no_cache" != 1; then
10860 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10863 if test "$wxUSE_DC_CACHEING" = yes; then
10864 echo "$as_me:$LINENO: result: yes" >&5
10865 echo "${ECHO_T}yes" >&6
10867 echo "$as_me:$LINENO: result: no" >&5
10868 echo "${ECHO_T}no" >&6
10876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10877 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10879 # Check whether --enable-palette or --disable-palette was given.
10880 if test "${enable_palette+set}" = set; then
10881 enableval
="$enable_palette"
10883 if test "$enableval" = yes; then
10884 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10886 ac_cv_use_palette
='wxUSE_PALETTE=no'
10891 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10892 if test "x$LINE" != x
; then
10893 eval "DEFAULT_$LINE"
10898 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10902 eval "$ac_cv_use_palette"
10903 if test "$no_cache" != 1; then
10904 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10907 if test "$wxUSE_PALETTE" = yes; then
10908 echo "$as_me:$LINENO: result: yes" >&5
10909 echo "${ECHO_T}yes" >&6
10911 echo "$as_me:$LINENO: result: no" >&5
10912 echo "${ECHO_T}no" >&6
10917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10918 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10920 # Check whether --enable-image or --disable-image was given.
10921 if test "${enable_image+set}" = set; then
10922 enableval
="$enable_image"
10924 if test "$enableval" = yes; then
10925 ac_cv_use_image
='wxUSE_IMAGE=yes'
10927 ac_cv_use_image
='wxUSE_IMAGE=no'
10932 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10933 if test "x$LINE" != x
; then
10934 eval "DEFAULT_$LINE"
10939 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10943 eval "$ac_cv_use_image"
10944 if test "$no_cache" != 1; then
10945 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10948 if test "$wxUSE_IMAGE" = yes; then
10949 echo "$as_me:$LINENO: result: yes" >&5
10950 echo "${ECHO_T}yes" >&6
10952 echo "$as_me:$LINENO: result: no" >&5
10953 echo "${ECHO_T}no" >&6
10958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10959 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10961 # Check whether --enable-gif or --disable-gif was given.
10962 if test "${enable_gif+set}" = set; then
10963 enableval
="$enable_gif"
10965 if test "$enableval" = yes; then
10966 ac_cv_use_gif
='wxUSE_GIF=yes'
10968 ac_cv_use_gif
='wxUSE_GIF=no'
10973 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10974 if test "x$LINE" != x
; then
10975 eval "DEFAULT_$LINE"
10980 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10984 eval "$ac_cv_use_gif"
10985 if test "$no_cache" != 1; then
10986 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10989 if test "$wxUSE_GIF" = yes; then
10990 echo "$as_me:$LINENO: result: yes" >&5
10991 echo "${ECHO_T}yes" >&6
10993 echo "$as_me:$LINENO: result: no" >&5
10994 echo "${ECHO_T}no" >&6
10999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11000 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11002 # Check whether --enable-pcx or --disable-pcx was given.
11003 if test "${enable_pcx+set}" = set; then
11004 enableval
="$enable_pcx"
11006 if test "$enableval" = yes; then
11007 ac_cv_use_pcx
='wxUSE_PCX=yes'
11009 ac_cv_use_pcx
='wxUSE_PCX=no'
11014 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11015 if test "x$LINE" != x
; then
11016 eval "DEFAULT_$LINE"
11021 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11025 eval "$ac_cv_use_pcx"
11026 if test "$no_cache" != 1; then
11027 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11030 if test "$wxUSE_PCX" = yes; then
11031 echo "$as_me:$LINENO: result: yes" >&5
11032 echo "${ECHO_T}yes" >&6
11034 echo "$as_me:$LINENO: result: no" >&5
11035 echo "${ECHO_T}no" >&6
11040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11041 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11043 # Check whether --enable-iff or --disable-iff was given.
11044 if test "${enable_iff+set}" = set; then
11045 enableval
="$enable_iff"
11047 if test "$enableval" = yes; then
11048 ac_cv_use_iff
='wxUSE_IFF=yes'
11050 ac_cv_use_iff
='wxUSE_IFF=no'
11055 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11056 if test "x$LINE" != x
; then
11057 eval "DEFAULT_$LINE"
11062 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11066 eval "$ac_cv_use_iff"
11067 if test "$no_cache" != 1; then
11068 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11071 if test "$wxUSE_IFF" = yes; then
11072 echo "$as_me:$LINENO: result: yes" >&5
11073 echo "${ECHO_T}yes" >&6
11075 echo "$as_me:$LINENO: result: no" >&5
11076 echo "${ECHO_T}no" >&6
11081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11082 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11084 # Check whether --enable-pnm or --disable-pnm was given.
11085 if test "${enable_pnm+set}" = set; then
11086 enableval
="$enable_pnm"
11088 if test "$enableval" = yes; then
11089 ac_cv_use_pnm
='wxUSE_PNM=yes'
11091 ac_cv_use_pnm
='wxUSE_PNM=no'
11096 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11097 if test "x$LINE" != x
; then
11098 eval "DEFAULT_$LINE"
11103 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11107 eval "$ac_cv_use_pnm"
11108 if test "$no_cache" != 1; then
11109 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11112 if test "$wxUSE_PNM" = yes; then
11113 echo "$as_me:$LINENO: result: yes" >&5
11114 echo "${ECHO_T}yes" >&6
11116 echo "$as_me:$LINENO: result: no" >&5
11117 echo "${ECHO_T}no" >&6
11122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11123 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11125 # Check whether --enable-xpm or --disable-xpm was given.
11126 if test "${enable_xpm+set}" = set; then
11127 enableval
="$enable_xpm"
11129 if test "$enableval" = yes; then
11130 ac_cv_use_xpm
='wxUSE_XPM=yes'
11132 ac_cv_use_xpm
='wxUSE_XPM=no'
11137 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11138 if test "x$LINE" != x
; then
11139 eval "DEFAULT_$LINE"
11144 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11148 eval "$ac_cv_use_xpm"
11149 if test "$no_cache" != 1; then
11150 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11153 if test "$wxUSE_XPM" = yes; then
11154 echo "$as_me:$LINENO: result: yes" >&5
11155 echo "${ECHO_T}yes" >&6
11157 echo "$as_me:$LINENO: result: no" >&5
11158 echo "${ECHO_T}no" >&6
11163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11164 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11166 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11167 if test "${enable_ico_cur+set}" = set; then
11168 enableval
="$enable_ico_cur"
11170 if test "$enableval" = yes; then
11171 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11173 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11178 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11179 if test "x$LINE" != x
; then
11180 eval "DEFAULT_$LINE"
11185 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11189 eval "$ac_cv_use_ico_cur"
11190 if test "$no_cache" != 1; then
11191 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11194 if test "$wxUSE_ICO_CUR" = yes; then
11195 echo "$as_me:$LINENO: result: yes" >&5
11196 echo "${ECHO_T}yes" >&6
11198 echo "$as_me:$LINENO: result: no" >&5
11199 echo "${ECHO_T}no" >&6
11207 # Check whether --with-flavour or --without-flavour was given.
11208 if test "${with_flavour+set}" = set; then
11209 withval
="$with_flavour"
11210 WX_FLAVOUR
="$withval"
11216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11217 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11219 # Check whether --enable-official_build or --disable-official_build was given.
11220 if test "${enable_official_build+set}" = set; then
11221 enableval
="$enable_official_build"
11223 if test "$enableval" = yes; then
11224 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11226 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11231 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11232 if test "x$LINE" != x
; then
11233 eval "DEFAULT_$LINE"
11238 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11242 eval "$ac_cv_use_official_build"
11243 if test "$no_cache" != 1; then
11244 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11247 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11248 echo "$as_me:$LINENO: result: yes" >&5
11249 echo "${ECHO_T}yes" >&6
11251 echo "$as_me:$LINENO: result: no" >&5
11252 echo "${ECHO_T}no" >&6
11255 # Check whether --enable-vendor or --disable-vendor was given.
11256 if test "${enable_vendor+set}" = set; then
11257 enableval
="$enable_vendor"
11258 VENDOR
="$enableval"
11260 if test "x$VENDOR" = "x"; then
11267 echo "saving argument cache $wx_arg_cache_file"
11268 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11272 echo "$as_me:$LINENO: checking for toolkit" >&5
11273 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11275 # In Wine, we need to default to MSW, not GTK or MOTIF
11276 if test "$wxUSE_WINE" = "yes"; then
11277 DEFAULT_DEFAULT_wxUSE_GTK
=0
11278 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11279 DEFAULT_DEFAULT_wxUSE_MSW
=1
11284 if test "$wxUSE_GUI" = "yes"; then
11286 if test "$USE_BEOS" = 1; then
11287 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11288 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11289 { (exit 1); exit 1; }; }
11292 if test "$TOOLKIT_GIVEN" = 1; then
11293 for toolkit
in `echo $ALL_TOOLKITS`; do
11295 eval "value=\$${var}"
11296 if test "x$value" = "xno"; then
11298 elif test "x$value" != "x"; then
11302 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11303 eval "wx${toolkit}_VERSION=$value"
11307 for toolkit
in `echo $ALL_TOOLKITS`; do
11308 if test "$has_toolkit_in_cache" != 1; then
11309 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11311 var
=DEFAULT_wxUSE_
$toolkit
11313 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11314 if test "x$version" != "x"; then
11315 eval "wx${toolkit}_VERSION=$version"
11318 eval "wxUSE_$toolkit=\$${var}"
11322 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11323 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
11324 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11327 *-pc-os2_emx | *-pc-os2-emx )
11328 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11331 case "$NUM_TOOLKITS" in
11335 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11336 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11337 { (exit 1); exit 1; }; }
11340 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11341 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11342 { (exit 1); exit 1; }; }
11345 # to be removed when --disable-gtk2 isn't needed
11346 if test "x$wxUSE_GTK2" = "xyes"; then
11348 elif test "x$wxUSE_GTK2" = "xno"; then
11352 for toolkit
in `echo $ALL_TOOLKITS`; do
11354 eval "value=\$${var}"
11355 if test "x$value" != x
; then
11356 cache_var
=CACHE_
$toolkit
11357 eval "cache=\$${cache_var}"
11358 if test "$cache" = 1; then
11359 echo "$var=$value" >> ${wx_arg_cache_file}
11360 eval "version=\$wx${toolkit}_VERSION"
11361 if test "x$version" != "x"; then
11362 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11365 if test "$value" = 1; then
11366 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11367 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11368 echo "${ECHO_T}$toolkit_echo" >&6
11373 if test "x$host_alias" != "x"; then
11374 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11375 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11377 echo "$as_me:$LINENO: result: base only" >&5
11378 echo "${ECHO_T}base only" >&6
11383 doesnt_want_win32
=0
11386 if test "$wxUSE_MSW" = 1 ; then
11388 BAKEFILE_FORCE_PLATFORM
=win32
11390 doesnt_want_win32
=1
11398 if test "$wxUSE_WINE" = "yes"; then
11402 LDFLAGS_GUI
="-mwindows"
11405 if test "$wants_win32" = 1 ; then
11408 cat >>confdefs.h
<<\_ACEOF
11409 #define __WIN32__ 1
11412 cat >>confdefs.h
<<\_ACEOF
11413 #define __WIN95__ 1
11416 cat >>confdefs.h
<<\_ACEOF
11417 #define __WINDOWS__ 1
11420 cat >>confdefs.h
<<\_ACEOF
11421 #define __GNUWIN32__ 1
11424 cat >>confdefs.h
<<\_ACEOF
11428 cat >>confdefs.h
<<\_ACEOF
11429 #define WINVER 0x0400
11433 if test "$doesnt_want_win32" = 1 ; then
11438 if test "$USE_UNIX" = 1 ; then
11440 cat >>confdefs.h
<<\_ACEOF
11447 cat >confcache
<<\_ACEOF
11448 # This file is a shell script that caches the results of configure
11449 # tests run on this system so they can be shared between configure
11450 # scripts and configure runs, see configure's option --config-cache.
11451 # It is not useful on other systems. If it contains results you don't
11452 # want to keep, you may remove or edit it.
11454 # config.status only pays attention to the cache file if you give it
11455 # the --recheck option to rerun configure.
11457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11459 # following values.
11463 # The following way of writing the cache mishandles newlines in values,
11464 # but we know of no workaround that is simple, portable, and efficient.
11465 # So, don't put newlines in cache variables' values.
11466 # Ultrix sh set writes to stderr and can't be redirected directly,
11467 # and sets the high bit in the cache file unless we assign to the vars.
11470 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11472 # `set' does not quote correctly, so add quotes (double-quote
11473 # substitution turns \\\\ into \\, and sed turns \\ into \).
11476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11479 # `set' quotes correctly as required by POSIX, so do not add quotes.
11481 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11488 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11490 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11492 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11493 if test -w $cache_file; then
11494 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11495 cat confcache
>$cache_file
11497 echo "not updating unwritable cache $cache_file"
11507 ac_cpp
='$CPP $CPPFLAGS'
11508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11511 if test -n "$ac_tool_prefix"; then
11512 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11513 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11514 echo "$as_me:$LINENO: checking for $ac_word" >&5
11515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11516 if test "${ac_cv_prog_CC+set}" = set; then
11517 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 if test -n "$CC"; then
11520 ac_cv_prog_CC
="$CC" # Let the user override the test.
11522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11523 for as_dir
in $PATH
11526 test -z "$as_dir" && as_dir
=.
11527 for ac_exec_ext
in '' $ac_executable_extensions; do
11528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11529 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11539 if test -n "$CC"; then
11540 echo "$as_me:$LINENO: result: $CC" >&5
11541 echo "${ECHO_T}$CC" >&6
11543 echo "$as_me:$LINENO: result: no" >&5
11544 echo "${ECHO_T}no" >&6
11548 if test -z "$ac_cv_prog_CC"; then
11550 # Extract the first word of "gcc", so it can be a program name with args.
11551 set dummy gcc
; ac_word
=$2
11552 echo "$as_me:$LINENO: checking for $ac_word" >&5
11553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11554 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11555 echo $ECHO_N "(cached) $ECHO_C" >&6
11557 if test -n "$ac_ct_CC"; then
11558 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11561 for as_dir
in $PATH
11564 test -z "$as_dir" && as_dir
=.
11565 for ac_exec_ext
in '' $ac_executable_extensions; do
11566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11567 ac_cv_prog_ac_ct_CC
="gcc"
11568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11576 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11577 if test -n "$ac_ct_CC"; then
11578 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11579 echo "${ECHO_T}$ac_ct_CC" >&6
11581 echo "$as_me:$LINENO: result: no" >&5
11582 echo "${ECHO_T}no" >&6
11587 CC
="$ac_cv_prog_CC"
11590 if test -z "$CC"; then
11591 if test -n "$ac_tool_prefix"; then
11592 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11593 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11594 echo "$as_me:$LINENO: checking for $ac_word" >&5
11595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11596 if test "${ac_cv_prog_CC+set}" = set; then
11597 echo $ECHO_N "(cached) $ECHO_C" >&6
11599 if test -n "$CC"; then
11600 ac_cv_prog_CC
="$CC" # Let the user override the test.
11602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11603 for as_dir
in $PATH
11606 test -z "$as_dir" && as_dir
=.
11607 for ac_exec_ext
in '' $ac_executable_extensions; do
11608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11609 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11619 if test -n "$CC"; then
11620 echo "$as_me:$LINENO: result: $CC" >&5
11621 echo "${ECHO_T}$CC" >&6
11623 echo "$as_me:$LINENO: result: no" >&5
11624 echo "${ECHO_T}no" >&6
11628 if test -z "$ac_cv_prog_CC"; then
11630 # Extract the first word of "cc", so it can be a program name with args.
11631 set dummy cc
; ac_word
=$2
11632 echo "$as_me:$LINENO: checking for $ac_word" >&5
11633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11634 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11635 echo $ECHO_N "(cached) $ECHO_C" >&6
11637 if test -n "$ac_ct_CC"; then
11638 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11641 for as_dir
in $PATH
11644 test -z "$as_dir" && as_dir
=.
11645 for ac_exec_ext
in '' $ac_executable_extensions; do
11646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11647 ac_cv_prog_ac_ct_CC
="cc"
11648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11656 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11657 if test -n "$ac_ct_CC"; then
11658 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11659 echo "${ECHO_T}$ac_ct_CC" >&6
11661 echo "$as_me:$LINENO: result: no" >&5
11662 echo "${ECHO_T}no" >&6
11667 CC
="$ac_cv_prog_CC"
11671 if test -z "$CC"; then
11672 # Extract the first word of "cc", so it can be a program name with args.
11673 set dummy cc
; ac_word
=$2
11674 echo "$as_me:$LINENO: checking for $ac_word" >&5
11675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11676 if test "${ac_cv_prog_CC+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11679 if test -n "$CC"; then
11680 ac_cv_prog_CC
="$CC" # Let the user override the test.
11682 ac_prog_rejected
=no
11683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11684 for as_dir
in $PATH
11687 test -z "$as_dir" && as_dir
=.
11688 for ac_exec_ext
in '' $ac_executable_extensions; do
11689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11690 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11691 ac_prog_rejected
=yes
11695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11701 if test $ac_prog_rejected = yes; then
11702 # We found a bogon in the path, so make sure we never use it.
11703 set dummy
$ac_cv_prog_CC
11705 if test $# != 0; then
11706 # We chose a different compiler from the bogus one.
11707 # However, it has the same basename, so the bogon will be chosen
11708 # first if we set CC to just the basename; use the full file name.
11710 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11716 if test -n "$CC"; then
11717 echo "$as_me:$LINENO: result: $CC" >&5
11718 echo "${ECHO_T}$CC" >&6
11720 echo "$as_me:$LINENO: result: no" >&5
11721 echo "${ECHO_T}no" >&6
11725 if test -z "$CC"; then
11726 if test -n "$ac_tool_prefix"; then
11729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11730 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11731 echo "$as_me:$LINENO: checking for $ac_word" >&5
11732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11733 if test "${ac_cv_prog_CC+set}" = set; then
11734 echo $ECHO_N "(cached) $ECHO_C" >&6
11736 if test -n "$CC"; then
11737 ac_cv_prog_CC
="$CC" # Let the user override the test.
11739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11740 for as_dir
in $PATH
11743 test -z "$as_dir" && as_dir
=.
11744 for ac_exec_ext
in '' $ac_executable_extensions; do
11745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11746 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11756 if test -n "$CC"; then
11757 echo "$as_me:$LINENO: result: $CC" >&5
11758 echo "${ECHO_T}$CC" >&6
11760 echo "$as_me:$LINENO: result: no" >&5
11761 echo "${ECHO_T}no" >&6
11764 test -n "$CC" && break
11767 if test -z "$CC"; then
11771 # Extract the first word of "$ac_prog", so it can be a program name with args.
11772 set dummy
$ac_prog; ac_word
=$2
11773 echo "$as_me:$LINENO: checking for $ac_word" >&5
11774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11775 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11776 echo $ECHO_N "(cached) $ECHO_C" >&6
11778 if test -n "$ac_ct_CC"; then
11779 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11782 for as_dir
in $PATH
11785 test -z "$as_dir" && as_dir
=.
11786 for ac_exec_ext
in '' $ac_executable_extensions; do
11787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11788 ac_cv_prog_ac_ct_CC
="$ac_prog"
11789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11797 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11798 if test -n "$ac_ct_CC"; then
11799 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11800 echo "${ECHO_T}$ac_ct_CC" >&6
11802 echo "$as_me:$LINENO: result: no" >&5
11803 echo "${ECHO_T}no" >&6
11806 test -n "$ac_ct_CC" && break
11815 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11816 See \`config.log' for more details." >&5
11817 echo "$as_me: error: no acceptable C compiler found in \$PATH
11818 See \`config.log' for more details." >&2;}
11819 { (exit 1); exit 1; }; }
11821 # Provide some information about the compiler.
11822 echo "$as_me:$LINENO:" \
11823 "checking for C compiler version" >&5
11824 ac_compiler
=`set X $ac_compile; echo $2`
11825 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11826 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); }
11830 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11831 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }
11835 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11836 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); }
11841 cat >conftest.
$ac_ext <<_ACEOF
11844 cat confdefs.h
>>conftest.
$ac_ext
11845 cat >>conftest.
$ac_ext <<_ACEOF
11846 /* end confdefs.h. */
11856 ac_clean_files_save
=$ac_clean_files
11857 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11858 # Try to create an executable without -o first, disregard a.out.
11859 # It will help us diagnose broken compilers, and finding out an intuition
11861 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11862 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11863 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11864 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11865 (eval $ac_link_default) 2>&5
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); }; then
11869 # Find the output, starting from the most likely. This scheme is
11870 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11873 # Be careful to initialize this variable, since it used to be cached.
11874 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11876 # b.out is created by i960 compilers.
11877 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11879 test -f "$ac_file" || continue
11881 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11884 # This is the source file.
11887 # We found the default executable, but exeext='' is most
11891 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11892 # FIXME: I believe we export ac_cv_exeext for Libtool,
11893 # but it would be cool to find out if it's true. Does anybody
11894 # maintain Libtool? --akim.
11895 export ac_cv_exeext
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.
$ac_ext >&5
11905 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11906 See \`config.log' for more details." >&5
11907 echo "$as_me: error: C compiler cannot create executables
11908 See \`config.log' for more details." >&2;}
11909 { (exit 77); exit 77; }; }
11912 ac_exeext
=$ac_cv_exeext
11913 echo "$as_me:$LINENO: result: $ac_file" >&5
11914 echo "${ECHO_T}$ac_file" >&6
11916 # Check the compiler produces executables we can run. If not, either
11917 # the compiler is broken, or we cross compile.
11918 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11919 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11920 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11921 # If not cross compiling, check that we can run a simple program.
11922 if test "$cross_compiling" != yes; then
11923 if { ac_try
='./$ac_file'
11924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11925 (eval $ac_try) 2>&5
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); }; }; then
11931 if test "$cross_compiling" = maybe
; then
11932 cross_compiling
=yes
11934 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11935 If you meant to cross compile, use \`--host'.
11936 See \`config.log' for more details." >&5
11937 echo "$as_me: error: cannot run C compiled programs.
11938 If you meant to cross compile, use \`--host'.
11939 See \`config.log' for more details." >&2;}
11940 { (exit 1); exit 1; }; }
11944 echo "$as_me:$LINENO: result: yes" >&5
11945 echo "${ECHO_T}yes" >&6
11947 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11948 ac_clean_files
=$ac_clean_files_save
11949 # Check the compiler produces executables we can run. If not, either
11950 # the compiler is broken, or we cross compile.
11951 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11952 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11953 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11954 echo "${ECHO_T}$cross_compiling" >&6
11956 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11957 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11959 (eval $ac_link) 2>&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); }; then
11963 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11964 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11965 # work properly (i.e., refer to `conftest.exe'), while it won't with
11967 for ac_file
in conftest.exe conftest conftest.
*; do
11968 test -f "$ac_file" || continue
11970 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11971 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11972 export ac_cv_exeext
11978 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11979 See \`config.log' for more details." >&5
11980 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11981 See \`config.log' for more details." >&2;}
11982 { (exit 1); exit 1; }; }
11985 rm -f conftest
$ac_cv_exeext
11986 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11987 echo "${ECHO_T}$ac_cv_exeext" >&6
11989 rm -f conftest.
$ac_ext
11990 EXEEXT
=$ac_cv_exeext
11992 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11993 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11994 if test "${ac_cv_objext+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11997 cat >conftest.
$ac_ext <<_ACEOF
12000 cat confdefs.h
>>conftest.
$ac_ext
12001 cat >>conftest.
$ac_ext <<_ACEOF
12002 /* end confdefs.h. */
12012 rm -f conftest.o conftest.obj
12013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12014 (eval $ac_compile) 2>&5
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); }; then
12018 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12020 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12021 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.
$ac_ext >&5
12029 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12030 See \`config.log' for more details." >&5
12031 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12032 See \`config.log' for more details." >&2;}
12033 { (exit 1); exit 1; }; }
12036 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12038 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12039 echo "${ECHO_T}$ac_cv_objext" >&6
12040 OBJEXT
=$ac_cv_objext
12042 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12043 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12044 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12047 cat >conftest.
$ac_ext <<_ACEOF
12050 cat confdefs.h
>>conftest.
$ac_ext
12051 cat >>conftest.
$ac_ext <<_ACEOF
12052 /* end confdefs.h. */
12065 rm -f conftest.
$ac_objext
12066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12067 (eval $ac_compile) 2>conftest.er1
12069 grep -v '^ *+' conftest.er1
>conftest.err
12071 cat conftest.err
>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); } &&
12074 { ac_try
='test -z "$ac_c_werror_flag"
12075 || test ! -s conftest.err'
12076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12077 (eval $ac_try) 2>&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); }; } &&
12081 { ac_try
='test -s conftest.$ac_objext'
12082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12083 (eval $ac_try) 2>&5
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); }; }; then
12087 ac_compiler_gnu
=yes
12089 echo "$as_me: failed program was:" >&5
12090 sed 's/^/| /' conftest.
$ac_ext >&5
12094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12095 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12098 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12099 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12100 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12101 ac_test_CFLAGS
=${CFLAGS+set}
12102 ac_save_CFLAGS
=$CFLAGS
12104 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12105 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12106 if test "${ac_cv_prog_cc_g+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 cat >conftest.
$ac_ext <<_ACEOF
12112 cat confdefs.h
>>conftest.
$ac_ext
12113 cat >>conftest.
$ac_ext <<_ACEOF
12114 /* end confdefs.h. */
12124 rm -f conftest.
$ac_objext
12125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12126 (eval $ac_compile) 2>conftest.er1
12128 grep -v '^ *+' conftest.er1
>conftest.err
12130 cat conftest.err
>&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); } &&
12133 { ac_try
='test -z "$ac_c_werror_flag"
12134 || test ! -s conftest.err'
12135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12136 (eval $ac_try) 2>&5
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); }; } &&
12140 { ac_try
='test -s conftest.$ac_objext'
12141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142 (eval $ac_try) 2>&5
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); }; }; then
12146 ac_cv_prog_cc_g
=yes
12148 echo "$as_me: failed program was:" >&5
12149 sed 's/^/| /' conftest.
$ac_ext >&5
12153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12155 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12156 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12157 if test "$ac_test_CFLAGS" = set; then
12158 CFLAGS
=$ac_save_CFLAGS
12159 elif test $ac_cv_prog_cc_g = yes; then
12160 if test "$GCC" = yes; then
12166 if test "$GCC" = yes; then
12172 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12173 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12174 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12175 echo $ECHO_N "(cached) $ECHO_C" >&6
12177 ac_cv_prog_cc_stdc
=no
12179 cat >conftest.
$ac_ext <<_ACEOF
12182 cat confdefs.h
>>conftest.
$ac_ext
12183 cat >>conftest.
$ac_ext <<_ACEOF
12184 /* end confdefs.h. */
12185 #include <stdarg.h>
12187 #include <sys/types.h>
12188 #include <sys/stat.h>
12189 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12190 struct buf { int x; };
12191 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12192 static char *e (p, i)
12198 static char *f (char * (*g) (char **, int), char **p, ...)
12203 s = g (p, va_arg (v,int));
12208 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12209 function prototypes and stuff, but not '\xHH' hex character constants.
12210 These don't provoke an error unfortunately, instead are silently treated
12211 as 'x'. The following induces an error, until -std1 is added to get
12212 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12213 array size at least. It's necessary to write '\x00'==0 to get something
12214 that's true only with -std1. */
12215 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12217 int test (int i, double x);
12218 struct s1 {int (*f) (int a);};
12219 struct s2 {int (*f) (double a);};
12220 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12226 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12231 # Don't try gcc -ansi; that turns off useful extensions and
12232 # breaks some systems' header files.
12233 # AIX -qlanglvl=ansi
12234 # Ultrix and OSF/1 -std1
12235 # HP-UX 10.20 and later -Ae
12236 # HP-UX older versions -Aa -D_HPUX_SOURCE
12237 # SVR4 -Xc -D__EXTENSIONS__
12238 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12240 CC
="$ac_save_CC $ac_arg"
12241 rm -f conftest.
$ac_objext
12242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12243 (eval $ac_compile) 2>conftest.er1
12245 grep -v '^ *+' conftest.er1
>conftest.err
12247 cat conftest.err
>&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); } &&
12250 { ac_try
='test -z "$ac_c_werror_flag"
12251 || test ! -s conftest.err'
12252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12253 (eval $ac_try) 2>&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); }; } &&
12257 { ac_try
='test -s conftest.$ac_objext'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; }; then
12263 ac_cv_prog_cc_stdc
=$ac_arg
12266 echo "$as_me: failed program was:" >&5
12267 sed 's/^/| /' conftest.
$ac_ext >&5
12270 rm -f conftest.err conftest.
$ac_objext
12272 rm -f conftest.
$ac_ext conftest.
$ac_objext
12277 case "x$ac_cv_prog_cc_stdc" in
12279 echo "$as_me:$LINENO: result: none needed" >&5
12280 echo "${ECHO_T}none needed" >&6 ;;
12282 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12283 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12284 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12287 # Some people use a C++ compiler to compile C. Since we use `exit',
12288 # in C++ we need to declare it. In case someone uses the same compiler
12289 # for both compiling C and C++ we need to have the C++ compiler decide
12290 # the declaration of exit, since it's the most demanding environment.
12291 cat >conftest.
$ac_ext <<_ACEOF
12292 #ifndef __cplusplus
12296 rm -f conftest.
$ac_objext
12297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12298 (eval $ac_compile) 2>conftest.er1
12300 grep -v '^ *+' conftest.er1
>conftest.err
12302 cat conftest.err
>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } &&
12305 { ac_try
='test -z "$ac_c_werror_flag"
12306 || test ! -s conftest.err'
12307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12308 (eval $ac_try) 2>&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); }; } &&
12312 { ac_try
='test -s conftest.$ac_objext'
12313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; }; then
12318 for ac_declaration
in \
12320 'extern "C" void std::exit (int) throw (); using std::exit;' \
12321 'extern "C" void std::exit (int); using std::exit;' \
12322 'extern "C" void exit (int) throw ();' \
12323 'extern "C" void exit (int);' \
12326 cat >conftest.
$ac_ext <<_ACEOF
12329 cat confdefs.h
>>conftest.
$ac_ext
12330 cat >>conftest.
$ac_ext <<_ACEOF
12331 /* end confdefs.h. */
12333 #include <stdlib.h>
12342 rm -f conftest.
$ac_objext
12343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12344 (eval $ac_compile) 2>conftest.er1
12346 grep -v '^ *+' conftest.er1
>conftest.err
12348 cat conftest.err
>&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } &&
12351 { ac_try
='test -z "$ac_c_werror_flag"
12352 || test ! -s conftest.err'
12353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12354 (eval $ac_try) 2>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }; } &&
12358 { ac_try
='test -s conftest.$ac_objext'
12359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12360 (eval $ac_try) 2>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; }; then
12366 echo "$as_me: failed program was:" >&5
12367 sed 's/^/| /' conftest.
$ac_ext >&5
12371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12372 cat >conftest.
$ac_ext <<_ACEOF
12375 cat confdefs.h
>>conftest.
$ac_ext
12376 cat >>conftest.
$ac_ext <<_ACEOF
12377 /* end confdefs.h. */
12387 rm -f conftest.
$ac_objext
12388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12389 (eval $ac_compile) 2>conftest.er1
12391 grep -v '^ *+' conftest.er1
>conftest.err
12393 cat conftest.err
>&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); } &&
12396 { ac_try
='test -z "$ac_c_werror_flag"
12397 || test ! -s conftest.err'
12398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12399 (eval $ac_try) 2>&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); }; } &&
12403 { ac_try
='test -s conftest.$ac_objext'
12404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12405 (eval $ac_try) 2>&5
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); }; }; then
12411 echo "$as_me: failed program was:" >&5
12412 sed 's/^/| /' conftest.
$ac_ext >&5
12415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12418 if test -n "$ac_declaration"; then
12419 echo '#ifdef __cplusplus' >>confdefs.h
12420 echo $ac_declaration >>confdefs.h
12421 echo '#endif' >>confdefs.h
12425 echo "$as_me: failed program was:" >&5
12426 sed 's/^/| /' conftest.
$ac_ext >&5
12429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12431 ac_cpp
='$CPP $CPPFLAGS'
12432 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12433 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12434 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12439 ac_cpp
='$CPP $CPPFLAGS'
12440 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12441 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12442 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12444 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12445 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12446 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12449 cat >conftest.
$ac_ext <<_ACEOF
12452 cat confdefs.h
>>conftest.
$ac_ext
12453 cat >>conftest.
$ac_ext <<_ACEOF
12454 /* end confdefs.h. */
12460 #ifndef __INTEL_COMPILER
12468 rm -f conftest.
$ac_objext
12469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12470 (eval $ac_compile) 2>conftest.er1
12472 grep -v '^ *+' conftest.er1
>conftest.err
12474 cat conftest.err
>&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); } &&
12477 { ac_try
='test -z "$ac_c_werror_flag"
12478 || test ! -s conftest.err'
12479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12480 (eval $ac_try) 2>&5
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); }; } &&
12484 { ac_try
='test -s conftest.$ac_objext'
12485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12486 (eval $ac_try) 2>&5
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); }; }; then
12490 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12492 echo "$as_me: failed program was:" >&5
12493 sed 's/^/| /' conftest.
$ac_ext >&5
12495 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12502 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12503 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12505 ac_cpp
='$CPP $CPPFLAGS'
12506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12510 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12517 if test "x$GCC" != "xyes"; then
12518 if test "xCC" = "xC"; then
12519 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12520 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12521 if test "${bakefile_cv_c_exto+set}" = set; then
12522 echo $ECHO_N "(cached) $ECHO_C" >&6
12524 cat >conftest.
$ac_ext <<_ACEOF
12527 cat confdefs.h
>>conftest.
$ac_ext
12528 cat >>conftest.
$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12539 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12541 (eval $ac_compile) 2>&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); }; then
12545 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12547 conftest.
$ac_ext.o
)
12548 bakefile_cv_c_exto
="-ext o"
12555 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12556 See \`config.log' for more details." >&5
12557 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12558 See \`config.log' for more details." >&2;}
12559 { (exit 1); exit 1; }; }
12563 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12566 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12567 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12568 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12569 if test "c" = "c"; then
12570 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12572 if test "c" = "cxx"; then
12573 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12577 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12578 unset ac_cv_prog_cc_g
12579 ac_test_CFLAGS
=${CFLAGS+set}
12580 ac_save_CFLAGS
=$CFLAGS
12582 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12583 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12584 if test "${ac_cv_prog_cc_g+set}" = set; then
12585 echo $ECHO_N "(cached) $ECHO_C" >&6
12587 cat >conftest.
$ac_ext <<_ACEOF
12590 cat confdefs.h
>>conftest.
$ac_ext
12591 cat >>conftest.
$ac_ext <<_ACEOF
12592 /* end confdefs.h. */
12602 rm -f conftest.
$ac_objext
12603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12604 (eval $ac_compile) 2>conftest.er1
12606 grep -v '^ *+' conftest.er1
>conftest.err
12608 cat conftest.err
>&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); } &&
12611 { ac_try
='test -z "$ac_c_werror_flag"
12612 || test ! -s conftest.err'
12613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12614 (eval $ac_try) 2>&5
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); }; } &&
12618 { ac_try
='test -s conftest.$ac_objext'
12619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12620 (eval $ac_try) 2>&5
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); }; }; then
12624 ac_cv_prog_cc_g
=yes
12626 echo "$as_me: failed program was:" >&5
12627 sed 's/^/| /' conftest.
$ac_ext >&5
12631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12633 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12634 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12635 if test "$ac_test_CFLAGS" = set; then
12636 CFLAGS
=$ac_save_CFLAGS
12637 elif test $ac_cv_prog_cc_g = yes; then
12638 if test "$GCC" = yes; then
12644 if test "$GCC" = yes; then
12656 ac_cpp
='$CPP $CPPFLAGS'
12657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12661 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12662 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12663 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12664 echo $ECHO_N "(cached) $ECHO_C" >&6
12666 cat >conftest.
$ac_ext <<_ACEOF
12669 cat confdefs.h
>>conftest.
$ac_ext
12670 cat >>conftest.
$ac_ext <<_ACEOF
12671 /* end confdefs.h. */
12684 rm -f conftest.
$ac_objext
12685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12686 (eval $ac_compile) 2>conftest.er1
12688 grep -v '^ *+' conftest.er1
>conftest.err
12690 cat conftest.err
>&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } &&
12693 { ac_try
='test -z "$ac_c_werror_flag"
12694 || test ! -s conftest.err'
12695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12696 (eval $ac_try) 2>&5
12698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12699 (exit $ac_status); }; } &&
12700 { ac_try
='test -s conftest.$ac_objext'
12701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12702 (eval $ac_try) 2>&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); }; }; then
12706 bakefile_compiler_xlc
=yes
12708 echo "$as_me: failed program was:" >&5
12709 sed 's/^/| /' conftest.
$ac_ext >&5
12711 bakefile_compiler_xlc
=no
12713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12714 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12717 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12718 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12720 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12722 ac_cpp
='$CPP $CPPFLAGS'
12723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12732 ac_cpp
='$CPP $CPPFLAGS'
12733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12737 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12738 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12739 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12740 echo $ECHO_N "(cached) $ECHO_C" >&6
12742 cat >conftest.
$ac_ext <<_ACEOF
12745 cat confdefs.h
>>conftest.
$ac_ext
12746 cat >>conftest.
$ac_ext <<_ACEOF
12747 /* end confdefs.h. */
12760 rm -f conftest.
$ac_objext
12761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12762 (eval $ac_compile) 2>conftest.er1
12764 grep -v '^ *+' conftest.er1
>conftest.err
12766 cat conftest.err
>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); } &&
12769 { ac_try
='test -z "$ac_c_werror_flag"
12770 || test ! -s conftest.err'
12771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12772 (eval $ac_try) 2>&5
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }; } &&
12776 { ac_try
='test -s conftest.$ac_objext'
12777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12778 (eval $ac_try) 2>&5
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); }; }; then
12782 bakefile_compiler_mwerks
=yes
12784 echo "$as_me: failed program was:" >&5
12785 sed 's/^/| /' conftest.
$ac_ext >&5
12787 bakefile_compiler_mwerks
=no
12789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12790 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12793 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12794 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12796 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12798 ac_cpp
='$CPP $CPPFLAGS'
12799 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12800 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12801 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12805 ac_cpp
='$CPP $CPPFLAGS'
12806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12810 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12811 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12812 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12813 echo $ECHO_N "(cached) $ECHO_C" >&6
12815 cat >conftest.
$ac_ext <<_ACEOF
12818 cat confdefs.h
>>conftest.
$ac_ext
12819 cat >>conftest.
$ac_ext <<_ACEOF
12820 /* end confdefs.h. */
12833 rm -f conftest.
$ac_objext
12834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12835 (eval $ac_compile) 2>conftest.er1
12837 grep -v '^ *+' conftest.er1
>conftest.err
12839 cat conftest.err
>&5
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); } &&
12842 { ac_try
='test -z "$ac_c_werror_flag"
12843 || test ! -s conftest.err'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; } &&
12849 { ac_try
='test -s conftest.$ac_objext'
12850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12851 (eval $ac_try) 2>&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); }; }; then
12855 bakefile_compiler_xlc
=yes
12857 echo "$as_me: failed program was:" >&5
12858 sed 's/^/| /' conftest.
$ac_ext >&5
12860 bakefile_compiler_xlc
=no
12862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12863 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12866 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12867 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12869 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12871 ac_cpp
='$CPP $CPPFLAGS'
12872 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12873 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12874 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12883 ac_cpp
='$CPP $CPPFLAGS'
12884 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12885 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12886 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12888 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12889 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12890 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12891 echo $ECHO_N "(cached) $ECHO_C" >&6
12893 cat >conftest.
$ac_ext <<_ACEOF
12896 cat confdefs.h
>>conftest.
$ac_ext
12897 cat >>conftest.
$ac_ext <<_ACEOF
12898 /* end confdefs.h. */
12904 #ifndef _SGI_COMPILER_VERSION
12912 rm -f conftest.
$ac_objext
12913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12914 (eval $ac_compile) 2>conftest.er1
12916 grep -v '^ *+' conftest.er1
>conftest.err
12918 cat conftest.err
>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); } &&
12921 { ac_try
='test -z "$ac_c_werror_flag"
12922 || test ! -s conftest.err'
12923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12924 (eval $ac_try) 2>&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); }; } &&
12928 { ac_try
='test -s conftest.$ac_objext'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; }; then
12934 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12936 echo "$as_me: failed program was:" >&5
12937 sed 's/^/| /' conftest.
$ac_ext >&5
12939 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12946 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12947 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12949 ac_cpp
='$CPP $CPPFLAGS'
12950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12954 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12967 ac_cpp
='$CPP $CPPFLAGS'
12968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12972 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12973 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12974 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12975 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 cat >conftest.
$ac_ext <<_ACEOF
12980 cat confdefs.h
>>conftest.
$ac_ext
12981 cat >>conftest.
$ac_ext <<_ACEOF
12982 /* end confdefs.h. */
12996 rm -f conftest.
$ac_objext
12997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12998 (eval $ac_compile) 2>conftest.er1
13000 grep -v '^ *+' conftest.er1
>conftest.err
13002 cat conftest.err
>&5
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); } &&
13005 { ac_try
='test -z "$ac_c_werror_flag"
13006 || test ! -s conftest.err'
13007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13008 (eval $ac_try) 2>&5
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); }; } &&
13012 { ac_try
='test -s conftest.$ac_objext'
13013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13014 (eval $ac_try) 2>&5
13016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017 (exit $ac_status); }; }; then
13018 bakefile_cv_c_compiler___HP_cc
=yes
13020 echo "$as_me: failed program was:" >&5
13021 sed 's/^/| /' conftest.
$ac_ext >&5
13023 bakefile_cv_c_compiler___HP_cc
=no
13026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13030 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13031 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13033 ac_cpp
='$CPP $CPPFLAGS'
13034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13038 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13051 ac_cpp
='$CPP $CPPFLAGS'
13052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13056 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13057 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13058 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13059 echo $ECHO_N "(cached) $ECHO_C" >&6
13061 cat >conftest.
$ac_ext <<_ACEOF
13064 cat confdefs.h
>>conftest.
$ac_ext
13065 cat >>conftest.
$ac_ext <<_ACEOF
13066 /* end confdefs.h. */
13080 rm -f conftest.
$ac_objext
13081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13082 (eval $ac_compile) 2>conftest.er1
13084 grep -v '^ *+' conftest.er1
>conftest.err
13086 cat conftest.err
>&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); } &&
13089 { ac_try
='test -z "$ac_c_werror_flag"
13090 || test ! -s conftest.err'
13091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13092 (eval $ac_try) 2>&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }; } &&
13096 { ac_try
='test -s conftest.$ac_objext'
13097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13098 (eval $ac_try) 2>&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); }; }; then
13102 bakefile_cv_c_compiler___DECC
=yes
13104 echo "$as_me: failed program was:" >&5
13105 sed 's/^/| /' conftest.
$ac_ext >&5
13107 bakefile_cv_c_compiler___DECC
=no
13110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13114 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13115 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13117 ac_cpp
='$CPP $CPPFLAGS'
13118 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13119 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13120 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13122 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13135 ac_cpp
='$CPP $CPPFLAGS'
13136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13140 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13141 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13142 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13143 echo $ECHO_N "(cached) $ECHO_C" >&6
13145 cat >conftest.
$ac_ext <<_ACEOF
13148 cat confdefs.h
>>conftest.
$ac_ext
13149 cat >>conftest.
$ac_ext <<_ACEOF
13150 /* end confdefs.h. */
13164 rm -f conftest.
$ac_objext
13165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13166 (eval $ac_compile) 2>conftest.er1
13168 grep -v '^ *+' conftest.er1
>conftest.err
13170 cat conftest.err
>&5
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); } &&
13173 { ac_try
='test -z "$ac_c_werror_flag"
13174 || test ! -s conftest.err'
13175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13176 (eval $ac_try) 2>&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); }; } &&
13180 { ac_try
='test -s conftest.$ac_objext'
13181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13182 (eval $ac_try) 2>&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); }; }; then
13186 bakefile_cv_c_compiler___SUNPRO_C
=yes
13188 echo "$as_me: failed program was:" >&5
13189 sed 's/^/| /' conftest.
$ac_ext >&5
13191 bakefile_cv_c_compiler___SUNPRO_C
=no
13194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13198 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13199 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13201 ac_cpp
='$CPP $CPPFLAGS'
13202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13206 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13220 ac_cpp
='$CPP $CPPFLAGS'
13221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13224 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13225 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13226 # On Suns, sometimes $CPP names a directory.
13227 if test -n "$CPP" && test -d "$CPP"; then
13230 if test -z "$CPP"; then
13231 if test "${ac_cv_prog_CPP+set}" = set; then
13232 echo $ECHO_N "(cached) $ECHO_C" >&6
13234 # Double quotes because CPP needs to be expanded
13235 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13237 ac_preproc_ok
=false
13238 for ac_c_preproc_warn_flag
in '' yes
13240 # Use a header file that comes with gcc, so configuring glibc
13241 # with a fresh cross-compiler works.
13242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13243 # <limits.h> exists even on freestanding compilers.
13244 # On the NeXT, cc -E runs the code through the compiler's parser,
13245 # not just through cpp. "Syntax error" is here to catch this case.
13246 cat >conftest.
$ac_ext <<_ACEOF
13249 cat confdefs.h
>>conftest.
$ac_ext
13250 cat >>conftest.
$ac_ext <<_ACEOF
13251 /* end confdefs.h. */
13253 # include <limits.h>
13255 # include <assert.h>
13259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13260 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13262 grep -v '^ *+' conftest.er1
>conftest.err
13264 cat conftest.err
>&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } >/dev
/null
; then
13267 if test -s conftest.err
; then
13268 ac_cpp_err
=$ac_c_preproc_warn_flag
13269 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13276 if test -z "$ac_cpp_err"; then
13279 echo "$as_me: failed program was:" >&5
13280 sed 's/^/| /' conftest.
$ac_ext >&5
13282 # Broken: fails on valid input.
13285 rm -f conftest.err conftest.
$ac_ext
13287 # OK, works on sane cases. Now check whether non-existent headers
13288 # can be detected and how.
13289 cat >conftest.
$ac_ext <<_ACEOF
13292 cat confdefs.h
>>conftest.
$ac_ext
13293 cat >>conftest.
$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13295 #include <ac_nonexistent.h>
13297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13298 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13300 grep -v '^ *+' conftest.er1
>conftest.err
13302 cat conftest.err
>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } >/dev
/null
; then
13305 if test -s conftest.err
; then
13306 ac_cpp_err
=$ac_c_preproc_warn_flag
13307 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13314 if test -z "$ac_cpp_err"; then
13315 # Broken: success on invalid input.
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.
$ac_ext >&5
13321 # Passes both tests.
13325 rm -f conftest.err conftest.
$ac_ext
13328 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13329 rm -f conftest.err conftest.
$ac_ext
13330 if $ac_preproc_ok; then
13335 ac_cv_prog_CPP
=$CPP
13338 CPP
=$ac_cv_prog_CPP
13340 ac_cv_prog_CPP
=$CPP
13342 echo "$as_me:$LINENO: result: $CPP" >&5
13343 echo "${ECHO_T}$CPP" >&6
13344 ac_preproc_ok
=false
13345 for ac_c_preproc_warn_flag
in '' yes
13347 # Use a header file that comes with gcc, so configuring glibc
13348 # with a fresh cross-compiler works.
13349 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13350 # <limits.h> exists even on freestanding compilers.
13351 # On the NeXT, cc -E runs the code through the compiler's parser,
13352 # not just through cpp. "Syntax error" is here to catch this case.
13353 cat >conftest.
$ac_ext <<_ACEOF
13356 cat confdefs.h
>>conftest.
$ac_ext
13357 cat >>conftest.
$ac_ext <<_ACEOF
13358 /* end confdefs.h. */
13360 # include <limits.h>
13362 # include <assert.h>
13366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13369 grep -v '^ *+' conftest.er1
>conftest.err
13371 cat conftest.err
>&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); } >/dev
/null
; then
13374 if test -s conftest.err
; then
13375 ac_cpp_err
=$ac_c_preproc_warn_flag
13376 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13383 if test -z "$ac_cpp_err"; then
13386 echo "$as_me: failed program was:" >&5
13387 sed 's/^/| /' conftest.
$ac_ext >&5
13389 # Broken: fails on valid input.
13392 rm -f conftest.err conftest.
$ac_ext
13394 # OK, works on sane cases. Now check whether non-existent headers
13395 # can be detected and how.
13396 cat >conftest.
$ac_ext <<_ACEOF
13399 cat confdefs.h
>>conftest.
$ac_ext
13400 cat >>conftest.
$ac_ext <<_ACEOF
13401 /* end confdefs.h. */
13402 #include <ac_nonexistent.h>
13404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13405 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13407 grep -v '^ *+' conftest.er1
>conftest.err
13409 cat conftest.err
>&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); } >/dev
/null
; then
13412 if test -s conftest.err
; then
13413 ac_cpp_err
=$ac_c_preproc_warn_flag
13414 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13421 if test -z "$ac_cpp_err"; then
13422 # Broken: success on invalid input.
13425 echo "$as_me: failed program was:" >&5
13426 sed 's/^/| /' conftest.
$ac_ext >&5
13428 # Passes both tests.
13432 rm -f conftest.err conftest.
$ac_ext
13435 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13436 rm -f conftest.err conftest.
$ac_ext
13437 if $ac_preproc_ok; then
13440 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13441 See \`config.log' for more details." >&5
13442 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13443 See \`config.log' for more details." >&2;}
13444 { (exit 1); exit 1; }; }
13448 ac_cpp
='$CPP $CPPFLAGS'
13449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13454 echo "$as_me:$LINENO: checking for egrep" >&5
13455 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13456 if test "${ac_cv_prog_egrep+set}" = set; then
13457 echo $ECHO_N "(cached) $ECHO_C" >&6
13459 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13460 then ac_cv_prog_egrep
='grep -E'
13461 else ac_cv_prog_egrep
='egrep'
13464 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13465 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13466 EGREP
=$ac_cv_prog_egrep
13469 if test $ac_cv_c_compiler_gnu = yes; then
13470 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13471 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13472 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13473 echo $ECHO_N "(cached) $ECHO_C" >&6
13475 ac_pattern
="Autoconf.*'x'"
13476 cat >conftest.
$ac_ext <<_ACEOF
13479 cat confdefs.h
>>conftest.
$ac_ext
13480 cat >>conftest.
$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13486 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13487 ac_cv_prog_gcc_traditional
=yes
13489 ac_cv_prog_gcc_traditional
=no
13494 if test $ac_cv_prog_gcc_traditional = no
; then
13495 cat >conftest.
$ac_ext <<_ACEOF
13498 cat confdefs.h
>>conftest.
$ac_ext
13499 cat >>conftest.
$ac_ext <<_ACEOF
13500 /* end confdefs.h. */
13501 #include <termio.h>
13504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13505 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13506 ac_cv_prog_gcc_traditional
=yes
13512 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13513 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13514 if test $ac_cv_prog_gcc_traditional = yes; then
13515 CC
="$CC -traditional"
13521 ac_cpp
='$CXXCPP $CPPFLAGS'
13522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13527 CXXFLAGS
=${CXXFLAGS:=}
13532 ac_cpp
='$CXXCPP $CPPFLAGS'
13533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13536 if test -n "$ac_tool_prefix"; then
13537 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13540 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13541 echo "$as_me:$LINENO: checking for $ac_word" >&5
13542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13543 if test "${ac_cv_prog_CXX+set}" = set; then
13544 echo $ECHO_N "(cached) $ECHO_C" >&6
13546 if test -n "$CXX"; then
13547 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13550 for as_dir
in $PATH
13553 test -z "$as_dir" && as_dir
=.
13554 for ac_exec_ext
in '' $ac_executable_extensions; do
13555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13556 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13565 CXX
=$ac_cv_prog_CXX
13566 if test -n "$CXX"; then
13567 echo "$as_me:$LINENO: result: $CXX" >&5
13568 echo "${ECHO_T}$CXX" >&6
13570 echo "$as_me:$LINENO: result: no" >&5
13571 echo "${ECHO_T}no" >&6
13574 test -n "$CXX" && break
13577 if test -z "$CXX"; then
13579 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13581 # Extract the first word of "$ac_prog", so it can be a program name with args.
13582 set dummy
$ac_prog; ac_word
=$2
13583 echo "$as_me:$LINENO: checking for $ac_word" >&5
13584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13585 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13586 echo $ECHO_N "(cached) $ECHO_C" >&6
13588 if test -n "$ac_ct_CXX"; then
13589 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13592 for as_dir
in $PATH
13595 test -z "$as_dir" && as_dir
=.
13596 for ac_exec_ext
in '' $ac_executable_extensions; do
13597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13598 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13607 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13608 if test -n "$ac_ct_CXX"; then
13609 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13610 echo "${ECHO_T}$ac_ct_CXX" >&6
13612 echo "$as_me:$LINENO: result: no" >&5
13613 echo "${ECHO_T}no" >&6
13616 test -n "$ac_ct_CXX" && break
13618 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13624 # Provide some information about the compiler.
13625 echo "$as_me:$LINENO:" \
13626 "checking for C++ compiler version" >&5
13627 ac_compiler
=`set X $ac_compile; echo $2`
13628 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13629 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); }
13633 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13634 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); }
13638 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13639 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); }
13644 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13645 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13646 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13647 echo $ECHO_N "(cached) $ECHO_C" >&6
13649 cat >conftest.
$ac_ext <<_ACEOF
13652 cat confdefs.h
>>conftest.
$ac_ext
13653 cat >>conftest.
$ac_ext <<_ACEOF
13654 /* end confdefs.h. */
13667 rm -f conftest.
$ac_objext
13668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13669 (eval $ac_compile) 2>conftest.er1
13671 grep -v '^ *+' conftest.er1
>conftest.err
13673 cat conftest.err
>&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); } &&
13676 { ac_try
='test -z "$ac_cxx_werror_flag"
13677 || test ! -s conftest.err'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; } &&
13683 { ac_try
='test -s conftest.$ac_objext'
13684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685 (eval $ac_try) 2>&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; }; then
13689 ac_compiler_gnu
=yes
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.
$ac_ext >&5
13696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13697 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13700 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13701 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13702 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13703 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13704 ac_save_CXXFLAGS
=$CXXFLAGS
13706 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13707 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13708 if test "${ac_cv_prog_cxx_g+set}" = set; then
13709 echo $ECHO_N "(cached) $ECHO_C" >&6
13711 cat >conftest.
$ac_ext <<_ACEOF
13714 cat confdefs.h
>>conftest.
$ac_ext
13715 cat >>conftest.
$ac_ext <<_ACEOF
13716 /* end confdefs.h. */
13726 rm -f conftest.
$ac_objext
13727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13728 (eval $ac_compile) 2>conftest.er1
13730 grep -v '^ *+' conftest.er1
>conftest.err
13732 cat conftest.err
>&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); } &&
13735 { ac_try
='test -z "$ac_cxx_werror_flag"
13736 || test ! -s conftest.err'
13737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13738 (eval $ac_try) 2>&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); }; } &&
13742 { ac_try
='test -s conftest.$ac_objext'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; }; then
13748 ac_cv_prog_cxx_g
=yes
13750 echo "$as_me: failed program was:" >&5
13751 sed 's/^/| /' conftest.
$ac_ext >&5
13753 ac_cv_prog_cxx_g
=no
13755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13757 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13758 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13759 if test "$ac_test_CXXFLAGS" = set; then
13760 CXXFLAGS
=$ac_save_CXXFLAGS
13761 elif test $ac_cv_prog_cxx_g = yes; then
13762 if test "$GXX" = yes; then
13768 if test "$GXX" = yes; then
13774 for ac_declaration
in \
13776 'extern "C" void std::exit (int) throw (); using std::exit;' \
13777 'extern "C" void std::exit (int); using std::exit;' \
13778 'extern "C" void exit (int) throw ();' \
13779 'extern "C" void exit (int);' \
13782 cat >conftest.
$ac_ext <<_ACEOF
13785 cat confdefs.h
>>conftest.
$ac_ext
13786 cat >>conftest.
$ac_ext <<_ACEOF
13787 /* end confdefs.h. */
13789 #include <stdlib.h>
13798 rm -f conftest.
$ac_objext
13799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13800 (eval $ac_compile) 2>conftest.er1
13802 grep -v '^ *+' conftest.er1
>conftest.err
13804 cat conftest.err
>&5
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); } &&
13807 { ac_try
='test -z "$ac_cxx_werror_flag"
13808 || test ! -s conftest.err'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; } &&
13814 { ac_try
='test -s conftest.$ac_objext'
13815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 (eval $ac_try) 2>&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); }; }; then
13822 echo "$as_me: failed program was:" >&5
13823 sed 's/^/| /' conftest.
$ac_ext >&5
13827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13828 cat >conftest.
$ac_ext <<_ACEOF
13831 cat confdefs.h
>>conftest.
$ac_ext
13832 cat >>conftest.
$ac_ext <<_ACEOF
13833 /* end confdefs.h. */
13843 rm -f conftest.
$ac_objext
13844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13845 (eval $ac_compile) 2>conftest.er1
13847 grep -v '^ *+' conftest.er1
>conftest.err
13849 cat conftest.err
>&5
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); } &&
13852 { ac_try
='test -z "$ac_cxx_werror_flag"
13853 || test ! -s conftest.err'
13854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13855 (eval $ac_try) 2>&5
13857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858 (exit $ac_status); }; } &&
13859 { ac_try
='test -s conftest.$ac_objext'
13860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13861 (eval $ac_try) 2>&5
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 (exit $ac_status); }; }; then
13867 echo "$as_me: failed program was:" >&5
13868 sed 's/^/| /' conftest.
$ac_ext >&5
13871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13874 if test -n "$ac_declaration"; then
13875 echo '#ifdef __cplusplus' >>confdefs.h
13876 echo $ac_declaration >>confdefs.h
13877 echo '#endif' >>confdefs.h
13881 ac_cpp
='$CXXCPP $CPPFLAGS'
13882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13889 ac_cpp
='$CXXCPP $CPPFLAGS'
13890 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13891 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13892 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13894 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13895 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13896 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13897 echo $ECHO_N "(cached) $ECHO_C" >&6
13899 cat >conftest.
$ac_ext <<_ACEOF
13902 cat confdefs.h
>>conftest.
$ac_ext
13903 cat >>conftest.
$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13910 #ifndef __INTEL_COMPILER
13918 rm -f conftest.
$ac_objext
13919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13920 (eval $ac_compile) 2>conftest.er1
13922 grep -v '^ *+' conftest.er1
>conftest.err
13924 cat conftest.err
>&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } &&
13927 { ac_try
='test -z "$ac_cxx_werror_flag"
13928 || test ! -s conftest.err'
13929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13930 (eval $ac_try) 2>&5
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); }; } &&
13934 { ac_try
='test -s conftest.$ac_objext'
13935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13936 (eval $ac_try) 2>&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); }; }; then
13940 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13942 echo "$as_me: failed program was:" >&5
13943 sed 's/^/| /' conftest.
$ac_ext >&5
13945 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13952 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13953 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13955 ac_cpp
='$CXXCPP $CPPFLAGS'
13956 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13957 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13958 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13960 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13967 if test "x$GCXX" != "xyes"; then
13968 if test "xCXX" = "xC"; then
13969 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13970 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13971 if test "${bakefile_cv_cxx_exto+set}" = set; then
13972 echo $ECHO_N "(cached) $ECHO_C" >&6
13974 cat >conftest.
$ac_ext <<_ACEOF
13977 cat confdefs.h
>>conftest.
$ac_ext
13978 cat >>conftest.
$ac_ext <<_ACEOF
13979 /* end confdefs.h. */
13989 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13991 (eval $ac_compile) 2>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); }; then
13995 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13997 conftest.
$ac_ext.o
)
13998 bakefile_cv_cxx_exto
="-ext o"
14005 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14006 See \`config.log' for more details." >&5
14007 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14008 See \`config.log' for more details." >&2;}
14009 { (exit 1); exit 1; }; }
14013 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14016 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14017 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14018 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14019 if test "cxx" = "c"; then
14020 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14022 if test "cxx" = "cxx"; then
14023 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14027 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14028 unset ac_cv_prog_cc_g
14029 ac_test_CFLAGS
=${CFLAGS+set}
14030 ac_save_CFLAGS
=$CFLAGS
14032 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14033 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14034 if test "${ac_cv_prog_cc_g+set}" = set; then
14035 echo $ECHO_N "(cached) $ECHO_C" >&6
14037 cat >conftest.
$ac_ext <<_ACEOF
14040 cat confdefs.h
>>conftest.
$ac_ext
14041 cat >>conftest.
$ac_ext <<_ACEOF
14042 /* end confdefs.h. */
14052 rm -f conftest.
$ac_objext
14053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14054 (eval $ac_compile) 2>conftest.er1
14056 grep -v '^ *+' conftest.er1
>conftest.err
14058 cat conftest.err
>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); } &&
14061 { ac_try
='test -z "$ac_cxx_werror_flag"
14062 || test ! -s conftest.err'
14063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14064 (eval $ac_try) 2>&5
14066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14067 (exit $ac_status); }; } &&
14068 { ac_try
='test -s conftest.$ac_objext'
14069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14070 (eval $ac_try) 2>&5
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); }; }; then
14074 ac_cv_prog_cc_g
=yes
14076 echo "$as_me: failed program was:" >&5
14077 sed 's/^/| /' conftest.
$ac_ext >&5
14081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14083 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14084 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14085 if test "$ac_test_CFLAGS" = set; then
14086 CFLAGS
=$ac_save_CFLAGS
14087 elif test $ac_cv_prog_cc_g = yes; then
14088 if test "$GCC" = yes; then
14094 if test "$GCC" = yes; then
14106 ac_cpp
='$CXXCPP $CPPFLAGS'
14107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14111 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14112 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14113 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14116 cat >conftest.
$ac_ext <<_ACEOF
14119 cat confdefs.h
>>conftest.
$ac_ext
14120 cat >>conftest.
$ac_ext <<_ACEOF
14121 /* end confdefs.h. */
14134 rm -f conftest.
$ac_objext
14135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14136 (eval $ac_compile) 2>conftest.er1
14138 grep -v '^ *+' conftest.er1
>conftest.err
14140 cat conftest.err
>&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); } &&
14143 { ac_try
='test -z "$ac_cxx_werror_flag"
14144 || test ! -s conftest.err'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; } &&
14150 { ac_try
='test -s conftest.$ac_objext'
14151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14152 (eval $ac_try) 2>&5
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); }; }; then
14156 bakefile_compiler_xlc
=yes
14158 echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.
$ac_ext >&5
14161 bakefile_compiler_xlc
=no
14163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14164 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14167 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14168 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14170 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14172 ac_cpp
='$CXXCPP $CPPFLAGS'
14173 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14174 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14175 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14182 ac_cpp
='$CXXCPP $CPPFLAGS'
14183 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14184 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14185 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14187 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14188 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14189 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14192 cat >conftest.
$ac_ext <<_ACEOF
14195 cat confdefs.h
>>conftest.
$ac_ext
14196 cat >>conftest.
$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14210 rm -f conftest.
$ac_objext
14211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14212 (eval $ac_compile) 2>conftest.er1
14214 grep -v '^ *+' conftest.er1
>conftest.err
14216 cat conftest.err
>&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); } &&
14219 { ac_try
='test -z "$ac_cxx_werror_flag"
14220 || test ! -s conftest.err'
14221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14222 (eval $ac_try) 2>&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); }; } &&
14226 { ac_try
='test -s conftest.$ac_objext'
14227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228 (eval $ac_try) 2>&5
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); }; }; then
14232 bakefile_compiler_mwerks
=yes
14234 echo "$as_me: failed program was:" >&5
14235 sed 's/^/| /' conftest.
$ac_ext >&5
14237 bakefile_compiler_mwerks
=no
14239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14240 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14243 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14244 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14246 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14248 ac_cpp
='$CXXCPP $CPPFLAGS'
14249 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14250 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14251 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14255 ac_cpp
='$CXXCPP $CPPFLAGS'
14256 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14257 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14258 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14260 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14261 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14262 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14263 echo $ECHO_N "(cached) $ECHO_C" >&6
14265 cat >conftest.
$ac_ext <<_ACEOF
14268 cat confdefs.h
>>conftest.
$ac_ext
14269 cat >>conftest.
$ac_ext <<_ACEOF
14270 /* end confdefs.h. */
14283 rm -f conftest.
$ac_objext
14284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14285 (eval $ac_compile) 2>conftest.er1
14287 grep -v '^ *+' conftest.er1
>conftest.err
14289 cat conftest.err
>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); } &&
14292 { ac_try
='test -z "$ac_cxx_werror_flag"
14293 || test ! -s conftest.err'
14294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14295 (eval $ac_try) 2>&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); }; } &&
14299 { ac_try
='test -s conftest.$ac_objext'
14300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14301 (eval $ac_try) 2>&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); }; }; then
14305 bakefile_compiler_xlc
=yes
14307 echo "$as_me: failed program was:" >&5
14308 sed 's/^/| /' conftest.
$ac_ext >&5
14310 bakefile_compiler_xlc
=no
14312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14313 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14316 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14317 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14319 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14321 ac_cpp
='$CXXCPP $CPPFLAGS'
14322 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14323 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14324 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
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
14338 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14339 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14340 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14341 echo $ECHO_N "(cached) $ECHO_C" >&6
14343 cat >conftest.
$ac_ext <<_ACEOF
14346 cat confdefs.h
>>conftest.
$ac_ext
14347 cat >>conftest.
$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14354 #ifndef _SGI_COMPILER_VERSION
14362 rm -f conftest.
$ac_objext
14363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14364 (eval $ac_compile) 2>conftest.er1
14366 grep -v '^ *+' conftest.er1
>conftest.err
14368 cat conftest.err
>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); } &&
14371 { ac_try
='test -z "$ac_cxx_werror_flag"
14372 || test ! -s conftest.err'
14373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14374 (eval $ac_try) 2>&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }; } &&
14378 { ac_try
='test -s conftest.$ac_objext'
14379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14380 (eval $ac_try) 2>&5
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); }; }; then
14384 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14386 echo "$as_me: failed program was:" >&5
14387 sed 's/^/| /' conftest.
$ac_ext >&5
14389 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14396 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14397 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14399 ac_cpp
='$CXXCPP $CPPFLAGS'
14400 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14401 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14402 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14404 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14417 ac_cpp
='$CXXCPP $CPPFLAGS'
14418 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14419 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14420 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14422 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14423 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14424 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14425 echo $ECHO_N "(cached) $ECHO_C" >&6
14427 cat >conftest.
$ac_ext <<_ACEOF
14430 cat confdefs.h
>>conftest.
$ac_ext
14431 cat >>conftest.
$ac_ext <<_ACEOF
14432 /* end confdefs.h. */
14446 rm -f conftest.
$ac_objext
14447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14448 (eval $ac_compile) 2>conftest.er1
14450 grep -v '^ *+' conftest.er1
>conftest.err
14452 cat conftest.err
>&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); } &&
14455 { ac_try
='test -z "$ac_cxx_werror_flag"
14456 || test ! -s conftest.err'
14457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14458 (eval $ac_try) 2>&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); }; } &&
14462 { ac_try
='test -s conftest.$ac_objext'
14463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14464 (eval $ac_try) 2>&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; }; then
14468 bakefile_cv_cxx_compiler___HP_aCC
=yes
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.
$ac_ext >&5
14473 bakefile_cv_cxx_compiler___HP_aCC
=no
14476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14480 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14481 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14483 ac_cpp
='$CXXCPP $CPPFLAGS'
14484 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14485 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14486 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14488 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14501 ac_cpp
='$CXXCPP $CPPFLAGS'
14502 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14503 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14504 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14506 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14507 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14508 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 cat >conftest.
$ac_ext <<_ACEOF
14514 cat confdefs.h
>>conftest.
$ac_ext
14515 cat >>conftest.
$ac_ext <<_ACEOF
14516 /* end confdefs.h. */
14530 rm -f conftest.
$ac_objext
14531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14532 (eval $ac_compile) 2>conftest.er1
14534 grep -v '^ *+' conftest.er1
>conftest.err
14536 cat conftest.err
>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); } &&
14539 { ac_try
='test -z "$ac_cxx_werror_flag"
14540 || test ! -s conftest.err'
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; } &&
14546 { ac_try
='test -s conftest.$ac_objext'
14547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14548 (eval $ac_try) 2>&5
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); }; }; then
14552 bakefile_cv_cxx_compiler___DECCXX
=yes
14554 echo "$as_me: failed program was:" >&5
14555 sed 's/^/| /' conftest.
$ac_ext >&5
14557 bakefile_cv_cxx_compiler___DECCXX
=no
14560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14564 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14565 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14567 ac_cpp
='$CXXCPP $CPPFLAGS'
14568 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14569 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14570 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14572 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14585 ac_cpp
='$CXXCPP $CPPFLAGS'
14586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14590 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14591 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14592 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14593 echo $ECHO_N "(cached) $ECHO_C" >&6
14595 cat >conftest.
$ac_ext <<_ACEOF
14598 cat confdefs.h
>>conftest.
$ac_ext
14599 cat >>conftest.
$ac_ext <<_ACEOF
14600 /* end confdefs.h. */
14606 #ifndef __SUNPRO_CC
14614 rm -f conftest.
$ac_objext
14615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14616 (eval $ac_compile) 2>conftest.er1
14618 grep -v '^ *+' conftest.er1
>conftest.err
14620 cat conftest.err
>&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); } &&
14623 { ac_try
='test -z "$ac_cxx_werror_flag"
14624 || test ! -s conftest.err'
14625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14626 (eval $ac_try) 2>&5
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 (exit $ac_status); }; } &&
14630 { ac_try
='test -s conftest.$ac_objext'
14631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632 (eval $ac_try) 2>&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; }; then
14636 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14638 echo "$as_me: failed program was:" >&5
14639 sed 's/^/| /' conftest.
$ac_ext >&5
14641 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14648 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14649 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14651 ac_cpp
='$CXXCPP $CPPFLAGS'
14652 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14653 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14654 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14656 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14669 if test -n "$ac_tool_prefix"; then
14670 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14671 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14672 echo "$as_me:$LINENO: checking for $ac_word" >&5
14673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14674 if test "${ac_cv_prog_RANLIB+set}" = set; then
14675 echo $ECHO_N "(cached) $ECHO_C" >&6
14677 if test -n "$RANLIB"; then
14678 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14681 for as_dir
in $PATH
14684 test -z "$as_dir" && as_dir
=.
14685 for ac_exec_ext
in '' $ac_executable_extensions; do
14686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14687 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14696 RANLIB
=$ac_cv_prog_RANLIB
14697 if test -n "$RANLIB"; then
14698 echo "$as_me:$LINENO: result: $RANLIB" >&5
14699 echo "${ECHO_T}$RANLIB" >&6
14701 echo "$as_me:$LINENO: result: no" >&5
14702 echo "${ECHO_T}no" >&6
14706 if test -z "$ac_cv_prog_RANLIB"; then
14707 ac_ct_RANLIB
=$RANLIB
14708 # Extract the first word of "ranlib", so it can be a program name with args.
14709 set dummy ranlib
; ac_word
=$2
14710 echo "$as_me:$LINENO: checking for $ac_word" >&5
14711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14712 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 if test -n "$ac_ct_RANLIB"; then
14716 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14719 for as_dir
in $PATH
14722 test -z "$as_dir" && as_dir
=.
14723 for ac_exec_ext
in '' $ac_executable_extensions; do
14724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14725 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14732 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14735 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14736 if test -n "$ac_ct_RANLIB"; then
14737 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14738 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14740 echo "$as_me:$LINENO: result: no" >&5
14741 echo "${ECHO_T}no" >&6
14744 RANLIB
=$ac_ct_RANLIB
14746 RANLIB
="$ac_cv_prog_RANLIB"
14750 if test -n "$ac_tool_prefix"; then
14751 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14752 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14753 echo "$as_me:$LINENO: checking for $ac_word" >&5
14754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14755 if test "${ac_cv_prog_AR+set}" = set; then
14756 echo $ECHO_N "(cached) $ECHO_C" >&6
14758 if test -n "$AR"; then
14759 ac_cv_prog_AR
="$AR" # Let the user override the test.
14761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14762 for as_dir
in $PATH
14765 test -z "$as_dir" && as_dir
=.
14766 for ac_exec_ext
in '' $ac_executable_extensions; do
14767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14768 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14778 if test -n "$AR"; then
14779 echo "$as_me:$LINENO: result: $AR" >&5
14780 echo "${ECHO_T}$AR" >&6
14782 echo "$as_me:$LINENO: result: no" >&5
14783 echo "${ECHO_T}no" >&6
14787 if test -z "$ac_cv_prog_AR"; then
14789 # Extract the first word of "ar", so it can be a program name with args.
14790 set dummy
ar; ac_word
=$2
14791 echo "$as_me:$LINENO: checking for $ac_word" >&5
14792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14793 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14794 echo $ECHO_N "(cached) $ECHO_C" >&6
14796 if test -n "$ac_ct_AR"; then
14797 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14800 for as_dir
in $PATH
14803 test -z "$as_dir" && as_dir
=.
14804 for ac_exec_ext
in '' $ac_executable_extensions; do
14805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14806 ac_cv_prog_ac_ct_AR
="ar"
14807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14815 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14816 if test -n "$ac_ct_AR"; then
14817 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14818 echo "${ECHO_T}$ac_ct_AR" >&6
14820 echo "$as_me:$LINENO: result: no" >&5
14821 echo "${ECHO_T}no" >&6
14826 AR
="$ac_cv_prog_AR"
14829 if test "x$AR" = "x" ; then
14830 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14831 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14832 { (exit 1); exit 1; }; }
14835 # Find a good install program. We prefer a C program (faster),
14836 # so one script is as good as another. But avoid the broken or
14837 # incompatible versions:
14838 # SysV /etc/install, /usr/sbin/install
14839 # SunOS /usr/etc/install
14840 # IRIX /sbin/install
14842 # AmigaOS /C/install, which installs bootblocks on floppy discs
14843 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14844 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14845 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14846 # OS/2's system install, which has a completely different semantic
14847 # ./install, which can be erroneously created by make from ./install.sh.
14848 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14849 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14850 if test -z "$INSTALL"; then
14851 if test "${ac_cv_path_install+set}" = set; then
14852 echo $ECHO_N "(cached) $ECHO_C" >&6
14854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14855 for as_dir
in $PATH
14858 test -z "$as_dir" && as_dir
=.
14859 # Account for people who put trailing slashes in PATH elements.
14861 .
/ | .
// | /cC
/* | \
14862 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14863 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14866 # OSF1 and SCO ODT 3.0 have their own names for install.
14867 # Don't use installbsd from OSF since it installs stuff as root
14869 for ac_prog
in ginstall scoinst
install; do
14870 for ac_exec_ext
in '' $ac_executable_extensions; do
14871 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14872 if test $ac_prog = install &&
14873 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14874 # AIX install. It has an incompatible calling convention.
14876 elif test $ac_prog = install &&
14877 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14878 # program-specific install script used by HP pwplus--don't use.
14881 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14893 if test "${ac_cv_path_install+set}" = set; then
14894 INSTALL
=$ac_cv_path_install
14896 # As a last resort, use the slow shell script. We don't cache a
14897 # path for INSTALL within a source directory, because that will
14898 # break other packages using the cache if that directory is
14899 # removed, or if the path is relative.
14900 INSTALL
=$ac_install_sh
14903 echo "$as_me:$LINENO: result: $INSTALL" >&5
14904 echo "${ECHO_T}$INSTALL" >&6
14906 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14907 # It thinks the first close brace ends the variable substitution.
14908 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14910 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14912 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14918 ?
:* ) # Drive letter, considered as absolute.
14921 INSTALL
=`pwd`/${INSTALL} ;;
14928 INSTALL_PROGRAM
="cp -fp"
14929 INSTALL_DATA
="cp -fp"
14935 if test -n "$ac_tool_prefix"; then
14936 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14937 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14938 echo "$as_me:$LINENO: checking for $ac_word" >&5
14939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14940 if test "${ac_cv_prog_STRIP+set}" = set; then
14941 echo $ECHO_N "(cached) $ECHO_C" >&6
14943 if test -n "$STRIP"; then
14944 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14947 for as_dir
in $PATH
14950 test -z "$as_dir" && as_dir
=.
14951 for ac_exec_ext
in '' $ac_executable_extensions; do
14952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14953 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14962 STRIP
=$ac_cv_prog_STRIP
14963 if test -n "$STRIP"; then
14964 echo "$as_me:$LINENO: result: $STRIP" >&5
14965 echo "${ECHO_T}$STRIP" >&6
14967 echo "$as_me:$LINENO: result: no" >&5
14968 echo "${ECHO_T}no" >&6
14972 if test -z "$ac_cv_prog_STRIP"; then
14974 # Extract the first word of "strip", so it can be a program name with args.
14975 set dummy strip
; ac_word
=$2
14976 echo "$as_me:$LINENO: checking for $ac_word" >&5
14977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14978 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14979 echo $ECHO_N "(cached) $ECHO_C" >&6
14981 if test -n "$ac_ct_STRIP"; then
14982 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14985 for as_dir
in $PATH
14988 test -z "$as_dir" && as_dir
=.
14989 for ac_exec_ext
in '' $ac_executable_extensions; do
14990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14991 ac_cv_prog_ac_ct_STRIP
="strip"
14992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14998 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15001 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15002 if test -n "$ac_ct_STRIP"; then
15003 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15004 echo "${ECHO_T}$ac_ct_STRIP" >&6
15006 echo "$as_me:$LINENO: result: no" >&5
15007 echo "${ECHO_T}no" >&6
15012 STRIP
="$ac_cv_prog_STRIP"
15016 if test "$wxUSE_WINE" = "yes"; then
15017 if test -n "$ac_tool_prefix"; then
15018 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15019 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15020 echo "$as_me:$LINENO: checking for $ac_word" >&5
15021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15022 if test "${ac_cv_prog_WINDRES+set}" = set; then
15023 echo $ECHO_N "(cached) $ECHO_C" >&6
15025 if test -n "$WINDRES"; then
15026 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15029 for as_dir
in $PATH
15032 test -z "$as_dir" && as_dir
=.
15033 for ac_exec_ext
in '' $ac_executable_extensions; do
15034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15035 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15044 WINDRES
=$ac_cv_prog_WINDRES
15045 if test -n "$WINDRES"; then
15046 echo "$as_me:$LINENO: result: $WINDRES" >&5
15047 echo "${ECHO_T}$WINDRES" >&6
15049 echo "$as_me:$LINENO: result: no" >&5
15050 echo "${ECHO_T}no" >&6
15054 if test -z "$ac_cv_prog_WINDRES"; then
15055 ac_ct_WINDRES
=$WINDRES
15056 # Extract the first word of "wrc", so it can be a program name with args.
15057 set dummy wrc
; ac_word
=$2
15058 echo "$as_me:$LINENO: checking for $ac_word" >&5
15059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15060 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15061 echo $ECHO_N "(cached) $ECHO_C" >&6
15063 if test -n "$ac_ct_WINDRES"; then
15064 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15067 for as_dir
in $PATH
15070 test -z "$as_dir" && as_dir
=.
15071 for ac_exec_ext
in '' $ac_executable_extensions; do
15072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15073 ac_cv_prog_ac_ct_WINDRES
="wrc"
15074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15082 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15083 if test -n "$ac_ct_WINDRES"; then
15084 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15085 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15087 echo "$as_me:$LINENO: result: no" >&5
15088 echo "${ECHO_T}no" >&6
15091 WINDRES
=$ac_ct_WINDRES
15093 WINDRES
="$ac_cv_prog_WINDRES"
15099 *-*-cygwin* | *-*-mingw32* )
15100 if test -n "$ac_tool_prefix"; then
15101 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15102 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15103 echo "$as_me:$LINENO: checking for $ac_word" >&5
15104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15105 if test "${ac_cv_prog_WINDRES+set}" = set; then
15106 echo $ECHO_N "(cached) $ECHO_C" >&6
15108 if test -n "$WINDRES"; then
15109 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15112 for as_dir
in $PATH
15115 test -z "$as_dir" && as_dir
=.
15116 for ac_exec_ext
in '' $ac_executable_extensions; do
15117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15118 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15127 WINDRES
=$ac_cv_prog_WINDRES
15128 if test -n "$WINDRES"; then
15129 echo "$as_me:$LINENO: result: $WINDRES" >&5
15130 echo "${ECHO_T}$WINDRES" >&6
15132 echo "$as_me:$LINENO: result: no" >&5
15133 echo "${ECHO_T}no" >&6
15137 if test -z "$ac_cv_prog_WINDRES"; then
15138 ac_ct_WINDRES
=$WINDRES
15139 # Extract the first word of "windres", so it can be a program name with args.
15140 set dummy windres
; ac_word
=$2
15141 echo "$as_me:$LINENO: checking for $ac_word" >&5
15142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15143 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15144 echo $ECHO_N "(cached) $ECHO_C" >&6
15146 if test -n "$ac_ct_WINDRES"; then
15147 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15150 for as_dir
in $PATH
15153 test -z "$as_dir" && as_dir
=.
15154 for ac_exec_ext
in '' $ac_executable_extensions; do
15155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15156 ac_cv_prog_ac_ct_WINDRES
="windres"
15157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15165 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15166 if test -n "$ac_ct_WINDRES"; then
15167 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15168 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15170 echo "$as_me:$LINENO: result: no" >&5
15171 echo "${ECHO_T}no" >&6
15174 WINDRES
=$ac_ct_WINDRES
15176 WINDRES
="$ac_cv_prog_WINDRES"
15180 if test -n "$ac_tool_prefix"; then
15181 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15182 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15183 echo "$as_me:$LINENO: checking for $ac_word" >&5
15184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15185 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 if test -n "$DLLTOOL"; then
15189 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15192 for as_dir
in $PATH
15195 test -z "$as_dir" && as_dir
=.
15196 for ac_exec_ext
in '' $ac_executable_extensions; do
15197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15198 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15207 DLLTOOL
=$ac_cv_prog_DLLTOOL
15208 if test -n "$DLLTOOL"; then
15209 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15210 echo "${ECHO_T}$DLLTOOL" >&6
15212 echo "$as_me:$LINENO: result: no" >&5
15213 echo "${ECHO_T}no" >&6
15217 if test -z "$ac_cv_prog_DLLTOOL"; then
15218 ac_ct_DLLTOOL
=$DLLTOOL
15219 # Extract the first word of "dlltool", so it can be a program name with args.
15220 set dummy dlltool
; ac_word
=$2
15221 echo "$as_me:$LINENO: checking for $ac_word" >&5
15222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15223 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15224 echo $ECHO_N "(cached) $ECHO_C" >&6
15226 if test -n "$ac_ct_DLLTOOL"; then
15227 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15230 for as_dir
in $PATH
15233 test -z "$as_dir" && as_dir
=.
15234 for ac_exec_ext
in '' $ac_executable_extensions; do
15235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15236 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15245 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15246 if test -n "$ac_ct_DLLTOOL"; then
15247 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15248 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15250 echo "$as_me:$LINENO: result: no" >&5
15251 echo "${ECHO_T}no" >&6
15254 DLLTOOL
=$ac_ct_DLLTOOL
15256 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15263 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15264 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15265 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6
15269 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15270 egrep -s GNU
> /dev
/null
); then
15271 wx_cv_prog_makeisgnu
="yes"
15273 wx_cv_prog_makeisgnu
="no"
15277 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15278 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15280 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15288 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15289 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15290 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15291 if test "${wx_cv_prog_makevpath+set}" = set; then
15292 echo $ECHO_N "(cached) $ECHO_C" >&6
15295 cat - << EOF > confMake
15301 if test ! -d sub
; then
15304 echo dummy
> sub
/file
15305 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15307 rm -f sub
/file check final_file confMake
15309 if test "$RESULT" = 0; then
15310 wx_cv_prog_makevpath
="yes"
15312 wx_cv_prog_makevpath
="no"
15316 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15317 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15319 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15320 { { echo "$as_me:$LINENO: error:
15321 You need a make-utility that is able to use the variable
15323 If your version of make does not support VPATH correctly,
15324 please install GNU-make (possibly as gmake), and start
15325 configure with the following command:
15326 export MAKE=gmake; ./configure for sh-type shells
15327 setenv MAKE gmake; ./configure for csh-type shells
15328 Also please do remember to use gmake in this case every time
15329 you are trying to compile.
15331 echo "$as_me: error:
15332 You need a make-utility that is able to use the variable
15334 If your version of make does not support VPATH correctly,
15335 please install GNU-make (possibly as gmake), and start
15336 configure with the following command:
15337 export MAKE=gmake; ./configure for sh-type shells
15338 setenv MAKE gmake; ./configure for csh-type shells
15339 Also please do remember to use gmake in this case every time
15340 you are trying to compile.
15342 { (exit 1); exit 1; }; }
15344 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15345 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15347 if test "$LN_S" = "ln -s"; then
15348 echo "$as_me:$LINENO: result: yes" >&5
15349 echo "${ECHO_T}yes" >&6
15351 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15352 echo "${ECHO_T}no, using $LN_S" >&6
15358 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15359 CXXFLAGS
="-qunique $CXXFLAGS"
15363 powerpc
-*-darwin* )
15364 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15365 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15366 cat >conftest.
$ac_ext <<_ACEOF
15369 cat confdefs.h
>>conftest.
$ac_ext
15370 cat >>conftest.
$ac_ext <<_ACEOF
15371 /* end confdefs.h. */
15376 #ifndef __POWERPC__
15377 choke me for lack of PowerPC
15384 rm -f conftest.
$ac_objext
15385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15386 (eval $ac_compile) 2>conftest.er1
15388 grep -v '^ *+' conftest.er1
>conftest.err
15390 cat conftest.err
>&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try
='test -z "$ac_cxx_werror_flag"
15394 || test ! -s conftest.err'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; } &&
15400 { ac_try
='test -s conftest.$ac_objext'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15406 echo "$as_me:$LINENO: result: yes" >&5
15407 echo "${ECHO_T}yes" >&6
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.
$ac_ext >&5
15412 echo "$as_me:$LINENO: result: no" >&5
15413 echo "${ECHO_T}no" >&6
15414 cat >>confdefs.h
<<\_ACEOF
15415 #define __POWERPC__ 1
15420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15426 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15427 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15428 cat >conftest.
$ac_ext <<_ACEOF
15431 cat confdefs.h
>>conftest.
$ac_ext
15432 cat >>conftest.
$ac_ext <<_ACEOF
15433 /* end confdefs.h. */
15434 #include <CoreFoundation/CFBase.h>
15444 rm -f conftest.
$ac_objext
15445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15446 (eval $ac_compile) 2>conftest.er1
15448 grep -v '^ *+' conftest.er1
>conftest.err
15450 cat conftest.err
>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); } &&
15453 { ac_try
='test -z "$ac_cxx_werror_flag"
15454 || test ! -s conftest.err'
15455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15456 (eval $ac_try) 2>&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; } &&
15460 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15466 echo "$as_me:$LINENO: result: yes" >&5
15467 echo "${ECHO_T}yes" >&6
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.
$ac_ext >&5
15472 echo "$as_me:$LINENO: result: no" >&5
15473 echo "${ECHO_T}no" >&6
15474 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15475 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15476 cat >conftest.
$ac_ext <<_ACEOF
15479 cat confdefs.h
>>conftest.
$ac_ext
15480 cat >>conftest.
$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15482 #define __CF_USE_FRAMEWORK_INCLUDES__
15483 #include <CoreFoundation/CFBase.h>
15493 rm -f conftest.
$ac_objext
15494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15495 (eval $ac_compile) 2>conftest.er1
15497 grep -v '^ *+' conftest.er1
>conftest.err
15499 cat conftest.err
>&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); } &&
15502 { ac_try
='test -z "$ac_cxx_werror_flag"
15503 || test ! -s conftest.err'
15504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15505 (eval $ac_try) 2>&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); }; } &&
15509 { ac_try
='test -s conftest.$ac_objext'
15510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15511 (eval $ac_try) 2>&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); }; }; then
15515 echo "$as_me:$LINENO: result: yes" >&5
15516 echo "${ECHO_T}yes" >&6
15517 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15519 echo "$as_me: failed program was:" >&5
15520 sed 's/^/| /' conftest.
$ac_ext >&5
15522 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15523 See \`config.log' for more details." >&5
15524 echo "$as_me: error: no. CoreFoundation not available.
15525 See \`config.log' for more details." >&2;}
15526 { (exit 1); exit 1; }; }
15529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15538 *-pc-os2_emx | *-pc-os2-emx )
15540 ac_cpp
='$CPP $CPPFLAGS'
15541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15545 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15546 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15547 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15548 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15551 ac_check_lib_save_LIBS
=$LIBS
15552 LIBS
="-lcExt $LIBS"
15553 cat >conftest.
$ac_ext <<_ACEOF
15556 cat confdefs.h
>>conftest.
$ac_ext
15557 cat >>conftest.
$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15560 /* Override any gcc2 internal prototype to avoid an error. */
15564 /* We use char because int might match the return type of a gcc2
15565 builtin and then its argument prototype would still apply. */
15575 rm -f conftest.
$ac_objext conftest
$ac_exeext
15576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15577 (eval $ac_link) 2>conftest.er1
15579 grep -v '^ *+' conftest.er1
>conftest.err
15581 cat conftest.err
>&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); } &&
15584 { ac_try
='test -z "$ac_c_werror_flag"
15585 || test ! -s conftest.err'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; } &&
15591 { ac_try
='test -s conftest$ac_exeext'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; }; then
15597 ac_cv_lib_cExt_drand48
=yes
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.
$ac_ext >&5
15602 ac_cv_lib_cExt_drand48
=no
15604 rm -f conftest.err conftest.
$ac_objext \
15605 conftest
$ac_exeext conftest.
$ac_ext
15606 LIBS
=$ac_check_lib_save_LIBS
15608 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15609 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15610 if test $ac_cv_lib_cExt_drand48 = yes; then
15611 LIBS
="$LIBS -lcExt"
15615 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15617 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15618 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15619 if test "${wx_cv_gccversion+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15623 if test "$cross_compiling" = yes; then
15624 wx_cv_gccversion
="EMX2"
15627 cat >conftest.
$ac_ext <<_ACEOF
15630 cat confdefs.h
>>conftest.
$ac_ext
15631 cat >>conftest.
$ac_ext <<_ACEOF
15632 /* end confdefs.h. */
15638 FILE *f=fopen("conftestval", "w");
15643 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15645 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15655 rm -f conftest
$ac_exeext
15656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15657 (eval $ac_link) 2>&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; }; then
15666 wx_cv_gccversion
=`cat conftestval`
15668 echo "$as_me: program exited with status $ac_status" >&5
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.
$ac_ext >&5
15672 ( exit $ac_status )
15673 wx_cv_gccversion
="EMX2"
15675 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15679 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15680 echo "${ECHO_T}$wx_cv_gccversion" >&6
15682 ac_cpp
='$CXXCPP $CPPFLAGS'
15683 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15684 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15685 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15687 if test "$wx_cv_gccversion" = "EMX2"; then
15688 LIBS
="$LIBS -lstdcpp"
15689 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15691 if test "$wx_cv_gccversion" = "EMX3"; then
15692 LIBS
="$LIBS -lstdcxx -lgcc"
15693 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15695 LIBS
="$LIBS -lstdc++"
15698 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15699 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15700 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15707 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15708 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15709 if test "${ac_cv_string_strcasecmp+set}" = set; then
15710 echo $ECHO_N "(cached) $ECHO_C" >&6
15713 cat >conftest.
$ac_ext <<_ACEOF
15716 cat confdefs.h
>>conftest.
$ac_ext
15717 cat >>conftest.
$ac_ext <<_ACEOF
15718 /* end confdefs.h. */
15720 #include <string.h>
15726 strcasecmp("foo", "bar");
15732 rm -f conftest.
$ac_objext conftest
$ac_exeext
15733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15734 (eval $ac_link) 2>conftest.er1
15736 grep -v '^ *+' conftest.er1
>conftest.err
15738 cat conftest.err
>&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } &&
15741 { ac_try
='test -z "$ac_cxx_werror_flag"
15742 || test ! -s conftest.err'
15743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15744 (eval $ac_try) 2>&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; } &&
15748 { ac_try
='test -s conftest$ac_exeext'
15749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15750 (eval $ac_try) 2>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; }; then
15754 ac_cv_string_strcasecmp
=yes
15756 echo "$as_me: failed program was:" >&5
15757 sed 's/^/| /' conftest.
$ac_ext >&5
15759 ac_cv_string_strcasecmp
=no
15762 rm -f conftest.err conftest.
$ac_objext \
15763 conftest
$ac_exeext conftest.
$ac_ext
15766 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15767 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15769 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15770 cat >>confdefs.h
<<\_ACEOF
15771 #define HAVE_STRCASECMP_IN_STRING_H 1
15775 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15776 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15777 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15778 echo $ECHO_N "(cached) $ECHO_C" >&6
15781 cat >conftest.
$ac_ext <<_ACEOF
15784 cat confdefs.h
>>conftest.
$ac_ext
15785 cat >>conftest.
$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15788 #include <strings.h>
15794 strcasecmp("foo", "bar");
15800 rm -f conftest.
$ac_objext conftest
$ac_exeext
15801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15802 (eval $ac_link) 2>conftest.er1
15804 grep -v '^ *+' conftest.er1
>conftest.err
15806 cat conftest.err
>&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } &&
15809 { ac_try
='test -z "$ac_cxx_werror_flag"
15810 || test ! -s conftest.err'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; } &&
15816 { ac_try
='test -s conftest$ac_exeext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_cv_strings_strcasecmp
=yes
15824 echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.
$ac_ext >&5
15827 ac_cv_strings_strcasecmp
=no
15830 rm -f conftest.err conftest.
$ac_objext \
15831 conftest
$ac_exeext conftest.
$ac_ext
15834 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15835 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15837 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15838 cat >>confdefs.h
<<\_ACEOF
15839 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15843 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15844 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15845 { (exit 1); exit 1; }; }
15854 ac_cpp
='$CXXCPP $CPPFLAGS'
15855 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15856 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15857 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15858 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15859 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15860 if test -z "$CXXCPP"; then
15861 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 # Double quotes because CXXCPP needs to be expanded
15865 for CXXCPP
in "$CXX -E" "/lib/cpp"
15867 ac_preproc_ok
=false
15868 for ac_cxx_preproc_warn_flag
in '' yes
15870 # Use a header file that comes with gcc, so configuring glibc
15871 # with a fresh cross-compiler works.
15872 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15873 # <limits.h> exists even on freestanding compilers.
15874 # On the NeXT, cc -E runs the code through the compiler's parser,
15875 # not just through cpp. "Syntax error" is here to catch this case.
15876 cat >conftest.
$ac_ext <<_ACEOF
15879 cat confdefs.h
>>conftest.
$ac_ext
15880 cat >>conftest.
$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15883 # include <limits.h>
15885 # include <assert.h>
15889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15890 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15892 grep -v '^ *+' conftest.er1
>conftest.err
15894 cat conftest.err
>&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } >/dev
/null
; then
15897 if test -s conftest.err
; then
15898 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15899 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15906 if test -z "$ac_cpp_err"; then
15909 echo "$as_me: failed program was:" >&5
15910 sed 's/^/| /' conftest.
$ac_ext >&5
15912 # Broken: fails on valid input.
15915 rm -f conftest.err conftest.
$ac_ext
15917 # OK, works on sane cases. Now check whether non-existent headers
15918 # can be detected and how.
15919 cat >conftest.
$ac_ext <<_ACEOF
15922 cat confdefs.h
>>conftest.
$ac_ext
15923 cat >>conftest.
$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15925 #include <ac_nonexistent.h>
15927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15930 grep -v '^ *+' conftest.er1
>conftest.err
15932 cat conftest.err
>&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); } >/dev
/null
; then
15935 if test -s conftest.err
; then
15936 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15937 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15944 if test -z "$ac_cpp_err"; then
15945 # Broken: success on invalid input.
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.
$ac_ext >&5
15951 # Passes both tests.
15955 rm -f conftest.err conftest.
$ac_ext
15958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15959 rm -f conftest.err conftest.
$ac_ext
15960 if $ac_preproc_ok; then
15965 ac_cv_prog_CXXCPP
=$CXXCPP
15968 CXXCPP
=$ac_cv_prog_CXXCPP
15970 ac_cv_prog_CXXCPP
=$CXXCPP
15972 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15973 echo "${ECHO_T}$CXXCPP" >&6
15974 ac_preproc_ok
=false
15975 for ac_cxx_preproc_warn_flag
in '' yes
15977 # Use a header file that comes with gcc, so configuring glibc
15978 # with a fresh cross-compiler works.
15979 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15980 # <limits.h> exists even on freestanding compilers.
15981 # On the NeXT, cc -E runs the code through the compiler's parser,
15982 # not just through cpp. "Syntax error" is here to catch this case.
15983 cat >conftest.
$ac_ext <<_ACEOF
15986 cat confdefs.h
>>conftest.
$ac_ext
15987 cat >>conftest.
$ac_ext <<_ACEOF
15988 /* end confdefs.h. */
15990 # include <limits.h>
15992 # include <assert.h>
15996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15997 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15999 grep -v '^ *+' conftest.er1
>conftest.err
16001 cat conftest.err
>&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } >/dev
/null
; then
16004 if test -s conftest.err
; then
16005 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16006 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16013 if test -z "$ac_cpp_err"; then
16016 echo "$as_me: failed program was:" >&5
16017 sed 's/^/| /' conftest.
$ac_ext >&5
16019 # Broken: fails on valid input.
16022 rm -f conftest.err conftest.
$ac_ext
16024 # OK, works on sane cases. Now check whether non-existent headers
16025 # can be detected and how.
16026 cat >conftest.
$ac_ext <<_ACEOF
16029 cat confdefs.h
>>conftest.
$ac_ext
16030 cat >>conftest.
$ac_ext <<_ACEOF
16031 /* end confdefs.h. */
16032 #include <ac_nonexistent.h>
16034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16035 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16037 grep -v '^ *+' conftest.er1
>conftest.err
16039 cat conftest.err
>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } >/dev
/null
; then
16042 if test -s conftest.err
; then
16043 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16044 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16051 if test -z "$ac_cpp_err"; then
16052 # Broken: success on invalid input.
16055 echo "$as_me: failed program was:" >&5
16056 sed 's/^/| /' conftest.
$ac_ext >&5
16058 # Passes both tests.
16062 rm -f conftest.err conftest.
$ac_ext
16065 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16066 rm -f conftest.err conftest.
$ac_ext
16067 if $ac_preproc_ok; then
16070 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16071 See \`config.log' for more details." >&5
16072 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16073 See \`config.log' for more details." >&2;}
16074 { (exit 1); exit 1; }; }
16078 ac_cpp
='$CXXCPP $CPPFLAGS'
16079 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16080 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16081 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16084 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16085 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16086 if test "${ac_cv_header_stdc+set}" = set; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16089 cat >conftest.
$ac_ext <<_ACEOF
16092 cat confdefs.h
>>conftest.
$ac_ext
16093 cat >>conftest.
$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095 #include <stdlib.h>
16096 #include <stdarg.h>
16097 #include <string.h>
16108 rm -f conftest.
$ac_objext
16109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16110 (eval $ac_compile) 2>conftest.er1
16112 grep -v '^ *+' conftest.er1
>conftest.err
16114 cat conftest.err
>&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); } &&
16117 { ac_try
='test -z "$ac_cxx_werror_flag"
16118 || test ! -s conftest.err'
16119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16120 (eval $ac_try) 2>&5
16122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123 (exit $ac_status); }; } &&
16124 { ac_try
='test -s conftest.$ac_objext'
16125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16126 (eval $ac_try) 2>&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); }; }; then
16130 ac_cv_header_stdc
=yes
16132 echo "$as_me: failed program was:" >&5
16133 sed 's/^/| /' conftest.
$ac_ext >&5
16135 ac_cv_header_stdc
=no
16137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16139 if test $ac_cv_header_stdc = yes; then
16140 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16141 cat >conftest.
$ac_ext <<_ACEOF
16144 cat confdefs.h
>>conftest.
$ac_ext
16145 cat >>conftest.
$ac_ext <<_ACEOF
16146 /* end confdefs.h. */
16147 #include <string.h>
16150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16151 $EGREP "memchr" >/dev
/null
2>&1; then
16154 ac_cv_header_stdc
=no
16160 if test $ac_cv_header_stdc = yes; then
16161 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16162 cat >conftest.
$ac_ext <<_ACEOF
16165 cat confdefs.h
>>conftest.
$ac_ext
16166 cat >>conftest.
$ac_ext <<_ACEOF
16167 /* end confdefs.h. */
16168 #include <stdlib.h>
16171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16172 $EGREP "free" >/dev
/null
2>&1; then
16175 ac_cv_header_stdc
=no
16181 if test $ac_cv_header_stdc = yes; then
16182 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16183 if test "$cross_compiling" = yes; then
16186 cat >conftest.
$ac_ext <<_ACEOF
16189 cat confdefs.h
>>conftest.
$ac_ext
16190 cat >>conftest.
$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16193 #if ((' ' & 0x0FF) == 0x020)
16194 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16195 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16197 # define ISLOWER(c) \
16198 (('a' <= (c) && (c) <= 'i') \
16199 || ('j' <= (c) && (c) <= 'r') \
16200 || ('s' <= (c) && (c) <= 'z'))
16201 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16204 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16209 for (i = 0; i < 256; i++)
16210 if (XOR (islower (i), ISLOWER (i))
16211 || toupper (i) != TOUPPER (i))
16216 rm -f conftest
$ac_exeext
16217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16218 (eval $ac_link) 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16223 (eval $ac_try) 2>&5
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); }; }; then
16229 echo "$as_me: program exited with status $ac_status" >&5
16230 echo "$as_me: failed program was:" >&5
16231 sed 's/^/| /' conftest.
$ac_ext >&5
16233 ( exit $ac_status )
16234 ac_cv_header_stdc
=no
16236 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16240 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16241 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16242 if test $ac_cv_header_stdc = yes; then
16244 cat >>confdefs.h
<<\_ACEOF
16245 #define STDC_HEADERS 1
16250 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16260 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16261 inttypes.h stdint.h unistd.h
16263 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16264 echo "$as_me:$LINENO: checking for $ac_header" >&5
16265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16267 echo $ECHO_N "(cached) $ECHO_C" >&6
16269 cat >conftest.
$ac_ext <<_ACEOF
16272 cat confdefs.h
>>conftest.
$ac_ext
16273 cat >>conftest.
$ac_ext <<_ACEOF
16274 /* end confdefs.h. */
16275 $ac_includes_default
16277 #include <$ac_header>
16279 rm -f conftest.
$ac_objext
16280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16281 (eval $ac_compile) 2>conftest.er1
16283 grep -v '^ *+' conftest.er1
>conftest.err
16285 cat conftest.err
>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } &&
16288 { ac_try
='test -z "$ac_cxx_werror_flag"
16289 || 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"
16357 || test ! -s conftest.err'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; } &&
16363 { ac_try
='test -s conftest.$ac_objext'
16364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16365 (eval $ac_try) 2>&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); }; }; then
16369 ac_header_compiler
=yes
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.
$ac_ext >&5
16374 ac_header_compiler
=no
16376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16378 echo "${ECHO_T}$ac_header_compiler" >&6
16380 # Is the header present?
16381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16383 cat >conftest.
$ac_ext <<_ACEOF
16386 cat confdefs.h
>>conftest.
$ac_ext
16387 cat >>conftest.
$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16389 #include <$ac_header>
16391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16394 grep -v '^ *+' conftest.er1
>conftest.err
16396 cat conftest.err
>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); } >/dev
/null
; then
16399 if test -s conftest.err
; then
16400 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16401 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16408 if test -z "$ac_cpp_err"; then
16409 ac_header_preproc
=yes
16411 echo "$as_me: failed program was:" >&5
16412 sed 's/^/| /' conftest.
$ac_ext >&5
16414 ac_header_preproc
=no
16416 rm -f conftest.err conftest.
$ac_ext
16417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16418 echo "${ECHO_T}$ac_header_preproc" >&6
16420 # So? What about this header?
16421 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16423 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16426 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16427 ac_header_preproc
=yes
16430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16434 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16435 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16436 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16437 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16440 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16441 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16444 ## ----------------------------------------- ##
16445 ## Report this to wx-dev@lists.wxwidgets.org ##
16446 ## ----------------------------------------- ##
16449 sed "s/^/$as_me: WARNING: /" >&2
16452 echo "$as_me:$LINENO: checking for $ac_header" >&5
16453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16455 echo $ECHO_N "(cached) $ECHO_C" >&6
16457 eval "$as_ac_Header=\$ac_header_preproc"
16459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16464 cat >>confdefs.h
<<_ACEOF
16465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16473 for ac_header
in malloc.h
16475 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16477 echo "$as_me:$LINENO: checking for $ac_header" >&5
16478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16480 echo $ECHO_N "(cached) $ECHO_C" >&6
16482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16485 # Is the header compilable?
16486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16488 cat >conftest.
$ac_ext <<_ACEOF
16491 cat confdefs.h
>>conftest.
$ac_ext
16492 cat >>conftest.
$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494 $ac_includes_default
16495 #include <$ac_header>
16497 rm -f conftest.
$ac_objext
16498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16499 (eval $ac_compile) 2>conftest.er1
16501 grep -v '^ *+' conftest.er1
>conftest.err
16503 cat conftest.err
>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); } &&
16506 { ac_try
='test -z "$ac_cxx_werror_flag"
16507 || test ! -s conftest.err'
16508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16509 (eval $ac_try) 2>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); }; } &&
16513 { ac_try
='test -s conftest.$ac_objext'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; }; then
16519 ac_header_compiler
=yes
16521 echo "$as_me: failed program was:" >&5
16522 sed 's/^/| /' conftest.
$ac_ext >&5
16524 ac_header_compiler
=no
16526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16528 echo "${ECHO_T}$ac_header_compiler" >&6
16530 # Is the header present?
16531 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16533 cat >conftest.
$ac_ext <<_ACEOF
16536 cat confdefs.h
>>conftest.
$ac_ext
16537 cat >>conftest.
$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16539 #include <$ac_header>
16541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16542 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16544 grep -v '^ *+' conftest.er1
>conftest.err
16546 cat conftest.err
>&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } >/dev
/null
; then
16549 if test -s conftest.err
; then
16550 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16551 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16558 if test -z "$ac_cpp_err"; then
16559 ac_header_preproc
=yes
16561 echo "$as_me: failed program was:" >&5
16562 sed 's/^/| /' conftest.
$ac_ext >&5
16564 ac_header_preproc
=no
16566 rm -f conftest.err conftest.
$ac_ext
16567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16568 echo "${ECHO_T}$ac_header_preproc" >&6
16570 # So? What about this header?
16571 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16576 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16577 ac_header_preproc
=yes
16580 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16581 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16582 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16583 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16584 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16585 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16586 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16587 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16590 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16591 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16594 ## ----------------------------------------- ##
16595 ## Report this to wx-dev@lists.wxwidgets.org ##
16596 ## ----------------------------------------- ##
16599 sed "s/^/$as_me: WARNING: /" >&2
16602 echo "$as_me:$LINENO: checking for $ac_header" >&5
16603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16605 echo $ECHO_N "(cached) $ECHO_C" >&6
16607 eval "$as_ac_Header=\$ac_header_preproc"
16609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16614 cat >>confdefs.h
<<_ACEOF
16615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16623 for ac_header
in unistd.h
16625 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16627 echo "$as_me:$LINENO: checking for $ac_header" >&5
16628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16630 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16635 # Is the header compilable?
16636 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16637 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16638 cat >conftest.
$ac_ext <<_ACEOF
16641 cat confdefs.h
>>conftest.
$ac_ext
16642 cat >>conftest.
$ac_ext <<_ACEOF
16643 /* end confdefs.h. */
16644 $ac_includes_default
16645 #include <$ac_header>
16647 rm -f conftest.
$ac_objext
16648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16649 (eval $ac_compile) 2>conftest.er1
16651 grep -v '^ *+' conftest.er1
>conftest.err
16653 cat conftest.err
>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } &&
16656 { ac_try
='test -z "$ac_cxx_werror_flag"
16657 || test ! -s conftest.err'
16658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16659 (eval $ac_try) 2>&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }; } &&
16663 { ac_try
='test -s conftest.$ac_objext'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; }; then
16669 ac_header_compiler
=yes
16671 echo "$as_me: failed program was:" >&5
16672 sed 's/^/| /' conftest.
$ac_ext >&5
16674 ac_header_compiler
=no
16676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16678 echo "${ECHO_T}$ac_header_compiler" >&6
16680 # Is the header present?
16681 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16682 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16683 cat >conftest.
$ac_ext <<_ACEOF
16686 cat confdefs.h
>>conftest.
$ac_ext
16687 cat >>conftest.
$ac_ext <<_ACEOF
16688 /* end confdefs.h. */
16689 #include <$ac_header>
16691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16692 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16694 grep -v '^ *+' conftest.er1
>conftest.err
16696 cat conftest.err
>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); } >/dev
/null
; then
16699 if test -s conftest.err
; then
16700 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16701 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16708 if test -z "$ac_cpp_err"; then
16709 ac_header_preproc
=yes
16711 echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.
$ac_ext >&5
16714 ac_header_preproc
=no
16716 rm -f conftest.err conftest.
$ac_ext
16717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16718 echo "${ECHO_T}$ac_header_preproc" >&6
16720 # So? What about this header?
16721 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16723 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16724 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16726 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16727 ac_header_preproc
=yes
16730 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16731 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16732 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16733 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16734 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16735 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16736 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16737 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16739 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16740 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16741 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16744 ## ----------------------------------------- ##
16745 ## Report this to wx-dev@lists.wxwidgets.org ##
16746 ## ----------------------------------------- ##
16749 sed "s/^/$as_me: WARNING: /" >&2
16752 echo "$as_me:$LINENO: checking for $ac_header" >&5
16753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16755 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 eval "$as_ac_Header=\$ac_header_preproc"
16759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16764 cat >>confdefs.h
<<_ACEOF
16765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16773 for ac_header
in wchar.h
16775 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16777 echo "$as_me:$LINENO: checking for $ac_header" >&5
16778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16780 echo $ECHO_N "(cached) $ECHO_C" >&6
16782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16785 # Is the header compilable?
16786 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16787 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16788 cat >conftest.
$ac_ext <<_ACEOF
16791 cat confdefs.h
>>conftest.
$ac_ext
16792 cat >>conftest.
$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794 $ac_includes_default
16795 #include <$ac_header>
16797 rm -f conftest.
$ac_objext
16798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16799 (eval $ac_compile) 2>conftest.er1
16801 grep -v '^ *+' conftest.er1
>conftest.err
16803 cat conftest.err
>&5
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); } &&
16806 { ac_try
='test -z "$ac_cxx_werror_flag"
16807 || test ! -s conftest.err'
16808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809 (eval $ac_try) 2>&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }; } &&
16813 { ac_try
='test -s conftest.$ac_objext'
16814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16815 (eval $ac_try) 2>&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); }; }; then
16819 ac_header_compiler
=yes
16821 echo "$as_me: failed program was:" >&5
16822 sed 's/^/| /' conftest.
$ac_ext >&5
16824 ac_header_compiler
=no
16826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16828 echo "${ECHO_T}$ac_header_compiler" >&6
16830 # Is the header present?
16831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16833 cat >conftest.
$ac_ext <<_ACEOF
16836 cat confdefs.h
>>conftest.
$ac_ext
16837 cat >>conftest.
$ac_ext <<_ACEOF
16838 /* end confdefs.h. */
16839 #include <$ac_header>
16841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16842 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16844 grep -v '^ *+' conftest.er1
>conftest.err
16846 cat conftest.err
>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } >/dev
/null
; then
16849 if test -s conftest.err
; then
16850 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16851 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16858 if test -z "$ac_cpp_err"; then
16859 ac_header_preproc
=yes
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.
$ac_ext >&5
16864 ac_header_preproc
=no
16866 rm -f conftest.err conftest.
$ac_ext
16867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16868 echo "${ECHO_T}$ac_header_preproc" >&6
16870 # So? What about this header?
16871 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16874 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16876 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16877 ac_header_preproc
=yes
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16881 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16882 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16883 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16884 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16885 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16886 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16887 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16889 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16890 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16891 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16894 ## ----------------------------------------- ##
16895 ## Report this to wx-dev@lists.wxwidgets.org ##
16896 ## ----------------------------------------- ##
16899 sed "s/^/$as_me: WARNING: /" >&2
16902 echo "$as_me:$LINENO: checking for $ac_header" >&5
16903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16905 echo $ECHO_N "(cached) $ECHO_C" >&6
16907 eval "$as_ac_Header=\$ac_header_preproc"
16909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16914 cat >>confdefs.h
<<_ACEOF
16915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16923 if test "$ac_cv_header_wchar_h" != "yes"; then
16925 for ac_header
in wcstr.h
16927 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16929 echo "$as_me:$LINENO: checking for $ac_header" >&5
16930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16932 echo $ECHO_N "(cached) $ECHO_C" >&6
16934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16937 # Is the header compilable?
16938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16940 cat >conftest.
$ac_ext <<_ACEOF
16943 cat confdefs.h
>>conftest.
$ac_ext
16944 cat >>conftest.
$ac_ext <<_ACEOF
16945 /* end confdefs.h. */
16946 $ac_includes_default
16947 #include <$ac_header>
16949 rm -f conftest.
$ac_objext
16950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16951 (eval $ac_compile) 2>conftest.er1
16953 grep -v '^ *+' conftest.er1
>conftest.err
16955 cat conftest.err
>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } &&
16958 { ac_try
='test -z "$ac_cxx_werror_flag"
16959 || test ! -s conftest.err'
16960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16961 (eval $ac_try) 2>&5
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); }; } &&
16965 { ac_try
='test -s conftest.$ac_objext'
16966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16967 (eval $ac_try) 2>&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); }; }; then
16971 ac_header_compiler
=yes
16973 echo "$as_me: failed program was:" >&5
16974 sed 's/^/| /' conftest.
$ac_ext >&5
16976 ac_header_compiler
=no
16978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16980 echo "${ECHO_T}$ac_header_compiler" >&6
16982 # Is the header present?
16983 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16985 cat >conftest.
$ac_ext <<_ACEOF
16988 cat confdefs.h
>>conftest.
$ac_ext
16989 cat >>conftest.
$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991 #include <$ac_header>
16993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16994 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16996 grep -v '^ *+' conftest.er1
>conftest.err
16998 cat conftest.err
>&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); } >/dev
/null
; then
17001 if test -s conftest.err
; then
17002 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17003 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17010 if test -z "$ac_cpp_err"; then
17011 ac_header_preproc
=yes
17013 echo "$as_me: failed program was:" >&5
17014 sed 's/^/| /' conftest.
$ac_ext >&5
17016 ac_header_preproc
=no
17018 rm -f conftest.err conftest.
$ac_ext
17019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17020 echo "${ECHO_T}$ac_header_preproc" >&6
17022 # So? What about this header?
17023 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17028 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17029 ac_header_preproc
=yes
17032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17036 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17037 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17038 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17039 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17042 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17043 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17046 ## ----------------------------------------- ##
17047 ## Report this to wx-dev@lists.wxwidgets.org ##
17048 ## ----------------------------------------- ##
17051 sed "s/^/$as_me: WARNING: /" >&2
17054 echo "$as_me:$LINENO: checking for $ac_header" >&5
17055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17057 echo $ECHO_N "(cached) $ECHO_C" >&6
17059 eval "$as_ac_Header=\$ac_header_preproc"
17061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17066 cat >>confdefs.h
<<_ACEOF
17067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17077 for ac_header
in fnmatch.h
17079 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17081 echo "$as_me:$LINENO: checking for $ac_header" >&5
17082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17084 echo $ECHO_N "(cached) $ECHO_C" >&6
17086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17089 # Is the header compilable?
17090 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17092 cat >conftest.
$ac_ext <<_ACEOF
17095 cat confdefs.h
>>conftest.
$ac_ext
17096 cat >>conftest.
$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17098 $ac_includes_default
17099 #include <$ac_header>
17101 rm -f conftest.
$ac_objext
17102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17103 (eval $ac_compile) 2>conftest.er1
17105 grep -v '^ *+' conftest.er1
>conftest.err
17107 cat conftest.err
>&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } &&
17110 { ac_try
='test -z "$ac_cxx_werror_flag"
17111 || test ! -s conftest.err'
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); }; } &&
17117 { ac_try
='test -s conftest.$ac_objext'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; }; then
17123 ac_header_compiler
=yes
17125 echo "$as_me: failed program was:" >&5
17126 sed 's/^/| /' conftest.
$ac_ext >&5
17128 ac_header_compiler
=no
17130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17131 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17132 echo "${ECHO_T}$ac_header_compiler" >&6
17134 # Is the header present?
17135 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17136 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17137 cat >conftest.
$ac_ext <<_ACEOF
17140 cat confdefs.h
>>conftest.
$ac_ext
17141 cat >>conftest.
$ac_ext <<_ACEOF
17142 /* end confdefs.h. */
17143 #include <$ac_header>
17145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17146 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17148 grep -v '^ *+' conftest.er1
>conftest.err
17150 cat conftest.err
>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } >/dev
/null
; then
17153 if test -s conftest.err
; then
17154 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17155 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17162 if test -z "$ac_cpp_err"; then
17163 ac_header_preproc
=yes
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.
$ac_ext >&5
17168 ac_header_preproc
=no
17170 rm -f conftest.err conftest.
$ac_ext
17171 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17172 echo "${ECHO_T}$ac_header_preproc" >&6
17174 # So? What about this header?
17175 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17177 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17178 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17180 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17181 ac_header_preproc
=yes
17184 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17185 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17186 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17187 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17188 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17189 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17190 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17191 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17193 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17194 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17195 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17198 ## ----------------------------------------- ##
17199 ## Report this to wx-dev@lists.wxwidgets.org ##
17200 ## ----------------------------------------- ##
17203 sed "s/^/$as_me: WARNING: /" >&2
17206 echo "$as_me:$LINENO: checking for $ac_header" >&5
17207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17209 echo $ECHO_N "(cached) $ECHO_C" >&6
17211 eval "$as_ac_Header=\$ac_header_preproc"
17213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17217 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17218 cat >>confdefs.h
<<_ACEOF
17219 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17228 for ac_header
in langinfo.h
17230 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17232 echo "$as_me:$LINENO: checking for $ac_header" >&5
17233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17240 # Is the header compilable?
17241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17243 cat >conftest.
$ac_ext <<_ACEOF
17246 cat confdefs.h
>>conftest.
$ac_ext
17247 cat >>conftest.
$ac_ext <<_ACEOF
17248 /* end confdefs.h. */
17249 $ac_includes_default
17250 #include <$ac_header>
17252 rm -f conftest.
$ac_objext
17253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17254 (eval $ac_compile) 2>conftest.er1
17256 grep -v '^ *+' conftest.er1
>conftest.err
17258 cat conftest.err
>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try
='test -z "$ac_cxx_werror_flag"
17262 || test ! -s conftest.err'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; } &&
17268 { ac_try
='test -s conftest.$ac_objext'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; }; then
17274 ac_header_compiler
=yes
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.
$ac_ext >&5
17279 ac_header_compiler
=no
17281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17283 echo "${ECHO_T}$ac_header_compiler" >&6
17285 # Is the header present?
17286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17288 cat >conftest.
$ac_ext <<_ACEOF
17291 cat confdefs.h
>>conftest.
$ac_ext
17292 cat >>conftest.
$ac_ext <<_ACEOF
17293 /* end confdefs.h. */
17294 #include <$ac_header>
17296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17297 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17299 grep -v '^ *+' conftest.er1
>conftest.err
17301 cat conftest.err
>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } >/dev
/null
; then
17304 if test -s conftest.err
; then
17305 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17306 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17313 if test -z "$ac_cpp_err"; then
17314 ac_header_preproc
=yes
17316 echo "$as_me: failed program was:" >&5
17317 sed 's/^/| /' conftest.
$ac_ext >&5
17319 ac_header_preproc
=no
17321 rm -f conftest.err conftest.
$ac_ext
17322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17323 echo "${ECHO_T}$ac_header_preproc" >&6
17325 # So? What about this header?
17326 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17332 ac_header_preproc
=yes
17335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17338 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17339 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17341 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17342 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17345 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17349 ## ----------------------------------------- ##
17350 ## Report this to wx-dev@lists.wxwidgets.org ##
17351 ## ----------------------------------------- ##
17354 sed "s/^/$as_me: WARNING: /" >&2
17357 echo "$as_me:$LINENO: checking for $ac_header" >&5
17358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17360 echo $ECHO_N "(cached) $ECHO_C" >&6
17362 eval "$as_ac_Header=\$ac_header_preproc"
17364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17369 cat >>confdefs.h
<<_ACEOF
17370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17379 *-pc-os2_emx | *-pc-os2-emx )
17380 if test $ac_cv_header_langinfo_h = "yes" \
17381 -a \
( "$wx_cv_gccversion" = "EMX2" \
17382 -o "$wx_cv_gccversion" = "EMX3" \
17383 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17384 LIBS
="$LIBS -lintl"
17390 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17391 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17392 if test "${ac_cv_c_const+set}" = set; then
17393 echo $ECHO_N "(cached) $ECHO_C" >&6
17395 cat >conftest.
$ac_ext <<_ACEOF
17398 cat confdefs.h
>>conftest.
$ac_ext
17399 cat >>conftest.
$ac_ext <<_ACEOF
17400 /* end confdefs.h. */
17405 /* FIXME: Include the comments suggested by Paul. */
17406 #ifndef __cplusplus
17407 /* Ultrix mips cc rejects this. */
17408 typedef int charset[2];
17410 /* SunOS 4.1.1 cc rejects this. */
17411 char const *const *ccp;
17413 /* NEC SVR4.0.2 mips cc rejects this. */
17414 struct point {int x, y;};
17415 static struct point const zero = {0,0};
17416 /* AIX XL C 1.02.0.0 rejects this.
17417 It does not let you subtract one const X* pointer from another in
17418 an arm of an if-expression whose if-part is not a constant
17420 const char *g = "string";
17421 ccp = &g + (g ? g-g : 0);
17422 /* HPUX 7.0 cc rejects these. */
17425 ccp = (char const *const *) p;
17426 { /* SCO 3.2v4 cc rejects this. */
17428 char const *s = 0 ? (char *) 0 : (char const *) 0;
17432 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17433 int x[] = {25, 17};
17434 const int *foo = &x[0];
17437 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17438 typedef const int *iptr;
17442 { /* AIX XL C 1.02.0.0 rejects this saying
17443 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17444 struct s { int j; const int *ap[3]; };
17445 struct s *b; b->j = 5;
17447 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17448 const int foo = 10;
17456 rm -f conftest.
$ac_objext
17457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17458 (eval $ac_compile) 2>conftest.er1
17460 grep -v '^ *+' conftest.er1
>conftest.err
17462 cat conftest.err
>&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); } &&
17465 { ac_try
='test -z "$ac_cxx_werror_flag"
17466 || test ! -s conftest.err'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; } &&
17472 { ac_try
='test -s conftest.$ac_objext'
17473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 (eval $ac_try) 2>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; }; then
17480 echo "$as_me: failed program was:" >&5
17481 sed 's/^/| /' conftest.
$ac_ext >&5
17485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17487 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17488 echo "${ECHO_T}$ac_cv_c_const" >&6
17489 if test $ac_cv_c_const = no
; then
17491 cat >>confdefs.h
<<\_ACEOF
17497 echo "$as_me:$LINENO: checking for inline" >&5
17498 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17499 if test "${ac_cv_c_inline+set}" = set; then
17500 echo $ECHO_N "(cached) $ECHO_C" >&6
17503 for ac_kw
in inline __inline__ __inline
; do
17504 cat >conftest.
$ac_ext <<_ACEOF
17507 cat confdefs.h
>>conftest.
$ac_ext
17508 cat >>conftest.
$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17510 #ifndef __cplusplus
17512 static $ac_kw foo_t static_foo () {return 0; }
17513 $ac_kw foo_t foo () {return 0; }
17517 rm -f conftest.
$ac_objext
17518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17519 (eval $ac_compile) 2>conftest.er1
17521 grep -v '^ *+' conftest.er1
>conftest.err
17523 cat conftest.err
>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } &&
17526 { ac_try
='test -z "$ac_cxx_werror_flag"
17527 || test ! -s conftest.err'
17528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17529 (eval $ac_try) 2>&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); }; } &&
17533 { ac_try
='test -s conftest.$ac_objext'
17534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17535 (eval $ac_try) 2>&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); }; }; then
17539 ac_cv_c_inline
=$ac_kw; break
17541 echo "$as_me: failed program was:" >&5
17542 sed 's/^/| /' conftest.
$ac_ext >&5
17545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17549 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17550 echo "${ECHO_T}$ac_cv_c_inline" >&6
17553 case $ac_cv_c_inline in
17556 case $ac_cv_c_inline in
17558 *) ac_val
=$ac_cv_c_inline;;
17560 cat >>confdefs.h
<<_ACEOF
17561 #ifndef __cplusplus
17562 #define inline $ac_val
17569 echo "$as_me:$LINENO: checking for char" >&5
17570 echo $ECHO_N "checking for char... $ECHO_C" >&6
17571 if test "${ac_cv_type_char+set}" = set; then
17572 echo $ECHO_N "(cached) $ECHO_C" >&6
17574 cat >conftest.
$ac_ext <<_ACEOF
17577 cat confdefs.h
>>conftest.
$ac_ext
17578 cat >>conftest.
$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17580 $ac_includes_default
17592 rm -f conftest.
$ac_objext
17593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17594 (eval $ac_compile) 2>conftest.er1
17596 grep -v '^ *+' conftest.er1
>conftest.err
17598 cat conftest.err
>&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } &&
17601 { ac_try
='test -z "$ac_cxx_werror_flag"
17602 || test ! -s conftest.err'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; } &&
17608 { ac_try
='test -s conftest.$ac_objext'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; }; then
17614 ac_cv_type_char
=yes
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.
$ac_ext >&5
17621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17623 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17624 echo "${ECHO_T}$ac_cv_type_char" >&6
17626 echo "$as_me:$LINENO: checking size of char" >&5
17627 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17628 if test "${ac_cv_sizeof_char+set}" = set; then
17629 echo $ECHO_N "(cached) $ECHO_C" >&6
17631 if test "$ac_cv_type_char" = yes; then
17632 # The cast to unsigned long works around a bug in the HP C Compiler
17633 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17634 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17635 # This bug is HP SR number 8606223364.
17636 if test "$cross_compiling" = yes; then
17637 # Depending upon the size, compute the lo and hi bounds.
17638 cat >conftest.
$ac_ext <<_ACEOF
17641 cat confdefs.h
>>conftest.
$ac_ext
17642 cat >>conftest.
$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 $ac_includes_default
17648 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17655 rm -f conftest.
$ac_objext
17656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17657 (eval $ac_compile) 2>conftest.er1
17659 grep -v '^ *+' conftest.er1
>conftest.err
17661 cat conftest.err
>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); } &&
17664 { ac_try
='test -z "$ac_cxx_werror_flag"
17665 || test ! -s conftest.err'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; } &&
17671 { ac_try
='test -s conftest.$ac_objext'
17672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17673 (eval $ac_try) 2>&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); }; }; then
17679 cat >conftest.
$ac_ext <<_ACEOF
17682 cat confdefs.h
>>conftest.
$ac_ext
17683 cat >>conftest.
$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 $ac_includes_default
17689 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17696 rm -f conftest.
$ac_objext
17697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17698 (eval $ac_compile) 2>conftest.er1
17700 grep -v '^ *+' conftest.er1
>conftest.err
17702 cat conftest.err
>&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); } &&
17705 { ac_try
='test -z "$ac_cxx_werror_flag"
17706 || test ! -s conftest.err'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; } &&
17712 { ac_try
='test -s conftest.$ac_objext'
17713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17714 (eval $ac_try) 2>&5
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); }; }; then
17718 ac_hi
=$ac_mid; break
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.
$ac_ext >&5
17723 ac_lo
=`expr $ac_mid + 1`
17724 if test $ac_lo -le $ac_mid; then
17728 ac_mid
=`expr 2 '*' $ac_mid + 1`
17730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17733 echo "$as_me: failed program was:" >&5
17734 sed 's/^/| /' conftest.
$ac_ext >&5
17736 cat >conftest.
$ac_ext <<_ACEOF
17739 cat confdefs.h
>>conftest.
$ac_ext
17740 cat >>conftest.
$ac_ext <<_ACEOF
17741 /* end confdefs.h. */
17742 $ac_includes_default
17746 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17753 rm -f conftest.
$ac_objext
17754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17755 (eval $ac_compile) 2>conftest.er1
17757 grep -v '^ *+' conftest.er1
>conftest.err
17759 cat conftest.err
>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); } &&
17762 { ac_try
='test -z "$ac_cxx_werror_flag"
17763 || test ! -s conftest.err'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; } &&
17769 { ac_try
='test -s conftest.$ac_objext'
17770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17771 (eval $ac_try) 2>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); }; }; then
17777 cat >conftest.
$ac_ext <<_ACEOF
17780 cat confdefs.h
>>conftest.
$ac_ext
17781 cat >>conftest.
$ac_ext <<_ACEOF
17782 /* end confdefs.h. */
17783 $ac_includes_default
17787 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17794 rm -f conftest.
$ac_objext
17795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17796 (eval $ac_compile) 2>conftest.er1
17798 grep -v '^ *+' conftest.er1
>conftest.err
17800 cat conftest.err
>&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } &&
17803 { ac_try
='test -z "$ac_cxx_werror_flag"
17804 || test ! -s conftest.err'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; } &&
17810 { ac_try
='test -s conftest.$ac_objext'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; }; then
17816 ac_lo
=$ac_mid; break
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.
$ac_ext >&5
17821 ac_hi
=`expr '(' $ac_mid ')' - 1`
17822 if test $ac_mid -le $ac_hi; then
17826 ac_mid
=`expr 2 '*' $ac_mid`
17828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.
$ac_ext >&5
17836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17839 # Binary search between lo and hi bounds.
17840 while test "x$ac_lo" != "x$ac_hi"; do
17841 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17842 cat >conftest.
$ac_ext <<_ACEOF
17845 cat confdefs.h
>>conftest.
$ac_ext
17846 cat >>conftest.
$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 $ac_includes_default
17852 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17859 rm -f conftest.
$ac_objext
17860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17861 (eval $ac_compile) 2>conftest.er1
17863 grep -v '^ *+' conftest.er1
>conftest.err
17865 cat conftest.err
>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } &&
17868 { ac_try
='test -z "$ac_cxx_werror_flag"
17869 || test ! -s conftest.err'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; } &&
17875 { ac_try
='test -s conftest.$ac_objext'
17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877 (eval $ac_try) 2>&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }; }; then
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.
$ac_ext >&5
17886 ac_lo
=`expr '(' $ac_mid ')' + 1`
17888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17891 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17892 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17893 See \`config.log' for more details." >&5
17894 echo "$as_me: error: cannot compute sizeof (char), 77
17895 See \`config.log' for more details." >&2;}
17896 { (exit 1); exit 1; }; } ;;
17899 if test "$cross_compiling" = yes; then
17900 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17901 See \`config.log' for more details." >&5
17902 echo "$as_me: error: cannot run test program while cross compiling
17903 See \`config.log' for more details." >&2;}
17904 { (exit 1); exit 1; }; }
17906 cat >conftest.
$ac_ext <<_ACEOF
17909 cat confdefs.h
>>conftest.
$ac_ext
17910 cat >>conftest.
$ac_ext <<_ACEOF
17911 /* end confdefs.h. */
17912 $ac_includes_default
17913 long longval () { return (long) (sizeof (char)); }
17914 unsigned long ulongval () { return (long) (sizeof (char)); }
17916 #include <stdlib.h>
17921 FILE *f = fopen ("conftest.val", "w");
17924 if (((long) (sizeof (char))) < 0)
17926 long i = longval ();
17927 if (i != ((long) (sizeof (char))))
17929 fprintf (f, "%ld\n", i);
17933 unsigned long i = ulongval ();
17934 if (i != ((long) (sizeof (char))))
17936 fprintf (f, "%lu\n", i);
17938 exit (ferror (f) || fclose (f) != 0);
17944 rm -f conftest
$ac_exeext
17945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17946 (eval $ac_link) 2>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; }; then
17955 ac_cv_sizeof_char
=`cat conftest.val`
17957 echo "$as_me: program exited with status $ac_status" >&5
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.
$ac_ext >&5
17961 ( exit $ac_status )
17962 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17963 See \`config.log' for more details." >&5
17964 echo "$as_me: error: cannot compute sizeof (char), 77
17965 See \`config.log' for more details." >&2;}
17966 { (exit 1); exit 1; }; }
17968 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17973 ac_cv_sizeof_char
=0
17976 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17977 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17978 cat >>confdefs.h
<<_ACEOF
17979 #define SIZEOF_CHAR $ac_cv_sizeof_char
17983 echo "$as_me:$LINENO: checking for short" >&5
17984 echo $ECHO_N "checking for short... $ECHO_C" >&6
17985 if test "${ac_cv_type_short+set}" = set; then
17986 echo $ECHO_N "(cached) $ECHO_C" >&6
17988 cat >conftest.
$ac_ext <<_ACEOF
17991 cat confdefs.h
>>conftest.
$ac_ext
17992 cat >>conftest.
$ac_ext <<_ACEOF
17993 /* end confdefs.h. */
17994 $ac_includes_default
18000 if (sizeof (short))
18006 rm -f conftest.
$ac_objext
18007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18008 (eval $ac_compile) 2>conftest.er1
18010 grep -v '^ *+' conftest.er1
>conftest.err
18012 cat conftest.err
>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } &&
18015 { ac_try
='test -z "$ac_cxx_werror_flag"
18016 || test ! -s conftest.err'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; } &&
18022 { ac_try
='test -s conftest.$ac_objext'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; }; then
18028 ac_cv_type_short
=yes
18030 echo "$as_me: failed program was:" >&5
18031 sed 's/^/| /' conftest.
$ac_ext >&5
18033 ac_cv_type_short
=no
18035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18037 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18038 echo "${ECHO_T}$ac_cv_type_short" >&6
18040 echo "$as_me:$LINENO: checking size of short" >&5
18041 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18042 if test "${ac_cv_sizeof_short+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18045 if test "$ac_cv_type_short" = yes; then
18046 # The cast to unsigned long works around a bug in the HP C Compiler
18047 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18048 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18049 # This bug is HP SR number 8606223364.
18050 if test "$cross_compiling" = yes; then
18051 # Depending upon the size, compute the lo and hi bounds.
18052 cat >conftest.
$ac_ext <<_ACEOF
18055 cat confdefs.h
>>conftest.
$ac_ext
18056 cat >>conftest.
$ac_ext <<_ACEOF
18057 /* end confdefs.h. */
18058 $ac_includes_default
18062 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18069 rm -f conftest.
$ac_objext
18070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18071 (eval $ac_compile) 2>conftest.er1
18073 grep -v '^ *+' conftest.er1
>conftest.err
18075 cat conftest.err
>&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); } &&
18078 { ac_try
='test -z "$ac_cxx_werror_flag"
18079 || test ! -s conftest.err'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; } &&
18085 { ac_try
='test -s conftest.$ac_objext'
18086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18087 (eval $ac_try) 2>&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); }; }; then
18093 cat >conftest.
$ac_ext <<_ACEOF
18096 cat confdefs.h
>>conftest.
$ac_ext
18097 cat >>conftest.
$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18099 $ac_includes_default
18103 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18110 rm -f conftest.
$ac_objext
18111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18112 (eval $ac_compile) 2>conftest.er1
18114 grep -v '^ *+' conftest.er1
>conftest.err
18116 cat conftest.err
>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); } &&
18119 { ac_try
='test -z "$ac_cxx_werror_flag"
18120 || test ! -s conftest.err'
18121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 (eval $ac_try) 2>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; } &&
18126 { ac_try
='test -s conftest.$ac_objext'
18127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18128 (eval $ac_try) 2>&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); }; }; then
18132 ac_hi
=$ac_mid; break
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.
$ac_ext >&5
18137 ac_lo
=`expr $ac_mid + 1`
18138 if test $ac_lo -le $ac_mid; then
18142 ac_mid
=`expr 2 '*' $ac_mid + 1`
18144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.
$ac_ext >&5
18150 cat >conftest.
$ac_ext <<_ACEOF
18153 cat confdefs.h
>>conftest.
$ac_ext
18154 cat >>conftest.
$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18156 $ac_includes_default
18160 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18167 rm -f conftest.
$ac_objext
18168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18169 (eval $ac_compile) 2>conftest.er1
18171 grep -v '^ *+' conftest.er1
>conftest.err
18173 cat conftest.err
>&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try
='test -z "$ac_cxx_werror_flag"
18177 || test ! -s conftest.err'
18178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18179 (eval $ac_try) 2>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); }; } &&
18183 { ac_try
='test -s conftest.$ac_objext'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; }; then
18191 cat >conftest.
$ac_ext <<_ACEOF
18194 cat confdefs.h
>>conftest.
$ac_ext
18195 cat >>conftest.
$ac_ext <<_ACEOF
18196 /* end confdefs.h. */
18197 $ac_includes_default
18201 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18208 rm -f conftest.
$ac_objext
18209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18210 (eval $ac_compile) 2>conftest.er1
18212 grep -v '^ *+' conftest.er1
>conftest.err
18214 cat conftest.err
>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } &&
18217 { ac_try
='test -z "$ac_cxx_werror_flag"
18218 || test ! -s conftest.err'
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); }; } &&
18224 { ac_try
='test -s conftest.$ac_objext'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; }; then
18230 ac_lo
=$ac_mid; break
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.
$ac_ext >&5
18235 ac_hi
=`expr '(' $ac_mid ')' - 1`
18236 if test $ac_mid -le $ac_hi; then
18240 ac_mid
=`expr 2 '*' $ac_mid`
18242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.
$ac_ext >&5
18250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18253 # Binary search between lo and hi bounds.
18254 while test "x$ac_lo" != "x$ac_hi"; do
18255 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18256 cat >conftest.
$ac_ext <<_ACEOF
18259 cat confdefs.h
>>conftest.
$ac_ext
18260 cat >>conftest.
$ac_ext <<_ACEOF
18261 /* end confdefs.h. */
18262 $ac_includes_default
18266 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18273 rm -f conftest.
$ac_objext
18274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18275 (eval $ac_compile) 2>conftest.er1
18277 grep -v '^ *+' conftest.er1
>conftest.err
18279 cat conftest.err
>&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); } &&
18282 { ac_try
='test -z "$ac_cxx_werror_flag"
18283 || test ! -s conftest.err'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; } &&
18289 { ac_try
='test -s conftest.$ac_objext'
18290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18291 (eval $ac_try) 2>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); }; }; then
18297 echo "$as_me: failed program was:" >&5
18298 sed 's/^/| /' conftest.
$ac_ext >&5
18300 ac_lo
=`expr '(' $ac_mid ')' + 1`
18302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18305 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18306 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18307 See \`config.log' for more details." >&5
18308 echo "$as_me: error: cannot compute sizeof (short), 77
18309 See \`config.log' for more details." >&2;}
18310 { (exit 1); exit 1; }; } ;;
18313 if test "$cross_compiling" = yes; then
18314 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18315 See \`config.log' for more details." >&5
18316 echo "$as_me: error: cannot run test program while cross compiling
18317 See \`config.log' for more details." >&2;}
18318 { (exit 1); exit 1; }; }
18320 cat >conftest.
$ac_ext <<_ACEOF
18323 cat confdefs.h
>>conftest.
$ac_ext
18324 cat >>conftest.
$ac_ext <<_ACEOF
18325 /* end confdefs.h. */
18326 $ac_includes_default
18327 long longval () { return (long) (sizeof (short)); }
18328 unsigned long ulongval () { return (long) (sizeof (short)); }
18330 #include <stdlib.h>
18335 FILE *f = fopen ("conftest.val", "w");
18338 if (((long) (sizeof (short))) < 0)
18340 long i = longval ();
18341 if (i != ((long) (sizeof (short))))
18343 fprintf (f, "%ld\n", i);
18347 unsigned long i = ulongval ();
18348 if (i != ((long) (sizeof (short))))
18350 fprintf (f, "%lu\n", i);
18352 exit (ferror (f) || fclose (f) != 0);
18358 rm -f conftest
$ac_exeext
18359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18360 (eval $ac_link) 2>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365 (eval $ac_try) 2>&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); }; }; then
18369 ac_cv_sizeof_short
=`cat conftest.val`
18371 echo "$as_me: program exited with status $ac_status" >&5
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.
$ac_ext >&5
18375 ( exit $ac_status )
18376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18377 See \`config.log' for more details." >&5
18378 echo "$as_me: error: cannot compute sizeof (short), 77
18379 See \`config.log' for more details." >&2;}
18380 { (exit 1); exit 1; }; }
18382 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18387 ac_cv_sizeof_short
=0
18390 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18391 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18392 cat >>confdefs.h
<<_ACEOF
18393 #define SIZEOF_SHORT $ac_cv_sizeof_short
18397 echo "$as_me:$LINENO: checking for void *" >&5
18398 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18399 if test "${ac_cv_type_void_p+set}" = set; then
18400 echo $ECHO_N "(cached) $ECHO_C" >&6
18402 cat >conftest.
$ac_ext <<_ACEOF
18405 cat confdefs.h
>>conftest.
$ac_ext
18406 cat >>conftest.
$ac_ext <<_ACEOF
18407 /* end confdefs.h. */
18408 $ac_includes_default
18414 if (sizeof (void *))
18420 rm -f conftest.
$ac_objext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18422 (eval $ac_compile) 2>conftest.er1
18424 grep -v '^ *+' conftest.er1
>conftest.err
18426 cat conftest.err
>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try
='test -z "$ac_cxx_werror_flag"
18430 || test ! -s conftest.err'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; } &&
18436 { ac_try
='test -s conftest.$ac_objext'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18442 ac_cv_type_void_p
=yes
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.
$ac_ext >&5
18447 ac_cv_type_void_p
=no
18449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18451 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18452 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18454 echo "$as_me:$LINENO: checking size of void *" >&5
18455 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18456 if test "${ac_cv_sizeof_void_p+set}" = set; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 if test "$ac_cv_type_void_p" = yes; then
18460 # The cast to unsigned long works around a bug in the HP C Compiler
18461 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18462 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18463 # This bug is HP SR number 8606223364.
18464 if test "$cross_compiling" = yes; then
18465 # Depending upon the size, compute the lo and hi bounds.
18466 cat >conftest.
$ac_ext <<_ACEOF
18469 cat confdefs.h
>>conftest.
$ac_ext
18470 cat >>conftest.
$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18472 $ac_includes_default
18476 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18483 rm -f conftest.
$ac_objext
18484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18485 (eval $ac_compile) 2>conftest.er1
18487 grep -v '^ *+' conftest.er1
>conftest.err
18489 cat conftest.err
>&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); } &&
18492 { ac_try
='test -z "$ac_cxx_werror_flag"
18493 || test ! -s conftest.err'
18494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495 (eval $ac_try) 2>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); }; } &&
18499 { ac_try
='test -s conftest.$ac_objext'
18500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501 (eval $ac_try) 2>&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; }; then
18507 cat >conftest.
$ac_ext <<_ACEOF
18510 cat confdefs.h
>>conftest.
$ac_ext
18511 cat >>conftest.
$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18513 $ac_includes_default
18517 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18524 rm -f conftest.
$ac_objext
18525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18526 (eval $ac_compile) 2>conftest.er1
18528 grep -v '^ *+' conftest.er1
>conftest.err
18530 cat conftest.err
>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } &&
18533 { ac_try
='test -z "$ac_cxx_werror_flag"
18534 || test ! -s conftest.err'
18535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18536 (eval $ac_try) 2>&5
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); }; } &&
18540 { ac_try
='test -s conftest.$ac_objext'
18541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18542 (eval $ac_try) 2>&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); }; }; then
18546 ac_hi
=$ac_mid; break
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.
$ac_ext >&5
18551 ac_lo
=`expr $ac_mid + 1`
18552 if test $ac_lo -le $ac_mid; then
18556 ac_mid
=`expr 2 '*' $ac_mid + 1`
18558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.
$ac_ext >&5
18564 cat >conftest.
$ac_ext <<_ACEOF
18567 cat confdefs.h
>>conftest.
$ac_ext
18568 cat >>conftest.
$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 $ac_includes_default
18574 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18581 rm -f conftest.
$ac_objext
18582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18583 (eval $ac_compile) 2>conftest.er1
18585 grep -v '^ *+' conftest.er1
>conftest.err
18587 cat conftest.err
>&5
18588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589 (exit $ac_status); } &&
18590 { ac_try
='test -z "$ac_cxx_werror_flag"
18591 || test ! -s conftest.err'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; } &&
18597 { ac_try
='test -s conftest.$ac_objext'
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599 (eval $ac_try) 2>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; }; then
18605 cat >conftest.
$ac_ext <<_ACEOF
18608 cat confdefs.h
>>conftest.
$ac_ext
18609 cat >>conftest.
$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 $ac_includes_default
18615 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18622 rm -f conftest.
$ac_objext
18623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18624 (eval $ac_compile) 2>conftest.er1
18626 grep -v '^ *+' conftest.er1
>conftest.err
18628 cat conftest.err
>&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); } &&
18631 { ac_try
='test -z "$ac_cxx_werror_flag"
18632 || test ! -s conftest.err'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; } &&
18638 { ac_try
='test -s conftest.$ac_objext'
18639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640 (eval $ac_try) 2>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); }; }; then
18644 ac_lo
=$ac_mid; break
18646 echo "$as_me: failed program was:" >&5
18647 sed 's/^/| /' conftest.
$ac_ext >&5
18649 ac_hi
=`expr '(' $ac_mid ')' - 1`
18650 if test $ac_mid -le $ac_hi; then
18654 ac_mid
=`expr 2 '*' $ac_mid`
18656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.
$ac_ext >&5
18664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18667 # Binary search between lo and hi bounds.
18668 while test "x$ac_lo" != "x$ac_hi"; do
18669 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18670 cat >conftest.
$ac_ext <<_ACEOF
18673 cat confdefs.h
>>conftest.
$ac_ext
18674 cat >>conftest.
$ac_ext <<_ACEOF
18675 /* end confdefs.h. */
18676 $ac_includes_default
18680 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18687 rm -f conftest.
$ac_objext
18688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18689 (eval $ac_compile) 2>conftest.er1
18691 grep -v '^ *+' conftest.er1
>conftest.err
18693 cat conftest.err
>&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); } &&
18696 { ac_try
='test -z "$ac_cxx_werror_flag"
18697 || test ! -s conftest.err'
18698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18699 (eval $ac_try) 2>&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); }; } &&
18703 { ac_try
='test -s conftest.$ac_objext'
18704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705 (eval $ac_try) 2>&5
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); }; }; then
18711 echo "$as_me: failed program was:" >&5
18712 sed 's/^/| /' conftest.
$ac_ext >&5
18714 ac_lo
=`expr '(' $ac_mid ')' + 1`
18716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18719 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18720 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18721 See \`config.log' for more details." >&5
18722 echo "$as_me: error: cannot compute sizeof (void *), 77
18723 See \`config.log' for more details." >&2;}
18724 { (exit 1); exit 1; }; } ;;
18727 if test "$cross_compiling" = yes; then
18728 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18729 See \`config.log' for more details." >&5
18730 echo "$as_me: error: cannot run test program while cross compiling
18731 See \`config.log' for more details." >&2;}
18732 { (exit 1); exit 1; }; }
18734 cat >conftest.
$ac_ext <<_ACEOF
18737 cat confdefs.h
>>conftest.
$ac_ext
18738 cat >>conftest.
$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18740 $ac_includes_default
18741 long longval () { return (long) (sizeof (void *)); }
18742 unsigned long ulongval () { return (long) (sizeof (void *)); }
18744 #include <stdlib.h>
18749 FILE *f = fopen ("conftest.val", "w");
18752 if (((long) (sizeof (void *))) < 0)
18754 long i = longval ();
18755 if (i != ((long) (sizeof (void *))))
18757 fprintf (f, "%ld\n", i);
18761 unsigned long i = ulongval ();
18762 if (i != ((long) (sizeof (void *))))
18764 fprintf (f, "%lu\n", i);
18766 exit (ferror (f) || fclose (f) != 0);
18772 rm -f conftest
$ac_exeext
18773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18774 (eval $ac_link) 2>&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; }; then
18783 ac_cv_sizeof_void_p
=`cat conftest.val`
18785 echo "$as_me: program exited with status $ac_status" >&5
18786 echo "$as_me: failed program was:" >&5
18787 sed 's/^/| /' conftest.
$ac_ext >&5
18789 ( exit $ac_status )
18790 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18791 See \`config.log' for more details." >&5
18792 echo "$as_me: error: cannot compute sizeof (void *), 77
18793 See \`config.log' for more details." >&2;}
18794 { (exit 1); exit 1; }; }
18796 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18801 ac_cv_sizeof_void_p
=0
18804 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18805 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18806 cat >>confdefs.h
<<_ACEOF
18807 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18811 echo "$as_me:$LINENO: checking for int" >&5
18812 echo $ECHO_N "checking for int... $ECHO_C" >&6
18813 if test "${ac_cv_type_int+set}" = set; then
18814 echo $ECHO_N "(cached) $ECHO_C" >&6
18816 cat >conftest.
$ac_ext <<_ACEOF
18819 cat confdefs.h
>>conftest.
$ac_ext
18820 cat >>conftest.
$ac_ext <<_ACEOF
18821 /* end confdefs.h. */
18822 $ac_includes_default
18834 rm -f conftest.
$ac_objext
18835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18836 (eval $ac_compile) 2>conftest.er1
18838 grep -v '^ *+' conftest.er1
>conftest.err
18840 cat conftest.err
>&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } &&
18843 { ac_try
='test -z "$ac_cxx_werror_flag"
18844 || test ! -s conftest.err'
18845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18846 (eval $ac_try) 2>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); }; } &&
18850 { ac_try
='test -s conftest.$ac_objext'
18851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18852 (eval $ac_try) 2>&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); }; }; then
18858 echo "$as_me: failed program was:" >&5
18859 sed 's/^/| /' conftest.
$ac_ext >&5
18863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18865 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18866 echo "${ECHO_T}$ac_cv_type_int" >&6
18868 echo "$as_me:$LINENO: checking size of int" >&5
18869 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18870 if test "${ac_cv_sizeof_int+set}" = set; then
18871 echo $ECHO_N "(cached) $ECHO_C" >&6
18873 if test "$ac_cv_type_int" = yes; then
18874 # The cast to unsigned long works around a bug in the HP C Compiler
18875 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18876 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18877 # This bug is HP SR number 8606223364.
18878 if test "$cross_compiling" = yes; then
18879 # Depending upon the size, compute the lo and hi bounds.
18880 cat >conftest.
$ac_ext <<_ACEOF
18883 cat confdefs.h
>>conftest.
$ac_ext
18884 cat >>conftest.
$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18886 $ac_includes_default
18890 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18897 rm -f conftest.
$ac_objext
18898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18899 (eval $ac_compile) 2>conftest.er1
18901 grep -v '^ *+' conftest.er1
>conftest.err
18903 cat conftest.err
>&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); } &&
18906 { ac_try
='test -z "$ac_cxx_werror_flag"
18907 || test ! -s conftest.err'
18908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18909 (eval $ac_try) 2>&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); }; } &&
18913 { ac_try
='test -s conftest.$ac_objext'
18914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18915 (eval $ac_try) 2>&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); }; }; then
18921 cat >conftest.
$ac_ext <<_ACEOF
18924 cat confdefs.h
>>conftest.
$ac_ext
18925 cat >>conftest.
$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 $ac_includes_default
18931 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18938 rm -f conftest.
$ac_objext
18939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18940 (eval $ac_compile) 2>conftest.er1
18942 grep -v '^ *+' conftest.er1
>conftest.err
18944 cat conftest.err
>&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); } &&
18947 { ac_try
='test -z "$ac_cxx_werror_flag"
18948 || test ! -s conftest.err'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; } &&
18954 { ac_try
='test -s conftest.$ac_objext'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; }; then
18960 ac_hi
=$ac_mid; break
18962 echo "$as_me: failed program was:" >&5
18963 sed 's/^/| /' conftest.
$ac_ext >&5
18965 ac_lo
=`expr $ac_mid + 1`
18966 if test $ac_lo -le $ac_mid; then
18970 ac_mid
=`expr 2 '*' $ac_mid + 1`
18972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.
$ac_ext >&5
18978 cat >conftest.
$ac_ext <<_ACEOF
18981 cat confdefs.h
>>conftest.
$ac_ext
18982 cat >>conftest.
$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18984 $ac_includes_default
18988 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18995 rm -f conftest.
$ac_objext
18996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18997 (eval $ac_compile) 2>conftest.er1
18999 grep -v '^ *+' conftest.er1
>conftest.err
19001 cat conftest.err
>&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); } &&
19004 { ac_try
='test -z "$ac_cxx_werror_flag"
19005 || test ! -s conftest.err'
19006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19007 (eval $ac_try) 2>&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }; } &&
19011 { ac_try
='test -s conftest.$ac_objext'
19012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19013 (eval $ac_try) 2>&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; }; then
19019 cat >conftest.
$ac_ext <<_ACEOF
19022 cat confdefs.h
>>conftest.
$ac_ext
19023 cat >>conftest.
$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 $ac_includes_default
19029 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19036 rm -f conftest.
$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038 (eval $ac_compile) 2>conftest.er1
19040 grep -v '^ *+' conftest.er1
>conftest.err
19042 cat conftest.err
>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try
='test -z "$ac_cxx_werror_flag"
19046 || test ! -s conftest.err'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; } &&
19052 { ac_try
='test -s conftest.$ac_objext'
19053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054 (eval $ac_try) 2>&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }; }; then
19058 ac_lo
=$ac_mid; break
19060 echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.
$ac_ext >&5
19063 ac_hi
=`expr '(' $ac_mid ')' - 1`
19064 if test $ac_mid -le $ac_hi; then
19068 ac_mid
=`expr 2 '*' $ac_mid`
19070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.
$ac_ext >&5
19078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19081 # Binary search between lo and hi bounds.
19082 while test "x$ac_lo" != "x$ac_hi"; do
19083 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19084 cat >conftest.
$ac_ext <<_ACEOF
19087 cat confdefs.h
>>conftest.
$ac_ext
19088 cat >>conftest.
$ac_ext <<_ACEOF
19089 /* end confdefs.h. */
19090 $ac_includes_default
19094 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19101 rm -f conftest.
$ac_objext
19102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19103 (eval $ac_compile) 2>conftest.er1
19105 grep -v '^ *+' conftest.er1
>conftest.err
19107 cat conftest.err
>&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); } &&
19110 { ac_try
='test -z "$ac_cxx_werror_flag"
19111 || test ! -s conftest.err'
19112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19113 (eval $ac_try) 2>&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; } &&
19117 { ac_try
='test -s conftest.$ac_objext'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; }; then
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.
$ac_ext >&5
19128 ac_lo
=`expr '(' $ac_mid ')' + 1`
19130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19133 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19134 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19135 See \`config.log' for more details." >&5
19136 echo "$as_me: error: cannot compute sizeof (int), 77
19137 See \`config.log' for more details." >&2;}
19138 { (exit 1); exit 1; }; } ;;
19141 if test "$cross_compiling" = yes; then
19142 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19143 See \`config.log' for more details." >&5
19144 echo "$as_me: error: cannot run test program while cross compiling
19145 See \`config.log' for more details." >&2;}
19146 { (exit 1); exit 1; }; }
19148 cat >conftest.
$ac_ext <<_ACEOF
19151 cat confdefs.h
>>conftest.
$ac_ext
19152 cat >>conftest.
$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154 $ac_includes_default
19155 long longval () { return (long) (sizeof (int)); }
19156 unsigned long ulongval () { return (long) (sizeof (int)); }
19158 #include <stdlib.h>
19163 FILE *f = fopen ("conftest.val", "w");
19166 if (((long) (sizeof (int))) < 0)
19168 long i = longval ();
19169 if (i != ((long) (sizeof (int))))
19171 fprintf (f, "%ld\n", i);
19175 unsigned long i = ulongval ();
19176 if (i != ((long) (sizeof (int))))
19178 fprintf (f, "%lu\n", i);
19180 exit (ferror (f) || fclose (f) != 0);
19186 rm -f conftest
$ac_exeext
19187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19188 (eval $ac_link) 2>&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193 (eval $ac_try) 2>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; }; then
19197 ac_cv_sizeof_int
=`cat conftest.val`
19199 echo "$as_me: program exited with status $ac_status" >&5
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.
$ac_ext >&5
19203 ( exit $ac_status )
19204 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19205 See \`config.log' for more details." >&5
19206 echo "$as_me: error: cannot compute sizeof (int), 77
19207 See \`config.log' for more details." >&2;}
19208 { (exit 1); exit 1; }; }
19210 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19218 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19219 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19220 cat >>confdefs.h
<<_ACEOF
19221 #define SIZEOF_INT $ac_cv_sizeof_int
19225 echo "$as_me:$LINENO: checking for long" >&5
19226 echo $ECHO_N "checking for long... $ECHO_C" >&6
19227 if test "${ac_cv_type_long+set}" = set; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19230 cat >conftest.
$ac_ext <<_ACEOF
19233 cat confdefs.h
>>conftest.
$ac_ext
19234 cat >>conftest.
$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 $ac_includes_default
19248 rm -f conftest.
$ac_objext
19249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19250 (eval $ac_compile) 2>conftest.er1
19252 grep -v '^ *+' conftest.er1
>conftest.err
19254 cat conftest.err
>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } &&
19257 { ac_try
='test -z "$ac_cxx_werror_flag"
19258 || test ! -s conftest.err'
19259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19260 (eval $ac_try) 2>&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); }; } &&
19264 { ac_try
='test -s conftest.$ac_objext'
19265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19266 (eval $ac_try) 2>&5
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); }; }; then
19270 ac_cv_type_long
=yes
19272 echo "$as_me: failed program was:" >&5
19273 sed 's/^/| /' conftest.
$ac_ext >&5
19277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19279 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19280 echo "${ECHO_T}$ac_cv_type_long" >&6
19282 echo "$as_me:$LINENO: checking size of long" >&5
19283 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19284 if test "${ac_cv_sizeof_long+set}" = set; then
19285 echo $ECHO_N "(cached) $ECHO_C" >&6
19287 if test "$ac_cv_type_long" = yes; then
19288 # The cast to unsigned long works around a bug in the HP C Compiler
19289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19291 # This bug is HP SR number 8606223364.
19292 if test "$cross_compiling" = yes; then
19293 # Depending upon the size, compute the lo and hi bounds.
19294 cat >conftest.
$ac_ext <<_ACEOF
19297 cat confdefs.h
>>conftest.
$ac_ext
19298 cat >>conftest.
$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 $ac_includes_default
19304 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19311 rm -f conftest.
$ac_objext
19312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19313 (eval $ac_compile) 2>conftest.er1
19315 grep -v '^ *+' conftest.er1
>conftest.err
19317 cat conftest.err
>&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } &&
19320 { ac_try
='test -z "$ac_cxx_werror_flag"
19321 || test ! -s conftest.err'
19322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323 (eval $ac_try) 2>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); }; } &&
19327 { ac_try
='test -s conftest.$ac_objext'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; }; then
19335 cat >conftest.
$ac_ext <<_ACEOF
19338 cat confdefs.h
>>conftest.
$ac_ext
19339 cat >>conftest.
$ac_ext <<_ACEOF
19340 /* end confdefs.h. */
19341 $ac_includes_default
19345 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19352 rm -f conftest.
$ac_objext
19353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19354 (eval $ac_compile) 2>conftest.er1
19356 grep -v '^ *+' conftest.er1
>conftest.err
19358 cat conftest.err
>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try
='test -z "$ac_cxx_werror_flag"
19362 || test ! -s conftest.err'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; } &&
19368 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19374 ac_hi
=$ac_mid; break
19376 echo "$as_me: failed program was:" >&5
19377 sed 's/^/| /' conftest.
$ac_ext >&5
19379 ac_lo
=`expr $ac_mid + 1`
19380 if test $ac_lo -le $ac_mid; then
19384 ac_mid
=`expr 2 '*' $ac_mid + 1`
19386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.
$ac_ext >&5
19392 cat >conftest.
$ac_ext <<_ACEOF
19395 cat confdefs.h
>>conftest.
$ac_ext
19396 cat >>conftest.
$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 $ac_includes_default
19402 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19409 rm -f conftest.
$ac_objext
19410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19411 (eval $ac_compile) 2>conftest.er1
19413 grep -v '^ *+' conftest.er1
>conftest.err
19415 cat conftest.err
>&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); } &&
19418 { ac_try
='test -z "$ac_cxx_werror_flag"
19419 || test ! -s conftest.err'
19420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421 (eval $ac_try) 2>&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; } &&
19425 { ac_try
='test -s conftest.$ac_objext'
19426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19427 (eval $ac_try) 2>&5
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430 (exit $ac_status); }; }; then
19433 cat >conftest.
$ac_ext <<_ACEOF
19436 cat confdefs.h
>>conftest.
$ac_ext
19437 cat >>conftest.
$ac_ext <<_ACEOF
19438 /* end confdefs.h. */
19439 $ac_includes_default
19443 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19450 rm -f conftest.
$ac_objext
19451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19452 (eval $ac_compile) 2>conftest.er1
19454 grep -v '^ *+' conftest.er1
>conftest.err
19456 cat conftest.err
>&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); } &&
19459 { ac_try
='test -z "$ac_cxx_werror_flag"
19460 || test ! -s conftest.err'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; } &&
19466 { ac_try
='test -s conftest.$ac_objext'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; }; then
19472 ac_lo
=$ac_mid; break
19474 echo "$as_me: failed program was:" >&5
19475 sed 's/^/| /' conftest.
$ac_ext >&5
19477 ac_hi
=`expr '(' $ac_mid ')' - 1`
19478 if test $ac_mid -le $ac_hi; then
19482 ac_mid
=`expr 2 '*' $ac_mid`
19484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19487 echo "$as_me: failed program was:" >&5
19488 sed 's/^/| /' conftest.
$ac_ext >&5
19492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19495 # Binary search between lo and hi bounds.
19496 while test "x$ac_lo" != "x$ac_hi"; do
19497 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19498 cat >conftest.
$ac_ext <<_ACEOF
19501 cat confdefs.h
>>conftest.
$ac_ext
19502 cat >>conftest.
$ac_ext <<_ACEOF
19503 /* end confdefs.h. */
19504 $ac_includes_default
19508 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19515 rm -f conftest.
$ac_objext
19516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19517 (eval $ac_compile) 2>conftest.er1
19519 grep -v '^ *+' conftest.er1
>conftest.err
19521 cat conftest.err
>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } &&
19524 { ac_try
='test -z "$ac_cxx_werror_flag"
19525 || test ! -s conftest.err'
19526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19527 (eval $ac_try) 2>&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); }; } &&
19531 { ac_try
='test -s conftest.$ac_objext'
19532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19533 (eval $ac_try) 2>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); }; }; then
19539 echo "$as_me: failed program was:" >&5
19540 sed 's/^/| /' conftest.
$ac_ext >&5
19542 ac_lo
=`expr '(' $ac_mid ')' + 1`
19544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19547 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19548 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19549 See \`config.log' for more details." >&5
19550 echo "$as_me: error: cannot compute sizeof (long), 77
19551 See \`config.log' for more details." >&2;}
19552 { (exit 1); exit 1; }; } ;;
19555 if test "$cross_compiling" = yes; then
19556 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19557 See \`config.log' for more details." >&5
19558 echo "$as_me: error: cannot run test program while cross compiling
19559 See \`config.log' for more details." >&2;}
19560 { (exit 1); exit 1; }; }
19562 cat >conftest.
$ac_ext <<_ACEOF
19565 cat confdefs.h
>>conftest.
$ac_ext
19566 cat >>conftest.
$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 $ac_includes_default
19569 long longval () { return (long) (sizeof (long)); }
19570 unsigned long ulongval () { return (long) (sizeof (long)); }
19572 #include <stdlib.h>
19577 FILE *f = fopen ("conftest.val", "w");
19580 if (((long) (sizeof (long))) < 0)
19582 long i = longval ();
19583 if (i != ((long) (sizeof (long))))
19585 fprintf (f, "%ld\n", i);
19589 unsigned long i = ulongval ();
19590 if (i != ((long) (sizeof (long))))
19592 fprintf (f, "%lu\n", i);
19594 exit (ferror (f) || fclose (f) != 0);
19600 rm -f conftest
$ac_exeext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19602 (eval $ac_link) 2>&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; }; then
19611 ac_cv_sizeof_long
=`cat conftest.val`
19613 echo "$as_me: program exited with status $ac_status" >&5
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.
$ac_ext >&5
19617 ( exit $ac_status )
19618 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19619 See \`config.log' for more details." >&5
19620 echo "$as_me: error: cannot compute sizeof (long), 77
19621 See \`config.log' for more details." >&2;}
19622 { (exit 1); exit 1; }; }
19624 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19629 ac_cv_sizeof_long
=0
19632 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19633 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19634 cat >>confdefs.h
<<_ACEOF
19635 #define SIZEOF_LONG $ac_cv_sizeof_long
19639 echo "$as_me:$LINENO: checking for size_t" >&5
19640 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19641 if test "${ac_cv_type_size_t+set}" = set; then
19642 echo $ECHO_N "(cached) $ECHO_C" >&6
19644 cat >conftest.
$ac_ext <<_ACEOF
19647 cat confdefs.h
>>conftest.
$ac_ext
19648 cat >>conftest.
$ac_ext <<_ACEOF
19649 /* end confdefs.h. */
19650 $ac_includes_default
19656 if (sizeof (size_t))
19662 rm -f conftest.
$ac_objext
19663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19664 (eval $ac_compile) 2>conftest.er1
19666 grep -v '^ *+' conftest.er1
>conftest.err
19668 cat conftest.err
>&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); } &&
19671 { ac_try
='test -z "$ac_cxx_werror_flag"
19672 || test ! -s conftest.err'
19673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674 (eval $ac_try) 2>&5
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); }; } &&
19678 { ac_try
='test -s conftest.$ac_objext'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; }; then
19684 ac_cv_type_size_t
=yes
19686 echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.
$ac_ext >&5
19689 ac_cv_type_size_t
=no
19691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19693 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19694 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19696 echo "$as_me:$LINENO: checking size of size_t" >&5
19697 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19698 if test "${ac_cv_sizeof_size_t+set}" = set; then
19699 echo $ECHO_N "(cached) $ECHO_C" >&6
19701 if test "$ac_cv_type_size_t" = yes; then
19702 # The cast to unsigned long works around a bug in the HP C Compiler
19703 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19704 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19705 # This bug is HP SR number 8606223364.
19706 if test "$cross_compiling" = yes; then
19707 # Depending upon the size, compute the lo and hi bounds.
19708 cat >conftest.
$ac_ext <<_ACEOF
19711 cat confdefs.h
>>conftest.
$ac_ext
19712 cat >>conftest.
$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 $ac_includes_default
19718 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19725 rm -f conftest.
$ac_objext
19726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19727 (eval $ac_compile) 2>conftest.er1
19729 grep -v '^ *+' conftest.er1
>conftest.err
19731 cat conftest.err
>&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } &&
19734 { ac_try
='test -z "$ac_cxx_werror_flag"
19735 || test ! -s conftest.err'
19736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19737 (eval $ac_try) 2>&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); }; } &&
19741 { ac_try
='test -s conftest.$ac_objext'
19742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743 (eval $ac_try) 2>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); }; }; then
19749 cat >conftest.
$ac_ext <<_ACEOF
19752 cat confdefs.h
>>conftest.
$ac_ext
19753 cat >>conftest.
$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 $ac_includes_default
19759 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19766 rm -f conftest.
$ac_objext
19767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19768 (eval $ac_compile) 2>conftest.er1
19770 grep -v '^ *+' conftest.er1
>conftest.err
19772 cat conftest.err
>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } &&
19775 { ac_try
='test -z "$ac_cxx_werror_flag"
19776 || test ! -s conftest.err'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; } &&
19782 { ac_try
='test -s conftest.$ac_objext'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; }; then
19788 ac_hi
=$ac_mid; break
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.
$ac_ext >&5
19793 ac_lo
=`expr $ac_mid + 1`
19794 if test $ac_lo -le $ac_mid; then
19798 ac_mid
=`expr 2 '*' $ac_mid + 1`
19800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19803 echo "$as_me: failed program was:" >&5
19804 sed 's/^/| /' conftest.
$ac_ext >&5
19806 cat >conftest.
$ac_ext <<_ACEOF
19809 cat confdefs.h
>>conftest.
$ac_ext
19810 cat >>conftest.
$ac_ext <<_ACEOF
19811 /* end confdefs.h. */
19812 $ac_includes_default
19816 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19823 rm -f conftest.
$ac_objext
19824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19825 (eval $ac_compile) 2>conftest.er1
19827 grep -v '^ *+' conftest.er1
>conftest.err
19829 cat conftest.err
>&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } &&
19832 { ac_try
='test -z "$ac_cxx_werror_flag"
19833 || test ! -s conftest.err'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; } &&
19839 { ac_try
='test -s conftest.$ac_objext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19847 cat >conftest.
$ac_ext <<_ACEOF
19850 cat confdefs.h
>>conftest.
$ac_ext
19851 cat >>conftest.
$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19853 $ac_includes_default
19857 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19864 rm -f conftest.
$ac_objext
19865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19866 (eval $ac_compile) 2>conftest.er1
19868 grep -v '^ *+' conftest.er1
>conftest.err
19870 cat conftest.err
>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } &&
19873 { ac_try
='test -z "$ac_cxx_werror_flag"
19874 || test ! -s conftest.err'
19875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19876 (eval $ac_try) 2>&5
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); }; } &&
19880 { ac_try
='test -s conftest.$ac_objext'
19881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19882 (eval $ac_try) 2>&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); }; }; then
19886 ac_lo
=$ac_mid; break
19888 echo "$as_me: failed program was:" >&5
19889 sed 's/^/| /' conftest.
$ac_ext >&5
19891 ac_hi
=`expr '(' $ac_mid ')' - 1`
19892 if test $ac_mid -le $ac_hi; then
19896 ac_mid
=`expr 2 '*' $ac_mid`
19898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19901 echo "$as_me: failed program was:" >&5
19902 sed 's/^/| /' conftest.
$ac_ext >&5
19906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19909 # Binary search between lo and hi bounds.
19910 while test "x$ac_lo" != "x$ac_hi"; do
19911 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19912 cat >conftest.
$ac_ext <<_ACEOF
19915 cat confdefs.h
>>conftest.
$ac_ext
19916 cat >>conftest.
$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19918 $ac_includes_default
19922 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19929 rm -f conftest.
$ac_objext
19930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19931 (eval $ac_compile) 2>conftest.er1
19933 grep -v '^ *+' conftest.er1
>conftest.err
19935 cat conftest.err
>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } &&
19938 { ac_try
='test -z "$ac_cxx_werror_flag"
19939 || test ! -s conftest.err'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try
='test -s conftest.$ac_objext'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.
$ac_ext >&5
19956 ac_lo
=`expr '(' $ac_mid ')' + 1`
19958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19961 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19962 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19963 See \`config.log' for more details." >&5
19964 echo "$as_me: error: cannot compute sizeof (size_t), 77
19965 See \`config.log' for more details." >&2;}
19966 { (exit 1); exit 1; }; } ;;
19969 if test "$cross_compiling" = yes; then
19970 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19971 See \`config.log' for more details." >&5
19972 echo "$as_me: error: cannot run test program while cross compiling
19973 See \`config.log' for more details." >&2;}
19974 { (exit 1); exit 1; }; }
19976 cat >conftest.
$ac_ext <<_ACEOF
19979 cat confdefs.h
>>conftest.
$ac_ext
19980 cat >>conftest.
$ac_ext <<_ACEOF
19981 /* end confdefs.h. */
19982 $ac_includes_default
19983 long longval () { return (long) (sizeof (size_t)); }
19984 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19986 #include <stdlib.h>
19991 FILE *f = fopen ("conftest.val", "w");
19994 if (((long) (sizeof (size_t))) < 0)
19996 long i = longval ();
19997 if (i != ((long) (sizeof (size_t))))
19999 fprintf (f, "%ld\n", i);
20003 unsigned long i = ulongval ();
20004 if (i != ((long) (sizeof (size_t))))
20006 fprintf (f, "%lu\n", i);
20008 exit (ferror (f) || fclose (f) != 0);
20014 rm -f conftest
$ac_exeext
20015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20016 (eval $ac_link) 2>&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20021 (eval $ac_try) 2>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); }; }; then
20025 ac_cv_sizeof_size_t
=`cat conftest.val`
20027 echo "$as_me: program exited with status $ac_status" >&5
20028 echo "$as_me: failed program was:" >&5
20029 sed 's/^/| /' conftest.
$ac_ext >&5
20031 ( exit $ac_status )
20032 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20033 See \`config.log' for more details." >&5
20034 echo "$as_me: error: cannot compute sizeof (size_t), 77
20035 See \`config.log' for more details." >&2;}
20036 { (exit 1); exit 1; }; }
20038 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20043 ac_cv_sizeof_size_t
=0
20046 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20047 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20048 cat >>confdefs.h
<<_ACEOF
20049 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20056 echo "$as_me:$LINENO: checking for long long" >&5
20057 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20058 if test "${ac_cv_type_long_long+set}" = set; then
20059 echo $ECHO_N "(cached) $ECHO_C" >&6
20061 cat >conftest.
$ac_ext <<_ACEOF
20064 cat confdefs.h
>>conftest.
$ac_ext
20065 cat >>conftest.
$ac_ext <<_ACEOF
20066 /* end confdefs.h. */
20067 $ac_includes_default
20071 if ((long long *) 0)
20073 if (sizeof (long long))
20079 rm -f conftest.
$ac_objext
20080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20081 (eval $ac_compile) 2>conftest.er1
20083 grep -v '^ *+' conftest.er1
>conftest.err
20085 cat conftest.err
>&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); } &&
20088 { ac_try
='test -z "$ac_cxx_werror_flag"
20089 || test ! -s conftest.err'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; } &&
20095 { ac_try
='test -s conftest.$ac_objext'
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; }; then
20101 ac_cv_type_long_long
=yes
20103 echo "$as_me: failed program was:" >&5
20104 sed 's/^/| /' conftest.
$ac_ext >&5
20106 ac_cv_type_long_long
=no
20108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20110 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20111 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20113 echo "$as_me:$LINENO: checking size of long long" >&5
20114 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20115 if test "${ac_cv_sizeof_long_long+set}" = set; then
20116 echo $ECHO_N "(cached) $ECHO_C" >&6
20118 if test "$ac_cv_type_long_long" = yes; then
20119 # The cast to unsigned long works around a bug in the HP C Compiler
20120 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20121 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20122 # This bug is HP SR number 8606223364.
20123 if test "$cross_compiling" = yes; then
20124 # Depending upon the size, compute the lo and hi bounds.
20125 cat >conftest.
$ac_ext <<_ACEOF
20128 cat confdefs.h
>>conftest.
$ac_ext
20129 cat >>conftest.
$ac_ext <<_ACEOF
20130 /* end confdefs.h. */
20131 $ac_includes_default
20135 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20142 rm -f conftest.
$ac_objext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20144 (eval $ac_compile) 2>conftest.er1
20146 grep -v '^ *+' conftest.er1
>conftest.err
20148 cat conftest.err
>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try
='test -z "$ac_cxx_werror_flag"
20152 || test ! -s conftest.err'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; } &&
20158 { ac_try
='test -s conftest.$ac_objext'
20159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20160 (eval $ac_try) 2>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20166 cat >conftest.
$ac_ext <<_ACEOF
20169 cat confdefs.h
>>conftest.
$ac_ext
20170 cat >>conftest.
$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20172 $ac_includes_default
20176 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20183 rm -f conftest.
$ac_objext
20184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20185 (eval $ac_compile) 2>conftest.er1
20187 grep -v '^ *+' conftest.er1
>conftest.err
20189 cat conftest.err
>&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); } &&
20192 { ac_try
='test -z "$ac_cxx_werror_flag"
20193 || test ! -s conftest.err'
20194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20195 (eval $ac_try) 2>&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); }; } &&
20199 { ac_try
='test -s conftest.$ac_objext'
20200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20201 (eval $ac_try) 2>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); }; }; then
20205 ac_hi
=$ac_mid; break
20207 echo "$as_me: failed program was:" >&5
20208 sed 's/^/| /' conftest.
$ac_ext >&5
20210 ac_lo
=`expr $ac_mid + 1`
20211 if test $ac_lo -le $ac_mid; then
20215 ac_mid
=`expr 2 '*' $ac_mid + 1`
20217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20220 echo "$as_me: failed program was:" >&5
20221 sed 's/^/| /' conftest.
$ac_ext >&5
20223 cat >conftest.
$ac_ext <<_ACEOF
20226 cat confdefs.h
>>conftest.
$ac_ext
20227 cat >>conftest.
$ac_ext <<_ACEOF
20228 /* end confdefs.h. */
20229 $ac_includes_default
20233 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20240 rm -f conftest.
$ac_objext
20241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20242 (eval $ac_compile) 2>conftest.er1
20244 grep -v '^ *+' conftest.er1
>conftest.err
20246 cat conftest.err
>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } &&
20249 { ac_try
='test -z "$ac_cxx_werror_flag"
20250 || test ! -s conftest.err'
20251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20252 (eval $ac_try) 2>&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); }; } &&
20256 { ac_try
='test -s conftest.$ac_objext'
20257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20258 (eval $ac_try) 2>&5
20260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261 (exit $ac_status); }; }; then
20264 cat >conftest.
$ac_ext <<_ACEOF
20267 cat confdefs.h
>>conftest.
$ac_ext
20268 cat >>conftest.
$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 $ac_includes_default
20274 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20281 rm -f conftest.
$ac_objext
20282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20283 (eval $ac_compile) 2>conftest.er1
20285 grep -v '^ *+' conftest.er1
>conftest.err
20287 cat conftest.err
>&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } &&
20290 { ac_try
='test -z "$ac_cxx_werror_flag"
20291 || test ! -s conftest.err'
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); }; } &&
20297 { ac_try
='test -s conftest.$ac_objext'
20298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299 (eval $ac_try) 2>&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; }; then
20303 ac_lo
=$ac_mid; break
20305 echo "$as_me: failed program was:" >&5
20306 sed 's/^/| /' conftest.
$ac_ext >&5
20308 ac_hi
=`expr '(' $ac_mid ')' - 1`
20309 if test $ac_mid -le $ac_hi; then
20313 ac_mid
=`expr 2 '*' $ac_mid`
20315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20318 echo "$as_me: failed program was:" >&5
20319 sed 's/^/| /' conftest.
$ac_ext >&5
20323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20326 # Binary search between lo and hi bounds.
20327 while test "x$ac_lo" != "x$ac_hi"; do
20328 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20329 cat >conftest.
$ac_ext <<_ACEOF
20332 cat confdefs.h
>>conftest.
$ac_ext
20333 cat >>conftest.
$ac_ext <<_ACEOF
20334 /* end confdefs.h. */
20335 $ac_includes_default
20339 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20346 rm -f conftest.
$ac_objext
20347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20348 (eval $ac_compile) 2>conftest.er1
20350 grep -v '^ *+' conftest.er1
>conftest.err
20352 cat conftest.err
>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try
='test -z "$ac_cxx_werror_flag"
20356 || test ! -s conftest.err'
20357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20358 (eval $ac_try) 2>&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); }; } &&
20362 { ac_try
='test -s conftest.$ac_objext'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; }; then
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.
$ac_ext >&5
20373 ac_lo
=`expr '(' $ac_mid ')' + 1`
20375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20378 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20379 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20380 See \`config.log' for more details." >&5
20381 echo "$as_me: error: cannot compute sizeof (long long), 77
20382 See \`config.log' for more details." >&2;}
20383 { (exit 1); exit 1; }; } ;;
20386 if test "$cross_compiling" = yes; then
20387 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20388 See \`config.log' for more details." >&5
20389 echo "$as_me: error: cannot run test program while cross compiling
20390 See \`config.log' for more details." >&2;}
20391 { (exit 1); exit 1; }; }
20393 cat >conftest.
$ac_ext <<_ACEOF
20396 cat confdefs.h
>>conftest.
$ac_ext
20397 cat >>conftest.
$ac_ext <<_ACEOF
20398 /* end confdefs.h. */
20399 $ac_includes_default
20400 long longval () { return (long) (sizeof (long long)); }
20401 unsigned long ulongval () { return (long) (sizeof (long long)); }
20403 #include <stdlib.h>
20408 FILE *f = fopen ("conftest.val", "w");
20411 if (((long) (sizeof (long long))) < 0)
20413 long i = longval ();
20414 if (i != ((long) (sizeof (long long))))
20416 fprintf (f, "%ld\n", i);
20420 unsigned long i = ulongval ();
20421 if (i != ((long) (sizeof (long long))))
20423 fprintf (f, "%lu\n", i);
20425 exit (ferror (f) || fclose (f) != 0);
20431 rm -f conftest
$ac_exeext
20432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20433 (eval $ac_link) 2>&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; }; then
20442 ac_cv_sizeof_long_long
=`cat conftest.val`
20444 echo "$as_me: program exited with status $ac_status" >&5
20445 echo "$as_me: failed program was:" >&5
20446 sed 's/^/| /' conftest.
$ac_ext >&5
20448 ( exit $ac_status )
20449 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20450 See \`config.log' for more details." >&5
20451 echo "$as_me: error: cannot compute sizeof (long long), 77
20452 See \`config.log' for more details." >&2;}
20453 { (exit 1); exit 1; }; }
20455 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20460 ac_cv_sizeof_long_long
=0
20463 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20464 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20465 cat >>confdefs.h
<<_ACEOF
20466 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20472 echo "$as_me:$LINENO: checking for long long" >&5
20473 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20474 if test "${ac_cv_type_long_long+set}" = set; then
20475 echo $ECHO_N "(cached) $ECHO_C" >&6
20477 cat >conftest.
$ac_ext <<_ACEOF
20480 cat confdefs.h
>>conftest.
$ac_ext
20481 cat >>conftest.
$ac_ext <<_ACEOF
20482 /* end confdefs.h. */
20483 $ac_includes_default
20487 if ((long long *) 0)
20489 if (sizeof (long long))
20495 rm -f conftest.
$ac_objext
20496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20497 (eval $ac_compile) 2>conftest.er1
20499 grep -v '^ *+' conftest.er1
>conftest.err
20501 cat conftest.err
>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } &&
20504 { ac_try
='test -z "$ac_cxx_werror_flag"
20505 || test ! -s conftest.err'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; } &&
20511 { ac_try
='test -s conftest.$ac_objext'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 ac_cv_type_long_long
=yes
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.
$ac_ext >&5
20522 ac_cv_type_long_long
=no
20524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20526 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20527 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20529 echo "$as_me:$LINENO: checking size of long long" >&5
20530 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20531 if test "${ac_cv_sizeof_long_long+set}" = set; then
20532 echo $ECHO_N "(cached) $ECHO_C" >&6
20534 if test "$ac_cv_type_long_long" = yes; then
20535 # The cast to unsigned long works around a bug in the HP C Compiler
20536 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20537 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20538 # This bug is HP SR number 8606223364.
20539 if test "$cross_compiling" = yes; then
20540 # Depending upon the size, compute the lo and hi bounds.
20541 cat >conftest.
$ac_ext <<_ACEOF
20544 cat confdefs.h
>>conftest.
$ac_ext
20545 cat >>conftest.
$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 $ac_includes_default
20551 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20558 rm -f conftest.
$ac_objext
20559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20560 (eval $ac_compile) 2>conftest.er1
20562 grep -v '^ *+' conftest.er1
>conftest.err
20564 cat conftest.err
>&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); } &&
20567 { ac_try
='test -z "$ac_cxx_werror_flag"
20568 || test ! -s conftest.err'
20569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20570 (eval $ac_try) 2>&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); }; } &&
20574 { ac_try
='test -s conftest.$ac_objext'
20575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20576 (eval $ac_try) 2>&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); }; }; then
20582 cat >conftest.
$ac_ext <<_ACEOF
20585 cat confdefs.h
>>conftest.
$ac_ext
20586 cat >>conftest.
$ac_ext <<_ACEOF
20587 /* end confdefs.h. */
20588 $ac_includes_default
20592 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20599 rm -f conftest.
$ac_objext
20600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20601 (eval $ac_compile) 2>conftest.er1
20603 grep -v '^ *+' conftest.er1
>conftest.err
20605 cat conftest.err
>&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } &&
20608 { ac_try
='test -z "$ac_cxx_werror_flag"
20609 || test ! -s conftest.err'
20610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20611 (eval $ac_try) 2>&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); }; } &&
20615 { ac_try
='test -s conftest.$ac_objext'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; }; then
20621 ac_hi
=$ac_mid; break
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.
$ac_ext >&5
20626 ac_lo
=`expr $ac_mid + 1`
20627 if test $ac_lo -le $ac_mid; then
20631 ac_mid
=`expr 2 '*' $ac_mid + 1`
20633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20636 echo "$as_me: failed program was:" >&5
20637 sed 's/^/| /' conftest.
$ac_ext >&5
20639 cat >conftest.
$ac_ext <<_ACEOF
20642 cat confdefs.h
>>conftest.
$ac_ext
20643 cat >>conftest.
$ac_ext <<_ACEOF
20644 /* end confdefs.h. */
20645 $ac_includes_default
20649 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20656 rm -f conftest.
$ac_objext
20657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20658 (eval $ac_compile) 2>conftest.er1
20660 grep -v '^ *+' conftest.er1
>conftest.err
20662 cat conftest.err
>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } &&
20665 { ac_try
='test -z "$ac_cxx_werror_flag"
20666 || test ! -s conftest.err'
20667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20668 (eval $ac_try) 2>&5
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); }; } &&
20672 { ac_try
='test -s conftest.$ac_objext'
20673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20674 (eval $ac_try) 2>&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); }; }; then
20680 cat >conftest.
$ac_ext <<_ACEOF
20683 cat confdefs.h
>>conftest.
$ac_ext
20684 cat >>conftest.
$ac_ext <<_ACEOF
20685 /* end confdefs.h. */
20686 $ac_includes_default
20690 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20697 rm -f conftest.
$ac_objext
20698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20699 (eval $ac_compile) 2>conftest.er1
20701 grep -v '^ *+' conftest.er1
>conftest.err
20703 cat conftest.err
>&5
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); } &&
20706 { ac_try
='test -z "$ac_cxx_werror_flag"
20707 || test ! -s conftest.err'
20708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20709 (eval $ac_try) 2>&5
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); }; } &&
20713 { ac_try
='test -s conftest.$ac_objext'
20714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20715 (eval $ac_try) 2>&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; }; then
20719 ac_lo
=$ac_mid; break
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.
$ac_ext >&5
20724 ac_hi
=`expr '(' $ac_mid ')' - 1`
20725 if test $ac_mid -le $ac_hi; then
20729 ac_mid
=`expr 2 '*' $ac_mid`
20731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.
$ac_ext >&5
20739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20742 # Binary search between lo and hi bounds.
20743 while test "x$ac_lo" != "x$ac_hi"; do
20744 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20745 cat >conftest.
$ac_ext <<_ACEOF
20748 cat confdefs.h
>>conftest.
$ac_ext
20749 cat >>conftest.
$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20755 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20762 rm -f conftest.
$ac_objext
20763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20764 (eval $ac_compile) 2>conftest.er1
20766 grep -v '^ *+' conftest.er1
>conftest.err
20768 cat conftest.err
>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } &&
20771 { ac_try
='test -z "$ac_cxx_werror_flag"
20772 || test ! -s conftest.err'
20773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try
='test -s conftest.$ac_objext'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; }; then
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.
$ac_ext >&5
20789 ac_lo
=`expr '(' $ac_mid ')' + 1`
20791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20794 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20795 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20796 See \`config.log' for more details." >&5
20797 echo "$as_me: error: cannot compute sizeof (long long), 77
20798 See \`config.log' for more details." >&2;}
20799 { (exit 1); exit 1; }; } ;;
20802 if test "$cross_compiling" = yes; then
20803 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20804 See \`config.log' for more details." >&5
20805 echo "$as_me: error: cannot run test program while cross compiling
20806 See \`config.log' for more details." >&2;}
20807 { (exit 1); exit 1; }; }
20809 cat >conftest.
$ac_ext <<_ACEOF
20812 cat confdefs.h
>>conftest.
$ac_ext
20813 cat >>conftest.
$ac_ext <<_ACEOF
20814 /* end confdefs.h. */
20815 $ac_includes_default
20816 long longval () { return (long) (sizeof (long long)); }
20817 unsigned long ulongval () { return (long) (sizeof (long long)); }
20819 #include <stdlib.h>
20824 FILE *f = fopen ("conftest.val", "w");
20827 if (((long) (sizeof (long long))) < 0)
20829 long i = longval ();
20830 if (i != ((long) (sizeof (long long))))
20832 fprintf (f, "%ld\n", i);
20836 unsigned long i = ulongval ();
20837 if (i != ((long) (sizeof (long long))))
20839 fprintf (f, "%lu\n", i);
20841 exit (ferror (f) || fclose (f) != 0);
20847 rm -f conftest
$ac_exeext
20848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20849 (eval $ac_link) 2>&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854 (eval $ac_try) 2>&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); }; }; then
20858 ac_cv_sizeof_long_long
=`cat conftest.val`
20860 echo "$as_me: program exited with status $ac_status" >&5
20861 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.
$ac_ext >&5
20864 ( exit $ac_status )
20865 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20866 See \`config.log' for more details." >&5
20867 echo "$as_me: error: cannot compute sizeof (long long), 77
20868 See \`config.log' for more details." >&2;}
20869 { (exit 1); exit 1; }; }
20871 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20876 ac_cv_sizeof_long_long
=0
20879 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20880 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20881 cat >>confdefs.h
<<_ACEOF
20882 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20886 if test "$ac_cv_sizeof_long_long" != "0"; then
20887 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20891 echo "$as_me:$LINENO: checking for long long" >&5
20892 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20893 if test "${ac_cv_type_long_long+set}" = set; then
20894 echo $ECHO_N "(cached) $ECHO_C" >&6
20896 cat >conftest.
$ac_ext <<_ACEOF
20899 cat confdefs.h
>>conftest.
$ac_ext
20900 cat >>conftest.
$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20902 $ac_includes_default
20906 if ((long long *) 0)
20908 if (sizeof (long long))
20914 rm -f conftest.
$ac_objext
20915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20916 (eval $ac_compile) 2>conftest.er1
20918 grep -v '^ *+' conftest.er1
>conftest.err
20920 cat conftest.err
>&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } &&
20923 { ac_try
='test -z "$ac_cxx_werror_flag"
20924 || test ! -s conftest.err'
20925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20926 (eval $ac_try) 2>&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); }; } &&
20930 { ac_try
='test -s conftest.$ac_objext'
20931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20932 (eval $ac_try) 2>&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); }; }; then
20936 ac_cv_type_long_long
=yes
20938 echo "$as_me: failed program was:" >&5
20939 sed 's/^/| /' conftest.
$ac_ext >&5
20941 ac_cv_type_long_long
=no
20943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20945 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20946 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20948 echo "$as_me:$LINENO: checking size of long long" >&5
20949 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20950 if test "${ac_cv_sizeof_long_long+set}" = set; then
20951 echo $ECHO_N "(cached) $ECHO_C" >&6
20953 if test "$ac_cv_type_long_long" = yes; then
20954 # The cast to unsigned long works around a bug in the HP C Compiler
20955 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20956 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20957 # This bug is HP SR number 8606223364.
20958 if test "$cross_compiling" = yes; then
20959 # Depending upon the size, compute the lo and hi bounds.
20960 cat >conftest.
$ac_ext <<_ACEOF
20963 cat confdefs.h
>>conftest.
$ac_ext
20964 cat >>conftest.
$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20966 $ac_includes_default
20970 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20977 rm -f conftest.
$ac_objext
20978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20979 (eval $ac_compile) 2>conftest.er1
20981 grep -v '^ *+' conftest.er1
>conftest.err
20983 cat conftest.err
>&5
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); } &&
20986 { ac_try
='test -z "$ac_cxx_werror_flag"
20987 || test ! -s conftest.err'
20988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20989 (eval $ac_try) 2>&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); }; } &&
20993 { ac_try
='test -s conftest.$ac_objext'
20994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20995 (eval $ac_try) 2>&5
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); }; }; then
21001 cat >conftest.
$ac_ext <<_ACEOF
21004 cat confdefs.h
>>conftest.
$ac_ext
21005 cat >>conftest.
$ac_ext <<_ACEOF
21006 /* end confdefs.h. */
21007 $ac_includes_default
21011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21018 rm -f conftest.
$ac_objext
21019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21020 (eval $ac_compile) 2>conftest.er1
21022 grep -v '^ *+' conftest.er1
>conftest.err
21024 cat conftest.err
>&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); } &&
21027 { ac_try
='test -z "$ac_cxx_werror_flag"
21028 || test ! -s conftest.err'
21029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21030 (eval $ac_try) 2>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; } &&
21034 { ac_try
='test -s conftest.$ac_objext'
21035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21036 (eval $ac_try) 2>&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); }; }; then
21040 ac_hi
=$ac_mid; break
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.
$ac_ext >&5
21045 ac_lo
=`expr $ac_mid + 1`
21046 if test $ac_lo -le $ac_mid; then
21050 ac_mid
=`expr 2 '*' $ac_mid + 1`
21052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21055 echo "$as_me: failed program was:" >&5
21056 sed 's/^/| /' conftest.
$ac_ext >&5
21058 cat >conftest.
$ac_ext <<_ACEOF
21061 cat confdefs.h
>>conftest.
$ac_ext
21062 cat >>conftest.
$ac_ext <<_ACEOF
21063 /* end confdefs.h. */
21064 $ac_includes_default
21068 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21075 rm -f conftest.
$ac_objext
21076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21077 (eval $ac_compile) 2>conftest.er1
21079 grep -v '^ *+' conftest.er1
>conftest.err
21081 cat conftest.err
>&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } &&
21084 { ac_try
='test -z "$ac_cxx_werror_flag"
21085 || test ! -s conftest.err'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; } &&
21091 { ac_try
='test -s conftest.$ac_objext'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; }; then
21099 cat >conftest.
$ac_ext <<_ACEOF
21102 cat confdefs.h
>>conftest.
$ac_ext
21103 cat >>conftest.
$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 $ac_includes_default
21109 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21116 rm -f conftest.
$ac_objext
21117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21118 (eval $ac_compile) 2>conftest.er1
21120 grep -v '^ *+' conftest.er1
>conftest.err
21122 cat conftest.err
>&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); } &&
21125 { ac_try
='test -z "$ac_cxx_werror_flag"
21126 || test ! -s conftest.err'
21127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21128 (eval $ac_try) 2>&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); }; } &&
21132 { ac_try
='test -s conftest.$ac_objext'
21133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21134 (eval $ac_try) 2>&5
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); }; }; then
21138 ac_lo
=$ac_mid; break
21140 echo "$as_me: failed program was:" >&5
21141 sed 's/^/| /' conftest.
$ac_ext >&5
21143 ac_hi
=`expr '(' $ac_mid ')' - 1`
21144 if test $ac_mid -le $ac_hi; then
21148 ac_mid
=`expr 2 '*' $ac_mid`
21150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21153 echo "$as_me: failed program was:" >&5
21154 sed 's/^/| /' conftest.
$ac_ext >&5
21158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21161 # Binary search between lo and hi bounds.
21162 while test "x$ac_lo" != "x$ac_hi"; do
21163 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21164 cat >conftest.
$ac_ext <<_ACEOF
21167 cat confdefs.h
>>conftest.
$ac_ext
21168 cat >>conftest.
$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170 $ac_includes_default
21174 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21181 rm -f conftest.
$ac_objext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21183 (eval $ac_compile) 2>conftest.er1
21185 grep -v '^ *+' conftest.er1
>conftest.err
21187 cat conftest.err
>&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try
='test -z "$ac_cxx_werror_flag"
21191 || test ! -s conftest.err'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try
='test -s conftest.$ac_objext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.
$ac_ext >&5
21208 ac_lo
=`expr '(' $ac_mid ')' + 1`
21210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21213 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21214 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21215 See \`config.log' for more details." >&5
21216 echo "$as_me: error: cannot compute sizeof (long long), 77
21217 See \`config.log' for more details." >&2;}
21218 { (exit 1); exit 1; }; } ;;
21221 if test "$cross_compiling" = yes; then
21222 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21223 See \`config.log' for more details." >&5
21224 echo "$as_me: error: cannot run test program while cross compiling
21225 See \`config.log' for more details." >&2;}
21226 { (exit 1); exit 1; }; }
21228 cat >conftest.
$ac_ext <<_ACEOF
21231 cat confdefs.h
>>conftest.
$ac_ext
21232 cat >>conftest.
$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 long longval () { return (long) (sizeof (long long)); }
21236 unsigned long ulongval () { return (long) (sizeof (long long)); }
21238 #include <stdlib.h>
21243 FILE *f = fopen ("conftest.val", "w");
21246 if (((long) (sizeof (long long))) < 0)
21248 long i = longval ();
21249 if (i != ((long) (sizeof (long long))))
21251 fprintf (f, "%ld\n", i);
21255 unsigned long i = ulongval ();
21256 if (i != ((long) (sizeof (long long))))
21258 fprintf (f, "%lu\n", i);
21260 exit (ferror (f) || fclose (f) != 0);
21266 rm -f conftest
$ac_exeext
21267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21268 (eval $ac_link) 2>&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; }; then
21277 ac_cv_sizeof_long_long
=`cat conftest.val`
21279 echo "$as_me: program exited with status $ac_status" >&5
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.
$ac_ext >&5
21283 ( exit $ac_status )
21284 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21285 See \`config.log' for more details." >&5
21286 echo "$as_me: error: cannot compute sizeof (long long), 77
21287 See \`config.log' for more details." >&2;}
21288 { (exit 1); exit 1; }; }
21290 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21295 ac_cv_sizeof_long_long
=0
21298 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21299 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21300 cat >>confdefs.h
<<_ACEOF
21301 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21307 echo "$as_me:$LINENO: checking for wchar_t" >&5
21308 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21309 if test "${ac_cv_type_wchar_t+set}" = set; then
21310 echo $ECHO_N "(cached) $ECHO_C" >&6
21312 cat >conftest.
$ac_ext <<_ACEOF
21315 cat confdefs.h
>>conftest.
$ac_ext
21316 cat >>conftest.
$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21319 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21320 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21321 # error "fake wchar_t"
21323 #ifdef HAVE_WCHAR_H
21325 # include <stddef.h>
21327 # include <wchar.h>
21329 #ifdef HAVE_STDLIB_H
21330 # include <stdlib.h>
21341 if (sizeof (wchar_t))
21347 rm -f conftest.
$ac_objext
21348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21349 (eval $ac_compile) 2>conftest.er1
21351 grep -v '^ *+' conftest.er1
>conftest.err
21353 cat conftest.err
>&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); } &&
21356 { ac_try
='test -z "$ac_cxx_werror_flag"
21357 || test ! -s conftest.err'
21358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21359 (eval $ac_try) 2>&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); }; } &&
21363 { ac_try
='test -s conftest.$ac_objext'
21364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21365 (eval $ac_try) 2>&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); }; }; then
21369 ac_cv_type_wchar_t
=yes
21371 echo "$as_me: failed program was:" >&5
21372 sed 's/^/| /' conftest.
$ac_ext >&5
21374 ac_cv_type_wchar_t
=no
21376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21378 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21379 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21381 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21382 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21383 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21384 echo $ECHO_N "(cached) $ECHO_C" >&6
21386 if test "$ac_cv_type_wchar_t" = yes; then
21387 # The cast to unsigned long works around a bug in the HP C Compiler
21388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21390 # This bug is HP SR number 8606223364.
21391 if test "$cross_compiling" = yes; then
21392 # Depending upon the size, compute the lo and hi bounds.
21393 cat >conftest.
$ac_ext <<_ACEOF
21396 cat confdefs.h
>>conftest.
$ac_ext
21397 cat >>conftest.
$ac_ext <<_ACEOF
21398 /* end confdefs.h. */
21400 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21401 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21402 # error "fake wchar_t"
21404 #ifdef HAVE_WCHAR_H
21406 # include <stddef.h>
21408 # include <wchar.h>
21410 #ifdef HAVE_STDLIB_H
21411 # include <stdlib.h>
21420 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21427 rm -f conftest.
$ac_objext
21428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21429 (eval $ac_compile) 2>conftest.er1
21431 grep -v '^ *+' conftest.er1
>conftest.err
21433 cat conftest.err
>&5
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); } &&
21436 { ac_try
='test -z "$ac_cxx_werror_flag"
21437 || test ! -s conftest.err'
21438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21439 (eval $ac_try) 2>&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); }; } &&
21443 { ac_try
='test -s conftest.$ac_objext'
21444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445 (eval $ac_try) 2>&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); }; }; then
21451 cat >conftest.
$ac_ext <<_ACEOF
21454 cat confdefs.h
>>conftest.
$ac_ext
21455 cat >>conftest.
$ac_ext <<_ACEOF
21456 /* end confdefs.h. */
21458 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21459 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21460 # error "fake wchar_t"
21462 #ifdef HAVE_WCHAR_H
21464 # include <stddef.h>
21466 # include <wchar.h>
21468 #ifdef HAVE_STDLIB_H
21469 # include <stdlib.h>
21478 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21485 rm -f conftest.
$ac_objext
21486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21487 (eval $ac_compile) 2>conftest.er1
21489 grep -v '^ *+' conftest.er1
>conftest.err
21491 cat conftest.err
>&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); } &&
21494 { ac_try
='test -z "$ac_cxx_werror_flag"
21495 || test ! -s conftest.err'
21496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21497 (eval $ac_try) 2>&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); }; } &&
21501 { ac_try
='test -s conftest.$ac_objext'
21502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21503 (eval $ac_try) 2>&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); }; }; then
21507 ac_hi
=$ac_mid; break
21509 echo "$as_me: failed program was:" >&5
21510 sed 's/^/| /' conftest.
$ac_ext >&5
21512 ac_lo
=`expr $ac_mid + 1`
21513 if test $ac_lo -le $ac_mid; then
21517 ac_mid
=`expr 2 '*' $ac_mid + 1`
21519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21522 echo "$as_me: failed program was:" >&5
21523 sed 's/^/| /' conftest.
$ac_ext >&5
21525 cat >conftest.
$ac_ext <<_ACEOF
21528 cat confdefs.h
>>conftest.
$ac_ext
21529 cat >>conftest.
$ac_ext <<_ACEOF
21530 /* end confdefs.h. */
21532 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21533 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21534 # error "fake wchar_t"
21536 #ifdef HAVE_WCHAR_H
21538 # include <stddef.h>
21540 # include <wchar.h>
21542 #ifdef HAVE_STDLIB_H
21543 # include <stdlib.h>
21552 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21559 rm -f conftest.
$ac_objext
21560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21561 (eval $ac_compile) 2>conftest.er1
21563 grep -v '^ *+' conftest.er1
>conftest.err
21565 cat conftest.err
>&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); } &&
21568 { ac_try
='test -z "$ac_cxx_werror_flag"
21569 || test ! -s conftest.err'
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); }; } &&
21575 { ac_try
='test -s conftest.$ac_objext'
21576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21577 (eval $ac_try) 2>&5
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); }; }; then
21583 cat >conftest.
$ac_ext <<_ACEOF
21586 cat confdefs.h
>>conftest.
$ac_ext
21587 cat >>conftest.
$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21590 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21591 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21592 # error "fake wchar_t"
21594 #ifdef HAVE_WCHAR_H
21596 # include <stddef.h>
21598 # include <wchar.h>
21600 #ifdef HAVE_STDLIB_H
21601 # include <stdlib.h>
21610 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21617 rm -f conftest.
$ac_objext
21618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21619 (eval $ac_compile) 2>conftest.er1
21621 grep -v '^ *+' conftest.er1
>conftest.err
21623 cat conftest.err
>&5
21624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21625 (exit $ac_status); } &&
21626 { ac_try
='test -z "$ac_cxx_werror_flag"
21627 || test ! -s conftest.err'
21628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21629 (eval $ac_try) 2>&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); }; } &&
21633 { ac_try
='test -s conftest.$ac_objext'
21634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; }; then
21639 ac_lo
=$ac_mid; break
21641 echo "$as_me: failed program was:" >&5
21642 sed 's/^/| /' conftest.
$ac_ext >&5
21644 ac_hi
=`expr '(' $ac_mid ')' - 1`
21645 if test $ac_mid -le $ac_hi; then
21649 ac_mid
=`expr 2 '*' $ac_mid`
21651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21654 echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.
$ac_ext >&5
21659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21662 # Binary search between lo and hi bounds.
21663 while test "x$ac_lo" != "x$ac_hi"; do
21664 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21665 cat >conftest.
$ac_ext <<_ACEOF
21668 cat confdefs.h
>>conftest.
$ac_ext
21669 cat >>conftest.
$ac_ext <<_ACEOF
21670 /* end confdefs.h. */
21672 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21673 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21674 # error "fake wchar_t"
21676 #ifdef HAVE_WCHAR_H
21678 # include <stddef.h>
21680 # include <wchar.h>
21682 #ifdef HAVE_STDLIB_H
21683 # include <stdlib.h>
21692 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21699 rm -f conftest.
$ac_objext
21700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21701 (eval $ac_compile) 2>conftest.er1
21703 grep -v '^ *+' conftest.er1
>conftest.err
21705 cat conftest.err
>&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); } &&
21708 { ac_try
='test -z "$ac_cxx_werror_flag"
21709 || test ! -s conftest.err'
21710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21711 (eval $ac_try) 2>&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); }; } &&
21715 { ac_try
='test -s conftest.$ac_objext'
21716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21717 (eval $ac_try) 2>&5
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); }; }; then
21723 echo "$as_me: failed program was:" >&5
21724 sed 's/^/| /' conftest.
$ac_ext >&5
21726 ac_lo
=`expr '(' $ac_mid ')' + 1`
21728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21731 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21732 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21733 See \`config.log' for more details." >&5
21734 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21735 See \`config.log' for more details." >&2;}
21736 { (exit 1); exit 1; }; } ;;
21739 if test "$cross_compiling" = yes; then
21740 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21741 See \`config.log' for more details." >&5
21742 echo "$as_me: error: cannot run test program while cross compiling
21743 See \`config.log' for more details." >&2;}
21744 { (exit 1); exit 1; }; }
21746 cat >conftest.
$ac_ext <<_ACEOF
21749 cat confdefs.h
>>conftest.
$ac_ext
21750 cat >>conftest.
$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21753 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21754 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21755 # error "fake wchar_t"
21757 #ifdef HAVE_WCHAR_H
21759 # include <stddef.h>
21761 # include <wchar.h>
21763 #ifdef HAVE_STDLIB_H
21764 # include <stdlib.h>
21770 long longval () { return (long) (sizeof (wchar_t)); }
21771 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21773 #include <stdlib.h>
21778 FILE *f = fopen ("conftest.val", "w");
21781 if (((long) (sizeof (wchar_t))) < 0)
21783 long i = longval ();
21784 if (i != ((long) (sizeof (wchar_t))))
21786 fprintf (f, "%ld\n", i);
21790 unsigned long i = ulongval ();
21791 if (i != ((long) (sizeof (wchar_t))))
21793 fprintf (f, "%lu\n", i);
21795 exit (ferror (f) || fclose (f) != 0);
21801 rm -f conftest
$ac_exeext
21802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21803 (eval $ac_link) 2>&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21808 (eval $ac_try) 2>&5
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); }; }; then
21812 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21814 echo "$as_me: program exited with status $ac_status" >&5
21815 echo "$as_me: failed program was:" >&5
21816 sed 's/^/| /' conftest.
$ac_ext >&5
21818 ( exit $ac_status )
21819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21820 See \`config.log' for more details." >&5
21821 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21822 See \`config.log' for more details." >&2;}
21823 { (exit 1); exit 1; }; }
21825 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21830 ac_cv_sizeof_wchar_t
=0
21833 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21834 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21835 cat >>confdefs.h
<<_ACEOF
21836 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21840 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21846 echo "$as_me:$LINENO: checking for va_copy" >&5
21847 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21848 if test "${wx_cv_func_va_copy+set}" = set; then
21849 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 cat >conftest.
$ac_ext <<_ACEOF
21854 #include <stdarg.h>
21855 void foo(char *f, ...)
21869 rm -f conftest.
$ac_objext conftest
$ac_exeext
21870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21871 (eval $ac_link) 2>conftest.er1
21873 grep -v '^ *+' conftest.er1
>conftest.err
21875 cat conftest.err
>&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } &&
21878 { ac_try
='test -z "$ac_cxx_werror_flag"
21879 || test ! -s conftest.err'
21880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21881 (eval $ac_try) 2>&5
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); }; } &&
21885 { ac_try
='test -s conftest$ac_exeext'
21886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21887 (eval $ac_try) 2>&5
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); }; }; then
21891 wx_cv_func_va_copy
=yes
21893 echo "$as_me: failed program was:" >&5
21894 sed 's/^/| /' conftest.
$ac_ext >&5
21896 wx_cv_func_va_copy
=no
21899 rm -f conftest.err conftest.
$ac_objext \
21900 conftest
$ac_exeext conftest.
$ac_ext
21904 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21905 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21907 if test $wx_cv_func_va_copy = "yes"; then
21908 cat >>confdefs.h
<<\_ACEOF
21909 #define HAVE_VA_COPY 1
21913 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21914 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21915 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21916 echo $ECHO_N "(cached) $ECHO_C" >&6
21919 if test "$cross_compiling" = yes; then
21920 wx_cv_type_va_list_lvalue
=yes
21923 cat >conftest.
$ac_ext <<_ACEOF
21925 #include <stdarg.h>
21926 int foo(char *f, ...)
21931 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21939 return foo("hi", 17);
21942 rm -f conftest
$ac_exeext
21943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21944 (eval $ac_link) 2>&5
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); } && { ac_try
='./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_type_va_list_lvalue
=yes
21955 echo "$as_me: program exited with status $ac_status" >&5
21956 echo "$as_me: failed program was:" >&5
21957 sed 's/^/| /' conftest.
$ac_ext >&5
21959 ( exit $ac_status )
21960 wx_cv_type_va_list_lvalue
=no
21962 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21967 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21968 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21970 if test $wx_cv_type_va_list_lvalue != "yes"; then
21971 cat >>confdefs.h
<<\_ACEOF
21972 #define VA_LIST_IS_ARRAY 1
21978 # Check whether --enable-largefile or --disable-largefile was given.
21979 if test "${enable_largefile+set}" = set; then
21980 enableval
="$enable_largefile"
21983 if test "$enable_largefile" != no
; then
21986 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21987 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21988 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21989 echo $ECHO_N "(cached) $ECHO_C" >&6
21992 cat >conftest.
$ac_ext <<_ACEOF
21995 cat confdefs.h
>>conftest.
$ac_ext
21996 cat >>conftest.
$ac_ext <<_ACEOF
21997 /* end confdefs.h. */
21998 #define _FILE_OFFSET_BITS 64
21999 #include <sys/types.h>
22004 unsigned int field: sizeof(off_t) == 8;
22011 rm -f conftest.
$ac_objext
22012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22013 (eval $ac_compile) 2>conftest.er1
22015 grep -v '^ *+' conftest.er1
>conftest.err
22017 cat conftest.err
>&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); } &&
22020 { ac_try
='test -z "$ac_cxx_werror_flag"
22021 || test ! -s conftest.err'
22022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22023 (eval $ac_try) 2>&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; } &&
22027 { ac_try
='test -s conftest.$ac_objext'
22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029 (eval $ac_try) 2>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; }; then
22033 ac_cv_sys_file_offset_bits
=64
22035 echo "$as_me: failed program was:" >&5
22036 sed 's/^/| /' conftest.
$ac_ext >&5
22038 ac_cv_sys_file_offset_bits
=no
22040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22044 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22045 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22047 if test "$ac_cv_sys_file_offset_bits" != no
; then
22049 cat >>confdefs.h
<<_ACEOF
22050 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22055 if test "x$wx_largefile" != "xyes"; then
22057 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22058 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22059 if test "${ac_cv_sys_large_files+set}" = set; then
22060 echo $ECHO_N "(cached) $ECHO_C" >&6
22063 cat >conftest.
$ac_ext <<_ACEOF
22066 cat confdefs.h
>>conftest.
$ac_ext
22067 cat >>conftest.
$ac_ext <<_ACEOF
22068 /* end confdefs.h. */
22069 #define _LARGE_FILES 1
22070 #include <sys/types.h>
22075 unsigned int field: sizeof(off_t) == 8;
22082 rm -f conftest.
$ac_objext
22083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22084 (eval $ac_compile) 2>conftest.er1
22086 grep -v '^ *+' conftest.er1
>conftest.err
22088 cat conftest.err
>&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); } &&
22091 { ac_try
='test -z "$ac_cxx_werror_flag"
22092 || test ! -s conftest.err'
22093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22094 (eval $ac_try) 2>&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); }; } &&
22098 { ac_try
='test -s conftest.$ac_objext'
22099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22100 (eval $ac_try) 2>&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); }; }; then
22104 ac_cv_sys_large_files
=1
22106 echo "$as_me: failed program was:" >&5
22107 sed 's/^/| /' conftest.
$ac_ext >&5
22109 ac_cv_sys_large_files
=no
22111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22115 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22116 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22118 if test "$ac_cv_sys_large_files" != no
; then
22120 cat >>confdefs.h
<<_ACEOF
22121 #define _LARGE_FILES $ac_cv_sys_large_files
22128 echo "$as_me:$LINENO: checking if large file support is available" >&5
22129 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22130 if test "x$wx_largefile" = "xyes"; then
22131 cat >>confdefs.h
<<\_ACEOF
22132 #define HAVE_LARGEFILE_SUPPORT 1
22136 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22137 echo "${ECHO_T}$wx_largefile" >&6
22141 if test "x$wx_largefile" = "xyes"; then
22142 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22143 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22145 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22146 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22147 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22148 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22149 echo $ECHO_N "(cached) $ECHO_C" >&6
22152 cat >conftest.
$ac_ext <<_ACEOF
22155 cat confdefs.h
>>conftest.
$ac_ext
22156 cat >>conftest.
$ac_ext <<_ACEOF
22157 /* end confdefs.h. */
22163 #ifndef __STDC_EXT__
22171 rm -f conftest.
$ac_objext
22172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22173 (eval $ac_compile) 2>conftest.er1
22175 grep -v '^ *+' conftest.er1
>conftest.err
22177 cat conftest.err
>&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); } &&
22180 { ac_try
='test -z "$ac_cxx_werror_flag"
22181 || test ! -s conftest.err'
22182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22183 (eval $ac_try) 2>&5
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); }; } &&
22187 { ac_try
='test -s conftest.$ac_objext'
22188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22189 (eval $ac_try) 2>&5
22191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192 (exit $ac_status); }; }; then
22193 wx_cv_STDC_EXT_required
=no
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.
$ac_ext >&5
22198 wx_cv_STDC_EXT_required
=yes
22201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22205 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22206 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22207 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22208 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22212 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22214 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22215 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22216 if test "${ac_cv_sys_largefile_source+set}" = set; then
22217 echo $ECHO_N "(cached) $ECHO_C" >&6
22220 ac_cv_sys_largefile_source
=no
22221 cat >conftest.
$ac_ext <<_ACEOF
22224 cat confdefs.h
>>conftest.
$ac_ext
22225 cat >>conftest.
$ac_ext <<_ACEOF
22226 /* end confdefs.h. */
22236 rm -f conftest.
$ac_objext
22237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22238 (eval $ac_compile) 2>conftest.er1
22240 grep -v '^ *+' conftest.er1
>conftest.err
22242 cat conftest.err
>&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); } &&
22245 { ac_try
='test -z "$ac_cxx_werror_flag"
22246 || test ! -s conftest.err'
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); }; } &&
22252 { ac_try
='test -s conftest.$ac_objext'
22253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22254 (eval $ac_try) 2>&5
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); }; }; then
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.
$ac_ext >&5
22264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22265 cat >conftest.
$ac_ext <<_ACEOF
22268 cat confdefs.h
>>conftest.
$ac_ext
22269 cat >>conftest.
$ac_ext <<_ACEOF
22270 /* end confdefs.h. */
22271 #define _LARGEFILE_SOURCE 1
22281 rm -f conftest.
$ac_objext
22282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22283 (eval $ac_compile) 2>conftest.er1
22285 grep -v '^ *+' conftest.er1
>conftest.err
22287 cat conftest.err
>&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); } &&
22290 { ac_try
='test -z "$ac_cxx_werror_flag"
22291 || test ! -s conftest.err'
22292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22293 (eval $ac_try) 2>&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); }; } &&
22297 { ac_try
='test -s conftest.$ac_objext'
22298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22299 (eval $ac_try) 2>&5
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; }; then
22303 ac_cv_sys_largefile_source
=1; break
22305 echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.
$ac_ext >&5
22309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22313 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22314 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22315 if test "$ac_cv_sys_largefile_source" != no
; then
22317 cat >>confdefs.h
<<_ACEOF
22318 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22324 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22325 # in glibc 2.1.3, but that breaks too many other things.
22326 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22327 echo "$as_me:$LINENO: checking for fseeko" >&5
22328 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22329 if test "${ac_cv_func_fseeko+set}" = set; then
22330 echo $ECHO_N "(cached) $ECHO_C" >&6
22332 cat >conftest.
$ac_ext <<_ACEOF
22335 cat confdefs.h
>>conftest.
$ac_ext
22336 cat >>conftest.
$ac_ext <<_ACEOF
22337 /* end confdefs.h. */
22342 return fseeko && fseeko (stdin, 0, 0);
22347 rm -f conftest.
$ac_objext conftest
$ac_exeext
22348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22349 (eval $ac_link) 2>conftest.er1
22351 grep -v '^ *+' conftest.er1
>conftest.err
22353 cat conftest.err
>&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } &&
22356 { ac_try
='test -z "$ac_cxx_werror_flag"
22357 || test ! -s conftest.err'
22358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22359 (eval $ac_try) 2>&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); }; } &&
22363 { ac_try
='test -s conftest$ac_exeext'
22364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22365 (eval $ac_try) 2>&5
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); }; }; then
22369 ac_cv_func_fseeko
=yes
22371 echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.
$ac_ext >&5
22374 ac_cv_func_fseeko
=no
22376 rm -f conftest.err conftest.
$ac_objext \
22377 conftest
$ac_exeext conftest.
$ac_ext
22379 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22380 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22381 if test $ac_cv_func_fseeko = yes; then
22383 cat >>confdefs.h
<<\_ACEOF
22384 #define HAVE_FSEEKO 1
22389 if test "$ac_cv_sys_largefile_source" != no
; then
22390 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22394 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22395 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22396 if test "${ac_cv_c_bigendian+set}" = set; then
22397 echo $ECHO_N "(cached) $ECHO_C" >&6
22399 ac_cv_c_bigendian
=unknown
22400 # See if sys/param.h defines the BYTE_ORDER macro.
22401 cat >conftest.
$ac_ext <<_ACEOF
22404 cat confdefs.h
>>conftest.
$ac_ext
22405 cat >>conftest.
$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22407 #include <sys/types.h>
22408 #include <sys/param.h>
22413 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22414 bogus endian macros
22420 rm -f conftest.
$ac_objext
22421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22422 (eval $ac_compile) 2>conftest.er1
22424 grep -v '^ *+' conftest.er1
>conftest.err
22426 cat conftest.err
>&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); } &&
22429 { ac_try
='test -z "$ac_cxx_werror_flag"
22430 || test ! -s conftest.err'
22431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22432 (eval $ac_try) 2>&5
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); }; } &&
22436 { ac_try
='test -s conftest.$ac_objext'
22437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22438 (eval $ac_try) 2>&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); }; }; then
22442 # It does; now see whether it defined to BIG_ENDIAN or not.
22443 cat >conftest.
$ac_ext <<_ACEOF
22446 cat confdefs.h
>>conftest.
$ac_ext
22447 cat >>conftest.
$ac_ext <<_ACEOF
22448 /* end confdefs.h. */
22449 #include <sys/types.h>
22450 #include <sys/param.h>
22455 #if BYTE_ORDER != BIG_ENDIAN
22462 rm -f conftest.
$ac_objext
22463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22464 (eval $ac_compile) 2>conftest.er1
22466 grep -v '^ *+' conftest.er1
>conftest.err
22468 cat conftest.err
>&5
22469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22470 (exit $ac_status); } &&
22471 { ac_try
='test -z "$ac_cxx_werror_flag"
22472 || test ! -s conftest.err'
22473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22474 (eval $ac_try) 2>&5
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); }; } &&
22478 { ac_try
='test -s conftest.$ac_objext'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; }; then
22484 ac_cv_c_bigendian
=yes
22486 echo "$as_me: failed program was:" >&5
22487 sed 's/^/| /' conftest.
$ac_ext >&5
22489 ac_cv_c_bigendian
=no
22491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22493 echo "$as_me: failed program was:" >&5
22494 sed 's/^/| /' conftest.
$ac_ext >&5
22497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22498 if test $ac_cv_c_bigendian = unknown
; then
22499 if test "$cross_compiling" = yes; then
22500 ac_cv_c_bigendian
=unknown
22502 cat >conftest.
$ac_ext <<_ACEOF
22505 cat confdefs.h
>>conftest.
$ac_ext
22506 cat >>conftest.
$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22509 /* Are we little or big endian? From Harbison&Steele. */
22513 char c[sizeof (long)];
22516 exit (u.c[sizeof (long) - 1] == 1);
22519 rm -f conftest
$ac_exeext
22520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22521 (eval $ac_link) 2>&5
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526 (eval $ac_try) 2>&5
22528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529 (exit $ac_status); }; }; then
22530 ac_cv_c_bigendian
=no
22532 echo "$as_me: program exited with status $ac_status" >&5
22533 echo "$as_me: failed program was:" >&5
22534 sed 's/^/| /' conftest.
$ac_ext >&5
22536 ( exit $ac_status )
22537 ac_cv_c_bigendian
=yes
22539 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22543 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22544 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22545 if test $ac_cv_c_bigendian = unknown
; then
22546 { 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
22547 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;}
22549 if test $ac_cv_c_bigendian = yes; then
22550 cat >>confdefs.h
<<\_ACEOF
22551 #define WORDS_BIGENDIAN 1
22561 ac_cpp
='$CXXCPP $CPPFLAGS'
22562 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22563 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22564 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22568 for ac_header
in iostream
22570 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22572 echo "$as_me:$LINENO: checking for $ac_header" >&5
22573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22575 echo $ECHO_N "(cached) $ECHO_C" >&6
22577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22580 # Is the header compilable?
22581 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22582 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22583 cat >conftest.
$ac_ext <<_ACEOF
22586 cat confdefs.h
>>conftest.
$ac_ext
22587 cat >>conftest.
$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22589 $ac_includes_default
22590 #include <$ac_header>
22592 rm -f conftest.
$ac_objext
22593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22594 (eval $ac_compile) 2>conftest.er1
22596 grep -v '^ *+' conftest.er1
>conftest.err
22598 cat conftest.err
>&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); } &&
22601 { ac_try
='test -z "$ac_cxx_werror_flag"
22602 || test ! -s conftest.err'
22603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22604 (eval $ac_try) 2>&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); }; } &&
22608 { ac_try
='test -s conftest.$ac_objext'
22609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22610 (eval $ac_try) 2>&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); }; }; then
22614 ac_header_compiler
=yes
22616 echo "$as_me: failed program was:" >&5
22617 sed 's/^/| /' conftest.
$ac_ext >&5
22619 ac_header_compiler
=no
22621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22623 echo "${ECHO_T}$ac_header_compiler" >&6
22625 # Is the header present?
22626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22628 cat >conftest.
$ac_ext <<_ACEOF
22631 cat confdefs.h
>>conftest.
$ac_ext
22632 cat >>conftest.
$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634 #include <$ac_header>
22636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22639 grep -v '^ *+' conftest.er1
>conftest.err
22641 cat conftest.err
>&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); } >/dev
/null
; then
22644 if test -s conftest.err
; then
22645 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22646 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22653 if test -z "$ac_cpp_err"; then
22654 ac_header_preproc
=yes
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.
$ac_ext >&5
22659 ac_header_preproc
=no
22661 rm -f conftest.err conftest.
$ac_ext
22662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22663 echo "${ECHO_T}$ac_header_preproc" >&6
22665 # So? What about this header?
22666 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22672 ac_header_preproc
=yes
22675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22689 ## ----------------------------------------- ##
22690 ## Report this to wx-dev@lists.wxwidgets.org ##
22691 ## ----------------------------------------- ##
22694 sed "s/^/$as_me: WARNING: /" >&2
22697 echo "$as_me:$LINENO: checking for $ac_header" >&5
22698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22700 echo $ECHO_N "(cached) $ECHO_C" >&6
22702 eval "$as_ac_Header=\$ac_header_preproc"
22704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22709 cat >>confdefs.h
<<_ACEOF
22710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22718 if test "$ac_cv_header_iostream" = "yes" ; then
22721 cat >>confdefs.h
<<\_ACEOF
22722 #define wxUSE_IOSTREAMH 1
22728 ac_cpp
='$CXXCPP $CPPFLAGS'
22729 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22730 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22731 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22736 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22737 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22738 if test "${wx_cv_cpp_bool+set}" = set; then
22739 echo $ECHO_N "(cached) $ECHO_C" >&6
22745 ac_cpp
='$CXXCPP $CPPFLAGS'
22746 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22747 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22748 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22751 cat >conftest.
$ac_ext <<_ACEOF
22754 cat confdefs.h
>>conftest.
$ac_ext
22755 cat >>conftest.
$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22771 rm -f conftest.
$ac_objext
22772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22773 (eval $ac_compile) 2>conftest.er1
22775 grep -v '^ *+' conftest.er1
>conftest.err
22777 cat conftest.err
>&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); } &&
22780 { ac_try
='test -z "$ac_cxx_werror_flag"
22781 || test ! -s conftest.err'
22782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22783 (eval $ac_try) 2>&5
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); }; } &&
22787 { ac_try
='test -s conftest.$ac_objext'
22788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22789 (eval $ac_try) 2>&5
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); }; }; then
22797 echo "$as_me: failed program was:" >&5
22798 sed 's/^/| /' conftest.
$ac_ext >&5
22805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22808 ac_cpp
='$CXXCPP $CPPFLAGS'
22809 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22810 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22811 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22815 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22816 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22818 if test "$wx_cv_cpp_bool" = "yes"; then
22819 cat >>confdefs.h
<<\_ACEOF
22820 #define HAVE_BOOL 1
22827 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22828 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22829 if test "${wx_cv_explicit+set}" = set; then
22830 echo $ECHO_N "(cached) $ECHO_C" >&6
22836 ac_cpp
='$CXXCPP $CPPFLAGS'
22837 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22838 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22839 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22842 cat >conftest.
$ac_ext <<_ACEOF
22845 cat confdefs.h
>>conftest.
$ac_ext
22846 cat >>conftest.
$ac_ext <<_ACEOF
22847 /* end confdefs.h. */
22849 class Foo { public: explicit Foo(int) {} };
22861 rm -f conftest.
$ac_objext
22862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22863 (eval $ac_compile) 2>conftest.er1
22865 grep -v '^ *+' conftest.er1
>conftest.err
22867 cat conftest.err
>&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } &&
22870 { ac_try
='test -z "$ac_cxx_werror_flag"
22871 || test ! -s conftest.err'
22872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22873 (eval $ac_try) 2>&5
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; } &&
22877 { ac_try
='test -s conftest.$ac_objext'
22878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22879 (eval $ac_try) 2>&5
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); }; }; then
22884 cat >conftest.
$ac_ext <<_ACEOF
22887 cat confdefs.h
>>conftest.
$ac_ext
22888 cat >>conftest.
$ac_ext <<_ACEOF
22889 /* end confdefs.h. */
22891 class Foo { public: explicit Foo(int) {} };
22892 static void TakeFoo(const Foo& foo) { }
22905 rm -f conftest.
$ac_objext
22906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22907 (eval $ac_compile) 2>conftest.er1
22909 grep -v '^ *+' conftest.er1
>conftest.err
22911 cat conftest.err
>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try
='test -z "$ac_cxx_werror_flag"
22915 || test ! -s conftest.err'
22916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22917 (eval $ac_try) 2>&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); }; } &&
22921 { ac_try
='test -s conftest.$ac_objext'
22922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22923 (eval $ac_try) 2>&5
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); }; }; then
22929 echo "$as_me: failed program was:" >&5
22930 sed 's/^/| /' conftest.
$ac_ext >&5
22935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22938 echo "$as_me: failed program was:" >&5
22939 sed 's/^/| /' conftest.
$ac_ext >&5
22944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22947 ac_cpp
='$CXXCPP $CPPFLAGS'
22948 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22949 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22950 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22954 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22955 echo "${ECHO_T}$wx_cv_explicit" >&6
22957 if test "$wx_cv_explicit" = "yes"; then
22958 cat >>confdefs.h
<<\_ACEOF
22959 #define HAVE_EXPLICIT 1
22965 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22966 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22967 if test "${ac_cv_cxx_const_cast+set}" = set; then
22968 echo $ECHO_N "(cached) $ECHO_C" >&6
22973 ac_cpp
='$CXXCPP $CPPFLAGS'
22974 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22975 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22976 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22978 cat >conftest.
$ac_ext <<_ACEOF
22981 cat confdefs.h
>>conftest.
$ac_ext
22982 cat >>conftest.
$ac_ext <<_ACEOF
22983 /* end confdefs.h. */
22988 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22993 rm -f conftest.
$ac_objext
22994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22995 (eval $ac_compile) 2>conftest.er1
22997 grep -v '^ *+' conftest.er1
>conftest.err
22999 cat conftest.err
>&5
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); } &&
23002 { ac_try
='test -z "$ac_cxx_werror_flag"
23003 || test ! -s conftest.err'
23004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23005 (eval $ac_try) 2>&5
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); }; } &&
23009 { ac_try
='test -s conftest.$ac_objext'
23010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23011 (eval $ac_try) 2>&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); }; }; then
23015 ac_cv_cxx_const_cast
=yes
23017 echo "$as_me: failed program was:" >&5
23018 sed 's/^/| /' conftest.
$ac_ext >&5
23020 ac_cv_cxx_const_cast
=no
23022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23024 ac_cpp
='$CXXCPP $CPPFLAGS'
23025 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23026 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23027 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23031 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23032 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23033 if test "$ac_cv_cxx_const_cast" = yes; then
23035 cat >>confdefs.h
<<\_ACEOF
23036 #define HAVE_CONST_CAST
23041 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23042 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23043 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23044 echo $ECHO_N "(cached) $ECHO_C" >&6
23049 ac_cpp
='$CXXCPP $CPPFLAGS'
23050 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23051 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23052 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23054 cat >conftest.
$ac_ext <<_ACEOF
23057 cat confdefs.h
>>conftest.
$ac_ext
23058 cat >>conftest.
$ac_ext <<_ACEOF
23059 /* end confdefs.h. */
23060 #include <typeinfo>
23061 class Base { public : Base () {} virtual void f () = 0;};
23062 class Derived : public Base { public : Derived () {} virtual void f () {} };
23063 class Unrelated { public : Unrelated () {} };
23064 int g (Unrelated&) { return 0; }
23069 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23074 rm -f conftest.
$ac_objext
23075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23076 (eval $ac_compile) 2>conftest.er1
23078 grep -v '^ *+' conftest.er1
>conftest.err
23080 cat conftest.err
>&5
23081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23082 (exit $ac_status); } &&
23083 { ac_try
='test -z "$ac_cxx_werror_flag"
23084 || test ! -s conftest.err'
23085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23086 (eval $ac_try) 2>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); }; } &&
23090 { ac_try
='test -s conftest.$ac_objext'
23091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23092 (eval $ac_try) 2>&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); }; }; then
23096 ac_cv_cxx_reinterpret_cast
=yes
23098 echo "$as_me: failed program was:" >&5
23099 sed 's/^/| /' conftest.
$ac_ext >&5
23101 ac_cv_cxx_reinterpret_cast
=no
23103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23105 ac_cpp
='$CXXCPP $CPPFLAGS'
23106 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23107 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23108 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23112 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23113 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23114 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23116 cat >>confdefs.h
<<\_ACEOF
23117 #define HAVE_REINTERPRET_CAST
23122 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23123 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23124 if test "${ac_cv_cxx_static_cast+set}" = set; then
23125 echo $ECHO_N "(cached) $ECHO_C" >&6
23130 ac_cpp
='$CXXCPP $CPPFLAGS'
23131 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23132 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23133 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23135 cat >conftest.
$ac_ext <<_ACEOF
23138 cat confdefs.h
>>conftest.
$ac_ext
23139 cat >>conftest.
$ac_ext <<_ACEOF
23140 /* end confdefs.h. */
23141 #include <typeinfo>
23142 class Base { public : Base () {} virtual void f () = 0; };
23143 class Derived : public Base { public : Derived () {} virtual void f () {} };
23144 int g (Derived&) { return 0; }
23149 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23154 rm -f conftest.
$ac_objext
23155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23156 (eval $ac_compile) 2>conftest.er1
23158 grep -v '^ *+' conftest.er1
>conftest.err
23160 cat conftest.err
>&5
23161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162 (exit $ac_status); } &&
23163 { ac_try
='test -z "$ac_cxx_werror_flag"
23164 || test ! -s conftest.err'
23165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23166 (eval $ac_try) 2>&5
23168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169 (exit $ac_status); }; } &&
23170 { ac_try
='test -s conftest.$ac_objext'
23171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23172 (eval $ac_try) 2>&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); }; }; then
23176 ac_cv_cxx_static_cast
=yes
23178 echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.
$ac_ext >&5
23181 ac_cv_cxx_static_cast
=no
23183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23185 ac_cpp
='$CXXCPP $CPPFLAGS'
23186 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23187 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23188 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23192 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23193 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23194 if test "$ac_cv_cxx_static_cast" = yes; then
23196 cat >>confdefs.h
<<\_ACEOF
23197 #define HAVE_STATIC_CAST
23203 if test "x$SUNCXX" = xyes
; then
23204 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23207 if test "x$SUNCC" = xyes
; then
23208 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23211 if test "x$SGICC" = "xyes"; then
23212 CFLAGS
="-woff 3970 $CFLAGS"
23214 if test "x$SGICXX" = "xyes"; then
23215 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23218 if test "x$HPCC" = "xyes"; then
23219 CFLAGS
="+W 2011,2450 $CFLAGS"
23221 if test "x$HPCXX" = "xyes"; then
23222 CXXFLAGS
="+W 2340 $CXXFLAGS"
23225 if test "x$COMPAQCXX" = "xyes"; then
23226 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23229 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23230 if test "$wxUSE_UNICODE" = "yes"; then
23231 std_string
="std::wstring"
23232 char_type
="wchar_t"
23234 std_string
="std::string"
23238 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23239 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23240 cat >conftest.
$ac_ext <<_ACEOF
23243 cat confdefs.h
>>conftest.
$ac_ext
23244 cat >>conftest.
$ac_ext <<_ACEOF
23245 /* end confdefs.h. */
23255 rm -f conftest.
$ac_objext
23256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23257 (eval $ac_compile) 2>conftest.er1
23259 grep -v '^ *+' conftest.er1
>conftest.err
23261 cat conftest.err
>&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } &&
23264 { ac_try
='test -z "$ac_cxx_werror_flag"
23265 || test ! -s conftest.err'
23266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23267 (eval $ac_try) 2>&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); }; } &&
23271 { ac_try
='test -s conftest.$ac_objext'
23272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23273 (eval $ac_try) 2>&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); }; }; then
23277 echo "$as_me:$LINENO: result: yes" >&5
23278 echo "${ECHO_T}yes" >&6
23279 cat >>confdefs.h
<<\_ACEOF
23280 #define HAVE_STD_WSTRING 1
23284 echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.
$ac_ext >&5
23287 echo "$as_me:$LINENO: result: no" >&5
23288 echo "${ECHO_T}no" >&6
23289 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23290 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23291 cat >conftest.
$ac_ext <<_ACEOF
23294 cat confdefs.h
>>conftest.
$ac_ext
23295 cat >>conftest.
$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23298 #ifdef HAVE_WCHAR_H
23300 # include <stddef.h>
23302 # include <wchar.h>
23304 #ifdef HAVE_STDLIB_H
23305 # include <stdlib.h>
23313 std::basic_string<$char_type> foo;
23314 const $char_type* dummy = foo.c_str();
23319 rm -f conftest.
$ac_objext
23320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23321 (eval $ac_compile) 2>conftest.er1
23323 grep -v '^ *+' conftest.er1
>conftest.err
23325 cat conftest.err
>&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); } &&
23328 { ac_try
='test -z "$ac_cxx_werror_flag"
23329 || test ! -s conftest.err'
23330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23331 (eval $ac_try) 2>&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); }; } &&
23335 { ac_try
='test -s conftest.$ac_objext'
23336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337 (eval $ac_try) 2>&5
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; }; then
23341 echo "$as_me:$LINENO: result: yes" >&5
23342 echo "${ECHO_T}yes" >&6
23344 echo "$as_me: failed program was:" >&5
23345 sed 's/^/| /' conftest.
$ac_ext >&5
23347 echo "$as_me:$LINENO: result: no" >&5
23348 echo "${ECHO_T}no" >&6
23349 if test "$wxUSE_STL" = "yes"; then
23350 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23351 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23352 { (exit 1); exit 1; }; }
23353 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23354 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23355 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23356 { (exit 1); exit 1; }; }
23358 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23359 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23360 wxUSE_STD_STRING
=no
23365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23371 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23372 echo "$as_me:$LINENO: checking for std::istream" >&5
23373 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23374 if test "${ac_cv_type_std__istream+set}" = set; then
23375 echo $ECHO_N "(cached) $ECHO_C" >&6
23377 cat >conftest.
$ac_ext <<_ACEOF
23380 cat confdefs.h
>>conftest.
$ac_ext
23381 cat >>conftest.
$ac_ext <<_ACEOF
23382 /* end confdefs.h. */
23383 #include <iostream>
23388 if ((std::istream *) 0)
23390 if (sizeof (std::istream))
23396 rm -f conftest.
$ac_objext
23397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23398 (eval $ac_compile) 2>conftest.er1
23400 grep -v '^ *+' conftest.er1
>conftest.err
23402 cat conftest.err
>&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } &&
23405 { ac_try
='test -z "$ac_cxx_werror_flag"
23406 || test ! -s conftest.err'
23407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23408 (eval $ac_try) 2>&5
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; } &&
23412 { ac_try
='test -s conftest.$ac_objext'
23413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23414 (eval $ac_try) 2>&5
23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417 (exit $ac_status); }; }; then
23418 ac_cv_type_std__istream
=yes
23420 echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.
$ac_ext >&5
23423 ac_cv_type_std__istream
=no
23425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23427 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23428 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23429 if test $ac_cv_type_std__istream = yes; then
23431 cat >>confdefs.h
<<_ACEOF
23432 #define HAVE_STD__ISTREAM 1
23437 wxUSE_STD_IOSTREAM
=no
23439 echo "$as_me:$LINENO: checking for std::ostream" >&5
23440 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23441 if test "${ac_cv_type_std__ostream+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23444 cat >conftest.
$ac_ext <<_ACEOF
23447 cat confdefs.h
>>conftest.
$ac_ext
23448 cat >>conftest.
$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23450 #include <iostream>
23455 if ((std::ostream *) 0)
23457 if (sizeof (std::ostream))
23463 rm -f conftest.
$ac_objext
23464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23465 (eval $ac_compile) 2>conftest.er1
23467 grep -v '^ *+' conftest.er1
>conftest.err
23469 cat conftest.err
>&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } &&
23472 { ac_try
='test -z "$ac_cxx_werror_flag"
23473 || test ! -s conftest.err'
23474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23475 (eval $ac_try) 2>&5
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); }; } &&
23479 { ac_try
='test -s conftest.$ac_objext'
23480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23481 (eval $ac_try) 2>&5
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; }; then
23485 ac_cv_type_std__ostream
=yes
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.
$ac_ext >&5
23490 ac_cv_type_std__ostream
=no
23492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23494 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23495 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23496 if test $ac_cv_type_std__ostream = yes; then
23498 cat >>confdefs.h
<<_ACEOF
23499 #define HAVE_STD__OSTREAM 1
23504 wxUSE_STD_IOSTREAM
=no
23508 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23509 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23510 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23511 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23512 { (exit 1); exit 1; }; }
23514 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23515 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23520 if test "$wxUSE_STL" = "yes"; then
23521 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23522 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23523 cat >conftest.
$ac_ext <<_ACEOF
23526 cat confdefs.h
>>conftest.
$ac_ext
23527 cat >>conftest.
$ac_ext <<_ACEOF
23528 /* end confdefs.h. */
23530 #include <functional>
23531 #include <algorithm>
23537 std::vector<int> moo;
23538 std::list<int> foo;
23539 std::vector<int>::iterator it =
23540 std::find_if(moo.begin(), moo.end(),
23541 std::bind2nd(std::less<int>(), 3));
23546 rm -f conftest.
$ac_objext
23547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23548 (eval $ac_compile) 2>conftest.er1
23550 grep -v '^ *+' conftest.er1
>conftest.err
23552 cat conftest.err
>&5
23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554 (exit $ac_status); } &&
23555 { ac_try
='test -z "$ac_cxx_werror_flag"
23556 || test ! -s conftest.err'
23557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23558 (eval $ac_try) 2>&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); }; } &&
23562 { ac_try
='test -s conftest.$ac_objext'
23563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23564 (eval $ac_try) 2>&5
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); }; }; then
23568 echo "$as_me:$LINENO: result: yes" >&5
23569 echo "${ECHO_T}yes" >&6
23571 echo "$as_me: failed program was:" >&5
23572 sed 's/^/| /' conftest.
$ac_ext >&5
23574 echo "$as_me:$LINENO: result: no" >&5
23575 echo "${ECHO_T}no" >&6
23576 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23577 echo "$as_me: error: Basic STL functionality missing" >&2;}
23578 { (exit 1); exit 1; }; }
23580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23582 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23583 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23584 cat >conftest.
$ac_ext <<_ACEOF
23587 cat confdefs.h
>>conftest.
$ac_ext
23588 cat >>conftest.
$ac_ext <<_ACEOF
23589 /* end confdefs.h. */
23594 std::string foo, bar;
23596 foo.compare(1, 1, bar);
23597 foo.compare(1, 1, bar, 1, 1);
23599 foo.compare(1, 1, "");
23600 foo.compare(1, 1, "", 2);
23605 rm -f conftest.
$ac_objext
23606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23607 (eval $ac_compile) 2>conftest.er1
23609 grep -v '^ *+' conftest.er1
>conftest.err
23611 cat conftest.err
>&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); } &&
23614 { ac_try
='test -z "$ac_cxx_werror_flag"
23615 || test ! -s conftest.err'
23616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23617 (eval $ac_try) 2>&5
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); }; } &&
23621 { ac_try
='test -s conftest.$ac_objext'
23622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23623 (eval $ac_try) 2>&5
23625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23626 (exit $ac_status); }; }; then
23627 echo "$as_me:$LINENO: result: yes" >&5
23628 echo "${ECHO_T}yes" >&6
23629 cat >>confdefs.h
<<\_ACEOF
23630 #define HAVE_STD_STRING_COMPARE 1
23634 echo "$as_me: failed program was:" >&5
23635 sed 's/^/| /' conftest.
$ac_ext >&5
23637 echo "$as_me:$LINENO: result: no" >&5
23638 echo "${ECHO_T}no" >&6
23640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23642 if test "${ac_cv_header_hash_map+set}" = set; then
23643 echo "$as_me:$LINENO: checking for hash_map" >&5
23644 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23645 if test "${ac_cv_header_hash_map+set}" = set; then
23646 echo $ECHO_N "(cached) $ECHO_C" >&6
23648 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23649 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23651 # Is the header compilable?
23652 echo "$as_me:$LINENO: checking hash_map usability" >&5
23653 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23654 cat >conftest.
$ac_ext <<_ACEOF
23657 cat confdefs.h
>>conftest.
$ac_ext
23658 cat >>conftest.
$ac_ext <<_ACEOF
23659 /* end confdefs.h. */
23660 $ac_includes_default
23661 #include <hash_map>
23663 rm -f conftest.
$ac_objext
23664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23665 (eval $ac_compile) 2>conftest.er1
23667 grep -v '^ *+' conftest.er1
>conftest.err
23669 cat conftest.err
>&5
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); } &&
23672 { ac_try
='test -z "$ac_cxx_werror_flag"
23673 || test ! -s conftest.err'
23674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23675 (eval $ac_try) 2>&5
23677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678 (exit $ac_status); }; } &&
23679 { ac_try
='test -s conftest.$ac_objext'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; }; then
23685 ac_header_compiler
=yes
23687 echo "$as_me: failed program was:" >&5
23688 sed 's/^/| /' conftest.
$ac_ext >&5
23690 ac_header_compiler
=no
23692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23694 echo "${ECHO_T}$ac_header_compiler" >&6
23696 # Is the header present?
23697 echo "$as_me:$LINENO: checking hash_map presence" >&5
23698 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23699 cat >conftest.
$ac_ext <<_ACEOF
23702 cat confdefs.h
>>conftest.
$ac_ext
23703 cat >>conftest.
$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23705 #include <hash_map>
23707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23708 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23710 grep -v '^ *+' conftest.er1
>conftest.err
23712 cat conftest.err
>&5
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); } >/dev
/null
; then
23715 if test -s conftest.err
; then
23716 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23717 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23724 if test -z "$ac_cpp_err"; then
23725 ac_header_preproc
=yes
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.
$ac_ext >&5
23730 ac_header_preproc
=no
23732 rm -f conftest.err conftest.
$ac_ext
23733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23734 echo "${ECHO_T}$ac_header_preproc" >&6
23736 # So? What about this header?
23737 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23739 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23740 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23741 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23742 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23743 ac_header_preproc
=yes
23746 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23747 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23748 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23749 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23750 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23751 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23752 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23753 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23754 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23755 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23756 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23757 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23760 ## ----------------------------------------- ##
23761 ## Report this to wx-dev@lists.wxwidgets.org ##
23762 ## ----------------------------------------- ##
23765 sed "s/^/$as_me: WARNING: /" >&2
23768 echo "$as_me:$LINENO: checking for hash_map" >&5
23769 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23770 if test "${ac_cv_header_hash_map+set}" = set; then
23771 echo $ECHO_N "(cached) $ECHO_C" >&6
23773 ac_cv_header_hash_map
=$ac_header_preproc
23775 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23776 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23779 if test $ac_cv_header_hash_map = yes; then
23780 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23781 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23782 cat >conftest.
$ac_ext <<_ACEOF
23785 cat confdefs.h
>>conftest.
$ac_ext
23786 cat >>conftest.
$ac_ext <<_ACEOF
23787 /* end confdefs.h. */
23788 #include <hash_map>
23789 #include <hash_set>
23793 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23794 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23799 rm -f conftest.
$ac_objext
23800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23801 (eval $ac_compile) 2>conftest.er1
23803 grep -v '^ *+' conftest.er1
>conftest.err
23805 cat conftest.err
>&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } &&
23808 { ac_try
='test -z "$ac_cxx_werror_flag"
23809 || test ! -s conftest.err'
23810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23811 (eval $ac_try) 2>&5
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); }; } &&
23815 { ac_try
='test -s conftest.$ac_objext'
23816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23817 (eval $ac_try) 2>&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); }; }; then
23821 echo "$as_me:$LINENO: result: yes" >&5
23822 echo "${ECHO_T}yes" >&6
23823 cat >>confdefs.h
<<\_ACEOF
23824 #define HAVE_HASH_MAP 1
23827 cat >>confdefs.h
<<\_ACEOF
23828 #define HAVE_STD_HASH_MAP 1
23832 echo "$as_me: failed program was:" >&5
23833 sed 's/^/| /' conftest.
$ac_ext >&5
23835 echo "$as_me:$LINENO: result: no" >&5
23836 echo "${ECHO_T}no" >&6
23838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23844 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23845 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23846 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23847 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23848 echo $ECHO_N "(cached) $ECHO_C" >&6
23850 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23851 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23853 # Is the header compilable?
23854 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23855 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23856 cat >conftest.
$ac_ext <<_ACEOF
23859 cat confdefs.h
>>conftest.
$ac_ext
23860 cat >>conftest.
$ac_ext <<_ACEOF
23861 /* end confdefs.h. */
23862 $ac_includes_default
23863 #include <ext/hash_map>
23865 rm -f conftest.
$ac_objext
23866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23867 (eval $ac_compile) 2>conftest.er1
23869 grep -v '^ *+' conftest.er1
>conftest.err
23871 cat conftest.err
>&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); } &&
23874 { ac_try
='test -z "$ac_cxx_werror_flag"
23875 || test ! -s conftest.err'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; } &&
23881 { ac_try
='test -s conftest.$ac_objext'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; }; then
23887 ac_header_compiler
=yes
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.
$ac_ext >&5
23892 ac_header_compiler
=no
23894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23896 echo "${ECHO_T}$ac_header_compiler" >&6
23898 # Is the header present?
23899 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23900 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23901 cat >conftest.
$ac_ext <<_ACEOF
23904 cat confdefs.h
>>conftest.
$ac_ext
23905 cat >>conftest.
$ac_ext <<_ACEOF
23906 /* end confdefs.h. */
23907 #include <ext/hash_map>
23909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23910 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23912 grep -v '^ *+' conftest.er1
>conftest.err
23914 cat conftest.err
>&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); } >/dev
/null
; then
23917 if test -s conftest.err
; then
23918 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23919 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23926 if test -z "$ac_cpp_err"; then
23927 ac_header_preproc
=yes
23929 echo "$as_me: failed program was:" >&5
23930 sed 's/^/| /' conftest.
$ac_ext >&5
23932 ac_header_preproc
=no
23934 rm -f conftest.err conftest.
$ac_ext
23935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23936 echo "${ECHO_T}$ac_header_preproc" >&6
23938 # So? What about this header?
23939 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23941 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23942 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23943 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23944 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23945 ac_header_preproc
=yes
23948 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23949 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23950 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23951 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23952 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23953 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23954 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23955 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23956 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23957 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23958 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23959 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23962 ## ----------------------------------------- ##
23963 ## Report this to wx-dev@lists.wxwidgets.org ##
23964 ## ----------------------------------------- ##
23967 sed "s/^/$as_me: WARNING: /" >&2
23970 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23971 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23972 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6
23975 ac_cv_header_ext_hash_map
=$ac_header_preproc
23977 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23978 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23981 if test $ac_cv_header_ext_hash_map = yes; then
23982 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23983 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23984 cat >conftest.
$ac_ext <<_ACEOF
23987 cat confdefs.h
>>conftest.
$ac_ext
23988 cat >>conftest.
$ac_ext <<_ACEOF
23989 /* end confdefs.h. */
23990 #include <ext/hash_map>
23991 #include <ext/hash_set>
23995 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23996 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24001 rm -f conftest.
$ac_objext
24002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24003 (eval $ac_compile) 2>conftest.er1
24005 grep -v '^ *+' conftest.er1
>conftest.err
24007 cat conftest.err
>&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); } &&
24010 { ac_try
='test -z "$ac_cxx_werror_flag"
24011 || test ! -s conftest.err'
24012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24013 (eval $ac_try) 2>&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); }; } &&
24017 { ac_try
='test -s conftest.$ac_objext'
24018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24019 (eval $ac_try) 2>&5
24021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24022 (exit $ac_status); }; }; then
24023 echo "$as_me:$LINENO: result: yes" >&5
24024 echo "${ECHO_T}yes" >&6
24025 cat >>confdefs.h
<<\_ACEOF
24026 #define HAVE_EXT_HASH_MAP 1
24029 cat >>confdefs.h
<<\_ACEOF
24030 #define HAVE_GNU_CXX_HASH_MAP 1
24034 echo "$as_me: failed program was:" >&5
24035 sed 's/^/| /' conftest.
$ac_ext >&5
24037 echo "$as_me:$LINENO: result: no" >&5
24038 echo "${ECHO_T}no" >&6
24040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24049 /usr/local/include \
24051 /usr/Motif-2.1/include \
24052 /usr/Motif-1.2/include \
24053 /usr/include/Motif1.2 \
24056 /usr/openwin/include \
24060 /usr/X11R6/include \
24061 /usr/X11R6.4/include \
24062 /usr/X11R5/include \
24063 /usr/X11R4/include \
24065 /usr/include/X11R6 \
24066 /usr/include/X11R5 \
24067 /usr/include/X11R4 \
24069 /usr/local/X11R6/include \
24070 /usr/local/X11R5/include \
24071 /usr/local/X11R4/include \
24073 /usr/local/include/X11R6 \
24074 /usr/local/include/X11R5 \
24075 /usr/local/include/X11R4 \
24079 /usr/local/X11/include \
24080 /usr/local/include/X11 \
24082 /usr/XFree86/include/X11 \
24085 /usr/openwin/share/include"
24087 echo "$as_me:$LINENO: checking for libraries directory" >&5
24088 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24092 if test "${wx_cv_std_libpath+set}" = set; then
24093 echo $ECHO_N "(cached) $ECHO_C" >&6
24096 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24097 for e
in a so sl dylib dll.a
; do
24099 if test -f $libc; then
24102 cat >conftest.
$ac_ext <<_ACEOF
24103 int main() { return 0; }
24105 rm -f conftest.
$ac_objext conftest
$ac_exeext
24106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24107 (eval $ac_link) 2>conftest.er1
24109 grep -v '^ *+' conftest.er1
>conftest.err
24111 cat conftest.err
>&5
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); } &&
24114 { ac_try
='test -z "$ac_cxx_werror_flag"
24115 || test ! -s conftest.err'
24116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24117 (eval $ac_try) 2>&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); }; } &&
24121 { ac_try
='test -s conftest$ac_exeext'
24122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24123 (eval $ac_try) 2>&5
24125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126 (exit $ac_status); }; }; then
24127 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24129 echo "$as_me: failed program was:" >&5
24130 sed 's/^/| /' conftest.
$ac_ext >&5
24133 rm -f conftest.err conftest.
$ac_objext \
24134 conftest
$ac_exeext conftest.
$ac_ext
24136 if test "x$wx_cv_std_libpath" != "x"; then
24142 if test "x$wx_cv_std_libpath" = "x"; then
24143 wx_cv_std_libpath
="lib"
24152 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24153 wx_cv_std_libpath
="lib/64"
24155 wx_cv_std_libpath
="lib"
24160 if test "$ac_cv_sizeof_void_p" = 8 -a \
24161 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24162 wx_cv_std_libpath
="lib64"
24164 wx_cv_std_libpath
="lib"
24169 wx_cv_std_libpath
="lib";
24173 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24174 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24176 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24178 if test "$build" != "$host" -a "$GCC" = yes; then
24179 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24180 cross_root
=`dirname $cross_root`
24181 cross_root
=`dirname $cross_root`
24183 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24184 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24185 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24187 if test -z "$PKG_CONFIG_PATH"; then
24188 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24189 export PKG_CONFIG_PATH
24192 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24195 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24197 if test -f "$ac_dir/X11/Intrinsic.h"; then
24198 ac_find_includes
=$ac_dir
24203 x_includes
=$ac_find_includes
24205 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24208 for ac_dir
in $SEARCH_LIB;
24210 for ac_extension
in a so sl dylib dll.a
; do
24211 if test -f "$ac_dir/libXt.$ac_extension"; then
24212 ac_find_libraries
=$ac_dir
24218 x_libraries
=$ac_find_libraries
24224 cat >confcache
<<\_ACEOF
24225 # This file is a shell script that caches the results of configure
24226 # tests run on this system so they can be shared between configure
24227 # scripts and configure runs, see configure's option --config-cache.
24228 # It is not useful on other systems. If it contains results you don't
24229 # want to keep, you may remove or edit it.
24231 # config.status only pays attention to the cache file if you give it
24232 # the --recheck option to rerun configure.
24234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24236 # following values.
24240 # The following way of writing the cache mishandles newlines in values,
24241 # but we know of no workaround that is simple, portable, and efficient.
24242 # So, don't put newlines in cache variables' values.
24243 # Ultrix sh set writes to stderr and can't be redirected directly,
24244 # and sets the high bit in the cache file unless we assign to the vars.
24247 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24249 # `set' does not quote correctly, so add quotes (double-quote
24250 # substitution turns \\\\ into \\, and sed turns \\ into \).
24253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24256 # `set' quotes correctly as required by POSIX, so do not add quotes.
24258 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24265 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24267 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24269 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24270 if test -w $cache_file; then
24271 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24272 cat confcache
>$cache_file
24274 echo "not updating unwritable cache $cache_file"
24279 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24280 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24281 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24282 if test "${wx_cv_lib_glibc21+set}" = set; then
24283 echo $ECHO_N "(cached) $ECHO_C" >&6
24286 cat >conftest.
$ac_ext <<_ACEOF
24289 cat confdefs.h
>>conftest.
$ac_ext
24290 cat >>conftest.
$ac_ext <<_ACEOF
24291 /* end confdefs.h. */
24292 #include <features.h>
24297 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24305 rm -f conftest.
$ac_objext
24306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24307 (eval $ac_compile) 2>conftest.er1
24309 grep -v '^ *+' conftest.er1
>conftest.err
24311 cat conftest.err
>&5
24312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313 (exit $ac_status); } &&
24314 { ac_try
='test -z "$ac_cxx_werror_flag"
24315 || test ! -s conftest.err'
24316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24317 (eval $ac_try) 2>&5
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); }; } &&
24321 { ac_try
='test -s conftest.$ac_objext'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; }; then
24328 wx_cv_lib_glibc21
=yes
24331 echo "$as_me: failed program was:" >&5
24332 sed 's/^/| /' conftest.
$ac_ext >&5
24335 wx_cv_lib_glibc21
=no
24339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24342 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24343 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24344 if test "$wx_cv_lib_glibc21" = "yes"; then
24345 cat >>confdefs.h
<<\_ACEOF
24346 #define wxHAVE_GLIBC2 1
24352 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24353 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24354 cat >>confdefs.h
<<\_ACEOF
24355 #define _GNU_SOURCE 1
24366 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24367 echo "$as_me:$LINENO: checking for $ac_func" >&5
24368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24369 if eval "test \"\${$as_ac_var+set}\" = set"; then
24370 echo $ECHO_N "(cached) $ECHO_C" >&6
24372 cat >conftest.
$ac_ext <<_ACEOF
24375 cat confdefs.h
>>conftest.
$ac_ext
24376 cat >>conftest.
$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24380 #define $ac_func innocuous_$ac_func
24382 /* System header to define __stub macros and hopefully few prototypes,
24383 which can conflict with char $ac_func (); below.
24384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24385 <limits.h> exists even on freestanding compilers. */
24388 # include <limits.h>
24390 # include <assert.h>
24395 /* Override any gcc2 internal prototype to avoid an error. */
24400 /* We use char because int might match the return type of a gcc2
24401 builtin and then its argument prototype would still apply. */
24403 /* The GNU C library defines this for functions which it implements
24404 to always fail with ENOSYS. Some functions are actually named
24405 something starting with __ and the normal name is an alias. */
24406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24409 char (*f) () = $ac_func;
24418 return f != $ac_func;
24423 rm -f conftest.
$ac_objext conftest
$ac_exeext
24424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24425 (eval $ac_link) 2>conftest.er1
24427 grep -v '^ *+' conftest.er1
>conftest.err
24429 cat conftest.err
>&5
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); } &&
24432 { ac_try
='test -z "$ac_cxx_werror_flag"
24433 || test ! -s conftest.err'
24434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24435 (eval $ac_try) 2>&5
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); }; } &&
24439 { ac_try
='test -s conftest$ac_exeext'
24440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24441 (eval $ac_try) 2>&5
24443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24444 (exit $ac_status); }; }; then
24445 eval "$as_ac_var=yes"
24447 echo "$as_me: failed program was:" >&5
24448 sed 's/^/| /' conftest.
$ac_ext >&5
24450 eval "$as_ac_var=no"
24452 rm -f conftest.err conftest.
$ac_objext \
24453 conftest
$ac_exeext conftest.
$ac_ext
24455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24457 if test `eval echo '${'$as_ac_var'}'` = yes; then
24458 cat >>confdefs.h
<<_ACEOF
24459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24466 for ac_func
in floor
24468 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24469 echo "$as_me:$LINENO: checking for $ac_func" >&5
24470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24471 if eval "test \"\${$as_ac_var+set}\" = set"; then
24472 echo $ECHO_N "(cached) $ECHO_C" >&6
24474 cat >conftest.
$ac_ext <<_ACEOF
24477 cat confdefs.h
>>conftest.
$ac_ext
24478 cat >>conftest.
$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24482 #define $ac_func innocuous_$ac_func
24484 /* System header to define __stub macros and hopefully few prototypes,
24485 which can conflict with char $ac_func (); below.
24486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24487 <limits.h> exists even on freestanding compilers. */
24490 # include <limits.h>
24492 # include <assert.h>
24497 /* Override any gcc2 internal prototype to avoid an error. */
24502 /* We use char because int might match the return type of a gcc2
24503 builtin and then its argument prototype would still apply. */
24505 /* The GNU C library defines this for functions which it implements
24506 to always fail with ENOSYS. Some functions are actually named
24507 something starting with __ and the normal name is an alias. */
24508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24511 char (*f) () = $ac_func;
24520 return f != $ac_func;
24525 rm -f conftest.
$ac_objext conftest
$ac_exeext
24526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24527 (eval $ac_link) 2>conftest.er1
24529 grep -v '^ *+' conftest.er1
>conftest.err
24531 cat conftest.err
>&5
24532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); } &&
24534 { ac_try
='test -z "$ac_cxx_werror_flag"
24535 || test ! -s conftest.err'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; } &&
24541 { ac_try
='test -s conftest$ac_exeext'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; }; then
24547 eval "$as_ac_var=yes"
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.
$ac_ext >&5
24552 eval "$as_ac_var=no"
24554 rm -f conftest.err conftest.
$ac_objext \
24555 conftest
$ac_exeext conftest.
$ac_ext
24557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24559 if test `eval echo '${'$as_ac_var'}'` = yes; then
24560 cat >>confdefs.h
<<_ACEOF
24561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24567 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24568 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24569 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24570 echo "$as_me:$LINENO: result: yes" >&5
24571 echo "${ECHO_T}yes" >&6
24573 echo "$as_me:$LINENO: result: no" >&5
24574 echo "${ECHO_T}no" >&6
24576 # use different functions to avoid configure caching
24582 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24583 echo "$as_me:$LINENO: checking for $ac_func" >&5
24584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24585 if eval "test \"\${$as_ac_var+set}\" = set"; then
24586 echo $ECHO_N "(cached) $ECHO_C" >&6
24588 cat >conftest.
$ac_ext <<_ACEOF
24591 cat confdefs.h
>>conftest.
$ac_ext
24592 cat >>conftest.
$ac_ext <<_ACEOF
24593 /* end confdefs.h. */
24594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24596 #define $ac_func innocuous_$ac_func
24598 /* System header to define __stub macros and hopefully few prototypes,
24599 which can conflict with char $ac_func (); below.
24600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24601 <limits.h> exists even on freestanding compilers. */
24604 # include <limits.h>
24606 # include <assert.h>
24611 /* Override any gcc2 internal prototype to avoid an error. */
24616 /* We use char because int might match the return type of a gcc2
24617 builtin and then its argument prototype would still apply. */
24619 /* The GNU C library defines this for functions which it implements
24620 to always fail with ENOSYS. Some functions are actually named
24621 something starting with __ and the normal name is an alias. */
24622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24625 char (*f) () = $ac_func;
24634 return f != $ac_func;
24639 rm -f conftest.
$ac_objext conftest
$ac_exeext
24640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24641 (eval $ac_link) 2>conftest.er1
24643 grep -v '^ *+' conftest.er1
>conftest.err
24645 cat conftest.err
>&5
24646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24647 (exit $ac_status); } &&
24648 { ac_try
='test -z "$ac_cxx_werror_flag"
24649 || test ! -s conftest.err'
24650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24651 (eval $ac_try) 2>&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); }; } &&
24655 { ac_try
='test -s conftest$ac_exeext'
24656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24657 (eval $ac_try) 2>&5
24659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24660 (exit $ac_status); }; }; then
24661 eval "$as_ac_var=yes"
24663 echo "$as_me: failed program was:" >&5
24664 sed 's/^/| /' conftest.
$ac_ext >&5
24666 eval "$as_ac_var=no"
24668 rm -f conftest.err conftest.
$ac_objext \
24669 conftest
$ac_exeext conftest.
$ac_ext
24671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24673 if test `eval echo '${'$as_ac_var'}'` = yes; then
24674 cat >>confdefs.h
<<_ACEOF
24675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24682 for ac_func
in ceil
24684 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24685 echo "$as_me:$LINENO: checking for $ac_func" >&5
24686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24687 if eval "test \"\${$as_ac_var+set}\" = set"; then
24688 echo $ECHO_N "(cached) $ECHO_C" >&6
24690 cat >conftest.
$ac_ext <<_ACEOF
24693 cat confdefs.h
>>conftest.
$ac_ext
24694 cat >>conftest.
$ac_ext <<_ACEOF
24695 /* end confdefs.h. */
24696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24698 #define $ac_func innocuous_$ac_func
24700 /* System header to define __stub macros and hopefully few prototypes,
24701 which can conflict with char $ac_func (); below.
24702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24703 <limits.h> exists even on freestanding compilers. */
24706 # include <limits.h>
24708 # include <assert.h>
24713 /* Override any gcc2 internal prototype to avoid an error. */
24718 /* We use char because int might match the return type of a gcc2
24719 builtin and then its argument prototype would still apply. */
24721 /* The GNU C library defines this for functions which it implements
24722 to always fail with ENOSYS. Some functions are actually named
24723 something starting with __ and the normal name is an alias. */
24724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24727 char (*f) () = $ac_func;
24736 return f != $ac_func;
24741 rm -f conftest.
$ac_objext conftest
$ac_exeext
24742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24743 (eval $ac_link) 2>conftest.er1
24745 grep -v '^ *+' conftest.er1
>conftest.err
24747 cat conftest.err
>&5
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); } &&
24750 { ac_try
='test -z "$ac_cxx_werror_flag"
24751 || test ! -s conftest.err'
24752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24753 (eval $ac_try) 2>&5
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); }; } &&
24757 { ac_try
='test -s conftest$ac_exeext'
24758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24759 (eval $ac_try) 2>&5
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); }; }; then
24763 eval "$as_ac_var=yes"
24765 echo "$as_me: failed program was:" >&5
24766 sed 's/^/| /' conftest.
$ac_ext >&5
24768 eval "$as_ac_var=no"
24770 rm -f conftest.err conftest.
$ac_objext \
24771 conftest
$ac_exeext conftest.
$ac_ext
24773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24775 if test `eval echo '${'$as_ac_var'}'` = yes; then
24776 cat >>confdefs.h
<<_ACEOF
24777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24783 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24784 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24785 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24786 echo "$as_me:$LINENO: result: yes" >&5
24787 echo "${ECHO_T}yes" >&6
24789 echo "$as_me:$LINENO: result: no" >&5
24790 echo "${ECHO_T}no" >&6
24791 # not sure we should warn the user, crash, etc.
24797 if test "$wxUSE_REGEX" != "no"; then
24798 cat >>confdefs.h
<<\_ACEOF
24799 #define wxUSE_REGEX 1
24803 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24804 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24805 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24806 wxUSE_REGEX
=builtin
24809 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24810 if test "${ac_cv_header_regex_h+set}" = set; then
24811 echo "$as_me:$LINENO: checking for regex.h" >&5
24812 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24813 if test "${ac_cv_header_regex_h+set}" = set; then
24814 echo $ECHO_N "(cached) $ECHO_C" >&6
24816 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24817 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24819 # Is the header compilable?
24820 echo "$as_me:$LINENO: checking regex.h usability" >&5
24821 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24822 cat >conftest.
$ac_ext <<_ACEOF
24825 cat confdefs.h
>>conftest.
$ac_ext
24826 cat >>conftest.
$ac_ext <<_ACEOF
24827 /* end confdefs.h. */
24828 $ac_includes_default
24831 rm -f conftest.
$ac_objext
24832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24833 (eval $ac_compile) 2>conftest.er1
24835 grep -v '^ *+' conftest.er1
>conftest.err
24837 cat conftest.err
>&5
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); } &&
24840 { ac_try
='test -z "$ac_cxx_werror_flag"
24841 || test ! -s conftest.err'
24842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24843 (eval $ac_try) 2>&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); }; } &&
24847 { ac_try
='test -s conftest.$ac_objext'
24848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24849 (eval $ac_try) 2>&5
24851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852 (exit $ac_status); }; }; then
24853 ac_header_compiler
=yes
24855 echo "$as_me: failed program was:" >&5
24856 sed 's/^/| /' conftest.
$ac_ext >&5
24858 ac_header_compiler
=no
24860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24862 echo "${ECHO_T}$ac_header_compiler" >&6
24864 # Is the header present?
24865 echo "$as_me:$LINENO: checking regex.h presence" >&5
24866 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24867 cat >conftest.
$ac_ext <<_ACEOF
24870 cat confdefs.h
>>conftest.
$ac_ext
24871 cat >>conftest.
$ac_ext <<_ACEOF
24872 /* end confdefs.h. */
24875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24876 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24878 grep -v '^ *+' conftest.er1
>conftest.err
24880 cat conftest.err
>&5
24881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24882 (exit $ac_status); } >/dev
/null
; then
24883 if test -s conftest.err
; then
24884 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24885 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24892 if test -z "$ac_cpp_err"; then
24893 ac_header_preproc
=yes
24895 echo "$as_me: failed program was:" >&5
24896 sed 's/^/| /' conftest.
$ac_ext >&5
24898 ac_header_preproc
=no
24900 rm -f conftest.err conftest.
$ac_ext
24901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24902 echo "${ECHO_T}$ac_header_preproc" >&6
24904 # So? What about this header?
24905 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24907 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24908 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24909 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24910 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24911 ac_header_preproc
=yes
24914 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24915 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24916 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24917 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24918 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24919 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24920 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24921 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24922 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24923 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24924 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24925 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24928 ## ----------------------------------------- ##
24929 ## Report this to wx-dev@lists.wxwidgets.org ##
24930 ## ----------------------------------------- ##
24933 sed "s/^/$as_me: WARNING: /" >&2
24936 echo "$as_me:$LINENO: checking for regex.h" >&5
24937 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24938 if test "${ac_cv_header_regex_h+set}" = set; then
24939 echo $ECHO_N "(cached) $ECHO_C" >&6
24941 ac_cv_header_regex_h
=$ac_header_preproc
24943 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24944 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24947 if test $ac_cv_header_regex_h = yes; then
24950 for ac_func
in regcomp re_search
24952 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24953 echo "$as_me:$LINENO: checking for $ac_func" >&5
24954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24955 if eval "test \"\${$as_ac_var+set}\" = set"; then
24956 echo $ECHO_N "(cached) $ECHO_C" >&6
24958 cat >conftest.
$ac_ext <<_ACEOF
24961 cat confdefs.h
>>conftest.
$ac_ext
24962 cat >>conftest.
$ac_ext <<_ACEOF
24963 /* end confdefs.h. */
24964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24966 #define $ac_func innocuous_$ac_func
24968 /* System header to define __stub macros and hopefully few prototypes,
24969 which can conflict with char $ac_func (); below.
24970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24971 <limits.h> exists even on freestanding compilers. */
24974 # include <limits.h>
24976 # include <assert.h>
24981 /* Override any gcc2 internal prototype to avoid an error. */
24986 /* We use char because int might match the return type of a gcc2
24987 builtin and then its argument prototype would still apply. */
24989 /* The GNU C library defines this for functions which it implements
24990 to always fail with ENOSYS. Some functions are actually named
24991 something starting with __ and the normal name is an alias. */
24992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24995 char (*f) () = $ac_func;
25004 return f != $ac_func;
25009 rm -f conftest.
$ac_objext conftest
$ac_exeext
25010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25011 (eval $ac_link) 2>conftest.er1
25013 grep -v '^ *+' conftest.er1
>conftest.err
25015 cat conftest.err
>&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); } &&
25018 { ac_try
='test -z "$ac_cxx_werror_flag"
25019 || test ! -s conftest.err'
25020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021 (eval $ac_try) 2>&5
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; } &&
25025 { ac_try
='test -s conftest$ac_exeext'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; }; then
25031 eval "$as_ac_var=yes"
25033 echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.
$ac_ext >&5
25036 eval "$as_ac_var=no"
25038 rm -f conftest.err conftest.
$ac_objext \
25039 conftest
$ac_exeext conftest.
$ac_ext
25041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25043 if test `eval echo '${'$as_ac_var'}'` = yes; then
25044 cat >>confdefs.h
<<_ACEOF
25045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25055 if test "x$ac_cv_func_regcomp" != "xyes"; then
25056 if test "$wxUSE_REGEX" = "sys" ; then
25057 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25058 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25059 { (exit 1); exit 1; }; }
25061 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25062 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25063 wxUSE_REGEX
=builtin
25067 cat >>confdefs.h
<<\_ACEOF
25068 #define WX_NO_REGEX_ADVANCED 1
25077 if test "$wxUSE_ZLIB" != "no" ; then
25078 cat >>confdefs.h
<<\_ACEOF
25079 #define wxUSE_ZLIB 1
25083 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25084 if test "$USE_DARWIN" = 1; then
25085 system_zlib_h_ok
="yes"
25087 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25088 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25089 if test "${ac_cv_header_zlib_h+set}" = set; then
25090 echo $ECHO_N "(cached) $ECHO_C" >&6
25092 if test "$cross_compiling" = yes; then
25093 unset ac_cv_header_zlib_h
25096 cat >conftest.
$ac_ext <<_ACEOF
25099 cat confdefs.h
>>conftest.
$ac_ext
25100 cat >>conftest.
$ac_ext <<_ACEOF
25101 /* end confdefs.h. */
25108 FILE *f=fopen("conftestval", "w");
25111 ZLIB_VERSION[0] == '1' &&
25112 (ZLIB_VERSION[2] > '1' ||
25113 (ZLIB_VERSION[2] == '1' &&
25114 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25119 rm -f conftest
$ac_exeext
25120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25121 (eval $ac_link) 2>&5
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25126 (eval $ac_try) 2>&5
25128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129 (exit $ac_status); }; }; then
25130 ac_cv_header_zlib_h
=`cat conftestval`
25132 echo "$as_me: program exited with status $ac_status" >&5
25133 echo "$as_me: failed program was:" >&5
25134 sed 's/^/| /' conftest.
$ac_ext >&5
25136 ( exit $ac_status )
25137 ac_cv_header_zlib_h
=no
25139 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25143 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25144 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25145 if test "${ac_cv_header_zlib_h+set}" = set; then
25146 echo "$as_me:$LINENO: checking for zlib.h" >&5
25147 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25148 if test "${ac_cv_header_zlib_h+set}" = set; then
25149 echo $ECHO_N "(cached) $ECHO_C" >&6
25151 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25152 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25154 # Is the header compilable?
25155 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25156 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25157 cat >conftest.
$ac_ext <<_ACEOF
25160 cat confdefs.h
>>conftest.
$ac_ext
25161 cat >>conftest.
$ac_ext <<_ACEOF
25162 /* end confdefs.h. */
25163 $ac_includes_default
25166 rm -f conftest.
$ac_objext
25167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25168 (eval $ac_compile) 2>conftest.er1
25170 grep -v '^ *+' conftest.er1
>conftest.err
25172 cat conftest.err
>&5
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); } &&
25175 { ac_try
='test -z "$ac_cxx_werror_flag"
25176 || test ! -s conftest.err'
25177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25178 (eval $ac_try) 2>&5
25180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25181 (exit $ac_status); }; } &&
25182 { ac_try
='test -s conftest.$ac_objext'
25183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25184 (eval $ac_try) 2>&5
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); }; }; then
25188 ac_header_compiler
=yes
25190 echo "$as_me: failed program was:" >&5
25191 sed 's/^/| /' conftest.
$ac_ext >&5
25193 ac_header_compiler
=no
25195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25197 echo "${ECHO_T}$ac_header_compiler" >&6
25199 # Is the header present?
25200 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25201 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25202 cat >conftest.
$ac_ext <<_ACEOF
25205 cat confdefs.h
>>conftest.
$ac_ext
25206 cat >>conftest.
$ac_ext <<_ACEOF
25207 /* end confdefs.h. */
25210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25211 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25213 grep -v '^ *+' conftest.er1
>conftest.err
25215 cat conftest.err
>&5
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); } >/dev
/null
; then
25218 if test -s conftest.err
; then
25219 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25220 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25227 if test -z "$ac_cpp_err"; then
25228 ac_header_preproc
=yes
25230 echo "$as_me: failed program was:" >&5
25231 sed 's/^/| /' conftest.
$ac_ext >&5
25233 ac_header_preproc
=no
25235 rm -f conftest.err conftest.
$ac_ext
25236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25237 echo "${ECHO_T}$ac_header_preproc" >&6
25239 # So? What about this header?
25240 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25242 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25243 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25244 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25245 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25246 ac_header_preproc
=yes
25249 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25250 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25251 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25252 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25253 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25254 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25255 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25256 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25257 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25258 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25259 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25260 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25263 ## ----------------------------------------- ##
25264 ## Report this to wx-dev@lists.wxwidgets.org ##
25265 ## ----------------------------------------- ##
25268 sed "s/^/$as_me: WARNING: /" >&2
25271 echo "$as_me:$LINENO: checking for zlib.h" >&5
25272 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25273 if test "${ac_cv_header_zlib_h+set}" = set; then
25274 echo $ECHO_N "(cached) $ECHO_C" >&6
25276 ac_cv_header_zlib_h
=$ac_header_preproc
25278 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25279 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25285 system_zlib_h_ok
=$ac_cv_header_zlib_h
25288 if test "$system_zlib_h_ok" = "yes"; then
25289 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25290 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25291 if test "${ac_cv_lib_z_deflate+set}" = set; then
25292 echo $ECHO_N "(cached) $ECHO_C" >&6
25294 ac_check_lib_save_LIBS
=$LIBS
25296 cat >conftest.
$ac_ext <<_ACEOF
25299 cat confdefs.h
>>conftest.
$ac_ext
25300 cat >>conftest.
$ac_ext <<_ACEOF
25301 /* end confdefs.h. */
25303 /* Override any gcc2 internal prototype to avoid an error. */
25307 /* We use char because int might match the return type of a gcc2
25308 builtin and then its argument prototype would still apply. */
25318 rm -f conftest.
$ac_objext conftest
$ac_exeext
25319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25320 (eval $ac_link) 2>conftest.er1
25322 grep -v '^ *+' conftest.er1
>conftest.err
25324 cat conftest.err
>&5
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); } &&
25327 { ac_try
='test -z "$ac_cxx_werror_flag"
25328 || test ! -s conftest.err'
25329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25330 (eval $ac_try) 2>&5
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); }; } &&
25334 { ac_try
='test -s conftest$ac_exeext'
25335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25336 (eval $ac_try) 2>&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); }; }; then
25340 ac_cv_lib_z_deflate
=yes
25342 echo "$as_me: failed program was:" >&5
25343 sed 's/^/| /' conftest.
$ac_ext >&5
25345 ac_cv_lib_z_deflate
=no
25347 rm -f conftest.err conftest.
$ac_objext \
25348 conftest
$ac_exeext conftest.
$ac_ext
25349 LIBS
=$ac_check_lib_save_LIBS
25351 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25352 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25353 if test $ac_cv_lib_z_deflate = yes; then
25359 if test "x$ZLIB_LINK" = "x" ; then
25360 if test "$wxUSE_ZLIB" = "sys" ; then
25361 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25362 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25363 { (exit 1); exit 1; }; }
25365 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25366 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25377 if test "$wxUSE_LIBPNG" != "no" ; then
25378 cat >>confdefs.h
<<\_ACEOF
25379 #define wxUSE_LIBPNG 1
25383 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25384 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25385 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25389 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25390 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25391 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25392 wxUSE_LIBPNG
=builtin
25395 if test "$wxUSE_MGL" != 1 ; then
25396 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25397 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25398 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25399 if test "${ac_cv_header_png_h+set}" = set; then
25400 echo $ECHO_N "(cached) $ECHO_C" >&6
25402 if test "$cross_compiling" = yes; then
25403 unset ac_cv_header_png_h
25406 cat >conftest.
$ac_ext <<_ACEOF
25409 cat confdefs.h
>>conftest.
$ac_ext
25410 cat >>conftest.
$ac_ext <<_ACEOF
25411 /* end confdefs.h. */
25418 FILE *f=fopen("conftestval", "w");
25421 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25426 rm -f conftest
$ac_exeext
25427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25428 (eval $ac_link) 2>&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25433 (eval $ac_try) 2>&5
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); }; }; then
25437 ac_cv_header_png_h
=`cat conftestval`
25439 echo "$as_me: program exited with status $ac_status" >&5
25440 echo "$as_me: failed program was:" >&5
25441 sed 's/^/| /' conftest.
$ac_ext >&5
25443 ( exit $ac_status )
25444 ac_cv_header_png_h
=no
25446 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25450 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25451 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25452 if test "${ac_cv_header_png_h+set}" = set; then
25453 echo "$as_me:$LINENO: checking for png.h" >&5
25454 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25455 if test "${ac_cv_header_png_h+set}" = set; then
25456 echo $ECHO_N "(cached) $ECHO_C" >&6
25458 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25459 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25461 # Is the header compilable?
25462 echo "$as_me:$LINENO: checking png.h usability" >&5
25463 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25464 cat >conftest.
$ac_ext <<_ACEOF
25467 cat confdefs.h
>>conftest.
$ac_ext
25468 cat >>conftest.
$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25470 $ac_includes_default
25473 rm -f conftest.
$ac_objext
25474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25475 (eval $ac_compile) 2>conftest.er1
25477 grep -v '^ *+' conftest.er1
>conftest.err
25479 cat conftest.err
>&5
25480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481 (exit $ac_status); } &&
25482 { ac_try
='test -z "$ac_cxx_werror_flag"
25483 || test ! -s conftest.err'
25484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25485 (eval $ac_try) 2>&5
25487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488 (exit $ac_status); }; } &&
25489 { ac_try
='test -s conftest.$ac_objext'
25490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25491 (eval $ac_try) 2>&5
25493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25494 (exit $ac_status); }; }; then
25495 ac_header_compiler
=yes
25497 echo "$as_me: failed program was:" >&5
25498 sed 's/^/| /' conftest.
$ac_ext >&5
25500 ac_header_compiler
=no
25502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25504 echo "${ECHO_T}$ac_header_compiler" >&6
25506 # Is the header present?
25507 echo "$as_me:$LINENO: checking png.h presence" >&5
25508 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25509 cat >conftest.
$ac_ext <<_ACEOF
25512 cat confdefs.h
>>conftest.
$ac_ext
25513 cat >>conftest.
$ac_ext <<_ACEOF
25514 /* end confdefs.h. */
25517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25518 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25520 grep -v '^ *+' conftest.er1
>conftest.err
25522 cat conftest.err
>&5
25523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25524 (exit $ac_status); } >/dev
/null
; then
25525 if test -s conftest.err
; then
25526 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25527 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25534 if test -z "$ac_cpp_err"; then
25535 ac_header_preproc
=yes
25537 echo "$as_me: failed program was:" >&5
25538 sed 's/^/| /' conftest.
$ac_ext >&5
25540 ac_header_preproc
=no
25542 rm -f conftest.err conftest.
$ac_ext
25543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25544 echo "${ECHO_T}$ac_header_preproc" >&6
25546 # So? What about this header?
25547 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25549 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25550 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25551 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25552 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25553 ac_header_preproc
=yes
25556 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25557 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25558 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25559 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25560 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25561 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25562 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25563 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25564 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25565 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25566 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25567 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25570 ## ----------------------------------------- ##
25571 ## Report this to wx-dev@lists.wxwidgets.org ##
25572 ## ----------------------------------------- ##
25575 sed "s/^/$as_me: WARNING: /" >&2
25578 echo "$as_me:$LINENO: checking for png.h" >&5
25579 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25580 if test "${ac_cv_header_png_h+set}" = set; then
25581 echo $ECHO_N "(cached) $ECHO_C" >&6
25583 ac_cv_header_png_h
=$ac_header_preproc
25585 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25586 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25592 if test "$ac_cv_header_png_h" = "yes"; then
25593 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25594 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25595 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25596 echo $ECHO_N "(cached) $ECHO_C" >&6
25598 ac_check_lib_save_LIBS
=$LIBS
25599 LIBS
="-lpng -lz -lm $LIBS"
25600 cat >conftest.
$ac_ext <<_ACEOF
25603 cat confdefs.h
>>conftest.
$ac_ext
25604 cat >>conftest.
$ac_ext <<_ACEOF
25605 /* end confdefs.h. */
25607 /* Override any gcc2 internal prototype to avoid an error. */
25611 /* We use char because int might match the return type of a gcc2
25612 builtin and then its argument prototype would still apply. */
25613 char png_check_sig ();
25622 rm -f conftest.
$ac_objext conftest
$ac_exeext
25623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25624 (eval $ac_link) 2>conftest.er1
25626 grep -v '^ *+' conftest.er1
>conftest.err
25628 cat conftest.err
>&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } &&
25631 { ac_try
='test -z "$ac_cxx_werror_flag"
25632 || test ! -s conftest.err'
25633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25634 (eval $ac_try) 2>&5
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); }; } &&
25638 { ac_try
='test -s conftest$ac_exeext'
25639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25640 (eval $ac_try) 2>&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); }; }; then
25644 ac_cv_lib_png_png_check_sig
=yes
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.
$ac_ext >&5
25649 ac_cv_lib_png_png_check_sig
=no
25651 rm -f conftest.err conftest.
$ac_objext \
25652 conftest
$ac_exeext conftest.
$ac_ext
25653 LIBS
=$ac_check_lib_save_LIBS
25655 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25656 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25657 if test $ac_cv_lib_png_png_check_sig = yes; then
25658 PNG_LINK
=" -lpng -lz"
25663 if test "x$PNG_LINK" = "x" ; then
25664 if test "$wxUSE_LIBPNG" = "sys" ; then
25665 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25666 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25667 { (exit 1); exit 1; }; }
25669 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25670 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25671 wxUSE_LIBPNG
=builtin
25679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25684 if test "$wxUSE_LIBJPEG" != "no" ; then
25685 cat >>confdefs.h
<<\_ACEOF
25686 #define wxUSE_LIBJPEG 1
25690 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25691 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25692 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25696 if test "$wxUSE_MGL" != 1 ; then
25697 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25698 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25699 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25700 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25701 echo $ECHO_N "(cached) $ECHO_C" >&6
25703 cat >conftest.
$ac_ext <<_ACEOF
25706 cat confdefs.h
>>conftest.
$ac_ext
25707 cat >>conftest.
$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25710 #undef HAVE_STDLIB_H
25712 #include <jpeglib.h>
25723 rm -f conftest.
$ac_objext
25724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25725 (eval $ac_compile) 2>conftest.er1
25727 grep -v '^ *+' conftest.er1
>conftest.err
25729 cat conftest.err
>&5
25730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731 (exit $ac_status); } &&
25732 { ac_try
='test -z "$ac_cxx_werror_flag"
25733 || test ! -s conftest.err'
25734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25735 (eval $ac_try) 2>&5
25737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738 (exit $ac_status); }; } &&
25739 { ac_try
='test -s conftest.$ac_objext'
25740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25741 (eval $ac_try) 2>&5
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); }; }; then
25745 ac_cv_header_jpeglib_h
=yes
25747 echo "$as_me: failed program was:" >&5
25748 sed 's/^/| /' conftest.
$ac_ext >&5
25750 ac_cv_header_jpeglib_h
=no
25753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25757 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25758 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25760 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25761 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25762 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25763 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25764 echo $ECHO_N "(cached) $ECHO_C" >&6
25766 ac_check_lib_save_LIBS
=$LIBS
25767 LIBS
="-ljpeg $LIBS"
25768 cat >conftest.
$ac_ext <<_ACEOF
25771 cat confdefs.h
>>conftest.
$ac_ext
25772 cat >>conftest.
$ac_ext <<_ACEOF
25773 /* end confdefs.h. */
25775 /* Override any gcc2 internal prototype to avoid an error. */
25779 /* We use char because int might match the return type of a gcc2
25780 builtin and then its argument prototype would still apply. */
25781 char jpeg_read_header ();
25785 jpeg_read_header ();
25790 rm -f conftest.
$ac_objext conftest
$ac_exeext
25791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25792 (eval $ac_link) 2>conftest.er1
25794 grep -v '^ *+' conftest.er1
>conftest.err
25796 cat conftest.err
>&5
25797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798 (exit $ac_status); } &&
25799 { ac_try
='test -z "$ac_cxx_werror_flag"
25800 || test ! -s conftest.err'
25801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25802 (eval $ac_try) 2>&5
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); }; } &&
25806 { ac_try
='test -s conftest$ac_exeext'
25807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25808 (eval $ac_try) 2>&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); }; }; then
25812 ac_cv_lib_jpeg_jpeg_read_header
=yes
25814 echo "$as_me: failed program was:" >&5
25815 sed 's/^/| /' conftest.
$ac_ext >&5
25817 ac_cv_lib_jpeg_jpeg_read_header
=no
25819 rm -f conftest.err conftest.
$ac_objext \
25820 conftest
$ac_exeext conftest.
$ac_ext
25821 LIBS
=$ac_check_lib_save_LIBS
25823 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25824 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25825 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25826 JPEG_LINK
=" -ljpeg"
25831 if test "x$JPEG_LINK" = "x" ; then
25832 if test "$wxUSE_LIBJPEG" = "sys" ; then
25833 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25834 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25835 { (exit 1); exit 1; }; }
25837 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25838 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25839 wxUSE_LIBJPEG
=builtin
25850 TIFF_PREREQ_LINKS
=-lm
25851 if test "$wxUSE_LIBTIFF" != "no" ; then
25852 cat >>confdefs.h
<<\_ACEOF
25853 #define wxUSE_LIBTIFF 1
25857 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25858 if test "$wxUSE_LIBJPEG" = "sys"; then
25859 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25861 if test "$wxUSE_ZLIB" = "sys"; then
25862 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25864 if test "${ac_cv_header_tiffio_h+set}" = set; then
25865 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25866 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25867 if test "${ac_cv_header_tiffio_h+set}" = set; then
25868 echo $ECHO_N "(cached) $ECHO_C" >&6
25870 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25871 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25873 # Is the header compilable?
25874 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25875 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25876 cat >conftest.
$ac_ext <<_ACEOF
25879 cat confdefs.h
>>conftest.
$ac_ext
25880 cat >>conftest.
$ac_ext <<_ACEOF
25881 /* end confdefs.h. */
25882 $ac_includes_default
25883 #include <tiffio.h>
25885 rm -f conftest.
$ac_objext
25886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25887 (eval $ac_compile) 2>conftest.er1
25889 grep -v '^ *+' conftest.er1
>conftest.err
25891 cat conftest.err
>&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); } &&
25894 { ac_try
='test -z "$ac_cxx_werror_flag"
25895 || test ! -s conftest.err'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; } &&
25901 { ac_try
='test -s conftest.$ac_objext'
25902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25903 (eval $ac_try) 2>&5
25905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25906 (exit $ac_status); }; }; then
25907 ac_header_compiler
=yes
25909 echo "$as_me: failed program was:" >&5
25910 sed 's/^/| /' conftest.
$ac_ext >&5
25912 ac_header_compiler
=no
25914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25915 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25916 echo "${ECHO_T}$ac_header_compiler" >&6
25918 # Is the header present?
25919 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25920 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25921 cat >conftest.
$ac_ext <<_ACEOF
25924 cat confdefs.h
>>conftest.
$ac_ext
25925 cat >>conftest.
$ac_ext <<_ACEOF
25926 /* end confdefs.h. */
25927 #include <tiffio.h>
25929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25930 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25932 grep -v '^ *+' conftest.er1
>conftest.err
25934 cat conftest.err
>&5
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); } >/dev
/null
; then
25937 if test -s conftest.err
; then
25938 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25939 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25946 if test -z "$ac_cpp_err"; then
25947 ac_header_preproc
=yes
25949 echo "$as_me: failed program was:" >&5
25950 sed 's/^/| /' conftest.
$ac_ext >&5
25952 ac_header_preproc
=no
25954 rm -f conftest.err conftest.
$ac_ext
25955 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25956 echo "${ECHO_T}$ac_header_preproc" >&6
25958 # So? What about this header?
25959 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25961 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25962 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25963 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25964 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25965 ac_header_preproc
=yes
25968 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25969 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25970 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25971 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25972 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25973 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25974 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25975 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25976 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25977 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25978 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25979 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25982 ## ----------------------------------------- ##
25983 ## Report this to wx-dev@lists.wxwidgets.org ##
25984 ## ----------------------------------------- ##
25987 sed "s/^/$as_me: WARNING: /" >&2
25990 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25991 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25992 if test "${ac_cv_header_tiffio_h+set}" = set; then
25993 echo $ECHO_N "(cached) $ECHO_C" >&6
25995 ac_cv_header_tiffio_h
=$ac_header_preproc
25997 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25998 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26001 if test $ac_cv_header_tiffio_h = yes; then
26003 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26004 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26005 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26006 echo $ECHO_N "(cached) $ECHO_C" >&6
26008 ac_check_lib_save_LIBS
=$LIBS
26009 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26010 cat >conftest.
$ac_ext <<_ACEOF
26013 cat confdefs.h
>>conftest.
$ac_ext
26014 cat >>conftest.
$ac_ext <<_ACEOF
26015 /* end confdefs.h. */
26017 /* Override any gcc2 internal prototype to avoid an error. */
26021 /* We use char because int might match the return type of a gcc2
26022 builtin and then its argument prototype would still apply. */
26032 rm -f conftest.
$ac_objext conftest
$ac_exeext
26033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26034 (eval $ac_link) 2>conftest.er1
26036 grep -v '^ *+' conftest.er1
>conftest.err
26038 cat conftest.err
>&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } &&
26041 { ac_try
='test -z "$ac_cxx_werror_flag"
26042 || test ! -s conftest.err'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; } &&
26048 { ac_try
='test -s conftest$ac_exeext'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; }; then
26054 ac_cv_lib_tiff_TIFFError
=yes
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.
$ac_ext >&5
26059 ac_cv_lib_tiff_TIFFError
=no
26061 rm -f conftest.err conftest.
$ac_objext \
26062 conftest
$ac_exeext conftest.
$ac_ext
26063 LIBS
=$ac_check_lib_save_LIBS
26065 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26066 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26067 if test $ac_cv_lib_tiff_TIFFError = yes; then
26068 TIFF_LINK
=" -ltiff"
26077 if test "x$TIFF_LINK" = "x" ; then
26078 if test "$wxUSE_LIBTIFF" = "sys" ; then
26079 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26080 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26081 { (exit 1); exit 1; }; }
26083 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26084 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26085 wxUSE_LIBTIFF
=builtin
26094 if test "$wxUSE_WCHAR_T" != "yes"; then
26095 if test "$wxUSE_EXPAT" != "no"; then
26096 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26097 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26100 if test "$wxUSE_XML" != "no"; then
26101 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26102 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26107 if test "$wxUSE_EXPAT" != "no"; then
26109 cat >>confdefs.h
<<\_ACEOF
26110 #define wxUSE_EXPAT 1
26113 cat >>confdefs.h
<<\_ACEOF
26114 #define wxUSE_XML 1
26118 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26119 if test "${ac_cv_header_expat_h+set}" = set; then
26120 echo "$as_me:$LINENO: checking for expat.h" >&5
26121 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26122 if test "${ac_cv_header_expat_h+set}" = set; then
26123 echo $ECHO_N "(cached) $ECHO_C" >&6
26125 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26126 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26128 # Is the header compilable?
26129 echo "$as_me:$LINENO: checking expat.h usability" >&5
26130 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26131 cat >conftest.
$ac_ext <<_ACEOF
26134 cat confdefs.h
>>conftest.
$ac_ext
26135 cat >>conftest.
$ac_ext <<_ACEOF
26136 /* end confdefs.h. */
26137 $ac_includes_default
26140 rm -f conftest.
$ac_objext
26141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26142 (eval $ac_compile) 2>conftest.er1
26144 grep -v '^ *+' conftest.er1
>conftest.err
26146 cat conftest.err
>&5
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); } &&
26149 { ac_try
='test -z "$ac_cxx_werror_flag"
26150 || test ! -s conftest.err'
26151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26152 (eval $ac_try) 2>&5
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); }; } &&
26156 { ac_try
='test -s conftest.$ac_objext'
26157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26158 (eval $ac_try) 2>&5
26160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26161 (exit $ac_status); }; }; then
26162 ac_header_compiler
=yes
26164 echo "$as_me: failed program was:" >&5
26165 sed 's/^/| /' conftest.
$ac_ext >&5
26167 ac_header_compiler
=no
26169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26171 echo "${ECHO_T}$ac_header_compiler" >&6
26173 # Is the header present?
26174 echo "$as_me:$LINENO: checking expat.h presence" >&5
26175 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26176 cat >conftest.
$ac_ext <<_ACEOF
26179 cat confdefs.h
>>conftest.
$ac_ext
26180 cat >>conftest.
$ac_ext <<_ACEOF
26181 /* end confdefs.h. */
26184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26185 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26187 grep -v '^ *+' conftest.er1
>conftest.err
26189 cat conftest.err
>&5
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); } >/dev
/null
; then
26192 if test -s conftest.err
; then
26193 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26194 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26201 if test -z "$ac_cpp_err"; then
26202 ac_header_preproc
=yes
26204 echo "$as_me: failed program was:" >&5
26205 sed 's/^/| /' conftest.
$ac_ext >&5
26207 ac_header_preproc
=no
26209 rm -f conftest.err conftest.
$ac_ext
26210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26211 echo "${ECHO_T}$ac_header_preproc" >&6
26213 # So? What about this header?
26214 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26216 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26217 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26218 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26219 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26220 ac_header_preproc
=yes
26223 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26224 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26225 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26226 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26227 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26228 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26229 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26230 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26231 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26232 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26233 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26234 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26237 ## ----------------------------------------- ##
26238 ## Report this to wx-dev@lists.wxwidgets.org ##
26239 ## ----------------------------------------- ##
26242 sed "s/^/$as_me: WARNING: /" >&2
26245 echo "$as_me:$LINENO: checking for expat.h" >&5
26246 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26247 if test "${ac_cv_header_expat_h+set}" = set; then
26248 echo $ECHO_N "(cached) $ECHO_C" >&6
26250 ac_cv_header_expat_h
=$ac_header_preproc
26252 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26253 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26256 if test $ac_cv_header_expat_h = yes; then
26261 if test "x$found_expat_h" = "x1"; then
26262 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26263 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26264 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26265 echo $ECHO_N "(cached) $ECHO_C" >&6
26268 cat >conftest.
$ac_ext <<_ACEOF
26271 cat confdefs.h
>>conftest.
$ac_ext
26272 cat >>conftest.
$ac_ext <<_ACEOF
26273 /* end confdefs.h. */
26283 rm -f conftest.
$ac_objext
26284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26285 (eval $ac_compile) 2>conftest.er1
26287 grep -v '^ *+' conftest.er1
>conftest.err
26289 cat conftest.err
>&5
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); } &&
26292 { ac_try
='test -z "$ac_cxx_werror_flag"
26293 || test ! -s conftest.err'
26294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26295 (eval $ac_try) 2>&5
26297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26298 (exit $ac_status); }; } &&
26299 { ac_try
='test -s conftest.$ac_objext'
26300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26301 (eval $ac_try) 2>&5
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); }; }; then
26305 wx_cv_expat_is_not_broken
=yes
26307 echo "$as_me: failed program was:" >&5
26308 sed 's/^/| /' conftest.
$ac_ext >&5
26310 wx_cv_expat_is_not_broken
=no
26313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26317 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26318 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26319 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26320 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26321 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26322 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26323 echo $ECHO_N "(cached) $ECHO_C" >&6
26325 ac_check_lib_save_LIBS
=$LIBS
26326 LIBS
="-lexpat $LIBS"
26327 cat >conftest.
$ac_ext <<_ACEOF
26330 cat confdefs.h
>>conftest.
$ac_ext
26331 cat >>conftest.
$ac_ext <<_ACEOF
26332 /* end confdefs.h. */
26334 /* Override any gcc2 internal prototype to avoid an error. */
26338 /* We use char because int might match the return type of a gcc2
26339 builtin and then its argument prototype would still apply. */
26340 char XML_ParserCreate ();
26344 XML_ParserCreate ();
26349 rm -f conftest.
$ac_objext conftest
$ac_exeext
26350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26351 (eval $ac_link) 2>conftest.er1
26353 grep -v '^ *+' conftest.er1
>conftest.err
26355 cat conftest.err
>&5
26356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26357 (exit $ac_status); } &&
26358 { ac_try
='test -z "$ac_cxx_werror_flag"
26359 || test ! -s conftest.err'
26360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26361 (eval $ac_try) 2>&5
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); }; } &&
26365 { ac_try
='test -s conftest$ac_exeext'
26366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26367 (eval $ac_try) 2>&5
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); }; }; then
26371 ac_cv_lib_expat_XML_ParserCreate
=yes
26373 echo "$as_me: failed program was:" >&5
26374 sed 's/^/| /' conftest.
$ac_ext >&5
26376 ac_cv_lib_expat_XML_ParserCreate
=no
26378 rm -f conftest.err conftest.
$ac_objext \
26379 conftest
$ac_exeext conftest.
$ac_ext
26380 LIBS
=$ac_check_lib_save_LIBS
26382 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26383 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26384 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26385 EXPAT_LINK
=" -lexpat"
26390 if test "x$EXPAT_LINK" = "x" ; then
26391 if test "$wxUSE_EXPAT" = "sys" ; then
26392 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26393 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26394 { (exit 1); exit 1; }; }
26396 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26397 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26398 wxUSE_EXPAT
=builtin
26404 if test "$wxUSE_EXPAT" = "builtin" ; then
26407 subdirs
="$subdirs src/expat"
26414 if test "$wxUSE_LIBMSPACK" != "no"; then
26415 if test "${ac_cv_header_mspack_h+set}" = set; then
26416 echo "$as_me:$LINENO: checking for mspack.h" >&5
26417 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26418 if test "${ac_cv_header_mspack_h+set}" = set; then
26419 echo $ECHO_N "(cached) $ECHO_C" >&6
26421 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26422 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26424 # Is the header compilable?
26425 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26426 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26427 cat >conftest.
$ac_ext <<_ACEOF
26430 cat confdefs.h
>>conftest.
$ac_ext
26431 cat >>conftest.
$ac_ext <<_ACEOF
26432 /* end confdefs.h. */
26433 $ac_includes_default
26434 #include <mspack.h>
26436 rm -f conftest.
$ac_objext
26437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26438 (eval $ac_compile) 2>conftest.er1
26440 grep -v '^ *+' conftest.er1
>conftest.err
26442 cat conftest.err
>&5
26443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26444 (exit $ac_status); } &&
26445 { ac_try
='test -z "$ac_cxx_werror_flag"
26446 || test ! -s conftest.err'
26447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26448 (eval $ac_try) 2>&5
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); }; } &&
26452 { ac_try
='test -s conftest.$ac_objext'
26453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26454 (eval $ac_try) 2>&5
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); }; }; then
26458 ac_header_compiler
=yes
26460 echo "$as_me: failed program was:" >&5
26461 sed 's/^/| /' conftest.
$ac_ext >&5
26463 ac_header_compiler
=no
26465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26467 echo "${ECHO_T}$ac_header_compiler" >&6
26469 # Is the header present?
26470 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26471 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26472 cat >conftest.
$ac_ext <<_ACEOF
26475 cat confdefs.h
>>conftest.
$ac_ext
26476 cat >>conftest.
$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26478 #include <mspack.h>
26480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26483 grep -v '^ *+' conftest.er1
>conftest.err
26485 cat conftest.err
>&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); } >/dev
/null
; then
26488 if test -s conftest.err
; then
26489 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26490 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26497 if test -z "$ac_cpp_err"; then
26498 ac_header_preproc
=yes
26500 echo "$as_me: failed program was:" >&5
26501 sed 's/^/| /' conftest.
$ac_ext >&5
26503 ac_header_preproc
=no
26505 rm -f conftest.err conftest.
$ac_ext
26506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26507 echo "${ECHO_T}$ac_header_preproc" >&6
26509 # So? What about this header?
26510 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26512 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26513 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26514 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26515 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26516 ac_header_preproc
=yes
26519 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26520 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26521 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26522 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26523 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26524 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26525 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26526 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26527 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26528 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26529 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26530 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26533 ## ----------------------------------------- ##
26534 ## Report this to wx-dev@lists.wxwidgets.org ##
26535 ## ----------------------------------------- ##
26538 sed "s/^/$as_me: WARNING: /" >&2
26541 echo "$as_me:$LINENO: checking for mspack.h" >&5
26542 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26543 if test "${ac_cv_header_mspack_h+set}" = set; then
26544 echo $ECHO_N "(cached) $ECHO_C" >&6
26546 ac_cv_header_mspack_h
=$ac_header_preproc
26548 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26549 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26552 if test $ac_cv_header_mspack_h = yes; then
26557 if test "x$found_mspack_h" = "x1"; then
26558 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26559 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26560 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26561 echo $ECHO_N "(cached) $ECHO_C" >&6
26563 ac_check_lib_save_LIBS
=$LIBS
26564 LIBS
="-lmspack $LIBS"
26565 cat >conftest.
$ac_ext <<_ACEOF
26568 cat confdefs.h
>>conftest.
$ac_ext
26569 cat >>conftest.
$ac_ext <<_ACEOF
26570 /* end confdefs.h. */
26572 /* Override any gcc2 internal prototype to avoid an error. */
26576 /* We use char because int might match the return type of a gcc2
26577 builtin and then its argument prototype would still apply. */
26578 char mspack_create_chm_decompressor ();
26582 mspack_create_chm_decompressor ();
26587 rm -f conftest.
$ac_objext conftest
$ac_exeext
26588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26589 (eval $ac_link) 2>conftest.er1
26591 grep -v '^ *+' conftest.er1
>conftest.err
26593 cat conftest.err
>&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 { ac_try
='test -z "$ac_cxx_werror_flag"
26597 || test ! -s conftest.err'
26598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26599 (eval $ac_try) 2>&5
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); }; } &&
26603 { ac_try
='test -s conftest$ac_exeext'
26604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26605 (eval $ac_try) 2>&5
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); }; }; then
26609 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26611 echo "$as_me: failed program was:" >&5
26612 sed 's/^/| /' conftest.
$ac_ext >&5
26614 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26616 rm -f conftest.err conftest.
$ac_objext \
26617 conftest
$ac_exeext conftest.
$ac_ext
26618 LIBS
=$ac_check_lib_save_LIBS
26620 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26621 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26622 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26623 MSPACK_LINK
=" -lmspack"
26627 if test "x$MSPACK_LINK" = "x" ; then
26632 if test "$wxUSE_LIBMSPACK" != "no"; then
26633 cat >>confdefs.h
<<\_ACEOF
26634 #define wxUSE_LIBMSPACK 1
26648 if test "$USE_WIN32" = 1 ; then
26650 for ac_header
in w32api.h
26652 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26654 echo "$as_me:$LINENO: checking for $ac_header" >&5
26655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26657 echo $ECHO_N "(cached) $ECHO_C" >&6
26659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26662 # Is the header compilable?
26663 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26665 cat >conftest.
$ac_ext <<_ACEOF
26668 cat confdefs.h
>>conftest.
$ac_ext
26669 cat >>conftest.
$ac_ext <<_ACEOF
26670 /* end confdefs.h. */
26671 $ac_includes_default
26672 #include <$ac_header>
26674 rm -f conftest.
$ac_objext
26675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26676 (eval $ac_compile) 2>conftest.er1
26678 grep -v '^ *+' conftest.er1
>conftest.err
26680 cat conftest.err
>&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } &&
26683 { ac_try
='test -z "$ac_cxx_werror_flag"
26684 || test ! -s conftest.err'
26685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26686 (eval $ac_try) 2>&5
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); }; } &&
26690 { ac_try
='test -s conftest.$ac_objext'
26691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26692 (eval $ac_try) 2>&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); }; }; then
26696 ac_header_compiler
=yes
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.
$ac_ext >&5
26701 ac_header_compiler
=no
26703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26705 echo "${ECHO_T}$ac_header_compiler" >&6
26707 # Is the header present?
26708 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26710 cat >conftest.
$ac_ext <<_ACEOF
26713 cat confdefs.h
>>conftest.
$ac_ext
26714 cat >>conftest.
$ac_ext <<_ACEOF
26715 /* end confdefs.h. */
26716 #include <$ac_header>
26718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26719 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26721 grep -v '^ *+' conftest.er1
>conftest.err
26723 cat conftest.err
>&5
26724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26725 (exit $ac_status); } >/dev
/null
; then
26726 if test -s conftest.err
; then
26727 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26728 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26735 if test -z "$ac_cpp_err"; then
26736 ac_header_preproc
=yes
26738 echo "$as_me: failed program was:" >&5
26739 sed 's/^/| /' conftest.
$ac_ext >&5
26741 ac_header_preproc
=no
26743 rm -f conftest.err conftest.
$ac_ext
26744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26745 echo "${ECHO_T}$ac_header_preproc" >&6
26747 # So? What about this header?
26748 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26753 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26754 ac_header_preproc
=yes
26757 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26759 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26761 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26762 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26763 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26764 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26767 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26768 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26771 ## ----------------------------------------- ##
26772 ## Report this to wx-dev@lists.wxwidgets.org ##
26773 ## ----------------------------------------- ##
26776 sed "s/^/$as_me: WARNING: /" >&2
26779 echo "$as_me:$LINENO: checking for $ac_header" >&5
26780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26784 eval "$as_ac_Header=\$ac_header_preproc"
26786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26791 cat >>confdefs.h
<<_ACEOF
26792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26799 if test "${ac_cv_header_windows_h+set}" = set; then
26800 echo "$as_me:$LINENO: checking for windows.h" >&5
26801 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26802 if test "${ac_cv_header_windows_h+set}" = set; then
26803 echo $ECHO_N "(cached) $ECHO_C" >&6
26805 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26806 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26808 # Is the header compilable?
26809 echo "$as_me:$LINENO: checking windows.h usability" >&5
26810 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26811 cat >conftest.
$ac_ext <<_ACEOF
26814 cat confdefs.h
>>conftest.
$ac_ext
26815 cat >>conftest.
$ac_ext <<_ACEOF
26816 /* end confdefs.h. */
26817 $ac_includes_default
26818 #include <windows.h>
26820 rm -f conftest.
$ac_objext
26821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26822 (eval $ac_compile) 2>conftest.er1
26824 grep -v '^ *+' conftest.er1
>conftest.err
26826 cat conftest.err
>&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); } &&
26829 { ac_try
='test -z "$ac_cxx_werror_flag"
26830 || test ! -s conftest.err'
26831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832 (eval $ac_try) 2>&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); }; } &&
26836 { ac_try
='test -s conftest.$ac_objext'
26837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26838 (eval $ac_try) 2>&5
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); }; }; then
26842 ac_header_compiler
=yes
26844 echo "$as_me: failed program was:" >&5
26845 sed 's/^/| /' conftest.
$ac_ext >&5
26847 ac_header_compiler
=no
26849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26851 echo "${ECHO_T}$ac_header_compiler" >&6
26853 # Is the header present?
26854 echo "$as_me:$LINENO: checking windows.h presence" >&5
26855 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26856 cat >conftest.
$ac_ext <<_ACEOF
26859 cat confdefs.h
>>conftest.
$ac_ext
26860 cat >>conftest.
$ac_ext <<_ACEOF
26861 /* end confdefs.h. */
26862 #include <windows.h>
26864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26865 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26867 grep -v '^ *+' conftest.er1
>conftest.err
26869 cat conftest.err
>&5
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); } >/dev
/null
; then
26872 if test -s conftest.err
; then
26873 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26874 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26881 if test -z "$ac_cpp_err"; then
26882 ac_header_preproc
=yes
26884 echo "$as_me: failed program was:" >&5
26885 sed 's/^/| /' conftest.
$ac_ext >&5
26887 ac_header_preproc
=no
26889 rm -f conftest.err conftest.
$ac_ext
26890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26891 echo "${ECHO_T}$ac_header_preproc" >&6
26893 # So? What about this header?
26894 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26896 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26897 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26898 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26899 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26900 ac_header_preproc
=yes
26903 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26904 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26905 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26906 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26907 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26908 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26909 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26910 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26911 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26912 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26913 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26914 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26917 ## ----------------------------------------- ##
26918 ## Report this to wx-dev@lists.wxwidgets.org ##
26919 ## ----------------------------------------- ##
26922 sed "s/^/$as_me: WARNING: /" >&2
26925 echo "$as_me:$LINENO: checking for windows.h" >&5
26926 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26927 if test "${ac_cv_header_windows_h+set}" = set; then
26928 echo $ECHO_N "(cached) $ECHO_C" >&6
26930 ac_cv_header_windows_h
=$ac_header_preproc
26932 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26933 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26936 if test $ac_cv_header_windows_h = yes; then
26940 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26941 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26942 { (exit 1); exit 1; }; }
26948 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26950 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26951 LIBS
="$LIBS -loleacc"
26956 LIBS
="$LIBS -lkernel32 -luser32"
26959 if test "$wxUSE_ODBC" = "sys" ; then
26962 if test "$wxUSE_ODBC" = "yes" ; then
26963 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26964 cat >>confdefs.h
<<\_ACEOF
26965 #define wxUSE_ODBC 1
26970 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26971 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26973 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26975 WIN32INSTALL
=win32install
26978 if test "$wxUSE_GUI" = "yes"; then
26988 if test "$wxUSE_COCOA" = 1 ; then
26989 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26990 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26991 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26992 wxUSE_PRINTING_ARCHITECTURE
=no
26994 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26995 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26996 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26997 wxUSE_DRAG_AND_DROP
=no
26999 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27000 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27001 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27006 if test "$wxUSE_MSW" = 1 ; then
27012 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27016 if test "$wxUSE_GTK" = 1; then
27018 ac_cpp
='$CPP $CPPFLAGS'
27019 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27020 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27021 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27024 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27025 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27027 gtk_version_cached
=1
27028 if test "${wx_cv_lib_gtk+set}" = set; then
27029 echo $ECHO_N "(cached) $ECHO_C" >&6
27032 gtk_version_cached
=0
27033 echo "$as_me:$LINENO: result: " >&5
27034 echo "${ECHO_T}" >&6
27037 if test "$wxUSE_THREADS" = "yes"; then
27038 GTK_MODULES
=gthread
27042 if test "x$wxGTK_VERSION" != "x1"
27046 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27051 # Check whether --enable-gtktest or --disable-gtktest was given.
27052 if test "${enable_gtktest+set}" = set; then
27053 enableval
="$enable_gtktest"
27059 pkg_config_args
=gtk
+-2.0
27060 for module
in .
$GTK_MODULES
27064 pkg_config_args
="$pkg_config_args gthread-2.0"
27071 # Extract the first word of "pkg-config", so it can be a program name with args.
27072 set dummy pkg
-config; ac_word
=$2
27073 echo "$as_me:$LINENO: checking for $ac_word" >&5
27074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27075 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27076 echo $ECHO_N "(cached) $ECHO_C" >&6
27078 case $PKG_CONFIG in
27080 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27084 for as_dir
in $PATH
27087 test -z "$as_dir" && as_dir
=.
27088 for ac_exec_ext
in '' $ac_executable_extensions; do
27089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27090 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27097 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27101 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27103 if test -n "$PKG_CONFIG"; then
27104 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27105 echo "${ECHO_T}$PKG_CONFIG" >&6
27107 echo "$as_me:$LINENO: result: no" >&5
27108 echo "${ECHO_T}no" >&6
27112 if test x
$PKG_CONFIG != xno
; then
27113 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27116 echo "*** pkg-config too old; version 0.7 or better required."
27124 min_gtk_version
=2.0.0
27125 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27126 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27128 if test x
$PKG_CONFIG != xno
; then
27129 ## don't try to run the test against uninstalled libtool libs
27130 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27131 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27135 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27142 if test x
"$no_gtk" = x
; then
27143 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27144 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27145 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27147 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27149 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27150 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27151 if test "x$enable_gtktest" = "xyes" ; then
27152 ac_save_CFLAGS
="$CFLAGS"
27153 ac_save_LIBS
="$LIBS"
27154 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27155 LIBS
="$GTK_LIBS $LIBS"
27157 if test "$cross_compiling" = yes; then
27158 echo $ac_n "cross compiling; assumed OK... $ac_c"
27160 cat >conftest.
$ac_ext <<_ACEOF
27163 cat confdefs.h
>>conftest.
$ac_ext
27164 cat >>conftest.
$ac_ext <<_ACEOF
27165 /* end confdefs.h. */
27167 #include <gtk/gtk.h>
27169 #include <stdlib.h>
27174 int major, minor, micro;
27177 system ("touch conf.gtktest");
27179 /* HP/UX 9 (%@#!) writes to sscanf strings */
27180 tmp_version = g_strdup("$min_gtk_version");
27181 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27182 printf("%s, bad version string\n", "$min_gtk_version");
27186 if ((gtk_major_version != $gtk_config_major_version) ||
27187 (gtk_minor_version != $gtk_config_minor_version) ||
27188 (gtk_micro_version != $gtk_config_micro_version))
27190 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27191 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27192 gtk_major_version, gtk_minor_version, gtk_micro_version);
27193 printf ("*** was found! If pkg-config was correct, then it is best\n");
27194 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27195 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27196 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27197 printf("*** required on your system.\n");
27198 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27199 printf("*** to point to the correct configuration files\n");
27201 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27202 (gtk_minor_version != GTK_MINOR_VERSION) ||
27203 (gtk_micro_version != GTK_MICRO_VERSION))
27205 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27206 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27207 printf("*** library (version %d.%d.%d)\n",
27208 gtk_major_version, gtk_minor_version, gtk_micro_version);
27212 if ((gtk_major_version > major) ||
27213 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27214 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27220 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27221 gtk_major_version, gtk_minor_version, gtk_micro_version);
27222 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27223 major, minor, micro);
27224 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27226 printf("*** If you have already installed a sufficiently new version, this error\n");
27227 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27228 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27229 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27230 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27231 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27232 printf("*** so that the correct libraries are found at run-time))\n");
27239 rm -f conftest
$ac_exeext
27240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27241 (eval $ac_link) 2>&5
27243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27244 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27246 (eval $ac_try) 2>&5
27248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 (exit $ac_status); }; }; then
27252 echo "$as_me: program exited with status $ac_status" >&5
27253 echo "$as_me: failed program was:" >&5
27254 sed 's/^/| /' conftest.
$ac_ext >&5
27256 ( exit $ac_status )
27259 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27261 CFLAGS
="$ac_save_CFLAGS"
27262 LIBS
="$ac_save_LIBS"
27265 if test "x$no_gtk" = x
; then
27266 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27267 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27270 echo "$as_me:$LINENO: result: no" >&5
27271 echo "${ECHO_T}no" >&6
27272 if test "$PKG_CONFIG" = "no" ; then
27273 echo "*** A new enough version of pkg-config was not found."
27274 echo "*** See http://pkgconfig.sourceforge.net"
27276 if test -f conf.gtktest
; then
27279 echo "*** Could not run GTK+ test program, checking why..."
27280 ac_save_CFLAGS
="$CFLAGS"
27281 ac_save_LIBS
="$LIBS"
27282 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27283 LIBS
="$LIBS $GTK_LIBS"
27284 cat >conftest.
$ac_ext <<_ACEOF
27287 cat confdefs.h
>>conftest.
$ac_ext
27288 cat >>conftest.
$ac_ext <<_ACEOF
27289 /* end confdefs.h. */
27291 #include <gtk/gtk.h>
27297 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27302 rm -f conftest.
$ac_objext conftest
$ac_exeext
27303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27304 (eval $ac_link) 2>conftest.er1
27306 grep -v '^ *+' conftest.er1
>conftest.err
27308 cat conftest.err
>&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } &&
27311 { ac_try
='test -z "$ac_c_werror_flag"
27312 || test ! -s conftest.err'
27313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27314 (eval $ac_try) 2>&5
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); }; } &&
27318 { ac_try
='test -s conftest$ac_exeext'
27319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27320 (eval $ac_try) 2>&5
27322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27323 (exit $ac_status); }; }; then
27324 echo "*** The test program compiled, but did not run. This usually means"
27325 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27326 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27327 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27328 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27329 echo "*** is required on your system"
27331 echo "*** If you have an old version installed, it is best to remove it, although"
27332 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27334 echo "$as_me: failed program was:" >&5
27335 sed 's/^/| /' conftest.
$ac_ext >&5
27337 echo "*** The test program failed to compile or link. See the file config.log for the"
27338 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27340 rm -f conftest.err conftest.
$ac_objext \
27341 conftest
$ac_exeext conftest.
$ac_ext
27342 CFLAGS
="$ac_save_CFLAGS"
27343 LIBS
="$ac_save_LIBS"
27357 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27358 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27359 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27361 if test "$wxUSE_SHARED" != "yes"; then
27362 GTK_LIBS
="$GTK_LIBS -lX11"
27367 if test -z "$wx_cv_lib_gtk"; then
27368 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27370 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27371 if test "${with_gtk_prefix+set}" = set; then
27372 withval
="$with_gtk_prefix"
27373 gtk_config_prefix
="$withval"
27375 gtk_config_prefix
=""
27378 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27379 if test "${with_gtk_exec_prefix+set}" = set; then
27380 withval
="$with_gtk_exec_prefix"
27381 gtk_config_exec_prefix
="$withval"
27383 gtk_config_exec_prefix
=""
27385 # Check whether --enable-gtktest or --disable-gtktest was given.
27386 if test "${enable_gtktest+set}" = set; then
27387 enableval
="$enable_gtktest"
27393 for module
in .
$GTK_MODULES
27397 gtk_config_args
="$gtk_config_args gthread"
27402 if test x
$gtk_config_exec_prefix != x
; then
27403 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27404 if test x
${GTK_CONFIG+set} != xset
; then
27405 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27408 if test x
$gtk_config_prefix != x
; then
27409 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27410 if test x
${GTK_CONFIG+set} != xset
; then
27411 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27415 # Extract the first word of "gtk-config", so it can be a program name with args.
27416 set dummy gtk
-config; ac_word
=$2
27417 echo "$as_me:$LINENO: checking for $ac_word" >&5
27418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27419 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27420 echo $ECHO_N "(cached) $ECHO_C" >&6
27422 case $GTK_CONFIG in
27424 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27428 for as_dir
in $PATH
27431 test -z "$as_dir" && as_dir
=.
27432 for ac_exec_ext
in '' $ac_executable_extensions; do
27433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27434 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27441 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27445 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27447 if test -n "$GTK_CONFIG"; then
27448 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27449 echo "${ECHO_T}$GTK_CONFIG" >&6
27451 echo "$as_me:$LINENO: result: no" >&5
27452 echo "${ECHO_T}no" >&6
27455 min_gtk_version
=1.2.7
27456 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27457 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27459 if test "$GTK_CONFIG" = "no" ; then
27462 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27463 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27464 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27465 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27466 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27467 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27468 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27469 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27470 if test "x$enable_gtktest" = "xyes" ; then
27471 ac_save_CFLAGS
="$CFLAGS"
27472 ac_save_LIBS
="$LIBS"
27473 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27474 LIBS
="$GTK_LIBS $LIBS"
27476 if test "$cross_compiling" = yes; then
27477 echo $ac_n "cross compiling; assumed OK... $ac_c"
27479 cat >conftest.
$ac_ext <<_ACEOF
27482 cat confdefs.h
>>conftest.
$ac_ext
27483 cat >>conftest.
$ac_ext <<_ACEOF
27484 /* end confdefs.h. */
27486 #include <gtk/gtk.h>
27488 #include <stdlib.h>
27493 int major, minor, micro;
27496 system ("touch conf.gtktest");
27498 /* HP/UX 9 (%@#!) writes to sscanf strings */
27499 tmp_version = g_strdup("$min_gtk_version");
27500 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27501 printf("%s, bad version string\n", "$min_gtk_version");
27505 if ((gtk_major_version != $gtk_config_major_version) ||
27506 (gtk_minor_version != $gtk_config_minor_version) ||
27507 (gtk_micro_version != $gtk_config_micro_version))
27509 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27510 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27511 gtk_major_version, gtk_minor_version, gtk_micro_version);
27512 printf ("*** was found! If gtk-config was correct, then it is best\n");
27513 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27514 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27515 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27516 printf("*** required on your system.\n");
27517 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27518 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27519 printf("*** before re-running configure\n");
27521 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27522 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27523 (gtk_minor_version != GTK_MINOR_VERSION) ||
27524 (gtk_micro_version != GTK_MICRO_VERSION))
27526 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27527 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27528 printf("*** library (version %d.%d.%d)\n",
27529 gtk_major_version, gtk_minor_version, gtk_micro_version);
27531 #endif /* defined (GTK_MAJOR_VERSION) ... */
27534 if ((gtk_major_version > major) ||
27535 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27536 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27542 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27543 gtk_major_version, gtk_minor_version, gtk_micro_version);
27544 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27545 major, minor, micro);
27546 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27548 printf("*** If you have already installed a sufficiently new version, this error\n");
27549 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27550 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27551 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27552 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27553 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27554 printf("*** so that the correct libraries are found at run-time))\n");
27561 rm -f conftest
$ac_exeext
27562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27563 (eval $ac_link) 2>&5
27565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27566 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27568 (eval $ac_try) 2>&5
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 (exit $ac_status); }; }; then
27574 echo "$as_me: program exited with status $ac_status" >&5
27575 echo "$as_me: failed program was:" >&5
27576 sed 's/^/| /' conftest.
$ac_ext >&5
27578 ( exit $ac_status )
27581 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27583 CFLAGS
="$ac_save_CFLAGS"
27584 LIBS
="$ac_save_LIBS"
27587 if test "x$no_gtk" = x
; then
27588 echo "$as_me:$LINENO: result: yes" >&5
27589 echo "${ECHO_T}yes" >&6
27590 wx_cv_lib_gtk
=1.2.7
27592 echo "$as_me:$LINENO: result: no" >&5
27593 echo "${ECHO_T}no" >&6
27594 if test "$GTK_CONFIG" = "no" ; then
27595 echo "*** The gtk-config script installed by GTK could not be found"
27596 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27597 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27598 echo "*** full path to gtk-config."
27600 if test -f conf.gtktest
; then
27603 echo "*** Could not run GTK test program, checking why..."
27604 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27605 LIBS
="$LIBS $GTK_LIBS"
27606 cat >conftest.
$ac_ext <<_ACEOF
27609 cat confdefs.h
>>conftest.
$ac_ext
27610 cat >>conftest.
$ac_ext <<_ACEOF
27611 /* end confdefs.h. */
27613 #include <gtk/gtk.h>
27619 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27624 rm -f conftest.
$ac_objext conftest
$ac_exeext
27625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27626 (eval $ac_link) 2>conftest.er1
27628 grep -v '^ *+' conftest.er1
>conftest.err
27630 cat conftest.err
>&5
27631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632 (exit $ac_status); } &&
27633 { ac_try
='test -z "$ac_c_werror_flag"
27634 || test ! -s conftest.err'
27635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27636 (eval $ac_try) 2>&5
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); }; } &&
27640 { ac_try
='test -s conftest$ac_exeext'
27641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27642 (eval $ac_try) 2>&5
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); }; }; then
27646 echo "*** The test program compiled, but did not run. This usually means"
27647 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27648 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27649 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27650 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27651 echo "*** is required on your system"
27653 echo "*** If you have an old version installed, it is best to remove it, although"
27654 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27656 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27657 echo "*** came with the system with the command"
27659 echo "*** rpm --erase --nodeps gtk gtk-devel"
27661 echo "$as_me: failed program was:" >&5
27662 sed 's/^/| /' conftest.
$ac_ext >&5
27664 echo "*** The test program failed to compile or link. See the file config.log for the"
27665 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27666 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27667 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27669 rm -f conftest.err conftest.
$ac_objext \
27670 conftest
$ac_exeext conftest.
$ac_ext
27671 CFLAGS
="$ac_save_CFLAGS"
27672 LIBS
="$ac_save_LIBS"
27684 if test -z "$wx_cv_lib_gtk"; then
27686 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27687 if test "${with_gtk_prefix+set}" = set; then
27688 withval
="$with_gtk_prefix"
27689 gtk_config_prefix
="$withval"
27691 gtk_config_prefix
=""
27694 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27695 if test "${with_gtk_exec_prefix+set}" = set; then
27696 withval
="$with_gtk_exec_prefix"
27697 gtk_config_exec_prefix
="$withval"
27699 gtk_config_exec_prefix
=""
27701 # Check whether --enable-gtktest or --disable-gtktest was given.
27702 if test "${enable_gtktest+set}" = set; then
27703 enableval
="$enable_gtktest"
27709 for module
in .
$GTK_MODULES
27713 gtk_config_args
="$gtk_config_args gthread"
27718 if test x
$gtk_config_exec_prefix != x
; then
27719 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27720 if test x
${GTK_CONFIG+set} != xset
; then
27721 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27724 if test x
$gtk_config_prefix != x
; then
27725 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27726 if test x
${GTK_CONFIG+set} != xset
; then
27727 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27731 # Extract the first word of "gtk-config", so it can be a program name with args.
27732 set dummy gtk
-config; ac_word
=$2
27733 echo "$as_me:$LINENO: checking for $ac_word" >&5
27734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27735 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27736 echo $ECHO_N "(cached) $ECHO_C" >&6
27738 case $GTK_CONFIG in
27740 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27744 for as_dir
in $PATH
27747 test -z "$as_dir" && as_dir
=.
27748 for ac_exec_ext
in '' $ac_executable_extensions; do
27749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27750 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27757 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27761 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27763 if test -n "$GTK_CONFIG"; then
27764 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27765 echo "${ECHO_T}$GTK_CONFIG" >&6
27767 echo "$as_me:$LINENO: result: no" >&5
27768 echo "${ECHO_T}no" >&6
27771 min_gtk_version
=1.2.3
27772 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27773 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27775 if test "$GTK_CONFIG" = "no" ; then
27778 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27779 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27780 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27781 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27782 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27783 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27784 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27785 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27786 if test "x$enable_gtktest" = "xyes" ; then
27787 ac_save_CFLAGS
="$CFLAGS"
27788 ac_save_LIBS
="$LIBS"
27789 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27790 LIBS
="$GTK_LIBS $LIBS"
27792 if test "$cross_compiling" = yes; then
27793 echo $ac_n "cross compiling; assumed OK... $ac_c"
27795 cat >conftest.
$ac_ext <<_ACEOF
27798 cat confdefs.h
>>conftest.
$ac_ext
27799 cat >>conftest.
$ac_ext <<_ACEOF
27800 /* end confdefs.h. */
27802 #include <gtk/gtk.h>
27804 #include <stdlib.h>
27809 int major, minor, micro;
27812 system ("touch conf.gtktest");
27814 /* HP/UX 9 (%@#!) writes to sscanf strings */
27815 tmp_version = g_strdup("$min_gtk_version");
27816 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27817 printf("%s, bad version string\n", "$min_gtk_version");
27821 if ((gtk_major_version != $gtk_config_major_version) ||
27822 (gtk_minor_version != $gtk_config_minor_version) ||
27823 (gtk_micro_version != $gtk_config_micro_version))
27825 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27826 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27827 gtk_major_version, gtk_minor_version, gtk_micro_version);
27828 printf ("*** was found! If gtk-config was correct, then it is best\n");
27829 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27830 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27831 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27832 printf("*** required on your system.\n");
27833 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27834 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27835 printf("*** before re-running configure\n");
27837 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27838 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27839 (gtk_minor_version != GTK_MINOR_VERSION) ||
27840 (gtk_micro_version != GTK_MICRO_VERSION))
27842 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27843 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27844 printf("*** library (version %d.%d.%d)\n",
27845 gtk_major_version, gtk_minor_version, gtk_micro_version);
27847 #endif /* defined (GTK_MAJOR_VERSION) ... */
27850 if ((gtk_major_version > major) ||
27851 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27852 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27858 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27859 gtk_major_version, gtk_minor_version, gtk_micro_version);
27860 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27861 major, minor, micro);
27862 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27864 printf("*** If you have already installed a sufficiently new version, this error\n");
27865 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27866 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27867 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27868 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27869 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27870 printf("*** so that the correct libraries are found at run-time))\n");
27877 rm -f conftest
$ac_exeext
27878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27879 (eval $ac_link) 2>&5
27881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27884 (eval $ac_try) 2>&5
27886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27887 (exit $ac_status); }; }; then
27890 echo "$as_me: program exited with status $ac_status" >&5
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.
$ac_ext >&5
27894 ( exit $ac_status )
27897 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27899 CFLAGS
="$ac_save_CFLAGS"
27900 LIBS
="$ac_save_LIBS"
27903 if test "x$no_gtk" = x
; then
27904 echo "$as_me:$LINENO: result: yes" >&5
27905 echo "${ECHO_T}yes" >&6
27906 wx_cv_lib_gtk
=1.2.3
27908 echo "$as_me:$LINENO: result: no" >&5
27909 echo "${ECHO_T}no" >&6
27910 if test "$GTK_CONFIG" = "no" ; then
27911 echo "*** The gtk-config script installed by GTK could not be found"
27912 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27913 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27914 echo "*** full path to gtk-config."
27916 if test -f conf.gtktest
; then
27919 echo "*** Could not run GTK test program, checking why..."
27920 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27921 LIBS
="$LIBS $GTK_LIBS"
27922 cat >conftest.
$ac_ext <<_ACEOF
27925 cat confdefs.h
>>conftest.
$ac_ext
27926 cat >>conftest.
$ac_ext <<_ACEOF
27927 /* end confdefs.h. */
27929 #include <gtk/gtk.h>
27935 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27940 rm -f conftest.
$ac_objext conftest
$ac_exeext
27941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27942 (eval $ac_link) 2>conftest.er1
27944 grep -v '^ *+' conftest.er1
>conftest.err
27946 cat conftest.err
>&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } &&
27949 { ac_try
='test -z "$ac_c_werror_flag"
27950 || test ! -s conftest.err'
27951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27952 (eval $ac_try) 2>&5
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); }; } &&
27956 { ac_try
='test -s conftest$ac_exeext'
27957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958 (eval $ac_try) 2>&5
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); }; }; then
27962 echo "*** The test program compiled, but did not run. This usually means"
27963 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27964 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27965 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27966 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27967 echo "*** is required on your system"
27969 echo "*** If you have an old version installed, it is best to remove it, although"
27970 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27972 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27973 echo "*** came with the system with the command"
27975 echo "*** rpm --erase --nodeps gtk gtk-devel"
27977 echo "$as_me: failed program was:" >&5
27978 sed 's/^/| /' conftest.
$ac_ext >&5
27980 echo "*** The test program failed to compile or link. See the file config.log for the"
27981 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27982 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27983 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27985 rm -f conftest.err conftest.
$ac_objext \
27986 conftest
$ac_exeext conftest.
$ac_ext
27987 CFLAGS
="$ac_save_CFLAGS"
27988 LIBS
="$ac_save_LIBS"
28003 if test -z "$wx_cv_lib_gtk"; then
28006 wx_cv_cflags_gtk
=$GTK_CFLAGS
28007 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28014 if test "$gtk_version_cached" = 1; then
28015 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28016 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28019 case "$wx_cv_lib_gtk" in
28028 *) { { echo "$as_me:$LINENO: error:
28029 The development files for GTK+ were not found. For GTK+ 2, please
28030 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28031 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28032 and that the version is 1.2.3 or above. Also check that the
28033 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28034 --libs' are in the LD_LIBRARY_PATH or equivalent.
28036 echo "$as_me: error:
28037 The development files for GTK+ were not found. For GTK+ 2, please
28038 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28039 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28040 and that the version is 1.2.3 or above. Also check that the
28041 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28042 --libs' are in the LD_LIBRARY_PATH or equivalent.
28044 { (exit 1); exit 1; }; }
28048 if test "$WXGTK20" = 1; then
28049 save_CFLAGS
="$CFLAGS"
28051 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28052 LIBS
="$LIBS $wx_cv_libs_gtk"
28054 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
28055 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
28056 cat >conftest.
$ac_ext <<_ACEOF
28059 cat confdefs.h
>>conftest.
$ac_ext
28060 cat >>conftest.
$ac_ext <<_ACEOF
28061 /* end confdefs.h. */
28063 #include <gtk/gtk.h>
28069 void *f = gtk_icon_size_lookup;
28075 rm -f conftest.
$ac_objext
28076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28077 (eval $ac_compile) 2>conftest.er1
28079 grep -v '^ *+' conftest.er1
>conftest.err
28081 cat conftest.err
>&5
28082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28083 (exit $ac_status); } &&
28084 { ac_try
='test -z "$ac_c_werror_flag"
28085 || test ! -s conftest.err'
28086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28087 (eval $ac_try) 2>&5
28089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28090 (exit $ac_status); }; } &&
28091 { ac_try
='test -s conftest.$ac_objext'
28092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28093 (eval $ac_try) 2>&5
28095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28096 (exit $ac_status); }; }; then
28098 echo "$as_me:$LINENO: result: no" >&5
28099 echo "${ECHO_T}no" >&6
28102 echo "$as_me: failed program was:" >&5
28103 sed 's/^/| /' conftest.
$ac_ext >&5
28106 cat >>confdefs.h
<<\_ACEOF
28107 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28110 echo "$as_me:$LINENO: result: yes" >&5
28111 echo "${ECHO_T}yes" >&6
28114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28116 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28117 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28118 cat >conftest.
$ac_ext <<_ACEOF
28121 cat confdefs.h
>>conftest.
$ac_ext
28122 cat >>conftest.
$ac_ext <<_ACEOF
28123 /* end confdefs.h. */
28125 #include <gtk/gtk.h>
28131 #if !GTK_CHECK_VERSION(2,6,0)
28139 rm -f conftest.
$ac_objext
28140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28141 (eval $ac_compile) 2>conftest.er1
28143 grep -v '^ *+' conftest.er1
>conftest.err
28145 cat conftest.err
>&5
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); } &&
28148 { ac_try
='test -z "$ac_c_werror_flag"
28149 || test ! -s conftest.err'
28150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28151 (eval $ac_try) 2>&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); }; } &&
28155 { ac_try
='test -s conftest.$ac_objext'
28156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28157 (eval $ac_try) 2>&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); }; }; then
28162 cat >>confdefs.h
<<\_ACEOF
28163 #define __WXGTK26__ 1
28166 cat >>confdefs.h
<<\_ACEOF
28167 #define __WXGTK24__ 1
28170 echo "$as_me:$LINENO: result: yes" >&5
28171 echo "${ECHO_T}yes" >&6
28175 echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.
$ac_ext >&5
28179 echo "$as_me:$LINENO: result: no" >&5
28180 echo "${ECHO_T}no" >&6
28184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28186 if test "$ac_wxgtk26" = 0; then
28187 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28188 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28189 cat >conftest.
$ac_ext <<_ACEOF
28192 cat confdefs.h
>>conftest.
$ac_ext
28193 cat >>conftest.
$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28196 #include <gtk/gtk.h>
28202 #if !GTK_CHECK_VERSION(2,4,0)
28210 rm -f conftest.
$ac_objext
28211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28212 (eval $ac_compile) 2>conftest.er1
28214 grep -v '^ *+' conftest.er1
>conftest.err
28216 cat conftest.err
>&5
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); } &&
28219 { ac_try
='test -z "$ac_c_werror_flag"
28220 || test ! -s conftest.err'
28221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28222 (eval $ac_try) 2>&5
28224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28225 (exit $ac_status); }; } &&
28226 { ac_try
='test -s conftest.$ac_objext'
28227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28228 (eval $ac_try) 2>&5
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); }; }; then
28233 cat >>confdefs.h
<<\_ACEOF
28234 #define __WXGTK24__ 1
28237 echo "$as_me:$LINENO: result: yes" >&5
28238 echo "${ECHO_T}yes" >&6
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.
$ac_ext >&5
28245 echo "$as_me:$LINENO: result: no" >&5
28246 echo "${ECHO_T}no" >&6
28249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28252 CFLAGS
="$save_CFLAGS"
28255 if test "$wxUSE_UNICODE" = "yes"; then
28256 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28257 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28263 ac_cpp
='$CXXCPP $CPPFLAGS'
28264 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28265 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28266 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28269 if test "$USE_DARWIN" != 1; then
28271 for ac_func
in poll
28273 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28274 echo "$as_me:$LINENO: checking for $ac_func" >&5
28275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28276 if eval "test \"\${$as_ac_var+set}\" = set"; then
28277 echo $ECHO_N "(cached) $ECHO_C" >&6
28279 cat >conftest.
$ac_ext <<_ACEOF
28282 cat confdefs.h
>>conftest.
$ac_ext
28283 cat >>conftest.
$ac_ext <<_ACEOF
28284 /* end confdefs.h. */
28285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28287 #define $ac_func innocuous_$ac_func
28289 /* System header to define __stub macros and hopefully few prototypes,
28290 which can conflict with char $ac_func (); below.
28291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28292 <limits.h> exists even on freestanding compilers. */
28295 # include <limits.h>
28297 # include <assert.h>
28302 /* Override any gcc2 internal prototype to avoid an error. */
28307 /* We use char because int might match the return type of a gcc2
28308 builtin and then its argument prototype would still apply. */
28310 /* The GNU C library defines this for functions which it implements
28311 to always fail with ENOSYS. Some functions are actually named
28312 something starting with __ and the normal name is an alias. */
28313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28316 char (*f) () = $ac_func;
28325 return f != $ac_func;
28330 rm -f conftest.
$ac_objext conftest
$ac_exeext
28331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28332 (eval $ac_link) 2>conftest.er1
28334 grep -v '^ *+' conftest.er1
>conftest.err
28336 cat conftest.err
>&5
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); } &&
28339 { ac_try
='test -z "$ac_cxx_werror_flag"
28340 || test ! -s conftest.err'
28341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28342 (eval $ac_try) 2>&5
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); }; } &&
28346 { ac_try
='test -s conftest$ac_exeext'
28347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28348 (eval $ac_try) 2>&5
28350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 (exit $ac_status); }; }; then
28352 eval "$as_ac_var=yes"
28354 echo "$as_me: failed program was:" >&5
28355 sed 's/^/| /' conftest.
$ac_ext >&5
28357 eval "$as_ac_var=no"
28359 rm -f conftest.err conftest.
$ac_objext \
28360 conftest
$ac_exeext conftest.
$ac_ext
28362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28364 if test `eval echo '${'$as_ac_var'}'` = yes; then
28365 cat >>confdefs.h
<<_ACEOF
28366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28374 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28375 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28377 AFMINSTALL
=afminstall
28381 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28382 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28383 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28384 echo $ECHO_N "(cached) $ECHO_C" >&6
28386 ac_check_lib_save_LIBS
=$LIBS
28388 cat >conftest.
$ac_ext <<_ACEOF
28391 cat confdefs.h
>>conftest.
$ac_ext
28392 cat >>conftest.
$ac_ext <<_ACEOF
28393 /* end confdefs.h. */
28395 /* Override any gcc2 internal prototype to avoid an error. */
28399 /* We use char because int might match the return type of a gcc2
28400 builtin and then its argument prototype would still apply. */
28401 char gdk_im_open ();
28410 rm -f conftest.
$ac_objext conftest
$ac_exeext
28411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28412 (eval $ac_link) 2>conftest.er1
28414 grep -v '^ *+' conftest.er1
>conftest.err
28416 cat conftest.err
>&5
28417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28418 (exit $ac_status); } &&
28419 { ac_try
='test -z "$ac_cxx_werror_flag"
28420 || test ! -s conftest.err'
28421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28422 (eval $ac_try) 2>&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); }; } &&
28426 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
28432 ac_cv_lib_gdk_gdk_im_open
=yes
28434 echo "$as_me: failed program was:" >&5
28435 sed 's/^/| /' conftest.
$ac_ext >&5
28437 ac_cv_lib_gdk_gdk_im_open
=no
28439 rm -f conftest.err conftest.
$ac_objext \
28440 conftest
$ac_exeext conftest.
$ac_ext
28441 LIBS
=$ac_check_lib_save_LIBS
28443 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28444 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28445 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28446 cat >>confdefs.h
<<\_ACEOF
28454 if test "$wxUSE_GPE" = "yes"; then
28455 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28456 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28459 for ac_dir
in $SEARCH_LIB;
28461 for ac_extension
in a so sl dylib dll.a
; do
28462 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28463 ac_find_libraries
=$ac_dir
28469 if test "$ac_find_libraries" != "" ; then
28471 if test "$ac_find_libraries" = "default location"; then
28474 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28476 if test $result = 0; then
28479 ac_path_to_link
=" -L$ac_find_libraries"
28483 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28485 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28486 echo "${ECHO_T}found in $ac_find_libraries" >&6
28488 echo "$as_me:$LINENO: result: not found" >&5
28489 echo "${ECHO_T}not found" >&6
28495 if test "$wxUSE_MGL" = 1; then
28496 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28497 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28498 if test "x$MGL_ROOT" = x
; then
28499 echo "$as_me:$LINENO: result: not found" >&5
28500 echo "${ECHO_T}not found" >&6
28501 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28502 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28503 { (exit 1); exit 1; }; }
28505 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28506 echo "${ECHO_T}$MGL_ROOT" >&6
28509 echo "$as_me:$LINENO: checking for libmgl location" >&5
28510 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28513 if test "x$wxUSE_SHARED" = xyes
; then
28514 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28516 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28520 mgl_os_candidates
="dos32/dj2"
28523 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28524 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28525 { (exit 1); exit 1; }; }
28531 for mgl_os_i
in $mgl_os_candidates ; do
28532 if test "x$mgl_os" = x
; then
28533 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28534 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
28535 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
28540 if test "x$mgl_lib_type" = x
; then
28541 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
28542 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
28543 mgl_lib_type
=release
28550 if test "x$mgl_os" = x
; then
28551 echo "$as_me:$LINENO: result: not found" >&5
28552 echo "${ECHO_T}not found" >&6
28553 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28554 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28555 { (exit 1); exit 1; }; }
28557 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28558 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28560 wxUSE_UNIVERSAL
="yes"
28562 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
28563 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28565 AFMINSTALL
=afminstall
28570 if test "$wxUSE_MICROWIN" = 1; then
28571 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28572 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28573 if test "x$MICROWINDOWS" = x
; then
28574 echo "$as_me:$LINENO: result: not found" >&5
28575 echo "${ECHO_T}not found" >&6
28576 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28577 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28578 { (exit 1); exit 1; }; }
28580 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28581 echo "${ECHO_T}$MICROWINDOWS" >&6
28584 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
28585 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28586 echo "${ECHO_T}MicroWindows' libraries found." >&6
28588 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28589 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28590 { (exit 1); exit 1; }; }
28593 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
28594 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28596 wxUSE_UNIVERSAL
="yes"
28598 AFMINSTALL
=afminstall
28600 GUIDIST
=MICROWIN_DIST
28602 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28605 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28606 echo "$as_me:$LINENO: checking for X" >&5
28607 echo $ECHO_N "checking for X... $ECHO_C" >&6
28610 # Check whether --with-x or --without-x was given.
28611 if test "${with_x+set}" = set; then
28615 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28616 if test "x$with_x" = xno
; then
28617 # The user explicitly disabled X.
28620 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28621 # Both variables are already set.
28624 if test "${ac_cv_have_x+set}" = set; then
28625 echo $ECHO_N "(cached) $ECHO_C" >&6
28627 # One or both of the vars are not set, and there is no cached value.
28628 ac_x_includes
=no ac_x_libraries
=no
28629 rm -fr conftest.dir
28630 if mkdir conftest.dir
; then
28632 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28633 cat >Imakefile
<<'_ACEOF'
28635 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28637 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28638 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28639 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28640 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28641 for ac_extension
in a so sl
; do
28642 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28643 test -f $ac_im_libdir/libX11.
$ac_extension; then
28644 ac_im_usrlibdir
=$ac_im_libdir; break
28647 # Screen out bogus values from the imake configuration. They are
28648 # bogus both because they are the default anyway, and because
28649 # using them would break gcc on systems where it needs fixed includes.
28650 case $ac_im_incroot in
28652 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28654 case $ac_im_usrlibdir in
28655 /usr
/lib
| /lib
) ;;
28656 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28660 rm -fr conftest.dir
28663 # Standard set of common directories for X headers.
28664 # Check X11 before X11Rn because it is often a symlink to the current release.
28676 /usr/local/X11/include
28677 /usr/local/X11R6/include
28678 /usr/local/X11R5/include
28679 /usr/local/X11R4/include
28681 /usr/local/include/X11
28682 /usr/local/include/X11R6
28683 /usr/local/include/X11R5
28684 /usr/local/include/X11R4
28688 /usr/XFree86/include/X11
28692 /usr/unsupported/include
28693 /usr/athena/include
28694 /usr/local/x11r5/include
28695 /usr/lpp/Xamples/include
28697 /usr/openwin/include
28698 /usr/openwin/share/include'
28700 if test "$ac_x_includes" = no
; then
28701 # Guess where to find include files, by looking for Intrinsic.h.
28702 # First, try using that file with no special directory specified.
28703 cat >conftest.
$ac_ext <<_ACEOF
28706 cat confdefs.h
>>conftest.
$ac_ext
28707 cat >>conftest.
$ac_ext <<_ACEOF
28708 /* end confdefs.h. */
28709 #include <X11/Intrinsic.h>
28711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28712 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28714 grep -v '^ *+' conftest.er1
>conftest.err
28716 cat conftest.err
>&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); } >/dev
/null
; then
28719 if test -s conftest.err
; then
28720 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28721 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28728 if test -z "$ac_cpp_err"; then
28729 # We can compile using X headers with no special include directory.
28732 echo "$as_me: failed program was:" >&5
28733 sed 's/^/| /' conftest.
$ac_ext >&5
28735 for ac_dir
in $ac_x_header_dirs; do
28736 if test -r "$ac_dir/X11/Intrinsic.h"; then
28737 ac_x_includes
=$ac_dir
28742 rm -f conftest.err conftest.
$ac_ext
28743 fi # $ac_x_includes = no
28745 if test "$ac_x_libraries" = no
; then
28746 # Check for the libraries.
28747 # See if we find them without any special options.
28748 # Don't add to $LIBS permanently.
28751 cat >conftest.
$ac_ext <<_ACEOF
28754 cat confdefs.h
>>conftest.
$ac_ext
28755 cat >>conftest.
$ac_ext <<_ACEOF
28756 /* end confdefs.h. */
28757 #include <X11/Intrinsic.h>
28766 rm -f conftest.
$ac_objext conftest
$ac_exeext
28767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28768 (eval $ac_link) 2>conftest.er1
28770 grep -v '^ *+' conftest.er1
>conftest.err
28772 cat conftest.err
>&5
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); } &&
28775 { ac_try
='test -z "$ac_cxx_werror_flag"
28776 || test ! -s conftest.err'
28777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28778 (eval $ac_try) 2>&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); }; } &&
28782 { ac_try
='test -s conftest$ac_exeext'
28783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28784 (eval $ac_try) 2>&5
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); }; }; then
28789 # We can link X programs with no special library path.
28792 echo "$as_me: failed program was:" >&5
28793 sed 's/^/| /' conftest.
$ac_ext >&5
28796 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28798 # Don't even attempt the hair of trying to link an X program!
28799 for ac_extension
in a so sl
; do
28800 if test -r $ac_dir/libXt.
$ac_extension; then
28801 ac_x_libraries
=$ac_dir
28807 rm -f conftest.err conftest.
$ac_objext \
28808 conftest
$ac_exeext conftest.
$ac_ext
28809 fi # $ac_x_libraries = no
28811 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28812 # Didn't find X anywhere. Cache the known absence of X.
28813 ac_cv_have_x
="have_x=no"
28815 # Record where we found X for the cache.
28816 ac_cv_have_x
="have_x=yes \
28817 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28822 eval "$ac_cv_have_x"
28825 if test "$have_x" != yes; then
28826 echo "$as_me:$LINENO: result: $have_x" >&5
28827 echo "${ECHO_T}$have_x" >&6
28830 # If each of the values was on the command line, it overrides each guess.
28831 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28832 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28833 # Update the cache value to reflect the command line values.
28834 ac_cv_have_x
="have_x=yes \
28835 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28836 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28837 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28840 if test "$no_x" = yes; then
28841 # Not all programs may use this symbol, but it does not hurt to define it.
28843 cat >>confdefs.h
<<\_ACEOF
28844 #define X_DISPLAY_MISSING 1
28847 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28849 if test -n "$x_includes"; then
28850 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28853 # It would also be nice to do this for all -L options, not just this one.
28854 if test -n "$x_libraries"; then
28855 X_LIBS
="$X_LIBS -L$x_libraries"
28856 # For Solaris; some versions of Sun CC require a space after -R and
28857 # others require no space. Words are not sufficient . . . .
28858 case `(uname -sr) 2>/dev/null` in
28860 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28861 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28862 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28863 cat >conftest.
$ac_ext <<_ACEOF
28866 cat confdefs.h
>>conftest.
$ac_ext
28867 cat >>conftest.
$ac_ext <<_ACEOF
28868 /* end confdefs.h. */
28878 rm -f conftest.
$ac_objext conftest
$ac_exeext
28879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28880 (eval $ac_link) 2>conftest.er1
28882 grep -v '^ *+' conftest.er1
>conftest.err
28884 cat conftest.err
>&5
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); } &&
28887 { ac_try
='test -z "$ac_cxx_werror_flag"
28888 || test ! -s conftest.err'
28889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28890 (eval $ac_try) 2>&5
28892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28893 (exit $ac_status); }; } &&
28894 { ac_try
='test -s conftest$ac_exeext'
28895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28896 (eval $ac_try) 2>&5
28898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28899 (exit $ac_status); }; }; then
28902 echo "$as_me: failed program was:" >&5
28903 sed 's/^/| /' conftest.
$ac_ext >&5
28907 rm -f conftest.err conftest.
$ac_objext \
28908 conftest
$ac_exeext conftest.
$ac_ext
28909 if test $ac_R_nospace = yes; then
28910 echo "$as_me:$LINENO: result: no" >&5
28911 echo "${ECHO_T}no" >&6
28912 X_LIBS
="$X_LIBS -R$x_libraries"
28914 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28915 cat >conftest.
$ac_ext <<_ACEOF
28918 cat confdefs.h
>>conftest.
$ac_ext
28919 cat >>conftest.
$ac_ext <<_ACEOF
28920 /* end confdefs.h. */
28930 rm -f conftest.
$ac_objext conftest
$ac_exeext
28931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28932 (eval $ac_link) 2>conftest.er1
28934 grep -v '^ *+' conftest.er1
>conftest.err
28936 cat conftest.err
>&5
28937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 (exit $ac_status); } &&
28939 { ac_try
='test -z "$ac_cxx_werror_flag"
28940 || test ! -s conftest.err'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; } &&
28946 { ac_try
='test -s conftest$ac_exeext'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; }; then
28954 echo "$as_me: failed program was:" >&5
28955 sed 's/^/| /' conftest.
$ac_ext >&5
28959 rm -f conftest.err conftest.
$ac_objext \
28960 conftest
$ac_exeext conftest.
$ac_ext
28961 if test $ac_R_space = yes; then
28962 echo "$as_me:$LINENO: result: yes" >&5
28963 echo "${ECHO_T}yes" >&6
28964 X_LIBS
="$X_LIBS -R $x_libraries"
28966 echo "$as_me:$LINENO: result: neither works" >&5
28967 echo "${ECHO_T}neither works" >&6
28970 LIBS
=$ac_xsave_LIBS
28974 # Check for system-dependent libraries X programs must link with.
28975 # Do this before checking for the system-independent R6 libraries
28976 # (-lICE), since we may need -lsocket or whatever for X linking.
28978 if test "$ISC" = yes; then
28979 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28981 # Martyn Johnson says this is needed for Ultrix, if the X
28982 # libraries were built with DECnet support. And Karl Berry says
28983 # the Alpha needs dnet_stub (dnet does not exist).
28984 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28985 cat >conftest.
$ac_ext <<_ACEOF
28988 cat confdefs.h
>>conftest.
$ac_ext
28989 cat >>conftest.
$ac_ext <<_ACEOF
28990 /* end confdefs.h. */
28992 /* Override any gcc2 internal prototype to avoid an error. */
28996 /* We use char because int might match the return type of a gcc2
28997 builtin and then its argument prototype would still apply. */
28998 char XOpenDisplay ();
29007 rm -f conftest.
$ac_objext conftest
$ac_exeext
29008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29009 (eval $ac_link) 2>conftest.er1
29011 grep -v '^ *+' conftest.er1
>conftest.err
29013 cat conftest.err
>&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); } &&
29016 { ac_try
='test -z "$ac_cxx_werror_flag"
29017 || test ! -s conftest.err'
29018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29019 (eval $ac_try) 2>&5
29021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29022 (exit $ac_status); }; } &&
29023 { ac_try
='test -s conftest$ac_exeext'
29024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29025 (eval $ac_try) 2>&5
29027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29028 (exit $ac_status); }; }; then
29031 echo "$as_me: failed program was:" >&5
29032 sed 's/^/| /' conftest.
$ac_ext >&5
29034 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29035 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29036 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29037 echo $ECHO_N "(cached) $ECHO_C" >&6
29039 ac_check_lib_save_LIBS
=$LIBS
29040 LIBS
="-ldnet $LIBS"
29041 cat >conftest.
$ac_ext <<_ACEOF
29044 cat confdefs.h
>>conftest.
$ac_ext
29045 cat >>conftest.
$ac_ext <<_ACEOF
29046 /* end confdefs.h. */
29048 /* Override any gcc2 internal prototype to avoid an error. */
29052 /* We use char because int might match the return type of a gcc2
29053 builtin and then its argument prototype would still apply. */
29063 rm -f conftest.
$ac_objext conftest
$ac_exeext
29064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29065 (eval $ac_link) 2>conftest.er1
29067 grep -v '^ *+' conftest.er1
>conftest.err
29069 cat conftest.err
>&5
29070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29071 (exit $ac_status); } &&
29072 { ac_try
='test -z "$ac_cxx_werror_flag"
29073 || test ! -s conftest.err'
29074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075 (eval $ac_try) 2>&5
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); }; } &&
29079 { ac_try
='test -s conftest$ac_exeext'
29080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29081 (eval $ac_try) 2>&5
29083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29084 (exit $ac_status); }; }; then
29085 ac_cv_lib_dnet_dnet_ntoa
=yes
29087 echo "$as_me: failed program was:" >&5
29088 sed 's/^/| /' conftest.
$ac_ext >&5
29090 ac_cv_lib_dnet_dnet_ntoa
=no
29092 rm -f conftest.err conftest.
$ac_objext \
29093 conftest
$ac_exeext conftest.
$ac_ext
29094 LIBS
=$ac_check_lib_save_LIBS
29096 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29097 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29098 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29099 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29102 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29103 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29104 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29105 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29106 echo $ECHO_N "(cached) $ECHO_C" >&6
29108 ac_check_lib_save_LIBS
=$LIBS
29109 LIBS
="-ldnet_stub $LIBS"
29110 cat >conftest.
$ac_ext <<_ACEOF
29113 cat confdefs.h
>>conftest.
$ac_ext
29114 cat >>conftest.
$ac_ext <<_ACEOF
29115 /* end confdefs.h. */
29117 /* Override any gcc2 internal prototype to avoid an error. */
29121 /* We use char because int might match the return type of a gcc2
29122 builtin and then its argument prototype would still apply. */
29132 rm -f conftest.
$ac_objext conftest
$ac_exeext
29133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29134 (eval $ac_link) 2>conftest.er1
29136 grep -v '^ *+' conftest.er1
>conftest.err
29138 cat conftest.err
>&5
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); } &&
29141 { ac_try
='test -z "$ac_cxx_werror_flag"
29142 || test ! -s conftest.err'
29143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29144 (eval $ac_try) 2>&5
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); }; } &&
29148 { ac_try
='test -s conftest$ac_exeext'
29149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29150 (eval $ac_try) 2>&5
29152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29153 (exit $ac_status); }; }; then
29154 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29156 echo "$as_me: failed program was:" >&5
29157 sed 's/^/| /' conftest.
$ac_ext >&5
29159 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29161 rm -f conftest.err conftest.
$ac_objext \
29162 conftest
$ac_exeext conftest.
$ac_ext
29163 LIBS
=$ac_check_lib_save_LIBS
29165 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29166 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29167 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29168 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29173 rm -f conftest.err conftest.
$ac_objext \
29174 conftest
$ac_exeext conftest.
$ac_ext
29175 LIBS
="$ac_xsave_LIBS"
29177 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29178 # to get the SysV transport functions.
29179 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29181 # The nsl library prevents programs from opening the X display
29182 # on Irix 5.2, according to T.E. Dickey.
29183 # The functions gethostbyname, getservbyname, and inet_addr are
29184 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29185 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29186 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29187 if test "${ac_cv_func_gethostbyname+set}" = set; then
29188 echo $ECHO_N "(cached) $ECHO_C" >&6
29190 cat >conftest.
$ac_ext <<_ACEOF
29193 cat confdefs.h
>>conftest.
$ac_ext
29194 cat >>conftest.
$ac_ext <<_ACEOF
29195 /* end confdefs.h. */
29196 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29198 #define gethostbyname innocuous_gethostbyname
29200 /* System header to define __stub macros and hopefully few prototypes,
29201 which can conflict with char gethostbyname (); below.
29202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29203 <limits.h> exists even on freestanding compilers. */
29206 # include <limits.h>
29208 # include <assert.h>
29211 #undef gethostbyname
29213 /* Override any gcc2 internal prototype to avoid an error. */
29218 /* We use char because int might match the return type of a gcc2
29219 builtin and then its argument prototype would still apply. */
29220 char gethostbyname ();
29221 /* The GNU C library defines this for functions which it implements
29222 to always fail with ENOSYS. Some functions are actually named
29223 something starting with __ and the normal name is an alias. */
29224 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29227 char (*f) () = gethostbyname;
29236 return f != gethostbyname;
29241 rm -f conftest.
$ac_objext conftest
$ac_exeext
29242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29243 (eval $ac_link) 2>conftest.er1
29245 grep -v '^ *+' conftest.er1
>conftest.err
29247 cat conftest.err
>&5
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); } &&
29250 { ac_try
='test -z "$ac_cxx_werror_flag"
29251 || test ! -s conftest.err'
29252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29253 (eval $ac_try) 2>&5
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); }; } &&
29257 { ac_try
='test -s conftest$ac_exeext'
29258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29259 (eval $ac_try) 2>&5
29261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29262 (exit $ac_status); }; }; then
29263 ac_cv_func_gethostbyname
=yes
29265 echo "$as_me: failed program was:" >&5
29266 sed 's/^/| /' conftest.
$ac_ext >&5
29268 ac_cv_func_gethostbyname
=no
29270 rm -f conftest.err conftest.
$ac_objext \
29271 conftest
$ac_exeext conftest.
$ac_ext
29273 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29274 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29276 if test $ac_cv_func_gethostbyname = no
; then
29277 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29278 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29279 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29280 echo $ECHO_N "(cached) $ECHO_C" >&6
29282 ac_check_lib_save_LIBS
=$LIBS
29284 cat >conftest.
$ac_ext <<_ACEOF
29287 cat confdefs.h
>>conftest.
$ac_ext
29288 cat >>conftest.
$ac_ext <<_ACEOF
29289 /* end confdefs.h. */
29291 /* Override any gcc2 internal prototype to avoid an error. */
29295 /* We use char because int might match the return type of a gcc2
29296 builtin and then its argument prototype would still apply. */
29297 char gethostbyname ();
29306 rm -f conftest.
$ac_objext conftest
$ac_exeext
29307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29308 (eval $ac_link) 2>conftest.er1
29310 grep -v '^ *+' conftest.er1
>conftest.err
29312 cat conftest.err
>&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); } &&
29315 { ac_try
='test -z "$ac_cxx_werror_flag"
29316 || test ! -s conftest.err'
29317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29318 (eval $ac_try) 2>&5
29320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321 (exit $ac_status); }; } &&
29322 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
29328 ac_cv_lib_nsl_gethostbyname
=yes
29330 echo "$as_me: failed program was:" >&5
29331 sed 's/^/| /' conftest.
$ac_ext >&5
29333 ac_cv_lib_nsl_gethostbyname
=no
29335 rm -f conftest.err conftest.
$ac_objext \
29336 conftest
$ac_exeext conftest.
$ac_ext
29337 LIBS
=$ac_check_lib_save_LIBS
29339 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29340 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29341 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29342 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29345 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29346 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29347 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29348 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29349 echo $ECHO_N "(cached) $ECHO_C" >&6
29351 ac_check_lib_save_LIBS
=$LIBS
29353 cat >conftest.
$ac_ext <<_ACEOF
29356 cat confdefs.h
>>conftest.
$ac_ext
29357 cat >>conftest.
$ac_ext <<_ACEOF
29358 /* end confdefs.h. */
29360 /* Override any gcc2 internal prototype to avoid an error. */
29364 /* We use char because int might match the return type of a gcc2
29365 builtin and then its argument prototype would still apply. */
29366 char gethostbyname ();
29375 rm -f conftest.
$ac_objext conftest
$ac_exeext
29376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29377 (eval $ac_link) 2>conftest.er1
29379 grep -v '^ *+' conftest.er1
>conftest.err
29381 cat conftest.err
>&5
29382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29383 (exit $ac_status); } &&
29384 { ac_try
='test -z "$ac_cxx_werror_flag"
29385 || test ! -s conftest.err'
29386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29387 (eval $ac_try) 2>&5
29389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29390 (exit $ac_status); }; } &&
29391 { ac_try
='test -s conftest$ac_exeext'
29392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29393 (eval $ac_try) 2>&5
29395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29396 (exit $ac_status); }; }; then
29397 ac_cv_lib_bsd_gethostbyname
=yes
29399 echo "$as_me: failed program was:" >&5
29400 sed 's/^/| /' conftest.
$ac_ext >&5
29402 ac_cv_lib_bsd_gethostbyname
=no
29404 rm -f conftest.err conftest.
$ac_objext \
29405 conftest
$ac_exeext conftest.
$ac_ext
29406 LIBS
=$ac_check_lib_save_LIBS
29408 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29409 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29410 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29411 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
29417 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29418 # socket/setsockopt and other routines are undefined under SCO ODT
29419 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29420 # on later versions), says Simon Leinen: it contains gethostby*
29421 # variants that don't use the name server (or something). -lsocket
29422 # must be given before -lnsl if both are needed. We assume that
29423 # if connect needs -lnsl, so does gethostbyname.
29424 echo "$as_me:$LINENO: checking for connect" >&5
29425 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29426 if test "${ac_cv_func_connect+set}" = set; then
29427 echo $ECHO_N "(cached) $ECHO_C" >&6
29429 cat >conftest.
$ac_ext <<_ACEOF
29432 cat confdefs.h
>>conftest.
$ac_ext
29433 cat >>conftest.
$ac_ext <<_ACEOF
29434 /* end confdefs.h. */
29435 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29437 #define connect innocuous_connect
29439 /* System header to define __stub macros and hopefully few prototypes,
29440 which can conflict with char connect (); below.
29441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29442 <limits.h> exists even on freestanding compilers. */
29445 # include <limits.h>
29447 # include <assert.h>
29452 /* Override any gcc2 internal prototype to avoid an error. */
29457 /* We use char because int might match the return type of a gcc2
29458 builtin and then its argument prototype would still apply. */
29460 /* The GNU C library defines this for functions which it implements
29461 to always fail with ENOSYS. Some functions are actually named
29462 something starting with __ and the normal name is an alias. */
29463 #if defined (__stub_connect) || defined (__stub___connect)
29466 char (*f) () = connect;
29475 return f != connect;
29480 rm -f conftest.
$ac_objext conftest
$ac_exeext
29481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29482 (eval $ac_link) 2>conftest.er1
29484 grep -v '^ *+' conftest.er1
>conftest.err
29486 cat conftest.err
>&5
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); } &&
29489 { ac_try
='test -z "$ac_cxx_werror_flag"
29490 || test ! -s conftest.err'
29491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29492 (eval $ac_try) 2>&5
29494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); }; } &&
29496 { ac_try
='test -s conftest$ac_exeext'
29497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29498 (eval $ac_try) 2>&5
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); }; }; then
29502 ac_cv_func_connect
=yes
29504 echo "$as_me: failed program was:" >&5
29505 sed 's/^/| /' conftest.
$ac_ext >&5
29507 ac_cv_func_connect
=no
29509 rm -f conftest.err conftest.
$ac_objext \
29510 conftest
$ac_exeext conftest.
$ac_ext
29512 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29513 echo "${ECHO_T}$ac_cv_func_connect" >&6
29515 if test $ac_cv_func_connect = no
; then
29516 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29517 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29518 if test "${ac_cv_lib_socket_connect+set}" = set; then
29519 echo $ECHO_N "(cached) $ECHO_C" >&6
29521 ac_check_lib_save_LIBS
=$LIBS
29522 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29523 cat >conftest.
$ac_ext <<_ACEOF
29526 cat confdefs.h
>>conftest.
$ac_ext
29527 cat >>conftest.
$ac_ext <<_ACEOF
29528 /* end confdefs.h. */
29530 /* Override any gcc2 internal prototype to avoid an error. */
29534 /* We use char because int might match the return type of a gcc2
29535 builtin and then its argument prototype would still apply. */
29545 rm -f conftest.
$ac_objext conftest
$ac_exeext
29546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29547 (eval $ac_link) 2>conftest.er1
29549 grep -v '^ *+' conftest.er1
>conftest.err
29551 cat conftest.err
>&5
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); } &&
29554 { ac_try
='test -z "$ac_cxx_werror_flag"
29555 || test ! -s conftest.err'
29556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29557 (eval $ac_try) 2>&5
29559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 (exit $ac_status); }; } &&
29561 { ac_try
='test -s conftest$ac_exeext'
29562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29563 (eval $ac_try) 2>&5
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); }; }; then
29567 ac_cv_lib_socket_connect
=yes
29569 echo "$as_me: failed program was:" >&5
29570 sed 's/^/| /' conftest.
$ac_ext >&5
29572 ac_cv_lib_socket_connect
=no
29574 rm -f conftest.err conftest.
$ac_objext \
29575 conftest
$ac_exeext conftest.
$ac_ext
29576 LIBS
=$ac_check_lib_save_LIBS
29578 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29579 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29580 if test $ac_cv_lib_socket_connect = yes; then
29581 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
29586 # Guillermo Gomez says -lposix is necessary on A/UX.
29587 echo "$as_me:$LINENO: checking for remove" >&5
29588 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29589 if test "${ac_cv_func_remove+set}" = set; then
29590 echo $ECHO_N "(cached) $ECHO_C" >&6
29592 cat >conftest.
$ac_ext <<_ACEOF
29595 cat confdefs.h
>>conftest.
$ac_ext
29596 cat >>conftest.
$ac_ext <<_ACEOF
29597 /* end confdefs.h. */
29598 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29600 #define remove innocuous_remove
29602 /* System header to define __stub macros and hopefully few prototypes,
29603 which can conflict with char remove (); below.
29604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29605 <limits.h> exists even on freestanding compilers. */
29608 # include <limits.h>
29610 # include <assert.h>
29615 /* Override any gcc2 internal prototype to avoid an error. */
29620 /* We use char because int might match the return type of a gcc2
29621 builtin and then its argument prototype would still apply. */
29623 /* The GNU C library defines this for functions which it implements
29624 to always fail with ENOSYS. Some functions are actually named
29625 something starting with __ and the normal name is an alias. */
29626 #if defined (__stub_remove) || defined (__stub___remove)
29629 char (*f) () = remove;
29638 return f != remove;
29643 rm -f conftest.
$ac_objext conftest
$ac_exeext
29644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29645 (eval $ac_link) 2>conftest.er1
29647 grep -v '^ *+' conftest.er1
>conftest.err
29649 cat conftest.err
>&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } &&
29652 { ac_try
='test -z "$ac_cxx_werror_flag"
29653 || test ! -s conftest.err'
29654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29655 (eval $ac_try) 2>&5
29657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29658 (exit $ac_status); }; } &&
29659 { ac_try
='test -s conftest$ac_exeext'
29660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29661 (eval $ac_try) 2>&5
29663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29664 (exit $ac_status); }; }; then
29665 ac_cv_func_remove
=yes
29667 echo "$as_me: failed program was:" >&5
29668 sed 's/^/| /' conftest.
$ac_ext >&5
29670 ac_cv_func_remove
=no
29672 rm -f conftest.err conftest.
$ac_objext \
29673 conftest
$ac_exeext conftest.
$ac_ext
29675 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29676 echo "${ECHO_T}$ac_cv_func_remove" >&6
29678 if test $ac_cv_func_remove = no
; then
29679 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29680 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29681 if test "${ac_cv_lib_posix_remove+set}" = set; then
29682 echo $ECHO_N "(cached) $ECHO_C" >&6
29684 ac_check_lib_save_LIBS
=$LIBS
29685 LIBS
="-lposix $LIBS"
29686 cat >conftest.
$ac_ext <<_ACEOF
29689 cat confdefs.h
>>conftest.
$ac_ext
29690 cat >>conftest.
$ac_ext <<_ACEOF
29691 /* end confdefs.h. */
29693 /* Override any gcc2 internal prototype to avoid an error. */
29697 /* We use char because int might match the return type of a gcc2
29698 builtin and then its argument prototype would still apply. */
29708 rm -f conftest.
$ac_objext conftest
$ac_exeext
29709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29710 (eval $ac_link) 2>conftest.er1
29712 grep -v '^ *+' conftest.er1
>conftest.err
29714 cat conftest.err
>&5
29715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716 (exit $ac_status); } &&
29717 { ac_try
='test -z "$ac_cxx_werror_flag"
29718 || test ! -s conftest.err'
29719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29720 (eval $ac_try) 2>&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); }; } &&
29724 { ac_try
='test -s conftest$ac_exeext'
29725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29726 (eval $ac_try) 2>&5
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); }; }; then
29730 ac_cv_lib_posix_remove
=yes
29732 echo "$as_me: failed program was:" >&5
29733 sed 's/^/| /' conftest.
$ac_ext >&5
29735 ac_cv_lib_posix_remove
=no
29737 rm -f conftest.err conftest.
$ac_objext \
29738 conftest
$ac_exeext conftest.
$ac_ext
29739 LIBS
=$ac_check_lib_save_LIBS
29741 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29742 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29743 if test $ac_cv_lib_posix_remove = yes; then
29744 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29749 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29750 echo "$as_me:$LINENO: checking for shmat" >&5
29751 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29752 if test "${ac_cv_func_shmat+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29755 cat >conftest.
$ac_ext <<_ACEOF
29758 cat confdefs.h
>>conftest.
$ac_ext
29759 cat >>conftest.
$ac_ext <<_ACEOF
29760 /* end confdefs.h. */
29761 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29763 #define shmat innocuous_shmat
29765 /* System header to define __stub macros and hopefully few prototypes,
29766 which can conflict with char shmat (); below.
29767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29768 <limits.h> exists even on freestanding compilers. */
29771 # include <limits.h>
29773 # include <assert.h>
29778 /* Override any gcc2 internal prototype to avoid an error. */
29783 /* We use char because int might match the return type of a gcc2
29784 builtin and then its argument prototype would still apply. */
29786 /* The GNU C library defines this for functions which it implements
29787 to always fail with ENOSYS. Some functions are actually named
29788 something starting with __ and the normal name is an alias. */
29789 #if defined (__stub_shmat) || defined (__stub___shmat)
29792 char (*f) () = shmat;
29806 rm -f conftest.
$ac_objext conftest
$ac_exeext
29807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29808 (eval $ac_link) 2>conftest.er1
29810 grep -v '^ *+' conftest.er1
>conftest.err
29812 cat conftest.err
>&5
29813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29814 (exit $ac_status); } &&
29815 { ac_try
='test -z "$ac_cxx_werror_flag"
29816 || 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"
29881 || test ! -s conftest.err'
29882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29883 (eval $ac_try) 2>&5
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); }; } &&
29887 { ac_try
='test -s conftest$ac_exeext'
29888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29889 (eval $ac_try) 2>&5
29891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29892 (exit $ac_status); }; }; then
29893 ac_cv_lib_ipc_shmat
=yes
29895 echo "$as_me: failed program was:" >&5
29896 sed 's/^/| /' conftest.
$ac_ext >&5
29898 ac_cv_lib_ipc_shmat
=no
29900 rm -f conftest.err conftest.
$ac_objext \
29901 conftest
$ac_exeext conftest.
$ac_ext
29902 LIBS
=$ac_check_lib_save_LIBS
29904 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29905 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29906 if test $ac_cv_lib_ipc_shmat = yes; then
29907 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29913 # Check for libraries that X11R6 Xt/Xaw programs need.
29914 ac_save_LDFLAGS
=$LDFLAGS
29915 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29916 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29917 # check for ICE first), but we must link in the order -lSM -lICE or
29918 # we get undefined symbols. So assume we have SM if we have ICE.
29919 # These have to be linked with before -lX11, unlike the other
29920 # libraries we check for below, so use a different variable.
29921 # John Interrante, Karl Berry
29922 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29923 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29924 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29925 echo $ECHO_N "(cached) $ECHO_C" >&6
29927 ac_check_lib_save_LIBS
=$LIBS
29928 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29929 cat >conftest.
$ac_ext <<_ACEOF
29932 cat confdefs.h
>>conftest.
$ac_ext
29933 cat >>conftest.
$ac_ext <<_ACEOF
29934 /* end confdefs.h. */
29936 /* Override any gcc2 internal prototype to avoid an error. */
29940 /* We use char because int might match the return type of a gcc2
29941 builtin and then its argument prototype would still apply. */
29942 char IceConnectionNumber ();
29946 IceConnectionNumber ();
29951 rm -f conftest.
$ac_objext conftest
$ac_exeext
29952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29953 (eval $ac_link) 2>conftest.er1
29955 grep -v '^ *+' conftest.er1
>conftest.err
29957 cat conftest.err
>&5
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); } &&
29960 { ac_try
='test -z "$ac_cxx_werror_flag"
29961 || test ! -s conftest.err'
29962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29963 (eval $ac_try) 2>&5
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); }; } &&
29967 { ac_try
='test -s conftest$ac_exeext'
29968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29969 (eval $ac_try) 2>&5
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); }; }; then
29973 ac_cv_lib_ICE_IceConnectionNumber
=yes
29975 echo "$as_me: failed program was:" >&5
29976 sed 's/^/| /' conftest.
$ac_ext >&5
29978 ac_cv_lib_ICE_IceConnectionNumber
=no
29980 rm -f conftest.err conftest.
$ac_objext \
29981 conftest
$ac_exeext conftest.
$ac_ext
29982 LIBS
=$ac_check_lib_save_LIBS
29984 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29987 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29990 LDFLAGS
=$ac_save_LDFLAGS
29995 if test "$no_x" = "yes"; then
29996 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29997 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29998 { (exit 1); exit 1; }; }
30001 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30002 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30003 AFMINSTALL
=afminstall
30004 COMPILED_X_PROGRAM
=0
30008 if test "$wxUSE_X11" = 1; then
30009 if test "$wxUSE_NANOX" = "yes"; then
30010 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30011 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30012 if test "x$MICROWIN" = x
; then
30013 echo "$as_me:$LINENO: result: not found" >&5
30014 echo "${ECHO_T}not found" >&6
30015 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30016 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30017 { (exit 1); exit 1; }; }
30019 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30020 echo "${ECHO_T}$MICROWIN" >&6
30021 cat >>confdefs.h
<<\_ACEOF
30022 #define wxUSE_NANOX 1
30028 if test "$wxUSE_UNICODE" = "yes"; then
30032 if test -z "$PKG_CONFIG"; then
30033 # Extract the first word of "pkg-config", so it can be a program name with args.
30034 set dummy pkg
-config; ac_word
=$2
30035 echo "$as_me:$LINENO: checking for $ac_word" >&5
30036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30037 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30038 echo $ECHO_N "(cached) $ECHO_C" >&6
30040 case $PKG_CONFIG in
30042 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30046 for as_dir
in $PATH
30049 test -z "$as_dir" && as_dir
=.
30050 for ac_exec_ext
in '' $ac_executable_extensions; do
30051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30052 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30059 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
30063 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30065 if test -n "$PKG_CONFIG"; then
30066 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30067 echo "${ECHO_T}$PKG_CONFIG" >&6
30069 echo "$as_me:$LINENO: result: no" >&5
30070 echo "${ECHO_T}no" >&6
30075 if test "$PKG_CONFIG" = "no" ; then
30076 echo "*** The pkg-config script could not be found. Make sure it is"
30077 echo "*** in your path, or set the PKG_CONFIG environment variable"
30078 echo "*** to the full path to pkg-config."
30079 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30081 PKG_CONFIG_MIN_VERSION
=0.9.0
30082 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30083 echo "$as_me:$LINENO: checking for pangox" >&5
30084 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
30086 if $PKG_CONFIG --exists "pangox" ; then
30087 echo "$as_me:$LINENO: result: yes" >&5
30088 echo "${ECHO_T}yes" >&6
30091 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
30092 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
30093 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
30094 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
30095 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
30097 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
30098 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
30099 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
30100 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
30101 echo "${ECHO_T}$PANGOX_LIBS" >&6
30105 ## If we have a custom action on failure, don't print errors, but
30106 ## do set a variable so people can do so.
30107 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30114 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30115 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30119 if test $succeeded = yes; then
30121 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30122 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30126 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30127 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30128 { (exit 1); exit 1; }; }
30136 if test -z "$PKG_CONFIG"; then
30137 # Extract the first word of "pkg-config", so it can be a program name with args.
30138 set dummy pkg
-config; ac_word
=$2
30139 echo "$as_me:$LINENO: checking for $ac_word" >&5
30140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30141 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30142 echo $ECHO_N "(cached) $ECHO_C" >&6
30144 case $PKG_CONFIG in
30146 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30150 for as_dir
in $PATH
30153 test -z "$as_dir" && as_dir
=.
30154 for ac_exec_ext
in '' $ac_executable_extensions; do
30155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30156 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30163 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
30167 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30169 if test -n "$PKG_CONFIG"; then
30170 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30171 echo "${ECHO_T}$PKG_CONFIG" >&6
30173 echo "$as_me:$LINENO: result: no" >&5
30174 echo "${ECHO_T}no" >&6
30179 if test "$PKG_CONFIG" = "no" ; then
30180 echo "*** The pkg-config script could not be found. Make sure it is"
30181 echo "*** in your path, or set the PKG_CONFIG environment variable"
30182 echo "*** to the full path to pkg-config."
30183 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30185 PKG_CONFIG_MIN_VERSION
=0.9.0
30186 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30187 echo "$as_me:$LINENO: checking for pangoft2" >&5
30188 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
30190 if $PKG_CONFIG --exists "pangoft2" ; then
30191 echo "$as_me:$LINENO: result: yes" >&5
30192 echo "${ECHO_T}yes" >&6
30195 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
30196 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
30197 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
30198 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
30199 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
30201 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
30202 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
30203 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
30204 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
30205 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
30209 ## If we have a custom action on failure, don't print errors, but
30210 ## do set a variable so people can do so.
30211 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30218 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30219 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30223 if test $succeeded = yes; then
30225 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30226 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30230 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30231 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30232 wxUSE_PRINTING_ARCHITECTURE
="no"
30240 if test -z "$PKG_CONFIG"; then
30241 # Extract the first word of "pkg-config", so it can be a program name with args.
30242 set dummy pkg
-config; ac_word
=$2
30243 echo "$as_me:$LINENO: checking for $ac_word" >&5
30244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30245 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30246 echo $ECHO_N "(cached) $ECHO_C" >&6
30248 case $PKG_CONFIG in
30250 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30254 for as_dir
in $PATH
30257 test -z "$as_dir" && as_dir
=.
30258 for ac_exec_ext
in '' $ac_executable_extensions; do
30259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30260 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30267 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
30271 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30273 if test -n "$PKG_CONFIG"; then
30274 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30275 echo "${ECHO_T}$PKG_CONFIG" >&6
30277 echo "$as_me:$LINENO: result: no" >&5
30278 echo "${ECHO_T}no" >&6
30283 if test "$PKG_CONFIG" = "no" ; then
30284 echo "*** The pkg-config script could not be found. Make sure it is"
30285 echo "*** in your path, or set the PKG_CONFIG environment variable"
30286 echo "*** to the full path to pkg-config."
30287 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30289 PKG_CONFIG_MIN_VERSION
=0.9.0
30290 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30291 echo "$as_me:$LINENO: checking for pangoxft" >&5
30292 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
30294 if $PKG_CONFIG --exists "pangoxft" ; then
30295 echo "$as_me:$LINENO: result: yes" >&5
30296 echo "${ECHO_T}yes" >&6
30299 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
30300 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
30301 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
30302 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
30303 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
30305 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
30306 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
30307 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
30308 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
30309 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
30313 ## If we have a custom action on failure, don't print errors, but
30314 ## do set a variable so people can do so.
30315 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30322 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30323 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30327 if test $succeeded = yes; then
30329 cat >>confdefs.h
<<\_ACEOF
30330 #define HAVE_PANGO_XFT 1
30333 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30334 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30338 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30339 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30344 save_CXXFLAGS
="$CXXFLAGS"
30346 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30347 LIBS
="$LIBS $PANGOX_LIBS"
30349 for ac_func
in pango_font_family_is_monospace
30351 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30352 echo "$as_me:$LINENO: checking for $ac_func" >&5
30353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30354 if eval "test \"\${$as_ac_var+set}\" = set"; then
30355 echo $ECHO_N "(cached) $ECHO_C" >&6
30357 cat >conftest.
$ac_ext <<_ACEOF
30360 cat confdefs.h
>>conftest.
$ac_ext
30361 cat >>conftest.
$ac_ext <<_ACEOF
30362 /* end confdefs.h. */
30363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30365 #define $ac_func innocuous_$ac_func
30367 /* System header to define __stub macros and hopefully few prototypes,
30368 which can conflict with char $ac_func (); below.
30369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30370 <limits.h> exists even on freestanding compilers. */
30373 # include <limits.h>
30375 # include <assert.h>
30380 /* Override any gcc2 internal prototype to avoid an error. */
30385 /* We use char because int might match the return type of a gcc2
30386 builtin and then its argument prototype would still apply. */
30388 /* The GNU C library defines this for functions which it implements
30389 to always fail with ENOSYS. Some functions are actually named
30390 something starting with __ and the normal name is an alias. */
30391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30394 char (*f) () = $ac_func;
30403 return f != $ac_func;
30408 rm -f conftest.
$ac_objext conftest
$ac_exeext
30409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30410 (eval $ac_link) 2>conftest.er1
30412 grep -v '^ *+' conftest.er1
>conftest.err
30414 cat conftest.err
>&5
30415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30416 (exit $ac_status); } &&
30417 { ac_try
='test -z "$ac_cxx_werror_flag"
30418 || test ! -s conftest.err'
30419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30420 (eval $ac_try) 2>&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); }; } &&
30424 { ac_try
='test -s conftest$ac_exeext'
30425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30426 (eval $ac_try) 2>&5
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); }; }; then
30430 eval "$as_ac_var=yes"
30432 echo "$as_me: failed program was:" >&5
30433 sed 's/^/| /' conftest.
$ac_ext >&5
30435 eval "$as_ac_var=no"
30437 rm -f conftest.err conftest.
$ac_objext \
30438 conftest
$ac_exeext conftest.
$ac_ext
30440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30442 if test `eval echo '${'$as_ac_var'}'` = yes; then
30443 cat >>confdefs.h
<<_ACEOF
30444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30450 CXXFLAGS
="$save_CXXFLAGS"
30454 wxUSE_UNIVERSAL
="yes"
30456 if test "$wxUSE_NANOX" = "yes"; then
30457 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30458 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"
30459 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30461 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
30468 if test "$wxUSE_MOTIF" = 1; then
30469 if test "$wxUSE_UNICODE" = "yes"; then
30470 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30471 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30472 { (exit 1); exit 1; }; }
30475 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30476 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30479 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30481 if test -f "$ac_dir/Xm/Xm.h"; then
30482 ac_find_includes
=$ac_dir
30487 if test "$ac_find_includes" != "" ; then
30488 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30489 echo "${ECHO_T}found in $ac_find_includes" >&6
30491 if test "x$ac_find_includes" = "x/usr/include"; then
30492 ac_path_to_include
=""
30494 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
30496 if test $result = 0; then
30497 ac_path_to_include
=""
30499 ac_path_to_include
=" -I$ac_find_includes"
30503 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
30505 save_CXXFLAGS
=$CXXFLAGS
30506 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30508 cat >conftest.
$ac_ext <<_ACEOF
30511 cat confdefs.h
>>conftest.
$ac_ext
30512 cat >>conftest.
$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30522 version = xmUseVersion;
30528 rm -f conftest.
$ac_objext
30529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30530 (eval $ac_compile) 2>conftest.er1
30532 grep -v '^ *+' conftest.er1
>conftest.err
30534 cat conftest.err
>&5
30535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 (exit $ac_status); } &&
30537 { ac_try
='test -z "$ac_cxx_werror_flag"
30538 || test ! -s conftest.err'
30539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30540 (eval $ac_try) 2>&5
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); }; } &&
30544 { ac_try
='test -s conftest.$ac_objext'
30545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30546 (eval $ac_try) 2>&5
30548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30549 (exit $ac_status); }; }; then
30551 echo "$as_me:$LINENO: result: found in default search path" >&5
30552 echo "${ECHO_T}found in default search path" >&6
30553 COMPILED_X_PROGRAM
=1
30556 echo "$as_me: failed program was:" >&5
30557 sed 's/^/| /' conftest.
$ac_ext >&5
30560 echo "$as_me:$LINENO: result: no" >&5
30561 echo "${ECHO_T}no" >&6
30562 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30563 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30564 { (exit 1); exit 1; }; }
30568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30570 CXXFLAGS
=$save_CXXFLAGS
30574 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30575 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30578 for ac_dir
in $SEARCH_LIB;
30580 for ac_extension
in a so sl dylib dll.a
; do
30581 if test -f "$ac_dir/libXm.$ac_extension"; then
30582 ac_find_libraries
=$ac_dir
30589 if test "x$ac_find_libraries" != "x" ; then
30590 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30591 echo "${ECHO_T}found in $ac_find_libraries" >&6
30594 if test "$ac_find_libraries" = "default location"; then
30597 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30599 if test $result = 0; then
30602 ac_path_to_link
=" -L$ac_find_libraries"
30606 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30608 save_CXXFLAGS
=$CXXFLAGS
30609 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30611 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30613 cat >conftest.
$ac_ext <<_ACEOF
30616 cat confdefs.h
>>conftest.
$ac_ext
30617 cat >>conftest.
$ac_ext <<_ACEOF
30618 /* end confdefs.h. */
30627 version = xmUseVersion;
30633 rm -f conftest.
$ac_objext conftest
$ac_exeext
30634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30635 (eval $ac_link) 2>conftest.er1
30637 grep -v '^ *+' conftest.er1
>conftest.err
30639 cat conftest.err
>&5
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); } &&
30642 { ac_try
='test -z "$ac_cxx_werror_flag"
30643 || test ! -s conftest.err'
30644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30645 (eval $ac_try) 2>&5
30647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30648 (exit $ac_status); }; } &&
30649 { ac_try
='test -s conftest$ac_exeext'
30650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30651 (eval $ac_try) 2>&5
30653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30654 (exit $ac_status); }; }; then
30656 echo "$as_me:$LINENO: result: found in default search path" >&5
30657 echo "${ECHO_T}found in default search path" >&6
30658 COMPILED_X_PROGRAM
=1
30661 echo "$as_me: failed program was:" >&5
30662 sed 's/^/| /' conftest.
$ac_ext >&5
30665 echo "$as_me:$LINENO: result: no" >&5
30666 echo "${ECHO_T}no" >&6
30667 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30668 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30669 { (exit 1); exit 1; }; }
30673 rm -f conftest.err conftest.
$ac_objext \
30674 conftest
$ac_exeext conftest.
$ac_ext
30676 CXXFLAGS
=$save_CXXFLAGS
30680 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30681 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30685 for libp
in "" " -lXp"; do
30686 if test "$libs_found" = "0"; then
30687 for libsm_ice
in "" " -lSM -lICE"; do
30688 if test "$libs_found" = "0"; then
30690 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30691 save_CXXFLAGS
=$CXXFLAGS
30692 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30694 cat >conftest.
$ac_ext <<_ACEOF
30697 cat confdefs.h
>>conftest.
$ac_ext
30698 cat >>conftest.
$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30702 #include <Xm/List.h>
30708 XmString string = NULL;
30711 XmListAddItem(w, string, position);
30717 rm -f conftest.
$ac_objext conftest
$ac_exeext
30718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30719 (eval $ac_link) 2>conftest.er1
30721 grep -v '^ *+' conftest.er1
>conftest.err
30723 cat conftest.err
>&5
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); } &&
30726 { ac_try
='test -z "$ac_cxx_werror_flag"
30727 || test ! -s conftest.err'
30728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30729 (eval $ac_try) 2>&5
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; } &&
30733 { ac_try
='test -s conftest$ac_exeext'
30734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30735 (eval $ac_try) 2>&5
30737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30738 (exit $ac_status); }; }; then
30741 libsm_ice_link
="$libsm_ice"
30742 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30743 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30747 echo "$as_me: failed program was:" >&5
30748 sed 's/^/| /' conftest.
$ac_ext >&5
30753 rm -f conftest.err conftest.
$ac_objext \
30754 conftest
$ac_exeext conftest.
$ac_ext
30757 CXXFLAGS
=$save_CXXFLAGS
30763 if test "$libs_found" = "0"; then
30764 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30765 echo "${ECHO_T}can't find the right libraries" >&6
30766 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30767 echo "$as_me: error: can't link a simple motif program" >&2;}
30768 { (exit 1); exit 1; }; }
30771 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30772 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30773 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30774 echo $ECHO_N "(cached) $ECHO_C" >&6
30776 ac_check_lib_save_LIBS
=$LIBS
30778 cat >conftest.
$ac_ext <<_ACEOF
30781 cat confdefs.h
>>conftest.
$ac_ext
30782 cat >>conftest.
$ac_ext <<_ACEOF
30783 /* end confdefs.h. */
30785 /* Override any gcc2 internal prototype to avoid an error. */
30789 /* We use char because int might match the return type of a gcc2
30790 builtin and then its argument prototype would still apply. */
30791 char SgCreateList ();
30800 rm -f conftest.
$ac_objext conftest
$ac_exeext
30801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30802 (eval $ac_link) 2>conftest.er1
30804 grep -v '^ *+' conftest.er1
>conftest.err
30806 cat conftest.err
>&5
30807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30808 (exit $ac_status); } &&
30809 { ac_try
='test -z "$ac_cxx_werror_flag"
30810 || test ! -s conftest.err'
30811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30812 (eval $ac_try) 2>&5
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); }; } &&
30816 { ac_try
='test -s conftest$ac_exeext'
30817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30818 (eval $ac_try) 2>&5
30820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821 (exit $ac_status); }; }; then
30822 ac_cv_lib_Sgm_SgCreateList
=yes
30824 echo "$as_me: failed program was:" >&5
30825 sed 's/^/| /' conftest.
$ac_ext >&5
30827 ac_cv_lib_Sgm_SgCreateList
=no
30829 rm -f conftest.err conftest.
$ac_objext \
30830 conftest
$ac_exeext conftest.
$ac_ext
30831 LIBS
=$ac_check_lib_save_LIBS
30833 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30834 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30835 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30836 libsgm_link
=" -lSgm"
30840 save_CXXFLAGS
=$CXXFLAGS
30841 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30843 echo "$as_me:$LINENO: checking for Motif 2" >&5
30844 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30845 if test "${wx_cv_lib_motif2+set}" = set; then
30846 echo $ECHO_N "(cached) $ECHO_C" >&6
30848 cat >conftest.
$ac_ext <<_ACEOF
30851 cat confdefs.h
>>conftest.
$ac_ext
30852 cat >>conftest.
$ac_ext <<_ACEOF
30853 /* end confdefs.h. */
30861 #if XmVersion < 2000
30869 rm -f conftest.
$ac_objext
30870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30871 (eval $ac_compile) 2>conftest.er1
30873 grep -v '^ *+' conftest.er1
>conftest.err
30875 cat conftest.err
>&5
30876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30877 (exit $ac_status); } &&
30878 { ac_try
='test -z "$ac_cxx_werror_flag"
30879 || test ! -s conftest.err'
30880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30881 (eval $ac_try) 2>&5
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); }; } &&
30885 { ac_try
='test -s conftest.$ac_objext'
30886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30887 (eval $ac_try) 2>&5
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); }; }; then
30891 wx_cv_lib_motif2
="yes"
30893 echo "$as_me: failed program was:" >&5
30894 sed 's/^/| /' conftest.
$ac_ext >&5
30896 wx_cv_lib_motif2
="no"
30898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30900 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30901 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30902 if test "$wx_cv_lib_motif2" = "yes"; then
30903 cat >>confdefs.h
<<\_ACEOF
30904 #define __WXMOTIF20__ 1
30908 cat >>confdefs.h
<<\_ACEOF
30909 #define __WXMOTIF20__ 0
30914 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30915 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30916 if test "${wx_cv_lib_lesstif+set}" = set; then
30917 echo $ECHO_N "(cached) $ECHO_C" >&6
30919 cat >conftest.
$ac_ext <<_ACEOF
30922 cat confdefs.h
>>conftest.
$ac_ext
30923 cat >>conftest.
$ac_ext <<_ACEOF
30924 /* end confdefs.h. */
30932 #if !defined(LesstifVersion) || LesstifVersion <= 0
30940 rm -f conftest.
$ac_objext
30941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30942 (eval $ac_compile) 2>conftest.er1
30944 grep -v '^ *+' conftest.er1
>conftest.err
30946 cat conftest.err
>&5
30947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30948 (exit $ac_status); } &&
30949 { ac_try
='test -z "$ac_cxx_werror_flag"
30950 || test ! -s conftest.err'
30951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30952 (eval $ac_try) 2>&5
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); }; } &&
30956 { ac_try
='test -s conftest.$ac_objext'
30957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30958 (eval $ac_try) 2>&5
30960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30961 (exit $ac_status); }; }; then
30962 wx_cv_lib_lesstif
="yes"
30964 echo "$as_me: failed program was:" >&5
30965 sed 's/^/| /' conftest.
$ac_ext >&5
30967 wx_cv_lib_lesstif
="no"
30969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30972 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30973 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30974 if test "$wx_cv_lib_lesstif" = "yes"; then
30975 cat >>confdefs.h
<<\_ACEOF
30976 #define __WXLESSTIF__ 1
30980 cat >>confdefs.h
<<\_ACEOF
30981 #define __WXLESSTIF__ 0
30986 CXXFLAGS
=$save_CXXFLAGS
30988 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30993 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30994 if test "$wxUSE_LIBXPM" = "sys"; then
30995 echo "$as_me:$LINENO: checking for Xpm library" >&5
30996 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30999 for ac_dir
in $SEARCH_LIB;
31001 for ac_extension
in a so sl dylib dll.a
; do
31002 if test -f "$ac_dir/libXpm.$ac_extension"; then
31003 ac_find_libraries
=$ac_dir
31009 if test "$ac_find_libraries" != "" ; then
31011 if test "$ac_find_libraries" = "default location"; then
31014 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31016 if test $result = 0; then
31019 ac_path_to_link
=" -L$ac_find_libraries"
31023 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31024 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31025 echo "${ECHO_T}found in $ac_find_libraries" >&6
31027 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31028 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31029 if test "${wx_cv_x11_xpm_h+set}" = set; then
31030 echo $ECHO_N "(cached) $ECHO_C" >&6
31033 save_CXXFLAGS
=$CXXFLAGS
31034 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31036 cat >conftest.
$ac_ext <<_ACEOF
31039 cat confdefs.h
>>conftest.
$ac_ext
31040 cat >>conftest.
$ac_ext <<_ACEOF
31041 /* end confdefs.h. */
31043 #include <X11/xpm.h>
31050 version = XpmLibraryVersion();
31056 rm -f conftest.
$ac_objext
31057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31058 (eval $ac_compile) 2>conftest.er1
31060 grep -v '^ *+' conftest.er1
>conftest.err
31062 cat conftest.err
>&5
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); } &&
31065 { ac_try
='test -z "$ac_cxx_werror_flag"
31066 || test ! -s conftest.err'
31067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31068 (eval $ac_try) 2>&5
31070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071 (exit $ac_status); }; } &&
31072 { ac_try
='test -s conftest.$ac_objext'
31073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31074 (eval $ac_try) 2>&5
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); }; }; then
31078 wx_cv_x11_xpm_h
=yes
31080 echo "$as_me: failed program was:" >&5
31081 sed 's/^/| /' conftest.
$ac_ext >&5
31086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31088 CXXFLAGS
=$save_CXXFLAGS
31092 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31093 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31095 if test $wx_cv_x11_xpm_h = "yes"; then
31096 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31097 cat >>confdefs.h
<<\_ACEOF
31098 #define wxHAVE_LIB_XPM 1
31102 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31103 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31109 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31110 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31111 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31112 echo $ECHO_N "(cached) $ECHO_C" >&6
31114 ac_check_lib_save_LIBS
=$LIBS
31115 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31116 cat >conftest.
$ac_ext <<_ACEOF
31119 cat confdefs.h
>>conftest.
$ac_ext
31120 cat >>conftest.
$ac_ext <<_ACEOF
31121 /* end confdefs.h. */
31123 /* Override any gcc2 internal prototype to avoid an error. */
31127 /* We use char because int might match the return type of a gcc2
31128 builtin and then its argument prototype would still apply. */
31129 char XShapeQueryExtension ();
31133 XShapeQueryExtension ();
31138 rm -f conftest.
$ac_objext conftest
$ac_exeext
31139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31140 (eval $ac_link) 2>conftest.er1
31142 grep -v '^ *+' conftest.er1
>conftest.err
31144 cat conftest.err
>&5
31145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31146 (exit $ac_status); } &&
31147 { ac_try
='test -z "$ac_cxx_werror_flag"
31148 || test ! -s conftest.err'
31149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31150 (eval $ac_try) 2>&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); }; } &&
31154 { ac_try
='test -s conftest$ac_exeext'
31155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31156 (eval $ac_try) 2>&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); }; }; then
31160 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31162 echo "$as_me: failed program was:" >&5
31163 sed 's/^/| /' conftest.
$ac_ext >&5
31165 ac_cv_lib_Xext_XShapeQueryExtension
=no
31167 rm -f conftest.err conftest.
$ac_objext \
31168 conftest
$ac_exeext conftest.
$ac_ext
31169 LIBS
=$ac_check_lib_save_LIBS
31171 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31172 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31173 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31175 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31181 if test "$wxHAVE_XEXT_LIB" = 1; then
31182 save_CXXFLAGS
="$CXXFLAGS"
31183 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31185 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31186 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31187 cat >conftest.
$ac_ext <<_ACEOF
31190 cat confdefs.h
>>conftest.
$ac_ext
31191 cat >>conftest.
$ac_ext <<_ACEOF
31192 /* end confdefs.h. */
31194 #include <X11/Xlib.h>
31195 #include <X11/extensions/shape.h>
31201 int dummy1, dummy2;
31202 XShapeQueryExtension((Display*)NULL,
31203 (int*)NULL, (int*)NULL);
31209 rm -f conftest.
$ac_objext
31210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31211 (eval $ac_compile) 2>conftest.er1
31213 grep -v '^ *+' conftest.er1
>conftest.err
31215 cat conftest.err
>&5
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); } &&
31218 { ac_try
='test -z "$ac_cxx_werror_flag"
31219 || test ! -s conftest.err'
31220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31221 (eval $ac_try) 2>&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); }; } &&
31225 { ac_try
='test -s conftest.$ac_objext'
31226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31227 (eval $ac_try) 2>&5
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); }; }; then
31232 cat >>confdefs.h
<<\_ACEOF
31233 #define HAVE_XSHAPE 1
31236 echo "$as_me:$LINENO: result: found" >&5
31237 echo "${ECHO_T}found" >&6
31240 echo "$as_me: failed program was:" >&5
31241 sed 's/^/| /' conftest.
$ac_ext >&5
31244 echo "$as_me:$LINENO: result: not found" >&5
31245 echo "${ECHO_T}not found" >&6
31248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31249 CXXFLAGS
="$save_CXXFLAGS"
31254 if test "$wxUSE_MAC" = 1; then
31255 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31256 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31257 if test "$GCC" = yes; then
31258 echo "$as_me:$LINENO: result: gcc" >&5
31259 echo "${ECHO_T}gcc" >&6
31260 CPPFLAGS_PASCAL
="-fpascal-strings"
31261 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31262 echo "$as_me:$LINENO: result: xlc" >&5
31263 echo "${ECHO_T}xlc" >&6
31264 CPPFLAGS_PASCAL
="-qmacpstr"
31266 echo "$as_me:$LINENO: result: none" >&5
31267 echo "${ECHO_T}none" >&6
31270 if test "x$wxUSE_UNIX" = "xyes"; then
31271 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31273 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31278 WXBASEPORT
="_carbon"
31281 if test "$wxUSE_COCOA" = 1; then
31286 if test "$wxUSE_PM" = 1; then
31289 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31290 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31291 if test "${wx_cv_spbcdata+set}" = set; then
31292 echo $ECHO_N "(cached) $ECHO_C" >&6
31295 cat >conftest.
$ac_ext <<_ACEOF
31298 cat confdefs.h
>>conftest.
$ac_ext
31299 cat >>conftest.
$ac_ext <<_ACEOF
31300 /* end confdefs.h. */
31315 rm -f conftest.
$ac_objext
31316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31317 (eval $ac_compile) 2>conftest.er1
31319 grep -v '^ *+' conftest.er1
>conftest.err
31321 cat conftest.err
>&5
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); } &&
31324 { ac_try
='test -z "$ac_cxx_werror_flag"
31325 || test ! -s conftest.err'
31326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31327 (eval $ac_try) 2>&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); }; } &&
31331 { ac_try
='test -s conftest.$ac_objext'
31332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333 (eval $ac_try) 2>&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); }; }; then
31339 echo "$as_me: failed program was:" >&5
31340 sed 's/^/| /' conftest.
$ac_ext >&5
31345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31349 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31350 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31352 if test $wx_cv_spbcdata = "yes"; then
31353 cat >>confdefs.h
<<\_ACEOF
31354 #define HAVE_SPBCDATA 1
31360 if test "$TOOLKIT" = "PM" ; then
31363 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31366 if test "$wxUSE_UNIVERSAL" = "yes"; then
31367 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31371 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31372 DISTDIR
="wx\$(TOOLKIT)"
31378 if test "$USE_WIN32" = 1 ; then
31382 GUIDIST
="BASE_DIST"
31387 if test "$wxUSE_GUI" = "yes"; then
31388 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31390 for ac_header
in X
11/Xlib.h
31392 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31394 echo "$as_me:$LINENO: checking for $ac_header" >&5
31395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31402 # Is the header compilable?
31403 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31405 cat >conftest.
$ac_ext <<_ACEOF
31408 cat confdefs.h
>>conftest.
$ac_ext
31409 cat >>conftest.
$ac_ext <<_ACEOF
31410 /* end confdefs.h. */
31411 $ac_includes_default
31412 #include <$ac_header>
31414 rm -f conftest.
$ac_objext
31415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31416 (eval $ac_compile) 2>conftest.er1
31418 grep -v '^ *+' conftest.er1
>conftest.err
31420 cat conftest.err
>&5
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); } &&
31423 { ac_try
='test -z "$ac_cxx_werror_flag"
31424 || test ! -s conftest.err'
31425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31426 (eval $ac_try) 2>&5
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); }; } &&
31430 { ac_try
='test -s conftest.$ac_objext'
31431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31432 (eval $ac_try) 2>&5
31434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435 (exit $ac_status); }; }; then
31436 ac_header_compiler
=yes
31438 echo "$as_me: failed program was:" >&5
31439 sed 's/^/| /' conftest.
$ac_ext >&5
31441 ac_header_compiler
=no
31443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31445 echo "${ECHO_T}$ac_header_compiler" >&6
31447 # Is the header present?
31448 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31450 cat >conftest.
$ac_ext <<_ACEOF
31453 cat confdefs.h
>>conftest.
$ac_ext
31454 cat >>conftest.
$ac_ext <<_ACEOF
31455 /* end confdefs.h. */
31456 #include <$ac_header>
31458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31461 grep -v '^ *+' conftest.er1
>conftest.err
31463 cat conftest.err
>&5
31464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31465 (exit $ac_status); } >/dev
/null
; then
31466 if test -s conftest.err
; then
31467 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31468 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31475 if test -z "$ac_cpp_err"; then
31476 ac_header_preproc
=yes
31478 echo "$as_me: failed program was:" >&5
31479 sed 's/^/| /' conftest.
$ac_ext >&5
31481 ac_header_preproc
=no
31483 rm -f conftest.err conftest.
$ac_ext
31484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31485 echo "${ECHO_T}$ac_header_preproc" >&6
31487 # So? What about this header?
31488 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31490 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31491 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31493 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31494 ac_header_preproc
=yes
31497 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31498 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31499 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31500 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31501 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31502 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31503 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31504 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31506 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31507 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31508 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31511 ## ----------------------------------------- ##
31512 ## Report this to wx-dev@lists.wxwidgets.org ##
31513 ## ----------------------------------------- ##
31516 sed "s/^/$as_me: WARNING: /" >&2
31519 echo "$as_me:$LINENO: checking for $ac_header" >&5
31520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31522 echo $ECHO_N "(cached) $ECHO_C" >&6
31524 eval "$as_ac_Header=\$ac_header_preproc"
31526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31531 cat >>confdefs.h
<<_ACEOF
31532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31540 for ac_header
in X
11/XKBlib.h
31542 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
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 cat >conftest.
$ac_ext <<_ACEOF
31551 cat confdefs.h
>>conftest.
$ac_ext
31552 cat >>conftest.
$ac_ext <<_ACEOF
31553 /* end confdefs.h. */
31555 #if HAVE_X11_XLIB_H
31556 #include <X11/Xlib.h>
31560 #include <$ac_header>
31562 rm -f conftest.
$ac_objext
31563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31564 (eval $ac_compile) 2>conftest.er1
31566 grep -v '^ *+' conftest.er1
>conftest.err
31568 cat conftest.err
>&5
31569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570 (exit $ac_status); } &&
31571 { ac_try
='test -z "$ac_cxx_werror_flag"
31572 || test ! -s conftest.err'
31573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31574 (eval $ac_try) 2>&5
31576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31577 (exit $ac_status); }; } &&
31578 { ac_try
='test -s conftest.$ac_objext'
31579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31580 (eval $ac_try) 2>&5
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); }; }; then
31584 eval "$as_ac_Header=yes"
31586 echo "$as_me: failed program was:" >&5
31587 sed 's/^/| /' conftest.
$ac_ext >&5
31589 eval "$as_ac_Header=no"
31591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31596 cat >>confdefs.h
<<_ACEOF
31597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31612 if test "$TOOLKIT" != "MSW" ; then
31614 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31616 if test "${ac_cv_header_sql_h+set}" = set; then
31617 echo "$as_me:$LINENO: checking for sql.h" >&5
31618 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31619 if test "${ac_cv_header_sql_h+set}" = set; then
31620 echo $ECHO_N "(cached) $ECHO_C" >&6
31622 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31623 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31625 # Is the header compilable?
31626 echo "$as_me:$LINENO: checking sql.h usability" >&5
31627 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31628 cat >conftest.
$ac_ext <<_ACEOF
31631 cat confdefs.h
>>conftest.
$ac_ext
31632 cat >>conftest.
$ac_ext <<_ACEOF
31633 /* end confdefs.h. */
31634 $ac_includes_default
31637 rm -f conftest.
$ac_objext
31638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31639 (eval $ac_compile) 2>conftest.er1
31641 grep -v '^ *+' conftest.er1
>conftest.err
31643 cat conftest.err
>&5
31644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31645 (exit $ac_status); } &&
31646 { ac_try
='test -z "$ac_cxx_werror_flag"
31647 || test ! -s conftest.err'
31648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31649 (eval $ac_try) 2>&5
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; } &&
31653 { ac_try
='test -s conftest.$ac_objext'
31654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31655 (eval $ac_try) 2>&5
31657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31658 (exit $ac_status); }; }; then
31659 ac_header_compiler
=yes
31661 echo "$as_me: failed program was:" >&5
31662 sed 's/^/| /' conftest.
$ac_ext >&5
31664 ac_header_compiler
=no
31666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31668 echo "${ECHO_T}$ac_header_compiler" >&6
31670 # Is the header present?
31671 echo "$as_me:$LINENO: checking sql.h presence" >&5
31672 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31673 cat >conftest.
$ac_ext <<_ACEOF
31676 cat confdefs.h
>>conftest.
$ac_ext
31677 cat >>conftest.
$ac_ext <<_ACEOF
31678 /* end confdefs.h. */
31681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31682 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31684 grep -v '^ *+' conftest.er1
>conftest.err
31686 cat conftest.err
>&5
31687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31688 (exit $ac_status); } >/dev
/null
; then
31689 if test -s conftest.err
; then
31690 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31691 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31698 if test -z "$ac_cpp_err"; then
31699 ac_header_preproc
=yes
31701 echo "$as_me: failed program was:" >&5
31702 sed 's/^/| /' conftest.
$ac_ext >&5
31704 ac_header_preproc
=no
31706 rm -f conftest.err conftest.
$ac_ext
31707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31708 echo "${ECHO_T}$ac_header_preproc" >&6
31710 # So? What about this header?
31711 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31713 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31714 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31715 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31716 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31717 ac_header_preproc
=yes
31720 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31721 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31722 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31723 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31724 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31725 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31726 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31727 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31728 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31729 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31730 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31731 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31734 ## ----------------------------------------- ##
31735 ## Report this to wx-dev@lists.wxwidgets.org ##
31736 ## ----------------------------------------- ##
31739 sed "s/^/$as_me: WARNING: /" >&2
31742 echo "$as_me:$LINENO: checking for sql.h" >&5
31743 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31744 if test "${ac_cv_header_sql_h+set}" = set; then
31745 echo $ECHO_N "(cached) $ECHO_C" >&6
31747 ac_cv_header_sql_h
=$ac_header_preproc
31749 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31750 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31753 if test $ac_cv_header_sql_h = yes; then
31758 if test "x$found_sql_h" = "x1" ; then
31759 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31760 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31761 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31762 echo $ECHO_N "(cached) $ECHO_C" >&6
31764 ac_check_lib_save_LIBS
=$LIBS
31765 LIBS
="-liodbc $LIBS"
31766 cat >conftest.
$ac_ext <<_ACEOF
31769 cat confdefs.h
>>conftest.
$ac_ext
31770 cat >>conftest.
$ac_ext <<_ACEOF
31771 /* end confdefs.h. */
31773 /* Override any gcc2 internal prototype to avoid an error. */
31777 /* We use char because int might match the return type of a gcc2
31778 builtin and then its argument prototype would still apply. */
31779 char SQLAllocEnv ();
31788 rm -f conftest.
$ac_objext conftest
$ac_exeext
31789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31790 (eval $ac_link) 2>conftest.er1
31792 grep -v '^ *+' conftest.er1
>conftest.err
31794 cat conftest.err
>&5
31795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31796 (exit $ac_status); } &&
31797 { ac_try
='test -z "$ac_cxx_werror_flag"
31798 || test ! -s conftest.err'
31799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31800 (eval $ac_try) 2>&5
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); }; } &&
31804 { ac_try
='test -s conftest$ac_exeext'
31805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806 (eval $ac_try) 2>&5
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; }; then
31810 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31812 echo "$as_me: failed program was:" >&5
31813 sed 's/^/| /' conftest.
$ac_ext >&5
31815 ac_cv_lib_iodbc_SQLAllocEnv
=no
31817 rm -f conftest.err conftest.
$ac_objext \
31818 conftest
$ac_exeext conftest.
$ac_ext
31819 LIBS
=$ac_check_lib_save_LIBS
31821 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31822 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31823 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31824 ODBC_LINK
=" -liodbc"
31827 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31828 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31829 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31830 echo $ECHO_N "(cached) $ECHO_C" >&6
31832 ac_check_lib_save_LIBS
=$LIBS
31833 LIBS
="-lunixodbc $LIBS"
31834 cat >conftest.
$ac_ext <<_ACEOF
31837 cat confdefs.h
>>conftest.
$ac_ext
31838 cat >>conftest.
$ac_ext <<_ACEOF
31839 /* end confdefs.h. */
31841 /* Override any gcc2 internal prototype to avoid an error. */
31845 /* We use char because int might match the return type of a gcc2
31846 builtin and then its argument prototype would still apply. */
31847 char SQLAllocEnv ();
31856 rm -f conftest.
$ac_objext conftest
$ac_exeext
31857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31858 (eval $ac_link) 2>conftest.er1
31860 grep -v '^ *+' conftest.er1
>conftest.err
31862 cat conftest.err
>&5
31863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31864 (exit $ac_status); } &&
31865 { ac_try
='test -z "$ac_cxx_werror_flag"
31866 || test ! -s conftest.err'
31867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31868 (eval $ac_try) 2>&5
31870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31871 (exit $ac_status); }; } &&
31872 { ac_try
='test -s conftest$ac_exeext'
31873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31874 (eval $ac_try) 2>&5
31876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31877 (exit $ac_status); }; }; then
31878 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31880 echo "$as_me: failed program was:" >&5
31881 sed 's/^/| /' conftest.
$ac_ext >&5
31883 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31885 rm -f conftest.err conftest.
$ac_objext \
31886 conftest
$ac_exeext conftest.
$ac_ext
31887 LIBS
=$ac_check_lib_save_LIBS
31889 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31890 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31891 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31892 ODBC_LINK
=" -lunixodbc"
31895 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31896 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31897 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31898 echo $ECHO_N "(cached) $ECHO_C" >&6
31900 ac_check_lib_save_LIBS
=$LIBS
31901 LIBS
="-lodbc $LIBS"
31902 cat >conftest.
$ac_ext <<_ACEOF
31905 cat confdefs.h
>>conftest.
$ac_ext
31906 cat >>conftest.
$ac_ext <<_ACEOF
31907 /* end confdefs.h. */
31909 /* Override any gcc2 internal prototype to avoid an error. */
31913 /* We use char because int might match the return type of a gcc2
31914 builtin and then its argument prototype would still apply. */
31915 char SQLAllocEnv ();
31924 rm -f conftest.
$ac_objext conftest
$ac_exeext
31925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31926 (eval $ac_link) 2>conftest.er1
31928 grep -v '^ *+' conftest.er1
>conftest.err
31930 cat conftest.err
>&5
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); } &&
31933 { ac_try
='test -z "$ac_cxx_werror_flag"
31934 || test ! -s conftest.err'
31935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936 (eval $ac_try) 2>&5
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); }; } &&
31940 { ac_try
='test -s conftest$ac_exeext'
31941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31942 (eval $ac_try) 2>&5
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); }; }; then
31946 ac_cv_lib_odbc_SQLAllocEnv
=yes
31948 echo "$as_me: failed program was:" >&5
31949 sed 's/^/| /' conftest.
$ac_ext >&5
31951 ac_cv_lib_odbc_SQLAllocEnv
=no
31953 rm -f conftest.err conftest.
$ac_objext \
31954 conftest
$ac_exeext conftest.
$ac_ext
31955 LIBS
=$ac_check_lib_save_LIBS
31957 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31958 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31959 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31960 ODBC_LINK
=" -lodbc"
31970 if test "x$ODBC_LINK" = "x" ; then
31971 if test "$wxUSE_ODBC" = "sys" ; then
31972 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31973 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31974 { (exit 1); exit 1; }; }
31976 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31977 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31985 if test "$wxUSE_ODBC" = "builtin" ; then
31986 cat >>confdefs.h
<<\_ACEOF
31987 #define wxUSE_BUILTIN_IODBC 1
31993 if test "$wxUSE_ODBC" != "no" ; then
31994 cat >>confdefs.h
<<\_ACEOF
31995 #define wxUSE_ODBC 1
31998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32000 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32004 if test "$wxUSE_DISPLAY" = "yes"; then
32005 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32006 echo "$as_me:$LINENO: checking for Xinerama" >&5
32007 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32010 for ac_dir
in $SEARCH_LIB;
32012 for ac_extension
in a so sl dylib dll.a
; do
32013 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32014 ac_find_libraries
=$ac_dir
32020 if test "$ac_find_libraries" != "" ; then
32022 if test "$ac_find_libraries" = "default location"; then
32025 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32027 if test $result = 0; then
32030 ac_path_to_link
=" -L$ac_find_libraries"
32034 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32035 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32037 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32038 echo "$as_me:$LINENO: result: yes" >&5
32039 echo "${ECHO_T}yes" >&6
32041 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32042 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32045 for ac_dir
in $SEARCH_LIB;
32047 for ac_extension
in a so sl dylib dll.a
; do
32048 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32049 ac_find_libraries
=$ac_dir
32055 if test "$ac_find_libraries" != "" ; then
32056 echo "$as_me:$LINENO: result: yes" >&5
32057 echo "${ECHO_T}yes" >&6
32059 for ac_header
in X
11/extensions
/xf86vmode.h
32061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32062 echo "$as_me:$LINENO: checking for $ac_header" >&5
32063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32065 echo $ECHO_N "(cached) $ECHO_C" >&6
32067 cat >conftest.
$ac_ext <<_ACEOF
32070 cat confdefs.h
>>conftest.
$ac_ext
32071 cat >>conftest.
$ac_ext <<_ACEOF
32072 /* end confdefs.h. */
32074 #if HAVE_X11_XLIB_H
32075 #include <X11/Xlib.h>
32079 #include <$ac_header>
32081 rm -f conftest.
$ac_objext
32082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32083 (eval $ac_compile) 2>conftest.er1
32085 grep -v '^ *+' conftest.er1
>conftest.err
32087 cat conftest.err
>&5
32088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089 (exit $ac_status); } &&
32090 { ac_try
='test -z "$ac_cxx_werror_flag"
32091 || test ! -s conftest.err'
32092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32093 (eval $ac_try) 2>&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); }; } &&
32097 { ac_try
='test -s conftest.$ac_objext'
32098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099 (eval $ac_try) 2>&5
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); }; }; then
32103 eval "$as_ac_Header=yes"
32105 echo "$as_me: failed program was:" >&5
32106 sed 's/^/| /' conftest.
$ac_ext >&5
32108 eval "$as_ac_Header=no"
32110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32115 cat >>confdefs.h
<<_ACEOF
32116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32119 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32126 echo "$as_me:$LINENO: result: no" >&5
32127 echo "${ECHO_T}no" >&6
32131 echo "$as_me:$LINENO: result: no" >&5
32132 echo "${ECHO_T}no" >&6
32133 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32134 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32137 elif test "$wxUSE_MSW" = 1; then
32139 for ac_header
in ddraw.h
32141 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32142 echo "$as_me:$LINENO: checking for $ac_header" >&5
32143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32145 echo $ECHO_N "(cached) $ECHO_C" >&6
32147 cat >conftest.
$ac_ext <<_ACEOF
32150 cat confdefs.h
>>conftest.
$ac_ext
32151 cat >>conftest.
$ac_ext <<_ACEOF
32152 /* end confdefs.h. */
32153 #include <windows.h>
32155 #include <$ac_header>
32157 rm -f conftest.
$ac_objext
32158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32159 (eval $ac_compile) 2>conftest.er1
32161 grep -v '^ *+' conftest.er1
>conftest.err
32163 cat conftest.err
>&5
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); } &&
32166 { ac_try
='test -z "$ac_cxx_werror_flag"
32167 || test ! -s conftest.err'
32168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169 (eval $ac_try) 2>&5
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; } &&
32173 { ac_try
='test -s conftest.$ac_objext'
32174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32175 (eval $ac_try) 2>&5
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); }; }; then
32179 eval "$as_ac_Header=yes"
32181 echo "$as_me: failed program was:" >&5
32182 sed 's/^/| /' conftest.
$ac_ext >&5
32184 eval "$as_ac_Header=no"
32186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32191 cat >>confdefs.h
<<_ACEOF
32192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32204 if test "$wxUSE_OPENGL" = "yes"; then
32205 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32206 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32207 elif test "$wxUSE_MSW" = 1; then
32208 OPENGL_LIBS
="-lopengl32 -lglu32"
32213 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32215 if test -f "$ac_dir/GL/gl.h"; then
32216 ac_find_includes
=$ac_dir
32221 if test "$ac_find_includes" != "" ; then
32222 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32223 echo "${ECHO_T}found in $ac_find_includes" >&6
32225 if test "x$ac_find_includes" = "x/usr/include"; then
32226 ac_path_to_include
=""
32228 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32230 if test $result = 0; then
32231 ac_path_to_include
=""
32233 ac_path_to_include
=" -I$ac_find_includes"
32237 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32240 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32241 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32242 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32243 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32244 echo $ECHO_N "(cached) $ECHO_C" >&6
32246 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32247 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32249 # Is the header compilable?
32250 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32251 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32252 cat >conftest.
$ac_ext <<_ACEOF
32255 cat confdefs.h
>>conftest.
$ac_ext
32256 cat >>conftest.
$ac_ext <<_ACEOF
32257 /* end confdefs.h. */
32258 $ac_includes_default
32261 rm -f conftest.
$ac_objext
32262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32263 (eval $ac_compile) 2>conftest.er1
32265 grep -v '^ *+' conftest.er1
>conftest.err
32267 cat conftest.err
>&5
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); } &&
32270 { ac_try
='test -z "$ac_cxx_werror_flag"
32271 || test ! -s conftest.err'
32272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32273 (eval $ac_try) 2>&5
32275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276 (exit $ac_status); }; } &&
32277 { ac_try
='test -s conftest.$ac_objext'
32278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32279 (eval $ac_try) 2>&5
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; }; then
32283 ac_header_compiler
=yes
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.
$ac_ext >&5
32288 ac_header_compiler
=no
32290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32292 echo "${ECHO_T}$ac_header_compiler" >&6
32294 # Is the header present?
32295 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32296 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32297 cat >conftest.
$ac_ext <<_ACEOF
32300 cat confdefs.h
>>conftest.
$ac_ext
32301 cat >>conftest.
$ac_ext <<_ACEOF
32302 /* end confdefs.h. */
32305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32308 grep -v '^ *+' conftest.er1
>conftest.err
32310 cat conftest.err
>&5
32311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312 (exit $ac_status); } >/dev
/null
; then
32313 if test -s conftest.err
; then
32314 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32315 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32322 if test -z "$ac_cpp_err"; then
32323 ac_header_preproc
=yes
32325 echo "$as_me: failed program was:" >&5
32326 sed 's/^/| /' conftest.
$ac_ext >&5
32328 ac_header_preproc
=no
32330 rm -f conftest.err conftest.
$ac_ext
32331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32332 echo "${ECHO_T}$ac_header_preproc" >&6
32334 # So? What about this header?
32335 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32337 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32338 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32339 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32340 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32341 ac_header_preproc
=yes
32344 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32345 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32346 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32347 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32348 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32349 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32350 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32351 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32352 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32353 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32354 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32355 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32358 ## ----------------------------------------- ##
32359 ## Report this to wx-dev@lists.wxwidgets.org ##
32360 ## ----------------------------------------- ##
32363 sed "s/^/$as_me: WARNING: /" >&2
32366 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32367 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32368 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32369 echo $ECHO_N "(cached) $ECHO_C" >&6
32371 ac_cv_header_GL_gl_h
=$ac_header_preproc
32373 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32374 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32377 if test $ac_cv_header_GL_gl_h = yes; then
32381 echo "$as_me:$LINENO: checking for -lGL" >&5
32382 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32385 for ac_dir
in $SEARCH_LIB;
32387 for ac_extension
in a so sl dylib dll.a
; do
32388 if test -f "$ac_dir/libGL.$ac_extension"; then
32389 ac_find_libraries
=$ac_dir
32395 if test "$ac_find_libraries" != "" ; then
32396 echo "$as_me:$LINENO: result: yes" >&5
32397 echo "${ECHO_T}yes" >&6
32400 if test "$ac_find_libraries" = "default location"; then
32403 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32405 if test $result = 0; then
32408 ac_path_to_link
=" -L$ac_find_libraries"
32412 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32413 LDFLAGS_GL
="$ac_path_to_link"
32416 echo "$as_me:$LINENO: checking for -lGLU" >&5
32417 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32420 for ac_dir
in $SEARCH_LIB;
32422 for ac_extension
in a so sl dylib dll.a
; do
32423 if test -f "$ac_dir/libGLU.$ac_extension"; then
32424 ac_find_libraries
=$ac_dir
32430 if test "$ac_find_libraries" != "" ; then
32432 if test "$ac_find_libraries" = "default location"; then
32435 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32437 if test $result = 0; then
32440 ac_path_to_link
=" -L$ac_find_libraries"
32444 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32445 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32446 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32450 OPENGL_LIBS
="-lGL -lGLU"
32451 echo "$as_me:$LINENO: result: yes" >&5
32452 echo "${ECHO_T}yes" >&6
32454 echo "$as_me:$LINENO: result: no" >&5
32455 echo "${ECHO_T}no" >&6
32458 echo "$as_me:$LINENO: result: no" >&5
32459 echo "${ECHO_T}no" >&6
32462 if test "$found_gl" != 1; then
32463 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32464 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32467 for ac_dir
in $SEARCH_LIB;
32469 for ac_extension
in a so sl dylib dll.a
; do
32470 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32471 ac_find_libraries
=$ac_dir
32477 if test "$ac_find_libraries" != "" ; then
32479 if test "$ac_find_libraries" = "default location"; then
32482 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32484 if test $result = 0; then
32487 ac_path_to_link
=" -L$ac_find_libraries"
32491 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32492 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32493 echo "$as_me:$LINENO: result: yes" >&5
32494 echo "${ECHO_T}yes" >&6
32496 echo "$as_me:$LINENO: result: no" >&5
32497 echo "${ECHO_T}no" >&6
32505 if test "x$OPENGL_LIBS" = "x"; then
32506 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32507 echo "$as_me: error: OpenGL libraries not available" >&2;}
32508 { (exit 1); exit 1; }; }
32512 if test "$wxUSE_OPENGL" = "yes"; then
32514 cat >>confdefs.h
<<\_ACEOF
32515 #define wxUSE_OPENGL 1
32518 cat >>confdefs.h
<<\_ACEOF
32519 #define wxUSE_GLCANVAS 1
32522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32527 if test -n "$TOOLKIT" ; then
32528 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32533 if test "$wxUSE_SHARED" = "yes"; then
32537 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32538 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32543 if test "$wxUSE_SHARED" = "yes"; then
32546 found_versioning
=no
32549 if test $found_versioning = no
; then
32550 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32551 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32552 if test "${wx_cv_version_script+set}" = set; then
32553 echo $ECHO_N "(cached) $ECHO_C" >&6
32556 echo "VER_1 { *; };" >conftest.sym
32557 echo "int main() { return 0; }" >conftest.cpp
32560 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32561 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563 (eval $ac_try) 2>&5
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); }; } ; then
32567 if test -s conftest.stderr
; then
32568 wx_cv_version_script
=no
32570 wx_cv_version_script
=yes
32573 wx_cv_version_script
=no
32576 if test $wx_cv_version_script = yes
32578 echo "struct B { virtual ~B() { } }; \
32579 struct D : public B { }; \
32580 void F() { D d; }" > conftest.cpp
32583 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32584 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32586 (eval $ac_try) 2>&5
32588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32589 (exit $ac_status); }; } &&
32591 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32592 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32594 (eval $ac_try) 2>&5
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); }; }
32600 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32601 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32603 (eval $ac_try) 2>&5
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); }; }
32608 wx_cv_version_script
=yes
32610 wx_cv_version_script
=no
32615 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32616 rm -f conftest1.output conftest2.output conftest3.output
32619 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32620 echo "${ECHO_T}$wx_cv_version_script" >&6
32621 if test $wx_cv_version_script = yes ; then
32622 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
32628 *-*-linux* | *-*-gnu* )
32629 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32630 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32634 if test "$GCC" = yes ; then
32635 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32637 saveLdflags
="$LDFLAGS"
32638 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32639 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32640 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32641 cat >conftest.
$ac_ext <<_ACEOF
32644 cat confdefs.h
>>conftest.
$ac_ext
32645 cat >>conftest.
$ac_ext <<_ACEOF
32646 /* end confdefs.h. */
32656 rm -f conftest.
$ac_objext conftest
$ac_exeext
32657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32658 (eval $ac_link) 2>conftest.er1
32660 grep -v '^ *+' conftest.er1
>conftest.err
32662 cat conftest.err
>&5
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); } &&
32665 { ac_try
='test -z "$ac_cxx_werror_flag"
32666 || test ! -s conftest.err'
32667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32668 (eval $ac_try) 2>&5
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); }; } &&
32672 { ac_try
='test -s conftest$ac_exeext'
32673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32674 (eval $ac_try) 2>&5
32676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32677 (exit $ac_status); }; }; then
32679 echo "$as_me:$LINENO: result: yes" >&5
32680 echo "${ECHO_T}yes" >&6
32681 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32682 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32685 echo "$as_me: failed program was:" >&5
32686 sed 's/^/| /' conftest.
$ac_ext >&5
32689 echo "$as_me:$LINENO: result: no" >&5
32690 echo "${ECHO_T}no" >&6
32691 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32692 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32693 LDFLAGS
="$saveLdflags -Wl,-R,/"
32694 cat >conftest.
$ac_ext <<_ACEOF
32697 cat confdefs.h
>>conftest.
$ac_ext
32698 cat >>conftest.
$ac_ext <<_ACEOF
32699 /* end confdefs.h. */
32709 rm -f conftest.
$ac_objext conftest
$ac_exeext
32710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32711 (eval $ac_link) 2>conftest.er1
32713 grep -v '^ *+' conftest.er1
>conftest.err
32715 cat conftest.err
>&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); } &&
32718 { ac_try
='test -z "$ac_cxx_werror_flag"
32719 || test ! -s conftest.err'
32720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32721 (eval $ac_try) 2>&5
32723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724 (exit $ac_status); }; } &&
32725 { ac_try
='test -s conftest$ac_exeext'
32726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32727 (eval $ac_try) 2>&5
32729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32730 (exit $ac_status); }; }; then
32732 echo "$as_me:$LINENO: result: yes" >&5
32733 echo "${ECHO_T}yes" >&6
32734 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
32735 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32738 echo "$as_me: failed program was:" >&5
32739 sed 's/^/| /' conftest.
$ac_ext >&5
32742 echo "$as_me:$LINENO: result: no" >&5
32743 echo "${ECHO_T}no" >&6
32746 rm -f conftest.err conftest.
$ac_objext \
32747 conftest
$ac_exeext conftest.
$ac_ext
32750 rm -f conftest.err conftest.
$ac_objext \
32751 conftest
$ac_exeext conftest.
$ac_ext
32752 LDFLAGS
="$saveLdflags"
32754 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
32755 WXCONFIG_RPATH
="-R\$libdir"
32760 install_name_tool
=`which install_name_tool`
32761 if test "$install_name_tool" -a -x "$install_name_tool"; then
32762 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32763 cat <<EOF >change-install-names
32765 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32766 inst_cmd="install_name_tool "
32767 for i in \${libnames} ; do
32768 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32772 chmod +x change
-install-names
32776 *-*-cygwin* | *-*-mingw32* )
32777 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32781 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
32782 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32787 if test $wxUSE_RPATH = "no"; then
32788 SAMPLES_RPATH_FLAG
=''
32789 SAMPLES_RPATH_POSTLINK
=''
32797 config_linkage_component
="-static"
32804 lib_unicode_suffix
=
32806 if test "$wxUSE_UNICODE" = "yes"; then
32807 lib_unicode_suffix
=u
32808 WX_CHARTYPE
="unicode"
32813 WX_DEBUGTYPE
="release"
32815 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32817 WX_DEBUGTYPE
="debug"
32821 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32822 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32825 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32829 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32831 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32833 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32835 if test "$cross_compiling" = "yes"; then
32836 HOST_SUFFIX
="-$host_alias"
32837 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32838 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32841 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32842 if test "${TOOLKIT_DIR}" = "os2"; then
32843 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32845 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32850 if test "$wxUSE_COCOA" = 1; then
32854 ac_cpp
='$CPP $CPPFLAGS'
32855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32861 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32862 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32863 cat >conftest.
$ac_ext <<_ACEOF
32866 cat confdefs.h
>>conftest.
$ac_ext
32867 cat >>conftest.
$ac_ext <<_ACEOF
32868 /* end confdefs.h. */
32869 #include <AppKit/NSEvent.h>
32870 #include <CoreFoundation/CoreFoundation.h>
32880 rm -f conftest.
$ac_objext
32881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32882 (eval $ac_compile) 2>conftest.er1
32884 grep -v '^ *+' conftest.er1
>conftest.err
32886 cat conftest.err
>&5
32887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32888 (exit $ac_status); } &&
32889 { ac_try
='test -z "$ac_c_werror_flag"
32890 || test ! -s conftest.err'
32891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32892 (eval $ac_try) 2>&5
32894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32895 (exit $ac_status); }; } &&
32896 { ac_try
='test -s conftest.$ac_objext'
32897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32898 (eval $ac_try) 2>&5
32900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901 (exit $ac_status); }; }; then
32902 echo "$as_me:$LINENO: result: no" >&5
32903 echo "${ECHO_T}no" >&6
32905 echo "$as_me: failed program was:" >&5
32906 sed 's/^/| /' conftest.
$ac_ext >&5
32908 echo "$as_me:$LINENO: result: yes" >&5
32909 echo "${ECHO_T}yes" >&6
32910 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32911 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32912 cat >conftest.
$ac_ext <<_ACEOF
32915 cat confdefs.h
>>conftest.
$ac_ext
32916 cat >>conftest.
$ac_ext <<_ACEOF
32917 /* end confdefs.h. */
32918 #define __Point__ 1
32919 #include <AppKit/NSEvent.h>
32920 #include <CoreFoundation/CoreFoundation.h>
32930 rm -f conftest.
$ac_objext
32931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32932 (eval $ac_compile) 2>conftest.er1
32934 grep -v '^ *+' conftest.er1
>conftest.err
32936 cat conftest.err
>&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); } &&
32939 { ac_try
='test -z "$ac_c_werror_flag"
32940 || test ! -s conftest.err'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; } &&
32946 { ac_try
='test -s conftest.$ac_objext'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; }; then
32952 echo "$as_me:$LINENO: result: yes" >&5
32953 echo "${ECHO_T}yes" >&6
32954 cat >>confdefs.h
<<\_ACEOF
32955 #define __Point__ 1
32960 echo "$as_me: failed program was:" >&5
32961 sed 's/^/| /' conftest.
$ac_ext >&5
32963 { { echo "$as_me:$LINENO: error: no
32964 See \`config.log' for more details." >&5
32965 echo "$as_me: error: no
32966 See \`config.log' for more details." >&2;}
32967 { (exit 1); exit 1; }; }
32970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32975 ac_cpp
='$CXXCPP $CPPFLAGS'
32976 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32977 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32978 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32982 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32983 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32984 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32986 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32988 # Extract the first word of "Rez", so it can be a program name with args.
32989 set dummy Rez
; ac_word
=$2
32990 echo "$as_me:$LINENO: checking for $ac_word" >&5
32991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32992 if test "${ac_cv_prog_REZ+set}" = set; then
32993 echo $ECHO_N "(cached) $ECHO_C" >&6
32995 if test -n "$REZ"; then
32996 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32999 for as_dir
in $PATH
33002 test -z "$as_dir" && as_dir
=.
33003 for ac_exec_ext
in '' $ac_executable_extensions; do
33004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33005 ac_cv_prog_REZ
="Rez"
33006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33012 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33015 REZ
=$ac_cv_prog_REZ
33016 if test -n "$REZ"; then
33017 echo "$as_me:$LINENO: result: $REZ" >&5
33018 echo "${ECHO_T}$REZ" >&6
33020 echo "$as_me:$LINENO: result: no" >&5
33021 echo "${ECHO_T}no" >&6
33024 # Extract the first word of "DeRez", so it can be a program name with args.
33025 set dummy DeRez
; ac_word
=$2
33026 echo "$as_me:$LINENO: checking for $ac_word" >&5
33027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33028 if test "${ac_cv_prog_DEREZ+set}" = set; then
33029 echo $ECHO_N "(cached) $ECHO_C" >&6
33031 if test -n "$DEREZ"; then
33032 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33035 for as_dir
in $PATH
33038 test -z "$as_dir" && as_dir
=.
33039 for ac_exec_ext
in '' $ac_executable_extensions; do
33040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33041 ac_cv_prog_DEREZ
="DeRez"
33042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33048 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33051 DEREZ
=$ac_cv_prog_DEREZ
33052 if test -n "$DEREZ"; then
33053 echo "$as_me:$LINENO: result: $DEREZ" >&5
33054 echo "${ECHO_T}$DEREZ" >&6
33056 echo "$as_me:$LINENO: result: no" >&5
33057 echo "${ECHO_T}no" >&6
33060 # Extract the first word of "SetFile", so it can be a program name with args.
33061 set dummy SetFile
; ac_word
=$2
33062 echo "$as_me:$LINENO: checking for $ac_word" >&5
33063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33064 if test "${ac_cv_prog_SETFILE+set}" = set; then
33065 echo $ECHO_N "(cached) $ECHO_C" >&6
33067 if test -n "$SETFILE"; then
33068 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33071 for as_dir
in $PATH
33074 test -z "$as_dir" && as_dir
=.
33075 for ac_exec_ext
in '' $ac_executable_extensions; do
33076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33077 ac_cv_prog_SETFILE
="SetFile"
33078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33084 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33087 SETFILE
=$ac_cv_prog_SETFILE
33088 if test -n "$SETFILE"; then
33089 echo "$as_me:$LINENO: result: $SETFILE" >&5
33090 echo "${ECHO_T}$SETFILE" >&6
33092 echo "$as_me:$LINENO: result: no" >&5
33093 echo "${ECHO_T}no" >&6
33097 MACSETFILE
="\$(SETFILE)"
33099 if test "$wxUSE_MAC" = 1; then
33100 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33102 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33104 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33105 RESCOMP
="echo -n \| $REZ"
33106 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33112 if test "$wxUSE_PM" = 1; then
33114 WXCONFIG_RESFLAGS
="-ep"
33116 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33118 POSTLINK_COMMAND
="@true"
33125 echo "$as_me:$LINENO: checking for mode_t" >&5
33126 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33127 if test "${ac_cv_type_mode_t+set}" = set; then
33128 echo $ECHO_N "(cached) $ECHO_C" >&6
33130 cat >conftest.
$ac_ext <<_ACEOF
33133 cat confdefs.h
>>conftest.
$ac_ext
33134 cat >>conftest.
$ac_ext <<_ACEOF
33135 /* end confdefs.h. */
33136 $ac_includes_default
33142 if (sizeof (mode_t))
33148 rm -f conftest.
$ac_objext
33149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33150 (eval $ac_compile) 2>conftest.er1
33152 grep -v '^ *+' conftest.er1
>conftest.err
33154 cat conftest.err
>&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); } &&
33157 { ac_try
='test -z "$ac_cxx_werror_flag"
33158 || test ! -s conftest.err'
33159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33160 (eval $ac_try) 2>&5
33162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33163 (exit $ac_status); }; } &&
33164 { ac_try
='test -s conftest.$ac_objext'
33165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33166 (eval $ac_try) 2>&5
33168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33169 (exit $ac_status); }; }; then
33170 ac_cv_type_mode_t
=yes
33172 echo "$as_me: failed program was:" >&5
33173 sed 's/^/| /' conftest.
$ac_ext >&5
33175 ac_cv_type_mode_t
=no
33177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33179 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33180 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33181 if test $ac_cv_type_mode_t = yes; then
33185 cat >>confdefs.h
<<_ACEOF
33191 echo "$as_me:$LINENO: checking for off_t" >&5
33192 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33193 if test "${ac_cv_type_off_t+set}" = set; then
33194 echo $ECHO_N "(cached) $ECHO_C" >&6
33196 cat >conftest.
$ac_ext <<_ACEOF
33199 cat confdefs.h
>>conftest.
$ac_ext
33200 cat >>conftest.
$ac_ext <<_ACEOF
33201 /* end confdefs.h. */
33202 $ac_includes_default
33208 if (sizeof (off_t))
33214 rm -f conftest.
$ac_objext
33215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33216 (eval $ac_compile) 2>conftest.er1
33218 grep -v '^ *+' conftest.er1
>conftest.err
33220 cat conftest.err
>&5
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); } &&
33223 { ac_try
='test -z "$ac_cxx_werror_flag"
33224 || test ! -s conftest.err'
33225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33226 (eval $ac_try) 2>&5
33228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33229 (exit $ac_status); }; } &&
33230 { ac_try
='test -s conftest.$ac_objext'
33231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33232 (eval $ac_try) 2>&5
33234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33235 (exit $ac_status); }; }; then
33236 ac_cv_type_off_t
=yes
33238 echo "$as_me: failed program was:" >&5
33239 sed 's/^/| /' conftest.
$ac_ext >&5
33241 ac_cv_type_off_t
=no
33243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33245 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33246 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33247 if test $ac_cv_type_off_t = yes; then
33251 cat >>confdefs.h
<<_ACEOF
33257 echo "$as_me:$LINENO: checking for pid_t" >&5
33258 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33259 if test "${ac_cv_type_pid_t+set}" = set; then
33260 echo $ECHO_N "(cached) $ECHO_C" >&6
33262 cat >conftest.
$ac_ext <<_ACEOF
33265 cat confdefs.h
>>conftest.
$ac_ext
33266 cat >>conftest.
$ac_ext <<_ACEOF
33267 /* end confdefs.h. */
33268 $ac_includes_default
33274 if (sizeof (pid_t))
33280 rm -f conftest.
$ac_objext
33281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33282 (eval $ac_compile) 2>conftest.er1
33284 grep -v '^ *+' conftest.er1
>conftest.err
33286 cat conftest.err
>&5
33287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33288 (exit $ac_status); } &&
33289 { ac_try
='test -z "$ac_cxx_werror_flag"
33290 || test ! -s conftest.err'
33291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33292 (eval $ac_try) 2>&5
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); }; } &&
33296 { ac_try
='test -s conftest.$ac_objext'
33297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33298 (eval $ac_try) 2>&5
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); }; }; then
33302 ac_cv_type_pid_t
=yes
33304 echo "$as_me: failed program was:" >&5
33305 sed 's/^/| /' conftest.
$ac_ext >&5
33307 ac_cv_type_pid_t
=no
33309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33311 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33312 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33313 if test $ac_cv_type_pid_t = yes; then
33317 cat >>confdefs.h
<<_ACEOF
33323 echo "$as_me:$LINENO: checking for size_t" >&5
33324 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33325 if test "${ac_cv_type_size_t+set}" = set; then
33326 echo $ECHO_N "(cached) $ECHO_C" >&6
33328 cat >conftest.
$ac_ext <<_ACEOF
33331 cat confdefs.h
>>conftest.
$ac_ext
33332 cat >>conftest.
$ac_ext <<_ACEOF
33333 /* end confdefs.h. */
33334 $ac_includes_default
33340 if (sizeof (size_t))
33346 rm -f conftest.
$ac_objext
33347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33348 (eval $ac_compile) 2>conftest.er1
33350 grep -v '^ *+' conftest.er1
>conftest.err
33352 cat conftest.err
>&5
33353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354 (exit $ac_status); } &&
33355 { ac_try
='test -z "$ac_cxx_werror_flag"
33356 || test ! -s conftest.err'
33357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33358 (eval $ac_try) 2>&5
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); }; } &&
33362 { ac_try
='test -s conftest.$ac_objext'
33363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33364 (eval $ac_try) 2>&5
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); }; }; then
33368 ac_cv_type_size_t
=yes
33370 echo "$as_me: failed program was:" >&5
33371 sed 's/^/| /' conftest.
$ac_ext >&5
33373 ac_cv_type_size_t
=no
33375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33377 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33378 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33379 if test $ac_cv_type_size_t = yes; then
33383 cat >>confdefs.h
<<_ACEOF
33384 #define size_t unsigned
33389 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33390 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33391 if test "${ac_cv_type_uid_t+set}" = set; then
33392 echo $ECHO_N "(cached) $ECHO_C" >&6
33394 cat >conftest.
$ac_ext <<_ACEOF
33397 cat confdefs.h
>>conftest.
$ac_ext
33398 cat >>conftest.
$ac_ext <<_ACEOF
33399 /* end confdefs.h. */
33400 #include <sys/types.h>
33403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33404 $EGREP "uid_t" >/dev
/null
2>&1; then
33405 ac_cv_type_uid_t
=yes
33407 ac_cv_type_uid_t
=no
33412 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33413 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33414 if test $ac_cv_type_uid_t = no
; then
33416 cat >>confdefs.h
<<\_ACEOF
33421 cat >>confdefs.h
<<\_ACEOF
33428 echo "$as_me:$LINENO: checking for ssize_t" >&5
33429 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33430 if test "${ac_cv_type_ssize_t+set}" = set; then
33431 echo $ECHO_N "(cached) $ECHO_C" >&6
33433 cat >conftest.
$ac_ext <<_ACEOF
33436 cat confdefs.h
>>conftest.
$ac_ext
33437 cat >>conftest.
$ac_ext <<_ACEOF
33438 /* end confdefs.h. */
33439 $ac_includes_default
33445 if (sizeof (ssize_t))
33451 rm -f conftest.
$ac_objext
33452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33453 (eval $ac_compile) 2>conftest.er1
33455 grep -v '^ *+' conftest.er1
>conftest.err
33457 cat conftest.err
>&5
33458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33459 (exit $ac_status); } &&
33460 { ac_try
='test -z "$ac_cxx_werror_flag"
33461 || test ! -s conftest.err'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; } &&
33467 { ac_try
='test -s conftest.$ac_objext'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; }; then
33473 ac_cv_type_ssize_t
=yes
33475 echo "$as_me: failed program was:" >&5
33476 sed 's/^/| /' conftest.
$ac_ext >&5
33478 ac_cv_type_ssize_t
=no
33480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33482 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33483 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33484 if test $ac_cv_type_ssize_t = yes; then
33486 cat >>confdefs.h
<<_ACEOF
33487 #define HAVE_SSIZE_T 1
33494 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33495 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33496 if test "${wx_cv_size_t_is_uint+set}" = set; then
33497 echo $ECHO_N "(cached) $ECHO_C" >&6
33500 cat >conftest.
$ac_ext <<_ACEOF
33503 cat confdefs.h
>>conftest.
$ac_ext
33504 cat >>conftest.
$ac_ext <<_ACEOF
33505 /* end confdefs.h. */
33506 #include <stddef.h>
33513 struct Foo { void foo(size_t); void foo(unsigned int); };
33521 rm -f conftest.
$ac_objext
33522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33523 (eval $ac_compile) 2>conftest.er1
33525 grep -v '^ *+' conftest.er1
>conftest.err
33527 cat conftest.err
>&5
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); } &&
33530 { ac_try
='test -z "$ac_cxx_werror_flag"
33531 || test ! -s conftest.err'
33532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33533 (eval $ac_try) 2>&5
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); }; } &&
33537 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
33543 wx_cv_size_t_is_uint
=no
33545 echo "$as_me: failed program was:" >&5
33546 sed 's/^/| /' conftest.
$ac_ext >&5
33548 wx_cv_size_t_is_uint
=yes
33551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33555 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33556 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33558 if test "$wx_cv_size_t_is_uint" = "yes"; then
33559 cat >>confdefs.h
<<\_ACEOF
33560 #define wxSIZE_T_IS_UINT 1
33564 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33565 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33566 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33567 echo $ECHO_N "(cached) $ECHO_C" >&6
33569 cat >conftest.
$ac_ext <<_ACEOF
33572 cat confdefs.h
>>conftest.
$ac_ext
33573 cat >>conftest.
$ac_ext <<_ACEOF
33574 /* end confdefs.h. */
33575 #include <stddef.h>
33582 struct Foo { void foo(size_t); void foo(unsigned long); };
33590 rm -f conftest.
$ac_objext
33591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33592 (eval $ac_compile) 2>conftest.er1
33594 grep -v '^ *+' conftest.er1
>conftest.err
33596 cat conftest.err
>&5
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); } &&
33599 { ac_try
='test -z "$ac_cxx_werror_flag"
33600 || test ! -s conftest.err'
33601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33602 (eval $ac_try) 2>&5
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); }; } &&
33606 { ac_try
='test -s conftest.$ac_objext'
33607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33608 (eval $ac_try) 2>&5
33610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33611 (exit $ac_status); }; }; then
33612 wx_cv_size_t_is_ulong
=no
33614 echo "$as_me: failed program was:" >&5
33615 sed 's/^/| /' conftest.
$ac_ext >&5
33617 wx_cv_size_t_is_ulong
=yes
33620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33623 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33624 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33626 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33627 cat >>confdefs.h
<<\_ACEOF
33628 #define wxSIZE_T_IS_ULONG 1
33635 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33636 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33637 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33638 echo $ECHO_N "(cached) $ECHO_C" >&6
33641 cat >conftest.
$ac_ext <<_ACEOF
33644 cat confdefs.h
>>conftest.
$ac_ext
33645 cat >>conftest.
$ac_ext <<_ACEOF
33646 /* end confdefs.h. */
33660 rm -f conftest.
$ac_objext
33661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33662 (eval $ac_compile) 2>conftest.er1
33664 grep -v '^ *+' conftest.er1
>conftest.err
33666 cat conftest.err
>&5
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); } &&
33669 { ac_try
='test -z "$ac_cxx_werror_flag"
33670 || test ! -s conftest.err'
33671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33672 (eval $ac_try) 2>&5
33674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33675 (exit $ac_status); }; } &&
33676 { ac_try
='test -s conftest.$ac_objext'
33677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33678 (eval $ac_try) 2>&5
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); }; }; then
33683 wx_cv_struct_pw_gecos
=yes
33686 echo "$as_me: failed program was:" >&5
33687 sed 's/^/| /' conftest.
$ac_ext >&5
33690 wx_cv_struct_pw_gecos
=no
33694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33698 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33699 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33701 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33702 cat >>confdefs.h
<<\_ACEOF
33703 #define HAVE_PW_GECOS 1
33709 if test "$wxUSE_WCHAR_T" = "yes"; then
33710 cat >>confdefs.h
<<\_ACEOF
33711 #define wxUSE_WCHAR_T 1
33718 for ac_func
in wcslen
33720 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33721 echo "$as_me:$LINENO: checking for $ac_func" >&5
33722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33723 if eval "test \"\${$as_ac_var+set}\" = set"; then
33724 echo $ECHO_N "(cached) $ECHO_C" >&6
33726 cat >conftest.
$ac_ext <<_ACEOF
33729 cat confdefs.h
>>conftest.
$ac_ext
33730 cat >>conftest.
$ac_ext <<_ACEOF
33731 /* end confdefs.h. */
33732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33734 #define $ac_func innocuous_$ac_func
33736 /* System header to define __stub macros and hopefully few prototypes,
33737 which can conflict with char $ac_func (); below.
33738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33739 <limits.h> exists even on freestanding compilers. */
33742 # include <limits.h>
33744 # include <assert.h>
33749 /* Override any gcc2 internal prototype to avoid an error. */
33754 /* We use char because int might match the return type of a gcc2
33755 builtin and then its argument prototype would still apply. */
33757 /* The GNU C library defines this for functions which it implements
33758 to always fail with ENOSYS. Some functions are actually named
33759 something starting with __ and the normal name is an alias. */
33760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33763 char (*f) () = $ac_func;
33772 return f != $ac_func;
33777 rm -f conftest.
$ac_objext conftest
$ac_exeext
33778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33779 (eval $ac_link) 2>conftest.er1
33781 grep -v '^ *+' conftest.er1
>conftest.err
33783 cat conftest.err
>&5
33784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785 (exit $ac_status); } &&
33786 { ac_try
='test -z "$ac_cxx_werror_flag"
33787 || test ! -s conftest.err'
33788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33789 (eval $ac_try) 2>&5
33791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792 (exit $ac_status); }; } &&
33793 { ac_try
='test -s conftest$ac_exeext'
33794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33795 (eval $ac_try) 2>&5
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); }; }; then
33799 eval "$as_ac_var=yes"
33801 echo "$as_me: failed program was:" >&5
33802 sed 's/^/| /' conftest.
$ac_ext >&5
33804 eval "$as_ac_var=no"
33806 rm -f conftest.err conftest.
$ac_objext \
33807 conftest
$ac_exeext conftest.
$ac_ext
33809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33811 if test `eval echo '${'$as_ac_var'}'` = yes; then
33812 cat >>confdefs.h
<<_ACEOF
33813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33820 if test "$WCSLEN_FOUND" = 0; then
33821 if test "$TOOLKIT" = "MSW"; then
33822 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33823 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33824 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33825 echo $ECHO_N "(cached) $ECHO_C" >&6
33827 ac_check_lib_save_LIBS
=$LIBS
33828 LIBS
="-lmsvcrt $LIBS"
33829 cat >conftest.
$ac_ext <<_ACEOF
33832 cat confdefs.h
>>conftest.
$ac_ext
33833 cat >>conftest.
$ac_ext <<_ACEOF
33834 /* end confdefs.h. */
33836 /* Override any gcc2 internal prototype to avoid an error. */
33840 /* We use char because int might match the return type of a gcc2
33841 builtin and then its argument prototype would still apply. */
33851 rm -f conftest.
$ac_objext conftest
$ac_exeext
33852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33853 (eval $ac_link) 2>conftest.er1
33855 grep -v '^ *+' conftest.er1
>conftest.err
33857 cat conftest.err
>&5
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); } &&
33860 { ac_try
='test -z "$ac_cxx_werror_flag"
33861 || test ! -s conftest.err'
33862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33863 (eval $ac_try) 2>&5
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); }; } &&
33867 { ac_try
='test -s conftest$ac_exeext'
33868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33869 (eval $ac_try) 2>&5
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); }; }; then
33873 ac_cv_lib_msvcrt_wcslen
=yes
33875 echo "$as_me: failed program was:" >&5
33876 sed 's/^/| /' conftest.
$ac_ext >&5
33878 ac_cv_lib_msvcrt_wcslen
=no
33880 rm -f conftest.err conftest.
$ac_objext \
33881 conftest
$ac_exeext conftest.
$ac_ext
33882 LIBS
=$ac_check_lib_save_LIBS
33884 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33885 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33886 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33891 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33892 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33893 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33894 echo $ECHO_N "(cached) $ECHO_C" >&6
33896 ac_check_lib_save_LIBS
=$LIBS
33898 cat >conftest.
$ac_ext <<_ACEOF
33901 cat confdefs.h
>>conftest.
$ac_ext
33902 cat >>conftest.
$ac_ext <<_ACEOF
33903 /* end confdefs.h. */
33905 /* Override any gcc2 internal prototype to avoid an error. */
33909 /* We use char because int might match the return type of a gcc2
33910 builtin and then its argument prototype would still apply. */
33920 rm -f conftest.
$ac_objext conftest
$ac_exeext
33921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33922 (eval $ac_link) 2>conftest.er1
33924 grep -v '^ *+' conftest.er1
>conftest.err
33926 cat conftest.err
>&5
33927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928 (exit $ac_status); } &&
33929 { ac_try
='test -z "$ac_cxx_werror_flag"
33930 || test ! -s conftest.err'
33931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33932 (eval $ac_try) 2>&5
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); }; } &&
33936 { ac_try
='test -s conftest$ac_exeext'
33937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33938 (eval $ac_try) 2>&5
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); }; }; then
33942 ac_cv_lib_w_wcslen
=yes
33944 echo "$as_me: failed program was:" >&5
33945 sed 's/^/| /' conftest.
$ac_ext >&5
33947 ac_cv_lib_w_wcslen
=no
33949 rm -f conftest.err conftest.
$ac_objext \
33950 conftest
$ac_exeext conftest.
$ac_ext
33951 LIBS
=$ac_check_lib_save_LIBS
33953 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33954 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33955 if test $ac_cv_lib_w_wcslen = yes; then
33965 if test "$WCSLEN_FOUND" = 1; then
33966 cat >>confdefs.h
<<\_ACEOF
33967 #define HAVE_WCSLEN 1
33972 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33973 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33976 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33977 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33978 if test "${ac_cv_type_mbstate_t+set}" = set; then
33979 echo $ECHO_N "(cached) $ECHO_C" >&6
33981 cat >conftest.
$ac_ext <<_ACEOF
33984 cat confdefs.h
>>conftest.
$ac_ext
33985 cat >>conftest.
$ac_ext <<_ACEOF
33986 /* end confdefs.h. */
33992 if ((mbstate_t *) 0)
33994 if (sizeof (mbstate_t))
34000 rm -f conftest.
$ac_objext
34001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34002 (eval $ac_compile) 2>conftest.er1
34004 grep -v '^ *+' conftest.er1
>conftest.err
34006 cat conftest.err
>&5
34007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008 (exit $ac_status); } &&
34009 { ac_try
='test -z "$ac_cxx_werror_flag"
34010 || 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"
34109 || test ! -s conftest.err'
34110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34111 (eval $ac_try) 2>&5
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); }; } &&
34115 { ac_try
='test -s conftest$ac_exeext'
34116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34117 (eval $ac_try) 2>&5
34119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34120 (exit $ac_status); }; }; then
34121 eval "$as_ac_var=yes"
34123 echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.
$ac_ext >&5
34126 eval "$as_ac_var=no"
34128 rm -f conftest.err conftest.
$ac_objext \
34129 conftest
$ac_exeext conftest.
$ac_ext
34131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34133 if test `eval echo '${'$as_ac_var'}'` = yes; then
34134 cat >>confdefs.h
<<_ACEOF
34135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34144 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34145 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34150 for ac_func
in snprintf vsnprintf
34152 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34153 echo "$as_me:$LINENO: checking for $ac_func" >&5
34154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34155 if eval "test \"\${$as_ac_var+set}\" = set"; then
34156 echo $ECHO_N "(cached) $ECHO_C" >&6
34158 cat >conftest.
$ac_ext <<_ACEOF
34161 cat confdefs.h
>>conftest.
$ac_ext
34162 cat >>conftest.
$ac_ext <<_ACEOF
34163 /* end confdefs.h. */
34164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34166 #define $ac_func innocuous_$ac_func
34168 /* System header to define __stub macros and hopefully few prototypes,
34169 which can conflict with char $ac_func (); below.
34170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34171 <limits.h> exists even on freestanding compilers. */
34174 # include <limits.h>
34176 # include <assert.h>
34181 /* Override any gcc2 internal prototype to avoid an error. */
34186 /* We use char because int might match the return type of a gcc2
34187 builtin and then its argument prototype would still apply. */
34189 /* The GNU C library defines this for functions which it implements
34190 to always fail with ENOSYS. Some functions are actually named
34191 something starting with __ and the normal name is an alias. */
34192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34195 char (*f) () = $ac_func;
34204 return f != $ac_func;
34209 rm -f conftest.
$ac_objext conftest
$ac_exeext
34210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34211 (eval $ac_link) 2>conftest.er1
34213 grep -v '^ *+' conftest.er1
>conftest.err
34215 cat conftest.err
>&5
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); } &&
34218 { ac_try
='test -z "$ac_cxx_werror_flag"
34219 || test ! -s conftest.err'
34220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34221 (eval $ac_try) 2>&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); }; } &&
34225 { ac_try
='test -s conftest$ac_exeext'
34226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34227 (eval $ac_try) 2>&5
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); }; }; then
34231 eval "$as_ac_var=yes"
34233 echo "$as_me: failed program was:" >&5
34234 sed 's/^/| /' conftest.
$ac_ext >&5
34236 eval "$as_ac_var=no"
34238 rm -f conftest.err conftest.
$ac_objext \
34239 conftest
$ac_exeext conftest.
$ac_ext
34241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34243 if test `eval echo '${'$as_ac_var'}'` = yes; then
34244 cat >>confdefs.h
<<_ACEOF
34245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34252 if test "$ac_cv_func_vsnprintf" = "yes"; then
34253 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34254 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34255 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34256 echo $ECHO_N "(cached) $ECHO_C" >&6
34259 cat >conftest.
$ac_ext <<_ACEOF
34262 cat confdefs.h
>>conftest.
$ac_ext
34263 cat >>conftest.
$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34267 #include <stdarg.h>
34269 #if __MSL__ >= 0x6000
34271 using namespace std;
34281 vsnprintf(buf, 10u, "%s", ap);
34287 rm -f conftest.
$ac_objext
34288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34289 (eval $ac_compile) 2>conftest.er1
34291 grep -v '^ *+' conftest.er1
>conftest.err
34293 cat conftest.err
>&5
34294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34295 (exit $ac_status); } &&
34296 { ac_try
='test -z "$ac_cxx_werror_flag"
34297 || test ! -s conftest.err'
34298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34299 (eval $ac_try) 2>&5
34301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34302 (exit $ac_status); }; } &&
34303 { ac_try
='test -s conftest.$ac_objext'
34304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34305 (eval $ac_try) 2>&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); }; }; then
34309 wx_cv_func_vsnprintf_decl
=yes
34311 echo "$as_me: failed program was:" >&5
34312 sed 's/^/| /' conftest.
$ac_ext >&5
34314 wx_cv_func_vsnprintf_decl
=no
34317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34321 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34322 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34324 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34325 cat >>confdefs.h
<<\_ACEOF
34326 #define HAVE_VSNPRINTF_DECL 1
34330 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34331 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34332 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34333 echo $ECHO_N "(cached) $ECHO_C" >&6
34336 cat >conftest.
$ac_ext <<_ACEOF
34339 cat confdefs.h
>>conftest.
$ac_ext
34340 cat >>conftest.
$ac_ext <<_ACEOF
34341 /* end confdefs.h. */
34344 #include <stdarg.h>
34346 #if __MSL__ >= 0x6000
34348 using namespace std;
34358 const char *fmt = "%s";
34359 vsnprintf(buf, 10u, fmt, ap);
34365 rm -f conftest.
$ac_objext
34366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34367 (eval $ac_compile) 2>conftest.er1
34369 grep -v '^ *+' conftest.er1
>conftest.err
34371 cat conftest.err
>&5
34372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34373 (exit $ac_status); } &&
34374 { ac_try
='test -z "$ac_cxx_werror_flag"
34375 || test ! -s conftest.err'
34376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34377 (eval $ac_try) 2>&5
34379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34380 (exit $ac_status); }; } &&
34381 { ac_try
='test -s conftest.$ac_objext'
34382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34383 (eval $ac_try) 2>&5
34385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34386 (exit $ac_status); }; }; then
34387 wx_cv_func_broken_vsnprintf_decl
=no
34389 echo "$as_me: failed program was:" >&5
34390 sed 's/^/| /' conftest.
$ac_ext >&5
34392 wx_cv_func_broken_vsnprintf_decl
=yes
34395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34399 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34400 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34402 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34403 cat >>confdefs.h
<<\_ACEOF
34404 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34411 if test "$ac_cv_func_snprintf" = "yes"; then
34412 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34413 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34414 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34415 echo $ECHO_N "(cached) $ECHO_C" >&6
34418 cat >conftest.
$ac_ext <<_ACEOF
34421 cat confdefs.h
>>conftest.
$ac_ext
34422 cat >>conftest.
$ac_ext <<_ACEOF
34423 /* end confdefs.h. */
34426 #include <stdarg.h>
34428 #if __MSL__ >= 0x6000
34430 using namespace std;
34439 snprintf(buf, 10u, "%s", "wx");
34445 rm -f conftest.
$ac_objext
34446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34447 (eval $ac_compile) 2>conftest.er1
34449 grep -v '^ *+' conftest.er1
>conftest.err
34451 cat conftest.err
>&5
34452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34453 (exit $ac_status); } &&
34454 { ac_try
='test -z "$ac_cxx_werror_flag"
34455 || test ! -s conftest.err'
34456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34457 (eval $ac_try) 2>&5
34459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34460 (exit $ac_status); }; } &&
34461 { ac_try
='test -s conftest.$ac_objext'
34462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34463 (eval $ac_try) 2>&5
34465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34466 (exit $ac_status); }; }; then
34467 wx_cv_func_snprintf_decl
=yes
34469 echo "$as_me: failed program was:" >&5
34470 sed 's/^/| /' conftest.
$ac_ext >&5
34472 wx_cv_func_snprintf_decl
=no
34475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34479 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34480 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34482 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34483 cat >>confdefs.h
<<\_ACEOF
34484 #define HAVE_SNPRINTF_DECL 1
34488 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34489 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34490 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34491 echo $ECHO_N "(cached) $ECHO_C" >&6
34494 cat >conftest.
$ac_ext <<_ACEOF
34497 cat confdefs.h
>>conftest.
$ac_ext
34498 cat >>conftest.
$ac_ext <<_ACEOF
34499 /* end confdefs.h. */
34502 #include <stdarg.h>
34504 #if __MSL__ >= 0x6000
34506 using namespace std;
34515 const char *fmt = "%s";
34516 snprintf(buf, 10u, fmt, "wx");
34522 rm -f conftest.
$ac_objext
34523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34524 (eval $ac_compile) 2>conftest.er1
34526 grep -v '^ *+' conftest.er1
>conftest.err
34528 cat conftest.err
>&5
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); } &&
34531 { ac_try
='test -z "$ac_cxx_werror_flag"
34532 || test ! -s conftest.err'
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); }; } &&
34538 { ac_try
='test -s conftest.$ac_objext'
34539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34540 (eval $ac_try) 2>&5
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); }; }; then
34544 wx_cv_func_broken_snprintf_decl
=no
34546 echo "$as_me: failed program was:" >&5
34547 sed 's/^/| /' conftest.
$ac_ext >&5
34549 wx_cv_func_broken_snprintf_decl
=yes
34552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34556 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34557 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34559 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34560 cat >>confdefs.h
<<\_ACEOF
34561 #define HAVE_BROKEN_SNPRINTF_DECL 1
34568 if test "$wxUSE_UNICODE" = yes; then
34575 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
34577 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34578 echo "$as_me:$LINENO: checking for $ac_func" >&5
34579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34580 if eval "test \"\${$as_ac_var+set}\" = set"; then
34581 echo $ECHO_N "(cached) $ECHO_C" >&6
34583 cat >conftest.
$ac_ext <<_ACEOF
34586 cat confdefs.h
>>conftest.
$ac_ext
34587 cat >>conftest.
$ac_ext <<_ACEOF
34588 /* end confdefs.h. */
34589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34591 #define $ac_func innocuous_$ac_func
34593 /* System header to define __stub macros and hopefully few prototypes,
34594 which can conflict with char $ac_func (); below.
34595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34596 <limits.h> exists even on freestanding compilers. */
34599 # include <limits.h>
34601 # include <assert.h>
34606 /* Override any gcc2 internal prototype to avoid an error. */
34611 /* We use char because int might match the return type of a gcc2
34612 builtin and then its argument prototype would still apply. */
34614 /* The GNU C library defines this for functions which it implements
34615 to always fail with ENOSYS. Some functions are actually named
34616 something starting with __ and the normal name is an alias. */
34617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34620 char (*f) () = $ac_func;
34629 return f != $ac_func;
34634 rm -f conftest.
$ac_objext conftest
$ac_exeext
34635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34636 (eval $ac_link) 2>conftest.er1
34638 grep -v '^ *+' conftest.er1
>conftest.err
34640 cat conftest.err
>&5
34641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34642 (exit $ac_status); } &&
34643 { ac_try
='test -z "$ac_cxx_werror_flag"
34644 || test ! -s conftest.err'
34645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34646 (eval $ac_try) 2>&5
34648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34649 (exit $ac_status); }; } &&
34650 { ac_try
='test -s conftest$ac_exeext'
34651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34652 (eval $ac_try) 2>&5
34654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34655 (exit $ac_status); }; }; then
34656 eval "$as_ac_var=yes"
34658 echo "$as_me: failed program was:" >&5
34659 sed 's/^/| /' conftest.
$ac_ext >&5
34661 eval "$as_ac_var=no"
34663 rm -f conftest.err conftest.
$ac_objext \
34664 conftest
$ac_exeext conftest.
$ac_ext
34666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34668 if test `eval echo '${'$as_ac_var'}'` = yes; then
34669 cat >>confdefs.h
<<_ACEOF
34670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34677 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34678 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34679 cat >conftest.
$ac_ext <<_ACEOF
34682 cat confdefs.h
>>conftest.
$ac_ext
34683 cat >>conftest.
$ac_ext <<_ACEOF
34684 /* end confdefs.h. */
34694 rm -f conftest.
$ac_objext
34695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34696 (eval $ac_compile) 2>conftest.er1
34698 grep -v '^ *+' conftest.er1
>conftest.err
34700 cat conftest.err
>&5
34701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34702 (exit $ac_status); } &&
34703 { ac_try
='test -z "$ac_cxx_werror_flag"
34704 || test ! -s conftest.err'
34705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34706 (eval $ac_try) 2>&5
34708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34709 (exit $ac_status); }; } &&
34710 { ac_try
='test -s conftest.$ac_objext'
34711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34712 (eval $ac_try) 2>&5
34714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715 (exit $ac_status); }; }; then
34716 echo "$as_me:$LINENO: result: yes" >&5
34717 echo "${ECHO_T}yes" >&6
34718 cat >>confdefs.h
<<\_ACEOF
34719 #define HAVE__VSNWPRINTF 1
34723 echo "$as_me: failed program was:" >&5
34724 sed 's/^/| /' conftest.
$ac_ext >&5
34726 echo "$as_me:$LINENO: result: no" >&5
34727 echo "${ECHO_T}no" >&6
34729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34732 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34734 for ac_func
in fnmatch
34736 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34737 echo "$as_me:$LINENO: checking for $ac_func" >&5
34738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34739 if eval "test \"\${$as_ac_var+set}\" = set"; then
34740 echo $ECHO_N "(cached) $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. */
34748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34750 #define $ac_func innocuous_$ac_func
34752 /* System header to define __stub macros and hopefully few prototypes,
34753 which can conflict with char $ac_func (); below.
34754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34755 <limits.h> exists even on freestanding compilers. */
34758 # include <limits.h>
34760 # include <assert.h>
34765 /* Override any gcc2 internal prototype to avoid an error. */
34770 /* We use char because int might match the return type of a gcc2
34771 builtin and then its argument prototype would still apply. */
34773 /* The GNU C library defines this for functions which it implements
34774 to always fail with ENOSYS. Some functions are actually named
34775 something starting with __ and the normal name is an alias. */
34776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34779 char (*f) () = $ac_func;
34788 return f != $ac_func;
34793 rm -f conftest.
$ac_objext conftest
$ac_exeext
34794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34795 (eval $ac_link) 2>conftest.er1
34797 grep -v '^ *+' conftest.er1
>conftest.err
34799 cat conftest.err
>&5
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); } &&
34802 { ac_try
='test -z "$ac_cxx_werror_flag"
34803 || test ! -s conftest.err'
34804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34805 (eval $ac_try) 2>&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); }; } &&
34809 { ac_try
='test -s conftest$ac_exeext'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; }; then
34815 eval "$as_ac_var=yes"
34817 echo "$as_me: failed program was:" >&5
34818 sed 's/^/| /' conftest.
$ac_ext >&5
34820 eval "$as_ac_var=no"
34822 rm -f conftest.err conftest.
$ac_objext \
34823 conftest
$ac_exeext conftest.
$ac_ext
34825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34827 if test `eval echo '${'$as_ac_var'}'` = yes; then
34828 cat >>confdefs.h
<<_ACEOF
34829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34837 if test "$wxUSE_FILE" = "yes"; then
34839 for ac_func
in fsync
34841 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34842 echo "$as_me:$LINENO: checking for $ac_func" >&5
34843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34844 if eval "test \"\${$as_ac_var+set}\" = set"; then
34845 echo $ECHO_N "(cached) $ECHO_C" >&6
34847 cat >conftest.
$ac_ext <<_ACEOF
34850 cat confdefs.h
>>conftest.
$ac_ext
34851 cat >>conftest.
$ac_ext <<_ACEOF
34852 /* end confdefs.h. */
34853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34855 #define $ac_func innocuous_$ac_func
34857 /* System header to define __stub macros and hopefully few prototypes,
34858 which can conflict with char $ac_func (); below.
34859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34860 <limits.h> exists even on freestanding compilers. */
34863 # include <limits.h>
34865 # include <assert.h>
34870 /* Override any gcc2 internal prototype to avoid an error. */
34875 /* We use char because int might match the return type of a gcc2
34876 builtin and then its argument prototype would still apply. */
34878 /* The GNU C library defines this for functions which it implements
34879 to always fail with ENOSYS. Some functions are actually named
34880 something starting with __ and the normal name is an alias. */
34881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34884 char (*f) () = $ac_func;
34893 return f != $ac_func;
34898 rm -f conftest.
$ac_objext conftest
$ac_exeext
34899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34900 (eval $ac_link) 2>conftest.er1
34902 grep -v '^ *+' conftest.er1
>conftest.err
34904 cat conftest.err
>&5
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); } &&
34907 { ac_try
='test -z "$ac_cxx_werror_flag"
34908 || test ! -s conftest.err'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; } &&
34914 { ac_try
='test -s conftest$ac_exeext'
34915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916 (eval $ac_try) 2>&5
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); }; }; then
34920 eval "$as_ac_var=yes"
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.
$ac_ext >&5
34925 eval "$as_ac_var=no"
34927 rm -f conftest.err conftest.
$ac_objext \
34928 conftest
$ac_exeext conftest.
$ac_ext
34930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34932 if test `eval echo '${'$as_ac_var'}'` = yes; then
34933 cat >>confdefs.h
<<_ACEOF
34934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34943 if test "$TOOLKIT" != "MSW"; then
34949 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34950 if test "${with_libiconv_prefix+set}" = set; then
34951 withval
="$with_libiconv_prefix"
34953 for dir
in `echo "$withval" | tr : ' '`; do
34954 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34955 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34960 echo "$as_me:$LINENO: checking for iconv" >&5
34961 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34962 if test "${am_cv_func_iconv+set}" = set; then
34963 echo $ECHO_N "(cached) $ECHO_C" >&6
34966 am_cv_func_iconv
="no, consider installing GNU libiconv"
34968 cat >conftest.
$ac_ext <<_ACEOF
34971 cat confdefs.h
>>conftest.
$ac_ext
34972 cat >>conftest.
$ac_ext <<_ACEOF
34973 /* end confdefs.h. */
34974 #include <stdlib.h>
34979 iconv_t cd = iconv_open("","");
34980 iconv(cd,NULL,NULL,NULL,NULL);
34986 rm -f conftest.
$ac_objext conftest
$ac_exeext
34987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34988 (eval $ac_link) 2>conftest.er1
34990 grep -v '^ *+' conftest.er1
>conftest.err
34992 cat conftest.err
>&5
34993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34994 (exit $ac_status); } &&
34995 { ac_try
='test -z "$ac_cxx_werror_flag"
34996 || test ! -s conftest.err'
34997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34998 (eval $ac_try) 2>&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); }; } &&
35002 { ac_try
='test -s conftest$ac_exeext'
35003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35004 (eval $ac_try) 2>&5
35006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007 (exit $ac_status); }; }; then
35008 am_cv_func_iconv
=yes
35010 echo "$as_me: failed program was:" >&5
35011 sed 's/^/| /' conftest.
$ac_ext >&5
35014 rm -f conftest.err conftest.
$ac_objext \
35015 conftest
$ac_exeext conftest.
$ac_ext
35016 if test "$am_cv_func_iconv" != yes; then
35017 am_save_LIBS
="$LIBS"
35018 LIBS
="$LIBS -liconv"
35019 cat >conftest.
$ac_ext <<_ACEOF
35022 cat confdefs.h
>>conftest.
$ac_ext
35023 cat >>conftest.
$ac_ext <<_ACEOF
35024 /* end confdefs.h. */
35025 #include <stdlib.h>
35030 iconv_t cd = iconv_open("","");
35031 iconv(cd,NULL,NULL,NULL,NULL);
35037 rm -f conftest.
$ac_objext conftest
$ac_exeext
35038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35039 (eval $ac_link) 2>conftest.er1
35041 grep -v '^ *+' conftest.er1
>conftest.err
35043 cat conftest.err
>&5
35044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045 (exit $ac_status); } &&
35046 { ac_try
='test -z "$ac_cxx_werror_flag"
35047 || test ! -s conftest.err'
35048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35049 (eval $ac_try) 2>&5
35051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35052 (exit $ac_status); }; } &&
35053 { ac_try
='test -s conftest$ac_exeext'
35054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35055 (eval $ac_try) 2>&5
35057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35058 (exit $ac_status); }; }; then
35059 am_cv_lib_iconv
=yes
35060 am_cv_func_iconv
=yes
35062 echo "$as_me: failed program was:" >&5
35063 sed 's/^/| /' conftest.
$ac_ext >&5
35066 rm -f conftest.err conftest.
$ac_objext \
35067 conftest
$ac_exeext conftest.
$ac_ext
35068 LIBS
="$am_save_LIBS"
35072 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35073 echo "${ECHO_T}$am_cv_func_iconv" >&6
35074 if test "$am_cv_func_iconv" = yes; then
35076 cat >>confdefs.h
<<\_ACEOF
35077 #define HAVE_ICONV 1
35080 echo "$as_me:$LINENO: checking if iconv needs const" >&5
35081 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
35082 if test "${wx_cv_func_iconv_const+set}" = set; then
35083 echo $ECHO_N "(cached) $ECHO_C" >&6
35085 cat >conftest.
$ac_ext <<_ACEOF
35088 cat confdefs.h
>>conftest.
$ac_ext
35089 cat >>conftest.
$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35092 #include <stdlib.h>
35098 #if defined(__STDC__) || defined(__cplusplus)
35099 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35112 rm -f conftest.
$ac_objext
35113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35114 (eval $ac_compile) 2>conftest.er1
35116 grep -v '^ *+' conftest.er1
>conftest.err
35118 cat conftest.err
>&5
35119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35120 (exit $ac_status); } &&
35121 { ac_try
='test -z "$ac_cxx_werror_flag"
35122 || test ! -s conftest.err'
35123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35124 (eval $ac_try) 2>&5
35126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35127 (exit $ac_status); }; } &&
35128 { ac_try
='test -s conftest.$ac_objext'
35129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35130 (eval $ac_try) 2>&5
35132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35133 (exit $ac_status); }; }; then
35134 wx_cv_func_iconv_const
="no"
35136 echo "$as_me: failed program was:" >&5
35137 sed 's/^/| /' conftest.
$ac_ext >&5
35139 wx_cv_func_iconv_const
="yes"
35142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35145 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35146 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
35149 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35150 iconv_const
="const"
35154 cat >>confdefs.h
<<_ACEOF
35155 #define ICONV_CONST $iconv_const
35160 if test "$am_cv_lib_iconv" = yes; then
35165 LIBS
="$LIBICONV $LIBS"
35167 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35169 for ac_func
in sigaction
35171 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35172 echo "$as_me:$LINENO: checking for $ac_func" >&5
35173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35174 if eval "test \"\${$as_ac_var+set}\" = set"; then
35175 echo $ECHO_N "(cached) $ECHO_C" >&6
35177 cat >conftest.
$ac_ext <<_ACEOF
35180 cat confdefs.h
>>conftest.
$ac_ext
35181 cat >>conftest.
$ac_ext <<_ACEOF
35182 /* end confdefs.h. */
35183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35185 #define $ac_func innocuous_$ac_func
35187 /* System header to define __stub macros and hopefully few prototypes,
35188 which can conflict with char $ac_func (); below.
35189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35190 <limits.h> exists even on freestanding compilers. */
35193 # include <limits.h>
35195 # include <assert.h>
35200 /* Override any gcc2 internal prototype to avoid an error. */
35205 /* We use char because int might match the return type of a gcc2
35206 builtin and then its argument prototype would still apply. */
35208 /* The GNU C library defines this for functions which it implements
35209 to always fail with ENOSYS. Some functions are actually named
35210 something starting with __ and the normal name is an alias. */
35211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35214 char (*f) () = $ac_func;
35223 return f != $ac_func;
35228 rm -f conftest.
$ac_objext conftest
$ac_exeext
35229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35230 (eval $ac_link) 2>conftest.er1
35232 grep -v '^ *+' conftest.er1
>conftest.err
35234 cat conftest.err
>&5
35235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35236 (exit $ac_status); } &&
35237 { ac_try
='test -z "$ac_cxx_werror_flag"
35238 || test ! -s conftest.err'
35239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35240 (eval $ac_try) 2>&5
35242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35243 (exit $ac_status); }; } &&
35244 { ac_try
='test -s conftest$ac_exeext'
35245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35246 (eval $ac_try) 2>&5
35248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35249 (exit $ac_status); }; }; then
35250 eval "$as_ac_var=yes"
35252 echo "$as_me: failed program was:" >&5
35253 sed 's/^/| /' conftest.
$ac_ext >&5
35255 eval "$as_ac_var=no"
35257 rm -f conftest.err conftest.
$ac_objext \
35258 conftest
$ac_exeext conftest.
$ac_ext
35260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35262 if test `eval echo '${'$as_ac_var'}'` = yes; then
35263 cat >>confdefs.h
<<_ACEOF
35264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35271 if test "$ac_cv_func_sigaction" = "no"; then
35272 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35273 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35274 wxUSE_ON_FATAL_EXCEPTION
=no
35277 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35278 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35279 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35280 if test "${wx_cv_type_sa_handler+set}" = set; then
35281 echo $ECHO_N "(cached) $ECHO_C" >&6
35284 cat >conftest.
$ac_ext <<_ACEOF
35287 cat confdefs.h
>>conftest.
$ac_ext
35288 cat >>conftest.
$ac_ext <<_ACEOF
35289 /* end confdefs.h. */
35290 #include <signal.h>
35295 extern void testSigHandler(int);
35297 struct sigaction sa;
35298 sa.sa_handler = testSigHandler;
35304 rm -f conftest.
$ac_objext
35305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35306 (eval $ac_compile) 2>conftest.er1
35308 grep -v '^ *+' conftest.er1
>conftest.err
35310 cat conftest.err
>&5
35311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35312 (exit $ac_status); } &&
35313 { ac_try
='test -z "$ac_cxx_werror_flag"
35314 || test ! -s conftest.err'
35315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35316 (eval $ac_try) 2>&5
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); }; } &&
35320 { ac_try
='test -s conftest.$ac_objext'
35321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35322 (eval $ac_try) 2>&5
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); }; }; then
35327 wx_cv_type_sa_handler
=int
35330 echo "$as_me: failed program was:" >&5
35331 sed 's/^/| /' conftest.
$ac_ext >&5
35334 wx_cv_type_sa_handler
=void
35337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35340 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35341 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35343 cat >>confdefs.h
<<_ACEOF
35344 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35350 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35351 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35352 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35353 if test "${wx_cv_func_backtrace+set}" = set; then
35354 echo $ECHO_N "(cached) $ECHO_C" >&6
35357 cat >conftest.
$ac_ext <<_ACEOF
35360 cat confdefs.h
>>conftest.
$ac_ext
35361 cat >>conftest.
$ac_ext <<_ACEOF
35362 /* end confdefs.h. */
35363 #include <execinfo.h>
35371 backtrace(trace, 1);
35372 messages = backtrace_symbols(trace, 1);
35378 rm -f conftest.
$ac_objext
35379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35380 (eval $ac_compile) 2>conftest.er1
35382 grep -v '^ *+' conftest.er1
>conftest.err
35384 cat conftest.err
>&5
35385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386 (exit $ac_status); } &&
35387 { ac_try
='test -z "$ac_cxx_werror_flag"
35388 || test ! -s conftest.err'
35389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35390 (eval $ac_try) 2>&5
35392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35393 (exit $ac_status); }; } &&
35394 { ac_try
='test -s conftest.$ac_objext'
35395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35396 (eval $ac_try) 2>&5
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); }; }; then
35400 wx_cv_func_backtrace
=yes
35402 echo "$as_me: failed program was:" >&5
35403 sed 's/^/| /' conftest.
$ac_ext >&5
35405 wx_cv_func_backtrace
=no
35408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35412 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35413 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35416 if test "$wx_cv_func_backtrace" = "no"; then
35417 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35418 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35419 wxUSE_STACKWALKER
=no
35421 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35422 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35423 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35424 echo $ECHO_N "(cached) $ECHO_C" >&6
35427 cat >conftest.
$ac_ext <<_ACEOF
35430 cat confdefs.h
>>conftest.
$ac_ext
35431 cat >>conftest.
$ac_ext <<_ACEOF
35432 /* end confdefs.h. */
35433 #include <cxxabi.h>
35439 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35445 rm -f conftest.
$ac_objext conftest
$ac_exeext
35446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35447 (eval $ac_link) 2>conftest.er1
35449 grep -v '^ *+' conftest.er1
>conftest.err
35451 cat conftest.err
>&5
35452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35453 (exit $ac_status); } &&
35454 { ac_try
='test -z "$ac_cxx_werror_flag"
35455 || test ! -s conftest.err'
35456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35457 (eval $ac_try) 2>&5
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); }; } &&
35461 { ac_try
='test -s conftest$ac_exeext'
35462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35463 (eval $ac_try) 2>&5
35465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35466 (exit $ac_status); }; }; then
35467 wx_cv_func_cxa_demangle
=yes
35469 echo "$as_me: failed program was:" >&5
35470 sed 's/^/| /' conftest.
$ac_ext >&5
35472 wx_cv_func_cxa_demangle
=no
35475 rm -f conftest.err conftest.
$ac_objext \
35476 conftest
$ac_exeext conftest.
$ac_ext
35480 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35481 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35483 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35484 cat >>confdefs.h
<<\_ACEOF
35485 #define HAVE_CXA_DEMANGLE 1
35492 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35493 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35494 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35495 wxUSE_STACKWALKER
=no
35501 for ac_func
in mkstemp mktemp
35503 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35504 echo "$as_me:$LINENO: checking for $ac_func" >&5
35505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35506 if eval "test \"\${$as_ac_var+set}\" = set"; then
35507 echo $ECHO_N "(cached) $ECHO_C" >&6
35509 cat >conftest.
$ac_ext <<_ACEOF
35512 cat confdefs.h
>>conftest.
$ac_ext
35513 cat >>conftest.
$ac_ext <<_ACEOF
35514 /* end confdefs.h. */
35515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35517 #define $ac_func innocuous_$ac_func
35519 /* System header to define __stub macros and hopefully few prototypes,
35520 which can conflict with char $ac_func (); below.
35521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35522 <limits.h> exists even on freestanding compilers. */
35525 # include <limits.h>
35527 # include <assert.h>
35532 /* Override any gcc2 internal prototype to avoid an error. */
35537 /* We use char because int might match the return type of a gcc2
35538 builtin and then its argument prototype would still apply. */
35540 /* The GNU C library defines this for functions which it implements
35541 to always fail with ENOSYS. Some functions are actually named
35542 something starting with __ and the normal name is an alias. */
35543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35546 char (*f) () = $ac_func;
35555 return f != $ac_func;
35560 rm -f conftest.
$ac_objext conftest
$ac_exeext
35561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35562 (eval $ac_link) 2>conftest.er1
35564 grep -v '^ *+' conftest.er1
>conftest.err
35566 cat conftest.err
>&5
35567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35568 (exit $ac_status); } &&
35569 { ac_try
='test -z "$ac_cxx_werror_flag"
35570 || test ! -s conftest.err'
35571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35572 (eval $ac_try) 2>&5
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); }; } &&
35576 { ac_try
='test -s conftest$ac_exeext'
35577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35578 (eval $ac_try) 2>&5
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); }; }; then
35582 eval "$as_ac_var=yes"
35584 echo "$as_me: failed program was:" >&5
35585 sed 's/^/| /' conftest.
$ac_ext >&5
35587 eval "$as_ac_var=no"
35589 rm -f conftest.err conftest.
$ac_objext \
35590 conftest
$ac_exeext conftest.
$ac_ext
35592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35594 if test `eval echo '${'$as_ac_var'}'` = yes; then
35595 cat >>confdefs.h
<<_ACEOF
35596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35603 echo "$as_me:$LINENO: checking for statfs" >&5
35604 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35605 if test "${wx_cv_func_statfs+set}" = set; then
35606 echo $ECHO_N "(cached) $ECHO_C" >&6
35608 cat >conftest.
$ac_ext <<_ACEOF
35611 cat confdefs.h
>>conftest.
$ac_ext
35612 cat >>conftest.
$ac_ext <<_ACEOF
35613 /* end confdefs.h. */
35615 #if defined(__BSD__)
35616 #include <sys/param.h>
35617 #include <sys/mount.h>
35619 #include <sys/vfs.h>
35637 rm -f conftest.
$ac_objext
35638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35639 (eval $ac_compile) 2>conftest.er1
35641 grep -v '^ *+' conftest.er1
>conftest.err
35643 cat conftest.err
>&5
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); } &&
35646 { ac_try
='test -z "$ac_cxx_werror_flag"
35647 || test ! -s conftest.err'
35648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35649 (eval $ac_try) 2>&5
35651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35652 (exit $ac_status); }; } &&
35653 { ac_try
='test -s conftest.$ac_objext'
35654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35655 (eval $ac_try) 2>&5
35657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 (exit $ac_status); }; }; then
35659 wx_cv_func_statfs
=yes
35661 echo "$as_me: failed program was:" >&5
35662 sed 's/^/| /' conftest.
$ac_ext >&5
35664 wx_cv_func_statfs
=no
35667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35670 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35671 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35673 if test "$wx_cv_func_statfs" = "yes"; then
35674 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35675 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35676 if test "${wx_cv_func_statfs_decl+set}" = set; then
35677 echo $ECHO_N "(cached) $ECHO_C" >&6
35679 cat >conftest.
$ac_ext <<_ACEOF
35682 cat confdefs.h
>>conftest.
$ac_ext
35683 cat >>conftest.
$ac_ext <<_ACEOF
35684 /* end confdefs.h. */
35686 #if defined(__BSD__)
35687 #include <sys/param.h>
35688 #include <sys/mount.h>
35690 #include <sys/vfs.h>
35704 rm -f conftest.
$ac_objext
35705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35706 (eval $ac_compile) 2>conftest.er1
35708 grep -v '^ *+' conftest.er1
>conftest.err
35710 cat conftest.err
>&5
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); } &&
35713 { ac_try
='test -z "$ac_cxx_werror_flag"
35714 || test ! -s conftest.err'
35715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35716 (eval $ac_try) 2>&5
35718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719 (exit $ac_status); }; } &&
35720 { ac_try
='test -s conftest.$ac_objext'
35721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35722 (eval $ac_try) 2>&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); }; }; then
35726 wx_cv_func_statfs_decl
=yes
35728 echo "$as_me: failed program was:" >&5
35729 sed 's/^/| /' conftest.
$ac_ext >&5
35731 wx_cv_func_statfs_decl
=no
35734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35737 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35738 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35740 if test "$wx_cv_func_statfs_decl" = "yes"; then
35741 cat >>confdefs.h
<<\_ACEOF
35742 #define HAVE_STATFS_DECL 1
35747 wx_cv_type_statvfs_t
="struct statfs"
35748 cat >>confdefs.h
<<\_ACEOF
35749 #define HAVE_STATFS 1
35753 echo "$as_me:$LINENO: checking for statvfs" >&5
35754 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35755 if test "${wx_cv_func_statvfs+set}" = set; then
35756 echo $ECHO_N "(cached) $ECHO_C" >&6
35758 cat >conftest.
$ac_ext <<_ACEOF
35761 cat confdefs.h
>>conftest.
$ac_ext
35762 cat >>conftest.
$ac_ext <<_ACEOF
35763 /* end confdefs.h. */
35765 #include <stddef.h>
35766 #include <sys/statvfs.h>
35772 statvfs("/", NULL);
35778 rm -f conftest.
$ac_objext
35779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35780 (eval $ac_compile) 2>conftest.er1
35782 grep -v '^ *+' conftest.er1
>conftest.err
35784 cat conftest.err
>&5
35785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786 (exit $ac_status); } &&
35787 { ac_try
='test -z "$ac_cxx_werror_flag"
35788 || test ! -s conftest.err'
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; } &&
35794 { ac_try
='test -s conftest.$ac_objext'
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; }; then
35800 wx_cv_func_statvfs
=yes
35802 echo "$as_me: failed program was:" >&5
35803 sed 's/^/| /' conftest.
$ac_ext >&5
35805 wx_cv_func_statvfs
=no
35808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35811 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35812 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35814 if test "$wx_cv_func_statvfs" = "yes"; then
35815 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35816 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35817 if test "${wx_cv_type_statvfs_t+set}" = set; then
35818 echo $ECHO_N "(cached) $ECHO_C" >&6
35820 cat >conftest.
$ac_ext <<_ACEOF
35823 cat confdefs.h
>>conftest.
$ac_ext
35824 cat >>conftest.
$ac_ext <<_ACEOF
35825 /* end confdefs.h. */
35827 #include <sys/statvfs.h>
35844 rm -f conftest.
$ac_objext
35845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35846 (eval $ac_compile) 2>conftest.er1
35848 grep -v '^ *+' conftest.er1
>conftest.err
35850 cat conftest.err
>&5
35851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35852 (exit $ac_status); } &&
35853 { ac_try
='test -z "$ac_cxx_werror_flag"
35854 || test ! -s conftest.err'
35855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35856 (eval $ac_try) 2>&5
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); }; } &&
35860 { ac_try
='test -s conftest.$ac_objext'
35861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35862 (eval $ac_try) 2>&5
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); }; }; then
35866 wx_cv_type_statvfs_t
=statvfs_t
35868 echo "$as_me: failed program was:" >&5
35869 sed 's/^/| /' conftest.
$ac_ext >&5
35872 cat >conftest.
$ac_ext <<_ACEOF
35875 cat confdefs.h
>>conftest.
$ac_ext
35876 cat >>conftest.
$ac_ext <<_ACEOF
35877 /* end confdefs.h. */
35879 #include <sys/statvfs.h>
35896 rm -f conftest.
$ac_objext
35897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35898 (eval $ac_compile) 2>conftest.er1
35900 grep -v '^ *+' conftest.er1
>conftest.err
35902 cat conftest.err
>&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); } &&
35905 { ac_try
='test -z "$ac_cxx_werror_flag"
35906 || test ! -s conftest.err'
35907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35908 (eval $ac_try) 2>&5
35910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35911 (exit $ac_status); }; } &&
35912 { ac_try
='test -s conftest.$ac_objext'
35913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35914 (eval $ac_try) 2>&5
35916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35917 (exit $ac_status); }; }; then
35918 wx_cv_type_statvfs_t
="struct statvfs"
35920 echo "$as_me: failed program was:" >&5
35921 sed 's/^/| /' conftest.
$ac_ext >&5
35923 wx_cv_type_statvfs_t
="unknown"
35926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35933 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35934 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35936 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35937 cat >>confdefs.h
<<\_ACEOF
35938 #define HAVE_STATVFS 1
35943 wx_cv_type_statvfs_t
="unknown"
35947 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35948 cat >>confdefs.h
<<_ACEOF
35949 #define WX_STATFS_T $wx_cv_type_statvfs_t
35953 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35954 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35957 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35960 for ac_func
in fcntl flock
35962 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35963 echo "$as_me:$LINENO: checking for $ac_func" >&5
35964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35965 if eval "test \"\${$as_ac_var+set}\" = set"; then
35966 echo $ECHO_N "(cached) $ECHO_C" >&6
35968 cat >conftest.
$ac_ext <<_ACEOF
35971 cat confdefs.h
>>conftest.
$ac_ext
35972 cat >>conftest.
$ac_ext <<_ACEOF
35973 /* end confdefs.h. */
35974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35976 #define $ac_func innocuous_$ac_func
35978 /* System header to define __stub macros and hopefully few prototypes,
35979 which can conflict with char $ac_func (); below.
35980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35981 <limits.h> exists even on freestanding compilers. */
35984 # include <limits.h>
35986 # include <assert.h>
35991 /* Override any gcc2 internal prototype to avoid an error. */
35996 /* We use char because int might match the return type of a gcc2
35997 builtin and then its argument prototype would still apply. */
35999 /* The GNU C library defines this for functions which it implements
36000 to always fail with ENOSYS. Some functions are actually named
36001 something starting with __ and the normal name is an alias. */
36002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36005 char (*f) () = $ac_func;
36014 return f != $ac_func;
36019 rm -f conftest.
$ac_objext conftest
$ac_exeext
36020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36021 (eval $ac_link) 2>conftest.er1
36023 grep -v '^ *+' conftest.er1
>conftest.err
36025 cat conftest.err
>&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); } &&
36028 { ac_try
='test -z "$ac_cxx_werror_flag"
36029 || test ! -s conftest.err'
36030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36031 (eval $ac_try) 2>&5
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); }; } &&
36035 { ac_try
='test -s conftest$ac_exeext'
36036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36037 (eval $ac_try) 2>&5
36039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36040 (exit $ac_status); }; }; then
36041 eval "$as_ac_var=yes"
36043 echo "$as_me: failed program was:" >&5
36044 sed 's/^/| /' conftest.
$ac_ext >&5
36046 eval "$as_ac_var=no"
36048 rm -f conftest.err conftest.
$ac_objext \
36049 conftest
$ac_exeext conftest.
$ac_ext
36051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36053 if test `eval echo '${'$as_ac_var'}'` = yes; then
36054 cat >>confdefs.h
<<_ACEOF
36055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36062 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36063 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36064 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36065 wxUSE_SNGLINST_CHECKER
=no
36070 for ac_func
in timegm
36072 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36073 echo "$as_me:$LINENO: checking for $ac_func" >&5
36074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36075 if eval "test \"\${$as_ac_var+set}\" = set"; then
36076 echo $ECHO_N "(cached) $ECHO_C" >&6
36078 cat >conftest.
$ac_ext <<_ACEOF
36081 cat confdefs.h
>>conftest.
$ac_ext
36082 cat >>conftest.
$ac_ext <<_ACEOF
36083 /* end confdefs.h. */
36084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36086 #define $ac_func innocuous_$ac_func
36088 /* System header to define __stub macros and hopefully few prototypes,
36089 which can conflict with char $ac_func (); below.
36090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36091 <limits.h> exists even on freestanding compilers. */
36094 # include <limits.h>
36096 # include <assert.h>
36101 /* Override any gcc2 internal prototype to avoid an error. */
36106 /* We use char because int might match the return type of a gcc2
36107 builtin and then its argument prototype would still apply. */
36109 /* The GNU C library defines this for functions which it implements
36110 to always fail with ENOSYS. Some functions are actually named
36111 something starting with __ and the normal name is an alias. */
36112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36115 char (*f) () = $ac_func;
36124 return f != $ac_func;
36129 rm -f conftest.
$ac_objext conftest
$ac_exeext
36130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36131 (eval $ac_link) 2>conftest.er1
36133 grep -v '^ *+' conftest.er1
>conftest.err
36135 cat conftest.err
>&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); } &&
36138 { ac_try
='test -z "$ac_cxx_werror_flag"
36139 || test ! -s conftest.err'
36140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36141 (eval $ac_try) 2>&5
36143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36144 (exit $ac_status); }; } &&
36145 { ac_try
='test -s conftest$ac_exeext'
36146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36147 (eval $ac_try) 2>&5
36149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 (exit $ac_status); }; }; then
36151 eval "$as_ac_var=yes"
36153 echo "$as_me: failed program was:" >&5
36154 sed 's/^/| /' conftest.
$ac_ext >&5
36156 eval "$as_ac_var=no"
36158 rm -f conftest.err conftest.
$ac_objext \
36159 conftest
$ac_exeext conftest.
$ac_ext
36161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36163 if test `eval echo '${'$as_ac_var'}'` = yes; then
36164 cat >>confdefs.h
<<_ACEOF
36165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36174 for ac_func
in putenv setenv
36176 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36177 echo "$as_me:$LINENO: checking for $ac_func" >&5
36178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36179 if eval "test \"\${$as_ac_var+set}\" = set"; then
36180 echo $ECHO_N "(cached) $ECHO_C" >&6
36182 cat >conftest.
$ac_ext <<_ACEOF
36185 cat confdefs.h
>>conftest.
$ac_ext
36186 cat >>conftest.
$ac_ext <<_ACEOF
36187 /* end confdefs.h. */
36188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36190 #define $ac_func innocuous_$ac_func
36192 /* System header to define __stub macros and hopefully few prototypes,
36193 which can conflict with char $ac_func (); below.
36194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36195 <limits.h> exists even on freestanding compilers. */
36198 # include <limits.h>
36200 # include <assert.h>
36205 /* Override any gcc2 internal prototype to avoid an error. */
36210 /* We use char because int might match the return type of a gcc2
36211 builtin and then its argument prototype would still apply. */
36213 /* The GNU C library defines this for functions which it implements
36214 to always fail with ENOSYS. Some functions are actually named
36215 something starting with __ and the normal name is an alias. */
36216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36219 char (*f) () = $ac_func;
36228 return f != $ac_func;
36233 rm -f conftest.
$ac_objext conftest
$ac_exeext
36234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36235 (eval $ac_link) 2>conftest.er1
36237 grep -v '^ *+' conftest.er1
>conftest.err
36239 cat conftest.err
>&5
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); } &&
36242 { ac_try
='test -z "$ac_cxx_werror_flag"
36243 || test ! -s conftest.err'
36244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36245 (eval $ac_try) 2>&5
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); }; } &&
36249 { ac_try
='test -s conftest$ac_exeext'
36250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36251 (eval $ac_try) 2>&5
36253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36254 (exit $ac_status); }; }; then
36255 eval "$as_ac_var=yes"
36257 echo "$as_me: failed program was:" >&5
36258 sed 's/^/| /' conftest.
$ac_ext >&5
36260 eval "$as_ac_var=no"
36262 rm -f conftest.err conftest.
$ac_objext \
36263 conftest
$ac_exeext conftest.
$ac_ext
36265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36267 if test `eval echo '${'$as_ac_var'}'` = yes; then
36268 cat >>confdefs.h
<<_ACEOF
36269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36276 HAVE_SOME_SLEEP_FUNC
=0
36277 if test "$USE_BEOS" = 1; then
36278 cat >>confdefs.h
<<\_ACEOF
36279 #define HAVE_SLEEP 1
36282 HAVE_SOME_SLEEP_FUNC
=1
36285 if test "$USE_DARWIN" = 1; then
36286 cat >>confdefs.h
<<\_ACEOF
36287 #define HAVE_USLEEP 1
36290 HAVE_SOME_SLEEP_FUNC
=1
36293 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36296 for ac_func
in nanosleep
36298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36299 echo "$as_me:$LINENO: checking for $ac_func" >&5
36300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36301 if eval "test \"\${$as_ac_var+set}\" = set"; then
36302 echo $ECHO_N "(cached) $ECHO_C" >&6
36304 cat >conftest.
$ac_ext <<_ACEOF
36307 cat confdefs.h
>>conftest.
$ac_ext
36308 cat >>conftest.
$ac_ext <<_ACEOF
36309 /* end confdefs.h. */
36310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36312 #define $ac_func innocuous_$ac_func
36314 /* System header to define __stub macros and hopefully few prototypes,
36315 which can conflict with char $ac_func (); below.
36316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36317 <limits.h> exists even on freestanding compilers. */
36320 # include <limits.h>
36322 # include <assert.h>
36327 /* Override any gcc2 internal prototype to avoid an error. */
36332 /* We use char because int might match the return type of a gcc2
36333 builtin and then its argument prototype would still apply. */
36335 /* The GNU C library defines this for functions which it implements
36336 to always fail with ENOSYS. Some functions are actually named
36337 something starting with __ and the normal name is an alias. */
36338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36341 char (*f) () = $ac_func;
36350 return f != $ac_func;
36355 rm -f conftest.
$ac_objext conftest
$ac_exeext
36356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36357 (eval $ac_link) 2>conftest.er1
36359 grep -v '^ *+' conftest.er1
>conftest.err
36361 cat conftest.err
>&5
36362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363 (exit $ac_status); } &&
36364 { ac_try
='test -z "$ac_cxx_werror_flag"
36365 || test ! -s conftest.err'
36366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36367 (eval $ac_try) 2>&5
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); }; } &&
36371 { ac_try
='test -s conftest$ac_exeext'
36372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36373 (eval $ac_try) 2>&5
36375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36376 (exit $ac_status); }; }; then
36377 eval "$as_ac_var=yes"
36379 echo "$as_me: failed program was:" >&5
36380 sed 's/^/| /' conftest.
$ac_ext >&5
36382 eval "$as_ac_var=no"
36384 rm -f conftest.err conftest.
$ac_objext \
36385 conftest
$ac_exeext conftest.
$ac_ext
36387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36389 if test `eval echo '${'$as_ac_var'}'` = yes; then
36390 cat >>confdefs.h
<<_ACEOF
36391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36393 cat >>confdefs.h
<<\_ACEOF
36394 #define HAVE_NANOSLEEP 1
36399 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36400 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36401 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36402 echo $ECHO_N "(cached) $ECHO_C" >&6
36404 ac_check_lib_save_LIBS
=$LIBS
36405 LIBS
="-lposix4 $LIBS"
36406 cat >conftest.
$ac_ext <<_ACEOF
36409 cat confdefs.h
>>conftest.
$ac_ext
36410 cat >>conftest.
$ac_ext <<_ACEOF
36411 /* end confdefs.h. */
36413 /* Override any gcc2 internal prototype to avoid an error. */
36417 /* We use char because int might match the return type of a gcc2
36418 builtin and then its argument prototype would still apply. */
36428 rm -f conftest.
$ac_objext conftest
$ac_exeext
36429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36430 (eval $ac_link) 2>conftest.er1
36432 grep -v '^ *+' conftest.er1
>conftest.err
36434 cat conftest.err
>&5
36435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36436 (exit $ac_status); } &&
36437 { ac_try
='test -z "$ac_cxx_werror_flag"
36438 || test ! -s conftest.err'
36439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36440 (eval $ac_try) 2>&5
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); }; } &&
36444 { ac_try
='test -s conftest$ac_exeext'
36445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36446 (eval $ac_try) 2>&5
36448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36449 (exit $ac_status); }; }; then
36450 ac_cv_lib_posix4_nanosleep
=yes
36452 echo "$as_me: failed program was:" >&5
36453 sed 's/^/| /' conftest.
$ac_ext >&5
36455 ac_cv_lib_posix4_nanosleep
=no
36457 rm -f conftest.err conftest.
$ac_objext \
36458 conftest
$ac_exeext conftest.
$ac_ext
36459 LIBS
=$ac_check_lib_save_LIBS
36461 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36462 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36463 if test $ac_cv_lib_posix4_nanosleep = yes; then
36465 cat >>confdefs.h
<<\_ACEOF
36466 #define HAVE_NANOSLEEP 1
36469 POSIX4_LINK
=" -lposix4"
36474 for ac_func
in usleep
36476 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36477 echo "$as_me:$LINENO: checking for $ac_func" >&5
36478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36479 if eval "test \"\${$as_ac_var+set}\" = set"; then
36480 echo $ECHO_N "(cached) $ECHO_C" >&6
36482 cat >conftest.
$ac_ext <<_ACEOF
36485 cat confdefs.h
>>conftest.
$ac_ext
36486 cat >>conftest.
$ac_ext <<_ACEOF
36487 /* end confdefs.h. */
36488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36490 #define $ac_func innocuous_$ac_func
36492 /* System header to define __stub macros and hopefully few prototypes,
36493 which can conflict with char $ac_func (); below.
36494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36495 <limits.h> exists even on freestanding compilers. */
36498 # include <limits.h>
36500 # include <assert.h>
36505 /* Override any gcc2 internal prototype to avoid an error. */
36510 /* We use char because int might match the return type of a gcc2
36511 builtin and then its argument prototype would still apply. */
36513 /* The GNU C library defines this for functions which it implements
36514 to always fail with ENOSYS. Some functions are actually named
36515 something starting with __ and the normal name is an alias. */
36516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36519 char (*f) () = $ac_func;
36528 return f != $ac_func;
36533 rm -f conftest.
$ac_objext conftest
$ac_exeext
36534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36535 (eval $ac_link) 2>conftest.er1
36537 grep -v '^ *+' conftest.er1
>conftest.err
36539 cat conftest.err
>&5
36540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36541 (exit $ac_status); } &&
36542 { ac_try
='test -z "$ac_cxx_werror_flag"
36543 || test ! -s conftest.err'
36544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36545 (eval $ac_try) 2>&5
36547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36548 (exit $ac_status); }; } &&
36549 { ac_try
='test -s conftest$ac_exeext'
36550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36551 (eval $ac_try) 2>&5
36553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36554 (exit $ac_status); }; }; then
36555 eval "$as_ac_var=yes"
36557 echo "$as_me: failed program was:" >&5
36558 sed 's/^/| /' conftest.
$ac_ext >&5
36560 eval "$as_ac_var=no"
36562 rm -f conftest.err conftest.
$ac_objext \
36563 conftest
$ac_exeext conftest.
$ac_ext
36565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36567 if test `eval echo '${'$as_ac_var'}'` = yes; then
36568 cat >>confdefs.h
<<_ACEOF
36569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36571 cat >>confdefs.h
<<\_ACEOF
36572 #define HAVE_USLEEP 1
36576 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36577 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36595 for ac_func
in uname gethostname
36597 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36598 echo "$as_me:$LINENO: checking for $ac_func" >&5
36599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36600 if eval "test \"\${$as_ac_var+set}\" = set"; then
36601 echo $ECHO_N "(cached) $ECHO_C" >&6
36603 cat >conftest.
$ac_ext <<_ACEOF
36606 cat confdefs.h
>>conftest.
$ac_ext
36607 cat >>conftest.
$ac_ext <<_ACEOF
36608 /* end confdefs.h. */
36609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36611 #define $ac_func innocuous_$ac_func
36613 /* System header to define __stub macros and hopefully few prototypes,
36614 which can conflict with char $ac_func (); below.
36615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36616 <limits.h> exists even on freestanding compilers. */
36619 # include <limits.h>
36621 # include <assert.h>
36626 /* Override any gcc2 internal prototype to avoid an error. */
36631 /* We use char because int might match the return type of a gcc2
36632 builtin and then its argument prototype would still apply. */
36634 /* The GNU C library defines this for functions which it implements
36635 to always fail with ENOSYS. Some functions are actually named
36636 something starting with __ and the normal name is an alias. */
36637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36640 char (*f) () = $ac_func;
36649 return f != $ac_func;
36654 rm -f conftest.
$ac_objext conftest
$ac_exeext
36655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36656 (eval $ac_link) 2>conftest.er1
36658 grep -v '^ *+' conftest.er1
>conftest.err
36660 cat conftest.err
>&5
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); } &&
36663 { ac_try
='test -z "$ac_cxx_werror_flag"
36664 || test ! -s conftest.err'
36665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36666 (eval $ac_try) 2>&5
36668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36669 (exit $ac_status); }; } &&
36670 { ac_try
='test -s conftest$ac_exeext'
36671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36672 (eval $ac_try) 2>&5
36674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36675 (exit $ac_status); }; }; then
36676 eval "$as_ac_var=yes"
36678 echo "$as_me: failed program was:" >&5
36679 sed 's/^/| /' conftest.
$ac_ext >&5
36681 eval "$as_ac_var=no"
36683 rm -f conftest.err conftest.
$ac_objext \
36684 conftest
$ac_exeext conftest.
$ac_ext
36686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36688 if test `eval echo '${'$as_ac_var'}'` = yes; then
36689 cat >>confdefs.h
<<_ACEOF
36690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36698 for ac_func
in strtok_r
36700 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36701 echo "$as_me:$LINENO: checking for $ac_func" >&5
36702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36703 if eval "test \"\${$as_ac_var+set}\" = set"; then
36704 echo $ECHO_N "(cached) $ECHO_C" >&6
36706 cat >conftest.
$ac_ext <<_ACEOF
36709 cat confdefs.h
>>conftest.
$ac_ext
36710 cat >>conftest.
$ac_ext <<_ACEOF
36711 /* end confdefs.h. */
36712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36714 #define $ac_func innocuous_$ac_func
36716 /* System header to define __stub macros and hopefully few prototypes,
36717 which can conflict with char $ac_func (); below.
36718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36719 <limits.h> exists even on freestanding compilers. */
36722 # include <limits.h>
36724 # include <assert.h>
36729 /* Override any gcc2 internal prototype to avoid an error. */
36734 /* We use char because int might match the return type of a gcc2
36735 builtin and then its argument prototype would still apply. */
36737 /* The GNU C library defines this for functions which it implements
36738 to always fail with ENOSYS. Some functions are actually named
36739 something starting with __ and the normal name is an alias. */
36740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36743 char (*f) () = $ac_func;
36752 return f != $ac_func;
36757 rm -f conftest.
$ac_objext conftest
$ac_exeext
36758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36759 (eval $ac_link) 2>conftest.er1
36761 grep -v '^ *+' conftest.er1
>conftest.err
36763 cat conftest.err
>&5
36764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36765 (exit $ac_status); } &&
36766 { ac_try
='test -z "$ac_cxx_werror_flag"
36767 || test ! -s conftest.err'
36768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36769 (eval $ac_try) 2>&5
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); }; } &&
36773 { ac_try
='test -s conftest$ac_exeext'
36774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36775 (eval $ac_try) 2>&5
36777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36778 (exit $ac_status); }; }; then
36779 eval "$as_ac_var=yes"
36781 echo "$as_me: failed program was:" >&5
36782 sed 's/^/| /' conftest.
$ac_ext >&5
36784 eval "$as_ac_var=no"
36786 rm -f conftest.err conftest.
$ac_objext \
36787 conftest
$ac_exeext conftest.
$ac_ext
36789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36791 if test `eval echo '${'$as_ac_var'}'` = yes; then
36792 cat >>confdefs.h
<<_ACEOF
36793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36802 for ac_func
in inet_addr
36804 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36805 echo "$as_me:$LINENO: checking for $ac_func" >&5
36806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36807 if eval "test \"\${$as_ac_var+set}\" = set"; then
36808 echo $ECHO_N "(cached) $ECHO_C" >&6
36810 cat >conftest.
$ac_ext <<_ACEOF
36813 cat confdefs.h
>>conftest.
$ac_ext
36814 cat >>conftest.
$ac_ext <<_ACEOF
36815 /* end confdefs.h. */
36816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36818 #define $ac_func innocuous_$ac_func
36820 /* System header to define __stub macros and hopefully few prototypes,
36821 which can conflict with char $ac_func (); below.
36822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36823 <limits.h> exists even on freestanding compilers. */
36826 # include <limits.h>
36828 # include <assert.h>
36833 /* Override any gcc2 internal prototype to avoid an error. */
36838 /* We use char because int might match the return type of a gcc2
36839 builtin and then its argument prototype would still apply. */
36841 /* The GNU C library defines this for functions which it implements
36842 to always fail with ENOSYS. Some functions are actually named
36843 something starting with __ and the normal name is an alias. */
36844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36847 char (*f) () = $ac_func;
36856 return f != $ac_func;
36861 rm -f conftest.
$ac_objext conftest
$ac_exeext
36862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36863 (eval $ac_link) 2>conftest.er1
36865 grep -v '^ *+' conftest.er1
>conftest.err
36867 cat conftest.err
>&5
36868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36869 (exit $ac_status); } &&
36870 { ac_try
='test -z "$ac_cxx_werror_flag"
36871 || test ! -s conftest.err'
36872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36873 (eval $ac_try) 2>&5
36875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36876 (exit $ac_status); }; } &&
36877 { ac_try
='test -s conftest$ac_exeext'
36878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36879 (eval $ac_try) 2>&5
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); }; }; then
36883 eval "$as_ac_var=yes"
36885 echo "$as_me: failed program was:" >&5
36886 sed 's/^/| /' conftest.
$ac_ext >&5
36888 eval "$as_ac_var=no"
36890 rm -f conftest.err conftest.
$ac_objext \
36891 conftest
$ac_exeext conftest.
$ac_ext
36893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36895 if test `eval echo '${'$as_ac_var'}'` = yes; then
36896 cat >>confdefs.h
<<_ACEOF
36897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36899 cat >>confdefs.h
<<\_ACEOF
36900 #define HAVE_INET_ADDR 1
36905 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36906 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36907 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36908 echo $ECHO_N "(cached) $ECHO_C" >&6
36910 ac_check_lib_save_LIBS
=$LIBS
36912 cat >conftest.
$ac_ext <<_ACEOF
36915 cat confdefs.h
>>conftest.
$ac_ext
36916 cat >>conftest.
$ac_ext <<_ACEOF
36917 /* end confdefs.h. */
36919 /* Override any gcc2 internal prototype to avoid an error. */
36923 /* We use char because int might match the return type of a gcc2
36924 builtin and then its argument prototype would still apply. */
36934 rm -f conftest.
$ac_objext conftest
$ac_exeext
36935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36936 (eval $ac_link) 2>conftest.er1
36938 grep -v '^ *+' conftest.er1
>conftest.err
36940 cat conftest.err
>&5
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); } &&
36943 { ac_try
='test -z "$ac_cxx_werror_flag"
36944 || test ! -s conftest.err'
36945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36946 (eval $ac_try) 2>&5
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); }; } &&
36950 { ac_try
='test -s conftest$ac_exeext'
36951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36952 (eval $ac_try) 2>&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); }; }; then
36956 ac_cv_lib_nsl_inet_addr
=yes
36958 echo "$as_me: failed program was:" >&5
36959 sed 's/^/| /' conftest.
$ac_ext >&5
36961 ac_cv_lib_nsl_inet_addr
=no
36963 rm -f conftest.err conftest.
$ac_objext \
36964 conftest
$ac_exeext conftest.
$ac_ext
36965 LIBS
=$ac_check_lib_save_LIBS
36967 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36968 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36969 if test $ac_cv_lib_nsl_inet_addr = yes; then
36973 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36974 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36975 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36976 echo $ECHO_N "(cached) $ECHO_C" >&6
36978 ac_check_lib_save_LIBS
=$LIBS
36979 LIBS
="-lresolv $LIBS"
36980 cat >conftest.
$ac_ext <<_ACEOF
36983 cat confdefs.h
>>conftest.
$ac_ext
36984 cat >>conftest.
$ac_ext <<_ACEOF
36985 /* end confdefs.h. */
36987 /* Override any gcc2 internal prototype to avoid an error. */
36991 /* We use char because int might match the return type of a gcc2
36992 builtin and then its argument prototype would still apply. */
37002 rm -f conftest.
$ac_objext conftest
$ac_exeext
37003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37004 (eval $ac_link) 2>conftest.er1
37006 grep -v '^ *+' conftest.er1
>conftest.err
37008 cat conftest.err
>&5
37009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37010 (exit $ac_status); } &&
37011 { ac_try
='test -z "$ac_cxx_werror_flag"
37012 || test ! -s conftest.err'
37013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37014 (eval $ac_try) 2>&5
37016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37017 (exit $ac_status); }; } &&
37018 { ac_try
='test -s conftest$ac_exeext'
37019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37020 (eval $ac_try) 2>&5
37022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37023 (exit $ac_status); }; }; then
37024 ac_cv_lib_resolv_inet_addr
=yes
37026 echo "$as_me: failed program was:" >&5
37027 sed 's/^/| /' conftest.
$ac_ext >&5
37029 ac_cv_lib_resolv_inet_addr
=no
37031 rm -f conftest.err conftest.
$ac_objext \
37032 conftest
$ac_exeext conftest.
$ac_ext
37033 LIBS
=$ac_check_lib_save_LIBS
37035 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37036 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37037 if test $ac_cv_lib_resolv_inet_addr = yes; then
37041 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37042 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37043 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37044 echo $ECHO_N "(cached) $ECHO_C" >&6
37046 ac_check_lib_save_LIBS
=$LIBS
37047 LIBS
="-lsocket $LIBS"
37048 cat >conftest.
$ac_ext <<_ACEOF
37051 cat confdefs.h
>>conftest.
$ac_ext
37052 cat >>conftest.
$ac_ext <<_ACEOF
37053 /* end confdefs.h. */
37055 /* Override any gcc2 internal prototype to avoid an error. */
37059 /* We use char because int might match the return type of a gcc2
37060 builtin and then its argument prototype would still apply. */
37070 rm -f conftest.
$ac_objext conftest
$ac_exeext
37071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37072 (eval $ac_link) 2>conftest.er1
37074 grep -v '^ *+' conftest.er1
>conftest.err
37076 cat conftest.err
>&5
37077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37078 (exit $ac_status); } &&
37079 { ac_try
='test -z "$ac_cxx_werror_flag"
37080 || test ! -s conftest.err'
37081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37082 (eval $ac_try) 2>&5
37084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37085 (exit $ac_status); }; } &&
37086 { ac_try
='test -s conftest$ac_exeext'
37087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37088 (eval $ac_try) 2>&5
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); }; }; then
37092 ac_cv_lib_socket_inet_addr
=yes
37094 echo "$as_me: failed program was:" >&5
37095 sed 's/^/| /' conftest.
$ac_ext >&5
37097 ac_cv_lib_socket_inet_addr
=no
37099 rm -f conftest.err conftest.
$ac_objext \
37100 conftest
$ac_exeext conftest.
$ac_ext
37101 LIBS
=$ac_check_lib_save_LIBS
37103 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37104 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37105 if test $ac_cv_lib_socket_inet_addr = yes; then
37125 for ac_func
in inet_aton
37127 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37128 echo "$as_me:$LINENO: checking for $ac_func" >&5
37129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37130 if eval "test \"\${$as_ac_var+set}\" = set"; then
37131 echo $ECHO_N "(cached) $ECHO_C" >&6
37133 cat >conftest.
$ac_ext <<_ACEOF
37136 cat confdefs.h
>>conftest.
$ac_ext
37137 cat >>conftest.
$ac_ext <<_ACEOF
37138 /* end confdefs.h. */
37139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37141 #define $ac_func innocuous_$ac_func
37143 /* System header to define __stub macros and hopefully few prototypes,
37144 which can conflict with char $ac_func (); below.
37145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37146 <limits.h> exists even on freestanding compilers. */
37149 # include <limits.h>
37151 # include <assert.h>
37156 /* Override any gcc2 internal prototype to avoid an error. */
37161 /* We use char because int might match the return type of a gcc2
37162 builtin and then its argument prototype would still apply. */
37164 /* The GNU C library defines this for functions which it implements
37165 to always fail with ENOSYS. Some functions are actually named
37166 something starting with __ and the normal name is an alias. */
37167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37170 char (*f) () = $ac_func;
37179 return f != $ac_func;
37184 rm -f conftest.
$ac_objext conftest
$ac_exeext
37185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37186 (eval $ac_link) 2>conftest.er1
37188 grep -v '^ *+' conftest.er1
>conftest.err
37190 cat conftest.err
>&5
37191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37192 (exit $ac_status); } &&
37193 { ac_try
='test -z "$ac_cxx_werror_flag"
37194 || test ! -s conftest.err'
37195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37196 (eval $ac_try) 2>&5
37198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37199 (exit $ac_status); }; } &&
37200 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
37206 eval "$as_ac_var=yes"
37208 echo "$as_me: failed program was:" >&5
37209 sed 's/^/| /' conftest.
$ac_ext >&5
37211 eval "$as_ac_var=no"
37213 rm -f conftest.err conftest.
$ac_objext \
37214 conftest
$ac_exeext conftest.
$ac_ext
37216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37218 if test `eval echo '${'$as_ac_var'}'` = yes; then
37219 cat >>confdefs.h
<<_ACEOF
37220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37222 cat >>confdefs.h
<<\_ACEOF
37223 #define HAVE_INET_ATON 1
37228 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37229 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37230 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37231 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37232 echo $ECHO_N "(cached) $ECHO_C" >&6
37234 ac_check_lib_save_LIBS
=$LIBS
37235 LIBS
="-l$INET_LINK $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"
37268 || test ! -s conftest.err'
37269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37270 (eval $ac_try) 2>&5
37272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37273 (exit $ac_status); }; } &&
37274 { ac_try
='test -s conftest$ac_exeext'
37275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37276 (eval $ac_try) 2>&5
37278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37279 (exit $ac_status); }; }; then
37280 eval "$as_ac_Lib=yes"
37282 echo "$as_me: failed program was:" >&5
37283 sed 's/^/| /' conftest.
$ac_ext >&5
37285 eval "$as_ac_Lib=no"
37287 rm -f conftest.err conftest.
$ac_objext \
37288 conftest
$ac_exeext conftest.
$ac_ext
37289 LIBS
=$ac_check_lib_save_LIBS
37291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37292 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37293 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37294 cat >>confdefs.h
<<\_ACEOF
37295 #define HAVE_INET_ATON 1
37305 if test "x$INET_LINK" != "x"; then
37306 cat >>confdefs.h
<<\_ACEOF
37307 #define HAVE_INET_ADDR 1
37310 INET_LINK
=" -l$INET_LINK"
37318 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37319 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
37320 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37321 echo $ECHO_N "(cached) $ECHO_C" >&6
37323 ac_check_lib_save_LIBS
=$LIBS
37325 cat >conftest.
$ac_ext <<_ACEOF
37328 cat confdefs.h
>>conftest.
$ac_ext
37329 cat >>conftest.
$ac_ext <<_ACEOF
37330 /* end confdefs.h. */
37332 /* Override any gcc2 internal prototype to avoid an error. */
37336 /* We use char because int might match the return type of a gcc2
37337 builtin and then its argument prototype would still apply. */
37347 rm -f conftest.
$ac_objext conftest
$ac_exeext
37348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37349 (eval $ac_link) 2>conftest.er1
37351 grep -v '^ *+' conftest.er1
>conftest.err
37353 cat conftest.err
>&5
37354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37355 (exit $ac_status); } &&
37356 { ac_try
='test -z "$ac_cxx_werror_flag"
37357 || test ! -s conftest.err'
37358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37359 (eval $ac_try) 2>&5
37361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37362 (exit $ac_status); }; } &&
37363 { ac_try
='test -s conftest$ac_exeext'
37364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37365 (eval $ac_try) 2>&5
37367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37368 (exit $ac_status); }; }; then
37369 ac_cv_lib_esd_esd_close
=yes
37371 echo "$as_me: failed program was:" >&5
37372 sed 's/^/| /' conftest.
$ac_ext >&5
37374 ac_cv_lib_esd_esd_close
=no
37376 rm -f conftest.err conftest.
$ac_objext \
37377 conftest
$ac_exeext conftest.
$ac_ext
37378 LIBS
=$ac_check_lib_save_LIBS
37380 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37381 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
37382 if test $ac_cv_lib_esd_esd_close = yes; then
37385 for ac_header
in esd.h
37387 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37389 echo "$as_me:$LINENO: checking for $ac_header" >&5
37390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37392 echo $ECHO_N "(cached) $ECHO_C" >&6
37394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37397 # Is the header compilable?
37398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37400 cat >conftest.
$ac_ext <<_ACEOF
37403 cat confdefs.h
>>conftest.
$ac_ext
37404 cat >>conftest.
$ac_ext <<_ACEOF
37405 /* end confdefs.h. */
37406 $ac_includes_default
37407 #include <$ac_header>
37409 rm -f conftest.
$ac_objext
37410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37411 (eval $ac_compile) 2>conftest.er1
37413 grep -v '^ *+' conftest.er1
>conftest.err
37415 cat conftest.err
>&5
37416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417 (exit $ac_status); } &&
37418 { ac_try
='test -z "$ac_cxx_werror_flag"
37419 || test ! -s conftest.err'
37420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37421 (eval $ac_try) 2>&5
37423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424 (exit $ac_status); }; } &&
37425 { ac_try
='test -s conftest.$ac_objext'
37426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37427 (eval $ac_try) 2>&5
37429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37430 (exit $ac_status); }; }; then
37431 ac_header_compiler
=yes
37433 echo "$as_me: failed program was:" >&5
37434 sed 's/^/| /' conftest.
$ac_ext >&5
37436 ac_header_compiler
=no
37438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37440 echo "${ECHO_T}$ac_header_compiler" >&6
37442 # Is the header present?
37443 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37444 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37445 cat >conftest.
$ac_ext <<_ACEOF
37448 cat confdefs.h
>>conftest.
$ac_ext
37449 cat >>conftest.
$ac_ext <<_ACEOF
37450 /* end confdefs.h. */
37451 #include <$ac_header>
37453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37454 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37456 grep -v '^ *+' conftest.er1
>conftest.err
37458 cat conftest.err
>&5
37459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37460 (exit $ac_status); } >/dev
/null
; then
37461 if test -s conftest.err
; then
37462 ac_cpp_err
=$ac_cxx_preproc_warn_flag
37463 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
37470 if test -z "$ac_cpp_err"; then
37471 ac_header_preproc
=yes
37473 echo "$as_me: failed program was:" >&5
37474 sed 's/^/| /' conftest.
$ac_ext >&5
37476 ac_header_preproc
=no
37478 rm -f conftest.err conftest.
$ac_ext
37479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37480 echo "${ECHO_T}$ac_header_preproc" >&6
37482 # So? What about this header?
37483 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37485 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37486 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37488 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37489 ac_header_preproc
=yes
37492 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37493 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37494 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37495 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37496 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37497 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37498 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37499 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37501 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37502 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37503 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37506 ## ----------------------------------------- ##
37507 ## Report this to wx-dev@lists.wxwidgets.org ##
37508 ## ----------------------------------------- ##
37511 sed "s/^/$as_me: WARNING: /" >&2
37514 echo "$as_me:$LINENO: checking for $ac_header" >&5
37515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37517 echo $ECHO_N "(cached) $ECHO_C" >&6
37519 eval "$as_ac_Header=\$ac_header_preproc"
37521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37526 cat >>confdefs.h
<<_ACEOF
37527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37530 EXTRALIBS_ESD
="-lesd"
37541 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37542 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
37543 cat >conftest.
$ac_ext <<_ACEOF
37546 cat confdefs.h
>>conftest.
$ac_ext
37547 cat >>conftest.
$ac_ext <<_ACEOF
37548 /* end confdefs.h. */
37550 #include <linux/cdrom.h>
37553 #include <sys/cdio.h>
37559 struct cdrom_tocentry entry, old_entry;
37564 rm -f conftest.
$ac_objext
37565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37566 (eval $ac_compile) 2>conftest.er1
37568 grep -v '^ *+' conftest.er1
>conftest.err
37570 cat conftest.err
>&5
37571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37572 (exit $ac_status); } &&
37573 { ac_try
='test -z "$ac_cxx_werror_flag"
37574 || test ! -s conftest.err'
37575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37576 (eval $ac_try) 2>&5
37578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37579 (exit $ac_status); }; } &&
37580 { ac_try
='test -s conftest.$ac_objext'
37581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37582 (eval $ac_try) 2>&5
37584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37585 (exit $ac_status); }; }; then
37586 echo "$as_me:$LINENO: result: yes" >&5
37587 echo "${ECHO_T}yes" >&6
37588 cat >>confdefs.h
<<\_ACEOF
37589 #define HAVE_KNOWN_CDROM_INTERFACE 1
37593 echo "$as_me: failed program was:" >&5
37594 sed 's/^/| /' conftest.
$ac_ext >&5
37596 echo "$as_me:$LINENO: result: no" >&5
37597 echo "${ECHO_T}no" >&6
37599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37602 cat >confcache
<<\_ACEOF
37603 # This file is a shell script that caches the results of configure
37604 # tests run on this system so they can be shared between configure
37605 # scripts and configure runs, see configure's option --config-cache.
37606 # It is not useful on other systems. If it contains results you don't
37607 # want to keep, you may remove or edit it.
37609 # config.status only pays attention to the cache file if you give it
37610 # the --recheck option to rerun configure.
37612 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37613 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37614 # following values.
37618 # The following way of writing the cache mishandles newlines in values,
37619 # but we know of no workaround that is simple, portable, and efficient.
37620 # So, don't put newlines in cache variables' values.
37621 # Ultrix sh set writes to stderr and can't be redirected directly,
37622 # and sets the high bit in the cache file unless we assign to the vars.
37625 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37627 # `set' does not quote correctly, so add quotes (double-quote
37628 # substitution turns \\\\ into \\, and sed turns \\ into \).
37631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37634 # `set' quotes correctly as required by POSIX, so do not add quotes.
37636 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37645 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37647 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37648 if test -w $cache_file; then
37649 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37650 cat confcache
>$cache_file
37652 echo "not updating unwritable cache $cache_file"
37658 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37664 if test "$wxUSE_THREADS" = "yes" ; then
37665 if test "$USE_BEOS" = 1; then
37666 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37667 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37672 if test "$wxUSE_THREADS" = "yes" ; then
37675 THREAD_OPTS
="-pthread"
37677 *-*-solaris2* | *-*-sunos4* )
37678 if test "x$GCC" = "xyes"; then
37679 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37681 THREAD_OPTS
="-mt $THREAD_OPTS"
37685 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37687 *-*-darwin* | *-*-cygwin* )
37691 THREAD_OPTS
="pthreads"
37694 if test "x$GCC" = "xyes"; then
37695 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37703 if test "x$GCC" = "xyes"; then
37709 if test "x$GCC" != "xyes"; then
37710 THREAD_OPTS
="-Ethread"
37715 THREAD_OPTS
="$THREAD_OPTS pthread none"
37718 for flag
in $THREAD_OPTS; do
37721 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37722 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37726 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37727 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37728 THREADS_CXXFLAGS
="$flag"
37732 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37733 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37734 THREADS_LINK
="-l$flag"
37739 save_CXXFLAGS
="$CXXFLAGS"
37740 LIBS
="$THREADS_LINK $LIBS"
37741 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
37743 cat >conftest.
$ac_ext <<_ACEOF
37746 cat confdefs.h
>>conftest.
$ac_ext
37747 cat >>conftest.
$ac_ext <<_ACEOF
37748 /* end confdefs.h. */
37749 #include <pthread.h>
37753 pthread_create(0,0,0,0);
37758 rm -f conftest.
$ac_objext conftest
$ac_exeext
37759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37760 (eval $ac_link) 2>conftest.er1
37762 grep -v '^ *+' conftest.er1
>conftest.err
37764 cat conftest.err
>&5
37765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37766 (exit $ac_status); } &&
37767 { ac_try
='test -z "$ac_cxx_werror_flag"
37768 || test ! -s conftest.err'
37769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37770 (eval $ac_try) 2>&5
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); }; } &&
37774 { ac_try
='test -s conftest$ac_exeext'
37775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37776 (eval $ac_try) 2>&5
37778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37779 (exit $ac_status); }; }; then
37782 echo "$as_me: failed program was:" >&5
37783 sed 's/^/| /' conftest.
$ac_ext >&5
37786 rm -f conftest.err conftest.
$ac_objext \
37787 conftest
$ac_exeext conftest.
$ac_ext
37790 CXXFLAGS
="$save_CXXFLAGS"
37792 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37793 echo "${ECHO_T}$THREADS_OK" >&6
37794 if test "x$THREADS_OK" = "xyes"; then
37799 THREADS_CXXFLAGS
=""
37802 if test "x$THREADS_OK" != "xyes"; then
37804 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37805 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37807 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
37808 LIBS
="$THREADS_LINK $LIBS"
37810 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37811 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37815 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37816 flag
="-D_THREAD_SAFE"
37819 flag
="-D_THREAD_SAFE"
37822 flag
="-D_REENTRANT"
37823 if test "x$GCC" != "xyes"; then
37824 flag
="$flag -D_RWSTD_MULTI_THREAD"
37827 *solaris
* | alpha
*-osf*)
37828 flag
="-D_REENTRANT"
37831 echo "$as_me:$LINENO: result: ${flag}" >&5
37832 echo "${ECHO_T}${flag}" >&6
37833 if test "x$flag" != xno
; then
37834 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
37837 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
37841 if test "$wxUSE_THREADS" = "yes" ; then
37843 for ac_func
in thr_setconcurrency
37845 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37846 echo "$as_me:$LINENO: checking for $ac_func" >&5
37847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37848 if eval "test \"\${$as_ac_var+set}\" = set"; then
37849 echo $ECHO_N "(cached) $ECHO_C" >&6
37851 cat >conftest.
$ac_ext <<_ACEOF
37854 cat confdefs.h
>>conftest.
$ac_ext
37855 cat >>conftest.
$ac_ext <<_ACEOF
37856 /* end confdefs.h. */
37857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37859 #define $ac_func innocuous_$ac_func
37861 /* System header to define __stub macros and hopefully few prototypes,
37862 which can conflict with char $ac_func (); below.
37863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37864 <limits.h> exists even on freestanding compilers. */
37867 # include <limits.h>
37869 # include <assert.h>
37874 /* Override any gcc2 internal prototype to avoid an error. */
37879 /* We use char because int might match the return type of a gcc2
37880 builtin and then its argument prototype would still apply. */
37882 /* The GNU C library defines this for functions which it implements
37883 to always fail with ENOSYS. Some functions are actually named
37884 something starting with __ and the normal name is an alias. */
37885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37888 char (*f) () = $ac_func;
37897 return f != $ac_func;
37902 rm -f conftest.
$ac_objext conftest
$ac_exeext
37903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37904 (eval $ac_link) 2>conftest.er1
37906 grep -v '^ *+' conftest.er1
>conftest.err
37908 cat conftest.err
>&5
37909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37910 (exit $ac_status); } &&
37911 { ac_try
='test -z "$ac_cxx_werror_flag"
37912 || test ! -s conftest.err'
37913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37914 (eval $ac_try) 2>&5
37916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37917 (exit $ac_status); }; } &&
37918 { ac_try
='test -s conftest$ac_exeext'
37919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37920 (eval $ac_try) 2>&5
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); }; }; then
37924 eval "$as_ac_var=yes"
37926 echo "$as_me: failed program was:" >&5
37927 sed 's/^/| /' conftest.
$ac_ext >&5
37929 eval "$as_ac_var=no"
37931 rm -f conftest.err conftest.
$ac_objext \
37932 conftest
$ac_exeext conftest.
$ac_ext
37934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37936 if test `eval echo '${'$as_ac_var'}'` = yes; then
37937 cat >>confdefs.h
<<_ACEOF
37938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37945 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37946 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37947 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37948 echo $ECHO_N "(cached) $ECHO_C" >&6
37951 cat >conftest.
$ac_ext <<_ACEOF
37954 cat confdefs.h
>>conftest.
$ac_ext
37955 cat >>conftest.
$ac_ext <<_ACEOF
37956 /* end confdefs.h. */
37957 #include <pthread.h>
37958 void ThreadCleanupFunc(void *p);
37965 pthread_cleanup_push(ThreadCleanupFunc, p);
37966 pthread_cleanup_pop(0);
37972 rm -f conftest.
$ac_objext
37973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37974 (eval $ac_compile) 2>conftest.er1
37976 grep -v '^ *+' conftest.er1
>conftest.err
37978 cat conftest.err
>&5
37979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37980 (exit $ac_status); } &&
37981 { ac_try
='test -z "$ac_cxx_werror_flag"
37982 || test ! -s conftest.err'
37983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37984 (eval $ac_try) 2>&5
37986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37987 (exit $ac_status); }; } &&
37988 { ac_try
='test -s conftest.$ac_objext'
37989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37990 (eval $ac_try) 2>&5
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); }; }; then
37995 wx_cv_func_pthread_cleanup
=yes
37998 echo "$as_me: failed program was:" >&5
37999 sed 's/^/| /' conftest.
$ac_ext >&5
38002 wx_cv_func_pthread_cleanup
=no
38006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38009 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38010 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38011 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38012 cat >>confdefs.h
<<\_ACEOF
38013 #define wxHAVE_PTHREAD_CLEANUP 1
38019 for ac_header
in sched.h
38021 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38023 echo "$as_me:$LINENO: checking for $ac_header" >&5
38024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38026 echo $ECHO_N "(cached) $ECHO_C" >&6
38028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38031 # Is the header compilable?
38032 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38033 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38034 cat >conftest.
$ac_ext <<_ACEOF
38037 cat confdefs.h
>>conftest.
$ac_ext
38038 cat >>conftest.
$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38040 $ac_includes_default
38041 #include <$ac_header>
38043 rm -f conftest.
$ac_objext
38044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38045 (eval $ac_compile) 2>conftest.er1
38047 grep -v '^ *+' conftest.er1
>conftest.err
38049 cat conftest.err
>&5
38050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38051 (exit $ac_status); } &&
38052 { ac_try
='test -z "$ac_cxx_werror_flag"
38053 || test ! -s conftest.err'
38054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38055 (eval $ac_try) 2>&5
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); }; } &&
38059 { ac_try
='test -s conftest.$ac_objext'
38060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38061 (eval $ac_try) 2>&5
38063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38064 (exit $ac_status); }; }; then
38065 ac_header_compiler
=yes
38067 echo "$as_me: failed program was:" >&5
38068 sed 's/^/| /' conftest.
$ac_ext >&5
38070 ac_header_compiler
=no
38072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38074 echo "${ECHO_T}$ac_header_compiler" >&6
38076 # Is the header present?
38077 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38078 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38079 cat >conftest.
$ac_ext <<_ACEOF
38082 cat confdefs.h
>>conftest.
$ac_ext
38083 cat >>conftest.
$ac_ext <<_ACEOF
38084 /* end confdefs.h. */
38085 #include <$ac_header>
38087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38088 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38090 grep -v '^ *+' conftest.er1
>conftest.err
38092 cat conftest.err
>&5
38093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38094 (exit $ac_status); } >/dev
/null
; then
38095 if test -s conftest.err
; then
38096 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38097 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38104 if test -z "$ac_cpp_err"; then
38105 ac_header_preproc
=yes
38107 echo "$as_me: failed program was:" >&5
38108 sed 's/^/| /' conftest.
$ac_ext >&5
38110 ac_header_preproc
=no
38112 rm -f conftest.err conftest.
$ac_ext
38113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38114 echo "${ECHO_T}$ac_header_preproc" >&6
38116 # So? What about this header?
38117 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38119 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38120 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38122 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38123 ac_header_preproc
=yes
38126 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38127 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38128 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38129 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38130 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38131 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38132 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38133 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38136 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38137 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38140 ## ----------------------------------------- ##
38141 ## Report this to wx-dev@lists.wxwidgets.org ##
38142 ## ----------------------------------------- ##
38145 sed "s/^/$as_me: WARNING: /" >&2
38148 echo "$as_me:$LINENO: checking for $ac_header" >&5
38149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38151 echo $ECHO_N "(cached) $ECHO_C" >&6
38153 eval "$as_ac_Header=\$ac_header_preproc"
38155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38160 cat >>confdefs.h
<<_ACEOF
38161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38168 if test "$ac_cv_header_sched_h" = "yes"; then
38169 echo "$as_me:$LINENO: checking for sched_yield" >&5
38170 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
38171 if test "${ac_cv_func_sched_yield+set}" = set; then
38172 echo $ECHO_N "(cached) $ECHO_C" >&6
38174 cat >conftest.
$ac_ext <<_ACEOF
38177 cat confdefs.h
>>conftest.
$ac_ext
38178 cat >>conftest.
$ac_ext <<_ACEOF
38179 /* end confdefs.h. */
38180 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38182 #define sched_yield innocuous_sched_yield
38184 /* System header to define __stub macros and hopefully few prototypes,
38185 which can conflict with char sched_yield (); below.
38186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38187 <limits.h> exists even on freestanding compilers. */
38190 # include <limits.h>
38192 # include <assert.h>
38197 /* Override any gcc2 internal prototype to avoid an error. */
38202 /* We use char because int might match the return type of a gcc2
38203 builtin and then its argument prototype would still apply. */
38204 char sched_yield ();
38205 /* The GNU C library defines this for functions which it implements
38206 to always fail with ENOSYS. Some functions are actually named
38207 something starting with __ and the normal name is an alias. */
38208 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
38211 char (*f) () = sched_yield;
38220 return f != sched_yield;
38225 rm -f conftest.
$ac_objext conftest
$ac_exeext
38226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38227 (eval $ac_link) 2>conftest.er1
38229 grep -v '^ *+' conftest.er1
>conftest.err
38231 cat conftest.err
>&5
38232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233 (exit $ac_status); } &&
38234 { ac_try
='test -z "$ac_cxx_werror_flag"
38235 || test ! -s conftest.err'
38236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38237 (eval $ac_try) 2>&5
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); }; } &&
38241 { ac_try
='test -s conftest$ac_exeext'
38242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38243 (eval $ac_try) 2>&5
38245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38246 (exit $ac_status); }; }; then
38247 ac_cv_func_sched_yield
=yes
38249 echo "$as_me: failed program was:" >&5
38250 sed 's/^/| /' conftest.
$ac_ext >&5
38252 ac_cv_func_sched_yield
=no
38254 rm -f conftest.err conftest.
$ac_objext \
38255 conftest
$ac_exeext conftest.
$ac_ext
38257 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38258 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
38259 if test $ac_cv_func_sched_yield = yes; then
38260 cat >>confdefs.h
<<\_ACEOF
38261 #define HAVE_SCHED_YIELD 1
38266 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38267 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
38268 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38269 echo $ECHO_N "(cached) $ECHO_C" >&6
38271 ac_check_lib_save_LIBS
=$LIBS
38272 LIBS
="-lposix4 $LIBS"
38273 cat >conftest.
$ac_ext <<_ACEOF
38276 cat confdefs.h
>>conftest.
$ac_ext
38277 cat >>conftest.
$ac_ext <<_ACEOF
38278 /* end confdefs.h. */
38280 /* Override any gcc2 internal prototype to avoid an error. */
38284 /* We use char because int might match the return type of a gcc2
38285 builtin and then its argument prototype would still apply. */
38286 char sched_yield ();
38295 rm -f conftest.
$ac_objext conftest
$ac_exeext
38296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38297 (eval $ac_link) 2>conftest.er1
38299 grep -v '^ *+' conftest.er1
>conftest.err
38301 cat conftest.err
>&5
38302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38303 (exit $ac_status); } &&
38304 { ac_try
='test -z "$ac_cxx_werror_flag"
38305 || test ! -s conftest.err'
38306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38307 (eval $ac_try) 2>&5
38309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310 (exit $ac_status); }; } &&
38311 { ac_try
='test -s conftest$ac_exeext'
38312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38313 (eval $ac_try) 2>&5
38315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38316 (exit $ac_status); }; }; then
38317 ac_cv_lib_posix4_sched_yield
=yes
38319 echo "$as_me: failed program was:" >&5
38320 sed 's/^/| /' conftest.
$ac_ext >&5
38322 ac_cv_lib_posix4_sched_yield
=no
38324 rm -f conftest.err conftest.
$ac_objext \
38325 conftest
$ac_exeext conftest.
$ac_ext
38326 LIBS
=$ac_check_lib_save_LIBS
38328 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38329 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
38330 if test $ac_cv_lib_posix4_sched_yield = yes; then
38331 cat >>confdefs.h
<<\_ACEOF
38332 #define HAVE_SCHED_YIELD 1
38334 POSIX4_LINK
=" -lposix4"
38336 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38337 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38348 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38349 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38350 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38351 echo $ECHO_N "(cached) $ECHO_C" >&6
38353 cat >conftest.
$ac_ext <<_ACEOF
38356 cat confdefs.h
>>conftest.
$ac_ext
38357 cat >>conftest.
$ac_ext <<_ACEOF
38358 /* end confdefs.h. */
38359 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38361 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38363 /* System header to define __stub macros and hopefully few prototypes,
38364 which can conflict with char pthread_attr_getschedpolicy (); below.
38365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38366 <limits.h> exists even on freestanding compilers. */
38369 # include <limits.h>
38371 # include <assert.h>
38374 #undef pthread_attr_getschedpolicy
38376 /* Override any gcc2 internal prototype to avoid an error. */
38381 /* We use char because int might match the return type of a gcc2
38382 builtin and then its argument prototype would still apply. */
38383 char pthread_attr_getschedpolicy ();
38384 /* The GNU C library defines this for functions which it implements
38385 to always fail with ENOSYS. Some functions are actually named
38386 something starting with __ and the normal name is an alias. */
38387 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38390 char (*f) () = pthread_attr_getschedpolicy;
38399 return f != pthread_attr_getschedpolicy;
38404 rm -f conftest.
$ac_objext conftest
$ac_exeext
38405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38406 (eval $ac_link) 2>conftest.er1
38408 grep -v '^ *+' conftest.er1
>conftest.err
38410 cat conftest.err
>&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); } &&
38413 { ac_try
='test -z "$ac_cxx_werror_flag"
38414 || test ! -s conftest.err'
38415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38416 (eval $ac_try) 2>&5
38418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38419 (exit $ac_status); }; } &&
38420 { ac_try
='test -s conftest$ac_exeext'
38421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38422 (eval $ac_try) 2>&5
38424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38425 (exit $ac_status); }; }; then
38426 ac_cv_func_pthread_attr_getschedpolicy
=yes
38428 echo "$as_me: failed program was:" >&5
38429 sed 's/^/| /' conftest.
$ac_ext >&5
38431 ac_cv_func_pthread_attr_getschedpolicy
=no
38433 rm -f conftest.err conftest.
$ac_objext \
38434 conftest
$ac_exeext conftest.
$ac_ext
38436 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38437 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
38438 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38439 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38440 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
38441 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38442 echo $ECHO_N "(cached) $ECHO_C" >&6
38444 cat >conftest.
$ac_ext <<_ACEOF
38447 cat confdefs.h
>>conftest.
$ac_ext
38448 cat >>conftest.
$ac_ext <<_ACEOF
38449 /* end confdefs.h. */
38450 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38452 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38454 /* System header to define __stub macros and hopefully few prototypes,
38455 which can conflict with char pthread_attr_setschedparam (); below.
38456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38457 <limits.h> exists even on freestanding compilers. */
38460 # include <limits.h>
38462 # include <assert.h>
38465 #undef pthread_attr_setschedparam
38467 /* Override any gcc2 internal prototype to avoid an error. */
38472 /* We use char because int might match the return type of a gcc2
38473 builtin and then its argument prototype would still apply. */
38474 char pthread_attr_setschedparam ();
38475 /* The GNU C library defines this for functions which it implements
38476 to always fail with ENOSYS. Some functions are actually named
38477 something starting with __ and the normal name is an alias. */
38478 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38481 char (*f) () = pthread_attr_setschedparam;
38490 return f != pthread_attr_setschedparam;
38495 rm -f conftest.
$ac_objext conftest
$ac_exeext
38496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38497 (eval $ac_link) 2>conftest.er1
38499 grep -v '^ *+' conftest.er1
>conftest.err
38501 cat conftest.err
>&5
38502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38503 (exit $ac_status); } &&
38504 { ac_try
='test -z "$ac_cxx_werror_flag"
38505 || test ! -s conftest.err'
38506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38507 (eval $ac_try) 2>&5
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); }; } &&
38511 { ac_try
='test -s conftest$ac_exeext'
38512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38513 (eval $ac_try) 2>&5
38515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516 (exit $ac_status); }; }; then
38517 ac_cv_func_pthread_attr_setschedparam
=yes
38519 echo "$as_me: failed program was:" >&5
38520 sed 's/^/| /' conftest.
$ac_ext >&5
38522 ac_cv_func_pthread_attr_setschedparam
=no
38524 rm -f conftest.err conftest.
$ac_objext \
38525 conftest
$ac_exeext conftest.
$ac_ext
38527 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38528 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38529 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38530 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38531 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38532 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38533 echo $ECHO_N "(cached) $ECHO_C" >&6
38535 cat >conftest.
$ac_ext <<_ACEOF
38538 cat confdefs.h
>>conftest.
$ac_ext
38539 cat >>conftest.
$ac_ext <<_ACEOF
38540 /* end confdefs.h. */
38541 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38543 #define sched_get_priority_max innocuous_sched_get_priority_max
38545 /* System header to define __stub macros and hopefully few prototypes,
38546 which can conflict with char sched_get_priority_max (); below.
38547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38548 <limits.h> exists even on freestanding compilers. */
38551 # include <limits.h>
38553 # include <assert.h>
38556 #undef sched_get_priority_max
38558 /* Override any gcc2 internal prototype to avoid an error. */
38563 /* We use char because int might match the return type of a gcc2
38564 builtin and then its argument prototype would still apply. */
38565 char sched_get_priority_max ();
38566 /* The GNU C library defines this for functions which it implements
38567 to always fail with ENOSYS. Some functions are actually named
38568 something starting with __ and the normal name is an alias. */
38569 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38572 char (*f) () = sched_get_priority_max;
38581 return f != sched_get_priority_max;
38586 rm -f conftest.
$ac_objext conftest
$ac_exeext
38587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38588 (eval $ac_link) 2>conftest.er1
38590 grep -v '^ *+' conftest.er1
>conftest.err
38592 cat conftest.err
>&5
38593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38594 (exit $ac_status); } &&
38595 { ac_try
='test -z "$ac_cxx_werror_flag"
38596 || test ! -s conftest.err'
38597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38598 (eval $ac_try) 2>&5
38600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38601 (exit $ac_status); }; } &&
38602 { ac_try
='test -s conftest$ac_exeext'
38603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38604 (eval $ac_try) 2>&5
38606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38607 (exit $ac_status); }; }; then
38608 ac_cv_func_sched_get_priority_max
=yes
38610 echo "$as_me: failed program was:" >&5
38611 sed 's/^/| /' conftest.
$ac_ext >&5
38613 ac_cv_func_sched_get_priority_max
=no
38615 rm -f conftest.err conftest.
$ac_objext \
38616 conftest
$ac_exeext conftest.
$ac_ext
38618 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38619 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38620 if test $ac_cv_func_sched_get_priority_max = yes; then
38623 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38624 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38625 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38626 echo $ECHO_N "(cached) $ECHO_C" >&6
38628 ac_check_lib_save_LIBS
=$LIBS
38629 LIBS
="-lposix4 $LIBS"
38630 cat >conftest.
$ac_ext <<_ACEOF
38633 cat confdefs.h
>>conftest.
$ac_ext
38634 cat >>conftest.
$ac_ext <<_ACEOF
38635 /* end confdefs.h. */
38637 /* Override any gcc2 internal prototype to avoid an error. */
38641 /* We use char because int might match the return type of a gcc2
38642 builtin and then its argument prototype would still apply. */
38643 char sched_get_priority_max ();
38647 sched_get_priority_max ();
38652 rm -f conftest.
$ac_objext conftest
$ac_exeext
38653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38654 (eval $ac_link) 2>conftest.er1
38656 grep -v '^ *+' conftest.er1
>conftest.err
38658 cat conftest.err
>&5
38659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660 (exit $ac_status); } &&
38661 { ac_try
='test -z "$ac_cxx_werror_flag"
38662 || test ! -s conftest.err'
38663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38664 (eval $ac_try) 2>&5
38666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38667 (exit $ac_status); }; } &&
38668 { ac_try
='test -s conftest$ac_exeext'
38669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38670 (eval $ac_try) 2>&5
38672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38673 (exit $ac_status); }; }; then
38674 ac_cv_lib_posix4_sched_get_priority_max
=yes
38676 echo "$as_me: failed program was:" >&5
38677 sed 's/^/| /' conftest.
$ac_ext >&5
38679 ac_cv_lib_posix4_sched_get_priority_max
=no
38681 rm -f conftest.err conftest.
$ac_objext \
38682 conftest
$ac_exeext conftest.
$ac_ext
38683 LIBS
=$ac_check_lib_save_LIBS
38685 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38686 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38687 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38690 POSIX4_LINK
=" -lposix4"
38704 if test "$HAVE_PRIOR_FUNCS" = 1; then
38705 cat >>confdefs.h
<<\_ACEOF
38706 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38710 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38711 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38714 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38715 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38716 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38717 echo $ECHO_N "(cached) $ECHO_C" >&6
38719 cat >conftest.
$ac_ext <<_ACEOF
38722 cat confdefs.h
>>conftest.
$ac_ext
38723 cat >>conftest.
$ac_ext <<_ACEOF
38724 /* end confdefs.h. */
38725 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38727 #define pthread_cancel innocuous_pthread_cancel
38729 /* System header to define __stub macros and hopefully few prototypes,
38730 which can conflict with char pthread_cancel (); below.
38731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38732 <limits.h> exists even on freestanding compilers. */
38735 # include <limits.h>
38737 # include <assert.h>
38740 #undef pthread_cancel
38742 /* Override any gcc2 internal prototype to avoid an error. */
38747 /* We use char because int might match the return type of a gcc2
38748 builtin and then its argument prototype would still apply. */
38749 char pthread_cancel ();
38750 /* The GNU C library defines this for functions which it implements
38751 to always fail with ENOSYS. Some functions are actually named
38752 something starting with __ and the normal name is an alias. */
38753 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38756 char (*f) () = pthread_cancel;
38765 return f != pthread_cancel;
38770 rm -f conftest.
$ac_objext conftest
$ac_exeext
38771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38772 (eval $ac_link) 2>conftest.er1
38774 grep -v '^ *+' conftest.er1
>conftest.err
38776 cat conftest.err
>&5
38777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38778 (exit $ac_status); } &&
38779 { ac_try
='test -z "$ac_cxx_werror_flag"
38780 || test ! -s conftest.err'
38781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38782 (eval $ac_try) 2>&5
38784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38785 (exit $ac_status); }; } &&
38786 { ac_try
='test -s conftest$ac_exeext'
38787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38788 (eval $ac_try) 2>&5
38790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38791 (exit $ac_status); }; }; then
38792 ac_cv_func_pthread_cancel
=yes
38794 echo "$as_me: failed program was:" >&5
38795 sed 's/^/| /' conftest.
$ac_ext >&5
38797 ac_cv_func_pthread_cancel
=no
38799 rm -f conftest.err conftest.
$ac_objext \
38800 conftest
$ac_exeext conftest.
$ac_ext
38802 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38803 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38804 if test $ac_cv_func_pthread_cancel = yes; then
38805 cat >>confdefs.h
<<\_ACEOF
38806 #define HAVE_PTHREAD_CANCEL 1
38810 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38811 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38815 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38816 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38817 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38818 echo $ECHO_N "(cached) $ECHO_C" >&6
38820 cat >conftest.
$ac_ext <<_ACEOF
38823 cat confdefs.h
>>conftest.
$ac_ext
38824 cat >>conftest.
$ac_ext <<_ACEOF
38825 /* end confdefs.h. */
38826 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38828 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38830 /* System header to define __stub macros and hopefully few prototypes,
38831 which can conflict with char pthread_attr_setstacksize (); below.
38832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38833 <limits.h> exists even on freestanding compilers. */
38836 # include <limits.h>
38838 # include <assert.h>
38841 #undef pthread_attr_setstacksize
38843 /* Override any gcc2 internal prototype to avoid an error. */
38848 /* We use char because int might match the return type of a gcc2
38849 builtin and then its argument prototype would still apply. */
38850 char pthread_attr_setstacksize ();
38851 /* The GNU C library defines this for functions which it implements
38852 to always fail with ENOSYS. Some functions are actually named
38853 something starting with __ and the normal name is an alias. */
38854 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38857 char (*f) () = pthread_attr_setstacksize;
38866 return f != pthread_attr_setstacksize;
38871 rm -f conftest.
$ac_objext conftest
$ac_exeext
38872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38873 (eval $ac_link) 2>conftest.er1
38875 grep -v '^ *+' conftest.er1
>conftest.err
38877 cat conftest.err
>&5
38878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38879 (exit $ac_status); } &&
38880 { ac_try
='test -z "$ac_cxx_werror_flag"
38881 || test ! -s conftest.err'
38882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38883 (eval $ac_try) 2>&5
38885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38886 (exit $ac_status); }; } &&
38887 { ac_try
='test -s conftest$ac_exeext'
38888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38889 (eval $ac_try) 2>&5
38891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38892 (exit $ac_status); }; }; then
38893 ac_cv_func_pthread_attr_setstacksize
=yes
38895 echo "$as_me: failed program was:" >&5
38896 sed 's/^/| /' conftest.
$ac_ext >&5
38898 ac_cv_func_pthread_attr_setstacksize
=no
38900 rm -f conftest.err conftest.
$ac_objext \
38901 conftest
$ac_exeext conftest.
$ac_ext
38903 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38904 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38905 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38906 cat >>confdefs.h
<<\_ACEOF
38907 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38914 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38915 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38916 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38917 echo $ECHO_N "(cached) $ECHO_C" >&6
38920 cat >conftest.
$ac_ext <<_ACEOF
38923 cat confdefs.h
>>conftest.
$ac_ext
38924 cat >>conftest.
$ac_ext <<_ACEOF
38925 /* end confdefs.h. */
38926 #include <pthread.h>
38931 pthread_mutexattr_t attr;
38932 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38938 rm -f conftest.
$ac_objext
38939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38940 (eval $ac_compile) 2>conftest.er1
38942 grep -v '^ *+' conftest.er1
>conftest.err
38944 cat conftest.err
>&5
38945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38946 (exit $ac_status); } &&
38947 { ac_try
='test -z "$ac_cxx_werror_flag"
38948 || test ! -s conftest.err'
38949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38950 (eval $ac_try) 2>&5
38952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38953 (exit $ac_status); }; } &&
38954 { ac_try
='test -s conftest.$ac_objext'
38955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38956 (eval $ac_try) 2>&5
38958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959 (exit $ac_status); }; }; then
38960 wx_cv_type_pthread_mutexattr_t
=yes
38962 echo "$as_me: failed program was:" >&5
38963 sed 's/^/| /' conftest.
$ac_ext >&5
38965 wx_cv_type_pthread_mutexattr_t
=no
38968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38971 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38972 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38974 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38975 cat >>confdefs.h
<<\_ACEOF
38976 #define HAVE_PTHREAD_MUTEXATTR_T 1
38980 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38981 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38982 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38983 echo $ECHO_N "(cached) $ECHO_C" >&6
38986 cat >conftest.
$ac_ext <<_ACEOF
38989 cat confdefs.h
>>conftest.
$ac_ext
38990 cat >>conftest.
$ac_ext <<_ACEOF
38991 /* end confdefs.h. */
38992 #include <pthread.h>
38997 pthread_mutexattr_t attr;
38998 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39004 rm -f conftest.
$ac_objext
39005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39006 (eval $ac_compile) 2>conftest.er1
39008 grep -v '^ *+' conftest.er1
>conftest.err
39010 cat conftest.err
>&5
39011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39012 (exit $ac_status); } &&
39013 { ac_try
='test -z "$ac_cxx_werror_flag"
39014 || test ! -s conftest.err'
39015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39016 (eval $ac_try) 2>&5
39018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39019 (exit $ac_status); }; } &&
39020 { ac_try
='test -s conftest.$ac_objext'
39021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39022 (eval $ac_try) 2>&5
39024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39025 (exit $ac_status); }; }; then
39026 wx_cv_func_pthread_mutexattr_settype_decl
=yes
39028 echo "$as_me: failed program was:" >&5
39029 sed 's/^/| /' conftest.
$ac_ext >&5
39031 wx_cv_func_pthread_mutexattr_settype_decl
=no
39034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39037 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39038 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39039 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39040 cat >>confdefs.h
<<\_ACEOF
39041 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39046 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39047 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
39048 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39049 echo $ECHO_N "(cached) $ECHO_C" >&6
39052 cat >conftest.
$ac_ext <<_ACEOF
39055 cat confdefs.h
>>conftest.
$ac_ext
39056 cat >>conftest.
$ac_ext <<_ACEOF
39057 /* end confdefs.h. */
39058 #include <pthread.h>
39063 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39069 rm -f conftest.
$ac_objext
39070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39071 (eval $ac_compile) 2>conftest.er1
39073 grep -v '^ *+' conftest.er1
>conftest.err
39075 cat conftest.err
>&5
39076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39077 (exit $ac_status); } &&
39078 { ac_try
='test -z "$ac_cxx_werror_flag"
39079 || test ! -s conftest.err'
39080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39081 (eval $ac_try) 2>&5
39083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39084 (exit $ac_status); }; } &&
39085 { ac_try
='test -s conftest.$ac_objext'
39086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39087 (eval $ac_try) 2>&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); }; }; then
39092 wx_cv_type_pthread_rec_mutex_init
=yes
39095 echo "$as_me: failed program was:" >&5
39096 sed 's/^/| /' conftest.
$ac_ext >&5
39099 wx_cv_type_pthread_rec_mutex_init
=no
39103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39106 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39107 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39108 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39109 cat >>confdefs.h
<<\_ACEOF
39110 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39114 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39115 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39121 if test "$wxUSE_THREADS" = "yes" ; then
39124 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39125 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39126 if test "${wx_cv_cflags_mthread+set}" = set; then
39127 echo $ECHO_N "(cached) $ECHO_C" >&6
39130 CXXFLAGS_OLD
="$CXXFLAGS"
39131 CXXFLAGS
="-mthreads $CXXFLAGS"
39132 cat >conftest.
$ac_ext <<_ACEOF
39135 cat confdefs.h
>>conftest.
$ac_ext
39136 cat >>conftest.
$ac_ext <<_ACEOF
39137 /* end confdefs.h. */
39147 rm -f conftest.
$ac_objext
39148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39149 (eval $ac_compile) 2>conftest.er1
39151 grep -v '^ *+' conftest.er1
>conftest.err
39153 cat conftest.err
>&5
39154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39155 (exit $ac_status); } &&
39156 { ac_try
='test -z "$ac_cxx_werror_flag"
39157 || test ! -s conftest.err'
39158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39159 (eval $ac_try) 2>&5
39161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39162 (exit $ac_status); }; } &&
39163 { ac_try
='test -s conftest.$ac_objext'
39164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39165 (eval $ac_try) 2>&5
39167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168 (exit $ac_status); }; }; then
39169 wx_cv_cflags_mthread
=yes
39171 echo "$as_me: failed program was:" >&5
39172 sed 's/^/| /' conftest.
$ac_ext >&5
39174 wx_cv_cflags_mthread
=no
39177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39181 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39182 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
39184 if test "$wx_cv_cflags_mthread" = "yes"; then
39185 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
39186 LDFLAGS
="$LDFLAGS -mthreads"
39188 CXXFLAGS
="$CXXFLAGS_OLD"
39192 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39193 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
39194 LDFLAGS
="$LDFLAGS -Zmt"
39200 echo "$as_me:$LINENO: checking for localtime_r" >&5
39201 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
39202 if test "${ac_cv_func_localtime_r+set}" = set; then
39203 echo $ECHO_N "(cached) $ECHO_C" >&6
39205 cat >conftest.
$ac_ext <<_ACEOF
39208 cat confdefs.h
>>conftest.
$ac_ext
39209 cat >>conftest.
$ac_ext <<_ACEOF
39210 /* end confdefs.h. */
39211 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39213 #define localtime_r innocuous_localtime_r
39215 /* System header to define __stub macros and hopefully few prototypes,
39216 which can conflict with char localtime_r (); below.
39217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39218 <limits.h> exists even on freestanding compilers. */
39221 # include <limits.h>
39223 # include <assert.h>
39228 /* Override any gcc2 internal prototype to avoid an error. */
39233 /* We use char because int might match the return type of a gcc2
39234 builtin and then its argument prototype would still apply. */
39235 char localtime_r ();
39236 /* The GNU C library defines this for functions which it implements
39237 to always fail with ENOSYS. Some functions are actually named
39238 something starting with __ and the normal name is an alias. */
39239 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
39242 char (*f) () = localtime_r;
39251 return f != localtime_r;
39256 rm -f conftest.
$ac_objext conftest
$ac_exeext
39257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39258 (eval $ac_link) 2>conftest.er1
39260 grep -v '^ *+' conftest.er1
>conftest.err
39262 cat conftest.err
>&5
39263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39264 (exit $ac_status); } &&
39265 { ac_try
='test -z "$ac_cxx_werror_flag"
39266 || test ! -s conftest.err'
39267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39268 (eval $ac_try) 2>&5
39270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39271 (exit $ac_status); }; } &&
39272 { ac_try
='test -s conftest$ac_exeext'
39273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39274 (eval $ac_try) 2>&5
39276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39277 (exit $ac_status); }; }; then
39278 ac_cv_func_localtime_r
=yes
39280 echo "$as_me: failed program was:" >&5
39281 sed 's/^/| /' conftest.
$ac_ext >&5
39283 ac_cv_func_localtime_r
=no
39285 rm -f conftest.err conftest.
$ac_objext \
39286 conftest
$ac_exeext conftest.
$ac_ext
39288 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39289 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
39290 if test $ac_cv_func_localtime_r = yes; then
39291 cat >>confdefs.h
<<\_ACEOF
39292 #define HAVE_LOCALTIME_R 1
39297 echo "$as_me:$LINENO: checking for gmtime_r" >&5
39298 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
39299 if test "${ac_cv_func_gmtime_r+set}" = set; then
39300 echo $ECHO_N "(cached) $ECHO_C" >&6
39302 cat >conftest.
$ac_ext <<_ACEOF
39305 cat confdefs.h
>>conftest.
$ac_ext
39306 cat >>conftest.
$ac_ext <<_ACEOF
39307 /* end confdefs.h. */
39308 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39310 #define gmtime_r innocuous_gmtime_r
39312 /* System header to define __stub macros and hopefully few prototypes,
39313 which can conflict with char gmtime_r (); below.
39314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39315 <limits.h> exists even on freestanding compilers. */
39318 # include <limits.h>
39320 # include <assert.h>
39325 /* Override any gcc2 internal prototype to avoid an error. */
39330 /* We use char because int might match the return type of a gcc2
39331 builtin and then its argument prototype would still apply. */
39333 /* The GNU C library defines this for functions which it implements
39334 to always fail with ENOSYS. Some functions are actually named
39335 something starting with __ and the normal name is an alias. */
39336 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
39339 char (*f) () = gmtime_r;
39348 return f != gmtime_r;
39353 rm -f conftest.
$ac_objext conftest
$ac_exeext
39354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39355 (eval $ac_link) 2>conftest.er1
39357 grep -v '^ *+' conftest.er1
>conftest.err
39359 cat conftest.err
>&5
39360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39361 (exit $ac_status); } &&
39362 { ac_try
='test -z "$ac_cxx_werror_flag"
39363 || test ! -s conftest.err'
39364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39365 (eval $ac_try) 2>&5
39367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39368 (exit $ac_status); }; } &&
39369 { ac_try
='test -s conftest$ac_exeext'
39370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39371 (eval $ac_try) 2>&5
39373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39374 (exit $ac_status); }; }; then
39375 ac_cv_func_gmtime_r
=yes
39377 echo "$as_me: failed program was:" >&5
39378 sed 's/^/| /' conftest.
$ac_ext >&5
39380 ac_cv_func_gmtime_r
=no
39382 rm -f conftest.err conftest.
$ac_objext \
39383 conftest
$ac_exeext conftest.
$ac_ext
39385 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39386 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39387 if test $ac_cv_func_gmtime_r = yes; then
39388 cat >>confdefs.h
<<\_ACEOF
39389 #define HAVE_GMTIME_R 1
39394 echo "$as_me:$LINENO: checking for readdir_r" >&5
39395 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39396 if test "${ac_cv_func_readdir_r+set}" = set; then
39397 echo $ECHO_N "(cached) $ECHO_C" >&6
39399 cat >conftest.
$ac_ext <<_ACEOF
39402 cat confdefs.h
>>conftest.
$ac_ext
39403 cat >>conftest.
$ac_ext <<_ACEOF
39404 /* end confdefs.h. */
39405 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39407 #define readdir_r innocuous_readdir_r
39409 /* System header to define __stub macros and hopefully few prototypes,
39410 which can conflict with char readdir_r (); below.
39411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39412 <limits.h> exists even on freestanding compilers. */
39415 # include <limits.h>
39417 # include <assert.h>
39422 /* Override any gcc2 internal prototype to avoid an error. */
39427 /* We use char because int might match the return type of a gcc2
39428 builtin and then its argument prototype would still apply. */
39430 /* The GNU C library defines this for functions which it implements
39431 to always fail with ENOSYS. Some functions are actually named
39432 something starting with __ and the normal name is an alias. */
39433 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39436 char (*f) () = readdir_r;
39445 return f != readdir_r;
39450 rm -f conftest.
$ac_objext conftest
$ac_exeext
39451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39452 (eval $ac_link) 2>conftest.er1
39454 grep -v '^ *+' conftest.er1
>conftest.err
39456 cat conftest.err
>&5
39457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39458 (exit $ac_status); } &&
39459 { ac_try
='test -z "$ac_cxx_werror_flag"
39460 || test ! -s conftest.err'
39461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39462 (eval $ac_try) 2>&5
39464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465 (exit $ac_status); }; } &&
39466 { ac_try
='test -s conftest$ac_exeext'
39467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39468 (eval $ac_try) 2>&5
39470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39471 (exit $ac_status); }; }; then
39472 ac_cv_func_readdir_r
=yes
39474 echo "$as_me: failed program was:" >&5
39475 sed 's/^/| /' conftest.
$ac_ext >&5
39477 ac_cv_func_readdir_r
=no
39479 rm -f conftest.err conftest.
$ac_objext \
39480 conftest
$ac_exeext conftest.
$ac_ext
39482 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39483 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39484 if test $ac_cv_func_readdir_r = yes; then
39485 cat >>confdefs.h
<<\_ACEOF
39486 #define HAVE_READDIR_R 1
39495 ac_cpp
='$CPP $CPPFLAGS'
39496 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39497 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39498 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39500 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39501 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39503 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39504 echo $ECHO_N "(cached) $ECHO_C" >&6
39508 ################################################################
39510 ac_cv_func_which_gethostbyname_r
=unknown
39513 # ONE ARGUMENT (sanity check)
39516 # This should fail, as there is no variant of gethostbyname_r() that takes
39517 # a single argument. If it actually compiles, then we can assume that
39518 # netdb.h is not declaring the function, and the compiler is thereby
39519 # assuming an implicit prototype. In which case, we're out of luck.
39521 cat >conftest.
$ac_ext <<_ACEOF
39524 cat confdefs.h
>>conftest.
$ac_ext
39525 cat >>conftest.
$ac_ext <<_ACEOF
39526 /* end confdefs.h. */
39532 char *name = "www.gnu.org";
39533 (void)gethostbyname_r(name) /* ; */
39539 rm -f conftest.
$ac_objext
39540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39541 (eval $ac_compile) 2>conftest.er1
39543 grep -v '^ *+' conftest.er1
>conftest.err
39545 cat conftest.err
>&5
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); } &&
39548 { ac_try
='test -z "$ac_c_werror_flag"
39549 || test ! -s conftest.err'
39550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39551 (eval $ac_try) 2>&5
39553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39554 (exit $ac_status); }; } &&
39555 { ac_try
='test -s conftest.$ac_objext'
39556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39557 (eval $ac_try) 2>&5
39559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39560 (exit $ac_status); }; }; then
39561 ac_cv_func_which_gethostbyname_r
=no
39563 echo "$as_me: failed program was:" >&5
39564 sed 's/^/| /' conftest.
$ac_ext >&5
39567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39574 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39576 cat >conftest.
$ac_ext <<_ACEOF
39579 cat confdefs.h
>>conftest.
$ac_ext
39580 cat >>conftest.
$ac_ext <<_ACEOF
39581 /* end confdefs.h. */
39587 char *name = "www.gnu.org";
39588 struct hostent ret, *retp;
39592 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39598 rm -f conftest.
$ac_objext
39599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39600 (eval $ac_compile) 2>conftest.er1
39602 grep -v '^ *+' conftest.er1
>conftest.err
39604 cat conftest.err
>&5
39605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39606 (exit $ac_status); } &&
39607 { ac_try
='test -z "$ac_c_werror_flag"
39608 || test ! -s conftest.err'
39609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39610 (eval $ac_try) 2>&5
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); }; } &&
39614 { ac_try
='test -s conftest.$ac_objext'
39615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39616 (eval $ac_try) 2>&5
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); }; }; then
39620 ac_cv_func_which_gethostbyname_r
=six
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.
$ac_ext >&5
39626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39635 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39637 cat >conftest.
$ac_ext <<_ACEOF
39640 cat confdefs.h
>>conftest.
$ac_ext
39641 cat >>conftest.
$ac_ext <<_ACEOF
39642 /* end confdefs.h. */
39648 char *name = "www.gnu.org";
39649 struct hostent ret;
39653 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39659 rm -f conftest.
$ac_objext
39660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39661 (eval $ac_compile) 2>conftest.er1
39663 grep -v '^ *+' conftest.er1
>conftest.err
39665 cat conftest.err
>&5
39666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39667 (exit $ac_status); } &&
39668 { ac_try
='test -z "$ac_c_werror_flag"
39669 || test ! -s conftest.err'
39670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39671 (eval $ac_try) 2>&5
39673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39674 (exit $ac_status); }; } &&
39675 { ac_try
='test -s conftest.$ac_objext'
39676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39677 (eval $ac_try) 2>&5
39679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39680 (exit $ac_status); }; }; then
39681 ac_cv_func_which_gethostbyname_r
=five
39683 echo "$as_me: failed program was:" >&5
39684 sed 's/^/| /' conftest.
$ac_ext >&5
39687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39693 # (e.g. AIX, HP-UX, Tru64)
39696 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39698 cat >conftest.
$ac_ext <<_ACEOF
39701 cat confdefs.h
>>conftest.
$ac_ext
39702 cat >>conftest.
$ac_ext <<_ACEOF
39703 /* end confdefs.h. */
39709 char *name = "www.gnu.org";
39710 struct hostent ret;
39711 struct hostent_data data;
39712 (void)gethostbyname_r(name, &ret, &data) /* ; */
39718 rm -f conftest.
$ac_objext
39719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39720 (eval $ac_compile) 2>conftest.er1
39722 grep -v '^ *+' conftest.er1
>conftest.err
39724 cat conftest.err
>&5
39725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39726 (exit $ac_status); } &&
39727 { ac_try
='test -z "$ac_c_werror_flag"
39728 || test ! -s conftest.err'
39729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39730 (eval $ac_try) 2>&5
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); }; } &&
39734 { ac_try
='test -s conftest.$ac_objext'
39735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39736 (eval $ac_try) 2>&5
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); }; }; then
39740 ac_cv_func_which_gethostbyname_r
=three
39742 echo "$as_me: failed program was:" >&5
39743 sed 's/^/| /' conftest.
$ac_ext >&5
39746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39750 ################################################################
39755 case "$ac_cv_func_which_gethostbyname_r" in
39757 echo "$as_me:$LINENO: result: three" >&5
39758 echo "${ECHO_T}three" >&6
39759 cat >>confdefs.h
<<\_ACEOF
39760 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39766 echo "$as_me:$LINENO: result: five" >&5
39767 echo "${ECHO_T}five" >&6
39768 cat >>confdefs.h
<<\_ACEOF
39769 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39775 echo "$as_me:$LINENO: result: six" >&5
39776 echo "${ECHO_T}six" >&6
39777 cat >>confdefs.h
<<\_ACEOF
39778 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39784 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39785 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39789 echo "$as_me:$LINENO: result: can't tell" >&5
39790 echo "${ECHO_T}can't tell" >&6
39794 { { echo "$as_me:$LINENO: error: internal error" >&5
39795 echo "$as_me: error: internal error" >&2;}
39796 { (exit 1); exit 1; }; }
39801 ac_cpp
='$CXXCPP $CPPFLAGS'
39802 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39803 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39804 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39808 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39809 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39810 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39811 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39812 if test "${ac_cv_func_gethostbyname+set}" = set; then
39813 echo $ECHO_N "(cached) $ECHO_C" >&6
39815 cat >conftest.
$ac_ext <<_ACEOF
39818 cat confdefs.h
>>conftest.
$ac_ext
39819 cat >>conftest.
$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39823 #define gethostbyname innocuous_gethostbyname
39825 /* System header to define __stub macros and hopefully few prototypes,
39826 which can conflict with char gethostbyname (); below.
39827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39828 <limits.h> exists even on freestanding compilers. */
39831 # include <limits.h>
39833 # include <assert.h>
39836 #undef gethostbyname
39838 /* Override any gcc2 internal prototype to avoid an error. */
39843 /* We use char because int might match the return type of a gcc2
39844 builtin and then its argument prototype would still apply. */
39845 char gethostbyname ();
39846 /* The GNU C library defines this for functions which it implements
39847 to always fail with ENOSYS. Some functions are actually named
39848 something starting with __ and the normal name is an alias. */
39849 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39852 char (*f) () = gethostbyname;
39861 return f != gethostbyname;
39866 rm -f conftest.
$ac_objext conftest
$ac_exeext
39867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39868 (eval $ac_link) 2>conftest.er1
39870 grep -v '^ *+' conftest.er1
>conftest.err
39872 cat conftest.err
>&5
39873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874 (exit $ac_status); } &&
39875 { ac_try
='test -z "$ac_cxx_werror_flag"
39876 || test ! -s conftest.err'
39877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39878 (eval $ac_try) 2>&5
39880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39881 (exit $ac_status); }; } &&
39882 { ac_try
='test -s conftest$ac_exeext'
39883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39884 (eval $ac_try) 2>&5
39886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39887 (exit $ac_status); }; }; then
39888 ac_cv_func_gethostbyname
=yes
39890 echo "$as_me: failed program was:" >&5
39891 sed 's/^/| /' conftest.
$ac_ext >&5
39893 ac_cv_func_gethostbyname
=no
39895 rm -f conftest.err conftest.
$ac_objext \
39896 conftest
$ac_exeext conftest.
$ac_ext
39898 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39899 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39900 if test $ac_cv_func_gethostbyname = yes; then
39901 cat >>confdefs.h
<<\_ACEOF
39902 #define HAVE_GETHOSTBYNAME 1
39908 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39909 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39910 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39911 echo $ECHO_N "(cached) $ECHO_C" >&6
39913 cat >conftest.
$ac_ext <<_ACEOF
39916 cat confdefs.h
>>conftest.
$ac_ext
39917 cat >>conftest.
$ac_ext <<_ACEOF
39918 /* end confdefs.h. */
39919 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39921 #define getservbyname_r innocuous_getservbyname_r
39923 /* System header to define __stub macros and hopefully few prototypes,
39924 which can conflict with char getservbyname_r (); below.
39925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39926 <limits.h> exists even on freestanding compilers. */
39929 # include <limits.h>
39931 # include <assert.h>
39934 #undef getservbyname_r
39936 /* Override any gcc2 internal prototype to avoid an error. */
39941 /* We use char because int might match the return type of a gcc2
39942 builtin and then its argument prototype would still apply. */
39943 char getservbyname_r ();
39944 /* The GNU C library defines this for functions which it implements
39945 to always fail with ENOSYS. Some functions are actually named
39946 something starting with __ and the normal name is an alias. */
39947 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39950 char (*f) () = getservbyname_r;
39959 return f != getservbyname_r;
39964 rm -f conftest.
$ac_objext conftest
$ac_exeext
39965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39966 (eval $ac_link) 2>conftest.er1
39968 grep -v '^ *+' conftest.er1
>conftest.err
39970 cat conftest.err
>&5
39971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39972 (exit $ac_status); } &&
39973 { ac_try
='test -z "$ac_cxx_werror_flag"
39974 || test ! -s conftest.err'
39975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39976 (eval $ac_try) 2>&5
39978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39979 (exit $ac_status); }; } &&
39980 { ac_try
='test -s conftest$ac_exeext'
39981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39982 (eval $ac_try) 2>&5
39984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39985 (exit $ac_status); }; }; then
39986 ac_cv_func_getservbyname_r
=yes
39988 echo "$as_me: failed program was:" >&5
39989 sed 's/^/| /' conftest.
$ac_ext >&5
39991 ac_cv_func_getservbyname_r
=no
39993 rm -f conftest.err conftest.
$ac_objext \
39994 conftest
$ac_exeext conftest.
$ac_ext
39996 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39997 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39998 if test $ac_cv_func_getservbyname_r = yes; then
39999 cat >conftest.
$ac_ext <<_ACEOF
40002 cat confdefs.h
>>conftest.
$ac_ext
40003 cat >>conftest.
$ac_ext <<_ACEOF
40004 /* end confdefs.h. */
40012 struct servent *se;
40013 struct servent_data data;
40014 (void) getservbyname_r(name, proto, se, &data);
40020 rm -f conftest.
$ac_objext
40021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40022 (eval $ac_compile) 2>conftest.er1
40024 grep -v '^ *+' conftest.er1
>conftest.err
40026 cat conftest.err
>&5
40027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40028 (exit $ac_status); } &&
40029 { ac_try
='test -z "$ac_cxx_werror_flag"
40030 || test ! -s conftest.err'
40031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40032 (eval $ac_try) 2>&5
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); }; } &&
40036 { ac_try
='test -s conftest.$ac_objext'
40037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40038 (eval $ac_try) 2>&5
40040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40041 (exit $ac_status); }; }; then
40042 ac_cv_func_which_getservbyname_r
=four
40044 echo "$as_me: failed program was:" >&5
40045 sed 's/^/| /' conftest.
$ac_ext >&5
40047 cat >conftest.
$ac_ext <<_ACEOF
40050 cat confdefs.h
>>conftest.
$ac_ext
40051 cat >>conftest.
$ac_ext <<_ACEOF
40052 /* end confdefs.h. */
40060 struct servent *se, *res;
40063 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
40069 rm -f conftest.
$ac_objext
40070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40071 (eval $ac_compile) 2>conftest.er1
40073 grep -v '^ *+' conftest.er1
>conftest.err
40075 cat conftest.err
>&5
40076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40077 (exit $ac_status); } &&
40078 { ac_try
='test -z "$ac_cxx_werror_flag"
40079 || test ! -s conftest.err'
40080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40081 (eval $ac_try) 2>&5
40083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40084 (exit $ac_status); }; } &&
40085 { ac_try
='test -s conftest.$ac_objext'
40086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40087 (eval $ac_try) 2>&5
40089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40090 (exit $ac_status); }; }; then
40091 ac_cv_func_which_getservbyname_r
=six
40093 echo "$as_me: failed program was:" >&5
40094 sed 's/^/| /' conftest.
$ac_ext >&5
40096 cat >conftest.
$ac_ext <<_ACEOF
40099 cat confdefs.h
>>conftest.
$ac_ext
40100 cat >>conftest.
$ac_ext <<_ACEOF
40101 /* end confdefs.h. */
40109 struct servent *se;
40112 (void) getservbyname_r(name, proto, se, buffer, buflen)
40118 rm -f conftest.
$ac_objext
40119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40120 (eval $ac_compile) 2>conftest.er1
40122 grep -v '^ *+' conftest.er1
>conftest.err
40124 cat conftest.err
>&5
40125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126 (exit $ac_status); } &&
40127 { ac_try
='test -z "$ac_cxx_werror_flag"
40128 || test ! -s conftest.err'
40129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40130 (eval $ac_try) 2>&5
40132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40133 (exit $ac_status); }; } &&
40134 { ac_try
='test -s conftest.$ac_objext'
40135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40136 (eval $ac_try) 2>&5
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); }; }; then
40140 ac_cv_func_which_getservbyname_r
=five
40142 echo "$as_me: failed program was:" >&5
40143 sed 's/^/| /' conftest.
$ac_ext >&5
40145 ac_cv_func_which_getservbyname_r
=no
40148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40156 ac_cv_func_which_getservbyname_r
=no
40160 if test $ac_cv_func_which_getservbyname_r = six
; then
40161 cat >>confdefs.h
<<\_ACEOF
40162 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40165 elif test $ac_cv_func_which_getservbyname_r = five
; then
40166 cat >>confdefs.h
<<\_ACEOF
40167 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40170 elif test $ac_cv_func_which_getservbyname_r = four
; then
40171 cat >>confdefs.h
<<\_ACEOF
40172 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40178 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40179 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40181 for ac_func
in getservbyname
40183 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40184 echo "$as_me:$LINENO: checking for $ac_func" >&5
40185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40186 if eval "test \"\${$as_ac_var+set}\" = set"; then
40187 echo $ECHO_N "(cached) $ECHO_C" >&6
40189 cat >conftest.
$ac_ext <<_ACEOF
40192 cat confdefs.h
>>conftest.
$ac_ext
40193 cat >>conftest.
$ac_ext <<_ACEOF
40194 /* end confdefs.h. */
40195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40197 #define $ac_func innocuous_$ac_func
40199 /* System header to define __stub macros and hopefully few prototypes,
40200 which can conflict with char $ac_func (); below.
40201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40202 <limits.h> exists even on freestanding compilers. */
40205 # include <limits.h>
40207 # include <assert.h>
40212 /* Override any gcc2 internal prototype to avoid an error. */
40217 /* We use char because int might match the return type of a gcc2
40218 builtin and then its argument prototype would still apply. */
40220 /* The GNU C library defines this for functions which it implements
40221 to always fail with ENOSYS. Some functions are actually named
40222 something starting with __ and the normal name is an alias. */
40223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40226 char (*f) () = $ac_func;
40235 return f != $ac_func;
40240 rm -f conftest.
$ac_objext conftest
$ac_exeext
40241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40242 (eval $ac_link) 2>conftest.er1
40244 grep -v '^ *+' conftest.er1
>conftest.err
40246 cat conftest.err
>&5
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); } &&
40249 { ac_try
='test -z "$ac_cxx_werror_flag"
40250 || test ! -s conftest.err'
40251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40252 (eval $ac_try) 2>&5
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); }; } &&
40256 { ac_try
='test -s conftest$ac_exeext'
40257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40258 (eval $ac_try) 2>&5
40260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40261 (exit $ac_status); }; }; then
40262 eval "$as_ac_var=yes"
40264 echo "$as_me: failed program was:" >&5
40265 sed 's/^/| /' conftest.
$ac_ext >&5
40267 eval "$as_ac_var=no"
40269 rm -f conftest.err conftest.
$ac_objext \
40270 conftest
$ac_exeext conftest.
$ac_ext
40272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40274 if test `eval echo '${'$as_ac_var'}'` = yes; then
40275 cat >>confdefs.h
<<_ACEOF
40276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40278 cat >>confdefs.h
<<\_ACEOF
40279 #define HAVE_GETSERVBYNAME 1
40287 if test "$wxUSE_THREADS" = "yes"; then
40288 cat >>confdefs.h
<<\_ACEOF
40289 #define wxUSE_THREADS 1
40293 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40295 if test "$ac_cv_func_strtok_r" = "yes"; then
40296 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40297 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
40298 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40299 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40300 echo "$as_me:$LINENO: result: yes" >&5
40301 echo "${ECHO_T}yes" >&6
40303 echo "$as_me:$LINENO: result: no" >&5
40304 echo "${ECHO_T}no" >&6
40309 if test "$WXGTK20" = 1 ; then
40310 cat >>confdefs.h
<<_ACEOF
40311 #define __WXGTK20__ $WXGTK20
40317 if test "$WXGTK12" = 1 ; then
40318 cat >>confdefs.h
<<_ACEOF
40319 #define __WXGTK12__ $WXGTK12
40324 if test "$WXGTK127" = 1 ; then
40325 cat >>confdefs.h
<<_ACEOF
40326 #define __WXGTK127__ $WXGTK127
40331 if test "$WXGPE" = 1 ; then
40332 cat >>confdefs.h
<<_ACEOF
40333 #define __WXGPE__ $WXGPE
40339 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40344 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40345 wxUSE_DEBUG_INFO
=yes
40346 if test "$GCC" = yes; then
40347 DEBUG_CFLAGS
="-ggdb"
40351 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40352 cat >>confdefs.h
<<\_ACEOF
40356 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40358 if test "$wxUSE_GTK" = 1 ; then
40359 if test "x$wxGTK_VERSION" = "x1" ; then
40360 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40365 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40366 cat >>confdefs.h
<<\_ACEOF
40367 #define wxUSE_MEMORY_TRACING 1
40370 cat >>confdefs.h
<<\_ACEOF
40371 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40374 cat >>confdefs.h
<<\_ACEOF
40375 #define wxUSE_DEBUG_NEW_ALWAYS 1
40378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40381 if test "$wxUSE_DMALLOC" = "yes" ; then
40382 DMALLOC_LIBS
="-ldmallocthcxx"
40386 if test "$wxUSE_PROFILE" = "yes" ; then
40387 PROFILE_FLAGS
=" -pg"
40390 if test "$GCC" = "yes" ; then
40391 if test "$wxUSE_NO_RTTI" = "yes" ; then
40392 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40394 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40395 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40397 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40398 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40403 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40406 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40412 if test "$wxUSE_OPTIMISE" = "no" ; then
40413 if test "$GCC" = yes ; then
40414 OPTIMISE_CFLAGS
="-O0"
40417 if test "$GCC" = yes ; then
40419 *-pc-os2_emx | *-pc-os2-emx )
40420 OPTIMISE_CFLAGS
="-O2"
40423 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40427 OPTIMISE_CFLAGS
="-O"
40432 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
40433 cat >>confdefs.h
<<\_ACEOF
40434 #define WXWIN_COMPATIBILITY_2_4 1
40438 WXWIN_COMPATIBILITY_2_6
="yes"
40441 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
40442 cat >>confdefs.h
<<\_ACEOF
40443 #define WXWIN_COMPATIBILITY_2_6 1
40449 if test "$wxUSE_GUI" = "yes"; then
40450 cat >>confdefs.h
<<\_ACEOF
40451 #define wxUSE_GUI 1
40458 if test "$wxUSE_UNIX" = "yes"; then
40459 cat >>confdefs.h
<<\_ACEOF
40460 #define wxUSE_UNIX 1
40466 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40470 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40471 if test "$USE_DARWIN" = 1; then
40473 elif test "$USE_DOS" = 1; then
40477 for ac_func
in dlopen
40479 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40480 echo "$as_me:$LINENO: checking for $ac_func" >&5
40481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40482 if eval "test \"\${$as_ac_var+set}\" = set"; then
40483 echo $ECHO_N "(cached) $ECHO_C" >&6
40485 cat >conftest.
$ac_ext <<_ACEOF
40488 cat confdefs.h
>>conftest.
$ac_ext
40489 cat >>conftest.
$ac_ext <<_ACEOF
40490 /* end confdefs.h. */
40491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40493 #define $ac_func innocuous_$ac_func
40495 /* System header to define __stub macros and hopefully few prototypes,
40496 which can conflict with char $ac_func (); below.
40497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40498 <limits.h> exists even on freestanding compilers. */
40501 # include <limits.h>
40503 # include <assert.h>
40508 /* Override any gcc2 internal prototype to avoid an error. */
40513 /* We use char because int might match the return type of a gcc2
40514 builtin and then its argument prototype would still apply. */
40516 /* The GNU C library defines this for functions which it implements
40517 to always fail with ENOSYS. Some functions are actually named
40518 something starting with __ and the normal name is an alias. */
40519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40522 char (*f) () = $ac_func;
40531 return f != $ac_func;
40536 rm -f conftest.
$ac_objext conftest
$ac_exeext
40537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40538 (eval $ac_link) 2>conftest.er1
40540 grep -v '^ *+' conftest.er1
>conftest.err
40542 cat conftest.err
>&5
40543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40544 (exit $ac_status); } &&
40545 { ac_try
='test -z "$ac_cxx_werror_flag"
40546 || test ! -s conftest.err'
40547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40548 (eval $ac_try) 2>&5
40550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40551 (exit $ac_status); }; } &&
40552 { ac_try
='test -s conftest$ac_exeext'
40553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40554 (eval $ac_try) 2>&5
40556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40557 (exit $ac_status); }; }; then
40558 eval "$as_ac_var=yes"
40560 echo "$as_me: failed program was:" >&5
40561 sed 's/^/| /' conftest.
$ac_ext >&5
40563 eval "$as_ac_var=no"
40565 rm -f conftest.err conftest.
$ac_objext \
40566 conftest
$ac_exeext conftest.
$ac_ext
40568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40570 if test `eval echo '${'$as_ac_var'}'` = yes; then
40571 cat >>confdefs.h
<<_ACEOF
40572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40575 cat >>confdefs.h
<<\_ACEOF
40576 #define HAVE_DLOPEN 1
40583 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40584 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40585 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40586 echo $ECHO_N "(cached) $ECHO_C" >&6
40588 ac_check_lib_save_LIBS
=$LIBS
40590 cat >conftest.
$ac_ext <<_ACEOF
40593 cat confdefs.h
>>conftest.
$ac_ext
40594 cat >>conftest.
$ac_ext <<_ACEOF
40595 /* end confdefs.h. */
40597 /* Override any gcc2 internal prototype to avoid an error. */
40601 /* We use char because int might match the return type of a gcc2
40602 builtin and then its argument prototype would still apply. */
40612 rm -f conftest.
$ac_objext conftest
$ac_exeext
40613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40614 (eval $ac_link) 2>conftest.er1
40616 grep -v '^ *+' conftest.er1
>conftest.err
40618 cat conftest.err
>&5
40619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40620 (exit $ac_status); } &&
40621 { ac_try
='test -z "$ac_cxx_werror_flag"
40622 || test ! -s conftest.err'
40623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40624 (eval $ac_try) 2>&5
40626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40627 (exit $ac_status); }; } &&
40628 { ac_try
='test -s conftest$ac_exeext'
40629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40630 (eval $ac_try) 2>&5
40632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 (exit $ac_status); }; }; then
40634 ac_cv_lib_dl_dlopen
=yes
40636 echo "$as_me: failed program was:" >&5
40637 sed 's/^/| /' conftest.
$ac_ext >&5
40639 ac_cv_lib_dl_dlopen
=no
40641 rm -f conftest.err conftest.
$ac_objext \
40642 conftest
$ac_exeext conftest.
$ac_ext
40643 LIBS
=$ac_check_lib_save_LIBS
40645 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40646 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40647 if test $ac_cv_lib_dl_dlopen = yes; then
40649 cat >>confdefs.h
<<\_ACEOF
40650 #define HAVE_DLOPEN 1
40654 DL_LINK
=" -ldl$DL_LINK"
40659 for ac_func
in shl_load
40661 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40662 echo "$as_me:$LINENO: checking for $ac_func" >&5
40663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40664 if eval "test \"\${$as_ac_var+set}\" = set"; then
40665 echo $ECHO_N "(cached) $ECHO_C" >&6
40667 cat >conftest.
$ac_ext <<_ACEOF
40670 cat confdefs.h
>>conftest.
$ac_ext
40671 cat >>conftest.
$ac_ext <<_ACEOF
40672 /* end confdefs.h. */
40673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40675 #define $ac_func innocuous_$ac_func
40677 /* System header to define __stub macros and hopefully few prototypes,
40678 which can conflict with char $ac_func (); below.
40679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40680 <limits.h> exists even on freestanding compilers. */
40683 # include <limits.h>
40685 # include <assert.h>
40690 /* Override any gcc2 internal prototype to avoid an error. */
40695 /* We use char because int might match the return type of a gcc2
40696 builtin and then its argument prototype would still apply. */
40698 /* The GNU C library defines this for functions which it implements
40699 to always fail with ENOSYS. Some functions are actually named
40700 something starting with __ and the normal name is an alias. */
40701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40704 char (*f) () = $ac_func;
40713 return f != $ac_func;
40718 rm -f conftest.
$ac_objext conftest
$ac_exeext
40719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40720 (eval $ac_link) 2>conftest.er1
40722 grep -v '^ *+' conftest.er1
>conftest.err
40724 cat conftest.err
>&5
40725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726 (exit $ac_status); } &&
40727 { ac_try
='test -z "$ac_cxx_werror_flag"
40728 || test ! -s conftest.err'
40729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40730 (eval $ac_try) 2>&5
40732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40733 (exit $ac_status); }; } &&
40734 { ac_try
='test -s conftest$ac_exeext'
40735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40736 (eval $ac_try) 2>&5
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); }; }; then
40740 eval "$as_ac_var=yes"
40742 echo "$as_me: failed program was:" >&5
40743 sed 's/^/| /' conftest.
$ac_ext >&5
40745 eval "$as_ac_var=no"
40747 rm -f conftest.err conftest.
$ac_objext \
40748 conftest
$ac_exeext conftest.
$ac_ext
40750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40752 if test `eval echo '${'$as_ac_var'}'` = yes; then
40753 cat >>confdefs.h
<<_ACEOF
40754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40757 cat >>confdefs.h
<<\_ACEOF
40758 #define HAVE_SHL_LOAD 1
40765 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40766 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40767 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40768 echo $ECHO_N "(cached) $ECHO_C" >&6
40770 ac_check_lib_save_LIBS
=$LIBS
40771 LIBS
="-lshl_load $LIBS"
40772 cat >conftest.
$ac_ext <<_ACEOF
40775 cat confdefs.h
>>conftest.
$ac_ext
40776 cat >>conftest.
$ac_ext <<_ACEOF
40777 /* end confdefs.h. */
40779 /* Override any gcc2 internal prototype to avoid an error. */
40783 /* We use char because int might match the return type of a gcc2
40784 builtin and then its argument prototype would still apply. */
40794 rm -f conftest.
$ac_objext conftest
$ac_exeext
40795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40796 (eval $ac_link) 2>conftest.er1
40798 grep -v '^ *+' conftest.er1
>conftest.err
40800 cat conftest.err
>&5
40801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40802 (exit $ac_status); } &&
40803 { ac_try
='test -z "$ac_cxx_werror_flag"
40804 || test ! -s conftest.err'
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); }; } &&
40810 { ac_try
='test -s conftest$ac_exeext'
40811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40812 (eval $ac_try) 2>&5
40814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815 (exit $ac_status); }; }; then
40816 ac_cv_lib_shl_load_dld
=yes
40818 echo "$as_me: failed program was:" >&5
40819 sed 's/^/| /' conftest.
$ac_ext >&5
40821 ac_cv_lib_shl_load_dld
=no
40823 rm -f conftest.err conftest.
$ac_objext \
40824 conftest
$ac_exeext conftest.
$ac_ext
40825 LIBS
=$ac_check_lib_save_LIBS
40827 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40828 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40829 if test $ac_cv_lib_shl_load_dld = yes; then
40832 DL_LINK
=" -ldld$DL_LINK"
40848 if test "$HAVE_DL_FUNCS" = 1; then
40850 for ac_func
in dlerror
40852 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40853 echo "$as_me:$LINENO: checking for $ac_func" >&5
40854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40855 if eval "test \"\${$as_ac_var+set}\" = set"; then
40856 echo $ECHO_N "(cached) $ECHO_C" >&6
40858 cat >conftest.
$ac_ext <<_ACEOF
40861 cat confdefs.h
>>conftest.
$ac_ext
40862 cat >>conftest.
$ac_ext <<_ACEOF
40863 /* end confdefs.h. */
40864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40866 #define $ac_func innocuous_$ac_func
40868 /* System header to define __stub macros and hopefully few prototypes,
40869 which can conflict with char $ac_func (); below.
40870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40871 <limits.h> exists even on freestanding compilers. */
40874 # include <limits.h>
40876 # include <assert.h>
40881 /* Override any gcc2 internal prototype to avoid an error. */
40886 /* We use char because int might match the return type of a gcc2
40887 builtin and then its argument prototype would still apply. */
40889 /* The GNU C library defines this for functions which it implements
40890 to always fail with ENOSYS. Some functions are actually named
40891 something starting with __ and the normal name is an alias. */
40892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40895 char (*f) () = $ac_func;
40904 return f != $ac_func;
40909 rm -f conftest.
$ac_objext conftest
$ac_exeext
40910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40911 (eval $ac_link) 2>conftest.er1
40913 grep -v '^ *+' conftest.er1
>conftest.err
40915 cat conftest.err
>&5
40916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40917 (exit $ac_status); } &&
40918 { ac_try
='test -z "$ac_cxx_werror_flag"
40919 || test ! -s conftest.err'
40920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40921 (eval $ac_try) 2>&5
40923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40924 (exit $ac_status); }; } &&
40925 { ac_try
='test -s conftest$ac_exeext'
40926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40927 (eval $ac_try) 2>&5
40929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40930 (exit $ac_status); }; }; then
40931 eval "$as_ac_var=yes"
40933 echo "$as_me: failed program was:" >&5
40934 sed 's/^/| /' conftest.
$ac_ext >&5
40936 eval "$as_ac_var=no"
40938 rm -f conftest.err conftest.
$ac_objext \
40939 conftest
$ac_exeext conftest.
$ac_ext
40941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40943 if test `eval echo '${'$as_ac_var'}'` = yes; then
40944 cat >>confdefs.h
<<_ACEOF
40945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40947 cat >>confdefs.h
<<\_ACEOF
40948 #define HAVE_DLERROR 1
40953 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40954 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40955 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40956 echo $ECHO_N "(cached) $ECHO_C" >&6
40958 ac_check_lib_save_LIBS
=$LIBS
40960 cat >conftest.
$ac_ext <<_ACEOF
40963 cat confdefs.h
>>conftest.
$ac_ext
40964 cat >>conftest.
$ac_ext <<_ACEOF
40965 /* end confdefs.h. */
40967 /* Override any gcc2 internal prototype to avoid an error. */
40971 /* We use char because int might match the return type of a gcc2
40972 builtin and then its argument prototype would still apply. */
40982 rm -f conftest.
$ac_objext conftest
$ac_exeext
40983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40984 (eval $ac_link) 2>conftest.er1
40986 grep -v '^ *+' conftest.er1
>conftest.err
40988 cat conftest.err
>&5
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); } &&
40991 { ac_try
='test -z "$ac_cxx_werror_flag"
40992 || test ! -s conftest.err'
40993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40994 (eval $ac_try) 2>&5
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); }; } &&
40998 { ac_try
='test -s conftest$ac_exeext'
40999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41000 (eval $ac_try) 2>&5
41002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41003 (exit $ac_status); }; }; then
41004 ac_cv_lib_dl_dlerror
=yes
41006 echo "$as_me: failed program was:" >&5
41007 sed 's/^/| /' conftest.
$ac_ext >&5
41009 ac_cv_lib_dl_dlerror
=no
41011 rm -f conftest.err conftest.
$ac_objext \
41012 conftest
$ac_exeext conftest.
$ac_ext
41013 LIBS
=$ac_check_lib_save_LIBS
41015 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41016 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41017 if test $ac_cv_lib_dl_dlerror = yes; then
41018 cat >>confdefs.h
<<\_ACEOF
41019 #define HAVE_DLERROR 1
41032 if test "$HAVE_DL_FUNCS" = 0; then
41033 if test "$HAVE_SHL_FUNCS" = 0; then
41034 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41035 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41036 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41037 wxUSE_DYNAMIC_LOADER
=no
41038 wxUSE_DYNLIB_CLASS
=no
41040 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41041 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41048 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41049 cat >>confdefs.h
<<\_ACEOF
41050 #define wxUSE_DYNAMIC_LOADER 1
41054 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41055 cat >>confdefs.h
<<\_ACEOF
41056 #define wxUSE_DYNLIB_CLASS 1
41063 if test "$wxUSE_PLUGINS" = "yes" ; then
41064 if test "$wxUSE_SHARED" = "no" ; then
41065 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41066 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41069 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41070 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41071 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41074 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41075 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41076 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41079 if test "$wxUSE_PLUGINS" = "yes" ; then
41080 cat >>confdefs.h
<<\_ACEOF
41081 #define wxUSE_PLUGINS 1
41088 if test "$wxUSE_STL" = "yes"; then
41089 cat >>confdefs.h
<<\_ACEOF
41090 #define wxUSE_STL 1
41095 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41096 cat >>confdefs.h
<<\_ACEOF
41097 #define wxUSE_APPLE_IEEE 1
41102 if test "$wxUSE_TIMER" = "yes"; then
41103 cat >>confdefs.h
<<\_ACEOF
41104 #define wxUSE_TIMER 1
41109 if test "$USE_UNIX" = "1" ; then
41110 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
41111 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
41112 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41113 echo $ECHO_N "(cached) $ECHO_C" >&6
41116 cat >conftest.
$ac_ext <<_ACEOF
41119 cat confdefs.h
>>conftest.
$ac_ext
41120 cat >>conftest.
$ac_ext <<_ACEOF
41121 /* end confdefs.h. */
41123 #include <sys/soundcard.h>
41129 ioctl(0, SNDCTL_DSP_SYNC, 0);
41135 rm -f conftest.
$ac_objext conftest
$ac_exeext
41136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41137 (eval $ac_link) 2>conftest.er1
41139 grep -v '^ *+' conftest.er1
>conftest.err
41141 cat conftest.err
>&5
41142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41143 (exit $ac_status); } &&
41144 { ac_try
='test -z "$ac_cxx_werror_flag"
41145 || test ! -s conftest.err'
41146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41147 (eval $ac_try) 2>&5
41149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41150 (exit $ac_status); }; } &&
41151 { ac_try
='test -s conftest$ac_exeext'
41152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41153 (eval $ac_try) 2>&5
41155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41156 (exit $ac_status); }; }; then
41157 ac_cv_header_sys_soundcard
=yes
41159 echo "$as_me: failed program was:" >&5
41160 sed 's/^/| /' conftest.
$ac_ext >&5
41164 LIBS
="$saveLibs -lossaudio"
41165 cat >conftest.
$ac_ext <<_ACEOF
41168 cat confdefs.h
>>conftest.
$ac_ext
41169 cat >>conftest.
$ac_ext <<_ACEOF
41170 /* end confdefs.h. */
41172 #include <sys/soundcard.h>
41178 ioctl(0, SNDCTL_DSP_SYNC, 0);
41184 rm -f conftest.
$ac_objext conftest
$ac_exeext
41185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41186 (eval $ac_link) 2>conftest.er1
41188 grep -v '^ *+' conftest.er1
>conftest.err
41190 cat conftest.err
>&5
41191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41192 (exit $ac_status); } &&
41193 { ac_try
='test -z "$ac_cxx_werror_flag"
41194 || test ! -s conftest.err'
41195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41196 (eval $ac_try) 2>&5
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); }; } &&
41200 { ac_try
='test -s conftest$ac_exeext'
41201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41202 (eval $ac_try) 2>&5
41204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41205 (exit $ac_status); }; }; then
41206 ac_cv_header_sys_soundcard
=yes
41208 echo "$as_me: failed program was:" >&5
41209 sed 's/^/| /' conftest.
$ac_ext >&5
41213 ac_cv_header_sys_soundcard
=no
41217 rm -f conftest.err conftest.
$ac_objext \
41218 conftest
$ac_exeext conftest.
$ac_ext
41222 rm -f conftest.err conftest.
$ac_objext \
41223 conftest
$ac_exeext conftest.
$ac_ext
41226 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41227 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
41229 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41230 cat >>confdefs.h
<<\_ACEOF
41231 #define HAVE_SYS_SOUNDCARD_H 1
41235 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
41239 if test "$wxUSE_SOUND" = "yes"; then
41240 if test "$USE_UNIX" = "1" ; then
41241 if test "$wxUSE_LIBSDL" != "no"; then
41243 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
41244 if test "${with_sdl_prefix+set}" = set; then
41245 withval
="$with_sdl_prefix"
41246 sdl_prefix
="$withval"
41251 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
41252 if test "${with_sdl_exec_prefix+set}" = set; then
41253 withval
="$with_sdl_exec_prefix"
41254 sdl_exec_prefix
="$withval"
41258 # Check whether --enable-sdltest or --disable-sdltest was given.
41259 if test "${enable_sdltest+set}" = set; then
41260 enableval
="$enable_sdltest"
41266 if test x
$sdl_exec_prefix != x
; then
41267 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41268 if test x
${SDL_CONFIG+set} != xset
; then
41269 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41272 if test x
$sdl_prefix != x
; then
41273 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41274 if test x
${SDL_CONFIG+set} != xset
; then
41275 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41280 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41281 # Extract the first word of "sdl-config", so it can be a program name with args.
41282 set dummy sdl
-config; ac_word
=$2
41283 echo "$as_me:$LINENO: checking for $ac_word" >&5
41284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41285 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41286 echo $ECHO_N "(cached) $ECHO_C" >&6
41288 case $SDL_CONFIG in
41290 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41294 for as_dir
in $PATH
41297 test -z "$as_dir" && as_dir
=.
41298 for ac_exec_ext
in '' $ac_executable_extensions; do
41299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41300 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41307 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41311 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41313 if test -n "$SDL_CONFIG"; then
41314 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41315 echo "${ECHO_T}$SDL_CONFIG" >&6
41317 echo "$as_me:$LINENO: result: no" >&5
41318 echo "${ECHO_T}no" >&6
41321 min_sdl_version
=1.2.0
41322 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41323 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
41325 if test "$SDL_CONFIG" = "no" ; then
41328 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41329 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41331 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41332 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41333 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41334 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41335 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41336 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41337 if test "x$enable_sdltest" = "xyes" ; then
41338 ac_save_CFLAGS
="$CFLAGS"
41339 ac_save_CXXFLAGS
="$CXXFLAGS"
41340 ac_save_LIBS
="$LIBS"
41341 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41342 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41343 LIBS
="$LIBS $SDL_LIBS"
41345 if test "$cross_compiling" = yes; then
41346 echo $ac_n "cross compiling; assumed OK... $ac_c"
41348 cat >conftest.
$ac_ext <<_ACEOF
41351 cat confdefs.h
>>conftest.
$ac_ext
41352 cat >>conftest.
$ac_ext <<_ACEOF
41353 /* end confdefs.h. */
41356 #include <stdlib.h>
41357 #include <string.h>
41361 my_strdup (char *str)
41367 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41368 strcpy (new_str, str);
41376 int main (int argc, char *argv[])
41378 int major, minor, micro;
41381 /* This hangs on some systems (?)
41382 system ("touch conf.sdltest");
41384 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41386 /* HP/UX 9 (%@#!) writes to sscanf strings */
41387 tmp_version = my_strdup("$min_sdl_version");
41388 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41389 printf("%s, bad version string\n", "$min_sdl_version");
41393 if (($sdl_major_version > major) ||
41394 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41395 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41401 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41402 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41403 printf("*** best to upgrade to the required version.\n");
41404 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41405 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41406 printf("*** config.cache before re-running configure\n");
41413 rm -f conftest
$ac_exeext
41414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41415 (eval $ac_link) 2>&5
41417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41418 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41420 (eval $ac_try) 2>&5
41422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423 (exit $ac_status); }; }; then
41426 echo "$as_me: program exited with status $ac_status" >&5
41427 echo "$as_me: failed program was:" >&5
41428 sed 's/^/| /' conftest.
$ac_ext >&5
41430 ( exit $ac_status )
41433 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41435 CFLAGS
="$ac_save_CFLAGS"
41436 CXXFLAGS
="$ac_save_CXXFLAGS"
41437 LIBS
="$ac_save_LIBS"
41440 if test "x$no_sdl" = x
; then
41441 echo "$as_me:$LINENO: result: yes" >&5
41442 echo "${ECHO_T}yes" >&6
41444 EXTRALIBS_SDL
="$SDL_LIBS"
41445 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41446 cat >>confdefs.h
<<\_ACEOF
41447 #define wxUSE_LIBSDL 1
41452 echo "$as_me:$LINENO: result: no" >&5
41453 echo "${ECHO_T}no" >&6
41454 if test "$SDL_CONFIG" = "no" ; then
41455 echo "*** The sdl-config script installed by SDL could not be found"
41456 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41457 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41458 echo "*** full path to sdl-config."
41460 if test -f conf.sdltest
; then
41463 echo "*** Could not run SDL test program, checking why..."
41464 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41465 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41466 LIBS
="$LIBS $SDL_LIBS"
41467 cat >conftest.
$ac_ext <<_ACEOF
41470 cat confdefs.h
>>conftest.
$ac_ext
41471 cat >>conftest.
$ac_ext <<_ACEOF
41472 /* end confdefs.h. */
41477 int main(int argc, char *argv[])
41480 #define main K_and_R_C_main
41490 rm -f conftest.
$ac_objext conftest
$ac_exeext
41491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41492 (eval $ac_link) 2>conftest.er1
41494 grep -v '^ *+' conftest.er1
>conftest.err
41496 cat conftest.err
>&5
41497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41498 (exit $ac_status); } &&
41499 { ac_try
='test -z "$ac_cxx_werror_flag"
41500 || test ! -s conftest.err'
41501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41502 (eval $ac_try) 2>&5
41504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41505 (exit $ac_status); }; } &&
41506 { ac_try
='test -s conftest$ac_exeext'
41507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41508 (eval $ac_try) 2>&5
41510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41511 (exit $ac_status); }; }; then
41512 echo "*** The test program compiled, but did not run. This usually means"
41513 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41514 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41515 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41516 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41517 echo "*** is required on your system"
41519 echo "*** If you have an old version installed, it is best to remove it, although"
41520 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41522 echo "$as_me: failed program was:" >&5
41523 sed 's/^/| /' conftest.
$ac_ext >&5
41525 echo "*** The test program failed to compile or link. See the file config.log for the"
41526 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41527 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41528 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41530 rm -f conftest.err conftest.
$ac_objext \
41531 conftest
$ac_exeext conftest.
$ac_ext
41532 CFLAGS
="$ac_save_CFLAGS"
41533 CXXFLAGS
="$ac_save_CXXFLAGS"
41534 LIBS
="$ac_save_LIBS"
41545 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41551 cat >>confdefs.h
<<\_ACEOF
41552 #define wxUSE_SOUND 1
41555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41558 if test "$WXGTK20" = 1; then
41559 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41560 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41565 if test -z "$PKG_CONFIG"; then
41566 # Extract the first word of "pkg-config", so it can be a program name with args.
41567 set dummy pkg
-config; ac_word
=$2
41568 echo "$as_me:$LINENO: checking for $ac_word" >&5
41569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41570 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41571 echo $ECHO_N "(cached) $ECHO_C" >&6
41573 case $PKG_CONFIG in
41575 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41579 for as_dir
in $PATH
41582 test -z "$as_dir" && as_dir
=.
41583 for ac_exec_ext
in '' $ac_executable_extensions; do
41584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41585 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41592 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41596 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41598 if test -n "$PKG_CONFIG"; then
41599 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41600 echo "${ECHO_T}$PKG_CONFIG" >&6
41602 echo "$as_me:$LINENO: result: no" >&5
41603 echo "${ECHO_T}no" >&6
41608 if test "$PKG_CONFIG" = "no" ; then
41609 echo "*** The pkg-config script could not be found. Make sure it is"
41610 echo "*** in your path, or set the PKG_CONFIG environment variable"
41611 echo "*** to the full path to pkg-config."
41612 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41614 PKG_CONFIG_MIN_VERSION
=0.9.0
41615 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41616 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
41617 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
41619 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
41620 echo "$as_me:$LINENO: result: yes" >&5
41621 echo "${ECHO_T}yes" >&6
41624 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
41625 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
41626 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
41627 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
41628 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
41630 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
41631 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
41632 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
41633 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
41634 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
41636 LIBGNOMEPRINTUI_CFLAGS
=""
41637 LIBGNOMEPRINTUI_LIBS
=""
41638 ## If we have a custom action on failure, don't print errors, but
41639 ## do set a variable so people can do so.
41640 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41647 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41648 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41652 if test $succeeded = yes; then
41654 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41655 cat >>confdefs.h
<<\_ACEOF
41656 #define wxUSE_LIBGNOMEPRINT 1
41662 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41663 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41664 wxUSE_LIBGNOMEPRINT
="no"
41673 if test "$WXGTK20" = 1; then
41674 if test "$wxUSE_MIMETYPE" = "yes" ; then
41675 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41680 if test -z "$PKG_CONFIG"; then
41681 # Extract the first word of "pkg-config", so it can be a program name with args.
41682 set dummy pkg
-config; ac_word
=$2
41683 echo "$as_me:$LINENO: checking for $ac_word" >&5
41684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41685 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41686 echo $ECHO_N "(cached) $ECHO_C" >&6
41688 case $PKG_CONFIG in
41690 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41694 for as_dir
in $PATH
41697 test -z "$as_dir" && as_dir
=.
41698 for ac_exec_ext
in '' $ac_executable_extensions; do
41699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41700 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41707 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41711 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41713 if test -n "$PKG_CONFIG"; then
41714 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41715 echo "${ECHO_T}$PKG_CONFIG" >&6
41717 echo "$as_me:$LINENO: result: no" >&5
41718 echo "${ECHO_T}no" >&6
41723 if test "$PKG_CONFIG" = "no" ; then
41724 echo "*** The pkg-config script could not be found. Make sure it is"
41725 echo "*** in your path, or set the PKG_CONFIG environment variable"
41726 echo "*** to the full path to pkg-config."
41727 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41729 PKG_CONFIG_MIN_VERSION
=0.9.0
41730 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41731 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
41732 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
41734 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
41735 echo "$as_me:$LINENO: result: yes" >&5
41736 echo "${ECHO_T}yes" >&6
41739 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
41740 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
41741 GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
41742 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
41743 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
41745 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
41746 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
41747 GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
41748 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
41749 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
41753 ## If we have a custom action on failure, don't print errors, but
41754 ## do set a variable so people can do so.
41755 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41762 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41763 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41767 if test $succeeded = yes; then
41769 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41770 cat >>confdefs.h
<<\_ACEOF
41771 #define wxUSE_LIBGNOMEVFS 1
41777 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41778 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41779 wxUSE_LIBGNOMEVFS
="no"
41788 if test "$WXGTK20" = 1; then
41789 if test "$wxUSE_LIBHILDON" = "yes" ; then
41793 if test -z "$PKG_CONFIG"; then
41794 # Extract the first word of "pkg-config", so it can be a program name with args.
41795 set dummy pkg
-config; ac_word
=$2
41796 echo "$as_me:$LINENO: checking for $ac_word" >&5
41797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41798 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41799 echo $ECHO_N "(cached) $ECHO_C" >&6
41801 case $PKG_CONFIG in
41803 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41807 for as_dir
in $PATH
41810 test -z "$as_dir" && as_dir
=.
41811 for ac_exec_ext
in '' $ac_executable_extensions; do
41812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41813 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41820 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41824 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41826 if test -n "$PKG_CONFIG"; then
41827 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41828 echo "${ECHO_T}$PKG_CONFIG" >&6
41830 echo "$as_me:$LINENO: result: no" >&5
41831 echo "${ECHO_T}no" >&6
41836 if test "$PKG_CONFIG" = "no" ; then
41837 echo "*** The pkg-config script could not be found. Make sure it is"
41838 echo "*** in your path, or set the PKG_CONFIG environment variable"
41839 echo "*** to the full path to pkg-config."
41840 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41842 PKG_CONFIG_MIN_VERSION
=0.9.0
41843 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41844 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41845 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41847 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41848 echo "$as_me:$LINENO: result: yes" >&5
41849 echo "${ECHO_T}yes" >&6
41852 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41853 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41854 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41855 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41856 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41858 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41859 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41860 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41861 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41862 echo "${ECHO_T}$HILDON_LIBS" >&6
41866 ## If we have a custom action on failure, don't print errors, but
41867 ## do set a variable so people can do so.
41868 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41875 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41876 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41880 if test $succeeded = yes; then
41882 EXTRALIBS_HILDON
="$HILDON_LIBS"
41883 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41884 cat >>confdefs.h
<<\_ACEOF
41885 #define wxUSE_LIBHILDON 1
41891 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41892 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41893 wxUSE_LIBHILDON
="no"
41901 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41902 cat >>confdefs.h
<<\_ACEOF
41903 #define wxUSE_CMDLINE_PARSER 1
41908 if test "$wxUSE_STOPWATCH" = "yes"; then
41909 cat >>confdefs.h
<<\_ACEOF
41910 #define wxUSE_STOPWATCH 1
41915 if test "$wxUSE_DATETIME" = "yes"; then
41916 cat >>confdefs.h
<<\_ACEOF
41917 #define wxUSE_DATETIME 1
41922 if test "$wxUSE_FILE" = "yes"; then
41923 cat >>confdefs.h
<<\_ACEOF
41924 #define wxUSE_FILE 1
41929 if test "$wxUSE_FFILE" = "yes"; then
41930 cat >>confdefs.h
<<\_ACEOF
41931 #define wxUSE_FFILE 1
41936 if test "$wxUSE_FILESYSTEM" = "yes"; then
41937 cat >>confdefs.h
<<\_ACEOF
41938 #define wxUSE_FILESYSTEM 1
41943 if test "$wxUSE_FS_ZIP" = "yes"; then
41944 cat >>confdefs.h
<<\_ACEOF
41945 #define wxUSE_FS_ZIP 1
41950 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41951 cat >>confdefs.h
<<\_ACEOF
41952 #define wxUSE_ARCHIVE_STREAMS 1
41957 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41958 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41959 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41960 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41961 elif test "$wxUSE_ZLIB" = "no"; then
41962 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41963 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41965 cat >>confdefs.h
<<\_ACEOF
41966 #define wxUSE_ZIPSTREAM 1
41972 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41973 if test "$USE_UNIX" != 1; then
41974 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41975 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41976 wxUSE_ON_FATAL_EXCEPTION
=no
41978 cat >>confdefs.h
<<\_ACEOF
41979 #define wxUSE_ON_FATAL_EXCEPTION 1
41985 if test "$wxUSE_STACKWALKER" = "yes"; then
41986 cat >>confdefs.h
<<\_ACEOF
41987 #define wxUSE_STACKWALKER 1
41992 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41993 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41994 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41995 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41996 wxUSE_DEBUGREPORT
=no
41998 cat >>confdefs.h
<<\_ACEOF
41999 #define wxUSE_DEBUGREPORT 1
42002 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
42008 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42009 cat >>confdefs.h
<<\_ACEOF
42010 #define wxUSE_SNGLINST_CHECKER 1
42015 if test "$wxUSE_BUSYINFO" = "yes"; then
42016 cat >>confdefs.h
<<\_ACEOF
42017 #define wxUSE_BUSYINFO 1
42022 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42023 cat >>confdefs.h
<<\_ACEOF
42024 #define wxUSE_STD_IOSTREAM 1
42029 if test "$wxUSE_STD_STRING" = "yes"; then
42030 cat >>confdefs.h
<<\_ACEOF
42031 #define wxUSE_STD_STRING 1
42036 if test "$wxUSE_STDPATHS" = "yes"; then
42037 cat >>confdefs.h
<<\_ACEOF
42038 #define wxUSE_STDPATHS 1
42043 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42044 cat >>confdefs.h
<<\_ACEOF
42045 #define wxUSE_TEXTBUFFER 1
42050 if test "$wxUSE_TEXTFILE" = "yes"; then
42051 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42052 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42053 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42055 cat >>confdefs.h
<<\_ACEOF
42056 #define wxUSE_TEXTFILE 1
42062 if test "$wxUSE_CONFIG" = "yes" ; then
42063 if test "$wxUSE_TEXTFILE" != "yes"; then
42064 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42065 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42067 cat >>confdefs.h
<<\_ACEOF
42068 #define wxUSE_CONFIG 1
42071 cat >>confdefs.h
<<\_ACEOF
42072 #define wxUSE_CONFIG_NATIVE 1
42075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42079 if test "$wxUSE_INTL" = "yes" ; then
42080 if test "$wxUSE_FILE" != "yes"; then
42081 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42082 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42084 cat >>confdefs.h
<<\_ACEOF
42085 #define wxUSE_INTL 1
42088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42089 GUIDIST
="$GUIDIST INTL_DIST"
42093 if test "$wxUSE_LOG" = "yes"; then
42094 cat >>confdefs.h
<<\_ACEOF
42095 #define wxUSE_LOG 1
42099 if test "$wxUSE_LOGGUI" = "yes"; then
42100 cat >>confdefs.h
<<\_ACEOF
42101 #define wxUSE_LOGGUI 1
42106 if test "$wxUSE_LOGWINDOW" = "yes"; then
42107 cat >>confdefs.h
<<\_ACEOF
42108 #define wxUSE_LOGWINDOW 1
42113 if test "$wxUSE_LOGDIALOG" = "yes"; then
42114 cat >>confdefs.h
<<\_ACEOF
42115 #define wxUSE_LOG_DIALOG 1
42120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42123 if test "$wxUSE_LONGLONG" = "yes"; then
42124 cat >>confdefs.h
<<\_ACEOF
42125 #define wxUSE_LONGLONG 1
42130 if test "$wxUSE_GEOMETRY" = "yes"; then
42131 cat >>confdefs.h
<<\_ACEOF
42132 #define wxUSE_GEOMETRY 1
42137 if test "$wxUSE_STREAMS" = "yes" ; then
42138 cat >>confdefs.h
<<\_ACEOF
42139 #define wxUSE_STREAMS 1
42145 if test "$wxUSE_DATETIME" = "yes"; then
42147 for ac_func
in strptime
42149 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42150 echo "$as_me:$LINENO: checking for $ac_func" >&5
42151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42152 if eval "test \"\${$as_ac_var+set}\" = set"; then
42153 echo $ECHO_N "(cached) $ECHO_C" >&6
42155 cat >conftest.
$ac_ext <<_ACEOF
42158 cat confdefs.h
>>conftest.
$ac_ext
42159 cat >>conftest.
$ac_ext <<_ACEOF
42160 /* end confdefs.h. */
42161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42163 #define $ac_func innocuous_$ac_func
42165 /* System header to define __stub macros and hopefully few prototypes,
42166 which can conflict with char $ac_func (); below.
42167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42168 <limits.h> exists even on freestanding compilers. */
42171 # include <limits.h>
42173 # include <assert.h>
42178 /* Override any gcc2 internal prototype to avoid an error. */
42183 /* We use char because int might match the return type of a gcc2
42184 builtin and then its argument prototype would still apply. */
42186 /* The GNU C library defines this for functions which it implements
42187 to always fail with ENOSYS. Some functions are actually named
42188 something starting with __ and the normal name is an alias. */
42189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42192 char (*f) () = $ac_func;
42201 return f != $ac_func;
42206 rm -f conftest.
$ac_objext conftest
$ac_exeext
42207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42208 (eval $ac_link) 2>conftest.er1
42210 grep -v '^ *+' conftest.er1
>conftest.err
42212 cat conftest.err
>&5
42213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42214 (exit $ac_status); } &&
42215 { ac_try
='test -z "$ac_cxx_werror_flag"
42216 || test ! -s conftest.err'
42217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42218 (eval $ac_try) 2>&5
42220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42221 (exit $ac_status); }; } &&
42222 { ac_try
='test -s conftest$ac_exeext'
42223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42224 (eval $ac_try) 2>&5
42226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 (exit $ac_status); }; }; then
42228 eval "$as_ac_var=yes"
42230 echo "$as_me: failed program was:" >&5
42231 sed 's/^/| /' conftest.
$ac_ext >&5
42233 eval "$as_ac_var=no"
42235 rm -f conftest.err conftest.
$ac_objext \
42236 conftest
$ac_exeext conftest.
$ac_ext
42238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42240 if test `eval echo '${'$as_ac_var'}'` = yes; then
42241 cat >>confdefs.h
<<_ACEOF
42242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42248 if test "$ac_cv_func_strptime" = "yes"; then
42249 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42250 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42251 if test "${wx_cv_func_strptime_decl+set}" = set; then
42252 echo $ECHO_N "(cached) $ECHO_C" >&6
42255 cat >conftest.
$ac_ext <<_ACEOF
42258 cat confdefs.h
>>conftest.
$ac_ext
42259 cat >>conftest.
$ac_ext <<_ACEOF
42260 /* end confdefs.h. */
42269 strptime("foo", "bar", &t);
42275 rm -f conftest.
$ac_objext
42276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42277 (eval $ac_compile) 2>conftest.er1
42279 grep -v '^ *+' conftest.er1
>conftest.err
42281 cat conftest.err
>&5
42282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42283 (exit $ac_status); } &&
42284 { ac_try
='test -z "$ac_cxx_werror_flag"
42285 || test ! -s conftest.err'
42286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42287 (eval $ac_try) 2>&5
42289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42290 (exit $ac_status); }; } &&
42291 { ac_try
='test -s conftest.$ac_objext'
42292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42293 (eval $ac_try) 2>&5
42295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42296 (exit $ac_status); }; }; then
42297 wx_cv_func_strptime_decl
=yes
42299 echo "$as_me: failed program was:" >&5
42300 sed 's/^/| /' conftest.
$ac_ext >&5
42302 wx_cv_func_strptime_decl
=no
42305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42309 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42310 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42312 if test "$wx_cv_func_strptime_decl" = "yes"; then
42313 cat >>confdefs.h
<<\_ACEOF
42314 #define HAVE_STRPTIME_DECL 1
42319 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42320 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42321 if test "${wx_cv_var_timezone+set}" = set; then
42322 echo $ECHO_N "(cached) $ECHO_C" >&6
42325 cat >conftest.
$ac_ext <<_ACEOF
42328 cat confdefs.h
>>conftest.
$ac_ext
42329 cat >>conftest.
$ac_ext <<_ACEOF
42330 /* end confdefs.h. */
42345 rm -f conftest.
$ac_objext
42346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42347 (eval $ac_compile) 2>conftest.er1
42349 grep -v '^ *+' conftest.er1
>conftest.err
42351 cat conftest.err
>&5
42352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42353 (exit $ac_status); } &&
42354 { ac_try
='test -z "$ac_cxx_werror_flag"
42355 || test ! -s conftest.err'
42356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42357 (eval $ac_try) 2>&5
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); }; } &&
42361 { ac_try
='test -s conftest.$ac_objext'
42362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42363 (eval $ac_try) 2>&5
42365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42366 (exit $ac_status); }; }; then
42368 wx_cv_var_timezone
=timezone
42371 echo "$as_me: failed program was:" >&5
42372 sed 's/^/| /' conftest.
$ac_ext >&5
42375 cat >conftest.
$ac_ext <<_ACEOF
42378 cat confdefs.h
>>conftest.
$ac_ext
42379 cat >>conftest.
$ac_ext <<_ACEOF
42380 /* end confdefs.h. */
42395 rm -f conftest.
$ac_objext
42396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42397 (eval $ac_compile) 2>conftest.er1
42399 grep -v '^ *+' conftest.er1
>conftest.err
42401 cat conftest.err
>&5
42402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42403 (exit $ac_status); } &&
42404 { ac_try
='test -z "$ac_cxx_werror_flag"
42405 || test ! -s conftest.err'
42406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42407 (eval $ac_try) 2>&5
42409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42410 (exit $ac_status); }; } &&
42411 { ac_try
='test -s conftest.$ac_objext'
42412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42413 (eval $ac_try) 2>&5
42415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416 (exit $ac_status); }; }; then
42418 wx_cv_var_timezone
=_timezone
42421 echo "$as_me: failed program was:" >&5
42422 sed 's/^/| /' conftest.
$ac_ext >&5
42425 cat >conftest.
$ac_ext <<_ACEOF
42428 cat confdefs.h
>>conftest.
$ac_ext
42429 cat >>conftest.
$ac_ext <<_ACEOF
42430 /* end confdefs.h. */
42445 rm -f conftest.
$ac_objext
42446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42447 (eval $ac_compile) 2>conftest.er1
42449 grep -v '^ *+' conftest.er1
>conftest.err
42451 cat conftest.err
>&5
42452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42453 (exit $ac_status); } &&
42454 { ac_try
='test -z "$ac_cxx_werror_flag"
42455 || test ! -s conftest.err'
42456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42457 (eval $ac_try) 2>&5
42459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42460 (exit $ac_status); }; } &&
42461 { ac_try
='test -s conftest.$ac_objext'
42462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42463 (eval $ac_try) 2>&5
42465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42466 (exit $ac_status); }; }; then
42468 wx_cv_var_timezone
=__timezone
42471 echo "$as_me: failed program was:" >&5
42472 sed 's/^/| /' conftest.
$ac_ext >&5
42475 if test "$USE_DOS" = 0 ; then
42476 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42477 echo "$as_me: WARNING: no timezone variable" >&2;}
42482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42494 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42495 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42497 if test "x$wx_cv_var_timezone" != x
; then
42498 cat >>confdefs.h
<<_ACEOF
42499 #define WX_TIMEZONE $wx_cv_var_timezone
42505 for ac_func
in localtime
42507 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42508 echo "$as_me:$LINENO: checking for $ac_func" >&5
42509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42510 if eval "test \"\${$as_ac_var+set}\" = set"; then
42511 echo $ECHO_N "(cached) $ECHO_C" >&6
42513 cat >conftest.
$ac_ext <<_ACEOF
42516 cat confdefs.h
>>conftest.
$ac_ext
42517 cat >>conftest.
$ac_ext <<_ACEOF
42518 /* end confdefs.h. */
42519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42521 #define $ac_func innocuous_$ac_func
42523 /* System header to define __stub macros and hopefully few prototypes,
42524 which can conflict with char $ac_func (); below.
42525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42526 <limits.h> exists even on freestanding compilers. */
42529 # include <limits.h>
42531 # include <assert.h>
42536 /* Override any gcc2 internal prototype to avoid an error. */
42541 /* We use char because int might match the return type of a gcc2
42542 builtin and then its argument prototype would still apply. */
42544 /* The GNU C library defines this for functions which it implements
42545 to always fail with ENOSYS. Some functions are actually named
42546 something starting with __ and the normal name is an alias. */
42547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42550 char (*f) () = $ac_func;
42559 return f != $ac_func;
42564 rm -f conftest.
$ac_objext conftest
$ac_exeext
42565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42566 (eval $ac_link) 2>conftest.er1
42568 grep -v '^ *+' conftest.er1
>conftest.err
42570 cat conftest.err
>&5
42571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42572 (exit $ac_status); } &&
42573 { ac_try
='test -z "$ac_cxx_werror_flag"
42574 || test ! -s conftest.err'
42575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42576 (eval $ac_try) 2>&5
42578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42579 (exit $ac_status); }; } &&
42580 { ac_try
='test -s conftest$ac_exeext'
42581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42582 (eval $ac_try) 2>&5
42584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42585 (exit $ac_status); }; }; then
42586 eval "$as_ac_var=yes"
42588 echo "$as_me: failed program was:" >&5
42589 sed 's/^/| /' conftest.
$ac_ext >&5
42591 eval "$as_ac_var=no"
42593 rm -f conftest.err conftest.
$ac_objext \
42594 conftest
$ac_exeext conftest.
$ac_ext
42596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42598 if test `eval echo '${'$as_ac_var'}'` = yes; then
42599 cat >>confdefs.h
<<_ACEOF
42600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42607 if test "$ac_cv_func_localtime" = "yes"; then
42608 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42609 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42610 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42611 echo $ECHO_N "(cached) $ECHO_C" >&6
42614 cat >conftest.
$ac_ext <<_ACEOF
42617 cat confdefs.h
>>conftest.
$ac_ext
42618 cat >>conftest.
$ac_ext <<_ACEOF
42619 /* end confdefs.h. */
42634 rm -f conftest.
$ac_objext
42635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42636 (eval $ac_compile) 2>conftest.er1
42638 grep -v '^ *+' conftest.er1
>conftest.err
42640 cat conftest.err
>&5
42641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42642 (exit $ac_status); } &&
42643 { ac_try
='test -z "$ac_cxx_werror_flag"
42644 || test ! -s conftest.err'
42645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42646 (eval $ac_try) 2>&5
42648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649 (exit $ac_status); }; } &&
42650 { ac_try
='test -s conftest.$ac_objext'
42651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42652 (eval $ac_try) 2>&5
42654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42655 (exit $ac_status); }; }; then
42657 wx_cv_struct_tm_has_gmtoff
=yes
42660 echo "$as_me: failed program was:" >&5
42661 sed 's/^/| /' conftest.
$ac_ext >&5
42663 wx_cv_struct_tm_has_gmtoff
=no
42666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42669 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42670 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42673 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42674 cat >>confdefs.h
<<\_ACEOF
42675 #define WX_GMTOFF_IN_TM 1
42682 for ac_func
in gettimeofday ftime
42684 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42685 echo "$as_me:$LINENO: checking for $ac_func" >&5
42686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42687 if eval "test \"\${$as_ac_var+set}\" = set"; then
42688 echo $ECHO_N "(cached) $ECHO_C" >&6
42690 cat >conftest.
$ac_ext <<_ACEOF
42693 cat confdefs.h
>>conftest.
$ac_ext
42694 cat >>conftest.
$ac_ext <<_ACEOF
42695 /* end confdefs.h. */
42696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42698 #define $ac_func innocuous_$ac_func
42700 /* System header to define __stub macros and hopefully few prototypes,
42701 which can conflict with char $ac_func (); below.
42702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42703 <limits.h> exists even on freestanding compilers. */
42706 # include <limits.h>
42708 # include <assert.h>
42713 /* Override any gcc2 internal prototype to avoid an error. */
42718 /* We use char because int might match the return type of a gcc2
42719 builtin and then its argument prototype would still apply. */
42721 /* The GNU C library defines this for functions which it implements
42722 to always fail with ENOSYS. Some functions are actually named
42723 something starting with __ and the normal name is an alias. */
42724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42727 char (*f) () = $ac_func;
42736 return f != $ac_func;
42741 rm -f conftest.
$ac_objext conftest
$ac_exeext
42742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42743 (eval $ac_link) 2>conftest.er1
42745 grep -v '^ *+' conftest.er1
>conftest.err
42747 cat conftest.err
>&5
42748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42749 (exit $ac_status); } &&
42750 { ac_try
='test -z "$ac_cxx_werror_flag"
42751 || 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_exeext'
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
42763 eval "$as_ac_var=yes"
42765 echo "$as_me: failed program was:" >&5
42766 sed 's/^/| /' conftest.
$ac_ext >&5
42768 eval "$as_ac_var=no"
42770 rm -f conftest.err conftest.
$ac_objext \
42771 conftest
$ac_exeext conftest.
$ac_ext
42773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42775 if test `eval echo '${'$as_ac_var'}'` = yes; then
42776 cat >>confdefs.h
<<_ACEOF
42777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42784 if test "$ac_cv_func_gettimeofday" = "yes"; then
42785 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42786 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42787 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42788 echo $ECHO_N "(cached) $ECHO_C" >&6
42791 cat >conftest.
$ac_ext <<_ACEOF
42794 cat confdefs.h
>>conftest.
$ac_ext
42795 cat >>conftest.
$ac_ext <<_ACEOF
42796 /* end confdefs.h. */
42798 #include <sys/time.h>
42799 #include <unistd.h>
42806 gettimeofday(&tv, NULL);
42812 rm -f conftest.
$ac_objext
42813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42814 (eval $ac_compile) 2>conftest.er1
42816 grep -v '^ *+' conftest.er1
>conftest.err
42818 cat conftest.err
>&5
42819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42820 (exit $ac_status); } &&
42821 { ac_try
='test -z "$ac_cxx_werror_flag"
42822 || test ! -s conftest.err'
42823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42824 (eval $ac_try) 2>&5
42826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42827 (exit $ac_status); }; } &&
42828 { ac_try
='test -s conftest.$ac_objext'
42829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42830 (eval $ac_try) 2>&5
42832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42833 (exit $ac_status); }; }; then
42834 wx_cv_func_gettimeofday_has_2_args
=yes
42836 echo "$as_me: failed program was:" >&5
42837 sed 's/^/| /' conftest.
$ac_ext >&5
42839 cat >conftest.
$ac_ext <<_ACEOF
42842 cat confdefs.h
>>conftest.
$ac_ext
42843 cat >>conftest.
$ac_ext <<_ACEOF
42844 /* end confdefs.h. */
42846 #include <sys/time.h>
42847 #include <unistd.h>
42860 rm -f conftest.
$ac_objext
42861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42862 (eval $ac_compile) 2>conftest.er1
42864 grep -v '^ *+' conftest.er1
>conftest.err
42866 cat conftest.err
>&5
42867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42868 (exit $ac_status); } &&
42869 { ac_try
='test -z "$ac_cxx_werror_flag"
42870 || test ! -s conftest.err'
42871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42872 (eval $ac_try) 2>&5
42874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42875 (exit $ac_status); }; } &&
42876 { ac_try
='test -s conftest.$ac_objext'
42877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42878 (eval $ac_try) 2>&5
42880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42881 (exit $ac_status); }; }; then
42882 wx_cv_func_gettimeofday_has_2_args
=no
42884 echo "$as_me: failed program was:" >&5
42885 sed 's/^/| /' conftest.
$ac_ext >&5
42888 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42889 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42890 wx_cv_func_gettimeofday_has_2_args
=unknown
42894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42900 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42901 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42903 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42904 cat >>confdefs.h
<<\_ACEOF
42905 #define WX_GETTIMEOFDAY_NO_TZ 1
42911 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42915 if test "$wxUSE_SOCKETS" = "yes"; then
42916 if test "$wxUSE_MGL" = "1"; then
42917 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42918 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42923 if test "$wxUSE_SOCKETS" = "yes"; then
42924 if test "$TOOLKIT" != "MSW"; then
42925 echo "$as_me:$LINENO: checking for socket" >&5
42926 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42927 if test "${ac_cv_func_socket+set}" = set; then
42928 echo $ECHO_N "(cached) $ECHO_C" >&6
42930 cat >conftest.
$ac_ext <<_ACEOF
42933 cat confdefs.h
>>conftest.
$ac_ext
42934 cat >>conftest.
$ac_ext <<_ACEOF
42935 /* end confdefs.h. */
42936 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42938 #define socket innocuous_socket
42940 /* System header to define __stub macros and hopefully few prototypes,
42941 which can conflict with char socket (); below.
42942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42943 <limits.h> exists even on freestanding compilers. */
42946 # include <limits.h>
42948 # include <assert.h>
42953 /* Override any gcc2 internal prototype to avoid an error. */
42958 /* We use char because int might match the return type of a gcc2
42959 builtin and then its argument prototype would still apply. */
42961 /* The GNU C library defines this for functions which it implements
42962 to always fail with ENOSYS. Some functions are actually named
42963 something starting with __ and the normal name is an alias. */
42964 #if defined (__stub_socket) || defined (__stub___socket)
42967 char (*f) () = socket;
42976 return f != socket;
42981 rm -f conftest.
$ac_objext conftest
$ac_exeext
42982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42983 (eval $ac_link) 2>conftest.er1
42985 grep -v '^ *+' conftest.er1
>conftest.err
42987 cat conftest.err
>&5
42988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42989 (exit $ac_status); } &&
42990 { ac_try
='test -z "$ac_cxx_werror_flag"
42991 || test ! -s conftest.err'
42992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42993 (eval $ac_try) 2>&5
42995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42996 (exit $ac_status); }; } &&
42997 { ac_try
='test -s conftest$ac_exeext'
42998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42999 (eval $ac_try) 2>&5
43001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43002 (exit $ac_status); }; }; then
43003 ac_cv_func_socket
=yes
43005 echo "$as_me: failed program was:" >&5
43006 sed 's/^/| /' conftest.
$ac_ext >&5
43008 ac_cv_func_socket
=no
43010 rm -f conftest.err conftest.
$ac_objext \
43011 conftest
$ac_exeext conftest.
$ac_ext
43013 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43014 echo "${ECHO_T}$ac_cv_func_socket" >&6
43015 if test $ac_cv_func_socket = yes; then
43019 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43020 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43021 if test "${ac_cv_lib_socket_socket+set}" = set; then
43022 echo $ECHO_N "(cached) $ECHO_C" >&6
43024 ac_check_lib_save_LIBS
=$LIBS
43025 LIBS
="-lsocket $LIBS"
43026 cat >conftest.
$ac_ext <<_ACEOF
43029 cat confdefs.h
>>conftest.
$ac_ext
43030 cat >>conftest.
$ac_ext <<_ACEOF
43031 /* end confdefs.h. */
43033 /* Override any gcc2 internal prototype to avoid an error. */
43037 /* We use char because int might match the return type of a gcc2
43038 builtin and then its argument prototype would still apply. */
43048 rm -f conftest.
$ac_objext conftest
$ac_exeext
43049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43050 (eval $ac_link) 2>conftest.er1
43052 grep -v '^ *+' conftest.er1
>conftest.err
43054 cat conftest.err
>&5
43055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43056 (exit $ac_status); } &&
43057 { ac_try
='test -z "$ac_cxx_werror_flag"
43058 || test ! -s conftest.err'
43059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43060 (eval $ac_try) 2>&5
43062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43063 (exit $ac_status); }; } &&
43064 { ac_try
='test -s conftest$ac_exeext'
43065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43066 (eval $ac_try) 2>&5
43068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43069 (exit $ac_status); }; }; then
43070 ac_cv_lib_socket_socket
=yes
43072 echo "$as_me: failed program was:" >&5
43073 sed 's/^/| /' conftest.
$ac_ext >&5
43075 ac_cv_lib_socket_socket
=no
43077 rm -f conftest.err conftest.
$ac_objext \
43078 conftest
$ac_exeext conftest.
$ac_ext
43079 LIBS
=$ac_check_lib_save_LIBS
43081 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43082 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43083 if test $ac_cv_lib_socket_socket = yes; then
43084 if test "$INET_LINK" != " -lsocket"; then
43085 INET_LINK
="$INET_LINK -lsocket"
43089 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43090 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43103 if test "$wxUSE_SOCKETS" = "yes" ; then
43104 if test "$TOOLKIT" != "MSW"; then
43105 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43106 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43107 if test "${wx_cv_type_getsockname3+set}" = set; then
43108 echo $ECHO_N "(cached) $ECHO_C" >&6
43111 cat >conftest.
$ac_ext <<_ACEOF
43114 cat confdefs.h
>>conftest.
$ac_ext
43115 cat >>conftest.
$ac_ext <<_ACEOF
43116 /* end confdefs.h. */
43118 #include <sys/types.h>
43119 #include <sys/socket.h>
43126 getsockname(0, 0, &len);
43132 rm -f conftest.
$ac_objext
43133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43134 (eval $ac_compile) 2>conftest.er1
43136 grep -v '^ *+' conftest.er1
>conftest.err
43138 cat conftest.err
>&5
43139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43140 (exit $ac_status); } &&
43141 { ac_try
='test -z "$ac_cxx_werror_flag"
43142 || test ! -s conftest.err'
43143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43144 (eval $ac_try) 2>&5
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); }; } &&
43148 { ac_try
='test -s conftest.$ac_objext'
43149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43150 (eval $ac_try) 2>&5
43152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43153 (exit $ac_status); }; }; then
43154 wx_cv_type_getsockname3
=socklen_t
43156 echo "$as_me: failed program was:" >&5
43157 sed 's/^/| /' conftest.
$ac_ext >&5
43160 CXXFLAGS_OLD
="$CXXFLAGS"
43161 if test "$GCC" = yes ; then
43162 CXXFLAGS
="-Werror $CXXFLAGS"
43165 cat >conftest.
$ac_ext <<_ACEOF
43168 cat confdefs.h
>>conftest.
$ac_ext
43169 cat >>conftest.
$ac_ext <<_ACEOF
43170 /* end confdefs.h. */
43172 #include <sys/types.h>
43173 #include <sys/socket.h>
43180 getsockname(0, 0, &len);
43186 rm -f conftest.
$ac_objext
43187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43188 (eval $ac_compile) 2>conftest.er1
43190 grep -v '^ *+' conftest.er1
>conftest.err
43192 cat conftest.err
>&5
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); } &&
43195 { ac_try
='test -z "$ac_cxx_werror_flag"
43196 || test ! -s conftest.err'
43197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43198 (eval $ac_try) 2>&5
43200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43201 (exit $ac_status); }; } &&
43202 { ac_try
='test -s conftest.$ac_objext'
43203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43204 (eval $ac_try) 2>&5
43206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43207 (exit $ac_status); }; }; then
43208 wx_cv_type_getsockname3
=size_t
43210 echo "$as_me: failed program was:" >&5
43211 sed 's/^/| /' conftest.
$ac_ext >&5
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"
43244 || test ! -s conftest.err'
43245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43246 (eval $ac_try) 2>&5
43248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43249 (exit $ac_status); }; } &&
43250 { ac_try
='test -s conftest.$ac_objext'
43251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43252 (eval $ac_try) 2>&5
43254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43255 (exit $ac_status); }; }; then
43256 wx_cv_type_getsockname3
=int
43258 echo "$as_me: failed program was:" >&5
43259 sed 's/^/| /' conftest.
$ac_ext >&5
43261 wx_cv_type_getsockname3
=unknown
43264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43269 CXXFLAGS
="$CXXFLAGS_OLD"
43273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43276 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43277 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43279 if test "$wx_cv_type_getsockname3" = "unknown"; then
43281 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43282 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43284 cat >>confdefs.h
<<_ACEOF
43285 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43289 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43290 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43291 if test "${wx_cv_type_getsockopt5+set}" = set; then
43292 echo $ECHO_N "(cached) $ECHO_C" >&6
43295 cat >conftest.
$ac_ext <<_ACEOF
43298 cat confdefs.h
>>conftest.
$ac_ext
43299 cat >>conftest.
$ac_ext <<_ACEOF
43300 /* end confdefs.h. */
43302 #include <sys/types.h>
43303 #include <sys/socket.h>
43310 getsockopt(0, 0, 0, 0, &len);
43316 rm -f conftest.
$ac_objext
43317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43318 (eval $ac_compile) 2>conftest.er1
43320 grep -v '^ *+' conftest.er1
>conftest.err
43322 cat conftest.err
>&5
43323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43324 (exit $ac_status); } &&
43325 { ac_try
='test -z "$ac_cxx_werror_flag"
43326 || test ! -s conftest.err'
43327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43328 (eval $ac_try) 2>&5
43330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43331 (exit $ac_status); }; } &&
43332 { ac_try
='test -s conftest.$ac_objext'
43333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43334 (eval $ac_try) 2>&5
43336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43337 (exit $ac_status); }; }; then
43338 wx_cv_type_getsockopt5
=socklen_t
43340 echo "$as_me: failed program was:" >&5
43341 sed 's/^/| /' conftest.
$ac_ext >&5
43344 CXXFLAGS_OLD
="$CXXFLAGS"
43345 if test "$GCC" = yes ; then
43346 CXXFLAGS
="-Werror $CXXFLAGS"
43349 cat >conftest.
$ac_ext <<_ACEOF
43352 cat confdefs.h
>>conftest.
$ac_ext
43353 cat >>conftest.
$ac_ext <<_ACEOF
43354 /* end confdefs.h. */
43356 #include <sys/types.h>
43357 #include <sys/socket.h>
43364 getsockopt(0, 0, 0, 0, &len);
43370 rm -f conftest.
$ac_objext
43371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43372 (eval $ac_compile) 2>conftest.er1
43374 grep -v '^ *+' conftest.er1
>conftest.err
43376 cat conftest.err
>&5
43377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43378 (exit $ac_status); } &&
43379 { ac_try
='test -z "$ac_cxx_werror_flag"
43380 || test ! -s conftest.err'
43381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43382 (eval $ac_try) 2>&5
43384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43385 (exit $ac_status); }; } &&
43386 { ac_try
='test -s conftest.$ac_objext'
43387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43388 (eval $ac_try) 2>&5
43390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43391 (exit $ac_status); }; }; then
43392 wx_cv_type_getsockopt5
=size_t
43394 echo "$as_me: failed program was:" >&5
43395 sed 's/^/| /' conftest.
$ac_ext >&5
43397 cat >conftest.
$ac_ext <<_ACEOF
43400 cat confdefs.h
>>conftest.
$ac_ext
43401 cat >>conftest.
$ac_ext <<_ACEOF
43402 /* end confdefs.h. */
43404 #include <sys/types.h>
43405 #include <sys/socket.h>
43412 getsockopt(0, 0, 0, 0, &len);
43418 rm -f conftest.
$ac_objext
43419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43420 (eval $ac_compile) 2>conftest.er1
43422 grep -v '^ *+' conftest.er1
>conftest.err
43424 cat conftest.err
>&5
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); } &&
43427 { ac_try
='test -z "$ac_cxx_werror_flag"
43428 || test ! -s conftest.err'
43429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43430 (eval $ac_try) 2>&5
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); }; } &&
43434 { ac_try
='test -s conftest.$ac_objext'
43435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43436 (eval $ac_try) 2>&5
43438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43439 (exit $ac_status); }; }; then
43440 wx_cv_type_getsockopt5
=int
43442 echo "$as_me: failed program was:" >&5
43443 sed 's/^/| /' conftest.
$ac_ext >&5
43445 wx_cv_type_getsockopt5
=unknown
43448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43453 CXXFLAGS
="$CXXFLAGS_OLD"
43457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43460 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43461 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43463 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43465 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43466 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43468 cat >>confdefs.h
<<_ACEOF
43469 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43476 if test "$wxUSE_SOCKETS" = "yes" ; then
43477 cat >>confdefs.h
<<\_ACEOF
43478 #define wxUSE_SOCKETS 1
43481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43484 if test "$wxUSE_PROTOCOL" = "yes"; then
43485 if test "$wxUSE_SOCKETS" != "yes"; then
43486 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43487 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43492 if test "$wxUSE_PROTOCOL" = "yes"; then
43493 cat >>confdefs.h
<<\_ACEOF
43494 #define wxUSE_PROTOCOL 1
43498 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43499 cat >>confdefs.h
<<\_ACEOF
43500 #define wxUSE_PROTOCOL_HTTP 1
43504 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43505 cat >>confdefs.h
<<\_ACEOF
43506 #define wxUSE_PROTOCOL_FTP 1
43510 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43511 cat >>confdefs.h
<<\_ACEOF
43512 #define wxUSE_PROTOCOL_FILE 1
43517 if test "$wxUSE_FS_INET" = "yes"; then
43518 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43519 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43524 if test "$wxUSE_URL" = "yes"; then
43525 if test "$wxUSE_PROTOCOL" != "yes"; then
43526 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43527 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43530 if test "$wxUSE_URL" = "yes"; then
43531 cat >>confdefs.h
<<\_ACEOF
43532 #define wxUSE_URL 1
43538 if test "$wxUSE_FS_INET" = "yes"; then
43539 cat >>confdefs.h
<<\_ACEOF
43540 #define wxUSE_FS_INET 1
43546 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43549 if test "$TOOLKIT" = "MSW"; then
43552 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43553 if test "$USE_DARWIN" = 1; then
43554 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43555 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43556 cat >conftest.
$ac_ext <<_ACEOF
43559 cat confdefs.h
>>conftest.
$ac_ext
43560 cat >>conftest.
$ac_ext <<_ACEOF
43561 /* end confdefs.h. */
43562 #include <IOKit/hid/IOHIDLib.h>
43566 IOHIDQueueInterface *qi = NULL;
43567 IOHIDCallbackFunction cb = NULL;
43568 qi->setEventCallout(NULL, cb, NULL, NULL);
43573 rm -f conftest.
$ac_objext
43574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43575 (eval $ac_compile) 2>conftest.er1
43577 grep -v '^ *+' conftest.er1
>conftest.err
43579 cat conftest.err
>&5
43580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43581 (exit $ac_status); } &&
43582 { ac_try
='test -z "$ac_cxx_werror_flag"
43583 || test ! -s conftest.err'
43584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43585 (eval $ac_try) 2>&5
43587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43588 (exit $ac_status); }; } &&
43589 { ac_try
='test -s conftest.$ac_objext'
43590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43591 (eval $ac_try) 2>&5
43593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43594 (exit $ac_status); }; }; then
43598 echo "$as_me: failed program was:" >&5
43599 sed 's/^/| /' conftest.
$ac_ext >&5
43602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43603 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43604 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43609 for ac_header
in linux
/joystick.h
43611 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43613 echo "$as_me:$LINENO: checking for $ac_header" >&5
43614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43616 echo $ECHO_N "(cached) $ECHO_C" >&6
43618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43621 # Is the header compilable?
43622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43624 cat >conftest.
$ac_ext <<_ACEOF
43627 cat confdefs.h
>>conftest.
$ac_ext
43628 cat >>conftest.
$ac_ext <<_ACEOF
43629 /* end confdefs.h. */
43630 $ac_includes_default
43631 #include <$ac_header>
43633 rm -f conftest.
$ac_objext
43634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43635 (eval $ac_compile) 2>conftest.er1
43637 grep -v '^ *+' conftest.er1
>conftest.err
43639 cat conftest.err
>&5
43640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43641 (exit $ac_status); } &&
43642 { ac_try
='test -z "$ac_cxx_werror_flag"
43643 || test ! -s conftest.err'
43644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43645 (eval $ac_try) 2>&5
43647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43648 (exit $ac_status); }; } &&
43649 { ac_try
='test -s conftest.$ac_objext'
43650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43651 (eval $ac_try) 2>&5
43653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43654 (exit $ac_status); }; }; then
43655 ac_header_compiler
=yes
43657 echo "$as_me: failed program was:" >&5
43658 sed 's/^/| /' conftest.
$ac_ext >&5
43660 ac_header_compiler
=no
43662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43663 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43664 echo "${ECHO_T}$ac_header_compiler" >&6
43666 # Is the header present?
43667 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43668 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43669 cat >conftest.
$ac_ext <<_ACEOF
43672 cat confdefs.h
>>conftest.
$ac_ext
43673 cat >>conftest.
$ac_ext <<_ACEOF
43674 /* end confdefs.h. */
43675 #include <$ac_header>
43677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43678 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43680 grep -v '^ *+' conftest.er1
>conftest.err
43682 cat conftest.err
>&5
43683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43684 (exit $ac_status); } >/dev
/null
; then
43685 if test -s conftest.err
; then
43686 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43687 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43694 if test -z "$ac_cpp_err"; then
43695 ac_header_preproc
=yes
43697 echo "$as_me: failed program was:" >&5
43698 sed 's/^/| /' conftest.
$ac_ext >&5
43700 ac_header_preproc
=no
43702 rm -f conftest.err conftest.
$ac_ext
43703 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43704 echo "${ECHO_T}$ac_header_preproc" >&6
43706 # So? What about this header?
43707 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43709 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43710 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43712 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43713 ac_header_preproc
=yes
43716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43719 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43720 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43721 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43722 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43723 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43726 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43727 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43730 ## ----------------------------------------- ##
43731 ## Report this to wx-dev@lists.wxwidgets.org ##
43732 ## ----------------------------------------- ##
43735 sed "s/^/$as_me: WARNING: /" >&2
43738 echo "$as_me:$LINENO: checking for $ac_header" >&5
43739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43741 echo $ECHO_N "(cached) $ECHO_C" >&6
43743 eval "$as_ac_Header=\$ac_header_preproc"
43745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43750 cat >>confdefs.h
<<_ACEOF
43751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43760 if test "$wxUSE_JOYSTICK" = "yes"; then
43761 cat >>confdefs.h
<<\_ACEOF
43762 #define wxUSE_JOYSTICK 1
43765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43767 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43768 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43774 if test "$wxUSE_FONTMAP" = "yes" ; then
43775 cat >>confdefs.h
<<\_ACEOF
43776 #define wxUSE_FONTMAP 1
43781 if test "$wxUSE_UNICODE" = "yes" ; then
43782 cat >>confdefs.h
<<\_ACEOF
43783 #define wxUSE_UNICODE 1
43787 if test "$USE_WIN32" != 1; then
43788 wxUSE_UNICODE_MSLU
=no
43791 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43792 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43793 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43794 if test "${ac_cv_lib_unicows_main+set}" = set; then
43795 echo $ECHO_N "(cached) $ECHO_C" >&6
43797 ac_check_lib_save_LIBS
=$LIBS
43798 LIBS
="-lunicows $LIBS"
43799 cat >conftest.
$ac_ext <<_ACEOF
43802 cat confdefs.h
>>conftest.
$ac_ext
43803 cat >>conftest.
$ac_ext <<_ACEOF
43804 /* end confdefs.h. */
43815 rm -f conftest.
$ac_objext conftest
$ac_exeext
43816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43817 (eval $ac_link) 2>conftest.er1
43819 grep -v '^ *+' conftest.er1
>conftest.err
43821 cat conftest.err
>&5
43822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43823 (exit $ac_status); } &&
43824 { ac_try
='test -z "$ac_cxx_werror_flag"
43825 || test ! -s conftest.err'
43826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43827 (eval $ac_try) 2>&5
43829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43830 (exit $ac_status); }; } &&
43831 { ac_try
='test -s conftest$ac_exeext'
43832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43833 (eval $ac_try) 2>&5
43835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43836 (exit $ac_status); }; }; then
43837 ac_cv_lib_unicows_main
=yes
43839 echo "$as_me: failed program was:" >&5
43840 sed 's/^/| /' conftest.
$ac_ext >&5
43842 ac_cv_lib_unicows_main
=no
43844 rm -f conftest.err conftest.
$ac_objext \
43845 conftest
$ac_exeext conftest.
$ac_ext
43846 LIBS
=$ac_check_lib_save_LIBS
43848 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43849 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43850 if test $ac_cv_lib_unicows_main = yes; then
43852 cat >>confdefs.h
<<\_ACEOF
43853 #define wxUSE_UNICODE_MSLU 1
43859 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43860 Applications will only run on Windows NT/2000/XP!" >&5
43861 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43862 Applications will only run on Windows NT/2000/XP!" >&2;}
43863 wxUSE_UNICODE_MSLU
=no
43870 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43871 cat >>confdefs.h
<<\_ACEOF
43872 #define wxUSE_EXPERIMENTAL_PRINTF 1
43878 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43879 cat >>confdefs.h
<<\_ACEOF
43880 #define wxUSE_POSTSCRIPT 1
43885 cat >>confdefs.h
<<\_ACEOF
43886 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43890 cat >>confdefs.h
<<\_ACEOF
43891 #define wxUSE_NORMALIZED_PS_FONTS 1
43896 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43897 cat >>confdefs.h
<<\_ACEOF
43898 #define wxUSE_CONSTRAINTS 1
43901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43904 if test "$wxUSE_MDI" = "yes"; then
43905 cat >>confdefs.h
<<\_ACEOF
43906 #define wxUSE_MDI 1
43910 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43911 cat >>confdefs.h
<<\_ACEOF
43912 #define wxUSE_MDI_ARCHITECTURE 1
43915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43919 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43920 cat >>confdefs.h
<<\_ACEOF
43921 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43925 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43926 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43930 if test "$wxUSE_HELP" = "yes"; then
43931 cat >>confdefs.h
<<\_ACEOF
43932 #define wxUSE_HELP 1
43935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43937 if test "$wxUSE_MSW" = 1; then
43938 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43939 cat >>confdefs.h
<<\_ACEOF
43940 #define wxUSE_MS_HTML_HELP 1
43946 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43947 if test "$wxUSE_HTML" = "yes"; then
43948 cat >>confdefs.h
<<\_ACEOF
43949 #define wxUSE_WXHTML_HELP 1
43953 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43954 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43955 wxUSE_WXHTML_HELP
=no
43960 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43961 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43962 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43963 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43965 cat >>confdefs.h
<<\_ACEOF
43966 #define wxUSE_PRINTING_ARCHITECTURE 1
43970 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43973 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43974 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43975 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43976 { (exit 1); exit 1; }; }
43980 if test "$wxUSE_METAFILE" = "yes"; then
43981 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43982 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43983 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43989 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43990 -o "$wxUSE_CLIPBOARD" = "yes" \
43991 -o "$wxUSE_OLE" = "yes" \
43992 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43994 for ac_header
in ole2.h
43996 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43998 echo "$as_me:$LINENO: checking for $ac_header" >&5
43999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44001 echo $ECHO_N "(cached) $ECHO_C" >&6
44003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44004 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44006 # Is the header compilable?
44007 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44008 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44009 cat >conftest.
$ac_ext <<_ACEOF
44012 cat confdefs.h
>>conftest.
$ac_ext
44013 cat >>conftest.
$ac_ext <<_ACEOF
44014 /* end confdefs.h. */
44015 $ac_includes_default
44016 #include <$ac_header>
44018 rm -f conftest.
$ac_objext
44019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44020 (eval $ac_compile) 2>conftest.er1
44022 grep -v '^ *+' conftest.er1
>conftest.err
44024 cat conftest.err
>&5
44025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44026 (exit $ac_status); } &&
44027 { ac_try
='test -z "$ac_cxx_werror_flag"
44028 || test ! -s conftest.err'
44029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44030 (eval $ac_try) 2>&5
44032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44033 (exit $ac_status); }; } &&
44034 { ac_try
='test -s conftest.$ac_objext'
44035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44036 (eval $ac_try) 2>&5
44038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44039 (exit $ac_status); }; }; then
44040 ac_header_compiler
=yes
44042 echo "$as_me: failed program was:" >&5
44043 sed 's/^/| /' conftest.
$ac_ext >&5
44045 ac_header_compiler
=no
44047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44048 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44049 echo "${ECHO_T}$ac_header_compiler" >&6
44051 # Is the header present?
44052 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44053 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44054 cat >conftest.
$ac_ext <<_ACEOF
44057 cat confdefs.h
>>conftest.
$ac_ext
44058 cat >>conftest.
$ac_ext <<_ACEOF
44059 /* end confdefs.h. */
44060 #include <$ac_header>
44062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44063 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44065 grep -v '^ *+' conftest.er1
>conftest.err
44067 cat conftest.err
>&5
44068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44069 (exit $ac_status); } >/dev
/null
; then
44070 if test -s conftest.err
; then
44071 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44072 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44079 if test -z "$ac_cpp_err"; then
44080 ac_header_preproc
=yes
44082 echo "$as_me: failed program was:" >&5
44083 sed 's/^/| /' conftest.
$ac_ext >&5
44085 ac_header_preproc
=no
44087 rm -f conftest.err conftest.
$ac_ext
44088 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44089 echo "${ECHO_T}$ac_header_preproc" >&6
44091 # So? What about this header?
44092 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44094 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44095 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44097 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44098 ac_header_preproc
=yes
44101 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44102 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44103 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44104 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44105 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44106 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44107 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44108 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44111 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44112 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44115 ## ----------------------------------------- ##
44116 ## Report this to wx-dev@lists.wxwidgets.org ##
44117 ## ----------------------------------------- ##
44120 sed "s/^/$as_me: WARNING: /" >&2
44123 echo "$as_me:$LINENO: checking for $ac_header" >&5
44124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44126 echo $ECHO_N "(cached) $ECHO_C" >&6
44128 eval "$as_ac_Header=\$ac_header_preproc"
44130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44135 cat >>confdefs.h
<<_ACEOF
44136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44144 if test "$ac_cv_header_ole2_h" = "yes" ; then
44145 if test "$GCC" = yes ; then
44146 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44147 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44148 cat >conftest.
$ac_ext <<_ACEOF
44151 cat confdefs.h
>>conftest.
$ac_ext
44152 cat >>conftest.
$ac_ext <<_ACEOF
44153 /* end confdefs.h. */
44154 #include <windows.h>
44164 rm -f conftest.
$ac_objext
44165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44166 (eval $ac_compile) 2>conftest.er1
44168 grep -v '^ *+' conftest.er1
>conftest.err
44170 cat conftest.err
>&5
44171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44172 (exit $ac_status); } &&
44173 { ac_try
='test -z "$ac_cxx_werror_flag"
44174 || test ! -s conftest.err'
44175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44176 (eval $ac_try) 2>&5
44178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44179 (exit $ac_status); }; } &&
44180 { ac_try
='test -s conftest.$ac_objext'
44181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44182 (eval $ac_try) 2>&5
44184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44185 (exit $ac_status); }; }; then
44186 echo "$as_me:$LINENO: result: no" >&5
44187 echo "${ECHO_T}no" >&6
44189 echo "$as_me: failed program was:" >&5
44190 sed 's/^/| /' conftest.
$ac_ext >&5
44192 echo "$as_me:$LINENO: result: yes" >&5
44193 echo "${ECHO_T}yes" >&6
44194 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44197 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44198 if test "$wxUSE_OLE" = "yes" ; then
44199 cat >>confdefs.h
<<\_ACEOF
44200 #define wxUSE_OLE 1
44203 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44207 if test "$wxUSE_DATAOBJ" = "yes" ; then
44208 cat >>confdefs.h
<<\_ACEOF
44209 #define wxUSE_DATAOBJ 1
44214 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44215 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44218 wxUSE_DRAG_AND_DROP
=no
44223 if test "$wxUSE_METAFILE" = "yes"; then
44224 cat >>confdefs.h
<<\_ACEOF
44225 #define wxUSE_METAFILE 1
44229 cat >>confdefs.h
<<\_ACEOF
44230 #define wxUSE_ENH_METAFILE 1
44236 if test "$wxUSE_IPC" = "yes"; then
44237 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44238 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44239 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44243 if test "$wxUSE_IPC" = "yes"; then
44244 cat >>confdefs.h
<<\_ACEOF
44245 #define wxUSE_IPC 1
44248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44252 if test "$wxUSE_DATAOBJ" = "yes"; then
44253 if test "$wxUSE_MGL" = 1; then
44254 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
44255 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
44258 cat >>confdefs.h
<<\_ACEOF
44259 #define wxUSE_DATAOBJ 1
44264 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44265 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44267 wxUSE_DRAG_AND_DROP
=no
44270 if test "$wxUSE_CLIPBOARD" = "yes"; then
44271 if test "$wxUSE_MGL" = 1; then
44272 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
44273 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
44277 if test "$wxUSE_CLIPBOARD" = "yes"; then
44278 cat >>confdefs.h
<<\_ACEOF
44279 #define wxUSE_CLIPBOARD 1
44285 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44286 if test "$wxUSE_GTK" = 1; then
44287 if test "$WXGTK12" != 1; then
44288 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44289 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44290 wxUSE_DRAG_AND_DROP
=no
44294 if test "$wxUSE_MOTIF" = 1; then
44295 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
44296 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
44297 wxUSE_DRAG_AND_DROP
=no
44300 if test "$wxUSE_X11" = 1; then
44301 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
44302 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
44303 wxUSE_DRAG_AND_DROP
=no
44306 if test "$wxUSE_MGL" = 1; then
44307 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
44308 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
44309 wxUSE_DRAG_AND_DROP
=no
44312 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44313 cat >>confdefs.h
<<\_ACEOF
44314 #define wxUSE_DRAG_AND_DROP 1
44321 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44325 if test "$wxUSE_SPLINES" = "yes" ; then
44326 cat >>confdefs.h
<<\_ACEOF
44327 #define wxUSE_SPLINES 1
44332 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44333 cat >>confdefs.h
<<\_ACEOF
44334 #define wxUSE_MOUSEWHEEL 1
44341 if test "$wxUSE_CONTROLS" = "yes"; then
44345 if test "$wxUSE_ACCEL" = "yes"; then
44346 cat >>confdefs.h
<<\_ACEOF
44347 #define wxUSE_ACCEL 1
44353 if test "$wxUSE_BUTTON" = "yes"; then
44354 cat >>confdefs.h
<<\_ACEOF
44355 #define wxUSE_BUTTON 1
44361 if test "$wxUSE_BMPBUTTON" = "yes"; then
44362 cat >>confdefs.h
<<\_ACEOF
44363 #define wxUSE_BMPBUTTON 1
44369 if test "$wxUSE_CALCTRL" = "yes"; then
44370 cat >>confdefs.h
<<\_ACEOF
44371 #define wxUSE_CALENDARCTRL 1
44375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44378 if test "$wxUSE_CARET" = "yes"; then
44379 cat >>confdefs.h
<<\_ACEOF
44380 #define wxUSE_CARET 1
44384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44387 if test "$wxUSE_COMBOBOX" = "yes"; then
44388 cat >>confdefs.h
<<\_ACEOF
44389 #define wxUSE_COMBOBOX 1
44395 if test "$wxUSE_COMBOCTRL" = "yes"; then
44396 cat >>confdefs.h
<<\_ACEOF
44397 #define wxUSE_COMBOCTRL 1
44403 if test "$wxUSE_CHOICE" = "yes"; then
44404 cat >>confdefs.h
<<\_ACEOF
44405 #define wxUSE_CHOICE 1
44411 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44412 cat >>confdefs.h
<<\_ACEOF
44413 #define wxUSE_CHOICEBOOK 1
44419 if test "$wxUSE_CHECKBOX" = "yes"; then
44420 cat >>confdefs.h
<<\_ACEOF
44421 #define wxUSE_CHECKBOX 1
44427 if test "$wxUSE_CHECKLST" = "yes"; then
44428 cat >>confdefs.h
<<\_ACEOF
44429 #define wxUSE_CHECKLISTBOX 1
44433 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44436 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44437 cat >>confdefs.h
<<\_ACEOF
44438 #define wxUSE_COLOURPICKERCTRL 1
44444 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44445 cat >>confdefs.h
<<\_ACEOF
44446 #define wxUSE_DATEPICKCTRL 1
44452 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44453 cat >>confdefs.h
<<\_ACEOF
44454 #define wxUSE_DIRPICKERCTRL 1
44460 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44461 cat >>confdefs.h
<<\_ACEOF
44462 #define wxUSE_FILEPICKERCTRL 1
44468 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44469 cat >>confdefs.h
<<\_ACEOF
44470 #define wxUSE_FONTPICKERCTRL 1
44476 if test "$wxUSE_DISPLAY" = "yes"; then
44477 cat >>confdefs.h
<<\_ACEOF
44478 #define wxUSE_DISPLAY 1
44481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44484 if test "$wxUSE_GAUGE" = "yes"; then
44485 cat >>confdefs.h
<<\_ACEOF
44486 #define wxUSE_GAUGE 1
44492 if test "$wxUSE_GRID" = "yes"; then
44493 cat >>confdefs.h
<<\_ACEOF
44494 #define wxUSE_GRID 1
44498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44501 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44502 cat >>confdefs.h
<<\_ACEOF
44503 #define wxUSE_HYPERLINKCTRL 1
44509 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44510 cat >>confdefs.h
<<\_ACEOF
44511 #define wxUSE_DATAVIEWCTRL 1
44515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44518 if test "$wxUSE_IMAGLIST" = "yes"; then
44519 cat >>confdefs.h
<<\_ACEOF
44520 #define wxUSE_IMAGLIST 1
44525 if test "$wxUSE_LISTBOOK" = "yes"; then
44526 cat >>confdefs.h
<<\_ACEOF
44527 #define wxUSE_LISTBOOK 1
44533 if test "$wxUSE_LISTBOX" = "yes"; then
44534 cat >>confdefs.h
<<\_ACEOF
44535 #define wxUSE_LISTBOX 1
44539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44542 if test "$wxUSE_LISTCTRL" = "yes"; then
44543 if test "$wxUSE_IMAGLIST" = "yes"; then
44544 cat >>confdefs.h
<<\_ACEOF
44545 #define wxUSE_LISTCTRL 1
44549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44551 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44552 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44556 if test "$wxUSE_NOTEBOOK" = "yes"; then
44557 cat >>confdefs.h
<<\_ACEOF
44558 #define wxUSE_NOTEBOOK 1
44562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44565 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44566 cat >>confdefs.h
<<\_ACEOF
44567 #define wxUSE_ODCOMBOBOX 1
44571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44575 if test "$wxUSE_RADIOBOX" = "yes"; then
44576 cat >>confdefs.h
<<\_ACEOF
44577 #define wxUSE_RADIOBOX 1
44583 if test "$wxUSE_RADIOBTN" = "yes"; then
44584 cat >>confdefs.h
<<\_ACEOF
44585 #define wxUSE_RADIOBTN 1
44591 if test "$wxUSE_SASH" = "yes"; then
44592 cat >>confdefs.h
<<\_ACEOF
44593 #define wxUSE_SASH 1
44596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44599 if test "$wxUSE_SCROLLBAR" = "yes"; then
44600 cat >>confdefs.h
<<\_ACEOF
44601 #define wxUSE_SCROLLBAR 1
44605 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44608 if test "$wxUSE_SLIDER" = "yes"; then
44609 cat >>confdefs.h
<<\_ACEOF
44610 #define wxUSE_SLIDER 1
44616 if test "$wxUSE_SPINBTN" = "yes"; then
44617 cat >>confdefs.h
<<\_ACEOF
44618 #define wxUSE_SPINBTN 1
44624 if test "$wxUSE_SPINCTRL" = "yes"; then
44625 cat >>confdefs.h
<<\_ACEOF
44626 #define wxUSE_SPINCTRL 1
44632 if test "$wxUSE_SPLITTER" = "yes"; then
44633 cat >>confdefs.h
<<\_ACEOF
44634 #define wxUSE_SPLITTER 1
44637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44640 if test "$wxUSE_STATBMP" = "yes"; then
44641 cat >>confdefs.h
<<\_ACEOF
44642 #define wxUSE_STATBMP 1
44648 if test "$wxUSE_STATBOX" = "yes"; then
44649 cat >>confdefs.h
<<\_ACEOF
44650 #define wxUSE_STATBOX 1
44656 if test "$wxUSE_STATTEXT" = "yes"; then
44657 cat >>confdefs.h
<<\_ACEOF
44658 #define wxUSE_STATTEXT 1
44664 if test "$wxUSE_STATLINE" = "yes"; then
44665 cat >>confdefs.h
<<\_ACEOF
44666 #define wxUSE_STATLINE 1
44672 if test "$wxUSE_STATUSBAR" = "yes"; then
44673 cat >>confdefs.h
<<\_ACEOF
44674 #define wxUSE_NATIVE_STATUSBAR 1
44677 cat >>confdefs.h
<<\_ACEOF
44678 #define wxUSE_STATUSBAR 1
44683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44686 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44687 cat >>confdefs.h
<<\_ACEOF
44688 #define wxUSE_TAB_DIALOG 1
44693 if test "$wxUSE_TEXTCTRL" = "yes"; then
44694 cat >>confdefs.h
<<\_ACEOF
44695 #define wxUSE_TEXTCTRL 1
44699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44702 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44703 if test "$wxUSE_COCOA" = 1 ; then
44704 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44705 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44709 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44710 cat >>confdefs.h
<<\_ACEOF
44711 #define wxUSE_TOGGLEBTN 1
44718 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44719 cat >>confdefs.h
<<\_ACEOF
44720 #define wxUSE_TOOLBAR_SIMPLE 1
44723 wxUSE_TOOLBAR
="yes"
44727 if test "$wxUSE_TOOLBAR" = "yes"; then
44728 cat >>confdefs.h
<<\_ACEOF
44729 #define wxUSE_TOOLBAR 1
44734 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44735 wxUSE_TOOLBAR_NATIVE
="yes"
44738 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44739 cat >>confdefs.h
<<\_ACEOF
44740 #define wxUSE_TOOLBAR_NATIVE 1
44746 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44749 if test "$wxUSE_TOOLTIPS" = "yes"; then
44750 if test "$wxUSE_MOTIF" = 1; then
44751 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44752 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44754 if test "$wxUSE_UNIVERSAL" = "yes"; then
44755 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44756 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44758 cat >>confdefs.h
<<\_ACEOF
44759 #define wxUSE_TOOLTIPS 1
44766 if test "$wxUSE_TREEBOOK" = "yes"; then
44767 cat >>confdefs.h
<<\_ACEOF
44768 #define wxUSE_TREEBOOK 1
44774 if test "$wxUSE_TOOLBOOK" = "yes"; then
44775 cat >>confdefs.h
<<\_ACEOF
44776 #define wxUSE_TOOLBOOK 1
44782 if test "$wxUSE_TREECTRL" = "yes"; then
44783 if test "$wxUSE_IMAGLIST" = "yes"; then
44784 cat >>confdefs.h
<<\_ACEOF
44785 #define wxUSE_TREECTRL 1
44789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44791 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44792 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44796 if test "$wxUSE_POPUPWIN" = "yes"; then
44797 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44798 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44799 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44801 if test "$wxUSE_PM" = 1; then
44802 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44803 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44805 cat >>confdefs.h
<<\_ACEOF
44806 #define wxUSE_POPUPWIN 1
44809 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44816 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44817 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44818 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44819 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44821 cat >>confdefs.h
<<\_ACEOF
44822 #define wxUSE_DIALUP_MANAGER 1
44825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44829 if test "$wxUSE_TIPWINDOW" = "yes"; then
44830 if test "$wxUSE_PM" = 1; then
44831 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44832 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44834 cat >>confdefs.h
<<\_ACEOF
44835 #define wxUSE_TIPWINDOW 1
44841 if test "$USES_CONTROLS" = 1; then
44842 cat >>confdefs.h
<<\_ACEOF
44843 #define wxUSE_CONTROLS 1
44849 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44850 cat >>confdefs.h
<<\_ACEOF
44851 #define wxUSE_ACCESSIBILITY 1
44854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44857 if test "$wxUSE_DC_CACHEING" = "yes"; then
44858 cat >>confdefs.h
<<\_ACEOF
44859 #define wxUSE_DC_CACHEING 1
44864 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44865 cat >>confdefs.h
<<\_ACEOF
44866 #define wxUSE_DRAGIMAGE 1
44869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44872 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44873 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44874 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44875 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44877 cat >>confdefs.h
<<\_ACEOF
44878 #define wxUSE_EXCEPTIONS 1
44881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44886 if test "$wxUSE_HTML" = "yes"; then
44887 cat >>confdefs.h
<<\_ACEOF
44888 #define wxUSE_HTML 1
44892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44893 if test "$wxUSE_MAC" = 1; then
44894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44897 if test "$wxUSE_WEBKIT" = "yes"; then
44898 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44899 old_CPPFLAGS
="$CPPFLAGS"
44900 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44901 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44902 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44903 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44904 echo $ECHO_N "(cached) $ECHO_C" >&6
44906 cat >conftest.
$ac_ext <<_ACEOF
44909 cat confdefs.h
>>conftest.
$ac_ext
44910 cat >>conftest.
$ac_ext <<_ACEOF
44911 /* end confdefs.h. */
44912 #include <Carbon/Carbon.h>
44914 #include <WebKit/HIWebView.h>
44916 rm -f conftest.
$ac_objext
44917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44918 (eval $ac_compile) 2>conftest.er1
44920 grep -v '^ *+' conftest.er1
>conftest.err
44922 cat conftest.err
>&5
44923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44924 (exit $ac_status); } &&
44925 { ac_try
='test -z "$ac_cxx_werror_flag"
44926 || test ! -s conftest.err'
44927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44928 (eval $ac_try) 2>&5
44930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44931 (exit $ac_status); }; } &&
44932 { ac_try
='test -s conftest.$ac_objext'
44933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44934 (eval $ac_try) 2>&5
44936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44937 (exit $ac_status); }; }; then
44938 ac_cv_header_WebKit_HIWebView_h
=yes
44940 echo "$as_me: failed program was:" >&5
44941 sed 's/^/| /' conftest.
$ac_ext >&5
44943 ac_cv_header_WebKit_HIWebView_h
=no
44945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44947 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44948 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44949 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44951 cat >>confdefs.h
<<\_ACEOF
44952 #define wxUSE_WEBKIT 1
44955 WEBKIT_LINK
="-framework WebKit"
44959 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44960 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44966 CPPFLAGS
="$old_CPPFLAGS"
44967 elif test "$wxUSE_COCOA" = 1; then
44968 cat >>confdefs.h
<<\_ACEOF
44969 #define wxUSE_WEBKIT 1
44978 if test "$wxUSE_XRC" = "yes"; then
44979 if test "$wxUSE_XML" != "yes"; then
44980 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44981 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44984 cat >>confdefs.h
<<\_ACEOF
44985 #define wxUSE_XRC 1
44989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44994 if test "$wxUSE_AUI" = "yes"; then
44995 cat >>confdefs.h
<<\_ACEOF
44996 #define wxUSE_AUI 1
45000 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
45003 if test "$wxUSE_MENUS" = "yes"; then
45004 cat >>confdefs.h
<<\_ACEOF
45005 #define wxUSE_MENUS 1
45008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
45011 if test "$wxUSE_METAFILE" = "yes"; then
45012 cat >>confdefs.h
<<\_ACEOF
45013 #define wxUSE_METAFILE 1
45018 if test "$wxUSE_MIMETYPE" = "yes"; then
45019 cat >>confdefs.h
<<\_ACEOF
45020 #define wxUSE_MIMETYPE 1
45025 if test "$wxUSE_MINIFRAME" = "yes"; then
45026 cat >>confdefs.h
<<\_ACEOF
45027 #define wxUSE_MINIFRAME 1
45030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
45033 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45034 cat >>confdefs.h
<<\_ACEOF
45035 #define wxUSE_SYSTEM_OPTIONS 1
45038 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45039 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45040 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
45045 if test "$wxUSE_VALIDATORS" = "yes"; then
45046 cat >>confdefs.h
<<\_ACEOF
45047 #define wxUSE_VALIDATORS 1
45050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
45053 if test "$wxUSE_PALETTE" = "yes" ; then
45054 cat >>confdefs.h
<<\_ACEOF
45055 #define wxUSE_PALETTE 1
45060 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45061 LIBS
=" -lunicows $LIBS"
45065 if test "$wxUSE_RICHTEXT" = "yes"; then
45066 cat >>confdefs.h
<<\_ACEOF
45067 #define wxUSE_RICHTEXT 1
45071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
45075 if test "$wxUSE_IMAGE" = "yes" ; then
45076 cat >>confdefs.h
<<\_ACEOF
45077 #define wxUSE_IMAGE 1
45081 if test "$wxUSE_GIF" = "yes" ; then
45082 cat >>confdefs.h
<<\_ACEOF
45083 #define wxUSE_GIF 1
45088 if test "$wxUSE_PCX" = "yes" ; then
45089 cat >>confdefs.h
<<\_ACEOF
45090 #define wxUSE_PCX 1
45095 if test "$wxUSE_IFF" = "yes" ; then
45096 cat >>confdefs.h
<<\_ACEOF
45097 #define wxUSE_IFF 1
45102 if test "$wxUSE_PNM" = "yes" ; then
45103 cat >>confdefs.h
<<\_ACEOF
45104 #define wxUSE_PNM 1
45109 if test "$wxUSE_XPM" = "yes" ; then
45110 cat >>confdefs.h
<<\_ACEOF
45111 #define wxUSE_XPM 1
45116 if test "$wxUSE_ICO_CUR" = "yes" ; then
45117 cat >>confdefs.h
<<\_ACEOF
45118 #define wxUSE_ICO_CUR 1
45125 if test "$wxUSE_CHOICEDLG" = "yes"; then
45126 cat >>confdefs.h
<<\_ACEOF
45127 #define wxUSE_CHOICEDLG 1
45132 if test "$wxUSE_COLOURDLG" = "yes"; then
45133 cat >>confdefs.h
<<\_ACEOF
45134 #define wxUSE_COLOURDLG 1
45139 if test "$wxUSE_FILEDLG" = "yes"; then
45140 cat >>confdefs.h
<<\_ACEOF
45141 #define wxUSE_FILEDLG 1
45146 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45147 cat >>confdefs.h
<<\_ACEOF
45148 #define wxUSE_FINDREPLDLG 1
45153 if test "$wxUSE_FONTDLG" = "yes"; then
45154 cat >>confdefs.h
<<\_ACEOF
45155 #define wxUSE_FONTDLG 1
45160 if test "$wxUSE_DIRDLG" = "yes"; then
45161 if test "$wxUSE_TREECTRL" != "yes"; then
45162 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45163 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45165 cat >>confdefs.h
<<\_ACEOF
45166 #define wxUSE_DIRDLG 1
45172 if test "$wxUSE_MSGDLG" = "yes"; then
45173 cat >>confdefs.h
<<\_ACEOF
45174 #define wxUSE_MSGDLG 1
45179 if test "$wxUSE_NUMBERDLG" = "yes"; then
45180 cat >>confdefs.h
<<\_ACEOF
45181 #define wxUSE_NUMBERDLG 1
45186 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45187 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45188 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45189 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45191 cat >>confdefs.h
<<\_ACEOF
45192 #define wxUSE_PROGRESSDLG 1
45198 if test "$wxUSE_SPLASH" = "yes"; then
45199 cat >>confdefs.h
<<\_ACEOF
45200 #define wxUSE_SPLASH 1
45203 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
45206 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45207 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45208 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45209 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45211 cat >>confdefs.h
<<\_ACEOF
45212 #define wxUSE_STARTUP_TIPS 1
45218 if test "$wxUSE_TEXTDLG" = "yes"; then
45219 cat >>confdefs.h
<<\_ACEOF
45220 #define wxUSE_TEXTDLG 1
45225 if test "$wxUSE_WIZARDDLG" = "yes"; then
45226 cat >>confdefs.h
<<\_ACEOF
45227 #define wxUSE_WIZARDDLG 1
45230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
45236 if test "$wxUSE_MEDIACTRL" = "yes"; then
45237 if test "$wxUSE_GTK" = 1; then
45238 wxUSE_GSTREAMER
="yes"
45240 GST_VERSION_MAJOR
=0
45241 GST_VERSION_MINOR
=10
45242 GST_VERSION_RELEASE
=0
45243 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
45244 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45246 if test "$wxUSE_GSTREAMER8" = "no"; then
45250 if test -z "$PKG_CONFIG"; then
45251 # Extract the first word of "pkg-config", so it can be a program name with args.
45252 set dummy pkg
-config; ac_word
=$2
45253 echo "$as_me:$LINENO: checking for $ac_word" >&5
45254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45255 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45256 echo $ECHO_N "(cached) $ECHO_C" >&6
45258 case $PKG_CONFIG in
45260 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
45263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45264 for as_dir
in $PATH
45267 test -z "$as_dir" && as_dir
=.
45268 for ac_exec_ext
in '' $ac_executable_extensions; do
45269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45270 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45277 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
45281 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
45283 if test -n "$PKG_CONFIG"; then
45284 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45285 echo "${ECHO_T}$PKG_CONFIG" >&6
45287 echo "$as_me:$LINENO: result: no" >&5
45288 echo "${ECHO_T}no" >&6
45293 if test "$PKG_CONFIG" = "no" ; then
45294 echo "*** The pkg-config script could not be found. Make sure it is"
45295 echo "*** in your path, or set the PKG_CONFIG environment variable"
45296 echo "*** to the full path to pkg-config."
45297 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45299 PKG_CONFIG_MIN_VERSION
=0.9.0
45300 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45301 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
45302 gstreamer-plugins-base-$GST_MAJORMINOR
45304 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
45305 gstreamer-plugins-base-$GST_MAJORMINOR
45306 gconf-2.0... $ECHO_C" >&6
45308 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
45309 gstreamer-plugins-base-$GST_MAJORMINOR
45311 echo "$as_me:$LINENO: result: yes" >&5
45312 echo "${ECHO_T}yes" >&6
45315 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45316 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45317 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
45318 gstreamer-plugins-base-$GST_MAJORMINOR
45320 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45321 echo "${ECHO_T}$GST_CFLAGS" >&6
45323 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45324 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45325 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
45326 gstreamer-plugins-base-$GST_MAJORMINOR
45328 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45329 echo "${ECHO_T}$GST_LIBS" >&6
45333 ## If we have a custom action on failure, don't print errors, but
45334 ## do set a variable so people can do so.
45335 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
45336 gstreamer-plugins-base-$GST_MAJORMINOR
45344 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45345 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45349 if test $succeeded = yes; then
45351 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45352 LIBS
="$LIBS $GST_LIBS -lgstinterfaces-$GST_MAJORMINOR"
45356 GST_VERSION_MINOR
=8
45361 GST_VERSION_MINOR
=8
45364 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
45365 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45367 if test x
$GST_VERSION_MINOR = x8
; then
45371 if test -z "$PKG_CONFIG"; then
45372 # Extract the first word of "pkg-config", so it can be a program name with args.
45373 set dummy pkg
-config; ac_word
=$2
45374 echo "$as_me:$LINENO: checking for $ac_word" >&5
45375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45376 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45377 echo $ECHO_N "(cached) $ECHO_C" >&6
45379 case $PKG_CONFIG in
45381 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
45384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45385 for as_dir
in $PATH
45388 test -z "$as_dir" && as_dir
=.
45389 for ac_exec_ext
in '' $ac_executable_extensions; do
45390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45391 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45398 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
45402 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
45404 if test -n "$PKG_CONFIG"; then
45405 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45406 echo "${ECHO_T}$PKG_CONFIG" >&6
45408 echo "$as_me:$LINENO: result: no" >&5
45409 echo "${ECHO_T}no" >&6
45414 if test "$PKG_CONFIG" = "no" ; then
45415 echo "*** The pkg-config script could not be found. Make sure it is"
45416 echo "*** in your path, or set the PKG_CONFIG environment variable"
45417 echo "*** to the full path to pkg-config."
45418 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45420 PKG_CONFIG_MIN_VERSION
=0.9.0
45421 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45422 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
45423 gstreamer-interfaces-$GST_MAJORMINOR
45424 gstreamer-gconf-$GST_MAJORMINOR" >&5
45425 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
45426 gstreamer-interfaces-$GST_MAJORMINOR
45427 gstreamer-gconf-$GST_MAJORMINOR... $ECHO_C" >&6
45429 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
45430 gstreamer-interfaces-$GST_MAJORMINOR
45431 gstreamer-gconf-$GST_MAJORMINOR" ; then
45432 echo "$as_me:$LINENO: result: yes" >&5
45433 echo "${ECHO_T}yes" >&6
45436 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45437 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45438 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
45439 gstreamer-interfaces-$GST_MAJORMINOR
45440 gstreamer-gconf-$GST_MAJORMINOR"`
45441 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45442 echo "${ECHO_T}$GST_CFLAGS" >&6
45444 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45445 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45446 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
45447 gstreamer-interfaces-$GST_MAJORMINOR
45448 gstreamer-gconf-$GST_MAJORMINOR"`
45449 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45450 echo "${ECHO_T}$GST_LIBS" >&6
45454 ## If we have a custom action on failure, don't print errors, but
45455 ## do set a variable so people can do so.
45456 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
45457 gstreamer-interfaces-$GST_MAJORMINOR
45458 gstreamer-gconf-$GST_MAJORMINOR"`
45465 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45466 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45470 if test $succeeded = yes; then
45472 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45473 LIBS
="$LIBS $GST_LIBS"
45477 { echo "$as_me:$LINENO: WARNING: Proper GStreamer .8/.10 installation not found" >&5
45478 echo "$as_me: WARNING: Proper GStreamer .8/.10 installation not found" >&2;}
45479 wxUSE_GSTREAMER
="no"
45486 if test "$wxUSE_GSTREAMER" = "yes"; then
45487 cat >>confdefs.h
<<\_ACEOF
45488 #define wxUSE_GSTREAMER 1
45491 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
45492 echo "${ECHO_T}GStreamer detection successful" >&6
45496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45497 cat >>confdefs.h
<<\_ACEOF
45498 #define wxUSE_MEDIACTRL 1
45504 if test "$cross_compiling" = "yes"; then
45507 OSINFO
=`uname -s -r -m`
45508 OSINFO
="\"$OSINFO\""
45511 cat >>confdefs.h
<<_ACEOF
45512 #define WXWIN_OS_DESCRIPTION $OSINFO
45517 if test "x$prefix" != "xNONE"; then
45520 wxPREFIX
=$ac_default_prefix
45523 cat >>confdefs.h
<<_ACEOF
45524 #define wxINSTALL_PREFIX "$wxPREFIX"
45530 CORE_BASE_LIBS
="net base"
45531 CORE_GUI_LIBS
="adv core"
45533 if test "$wxUSE_XML" = "yes" ; then
45534 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45536 if test "$wxUSE_ODBC" != "no" ; then
45537 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45538 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45540 if test "$wxUSE_HTML" = "yes" ; then
45541 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45543 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45544 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45546 if test "$wxUSE_XRC" = "yes" ; then
45547 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45549 if test "$wxUSE_AUI" = "yes" ; then
45550 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45553 if test "$wxUSE_GUI" != "yes"; then
45562 ac_cpp
='$CPP $CPPFLAGS'
45563 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45564 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45565 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45569 if test "$wxUSE_MAC" = 1 ; then
45570 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45571 if test "$USE_DARWIN" = 1; then
45572 LDFLAGS
="$LDFLAGS -framework QuickTime"
45574 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45577 if test "$USE_DARWIN" = 1; then
45578 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45580 LDFLAGS
="$LDFLAGS -lCarbonLib"
45583 if test "$wxUSE_COCOA" = 1 ; then
45584 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45585 if test "$wxUSE_MEDIACTRL" = "yes"; then
45586 LDFLAGS
="$LDFLAGS -framework QuickTime"
45589 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45590 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45593 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45595 if test "$wxUSE_GUI" = "yes"; then
45598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45599 dynamic erase event exec font image minimal mobile \
45600 mobile/wxedit mobile/styles propsize render \
45601 rotate shaped vscroll widgets"
45603 if test "$wxUSE_MONOLITHIC" != "yes"; then
45604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45606 if test "$TOOLKIT" = "MSW"; then
45607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45608 if test "$wxUSE_UNIVERSAL" != "yes"; then
45609 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45612 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45613 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45616 SAMPLES_SUBDIRS
="console"
45620 if test "x$INTELCC" = "xyes" ; then
45621 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45622 elif test "$GCC" = yes ; then
45623 CWARNINGS
="-Wall -Wundef"
45626 if test "x$INTELCXX" = "xyes" ; then
45627 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45628 elif test "$GXX" = yes ; then
45629 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45633 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45634 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45637 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45638 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45639 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45642 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45643 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45644 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45646 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45649 if test "x$MWCC" = "xyes"; then
45651 CC
="$CC -cwd source -I-"
45652 CXX
="$CXX -cwd source -I-"
45657 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45658 EXTRALIBS_XML
="$EXPAT_LINK"
45659 EXTRALIBS_HTML
="$MSPACK_LINK"
45660 EXTRALIBS_ODBC
="$ODBC_LINK"
45661 if test "$wxUSE_GUI" = "yes"; then
45662 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45664 if test "$wxUSE_OPENGL" = "yes"; then
45665 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45668 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45670 WXCONFIG_LIBS
="$LIBS"
45672 if test "$wxUSE_REGEX" = "builtin" ; then
45673 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45675 if test "$wxUSE_EXPAT" = "builtin" ; then
45676 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45678 if test "$wxUSE_ODBC" = "builtin" ; then
45679 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45681 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45682 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45684 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45685 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45687 if test "$wxUSE_LIBPNG" = "builtin" ; then
45688 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45690 if test "$wxUSE_ZLIB" = "builtin" ; then
45691 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45694 for i
in $wxconfig_3rdparty ; do
45695 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45699 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45713 if test $wxUSE_MONOLITHIC = "yes" ; then
45719 if test $wxUSE_PLUGINS = "yes" ; then
45725 if test $wxUSE_ODBC != "no" ; then
45731 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45737 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45767 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45778 TOOLKIT_USER
="GTK+"
45779 if test "$WXGTK20" = 1; then
45780 TOOLKIT_USER
="$TOOLKIT_USER 2"
45785 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45789 if test "$wxUSE_WINE" = "yes"; then
45790 BAKEFILE_FORCE_PLATFORM
=win32
45793 if test "$wxUSE_MAC" = 1 ; then
45794 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45795 CXXFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45796 CFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45797 LDFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45800 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45801 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45802 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45808 if test "x$BAKEFILE_HOST" = "x"; then
45809 if test "x${host}" = "x" ; then
45810 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45811 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45812 { (exit 1); exit 1; }; }
45815 BAKEFILE_HOST
="${host}"
45818 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45820 if test -n "$ac_tool_prefix"; then
45821 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45822 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45823 echo "$as_me:$LINENO: checking for $ac_word" >&5
45824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45825 if test "${ac_cv_prog_RANLIB+set}" = set; then
45826 echo $ECHO_N "(cached) $ECHO_C" >&6
45828 if test -n "$RANLIB"; then
45829 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45832 for as_dir
in $PATH
45835 test -z "$as_dir" && as_dir
=.
45836 for ac_exec_ext
in '' $ac_executable_extensions; do
45837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45838 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45847 RANLIB
=$ac_cv_prog_RANLIB
45848 if test -n "$RANLIB"; then
45849 echo "$as_me:$LINENO: result: $RANLIB" >&5
45850 echo "${ECHO_T}$RANLIB" >&6
45852 echo "$as_me:$LINENO: result: no" >&5
45853 echo "${ECHO_T}no" >&6
45857 if test -z "$ac_cv_prog_RANLIB"; then
45858 ac_ct_RANLIB
=$RANLIB
45859 # Extract the first word of "ranlib", so it can be a program name with args.
45860 set dummy ranlib
; ac_word
=$2
45861 echo "$as_me:$LINENO: checking for $ac_word" >&5
45862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45863 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45864 echo $ECHO_N "(cached) $ECHO_C" >&6
45866 if test -n "$ac_ct_RANLIB"; then
45867 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45870 for as_dir
in $PATH
45873 test -z "$as_dir" && as_dir
=.
45874 for ac_exec_ext
in '' $ac_executable_extensions; do
45875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45876 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45883 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45886 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45887 if test -n "$ac_ct_RANLIB"; then
45888 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45889 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45891 echo "$as_me:$LINENO: result: no" >&5
45892 echo "${ECHO_T}no" >&6
45895 RANLIB
=$ac_ct_RANLIB
45897 RANLIB
="$ac_cv_prog_RANLIB"
45900 # Find a good install program. We prefer a C program (faster),
45901 # so one script is as good as another. But avoid the broken or
45902 # incompatible versions:
45903 # SysV /etc/install, /usr/sbin/install
45904 # SunOS /usr/etc/install
45905 # IRIX /sbin/install
45907 # AmigaOS /C/install, which installs bootblocks on floppy discs
45908 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45909 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45910 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45911 # OS/2's system install, which has a completely different semantic
45912 # ./install, which can be erroneously created by make from ./install.sh.
45913 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45914 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45915 if test -z "$INSTALL"; then
45916 if test "${ac_cv_path_install+set}" = set; then
45917 echo $ECHO_N "(cached) $ECHO_C" >&6
45919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45920 for as_dir
in $PATH
45923 test -z "$as_dir" && as_dir
=.
45924 # Account for people who put trailing slashes in PATH elements.
45926 .
/ | .
// | /cC
/* | \
45927 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45928 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45931 # OSF1 and SCO ODT 3.0 have their own names for install.
45932 # Don't use installbsd from OSF since it installs stuff as root
45934 for ac_prog
in ginstall scoinst
install; do
45935 for ac_exec_ext
in '' $ac_executable_extensions; do
45936 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45937 if test $ac_prog = install &&
45938 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45939 # AIX install. It has an incompatible calling convention.
45941 elif test $ac_prog = install &&
45942 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45943 # program-specific install script used by HP pwplus--don't use.
45946 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45958 if test "${ac_cv_path_install+set}" = set; then
45959 INSTALL
=$ac_cv_path_install
45961 # As a last resort, use the slow shell script. We don't cache a
45962 # path for INSTALL within a source directory, because that will
45963 # break other packages using the cache if that directory is
45964 # removed, or if the path is relative.
45965 INSTALL
=$ac_install_sh
45968 echo "$as_me:$LINENO: result: $INSTALL" >&5
45969 echo "${ECHO_T}$INSTALL" >&6
45971 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45972 # It thinks the first close brace ends the variable substitution.
45973 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45975 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45977 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45979 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45980 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45982 if test "$LN_S" = "ln -s"; then
45983 echo "$as_me:$LINENO: result: yes" >&5
45984 echo "${ECHO_T}yes" >&6
45986 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45987 echo "${ECHO_T}no, using $LN_S" >&6
45991 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45992 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45993 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45994 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45995 echo $ECHO_N "(cached) $ECHO_C" >&6
45997 cat >conftest.
make <<\_ACEOF
45999 @
echo 'ac_maketemp="$(MAKE)"'
46001 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46002 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46003 if test -n "$ac_maketemp"; then
46004 eval ac_cv_prog_make_
${ac_make}_set
=yes
46006 eval ac_cv_prog_make_
${ac_make}_set
=no
46008 rm -f conftest.
make
46010 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46011 echo "$as_me:$LINENO: result: yes" >&5
46012 echo "${ECHO_T}yes" >&6
46015 echo "$as_me:$LINENO: result: no" >&5
46016 echo "${ECHO_T}no" >&6
46017 SET_MAKE
="MAKE=${MAKE-make}"
46022 if test -n "$ac_tool_prefix"; then
46023 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46024 set dummy
${ac_tool_prefix}ar; ac_word
=$2
46025 echo "$as_me:$LINENO: checking for $ac_word" >&5
46026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46027 if test "${ac_cv_prog_AR+set}" = set; then
46028 echo $ECHO_N "(cached) $ECHO_C" >&6
46030 if test -n "$AR"; then
46031 ac_cv_prog_AR
="$AR" # Let the user override the test.
46033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46034 for as_dir
in $PATH
46037 test -z "$as_dir" && as_dir
=.
46038 for ac_exec_ext
in '' $ac_executable_extensions; do
46039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46040 ac_cv_prog_AR
="${ac_tool_prefix}ar"
46041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46050 if test -n "$AR"; then
46051 echo "$as_me:$LINENO: result: $AR" >&5
46052 echo "${ECHO_T}$AR" >&6
46054 echo "$as_me:$LINENO: result: no" >&5
46055 echo "${ECHO_T}no" >&6
46059 if test -z "$ac_cv_prog_AR"; then
46061 # Extract the first word of "ar", so it can be a program name with args.
46062 set dummy
ar; ac_word
=$2
46063 echo "$as_me:$LINENO: checking for $ac_word" >&5
46064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46066 echo $ECHO_N "(cached) $ECHO_C" >&6
46068 if test -n "$ac_ct_AR"; then
46069 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
46071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46072 for as_dir
in $PATH
46075 test -z "$as_dir" && as_dir
=.
46076 for ac_exec_ext
in '' $ac_executable_extensions; do
46077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46078 ac_cv_prog_ac_ct_AR
="ar"
46079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46085 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
46088 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
46089 if test -n "$ac_ct_AR"; then
46090 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46091 echo "${ECHO_T}$ac_ct_AR" >&6
46093 echo "$as_me:$LINENO: result: no" >&5
46094 echo "${ECHO_T}no" >&6
46099 AR
="$ac_cv_prog_AR"
46102 if test -n "$ac_tool_prefix"; then
46103 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46104 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46105 echo "$as_me:$LINENO: checking for $ac_word" >&5
46106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46107 if test "${ac_cv_prog_STRIP+set}" = set; then
46108 echo $ECHO_N "(cached) $ECHO_C" >&6
46110 if test -n "$STRIP"; then
46111 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46114 for as_dir
in $PATH
46117 test -z "$as_dir" && as_dir
=.
46118 for ac_exec_ext
in '' $ac_executable_extensions; do
46119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46120 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46129 STRIP
=$ac_cv_prog_STRIP
46130 if test -n "$STRIP"; then
46131 echo "$as_me:$LINENO: result: $STRIP" >&5
46132 echo "${ECHO_T}$STRIP" >&6
46134 echo "$as_me:$LINENO: result: no" >&5
46135 echo "${ECHO_T}no" >&6
46139 if test -z "$ac_cv_prog_STRIP"; then
46141 # Extract the first word of "strip", so it can be a program name with args.
46142 set dummy strip
; ac_word
=$2
46143 echo "$as_me:$LINENO: checking for $ac_word" >&5
46144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46145 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46146 echo $ECHO_N "(cached) $ECHO_C" >&6
46148 if test -n "$ac_ct_STRIP"; then
46149 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46152 for as_dir
in $PATH
46155 test -z "$as_dir" && as_dir
=.
46156 for ac_exec_ext
in '' $ac_executable_extensions; do
46157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46158 ac_cv_prog_ac_ct_STRIP
="strip"
46159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46165 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
46168 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46169 if test -n "$ac_ct_STRIP"; then
46170 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46171 echo "${ECHO_T}$ac_ct_STRIP" >&6
46173 echo "$as_me:$LINENO: result: no" >&5
46174 echo "${ECHO_T}no" >&6
46179 STRIP
="$ac_cv_prog_STRIP"
46182 if test -n "$ac_tool_prefix"; then
46183 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46184 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46185 echo "$as_me:$LINENO: checking for $ac_word" >&5
46186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46187 if test "${ac_cv_prog_NM+set}" = set; then
46188 echo $ECHO_N "(cached) $ECHO_C" >&6
46190 if test -n "$NM"; then
46191 ac_cv_prog_NM
="$NM" # Let the user override the test.
46193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46194 for as_dir
in $PATH
46197 test -z "$as_dir" && as_dir
=.
46198 for ac_exec_ext
in '' $ac_executable_extensions; do
46199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46200 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46210 if test -n "$NM"; then
46211 echo "$as_me:$LINENO: result: $NM" >&5
46212 echo "${ECHO_T}$NM" >&6
46214 echo "$as_me:$LINENO: result: no" >&5
46215 echo "${ECHO_T}no" >&6
46219 if test -z "$ac_cv_prog_NM"; then
46221 # Extract the first word of "nm", so it can be a program name with args.
46222 set dummy nm
; ac_word
=$2
46223 echo "$as_me:$LINENO: checking for $ac_word" >&5
46224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46225 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46226 echo $ECHO_N "(cached) $ECHO_C" >&6
46228 if test -n "$ac_ct_NM"; then
46229 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46232 for as_dir
in $PATH
46235 test -z "$as_dir" && as_dir
=.
46236 for ac_exec_ext
in '' $ac_executable_extensions; do
46237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46238 ac_cv_prog_ac_ct_NM
="nm"
46239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46245 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
46248 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46249 if test -n "$ac_ct_NM"; then
46250 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46251 echo "${ECHO_T}$ac_ct_NM" >&6
46253 echo "$as_me:$LINENO: result: no" >&5
46254 echo "${ECHO_T}no" >&6
46259 NM
="$ac_cv_prog_NM"
46263 case ${BAKEFILE_HOST} in
46265 INSTALL_DIR
="mkdir -p"
46267 *) INSTALL_DIR
="$INSTALL -d"
46273 case ${BAKEFILE_HOST} in
46274 *-*-cygwin* | *-*-mingw32* )
46275 LDFLAGS_GUI
="-mwindows"
46281 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46282 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46283 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46284 echo $ECHO_N "(cached) $ECHO_C" >&6
46287 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46288 egrep -s GNU
> /dev
/null
); then
46289 bakefile_cv_prog_makeisgnu
="yes"
46291 bakefile_cv_prog_makeisgnu
="no"
46295 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46296 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46298 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46315 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46316 case "${BAKEFILE_HOST}" in
46323 *-pc-os2_emx | *-pc-os2-emx )
46333 powerpc
-apple-macos* )
46342 case "$BAKEFILE_FORCE_PLATFORM" in
46363 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46364 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46365 { (exit 1); exit 1; }; }
46380 # Check whether --enable-omf or --disable-omf was given.
46381 if test "${enable_omf+set}" = set; then
46382 enableval
="$enable_omf"
46383 bk_os2_use_omf
="$enableval"
46386 case "${BAKEFILE_HOST}" in
46388 if test "x$GCC" = "xyes"; then
46389 CFLAGS
="$CFLAGS -fno-common"
46390 CXXFLAGS
="$CXXFLAGS -fno-common"
46392 if test "x$XLCC" = "xyes"; then
46393 CFLAGS
="$CFLAGS -qnocommon"
46394 CXXFLAGS
="$CXXFLAGS -qnocommon"
46398 *-pc-os2_emx | *-pc-os2-emx )
46399 if test "x$bk_os2_use_omf" = "xyes" ; then
46402 LDFLAGS
="-Zomf $LDFLAGS"
46403 CFLAGS
="-Zomf $CFLAGS"
46404 CXXFLAGS
="-Zomf $CXXFLAGS"
46412 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46418 SO_SUFFIX_MODULE
="so"
46423 DLLPREFIX_MODULE
=""
46427 case "${BAKEFILE_HOST}" in
46430 SO_SUFFIX_MODULE
="sl"
46434 SO_SUFFIX_MODULE
="a"
46438 SO_SUFFIX_MODULE
="dll"
46439 DLLIMP_SUFFIX
="dll.a"
46446 SO_SUFFIX_MODULE
="dll"
46447 DLLIMP_SUFFIX
="dll.a"
46457 *-pc-os2_emx | *-pc-os2-emx )
46459 SO_SUFFIX_MODULE
="dll"
46460 DLLIMP_SUFFIX
=$OS2_LIBEXT
46464 LIBEXT
=".$OS2_LIBEXT"
46469 SO_SUFFIX_MODULE
="bundle"
46473 if test "x$DLLIMP_SUFFIX" = "x" ; then
46474 DLLIMP_SUFFIX
="$SO_SUFFIX"
46489 if test "x$GCC" = "xyes"; then
46493 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46494 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46497 case "${BAKEFILE_HOST}" in
46499 if test "x$GCC" != "xyes"; then
46500 LDFLAGS
="$LDFLAGS -L/usr/lib"
46502 SHARED_LD_CC
="${CC} -b -o"
46503 SHARED_LD_CXX
="${CXX} -b -o"
46509 if test "x$GCC" != "xyes"; then
46510 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46511 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46512 if test "${bakefile_cv_prog_icc+set}" = set; then
46513 echo $ECHO_N "(cached) $ECHO_C" >&6
46516 cat >conftest.
$ac_ext <<_ACEOF
46519 cat confdefs.h
>>conftest.
$ac_ext
46520 cat >>conftest.
$ac_ext <<_ACEOF
46521 /* end confdefs.h. */
46527 #ifndef __INTEL_COMPILER
46535 rm -f conftest.
$ac_objext
46536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46537 (eval $ac_compile) 2>conftest.er1
46539 grep -v '^ *+' conftest.er1
>conftest.err
46541 cat conftest.err
>&5
46542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46543 (exit $ac_status); } &&
46544 { ac_try
='test -z "$ac_c_werror_flag"
46545 || test ! -s conftest.err'
46546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46547 (eval $ac_try) 2>&5
46549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46550 (exit $ac_status); }; } &&
46551 { ac_try
='test -s conftest.$ac_objext'
46552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46553 (eval $ac_try) 2>&5
46555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46556 (exit $ac_status); }; }; then
46557 bakefile_cv_prog_icc
=yes
46559 echo "$as_me: failed program was:" >&5
46560 sed 's/^/| /' conftest.
$ac_ext >&5
46562 bakefile_cv_prog_icc
=no
46565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46568 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46569 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46570 if test "$bakefile_cv_prog_icc" = "yes"; then
46577 if test "x$GCC" != xyes
; then
46578 SHARED_LD_CC
="${CC} -G -o"
46579 SHARED_LD_CXX
="${CXX} -G -o"
46587 cat <<EOF >shared-ld-sh
46589 #-----------------------------------------------------------------------------
46590 #-- Name: distrib/mac/shared-ld-sh
46591 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46592 #-- Author: Gilles Depeyrot
46593 #-- Copyright: (c) 2002 Gilles Depeyrot
46594 #-- Licence: any use permitted
46595 #-----------------------------------------------------------------------------
46600 linking_flag="-dynamiclib"
46601 ldargs="-r -keep_private_externs -nostdlib"
46603 while test ${D}# -gt 0; do
46610 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46611 # collect these options and values
46612 args="${D}{args} ${D}1 ${D}2"
46617 # collect these load args
46618 ldargs="${D}{ldargs} ${D}1"
46621 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46622 # collect these options
46623 args="${D}{args} ${D}1"
46626 -dynamiclib|-bundle)
46627 linking_flag="${D}1"
46631 echo "shared-ld: unhandled option '${D}1'"
46635 *.o | *.a | *.dylib)
46636 # collect object files
46637 objects="${D}{objects} ${D}1"
46641 echo "shared-ld: unhandled argument '${D}1'"
46652 # Link one module containing all the others
46654 if test ${D}{verbose} = 1; then
46655 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46657 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46661 # Link the shared library from the single module created, but only if the
46662 # previous command didn't fail:
46664 if test ${D}{status} = 0; then
46665 if test ${D}{verbose} = 1; then
46666 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46668 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46673 # Remove intermediate module
46675 rm -f master.${D}${D}.o
46680 chmod +x shared
-ld-sh
46682 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46683 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46686 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46687 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46688 if test "${bakefile_cv_gcc31+set}" = set; then
46689 echo $ECHO_N "(cached) $ECHO_C" >&6
46692 cat >conftest.
$ac_ext <<_ACEOF
46695 cat confdefs.h
>>conftest.
$ac_ext
46696 cat >>conftest.
$ac_ext <<_ACEOF
46697 /* end confdefs.h. */
46703 #if (__GNUC__ < 3) || \
46704 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46712 rm -f conftest.
$ac_objext
46713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46714 (eval $ac_compile) 2>conftest.er1
46716 grep -v '^ *+' conftest.er1
>conftest.err
46718 cat conftest.err
>&5
46719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46720 (exit $ac_status); } &&
46721 { ac_try
='test -z "$ac_c_werror_flag"
46722 || test ! -s conftest.err'
46723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46724 (eval $ac_try) 2>&5
46726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46727 (exit $ac_status); }; } &&
46728 { ac_try
='test -s conftest.$ac_objext'
46729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46730 (eval $ac_try) 2>&5
46732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46733 (exit $ac_status); }; }; then
46735 bakefile_cv_gcc31
=yes
46738 echo "$as_me: failed program was:" >&5
46739 sed 's/^/| /' conftest.
$ac_ext >&5
46742 bakefile_cv_gcc31
=no
46746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46749 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46750 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46751 if test "$bakefile_cv_gcc31" = "no"; then
46752 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46753 SHARED_LD_CXX
="$SHARED_LD_CC"
46755 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46756 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46759 if test "x$GCC" == "xyes"; then
46760 PIC_FLAG
="-dynamic -fPIC"
46762 if test "x$XLCC" = "xyes"; then
46763 PIC_FLAG
="-dynamic -DPIC"
46768 if test "x$GCC" = "xyes"; then
46771 case "${BAKEFILE_HOST}" in
46773 LD_EXPFULL
="-Wl,-bexpfull"
46777 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46778 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46780 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46781 set dummy makeC
++SharedLib
; ac_word
=$2
46782 echo "$as_me:$LINENO: checking for $ac_word" >&5
46783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46784 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46785 echo $ECHO_N "(cached) $ECHO_C" >&6
46787 if test -n "$AIX_CXX_LD"; then
46788 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46791 for as_dir
in $PATH
46794 test -z "$as_dir" && as_dir
=.
46795 for ac_exec_ext
in '' $ac_executable_extensions; do
46796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46797 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46804 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46807 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46808 if test -n "$AIX_CXX_LD"; then
46809 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46810 echo "${ECHO_T}$AIX_CXX_LD" >&6
46812 echo "$as_me:$LINENO: result: no" >&5
46813 echo "${ECHO_T}no" >&6
46816 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46817 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46822 SHARED_LD_CC
="${LD} -nostart -o"
46823 SHARED_LD_CXX
="${LD} -nostart -o"
46827 if test "x$GCC" != "xyes"; then
46832 *-*-cygwin* | *-*-mingw32* )
46834 SHARED_LD_CC
="\$(CC) -shared -o"
46835 SHARED_LD_CXX
="\$(CXX) -shared -o"
46839 *-pc-os2_emx | *-pc-os2-emx )
46840 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46841 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46845 cat <<EOF >dllar.sh
46848 # dllar - a tool to build both a .dll and an .a file
46849 # from a set of object (.o) files for EMX/OS2.
46851 # Written by Andrew Zabolotny, bit@freya.etu.ru
46852 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46854 # This script will accept a set of files on the command line.
46855 # All the public symbols from the .o files will be exported into
46856 # a .DEF file, then linker will be run (through gcc) against them to
46857 # build a shared library consisting of all given .o files. All libraries
46858 # (.a) will be first decompressed into component .o files then act as
46859 # described above. You can optionally give a description (-d "description")
46860 # which will be put into .DLL. To see the list of accepted options (as well
46861 # as command-line format) simply run this program without options. The .DLL
46862 # is built to be imported by name (there is no guarantee that new versions
46863 # of the library you build will have same ordinals for same symbols).
46865 # dllar is free software; you can redistribute it and/or modify
46866 # it under the terms of the GNU General Public License as published by
46867 # the Free Software Foundation; either version 2, or (at your option)
46868 # any later version.
46870 # dllar is distributed in the hope that it will be useful,
46871 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46872 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46873 # GNU General Public License for more details.
46875 # You should have received a copy of the GNU General Public License
46876 # along with dllar; see the file COPYING. If not, write to the Free
46877 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46880 # To successfuly run this program you will need:
46881 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46882 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46884 # (used to build the .dll)
46886 # (used to create .def file from .o files)
46888 # (used to create .a file from .def file)
46889 # - GNU text utilites (cat, sort, uniq)
46890 # used to process emxexp output
46891 # - GNU file utilities (mv, rm)
46893 # - lxlite (optional, see flag below)
46894 # (used for general .dll cleanup)
46901 # basnam, variant of basename, which does _not_ remove the path, _iff_
46902 # second argument (suffix to remove) is given
46906 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46909 echo ${D}1 | sed 's/'${D}2'${D}//'
46912 echo "error in basnam ${D}*"
46918 # Cleanup temporary files and output
46921 for i in ${D}inputFiles ; do
46924 rm -rf \`basnam ${D}i !\`
46931 # Kill result in case of failure as there is just to many stupid make/nmake
46932 # things out there which doesn't do this.
46933 if [ ${D}# -eq 0 ]; then
46934 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46938 # Print usage and exit script with rc=1.
46940 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46941 echo ' [-name-mangler-script script.sh]'
46942 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46943 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46944 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46945 echo ' [*.o] [*.a]'
46946 echo '*> "output_file" should have no extension.'
46947 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46948 echo ' The import library name is derived from this and is set to "name".a,'
46949 echo ' unless overridden by -import'
46950 echo '*> "importlib_name" should have no extension.'
46951 echo ' If it has the .o, or .a extension, it is automatically removed.'
46952 echo ' This name is used as the import library name and may be longer and'
46953 echo ' more descriptive than the DLL name which has to follow the old '
46954 echo ' 8.3 convention of FAT.'
46955 echo '*> "script.sh may be given to override the output_file name by a'
46956 echo ' different name. It is mainly useful if the regular make process'
46957 echo ' of some package does not take into account OS/2 restriction of'
46958 echo ' DLL name lengths. It takes the importlib name as input and is'
46959 echo ' supposed to procude a shorter name as output. The script should'
46960 echo ' expect to get importlib_name without extension and should produce'
46961 echo ' a (max.) 8 letter name without extension.'
46962 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46963 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46964 echo ' These flags will be put at the start of GCC command line.'
46965 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46966 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46967 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46968 echo ' If the last character of a symbol is "*", all symbols beginning'
46969 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46970 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46971 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46972 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46973 echo ' C runtime DLLs.'
46974 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46975 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46976 echo ' unchanged to GCC at the end of command line.'
46977 echo '*> If you create a DLL from a library and you do not specify -o,'
46978 echo ' the basename for DLL and import library will be set to library name,'
46979 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46980 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46981 echo ' library will be renamed into gcc_s.a.'
46984 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46985 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46990 # Execute a command.
46991 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46992 # @Uses Whatever CleanUp() uses.
46998 if [ ${D}rcCmd -ne 0 ]; then
46999 echo "command failed, exit code="${D}rcCmd
47014 CFLAGS="-s -Zcrtdll"
47016 EXPORT_BY_ORDINALS=0
47021 case ${D}curDirS in
47025 curDirS=${D}{curDirS}"/"
47028 # Parse commandline
47031 while [ ${D}1 ]; do
47034 EXPORT_BY_ORDINALS=1;
47044 -name-mangler-script)
47065 exclude_symbols=${D}{exclude_symbols}${D}1" "
47069 library_flags=${D}{library_flags}${D}1" "
47088 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47091 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47092 if [ ${D}omfLinking -eq 1 ]; then
47093 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47095 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47100 if [ ${D}libsToLink -ne 0 ]; then
47101 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47103 for file in ${D}1 ; do
47104 if [ -f ${D}file ]; then
47105 inputFiles="${D}{inputFiles} ${D}file"
47109 if [ ${D}found -eq 0 ]; then
47110 echo "ERROR: No file(s) found: "${D}1
47117 done # iterate cmdline words
47120 if [ -z "${D}inputFiles" ]; then
47121 echo "dllar: no input files"
47125 # Now extract all .o files from .a files
47127 for file in ${D}inputFiles ; do
47138 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47143 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47145 if [ ${D}? -ne 0 ]; then
47146 echo "Failed to create subdirectory ./${D}dirname"
47150 # Append '!' to indicate archive
47151 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47152 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47155 for subfile in ${D}dirname/*.o* ; do
47156 if [ -f ${D}subfile ]; then
47158 if [ -s ${D}subfile ]; then
47159 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47160 newInputFiles="${D}newInputFiles ${D}subfile"
47164 if [ ${D}found -eq 0 ]; then
47165 echo "WARNING: there are no files in archive \\'${D}file\\'"
47169 newInputFiles="${D}{newInputFiles} ${D}file"
47173 inputFiles="${D}newInputFiles"
47175 # Output filename(s).
47177 if [ -z ${D}outFile ]; then
47179 set outFile ${D}inputFiles; outFile=${D}2
47182 # If it is an archive, remove the '!' and the '_%' suffixes
47183 case ${D}outFile in
47185 outFile=\`basnam ${D}outFile _%!\`
47190 case ${D}outFile in
47192 outFile=\`basnam ${D}outFile .dll\`
47195 outFile=\`basnam ${D}outFile .DLL\`
47198 outFile=\`basnam ${D}outFile .o\`
47201 outFile=\`basnam ${D}outFile .obj\`
47204 outFile=\`basnam ${D}outFile .a\`
47207 outFile=\`basnam ${D}outFile .lib\`
47212 case ${D}outimpFile in
47214 outimpFile=\`basnam ${D}outimpFile .a\`
47217 outimpFile=\`basnam ${D}outimpFile .lib\`
47222 if [ -z ${D}outimpFile ]; then
47223 outimpFile=${D}outFile
47225 defFile="${D}{outFile}.def"
47226 arcFile="${D}{outimpFile}.a"
47227 arcFile2="${D}{outimpFile}.lib"
47229 #create ${D}dllFile as something matching 8.3 restrictions,
47230 if [ -z ${D}renameScript ] ; then
47231 dllFile="${D}outFile"
47233 dllFile=\`${D}renameScript ${D}outimpFile\`
47236 if [ ${D}do_backup -ne 0 ] ; then
47237 if [ -f ${D}arcFile ] ; then
47238 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47240 if [ -f ${D}arcFile2 ] ; then
47241 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47245 # Extract public symbols from all the object files.
47246 tmpdefFile=${D}{defFile}_%
47247 rm -f ${D}tmpdefFile
47248 for file in ${D}inputFiles ; do
47253 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47258 # Create the def file.
47260 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47261 dllFile="${D}{dllFile}.dll"
47262 if [ ! -z ${D}description ]; then
47263 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47265 echo "EXPORTS" >> ${D}defFile
47267 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47268 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47270 # Checks if the export is ok or not.
47271 for word in ${D}exclude_symbols; do
47272 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47273 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47277 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47278 sed "=" < ${D}tmpdefFile | \\
47282 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47284 ' > ${D}{tmpdefFile}%
47285 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47287 rm -f ${D}{tmpdefFile}%
47289 cat ${D}tmpdefFile >> ${D}defFile
47290 rm -f ${D}tmpdefFile
47292 # Do linking, create implib, and apply lxlite.
47294 for file in ${D}inputFiles ; do
47299 gccCmdl="${D}gccCmdl ${D}file"
47303 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47304 touch "${D}{outFile}.dll"
47306 doCommand "emximp -o ${D}arcFile ${D}defFile"
47307 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47309 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47312 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47314 doCommand "emxomf -s -l ${D}arcFile"
47324 powerpc
-apple-macos* | \
47325 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47334 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47335 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47336 { (exit 1); exit 1; }; }
47339 if test "x$PIC_FLAG" != "x" ; then
47340 PIC_FLAG
="$PIC_FLAG -DPIC"
47343 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47344 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47346 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47347 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47366 case "${BAKEFILE_HOST}" in
47367 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47368 SONAME_FLAG
="-Wl,-soname,"
47402 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47403 if test "${enable_dependency_tracking+set}" = set; then
47404 enableval
="$enable_dependency_tracking"
47405 bk_use_trackdeps
="$enableval"
47408 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47409 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47411 if test "x$bk_use_trackdeps" = "xno" ; then
47413 echo "$as_me:$LINENO: result: disabled" >&5
47414 echo "${ECHO_T}disabled" >&6
47418 if test "x$GCC" = "xyes"; then
47420 case "${BAKEFILE_HOST}" in
47422 DEPSFLAG
="-no-cpp-precomp -MMD"
47428 echo "$as_me:$LINENO: result: gcc" >&5
47429 echo "${ECHO_T}gcc" >&6
47430 elif test "x$MWCC" = "xyes"; then
47433 echo "$as_me:$LINENO: result: mwcc" >&5
47434 echo "${ECHO_T}mwcc" >&6
47435 elif test "x$SUNCC" = "xyes"; then
47438 echo "$as_me:$LINENO: result: Sun cc" >&5
47439 echo "${ECHO_T}Sun cc" >&6
47440 elif test "x$SGICC" = "xyes"; then
47443 echo "$as_me:$LINENO: result: SGI cc" >&5
47444 echo "${ECHO_T}SGI cc" >&6
47445 elif test "x$HPCC" = "xyes"; then
47448 echo "$as_me:$LINENO: result: HP cc" >&5
47449 echo "${ECHO_T}HP cc" >&6
47450 elif test "x$COMPAQCC" = "xyes"; then
47453 echo "$as_me:$LINENO: result: Compaq cc" >&5
47454 echo "${ECHO_T}Compaq cc" >&6
47457 echo "$as_me:$LINENO: result: none" >&5
47458 echo "${ECHO_T}none" >&6
47461 if test $DEPS_TRACKING = 1 ; then
47467 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47468 # script. It is used to track C/C++ files dependencies in portable way.
47470 # Permission is given to use this file in any way.
47472 DEPSMODE=${DEPSMODE}
47474 DEPSFLAG="${DEPSFLAG}"
47476 mkdir -p ${D}DEPSDIR
47478 if test ${D}DEPSMODE = gcc ; then
47479 ${D}* ${D}{DEPSFLAG}
47481 if test ${D}{status} != 0 ; then
47484 # move created file to the location we want it in:
47485 while test ${D}# -gt 0; do
47499 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47500 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47501 if test -f ${D}depfile ; then
47502 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47505 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47506 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47507 if test ! -f ${D}depfile ; then
47508 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47509 depfile="${D}objfile.d"
47511 if test -f ${D}depfile ; then
47512 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47517 elif test ${D}DEPSMODE = mwcc ; then
47518 ${D}* || exit ${D}?
47519 # Run mwcc again with -MM and redirect into the dep file we want
47520 # NOTE: We can't use shift here because we need ${D}* to be valid
47522 for arg in ${D}* ; do
47523 if test "${D}prevarg" = "-o"; then
47536 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47538 elif test ${D}DEPSMODE = unixcc; then
47539 ${D}* || exit ${D}?
47540 # Run compiler again with deps flag and redirect into the dep file.
47541 # It doesn't work if the '-o FILE' option is used, but without it the
47542 # dependency file will contain the wrong name for the object. So it is
47543 # removed from the command line, and the dep file is fixed with sed.
47545 while test ${D}# -gt 0; do
47552 eval arg${D}#=\\${D}1
47553 cmd="${D}cmd \\${D}arg${D}#"
47558 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47573 case ${BAKEFILE_HOST} in
47574 *-*-cygwin* | *-*-mingw32* )
47575 if test -n "$ac_tool_prefix"; then
47576 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47577 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47578 echo "$as_me:$LINENO: checking for $ac_word" >&5
47579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47580 if test "${ac_cv_prog_WINDRES+set}" = set; then
47581 echo $ECHO_N "(cached) $ECHO_C" >&6
47583 if test -n "$WINDRES"; then
47584 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47587 for as_dir
in $PATH
47590 test -z "$as_dir" && as_dir
=.
47591 for ac_exec_ext
in '' $ac_executable_extensions; do
47592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47593 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47602 WINDRES
=$ac_cv_prog_WINDRES
47603 if test -n "$WINDRES"; then
47604 echo "$as_me:$LINENO: result: $WINDRES" >&5
47605 echo "${ECHO_T}$WINDRES" >&6
47607 echo "$as_me:$LINENO: result: no" >&5
47608 echo "${ECHO_T}no" >&6
47612 if test -z "$ac_cv_prog_WINDRES"; then
47613 ac_ct_WINDRES
=$WINDRES
47614 # Extract the first word of "windres", so it can be a program name with args.
47615 set dummy windres
; ac_word
=$2
47616 echo "$as_me:$LINENO: checking for $ac_word" >&5
47617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47618 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47619 echo $ECHO_N "(cached) $ECHO_C" >&6
47621 if test -n "$ac_ct_WINDRES"; then
47622 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47625 for as_dir
in $PATH
47628 test -z "$as_dir" && as_dir
=.
47629 for ac_exec_ext
in '' $ac_executable_extensions; do
47630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47631 ac_cv_prog_ac_ct_WINDRES
="windres"
47632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47640 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47641 if test -n "$ac_ct_WINDRES"; then
47642 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47643 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47645 echo "$as_me:$LINENO: result: no" >&5
47646 echo "${ECHO_T}no" >&6
47649 WINDRES
=$ac_ct_WINDRES
47651 WINDRES
="$ac_cv_prog_WINDRES"
47656 *-*-darwin* | powerpc
-apple-macos* )
47657 # Extract the first word of "Rez", so it can be a program name with args.
47658 set dummy Rez
; ac_word
=$2
47659 echo "$as_me:$LINENO: checking for $ac_word" >&5
47660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47661 if test "${ac_cv_prog_REZ+set}" = set; then
47662 echo $ECHO_N "(cached) $ECHO_C" >&6
47664 if test -n "$REZ"; then
47665 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47668 for as_dir
in $PATH
47671 test -z "$as_dir" && as_dir
=.
47672 for ac_exec_ext
in '' $ac_executable_extensions; do
47673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47674 ac_cv_prog_REZ
="Rez"
47675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47681 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47684 REZ
=$ac_cv_prog_REZ
47685 if test -n "$REZ"; then
47686 echo "$as_me:$LINENO: result: $REZ" >&5
47687 echo "${ECHO_T}$REZ" >&6
47689 echo "$as_me:$LINENO: result: no" >&5
47690 echo "${ECHO_T}no" >&6
47693 # Extract the first word of "SetFile", so it can be a program name with args.
47694 set dummy SetFile
; 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_SETFILE+set}" = set; then
47698 echo $ECHO_N "(cached) $ECHO_C" >&6
47700 if test -n "$SETFILE"; then
47701 ac_cv_prog_SETFILE
="$SETFILE" # 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_SETFILE
="SetFile"
47711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47717 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47720 SETFILE
=$ac_cv_prog_SETFILE
47721 if test -n "$SETFILE"; then
47722 echo "$as_me:$LINENO: result: $SETFILE" >&5
47723 echo "${ECHO_T}$SETFILE" >&6
47725 echo "$as_me:$LINENO: result: no" >&5
47726 echo "${ECHO_T}no" >&6
47737 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
47740 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
47744 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47745 if test "${enable_precomp_headers+set}" = set; then
47746 enableval
="$enable_precomp_headers"
47747 bk_use_pch
="$enableval"
47754 case ${BAKEFILE_HOST} in
47760 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47761 if test "x$GCC" = "xyes"; then
47762 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47763 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47764 cat >conftest.
$ac_ext <<_ACEOF
47767 cat confdefs.h
>>conftest.
$ac_ext
47768 cat >>conftest.
$ac_ext <<_ACEOF
47769 /* end confdefs.h. */
47775 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47776 There is no PCH support
47779 There is no PCH support
47781 #if (__GNUC__ == 3) && \
47782 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47783 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47784 ( defined(__INTEL_COMPILER) )
47785 There is no PCH support
47792 rm -f conftest.
$ac_objext
47793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47794 (eval $ac_compile) 2>conftest.er1
47796 grep -v '^ *+' conftest.er1
>conftest.err
47798 cat conftest.err
>&5
47799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47800 (exit $ac_status); } &&
47801 { ac_try
='test -z "$ac_c_werror_flag"
47802 || test ! -s conftest.err'
47803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47804 (eval $ac_try) 2>&5
47806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47807 (exit $ac_status); }; } &&
47808 { ac_try
='test -s conftest.$ac_objext'
47809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47810 (eval $ac_try) 2>&5
47812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47813 (exit $ac_status); }; }; then
47815 echo "$as_me:$LINENO: result: yes" >&5
47816 echo "${ECHO_T}yes" >&6
47820 echo "$as_me: failed program was:" >&5
47821 sed 's/^/| /' conftest.
$ac_ext >&5
47824 cat >conftest.
$ac_ext <<_ACEOF
47827 cat confdefs.h
>>conftest.
$ac_ext
47828 cat >>conftest.
$ac_ext <<_ACEOF
47829 /* end confdefs.h. */
47835 #if !defined(__INTEL_COMPILER) || \
47836 (__INTEL_COMPILER < 800)
47837 There is no PCH support
47844 rm -f conftest.
$ac_objext
47845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47846 (eval $ac_compile) 2>conftest.er1
47848 grep -v '^ *+' conftest.er1
>conftest.err
47850 cat conftest.err
>&5
47851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47852 (exit $ac_status); } &&
47853 { ac_try
='test -z "$ac_c_werror_flag"
47854 || test ! -s conftest.err'
47855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47856 (eval $ac_try) 2>&5
47858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47859 (exit $ac_status); }; } &&
47860 { ac_try
='test -s conftest.$ac_objext'
47861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47862 (eval $ac_try) 2>&5
47864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47865 (exit $ac_status); }; }; then
47867 echo "$as_me:$LINENO: result: yes" >&5
47868 echo "${ECHO_T}yes" >&6
47872 echo "$as_me: failed program was:" >&5
47873 sed 's/^/| /' conftest.
$ac_ext >&5
47876 echo "$as_me:$LINENO: result: no" >&5
47877 echo "${ECHO_T}no" >&6
47880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47884 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47888 cat <<EOF >bk-make-pch
47891 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47892 # script. It is used to generated precompiled headers.
47894 # Permission is given to use this file in any way.
47904 while test ${D}{#} -gt 0; do
47908 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47909 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47910 headerfile="${D}{incdir}/${D}{header}"
47913 -use-pch|-use_pch )
47918 if test ${D}add_to_cmdline = 1 ; then
47919 compiler="${D}{compiler} ${D}{1}"
47924 if test "x${D}{headerfile}" = "x" ; then
47925 echo "error: can't find header ${D}{header} in include paths" >&2
47927 if test -f ${D}{outfile} ; then
47928 rm -f ${D}{outfile}
47930 mkdir -p \`dirname ${D}{outfile}\`
47932 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47934 if test "x${GCC_PCH}" = "x1" ; then
47935 # can do this because gcc is >= 3.4:
47936 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47937 elif test "x${ICC_PCH}" = "x1" ; then
47938 filename=pch_gen-${D}${D}
47939 file=${D}{filename}.c
47940 dfile=${D}{filename}.d
47941 cat > ${D}file <<EOT
47942 #include "${D}header"
47944 # using -MF icc complains about differing command lines in creation/use
47945 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47946 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47947 rm -f ${D}file ${D}dfile ${D}{filename}.o
47953 chmod +x bk
-make-pch
47961 COND_BUILD_DEBUG
="#"
47962 if test "x$BUILD" = "xdebug" ; then
47963 COND_BUILD_DEBUG
=""
47966 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47967 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47968 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47971 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47972 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47973 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47976 COND_BUILD_DEBUG_UNICODE_0
="#"
47977 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47978 COND_BUILD_DEBUG_UNICODE_0
=""
47981 COND_BUILD_DEBUG_UNICODE_1
="#"
47982 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47983 COND_BUILD_DEBUG_UNICODE_1
=""
47986 COND_BUILD_RELEASE
="#"
47987 if test "x$BUILD" = "xrelease" ; then
47988 COND_BUILD_RELEASE
=""
47991 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47992 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47993 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47996 COND_BUILD_RELEASE_UNICODE_0
="#"
47997 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47998 COND_BUILD_RELEASE_UNICODE_0
=""
48001 COND_BUILD_RELEASE_UNICODE_1
="#"
48002 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48003 COND_BUILD_RELEASE_UNICODE_1
=""
48006 COND_DEBUG_FLAG_1
="#"
48007 if test "x$DEBUG_FLAG" = "x1" ; then
48008 COND_DEBUG_FLAG_1
=""
48011 COND_DEBUG_INFO_0
="#"
48012 if test "x$DEBUG_INFO" = "x0" ; then
48013 COND_DEBUG_INFO_0
=""
48016 COND_DEBUG_INFO_1
="#"
48017 if test "x$DEBUG_INFO" = "x1" ; then
48018 COND_DEBUG_INFO_1
=""
48021 COND_DEPS_TRACKING_0
="#"
48022 if test "x$DEPS_TRACKING" = "x0" ; then
48023 COND_DEPS_TRACKING_0
=""
48026 COND_DEPS_TRACKING_1
="#"
48027 if test "x$DEPS_TRACKING" = "x1" ; then
48028 COND_DEPS_TRACKING_1
=""
48032 if test "x$GCC_PCH" = "x1" ; then
48037 if test "x$ICC_PCH" = "x1" ; then
48041 COND_MONOLITHIC_0
="#"
48042 if test "x$MONOLITHIC" = "x0" ; then
48043 COND_MONOLITHIC_0
=""
48046 COND_MONOLITHIC_0_SHARED_0
="#"
48047 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48048 COND_MONOLITHIC_0_SHARED_0
=""
48051 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48052 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48053 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48056 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48058 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48061 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48062 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48063 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48066 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48067 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48068 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48071 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48072 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48073 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
48076 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48078 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48081 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
48082 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48083 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
48086 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48087 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48088 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48091 COND_MONOLITHIC_0_SHARED_1
="#"
48092 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48093 COND_MONOLITHIC_0_SHARED_1
=""
48096 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48097 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48098 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48101 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48102 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48103 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48106 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48107 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48108 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48111 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48112 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48116 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48117 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48118 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48121 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48122 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48123 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48126 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48127 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48128 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48131 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48132 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48133 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48136 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48137 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48138 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48141 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48142 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48143 COND_MONOLITHIC_0_USE_ODBC_1
=""
48146 COND_MONOLITHIC_1
="#"
48147 if test "x$MONOLITHIC" = "x1" ; then
48148 COND_MONOLITHIC_1
=""
48151 COND_MONOLITHIC_1_SHARED_0
="#"
48152 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48153 COND_MONOLITHIC_1_SHARED_0
=""
48156 COND_MONOLITHIC_1_SHARED_1
="#"
48157 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48158 COND_MONOLITHIC_1_SHARED_1
=""
48161 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48162 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48163 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48166 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48167 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48168 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48171 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48172 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48173 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48176 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48177 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48178 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48181 COND_PLATFORM_MACOSX_1
="#"
48182 if test "x$PLATFORM_MACOSX" = "x1" ; then
48183 COND_PLATFORM_MACOSX_1
=""
48186 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48187 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48188 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48191 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48192 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48193 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48196 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48197 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48198 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48201 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48202 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48203 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48206 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48207 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48208 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48211 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48212 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48213 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48216 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48217 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48218 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48221 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48222 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48223 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48226 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48227 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48228 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48231 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48232 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48233 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48236 COND_PLATFORM_MACOS_1
="#"
48237 if test "x$PLATFORM_MACOS" = "x1" ; then
48238 COND_PLATFORM_MACOS_1
=""
48241 COND_PLATFORM_MAC_1
="#"
48242 if test "x$PLATFORM_MAC" = "x1" ; then
48243 COND_PLATFORM_MAC_1
=""
48246 COND_PLATFORM_MSDOS_0
="#"
48247 if test "x$PLATFORM_MSDOS" = "x0" ; then
48248 COND_PLATFORM_MSDOS_0
=""
48251 COND_PLATFORM_MSDOS_1
="#"
48252 if test "x$PLATFORM_MSDOS" = "x1" ; then
48253 COND_PLATFORM_MSDOS_1
=""
48256 COND_PLATFORM_OS2_1
="#"
48257 if test "x$PLATFORM_OS2" = "x1" ; then
48258 COND_PLATFORM_OS2_1
=""
48261 COND_PLATFORM_UNIX_0
="#"
48262 if test "x$PLATFORM_UNIX" = "x0" ; then
48263 COND_PLATFORM_UNIX_0
=""
48266 COND_PLATFORM_UNIX_1
="#"
48267 if test "x$PLATFORM_UNIX" = "x1" ; then
48268 COND_PLATFORM_UNIX_1
=""
48271 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48272 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48273 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48276 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48277 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48278 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48281 COND_PLATFORM_WIN32_0
="#"
48282 if test "x$PLATFORM_WIN32" = "x0" ; then
48283 COND_PLATFORM_WIN32_0
=""
48286 COND_PLATFORM_WIN32_1
="#"
48287 if test "x$PLATFORM_WIN32" = "x1" ; then
48288 COND_PLATFORM_WIN32_1
=""
48292 if test "x$SHARED" = "x0" ; then
48296 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48297 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48298 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48301 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48302 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48303 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48306 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48307 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48308 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48311 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48312 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48313 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48316 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48317 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48318 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48321 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48322 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48323 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48326 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48327 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48328 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48331 COND_SHARED_0_USE_XRC_1
="#"
48332 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48333 COND_SHARED_0_USE_XRC_1
=""
48336 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48337 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48338 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48341 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48342 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48343 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48346 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48347 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48348 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48351 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48352 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48353 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48357 if test "x$SHARED" = "x1" ; then
48361 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48362 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48363 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48366 COND_SHARED_1_USE_XRC_1
="#"
48367 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48368 COND_SHARED_1_USE_XRC_1
=""
48372 if test "x$TOOLKIT" = "x" ; then
48376 COND_TOOLKIT_COCOA
="#"
48377 if test "x$TOOLKIT" = "xCOCOA" ; then
48378 COND_TOOLKIT_COCOA
=""
48381 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48382 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48383 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48386 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48387 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48388 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48391 COND_TOOLKIT_GTK
="#"
48392 if test "x$TOOLKIT" = "xGTK" ; then
48393 COND_TOOLKIT_GTK
=""
48396 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48397 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48398 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48401 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48402 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48403 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48406 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48407 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48408 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48411 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48412 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48413 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48416 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48417 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48418 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48421 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48422 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48423 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48426 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48427 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48428 COND_TOOLKIT_GTK_USE_GUI_1
=""
48431 COND_TOOLKIT_MAC
="#"
48432 if test "x$TOOLKIT" = "xMAC" ; then
48433 COND_TOOLKIT_MAC
=""
48436 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48437 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48438 COND_TOOLKIT_MAC_USE_GUI_1
=""
48441 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48442 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48443 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48446 COND_TOOLKIT_MGL
="#"
48447 if test "x$TOOLKIT" = "xMGL" ; then
48448 COND_TOOLKIT_MGL
=""
48451 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48452 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48453 COND_TOOLKIT_MGL_USE_GUI_1
=""
48456 COND_TOOLKIT_MOTIF
="#"
48457 if test "x$TOOLKIT" = "xMOTIF" ; then
48458 COND_TOOLKIT_MOTIF
=""
48461 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48462 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48463 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48466 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48467 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48468 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48471 COND_TOOLKIT_MSW
="#"
48472 if test "x$TOOLKIT" = "xMSW" ; then
48473 COND_TOOLKIT_MSW
=""
48476 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48477 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48478 COND_TOOLKIT_MSW_USE_GUI_1
=""
48481 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48482 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48483 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48486 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48487 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48488 COND_TOOLKIT_MSW_WXUNIV_0
=""
48491 COND_TOOLKIT_PM
="#"
48492 if test "x$TOOLKIT" = "xPM" ; then
48496 COND_TOOLKIT_PM_USE_GUI_1
="#"
48497 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48498 COND_TOOLKIT_PM_USE_GUI_1
=""
48501 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48502 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48503 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48506 COND_TOOLKIT_WINCE
="#"
48507 if test "x$TOOLKIT" = "xWINCE" ; then
48508 COND_TOOLKIT_WINCE
=""
48511 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48512 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48513 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48516 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48517 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48518 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48521 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48522 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48523 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48526 COND_TOOLKIT_X11
="#"
48527 if test "x$TOOLKIT" = "xX11" ; then
48528 COND_TOOLKIT_X11
=""
48531 COND_TOOLKIT_X11_USE_GUI_1
="#"
48532 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48533 COND_TOOLKIT_X11_USE_GUI_1
=""
48537 if test "x$UNICODE" = "x1" ; then
48541 COND_USE_EXCEPTIONS_0
="#"
48542 if test "x$USE_EXCEPTIONS" = "x0" ; then
48543 COND_USE_EXCEPTIONS_0
=""
48546 COND_USE_EXCEPTIONS_1
="#"
48547 if test "x$USE_EXCEPTIONS" = "x1" ; then
48548 COND_USE_EXCEPTIONS_1
=""
48552 if test "x$USE_GUI" = "x0" ; then
48557 if test "x$USE_GUI" = "x1" ; then
48561 COND_USE_GUI_1_WXUNIV_0
="#"
48562 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48563 COND_USE_GUI_1_WXUNIV_0
=""
48566 COND_USE_GUI_1_WXUNIV_1
="#"
48567 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48568 COND_USE_GUI_1_WXUNIV_1
=""
48571 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48572 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48573 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48576 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48577 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48578 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48581 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48582 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48583 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48586 COND_USE_ODBC_1
="#"
48587 if test "x$USE_ODBC" = "x1" ; then
48591 COND_USE_OPENGL_1
="#"
48592 if test "x$USE_OPENGL" = "x1" ; then
48593 COND_USE_OPENGL_1
=""
48597 if test "x$USE_PCH" = "x1" ; then
48601 COND_USE_PLUGINS_0
="#"
48602 if test "x$USE_PLUGINS" = "x0" ; then
48603 COND_USE_PLUGINS_0
=""
48606 COND_USE_RTTI_0
="#"
48607 if test "x$USE_RTTI" = "x0" ; then
48611 COND_USE_RTTI_1
="#"
48612 if test "x$USE_RTTI" = "x1" ; then
48616 COND_USE_SOSYMLINKS_1
="#"
48617 if test "x$USE_SOSYMLINKS" = "x1" ; then
48618 COND_USE_SOSYMLINKS_1
=""
48621 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48622 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48623 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48626 COND_USE_SOVERLINUX_1
="#"
48627 if test "x$USE_SOVERLINUX" = "x1" ; then
48628 COND_USE_SOVERLINUX_1
=""
48631 COND_USE_SOVERSION_0
="#"
48632 if test "x$USE_SOVERSION" = "x0" ; then
48633 COND_USE_SOVERSION_0
=""
48636 COND_USE_SOVERSOLARIS_1
="#"
48637 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48638 COND_USE_SOVERSOLARIS_1
=""
48641 COND_USE_THREADS_0
="#"
48642 if test "x$USE_THREADS" = "x0" ; then
48643 COND_USE_THREADS_0
=""
48646 COND_USE_THREADS_1
="#"
48647 if test "x$USE_THREADS" = "x1" ; then
48648 COND_USE_THREADS_1
=""
48652 if test "x$USE_XRC" = "x1" ; then
48656 COND_WINDOWS_IMPLIB_1
="#"
48657 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48658 COND_WINDOWS_IMPLIB_1
=""
48661 COND_WITH_PLUGIN_SDL_1
="#"
48662 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48663 COND_WITH_PLUGIN_SDL_1
=""
48667 if test "x$WXUNIV" = "x0" ; then
48672 if test "x$WXUNIV" = "x1" ; then
48676 COND_WXUSE_EXPAT_BUILTIN
="#"
48677 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48678 COND_WXUSE_EXPAT_BUILTIN
=""
48681 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48682 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48683 COND_WXUSE_LIBJPEG_BUILTIN
=""
48686 COND_WXUSE_LIBPNG_BUILTIN
="#"
48687 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48688 COND_WXUSE_LIBPNG_BUILTIN
=""
48691 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48692 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48693 COND_WXUSE_LIBTIFF_BUILTIN
=""
48696 COND_WXUSE_ODBC_BUILTIN
="#"
48697 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48698 COND_WXUSE_ODBC_BUILTIN
=""
48701 COND_WXUSE_REGEX_BUILTIN
="#"
48702 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48703 COND_WXUSE_REGEX_BUILTIN
=""
48706 COND_WXUSE_ZLIB_BUILTIN
="#"
48707 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48708 COND_WXUSE_ZLIB_BUILTIN
=""
48713 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48714 { { 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
48715 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;}
48716 { (exit 1); exit 1; }; }
48719 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48720 { { 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
48721 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;}
48722 { (exit 1); exit 1; }; }
48727 if test "$wxUSE_MAC" = 1 ; then
48728 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48729 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48735 if test "$wxUSE_SHARED" = "yes"; then
48737 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48738 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48741 *-pc-os2_emx | *-pc-os2-emx )
48742 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48743 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48744 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48745 cp -p ${srcdir}/src
/os
2/dllar.sh .
48750 EXE_LINKER
="$CXX -o"
48753 if test "$wxUSE_OMF" = "yes"; then
48755 *-pc-os2_emx | *-pc-os2-emx )
48756 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48757 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48758 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48763 if test $GCC_PCH = 1 ; then
48764 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48767 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48769 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48831 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48832 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48833 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48834 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48835 echo $ECHO_N "(cached) $ECHO_C" >&6
48837 cat >conftest.
make <<\_ACEOF
48839 @
echo 'ac_maketemp="$(MAKE)"'
48841 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48842 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48843 if test -n "$ac_maketemp"; then
48844 eval ac_cv_prog_make_
${ac_make}_set
=yes
48846 eval ac_cv_prog_make_
${ac_make}_set
=no
48848 rm -f conftest.
make
48850 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48851 echo "$as_me:$LINENO: result: yes" >&5
48852 echo "${ECHO_T}yes" >&6
48855 echo "$as_me:$LINENO: result: no" >&5
48856 echo "${ECHO_T}no" >&6
48857 SET_MAKE
="MAKE=${MAKE-make}"
48862 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48865 if test "$USE_WIN32" = 1; then
48866 ac_config_commands
="$ac_config_commands
48872 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48875 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48878 ac_config_files
="$ac_config_files version-script Makefile"
48881 ac_config_commands
="$ac_config_commands wx-config"
48885 if test "$wxWITH_SUBDIRS" != "no"; then
48886 if test "$wxUSE_GUI" = "yes"; then
48887 SUBDIRS
="samples demos utils contrib"
48888 else SUBDIRS
="samples utils"
48893 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48894 if test "${with_cppunit_prefix+set}" = set; then
48895 withval
="$with_cppunit_prefix"
48896 cppunit_config_prefix
="$withval"
48898 cppunit_config_prefix
=""
48901 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48902 if test "${with_cppunit_exec_prefix+set}" = set; then
48903 withval
="$with_cppunit_exec_prefix"
48904 cppunit_config_exec_prefix
="$withval"
48906 cppunit_config_exec_prefix
=""
48909 if test x
$cppunit_config_exec_prefix != x
; then
48910 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48911 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48912 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48915 if test x
$cppunit_config_prefix != x
; then
48916 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48917 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48918 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48922 # Extract the first word of "cppunit-config", so it can be a program name with args.
48923 set dummy cppunit
-config; ac_word
=$2
48924 echo "$as_me:$LINENO: checking for $ac_word" >&5
48925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48926 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48927 echo $ECHO_N "(cached) $ECHO_C" >&6
48929 case $CPPUNIT_CONFIG in
48931 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48935 for as_dir
in $PATH
48938 test -z "$as_dir" && as_dir
=.
48939 for ac_exec_ext
in '' $ac_executable_extensions; do
48940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48941 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48948 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48952 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48954 if test -n "$CPPUNIT_CONFIG"; then
48955 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48956 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48958 echo "$as_me:$LINENO: result: no" >&5
48959 echo "${ECHO_T}no" >&6
48962 cppunit_version_min
=1.8.0
48964 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48965 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48967 if test "$CPPUNIT_CONFIG" = "no" ; then
48970 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48971 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48972 cppunit_version
=`$CPPUNIT_CONFIG --version`
48974 cppunit_major_version
=`echo $cppunit_version | \
48975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48976 cppunit_minor_version
=`echo $cppunit_version | \
48977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48978 cppunit_micro_version
=`echo $cppunit_version | \
48979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48981 cppunit_major_min
=`echo $cppunit_version_min | \
48982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48983 cppunit_minor_min
=`echo $cppunit_version_min | \
48984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48985 cppunit_micro_min
=`echo $cppunit_version_min | \
48986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48988 cppunit_version_proper
=`expr \
48989 $cppunit_major_version \> $cppunit_major_min \| \
48990 $cppunit_major_version \= $cppunit_major_min \& \
48991 $cppunit_minor_version \> $cppunit_minor_min \| \
48992 $cppunit_major_version \= $cppunit_major_min \& \
48993 $cppunit_minor_version \= $cppunit_minor_min \& \
48994 $cppunit_micro_version \>= $cppunit_micro_min `
48996 if test "$cppunit_version_proper" = "1" ; then
48997 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48998 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49000 echo "$as_me:$LINENO: result: no" >&5
49001 echo "${ECHO_T}no" >&6
49006 if test "x$no_cppunit" = x
; then
49007 SUBDIRS
="$SUBDIRS tests"
49018 for subdir
in `echo $SUBDIRS`; do
49019 if test -d ${srcdir}/${subdir} ; then
49020 if test "$wxUSE_GUI" = "yes"; then
49021 if test ${subdir} = "samples"; then
49022 makefiles
="samples/Makefile.in $makefiles"
49023 for sample
in `echo $SAMPLES_SUBDIRS`; do
49024 if test -d $srcdir/samples
/$sample; then
49025 makefiles
="samples/$sample/Makefile.in $makefiles"
49029 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49030 eval "disabled=\$$disabled_var"
49031 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49032 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49034 else if test ${subdir} = "samples"; then
49035 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49036 elif test ${subdir} = "utils"; then
49038 for util
in HelpGen tex2rtf
; do
49039 if test -d $srcdir/utils
/$util ; then
49040 makefiles
="utils/$util/Makefile.in \
49041 utils/$util/src/Makefile.in \
49045 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49049 for mkin
in $makefiles ; do
49050 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49051 ac_config_files
="$ac_config_files $mk"
49057 cat >confcache
<<\_ACEOF
49058 # This file is a shell script that caches the results of configure
49059 # tests run on this system so they can be shared between configure
49060 # scripts and configure runs, see configure's option --config-cache.
49061 # It is not useful on other systems. If it contains results you don't
49062 # want to keep, you may remove or edit it.
49064 # config.status only pays attention to the cache file if you give it
49065 # the --recheck option to rerun configure.
49067 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49068 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49069 # following values.
49073 # The following way of writing the cache mishandles newlines in values,
49074 # but we know of no workaround that is simple, portable, and efficient.
49075 # So, don't put newlines in cache variables' values.
49076 # Ultrix sh set writes to stderr and can't be redirected directly,
49077 # and sets the high bit in the cache file unless we assign to the vars.
49080 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49082 # `set' does not quote correctly, so add quotes (double-quote
49083 # substitution turns \\\\ into \\, and sed turns \\ into \).
49086 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49089 # `set' quotes correctly as required by POSIX, so do not add quotes.
49091 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49098 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49100 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49102 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
49103 if test -w $cache_file; then
49104 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49105 cat confcache
>$cache_file
49107 echo "not updating unwritable cache $cache_file"
49112 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49113 # Let make expand exec_prefix.
49114 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49116 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49117 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49118 # trailing colons and then remove the whole line if VPATH becomes empty
49119 # (actually we leave an empty line to preserve line numbers).
49120 if test "x$srcdir" = x.
; then
49121 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
49122 s/:*\$(srcdir):*/:/;
49123 s/:*\${srcdir}:*/:/;
49125 s/^\([^=]*=[ ]*\):*/\1/;
49131 DEFS
=-DHAVE_CONFIG_H
49135 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49136 # 1. Remove the extension, and $U if already installed.
49137 ac_i
=`echo "$ac_i" |
49138 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49140 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
49141 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
49143 LIBOBJS
=$ac_libobjs
49145 LTLIBOBJS
=$ac_ltlibobjs
49149 : ${CONFIG_STATUS=./config.status}
49150 ac_clean_files_save
=$ac_clean_files
49151 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49152 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49153 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49154 cat >$CONFIG_STATUS <<_ACEOF
49156 # Generated by $as_me.
49157 # Run this file to recreate the current configuration.
49158 # Compiler output produced by configure, useful for debugging
49159 # configure, is in config.log if it exists.
49162 ac_cs_recheck=false
49164 SHELL=\${CONFIG_SHELL-$SHELL}
49167 cat >>$CONFIG_STATUS <<\_ACEOF
49168 ## --------------------- ##
49169 ## M4sh Initialization. ##
49170 ## --------------------- ##
49172 # Be Bourne compatible
49173 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49176 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49177 # is contrary to our usage. Disable this feature.
49178 alias -g '${1+"$@"}'='"$@"'
49179 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
49182 DUALCASE
=1; export DUALCASE
# for MKS sh
49184 # Support unset when possible.
49185 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49192 # Work around bugs in pre-3.0 UWIN ksh.
49193 $as_unset ENV MAIL MAILPATH
49200 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49201 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49202 LC_TELEPHONE LC_TIME
49204 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49205 eval $as_var=C
; export $as_var
49211 # Required to use basename.
49212 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49218 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
49219 as_basename
=basename
49225 # Name of the executable.
49226 as_me
=`$as_basename "$0" ||
49227 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49228 X"$0" : 'X\(//\)$' \| \
49229 X"$0" : 'X\(/\)$' \| \
49230 . : '\(.\)' 2>/dev/null ||
49232 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49233 /^X\/\(\/\/\)$/{ s//\1/; q; }
49234 /^X\/\(\/\).*/{ s//\1/; q; }
49238 # PATH needs CR, and LINENO needs CR and PATH.
49239 # Avoid depending upon Character Ranges.
49240 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49241 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49242 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49243 as_cr_digits
='0123456789'
49244 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49246 # The user is always right.
49247 if test "${PATH_SEPARATOR+set}" != set; then
49248 echo "#! /bin/sh" >conf$$.sh
49249 echo "exit 0" >>conf$$.sh
49251 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49260 as_lineno_1
=$LINENO
49261 as_lineno_2
=$LINENO
49262 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
49263 test "x$as_lineno_1" != "x$as_lineno_2" &&
49264 test "x$as_lineno_3" = "x$as_lineno_2" || {
49265 # Find who we are. Look in the path if we contain no path at all
49268 *[\\/]* ) as_myself
=$0 ;;
49269 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49270 for as_dir
in $PATH
49273 test -z "$as_dir" && as_dir
=.
49274 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49279 # We did not find ourselves, most probably we were run as `sh COMMAND'
49280 # in which case we are not to be found in the path.
49281 if test "x$as_myself" = x
; then
49284 if test ! -f "$as_myself"; then
49285 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49286 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49287 { (exit 1); exit 1; }; }
49289 case $CONFIG_SHELL in
49291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49292 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
49295 test -z "$as_dir" && as_dir
=.
49296 for as_base
in sh bash ksh sh5
; do
49299 if ("$as_dir/$as_base" -c '
49300 as_lineno_1=$LINENO
49301 as_lineno_2=$LINENO
49302 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49303 test "x$as_lineno_1" != "x$as_lineno_2" &&
49304 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
49305 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
49306 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
49307 CONFIG_SHELL
=$as_dir/$as_base
49308 export CONFIG_SHELL
49309 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49317 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49318 # uniformly replaced by the line number. The first 'sed' inserts a
49319 # line-number line before each line; the second 'sed' does the real
49320 # work. The second script uses 'N' to pair each line-number line
49321 # with the numbered line, and appends trailing '-' during
49322 # substitution so that $LINENO is not a special case at line end.
49323 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49324 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49325 sed '=' <$as_myself |
49330 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49333 s,^['$as_cr_digits']*\n,,
49334 ' >$as_me.lineno
&&
49335 chmod +x
$as_me.lineno
||
49336 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49337 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49338 { (exit 1); exit 1; }; }
49340 # Don't try to exec as it changes $[0], causing all sort of problems
49341 # (the dirname of $[0] is not the place where we might find the
49342 # original and so on. Autoconf is especially sensible to this).
49344 # Exit status is that of the last command.
49349 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49350 *c
*,-n*) ECHO_N
= ECHO_C
='
49352 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
49353 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
49356 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49362 rm -f conf$$ conf$$.exe conf$$.
file
49364 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49365 # We could just check for DJGPP; but this test a) works b) is more generic
49366 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49367 if test -f conf$$.exe
; then
49368 # Don't use ln at all; we don't have any links
49373 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49378 rm -f conf$$ conf$$.exe conf$$.
file
49380 if mkdir -p .
2>/dev
/null
; then
49383 test -d .
/-p && rmdir .
/-p
49387 as_executable_p
="test -f"
49389 # Sed expression to map a string onto a valid CPP name.
49390 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49392 # Sed expression to map a string onto a valid variable name.
49393 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49397 # We need space, tab and new line, in precisely that order.
49407 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49408 # report actual input values of CONFIG_FILES etc. instead of their
49409 # values after options handling. Logging --version etc. is OK.
49413 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49414 ## Running $as_me. ##
49419 This file was extended by wxWidgets $as_me 2.7.0, which was
49420 generated by GNU Autoconf 2.59. Invocation command line was
49422 CONFIG_FILES = $CONFIG_FILES
49423 CONFIG_HEADERS = $CONFIG_HEADERS
49424 CONFIG_LINKS = $CONFIG_LINKS
49425 CONFIG_COMMANDS = $CONFIG_COMMANDS
49429 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49433 # Files that config.status was made for.
49434 if test -n "$ac_config_files"; then
49435 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49438 if test -n "$ac_config_headers"; then
49439 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49442 if test -n "$ac_config_links"; then
49443 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49446 if test -n "$ac_config_commands"; then
49447 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49450 cat >>$CONFIG_STATUS <<\_ACEOF
49453 \`$as_me' instantiates files from templates according to the
49454 current configuration.
49456 Usage: $0 [OPTIONS] [FILE]...
49458 -h, --help print this help, then exit
49459 -V, --version print version number, then exit
49460 -q, --quiet do not print progress messages
49461 -d, --debug don't remove temporary files
49462 --recheck update $as_me by reconfiguring in the same conditions
49463 --file=FILE[:TEMPLATE]
49464 instantiate the configuration file FILE
49465 --header=FILE[:TEMPLATE]
49466 instantiate the configuration header FILE
49468 Configuration files:
49471 Configuration headers:
49474 Configuration commands:
49477 Report bugs to <bug-autoconf@gnu.org>."
49480 cat >>$CONFIG_STATUS <<_ACEOF
49482 wxWidgets config.status 2.7.0
49483 configured by $0, generated by GNU Autoconf 2.59,
49484 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49486 Copyright (C) 2003 Free Software Foundation, Inc.
49487 This config.status script is free software; the Free Software Foundation
49488 gives unlimited permission to copy, distribute and modify it."
49493 cat >>$CONFIG_STATUS <<\_ACEOF
49494 # If no file are specified by the user, then we need to provide default
49495 # value. By we need to know if files were specified by the user.
49501 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
49502 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
49510 *) # This is not an option, so the user has probably given explicit
49513 ac_need_defaults
=false
;;
49517 # Handling of the options.
49519 cat >>$CONFIG_STATUS <<\_ACEOF
49520 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49522 --version | --vers* | -V )
49523 echo "$ac_cs_version"; exit 0 ;;
49525 # Conflict between --help and --header
49526 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49527 Try \`$0 --help' for more information." >&5
49528 echo "$as_me: error: ambiguous option: $1
49529 Try \`$0 --help' for more information." >&2;}
49530 { (exit 1); exit 1; }; };;
49531 --help | --hel | -h )
49532 echo "$ac_cs_usage"; exit 0 ;;
49533 --debug | --d* | -d )
49535 --file | --fil | --fi | --f )
49537 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49538 ac_need_defaults
=false
;;
49539 --header | --heade | --head | --hea )
49541 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49542 ac_need_defaults
=false
;;
49543 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49544 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49547 # This is an error.
49548 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49549 Try \`$0 --help' for more information." >&5
49550 echo "$as_me: error: unrecognized option: $1
49551 Try \`$0 --help' for more information." >&2;}
49552 { (exit 1); exit 1; }; } ;;
49554 *) ac_config_targets
="$ac_config_targets $1" ;;
49560 ac_configure_extra_args
=
49562 if $ac_cs_silent; then
49564 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49568 cat >>$CONFIG_STATUS <<_ACEOF
49569 if \$ac_cs_recheck; then
49570 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49571 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49576 cat >>$CONFIG_STATUS <<_ACEOF
49578 # INIT-COMMANDS section.
49583 infile="$srcdir/include/wx/msw/genrcdefs.h"
49584 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49587 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49588 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49589 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49597 cat >>$CONFIG_STATUS <<\_ACEOF
49598 for ac_config_target
in $ac_config_targets
49600 case "$ac_config_target" in
49601 # Handling of arguments.
49602 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49603 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49604 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49605 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49606 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49607 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49608 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49609 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49610 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49611 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49612 { (exit 1); exit 1; }; };;
49616 # If the user did not use the arguments to specify the items to instantiate,
49617 # then the envvar interface is used. Set only those that are not.
49618 # We use the long form for the default assignment because of an extremely
49619 # bizarre bug on SunOS 4.1.3.
49620 if $ac_need_defaults; then
49621 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49622 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49623 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49626 # Have a temporary directory for convenience. Make it in the build tree
49627 # simply because there is no reason to put it here, and in addition,
49628 # creating and moving files from /tmp can sometimes cause problems.
49629 # Create a temporary directory, and hook for its removal unless debugging.
49632 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49633 trap '{ (exit 1); exit 1; }' 1 2 13 15
49636 # Create a (secure) tmp directory for tmp files.
49639 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49640 test -n "$tmp" && test -d "$tmp"
49643 tmp
=.
/confstat$$
-$RANDOM
49644 (umask 077 && mkdir $tmp)
49647 echo "$me: cannot create a temporary directory in ." >&2
49648 { (exit 1); exit 1; }
49653 cat >>$CONFIG_STATUS <<_ACEOF
49656 # CONFIG_FILES section.
49659 # No need to generate the scripts if there are no CONFIG_FILES.
49660 # This happens for instance when ./config.status config.h
49661 if test -n "\$CONFIG_FILES"; then
49662 # Protect against being on the right side of a sed subst in config.status.
49663 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49664 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49665 s,@SHELL@,$SHELL,;t t
49666 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49667 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49668 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49669 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49670 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49671 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49672 s,@exec_prefix@,$exec_prefix,;t t
49673 s,@prefix@,$prefix,;t t
49674 s,@program_transform_name@,$program_transform_name,;t t
49675 s,@bindir@,$bindir,;t t
49676 s,@sbindir@,$sbindir,;t t
49677 s,@libexecdir@,$libexecdir,;t t
49678 s,@datadir@,$datadir,;t t
49679 s,@sysconfdir@,$sysconfdir,;t t
49680 s,@sharedstatedir@,$sharedstatedir,;t t
49681 s,@localstatedir@,$localstatedir,;t t
49682 s,@libdir@,$libdir,;t t
49683 s,@includedir@,$includedir,;t t
49684 s,@oldincludedir@,$oldincludedir,;t t
49685 s,@infodir@,$infodir,;t t
49686 s,@mandir@,$mandir,;t t
49687 s,@build_alias@,$build_alias,;t t
49688 s,@host_alias@,$host_alias,;t t
49689 s,@target_alias@,$target_alias,;t t
49690 s,@DEFS@,$DEFS,;t t
49691 s,@ECHO_C@,$ECHO_C,;t t
49692 s,@ECHO_N@,$ECHO_N,;t t
49693 s,@ECHO_T@,$ECHO_T,;t t
49694 s,@LIBS@,$LIBS,;t t
49695 s,@build@,$build,;t t
49696 s,@build_cpu@,$build_cpu,;t t
49697 s,@build_vendor@,$build_vendor,;t t
49698 s,@build_os@,$build_os,;t t
49699 s,@host@,$host,;t t
49700 s,@host_cpu@,$host_cpu,;t t
49701 s,@host_vendor@,$host_vendor,;t t
49702 s,@host_os@,$host_os,;t t
49703 s,@target@,$target,;t t
49704 s,@target_cpu@,$target_cpu,;t t
49705 s,@target_vendor@,$target_vendor,;t t
49706 s,@target_os@,$target_os,;t t
49708 s,@CFLAGS@,$CFLAGS,;t t
49709 s,@LDFLAGS@,$LDFLAGS,;t t
49710 s,@CPPFLAGS@,$CPPFLAGS,;t t
49711 s,@ac_ct_CC@,$ac_ct_CC,;t t
49712 s,@EXEEXT@,$EXEEXT,;t t
49713 s,@OBJEXT@,$OBJEXT,;t t
49715 s,@EGREP@,$EGREP,;t t
49717 s,@CXXFLAGS@,$CXXFLAGS,;t t
49718 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49719 s,@RANLIB@,$RANLIB,;t t
49720 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49722 s,@ac_ct_AR@,$ac_ct_AR,;t t
49723 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49724 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49725 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49726 s,@STRIP@,$STRIP,;t t
49727 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49728 s,@WINDRES@,$WINDRES,;t t
49729 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49730 s,@DLLTOOL@,$DLLTOOL,;t t
49731 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49732 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49733 s,@LN_S@,$LN_S,;t t
49734 s,@CXXCPP@,$CXXCPP,;t t
49735 s,@subdirs@,$subdirs,;t t
49736 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49737 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49738 s,@GTK_LIBS@,$GTK_LIBS,;t t
49739 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49740 s,@X_CFLAGS@,$X_CFLAGS,;t t
49741 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49742 s,@X_LIBS@,$X_LIBS,;t t
49743 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49744 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49745 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49746 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49747 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49748 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49749 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49751 s,@DEREZ@,$DEREZ,;t t
49752 s,@SETFILE@,$SETFILE,;t t
49753 s,@LIBICONV@,$LIBICONV,;t t
49754 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49755 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49756 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49757 s,@SDL_LIBS@,$SDL_LIBS,;t t
49758 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49759 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49760 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49761 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49762 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49763 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49764 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49765 s,@GST_LIBS@,$GST_LIBS,;t t
49766 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49767 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49768 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49769 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49770 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49771 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49772 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49773 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49774 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49775 s,@VENDOR@,$VENDOR,;t t
49776 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49777 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49778 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49779 s,@WXUNIV@,$WXUNIV,;t t
49780 s,@MONOLITHIC@,$MONOLITHIC,;t t
49781 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49782 s,@EXTRALIBS@,$EXTRALIBS,;t t
49783 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49784 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49785 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49786 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49787 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49788 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49789 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49790 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49791 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49792 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49793 s,@UNICODE@,$UNICODE,;t t
49794 s,@BUILD@,$BUILD,;t t
49795 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49796 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49797 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49798 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49799 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49800 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49801 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49802 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49803 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49804 s,@SET_MAKE@,$SET_MAKE,;t t
49805 s,@MAKE_SET@,$MAKE_SET,;t t
49807 s,@ac_ct_NM@,$ac_ct_NM,;t t
49808 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49809 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49810 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49811 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49812 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49813 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49814 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49815 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49816 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49817 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49818 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49819 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49820 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49821 s,@LIBPREFIX@,$LIBPREFIX,;t t
49822 s,@LIBEXT@,$LIBEXT,;t t
49823 s,@DLLPREFIX@,$DLLPREFIX,;t t
49824 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49825 s,@dlldir@,$dlldir,;t t
49826 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49827 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49828 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49829 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49830 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49831 s,@PIC_FLAG@,$PIC_FLAG,;t t
49832 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49833 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49834 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49835 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49836 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49837 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49838 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49839 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49840 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49841 s,@GCC_PCH@,$GCC_PCH,;t t
49842 s,@ICC_PCH@,$ICC_PCH,;t t
49843 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49844 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49845 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49846 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49847 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49848 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49849 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49850 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49851 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49852 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49853 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49854 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49855 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49856 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49857 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49858 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49859 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49860 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49861 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49862 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49863 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
49864 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
49865 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
49866 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
49867 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49868 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49869 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49870 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49871 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49872 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
49873 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
49874 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
49875 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
49876 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49877 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49878 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49879 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49880 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49881 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49882 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49883 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49884 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49885 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49886 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49887 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49888 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49889 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49890 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49891 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49892 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49893 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
49894 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49895 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49896 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49897 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49898 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49899 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49900 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49901 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49902 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49903 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49904 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49905 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49906 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49907 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49908 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49909 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49910 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49911 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49912 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49913 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49914 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49915 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49916 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49917 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49918 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49919 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49920 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49921 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49922 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49923 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49924 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49925 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49926 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49927 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49928 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49929 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49930 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49931 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49932 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49933 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
49934 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49935 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49936 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49937 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49938 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49939 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49940 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49941 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49942 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49943 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49944 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49945 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49946 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49947 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49948 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49949 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49950 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49951 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49952 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49953 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49954 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49955 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49956 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49957 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49958 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49959 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49960 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49961 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49962 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49963 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49964 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49965 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49966 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49967 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49968 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49969 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49970 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49971 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49972 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49973 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49974 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49975 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49976 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49977 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49978 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49979 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49980 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49981 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49982 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49983 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49984 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49985 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49986 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49987 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49988 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49989 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49990 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49991 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49992 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49993 s,@SHARED@,$SHARED,;t t
49994 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49995 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49996 s,@USE_GUI@,$USE_GUI,;t t
49997 s,@AFMINSTALL@,$AFMINSTALL,;t t
49998 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49999 s,@TOOLKIT@,$TOOLKIT,;t t
50000 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50001 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50002 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50003 s,@cross_compiling@,$cross_compiling,;t t
50004 s,@WIDGET_SET@,$WIDGET_SET,;t t
50005 s,@WX_RELEASE@,$WX_RELEASE,;t t
50006 s,@WX_VERSION@,$WX_VERSION,;t t
50007 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50008 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50009 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50010 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50011 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50012 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50013 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50014 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50015 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50016 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50017 s,@EXE_LINKER@,$EXE_LINKER,;t t
50018 s,@GUIDIST@,$GUIDIST,;t t
50019 s,@DISTDIR@,$DISTDIR,;t t
50020 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50021 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50022 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50023 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50024 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50025 s,@RESCOMP@,$RESCOMP,;t t
50026 s,@RESFLAGS@,$RESFLAGS,;t t
50027 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50028 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50029 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50030 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50031 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50032 s,@MACSETFILE@,$MACSETFILE,;t t
50034 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50035 s,@LIBOBJS@,$LIBOBJS,;t t
50036 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50041 cat >>$CONFIG_STATUS <<\_ACEOF
50042 # Split the substitutions into bite-sized pieces for seds with
50043 # small command number limits, like on Digital OSF/1 and HP-UX.
50044 ac_max_sed_lines
=48
50045 ac_sed_frag
=1 # Number of current file.
50046 ac_beg
=1 # First line for current file.
50047 ac_end
=$ac_max_sed_lines # Line after last line for current file.
50050 while $ac_more_lines; do
50051 if test $ac_beg -gt 1; then
50052 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50054 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50056 if test ! -s $tmp/subs.frag
; then
50057 ac_more_lines
=false
50059 # The purpose of the label and of the branching condition is to
50060 # speed up the sed processing (if there are no `@' at all, there
50061 # is no need to browse any of the substitutions).
50062 # These are the two extra sed commands mentioned above.
50064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
50065 if test -z "$ac_sed_cmds"; then
50066 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
50068 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50070 ac_sed_frag
=`expr $ac_sed_frag + 1`
50072 ac_end
=`expr $ac_end + $ac_max_sed_lines`
50075 if test -z "$ac_sed_cmds"; then
50078 fi # test -n "$CONFIG_FILES"
50081 cat >>$CONFIG_STATUS <<\_ACEOF
50082 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
50083 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50085 - | *:- | *:-:* ) # input from stdin
50087 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50088 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50089 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50090 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50091 * ) ac_file_in
=$ac_file.
in ;;
50094 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50095 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50096 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50097 X"$ac_file" : 'X\(//\)[^/]' \| \
50098 X"$ac_file" : 'X\(//\)$' \| \
50099 X"$ac_file" : 'X\(/\)' \| \
50100 . : '\(.\)' 2>/dev/null ||
50102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50103 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50104 /^X\(\/\/\)$/{ s//\1/; q; }
50105 /^X\(\/\).*/{ s//\1/; q; }
50107 { if $as_mkdir_p; then
50112 while test ! -d "$as_dir"; do
50113 as_dirs
="$as_dir $as_dirs"
50114 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50115 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50116 X"$as_dir" : 'X\(//\)[^/]' \| \
50117 X"$as_dir" : 'X\(//\)$' \| \
50118 X"$as_dir" : 'X\(/\)' \| \
50119 . : '\(.\)' 2>/dev/null ||
50121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50122 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50123 /^X\(\/\/\)$/{ s//\1/; q; }
50124 /^X\(\/\).*/{ s//\1/; q; }
50127 test ! -n "$as_dirs" || mkdir $as_dirs
50128 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50129 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50130 { (exit 1); exit 1; }; }; }
50134 if test "$ac_dir" != .
; then
50135 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50136 # A "../" for each directory in $ac_dir_suffix.
50137 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50139 ac_dir_suffix
= ac_top_builddir
=
50143 .
) # No --srcdir option. We are building in place.
50145 if test -z "$ac_top_builddir"; then
50148 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50150 [\\/]* | ?
:[\\/]* ) # Absolute path.
50151 ac_srcdir
=$srcdir$ac_dir_suffix;
50152 ac_top_srcdir
=$srcdir ;;
50153 *) # Relative path.
50154 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50155 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50158 # Do not use `cd foo && pwd` to compute absolute paths, because
50159 # the directories may not exist.
50161 .
) ac_abs_builddir
="$ac_dir";;
50164 .
) ac_abs_builddir
=`pwd`;;
50165 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50166 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50169 case $ac_abs_builddir in
50170 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50172 case ${ac_top_builddir}.
in
50173 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50174 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50175 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50178 case $ac_abs_builddir in
50179 .
) ac_abs_srcdir
=$ac_srcdir;;
50182 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50183 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50184 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50187 case $ac_abs_builddir in
50188 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50190 case $ac_top_srcdir in
50191 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50192 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50193 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50199 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50200 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
50203 if test x
"$ac_file" != x
-; then
50204 { echo "$as_me:$LINENO: creating $ac_file" >&5
50205 echo "$as_me: creating $ac_file" >&6;}
50208 # Let's still pretend it is `configure' which instantiates (i.e., don't
50209 # use $as_me), people would be surprised to read:
50210 # /* config.h. Generated by config.status. */
50211 if test x
"$ac_file" = x
-; then
50214 configure_input
="$ac_file. "
50216 configure_input
=$configure_input"Generated from `echo $ac_file_in |
50217 sed 's,.*/,,'` by configure."
50219 # First look for the input files in the build tree, otherwise in the
50221 ac_file_inputs
=`IFS=:
50222 for f in $ac_file_in; do
50224 -) echo $tmp/stdin ;;
50226 # Absolute (can't be DOS-style, as IFS=:)
50227 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50228 echo "$as_me: error: cannot find input file: $f" >&2;}
50229 { (exit 1); exit 1; }; }
50232 if test -f "$f"; then
50235 elif test -f "$srcdir/$f"; then
50240 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50241 echo "$as_me: error: cannot find input file: $f" >&2;}
50242 { (exit 1); exit 1; }; }
50245 done` || { (exit 1); exit 1; }
50247 cat >>$CONFIG_STATUS <<_ACEOF
50251 cat >>$CONFIG_STATUS <<\_ACEOF
50253 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50254 s
,@configure_input@
,$configure_input,;t t
50255 s
,@srcdir@
,$ac_srcdir,;t t
50256 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
50257 s
,@top_srcdir@
,$ac_top_srcdir,;t t
50258 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
50259 s
,@builddir@
,$ac_builddir,;t t
50260 s
,@abs_builddir@
,$ac_abs_builddir,;t t
50261 s
,@top_builddir@
,$ac_top_builddir,;t t
50262 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
50263 s
,@INSTALL@
,$ac_INSTALL,;t t
50264 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50266 if test x"$ac_file" != x-; then
50267 mv $tmp/out $ac_file
50273 # Run the commands associated with the file.
50275 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50276 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50280 cat >>$CONFIG_STATUS <<\_ACEOF
50283 # CONFIG_HEADER section.
50286 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
50287 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50289 # ac_d sets the value in "#define NAME VALUE" lines.
50290 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50291 ac_dB
='[ ].*$,\1#\2'
50294 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50295 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50296 ac_uB
='$,\1#\2define\3'
50300 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
50301 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50303 - | *:- | *:-:* ) # input from stdin
50305 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50306 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50307 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50308 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50309 * ) ac_file_in
=$ac_file.
in ;;
50312 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50313 echo "$as_me: creating $ac_file" >&6;}
50315 # First look for the input files in the build tree, otherwise in the
50317 ac_file_inputs
=`IFS=:
50318 for f in $ac_file_in; do
50320 -) echo $tmp/stdin ;;
50322 # Absolute (can't be DOS-style, as IFS=:)
50323 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50324 echo "$as_me: error: cannot find input file: $f" >&2;}
50325 { (exit 1); exit 1; }; }
50326 # Do quote $f, to prevent DOS paths from being IFS'd.
50329 if test -f "$f"; then
50332 elif test -f "$srcdir/$f"; then
50337 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50338 echo "$as_me: error: cannot find input file: $f" >&2;}
50339 { (exit 1); exit 1; }; }
50342 done` || { (exit 1); exit 1; }
50343 # Remove the trailing spaces.
50344 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50348 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50349 # `conftest.undefs', that substitutes the proper values into
50350 # config.h.in to produce config.h. The first handles `#define'
50351 # templates, and the second `#undef' templates.
50352 # And first: Protect against being on the right side of a sed subst in
50353 # config.status. Protect against being in an unquoted here document
50354 # in config.status.
50355 rm -f conftest.defines conftest.undefs
50356 # Using a here document instead of a string reduces the quoting nightmare.
50357 # Putting comments in sed scripts is not portable.
50359 # `end' is used to avoid that the second main sed command (meant for
50360 # 0-ary CPP macros) applies to n-ary macro definitions.
50361 # See the Autoconf documentation for `clear'.
50362 cat >confdef2sed.
sed <<\_ACEOF
50367 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50369 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50372 # If some macros were called several times there might be several times
50373 # the same #defines, which is useless. Nevertheless, we may not want to
50374 # sort them, since we want the *last* AC-DEFINE to be honored.
50375 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50376 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50377 rm -f confdef2sed.sed
50379 # This sed command replaces #undef with comments. This is necessary, for
50380 # example, in the case of _POSIX_SOURCE, which is predefined and required
50381 # on some systems where configure will not decide to define it.
50382 cat >>conftest.undefs <<\_ACEOF
50383 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50386 # Break up conftest.defines because some shells have a limit on the size
50387 # of here documents, and old seds have small limits too (100 cmds).
50388 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50389 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50390 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50391 echo ' :' >>$CONFIG_STATUS
50392 rm -f conftest.tail
50393 while grep . conftest.defines >/dev/null
50395 # Write a limited-size here document to $tmp/defines.sed.
50396 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50397 # Speed up: don't consider the non `#define' lines.
50398 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50399 # Work around the forget-to-reset-the-flag bug.
50400 echo 't clr' >>$CONFIG_STATUS
50401 echo ': clr' >>$CONFIG_STATUS
50402 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
50404 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50406 mv $tmp/out $tmp/in
50408 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
50409 rm -f conftest.defines
50410 mv conftest.
tail conftest.defines
50412 rm -f conftest.defines
50413 echo ' fi # grep' >>$CONFIG_STATUS
50414 echo >>$CONFIG_STATUS
50416 # Break up conftest.undefs because some shells have a limit on the size
50417 # of here documents, and old seds have small limits too (100 cmds).
50418 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50419 rm -f conftest.
tail
50420 while grep . conftest.undefs
>/dev
/null
50422 # Write a limited-size here document to $tmp/undefs.sed.
50423 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50424 # Speed up: don't consider the non
`#undef'
50425 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50426 # Work around the forget-to-reset-the-flag bug.
50427 echo 't clr' >>$CONFIG_STATUS
50428 echo ': clr' >>$CONFIG_STATUS
50429 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50431 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50433 mv $tmp/out $tmp/in
50435 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50436 rm -f conftest.undefs
50437 mv conftest.tail conftest.undefs
50439 rm -f conftest.undefs
50441 cat >>$CONFIG_STATUS <<\_ACEOF
50442 # Let's still pretend it is `configure
' which instantiates (i.e., don't
50443 # use $as_me), people would be surprised to read:
50444 # /* config.h. Generated by config.status. */
50445 if test x
"$ac_file" = x
-; then
50446 echo "/* Generated by configure. */" >$tmp/config.h
50448 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50450 cat $tmp/in >>$tmp/config.h
50452 if test x
"$ac_file" != x
-; then
50453 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
50454 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50455 echo "$as_me: $ac_file is unchanged" >&6;}
50457 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50458 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50459 X"$ac_file" : 'X\(//\)[^/]' \| \
50460 X"$ac_file" : 'X\(//\)$' \| \
50461 X"$ac_file" : 'X\(/\)' \| \
50462 . : '\(.\)' 2>/dev/null ||
50464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50465 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50466 /^X\(\/\/\)$/{ s//\1/; q; }
50467 /^X\(\/\).*/{ s//\1/; q; }
50469 { if $as_mkdir_p; then
50474 while test ! -d "$as_dir"; do
50475 as_dirs
="$as_dir $as_dirs"
50476 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50477 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50478 X"$as_dir" : 'X\(//\)[^/]' \| \
50479 X"$as_dir" : 'X\(//\)$' \| \
50480 X"$as_dir" : 'X\(/\)' \| \
50481 . : '\(.\)' 2>/dev/null ||
50483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50484 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50485 /^X\(\/\/\)$/{ s//\1/; q; }
50486 /^X\(\/\).*/{ s//\1/; q; }
50489 test ! -n "$as_dirs" || mkdir $as_dirs
50490 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50491 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50492 { (exit 1); exit 1; }; }; }
50495 mv $tmp/config.h
$ac_file
50499 rm -f $tmp/config.h
50503 cat >>$CONFIG_STATUS <<\_ACEOF
50506 # CONFIG_COMMANDS section.
50508 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
50509 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
50510 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50511 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
50512 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50513 X"$ac_dest" : 'X\(//\)[^/]' \| \
50514 X"$ac_dest" : 'X\(//\)$' \| \
50515 X"$ac_dest" : 'X\(/\)' \| \
50516 . : '\(.\)' 2>/dev/null ||
50518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50519 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50520 /^X\(\/\/\)$/{ s//\1/; q; }
50521 /^X\(\/\).*/{ s//\1/; q; }
50523 { if $as_mkdir_p; then
50528 while test ! -d "$as_dir"; do
50529 as_dirs
="$as_dir $as_dirs"
50530 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50531 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50532 X"$as_dir" : 'X\(//\)[^/]' \| \
50533 X"$as_dir" : 'X\(//\)$' \| \
50534 X"$as_dir" : 'X\(/\)' \| \
50535 . : '\(.\)' 2>/dev/null ||
50537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50538 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50539 /^X\(\/\/\)$/{ s//\1/; q; }
50540 /^X\(\/\).*/{ s//\1/; q; }
50543 test ! -n "$as_dirs" || mkdir $as_dirs
50544 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50545 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50546 { (exit 1); exit 1; }; }; }
50550 if test "$ac_dir" != .
; then
50551 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50552 # A "../" for each directory in $ac_dir_suffix.
50553 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50555 ac_dir_suffix
= ac_top_builddir
=
50559 .
) # No --srcdir option. We are building in place.
50561 if test -z "$ac_top_builddir"; then
50564 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50566 [\\/]* | ?
:[\\/]* ) # Absolute path.
50567 ac_srcdir
=$srcdir$ac_dir_suffix;
50568 ac_top_srcdir
=$srcdir ;;
50569 *) # Relative path.
50570 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50571 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50574 # Do not use `cd foo && pwd` to compute absolute paths, because
50575 # the directories may not exist.
50577 .
) ac_abs_builddir
="$ac_dir";;
50580 .
) ac_abs_builddir
=`pwd`;;
50581 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50582 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50585 case $ac_abs_builddir in
50586 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50588 case ${ac_top_builddir}.
in
50589 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50590 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50591 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50594 case $ac_abs_builddir in
50595 .
) ac_abs_srcdir
=$ac_srcdir;;
50598 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50599 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50600 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50603 case $ac_abs_builddir in
50604 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50606 case $ac_top_srcdir in
50607 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50608 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50609 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50614 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50615 echo "$as_me: executing $ac_dest commands" >&6;}
50618 mkdir -p $outdir &&
50619 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50621 wx
-config ) rm -f wx
-config
50622 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50628 cat >>$CONFIG_STATUS <<\_ACEOF
50630 { (exit 0); exit 0; }
50632 chmod +x
$CONFIG_STATUS
50633 ac_clean_files
=$ac_clean_files_save
50636 # configure is writing to config.log, and then calls config.status.
50637 # config.status does its own redirection, appending to config.log.
50638 # Unfortunately, on DOS this fails, as config.log is still kept open
50639 # by configure, so config.status won't be able to write to it; its
50640 # output is simply discarded. So we exec the FD to /dev/null,
50641 # effectively closing config.log, so it can be properly (re)opened and
50642 # appended to by config.status. When coming back to configure, we
50643 # need to make the FD available again.
50644 if test "$no_create" != yes; then
50646 ac_config_status_args
=
50647 test "$silent" = yes &&
50648 ac_config_status_args
="$ac_config_status_args --quiet"
50650 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50652 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50653 # would make configure fail if this is the last instruction.
50654 $ac_cs_success || { (exit 1); exit 1; }
50658 # CONFIG_SUBDIRS section.
50660 if test "$no_recursion" != yes; then
50662 # Remove --cache-file and --srcdir arguments so they do not pile up.
50663 ac_sub_configure_args
=
50665 for ac_arg
in $ac_configure_args; do
50666 if test -n "$ac_prev"; then
50671 -cache-file | --cache-file | --cache-fil | --cache-fi \
50672 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50673 ac_prev
=cache_file
;;
50674 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50675 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50678 --config-cache | -C)
50680 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50682 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50684 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50686 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50688 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50692 # Always prepend --prefix to ensure using the same prefix
50693 # in subdir configurations.
50694 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50697 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50699 # Do not complain, so a configure script can configure whichever
50700 # parts of a large source tree are present.
50701 test -d $srcdir/$ac_dir || continue
50703 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50704 echo "$as_me: configuring in $ac_dir" >&6;}
50705 { if $as_mkdir_p; then
50710 while test ! -d "$as_dir"; do
50711 as_dirs
="$as_dir $as_dirs"
50712 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50713 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50714 X"$as_dir" : 'X\(//\)[^/]' \| \
50715 X"$as_dir" : 'X\(//\)$' \| \
50716 X"$as_dir" : 'X\(/\)' \| \
50717 . : '\(.\)' 2>/dev/null ||
50719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50721 /^X\(\/\/\)$/{ s//\1/; q; }
50722 /^X\(\/\).*/{ s//\1/; q; }
50725 test ! -n "$as_dirs" || mkdir $as_dirs
50726 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50727 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50728 { (exit 1); exit 1; }; }; }
50732 if test "$ac_dir" != .
; then
50733 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50734 # A "../" for each directory in $ac_dir_suffix.
50735 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50737 ac_dir_suffix
= ac_top_builddir
=
50741 .
) # No --srcdir option. We are building in place.
50743 if test -z "$ac_top_builddir"; then
50746 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50748 [\\/]* | ?
:[\\/]* ) # Absolute path.
50749 ac_srcdir
=$srcdir$ac_dir_suffix;
50750 ac_top_srcdir
=$srcdir ;;
50751 *) # Relative path.
50752 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50753 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50756 # Do not use `cd foo && pwd` to compute absolute paths, because
50757 # the directories may not exist.
50759 .
) ac_abs_builddir
="$ac_dir";;
50762 .
) ac_abs_builddir
=`pwd`;;
50763 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50764 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50767 case $ac_abs_builddir in
50768 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50770 case ${ac_top_builddir}.
in
50771 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50772 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50773 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50776 case $ac_abs_builddir in
50777 .
) ac_abs_srcdir
=$ac_srcdir;;
50780 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50781 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50782 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50785 case $ac_abs_builddir in
50786 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50788 case $ac_top_srcdir in
50789 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50790 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50791 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50798 # Check for guested configure; otherwise get Cygnus style configure.
50799 if test -f $ac_srcdir/configure.gnu
; then
50800 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50801 elif test -f $ac_srcdir/configure
; then
50802 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50803 elif test -f $ac_srcdir/configure.
in; then
50804 ac_sub_configure
=$ac_configure
50806 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50807 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50811 # The recursion is here.
50812 if test -n "$ac_sub_configure"; then
50813 # Make the cache file name correct relative to the subdirectory.
50814 case $cache_file in
50815 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50816 *) # Relative path.
50817 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50820 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50821 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50822 # The eval makes quoting arguments work.
50823 eval $ac_sub_configure $ac_sub_configure_args \
50824 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50825 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50826 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50827 { (exit 1); exit 1; }; }
50836 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50838 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50839 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50841 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50842 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50843 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50845 echo " What level of wxWidgets compatibility should be enabled?"
50846 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50847 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50849 echo " Which libraries should wxWidgets use?"
50850 echo " jpeg ${wxUSE_LIBJPEG-none}"
50851 echo " png ${wxUSE_LIBPNG-none}"
50852 echo " regex ${wxUSE_REGEX}"
50853 echo " tiff ${wxUSE_LIBTIFF-none}"
50854 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50855 echo " xpm ${wxUSE_LIBXPM-none}"
50857 echo " zlib ${wxUSE_ZLIB}"
50858 echo " odbc ${wxUSE_ODBC}"
50859 echo " expat ${wxUSE_EXPAT}"
50860 echo " libmspack ${wxUSE_LIBMSPACK}"
50861 echo " sdl ${wxUSE_LIBSDL}"
50862 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50863 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50864 echo " hildon ${wxUSE_LIBHILDON-none}"