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 RESCOMP ac_ct_RESCOMP 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 DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_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_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC 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-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-std_string use standard C
++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf
()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support
in wxProtocol
945 --enable-protocol-ftp FTP support
in wxProtocol
946 --enable-protocol-file FILE support
in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use
help subsystem
950 --enable-mshtmlhelp use MS HTML Help
(win32
)
951 --enable-html use wxHTML sub
-library
952 --enable-htmlhelp use wxHTML
-based help
953 --enable-xrc use XRC resources sub
-library
954 --enable-constraints use layout
-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl
(Mac
)
962 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
963 --enable-prologio not available
; see contrib
964 --enable-resources not available
; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag
'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile
(Win32 only
)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1036 --enable-palette use wxPalette class
1037 --enable-image use wxImage class
1038 --enable-gif use gif images
(GIF
file format
)
1039 --enable-pcx use pcx images
(PCX
file format
)
1040 --enable-iff use iff images
(IFF
file format
)
1041 --enable-pnm use pnm images
(PNM
file format
)
1042 --enable-xpm use xpm images
(XPM
file format
)
1043 --enable-icocur use Windows ICO and CUR formats
1044 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1045 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1046 --disable-largefile omit support
for large files
1047 --disable-gtktest do not try to compile and run a
test GTK
+ program
1048 --disable-gtktest Do not try to compile and run a
test GTK program
1049 --disable-sdltest Do not try to compile and run a
test SDL program
1050 --enable-omf use OMF object format
(OS
/2)
1051 --disable-precomp-headers
1052 don
't use precompiled headers even if compiler can
1055 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1056 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1057 --without-subdirs don't generate makefiles
for samples
/demos
/...
1058 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1059 --with-motif use Motif
/Lesstif
1060 --with-mac use Mac OS X
1061 --with-cocoa use Cocoa
1062 --with-wine use Wine
1063 --with-msw use MS
-Windows
1064 --with-pm use OS
/2 Presentation Manager
1065 --with-mgl use SciTech MGL
1066 --with-microwin use MicroWindows
1068 --with-libpng use libpng
(PNG image format
)
1069 --with-libjpeg use libjpeg
(JPEG
file format
)
1070 --with-libtiff use libtiff
(TIFF
file format
)
1071 --with-libxpm use libxpm
(XPM
file format
)
1072 --with-libmspack use libmspack
(CHM
help files loading
)
1073 --with-sdl use SDL
for audio on Unix
1074 --with-gnomeprint use GNOME print
for printing under Unix
1075 --with-opengl use OpenGL
(or Mesa
)
1076 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1077 --with-regex enable support
for wxRegEx class
1078 --with-zlib use zlib
for LZW compression
1079 --with-odbc use the IODBC and wxODBC classes
1080 --with-expat enable XML support using expat parser
1081 --with-flavour=NAME specify a name to identify this build
1082 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1083 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1084 --with-x use the X Window System
1085 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1086 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1087 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1088 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1089 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1091 Some influential environment variables
:
1092 CC C compiler
command
1093 CFLAGS C compiler flags
1094 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1095 nonstandard directory
<lib dir
>
1096 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1097 headers
in a nonstandard directory
<include dir
>
1099 CXX C
++ compiler
command
1100 CXXFLAGS C
++ compiler flags
1101 CXXCPP C
++ preprocessor
1103 Use these variables to override the choices made by
`configure' or to help
1104 it to find libraries and programs with nonstandard names/locations.
1106 Report bugs to <wx-dev@lists.wxwidgets.org>.
1110 if test "$ac_init_help" = "recursive"; then
1111 # If there are subdirs, report their specific --help.
1113 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1114 test -d $ac_dir || continue
1117 if test "$ac_dir" != .; then
1118 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1119 # A "../" for each directory in $ac_dir_suffix.
1120 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1122 ac_dir_suffix= ac_top_builddir=
1126 .) # No --srcdir option. We are building in place.
1128 if test -z "$ac_top_builddir"; then
1131 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1133 [\\/]* | ?:[\\/]* ) # Absolute path.
1134 ac_srcdir=$srcdir$ac_dir_suffix;
1135 ac_top_srcdir=$srcdir ;;
1137 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1138 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1141 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1142 # the directories may not exist.
1144 .) ac_abs_builddir="$ac_dir";;
1147 .) ac_abs_builddir=`pwd`;;
1148 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1149 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1152 case $ac_abs_builddir in
1153 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1155 case ${ac_top_builddir}. in
1156 .) ac_abs_top_builddir=$ac_abs_builddir;;
1157 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1158 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1161 case $ac_abs_builddir in
1162 .) ac_abs_srcdir=$ac_srcdir;;
1165 .) ac_abs_srcdir=$ac_abs_builddir;;
1166 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1167 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1170 case $ac_abs_builddir in
1171 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1173 case $ac_top_srcdir in
1174 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1175 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1176 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1181 # Check for guested configure; otherwise get Cygnus style configure.
1182 if test -f $ac_srcdir/configure.gnu; then
1184 $SHELL $ac_srcdir/configure.gnu --help=recursive
1185 elif test -f $ac_srcdir/configure; then
1187 $SHELL $ac_srcdir/configure --help=recursive
1188 elif test -f $ac_srcdir/configure.ac ||
1189 test -f $ac_srcdir/configure.in; then
1191 $ac_configure --help
1193 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1199 test -n "$ac_init_help" && exit 0
1200 if $ac_init_version; then
1202 wxWidgets configure 2.7.0
1203 generated by GNU Autoconf 2.59
1205 Copyright (C) 2003 Free Software Foundation, Inc.
1206 This configure script is free software; the Free Software Foundation
1207 gives unlimited permission to copy, distribute and modify it.
1213 This file contains any messages produced by compilers while
1214 running configure, to aid debugging if configure makes a mistake.
1216 It was created by wxWidgets $as_me 2.7.0, which was
1217 generated by GNU Autoconf 2.59. Invocation command line was
1228 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1229 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1230 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1231 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1232 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1234 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1235 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1237 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1238 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1239 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1240 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1241 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1242 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1243 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1251 test -z "$as_dir" && as_dir=.
1252 echo "PATH: $as_dir"
1267 # Keep a trace of the command line.
1268 # Strip out --no-create and --no-recursion so they do not pile up.
1269 # Strip out --silent because we don't want to record it for future runs.
1270 # Also quote any args containing shell meta-characters.
1271 # Make two passes to allow for proper duplicate-argument suppression.
1276 ac_must_keep_next=false
1282 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1283 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1284 | -silent | --silent | --silen | --sile | --sil)
1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1290 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1292 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1293 if test $ac_must_keep_next = true; then
1294 ac_must_keep_next=false # Got value, back to normal.
1297 *=* | --config-cache | -C | -disable-* | --disable-* \
1298 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1299 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1300 | -with-* | --with-* | -without-* | --without-* | --x)
1301 case "$ac_configure_args0 " in
1302 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1305 -* ) ac_must_keep_next=true ;;
1308 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1309 # Get rid of the leading space.
1315 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1316 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1318 # When interrupted or exit'd, cleanup temporary files, and complete
1319 # config.log. We remove comments because anyway the quotes in there
1320 # would cause problems or look ugly.
1321 # WARNING: Be sure not to use single quotes in there, as some shells,
1322 # such as our DU 5.0 friend, will then `close
' the trap.
1323 trap 'exit_status
=$?
1324 # Save into config.log some information that might help in debugging.
1329 ## ---------------- ##
1330 ## Cache variables. ##
1331 ## ---------------- ##
1334 # The following way of writing the cache mishandles newlines in values,
1337 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1340 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1352 ## ----------------- ##
1353 ## Output variables. ##
1354 ## ----------------- ##
1357 for ac_var
in $ac_subst_vars
1359 eval ac_val
=$
`echo $ac_var`
1360 echo "$ac_var='"'"'$ac_val'"'"'"
1364 if test -n "$ac_subst_files"; then
1371 for ac_var
in $ac_subst_files
1373 eval ac_val
=$
`echo $ac_var`
1374 echo "$ac_var='"'"'$ac_val'"'"'"
1379 if test -s confdefs.h
; then
1386 sed "/^$/d" confdefs.h
| sort
1389 test "$ac_signal" != 0 &&
1390 echo "$as_me: caught signal $ac_signal"
1391 echo "$as_me: exit $exit_status"
1393 rm -f core
*.core
&&
1394 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1397 for ac_signal in 1 2 13 15; do
1398 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1402 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1403 rm -rf conftest* confdefs.h
1404 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1407 # Predefined preprocessor variables.
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_NAME "$PACKAGE_NAME"
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1419 cat >>confdefs.h <<_ACEOF
1420 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1424 cat >>confdefs.h <<_ACEOF
1425 #define PACKAGE_STRING "$PACKAGE_STRING"
1429 cat >>confdefs.h <<_ACEOF
1430 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1434 # Let the site file select an alternate cache file if it wants to.
1435 # Prefer explicitly selected file to automatically selected ones.
1436 if test -z "$CONFIG_SITE"; then
1437 if test "x$prefix" != xNONE; then
1438 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1440 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1443 for ac_site_file in $CONFIG_SITE; do
1444 if test -r "$ac_site_file"; then
1445 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1446 echo "$as_me: loading site script $ac_site_file" >&6;}
1447 sed 's
/^
/| /' "$ac_site_file" >&5
1452 if test -r "$cache_file"; then
1453 # Some versions of bash will fail to source /dev/null (special
1454 # files actually), so we avoid doing that.
1455 if test -f "$cache_file"; then
1456 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1457 echo "$as_me: loading cache $cache_file" >&6;}
1459 [\\/]* | ?:[\\/]* ) . $cache_file;;
1460 *) . ./$cache_file;;
1464 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1465 echo "$as_me: creating cache $cache_file" >&6;}
1469 # Check that the precious variables saved in the cache have kept the same
1471 ac_cache_corrupted=false
1472 for ac_var in `(set) 2>&1 |
1473 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1474 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1475 eval ac_new_set=\$ac_env_${ac_var}_set
1476 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1477 eval ac_new_val="\$ac_env_${ac_var}_value"
1478 case $ac_old_set,$ac_new_set in
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1482 ac_cache_corrupted=: ;;
1484 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1485 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1486 ac_cache_corrupted=: ;;
1489 if test "x$ac_old_val" != "x$ac_new_val"; then
1490 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1491 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1492 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1493 echo "$as_me: former value: $ac_old_val" >&2;}
1494 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1495 echo "$as_me: current value: $ac_new_val" >&2;}
1496 ac_cache_corrupted=:
1499 # Pass precious variables to config.status.
1500 if test "$ac_new_set" = set; then
1502 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1503 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1504 *) ac_arg=$ac_var=$ac_new_val ;;
1506 case " $ac_configure_args " in
1507 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1508 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1512 if $ac_cache_corrupted; then
1513 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1514 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1515 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1516 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1517 { (exit 1); exit 1; }; }
1521 ac_cpp='$CPP $CPPFLAGS'
1522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1523 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1556 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1557 if test -f $ac_dir/install-sh; then
1559 ac_install_sh="$ac_aux_dir/install-sh -c"
1561 elif test -f $ac_dir/install.sh; then
1563 ac_install_sh="$ac_aux_dir/install.sh -c"
1565 elif test -f $ac_dir/shtool; then
1567 ac_install_sh="$ac_aux_dir/shtool install -c"
1571 if test -z "$ac_aux_dir"; then
1572 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1573 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1574 { (exit 1); exit 1; }; }
1576 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1577 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1578 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1580 # Make sure we can run config.sub.
1581 $ac_config_sub sun4 >/dev/null 2>&1 ||
1582 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1583 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1584 { (exit 1); exit 1; }; }
1586 echo "$as_me:$LINENO: checking build system type" >&5
1587 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1588 if test "${ac_cv_build+set}" = set; then
1589 echo $ECHO_N "(cached) $ECHO_C" >&6
1591 ac_cv_build_alias=$build_alias
1592 test -z "$ac_cv_build_alias" &&
1593 ac_cv_build_alias=`$ac_config_guess`
1594 test -z "$ac_cv_build_alias" &&
1595 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1596 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1597 { (exit 1); exit 1; }; }
1598 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1599 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1600 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1601 { (exit 1); exit 1; }; }
1604 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1605 echo "${ECHO_T}$ac_cv_build" >&6
1607 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1608 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1609 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1612 echo "$as_me:$LINENO: checking host system type" >&5
1613 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1614 if test "${ac_cv_host+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 ac_cv_host_alias=$host_alias
1618 test -z "$ac_cv_host_alias" &&
1619 ac_cv_host_alias=$ac_cv_build_alias
1620 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1621 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1622 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1623 { (exit 1); exit 1; }; }
1626 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1627 echo "${ECHO_T}$ac_cv_host" >&6
1629 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1630 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1631 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1634 echo "$as_me:$LINENO: checking target system type" >&5
1635 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1636 if test "${ac_cv_target+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1639 ac_cv_target_alias=$target_alias
1640 test "x$ac_cv_target_alias" = "x" &&
1641 ac_cv_target_alias=$ac_cv_host_alias
1642 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1643 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1644 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1645 { (exit 1); exit 1; }; }
1648 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1649 echo "${ECHO_T}$ac_cv_target" >&6
1650 target=$ac_cv_target
1651 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1652 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1653 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1656 # The aliases save the names the user supplied, while $host etc.
1657 # will get canonicalized.
1658 test -n "$target_alias" &&
1659 test "$program_prefix$program_suffix$program_transform_name" = \
1661 program_prefix=${target_alias}-
1665 wx_major_version_number=2
1666 wx_minor_version_number=7
1668 wx_subrelease_number=0
1670 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1671 WX_VERSION=$WX_RELEASE.$wx_release_number
1672 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1674 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1687 USE_BSD= USE_DARWIN= USE_FREEBSD=
1693 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1699 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1701 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1703 DEFAULT_wxUSE_COCOA=0
1707 DEFAULT_wxUSE_MICROWIN=0
1708 DEFAULT_wxUSE_MOTIF=0
1713 DEFAULT_DEFAULT_wxUSE_COCOA=0
1714 DEFAULT_DEFAULT_wxUSE_GTK=0
1715 DEFAULT_DEFAULT_wxUSE_MAC=0
1716 DEFAULT_DEFAULT_wxUSE_MGL=0
1717 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1718 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1719 DEFAULT_DEFAULT_wxUSE_MSW=0
1720 DEFAULT_DEFAULT_wxUSE_PM=0
1721 DEFAULT_DEFAULT_wxUSE_X11=0
1726 SAMPLES_RPATH_POSTLINK=
1728 DEFAULT_STD_FLAG=yes
1733 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1734 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1736 cat >>confdefs.h <<\_ACEOF
1743 cat >>confdefs.h <<\_ACEOF
1748 if test "x$TMP" = "xalpha"; then
1750 cat >>confdefs.h <<\_ACEOF
1755 DEFAULT_DEFAULT_wxUSE_GTK=1
1757 *-*-gnu* | *-*-k*bsd*-gnu )
1760 if test "x$TMP" = "xalpha"; then
1762 cat >>confdefs.h <<\_ACEOF
1767 DEFAULT_DEFAULT_wxUSE_GTK=1
1769 *-*-irix5* | *-*-irix6* )
1772 cat >>confdefs.h <<\_ACEOF
1776 cat >>confdefs.h <<\_ACEOF
1780 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1786 cat >>confdefs.h <<\_ACEOF
1790 cat >>confdefs.h <<\_ACEOF
1791 #define __SOLARIS__ 1
1794 cat >>confdefs.h <<\_ACEOF
1798 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1799 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1805 cat >>confdefs.h <<\_ACEOF
1809 cat >>confdefs.h <<\_ACEOF
1813 cat >>confdefs.h <<\_ACEOF
1817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __FREEBSD__ 1
1826 cat >>confdefs.h <<\_ACEOF
1830 DEFAULT_DEFAULT_wxUSE_GTK=1
1835 cat >>confdefs.h <<\_ACEOF
1836 #define __OPENBSD__ 1
1839 cat >>confdefs.h <<\_ACEOF
1843 DEFAULT_DEFAULT_wxUSE_GTK=1
1848 cat >>confdefs.h <<\_ACEOF
1849 #define __NETBSD__ 1
1852 cat >>confdefs.h <<\_ACEOF
1856 DEFAULT_DEFAULT_wxUSE_GTK=1
1861 cat >>confdefs.h <<\_ACEOF
1865 cat >>confdefs.h <<\_ACEOF
1869 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1870 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1875 cat >>confdefs.h <<\_ACEOF
1879 cat >>confdefs.h <<\_ACEOF
1883 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1888 cat >>confdefs.h <<\_ACEOF
1892 cat >>confdefs.h <<\_ACEOF
1896 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1903 cat >>confdefs.h <<\_ACEOF
1907 cat >>confdefs.h <<\_ACEOF
1911 cat >>confdefs.h <<\_ACEOF
1915 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1922 cat >>confdefs.h <<\_ACEOF
1923 #define __UNIXWARE__ 1
1928 *-*-cygwin* | *-*-mingw32* )
1931 DEFAULT_DEFAULT_wxUSE_MSW=1
1938 cat >>confdefs.h <<\_ACEOF
1943 DEFAULT_DEFAULT_wxUSE_MGL=1
1946 *-pc-os2_emx | *-pc-os2-emx )
1947 cat >>confdefs.h <<\_ACEOF
1952 cat >>confdefs.h <<\_ACEOF
1957 DEFAULT_DEFAULT_wxUSE_PM=1
1959 LDFLAGS="$LDFLAGS -Zcrtdll"
1960 ac_executable_extensions=".exe"
1961 export ac_executable_extensions
1965 for ac_dir in $PATH; do
1967 if test -z "$ac_TEMP_PATH"; then
1968 ac_TEMP_PATH="$ac_dir"
1970 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1973 export PATH="$ac_TEMP_PATH"
1982 cat >>confdefs.h <<\_ACEOF
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __DARWIN__ 1
1990 cat >>confdefs.h <<\_ACEOF
1991 #define TARGET_CARBON 1
1994 DEFAULT_DEFAULT_wxUSE_MAC=1
1997 powerpc-apple-macos* )
1999 ac_cv_c_bigendian=yes
2001 DEFAULT_DEFAULT_wxUSE_MAC=1
2007 cat >>confdefs.h <<\_ACEOF
2014 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2015 echo "$as_me: error: unknown system type ${host}." >&2;}
2016 { (exit 1); exit 1; }; }
2022 wx_arg_cache_file="configarg.cache"
2023 echo "loading argument cache $wx_arg_cache_file"
2024 rm -f ${wx_arg_cache_file}.tmp
2025 touch ${wx_arg_cache_file}.tmp
2026 touch ${wx_arg_cache_file}
2030 if test $DEBUG_CONFIGURE = 1; then
2031 DEFAULT_wxUSE_UNIVERSAL=no
2032 DEFAULT_wxUSE_STL=no
2034 DEFAULT_wxUSE_NANOX=no
2036 DEFAULT_wxUSE_THREADS=yes
2038 DEFAULT_wxUSE_SHARED=yes
2039 DEFAULT_wxUSE_OPTIMISE=no
2040 DEFAULT_wxUSE_PROFILE=no
2041 DEFAULT_wxUSE_NO_DEPS=no
2042 DEFAULT_wxUSE_NO_RTTI=no
2043 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2044 DEFAULT_wxUSE_RPATH=yes
2045 DEFAULT_wxUSE_PERMISSIVE=no
2046 DEFAULT_wxUSE_DEBUG_FLAG=yes
2047 DEFAULT_wxUSE_DEBUG_INFO=yes
2048 DEFAULT_wxUSE_DEBUG_GDB=yes
2049 DEFAULT_wxUSE_MEM_TRACING=no
2050 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2051 DEFAULT_wxUSE_DMALLOC=no
2052 DEFAULT_wxUSE_APPLE_IEEE=no
2054 DEFAULT_wxUSE_EXCEPTIONS=no
2055 DEFAULT_wxUSE_LOG=yes
2056 DEFAULT_wxUSE_LOGWINDOW=no
2057 DEFAULT_wxUSE_LOGGUI=no
2058 DEFAULT_wxUSE_LOGDIALOG=no
2060 DEFAULT_wxUSE_GUI=yes
2061 DEFAULT_wxUSE_CONTROLS=no
2063 DEFAULT_wxUSE_REGEX=no
2064 DEFAULT_wxUSE_XML=no
2065 DEFAULT_wxUSE_EXPAT=no
2066 DEFAULT_wxUSE_ZLIB=no
2067 DEFAULT_wxUSE_LIBPNG=no
2068 DEFAULT_wxUSE_LIBJPEG=no
2069 DEFAULT_wxUSE_LIBTIFF=no
2070 DEFAULT_wxUSE_LIBXPM=no
2071 DEFAULT_wxUSE_LIBMSPACK=no
2072 DEFAULT_wxUSE_LIBSDL=no
2073 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2074 DEFAULT_wxUSE_ODBC=no
2075 DEFAULT_wxUSE_OPENGL=no
2077 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2078 DEFAULT_wxUSE_STACKWALKER=no
2079 DEFAULT_wxUSE_DEBUGREPORT=no
2080 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2081 DEFAULT_wxUSE_STD_IOSTREAM=no
2082 DEFAULT_wxUSE_STD_STRING=no
2083 DEFAULT_wxUSE_CMDLINE_PARSER=no
2084 DEFAULT_wxUSE_DATETIME=no
2085 DEFAULT_wxUSE_TIMER=no
2086 DEFAULT_wxUSE_STOPWATCH=no
2087 DEFAULT_wxUSE_FILE=no
2088 DEFAULT_wxUSE_FFILE=no
2089 DEFAULT_wxUSE_STDPATHS=no
2090 DEFAULT_wxUSE_TEXTBUFFER=no
2091 DEFAULT_wxUSE_TEXTFILE=no
2092 DEFAULT_wxUSE_SOUND=no
2093 DEFAULT_wxUSE_MEDIACTRL=no
2094 DEFAULT_wxUSE_INTL=no
2095 DEFAULT_wxUSE_CONFIG=no
2096 DEFAULT_wxUSE_FONTMAP=no
2097 DEFAULT_wxUSE_STREAMS=no
2098 DEFAULT_wxUSE_SOCKETS=no
2099 DEFAULT_wxUSE_OLE=no
2100 DEFAULT_wxUSE_DATAOBJ=no
2101 DEFAULT_wxUSE_DIALUP_MANAGER=no
2102 DEFAULT_wxUSE_JOYSTICK=no
2103 DEFAULT_wxUSE_DYNLIB_CLASS=no
2104 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2105 DEFAULT_wxUSE_LONGLONG=no
2106 DEFAULT_wxUSE_GEOMETRY=no
2108 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2109 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2110 DEFAULT_wxUSE_POSTSCRIPT=no
2112 DEFAULT_wxUSE_CLIPBOARD=no
2113 DEFAULT_wxUSE_TOOLTIPS=no
2114 DEFAULT_wxUSE_DRAG_AND_DROP=no
2115 DEFAULT_wxUSE_DRAGIMAGE=no
2116 DEFAULT_wxUSE_SPLINES=no
2117 DEFAULT_wxUSE_MOUSEWHEEL=no
2119 DEFAULT_wxUSE_MDI=no
2120 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2121 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2122 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2124 DEFAULT_wxUSE_RESOURCES=no
2125 DEFAULT_wxUSE_CONSTRAINTS=no
2126 DEFAULT_wxUSE_IPC=no
2127 DEFAULT_wxUSE_HELP=no
2128 DEFAULT_wxUSE_MS_HTML_HELP=no
2129 DEFAULT_wxUSE_WXHTML_HELP=no
2130 DEFAULT_wxUSE_TREELAYOUT=no
2131 DEFAULT_wxUSE_METAFILE=no
2132 DEFAULT_wxUSE_MIMETYPE=no
2133 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2134 DEFAULT_wxUSE_PROTOCOL=no
2135 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2136 DEFAULT_wxUSE_PROTOCOL_FTP=no
2137 DEFAULT_wxUSE_PROTOCOL_FILE=no
2138 DEFAULT_wxUSE_URL=no
2140 DEFAULT_wxUSE_COMMONDLGS=no
2141 DEFAULT_wxUSE_CHOICEDLG=no
2142 DEFAULT_wxUSE_COLOURDLG=no
2143 DEFAULT_wxUSE_DIRDLG=no
2144 DEFAULT_wxUSE_FILEDLG=no
2145 DEFAULT_wxUSE_FINDREPLDLG=no
2146 DEFAULT_wxUSE_FONTDLG=no
2147 DEFAULT_wxUSE_MSGDLG=no
2148 DEFAULT_wxUSE_NUMBERDLG=no
2149 DEFAULT_wxUSE_TEXTDLG=no
2150 DEFAULT_wxUSE_SPLASH=no
2151 DEFAULT_wxUSE_STARTUP_TIPS=no
2152 DEFAULT_wxUSE_PROGRESSDLG=no
2153 DEFAULT_wxUSE_WIZARDDLG=no
2155 DEFAULT_wxUSE_MENUS=no
2156 DEFAULT_wxUSE_MINIFRAME=no
2157 DEFAULT_wxUSE_HTML=no
2158 DEFAULT_wxUSE_XRC=no
2159 DEFAULT_wxUSE_WEBKIT=no
2160 DEFAULT_wxUSE_FILESYSTEM=no
2161 DEFAULT_wxUSE_FS_INET=no
2162 DEFAULT_wxUSE_FS_ZIP=no
2163 DEFAULT_wxUSE_BUSYINFO=no
2164 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2165 DEFAULT_wxUSE_ZIPSTREAM=no
2166 DEFAULT_wxUSE_VALIDATORS=no
2168 DEFAULT_wxUSE_ACCEL=no
2169 DEFAULT_wxUSE_BUTTON=no
2170 DEFAULT_wxUSE_BMPBUTTON=no
2171 DEFAULT_wxUSE_CALCTRL=no
2172 DEFAULT_wxUSE_CARET=no
2173 DEFAULT_wxUSE_CHECKBOX=no
2174 DEFAULT_wxUSE_CHECKLST=no
2175 DEFAULT_wxUSE_CHOICE=no
2176 DEFAULT_wxUSE_CHOICEBOOK=no
2177 DEFAULT_wxUSE_COMBOBOX=no
2178 DEFAULT_wxUSE_DATEPICKCTRL=no
2179 DEFAULT_wxUSE_DISPLAY=no
2180 DEFAULT_wxUSE_GAUGE=no
2181 DEFAULT_wxUSE_GRID=no
2182 DEFAULT_wxUSE_IMAGLIST=no
2183 DEFAULT_wxUSE_LISTBOOK=no
2184 DEFAULT_wxUSE_LISTBOX=no
2185 DEFAULT_wxUSE_LISTCTRL=no
2186 DEFAULT_wxUSE_NOTEBOOK=no
2187 DEFAULT_wxUSE_RADIOBOX=no
2188 DEFAULT_wxUSE_RADIOBTN=no
2189 DEFAULT_wxUSE_SASH=no
2190 DEFAULT_wxUSE_SCROLLBAR=no
2191 DEFAULT_wxUSE_SLIDER=no
2192 DEFAULT_wxUSE_SPINBTN=no
2193 DEFAULT_wxUSE_SPINCTRL=no
2194 DEFAULT_wxUSE_SPLITTER=no
2195 DEFAULT_wxUSE_STATBMP=no
2196 DEFAULT_wxUSE_STATBOX=no
2197 DEFAULT_wxUSE_STATLINE=no
2198 DEFAULT_wxUSE_STATTEXT=no
2199 DEFAULT_wxUSE_STATUSBAR=yes
2200 DEFAULT_wxUSE_TABDIALOG=no
2201 DEFAULT_wxUSE_TEXTCTRL=no
2202 DEFAULT_wxUSE_TOGGLEBTN=no
2203 DEFAULT_wxUSE_TOOLBAR=no
2204 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2205 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2206 DEFAULT_wxUSE_TREECTRL=no
2207 DEFAULT_wxUSE_POPUPWIN=no
2208 DEFAULT_wxUSE_TIPWINDOW=no
2210 DEFAULT_wxUSE_UNICODE=no
2211 DEFAULT_wxUSE_UNICODE_MSLU=no
2212 DEFAULT_wxUSE_WCSRTOMBS=no
2214 DEFAULT_wxUSE_PALETTE=no
2215 DEFAULT_wxUSE_IMAGE=no
2216 DEFAULT_wxUSE_GIF=no
2217 DEFAULT_wxUSE_PCX=no
2218 DEFAULT_wxUSE_PNM=no
2219 DEFAULT_wxUSE_IFF=no
2220 DEFAULT_wxUSE_XPM=no
2221 DEFAULT_wxUSE_ICO_CUR=no
2222 DEFAULT_wxUSE_ACCESSIBILITY=no
2224 DEFAULT_wxUSE_MONOLITHIC=no
2225 DEFAULT_wxUSE_PLUGINS=no
2226 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2228 DEFAULT_wxUSE_UNIVERSAL=no
2229 DEFAULT_wxUSE_STL=no
2231 DEFAULT_wxUSE_NANOX=no
2233 DEFAULT_wxUSE_THREADS=yes
2235 DEFAULT_wxUSE_SHARED=yes
2236 DEFAULT_wxUSE_OPTIMISE=yes
2237 DEFAULT_wxUSE_PROFILE=no
2238 DEFAULT_wxUSE_NO_DEPS=no
2239 DEFAULT_wxUSE_NO_RTTI=no
2240 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2241 DEFAULT_wxUSE_RPATH=yes
2242 DEFAULT_wxUSE_PERMISSIVE=no
2243 DEFAULT_wxUSE_DEBUG_FLAG=no
2244 DEFAULT_wxUSE_DEBUG_INFO=no
2245 DEFAULT_wxUSE_DEBUG_GDB=no
2246 DEFAULT_wxUSE_MEM_TRACING=no
2247 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2248 DEFAULT_wxUSE_DMALLOC=no
2249 DEFAULT_wxUSE_APPLE_IEEE=yes
2251 DEFAULT_wxUSE_EXCEPTIONS=yes
2252 DEFAULT_wxUSE_LOG=yes
2253 DEFAULT_wxUSE_LOGWINDOW=yes
2254 DEFAULT_wxUSE_LOGGUI=yes
2255 DEFAULT_wxUSE_LOGDIALOG=yes
2257 DEFAULT_wxUSE_GUI=yes
2259 DEFAULT_wxUSE_REGEX=yes
2260 DEFAULT_wxUSE_XML=yes
2261 DEFAULT_wxUSE_EXPAT=yes
2262 DEFAULT_wxUSE_ZLIB=yes
2263 DEFAULT_wxUSE_LIBPNG=yes
2264 DEFAULT_wxUSE_LIBJPEG=yes
2265 DEFAULT_wxUSE_LIBTIFF=yes
2266 DEFAULT_wxUSE_LIBXPM=yes
2267 DEFAULT_wxUSE_LIBMSPACK=yes
2268 DEFAULT_wxUSE_LIBSDL=no
2269 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2270 DEFAULT_wxUSE_ODBC=no
2271 DEFAULT_wxUSE_OPENGL=no
2273 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2274 DEFAULT_wxUSE_STACKWALKER=yes
2275 DEFAULT_wxUSE_DEBUGREPORT=yes
2276 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2277 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2278 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2279 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2280 DEFAULT_wxUSE_DATETIME=yes
2281 DEFAULT_wxUSE_TIMER=yes
2282 DEFAULT_wxUSE_STOPWATCH=yes
2283 DEFAULT_wxUSE_FILE=yes
2284 DEFAULT_wxUSE_FFILE=yes
2285 DEFAULT_wxUSE_STDPATHS=yes
2286 DEFAULT_wxUSE_TEXTBUFFER=yes
2287 DEFAULT_wxUSE_TEXTFILE=yes
2288 DEFAULT_wxUSE_SOUND=yes
2289 DEFAULT_wxUSE_MEDIACTRL=no
2290 DEFAULT_wxUSE_INTL=yes
2291 DEFAULT_wxUSE_CONFIG=yes
2292 DEFAULT_wxUSE_FONTMAP=yes
2293 DEFAULT_wxUSE_STREAMS=yes
2294 DEFAULT_wxUSE_SOCKETS=yes
2295 DEFAULT_wxUSE_OLE=yes
2296 DEFAULT_wxUSE_DATAOBJ=yes
2297 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2298 DEFAULT_wxUSE_JOYSTICK=yes
2299 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2300 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2301 DEFAULT_wxUSE_LONGLONG=yes
2302 DEFAULT_wxUSE_GEOMETRY=yes
2304 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2305 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2306 DEFAULT_wxUSE_POSTSCRIPT=yes
2308 DEFAULT_wxUSE_CLIPBOARD=yes
2309 DEFAULT_wxUSE_TOOLTIPS=yes
2310 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2311 DEFAULT_wxUSE_DRAGIMAGE=yes
2312 DEFAULT_wxUSE_SPLINES=yes
2313 DEFAULT_wxUSE_MOUSEWHEEL=yes
2315 DEFAULT_wxUSE_MDI=yes
2316 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2317 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2318 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2320 DEFAULT_wxUSE_RESOURCES=no
2321 DEFAULT_wxUSE_CONSTRAINTS=yes
2322 DEFAULT_wxUSE_IPC=yes
2323 DEFAULT_wxUSE_HELP=yes
2324 DEFAULT_wxUSE_MS_HTML_HELP=yes
2325 DEFAULT_wxUSE_WXHTML_HELP=yes
2326 DEFAULT_wxUSE_TREELAYOUT=yes
2327 DEFAULT_wxUSE_METAFILE=yes
2328 DEFAULT_wxUSE_MIMETYPE=yes
2329 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2330 DEFAULT_wxUSE_PROTOCOL=yes
2331 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2332 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2333 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2334 DEFAULT_wxUSE_URL=yes
2336 DEFAULT_wxUSE_COMMONDLGS=yes
2337 DEFAULT_wxUSE_CHOICEDLG=yes
2338 DEFAULT_wxUSE_COLOURDLG=yes
2339 DEFAULT_wxUSE_DIRDLG=yes
2340 DEFAULT_wxUSE_FILEDLG=yes
2341 DEFAULT_wxUSE_FINDREPLDLG=yes
2342 DEFAULT_wxUSE_FONTDLG=yes
2343 DEFAULT_wxUSE_MSGDLG=yes
2344 DEFAULT_wxUSE_NUMBERDLG=yes
2345 DEFAULT_wxUSE_TEXTDLG=yes
2346 DEFAULT_wxUSE_SPLASH=yes
2347 DEFAULT_wxUSE_STARTUP_TIPS=yes
2348 DEFAULT_wxUSE_PROGRESSDLG=yes
2349 DEFAULT_wxUSE_WIZARDDLG=yes
2351 DEFAULT_wxUSE_MENUS=yes
2352 DEFAULT_wxUSE_MINIFRAME=yes
2353 DEFAULT_wxUSE_HTML=yes
2354 DEFAULT_wxUSE_XRC=yes
2355 DEFAULT_wxUSE_WEBKIT=yes
2356 DEFAULT_wxUSE_FILESYSTEM=yes
2357 DEFAULT_wxUSE_FS_INET=yes
2358 DEFAULT_wxUSE_FS_ZIP=yes
2359 DEFAULT_wxUSE_BUSYINFO=yes
2360 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2361 DEFAULT_wxUSE_ZIPSTREAM=yes
2362 DEFAULT_wxUSE_VALIDATORS=yes
2364 DEFAULT_wxUSE_ACCEL=yes
2365 DEFAULT_wxUSE_BUTTON=yes
2366 DEFAULT_wxUSE_BMPBUTTON=yes
2367 DEFAULT_wxUSE_CALCTRL=yes
2368 DEFAULT_wxUSE_CARET=yes
2369 DEFAULT_wxUSE_CHECKBOX=yes
2370 DEFAULT_wxUSE_CHECKLST=yes
2371 DEFAULT_wxUSE_CHOICE=yes
2372 DEFAULT_wxUSE_CHOICEBOOK=yes
2373 DEFAULT_wxUSE_COMBOBOX=yes
2374 DEFAULT_wxUSE_DATEPICKCTRL=yes
2375 DEFAULT_wxUSE_DISPLAY=yes
2376 DEFAULT_wxUSE_GAUGE=yes
2377 DEFAULT_wxUSE_GRID=yes
2378 DEFAULT_wxUSE_IMAGLIST=yes
2379 DEFAULT_wxUSE_LISTBOOK=yes
2380 DEFAULT_wxUSE_LISTBOX=yes
2381 DEFAULT_wxUSE_LISTCTRL=yes
2382 DEFAULT_wxUSE_NOTEBOOK=yes
2383 DEFAULT_wxUSE_RADIOBOX=yes
2384 DEFAULT_wxUSE_RADIOBTN=yes
2385 DEFAULT_wxUSE_SASH=yes
2386 DEFAULT_wxUSE_SCROLLBAR=yes
2387 DEFAULT_wxUSE_SLIDER=yes
2388 DEFAULT_wxUSE_SPINBTN=yes
2389 DEFAULT_wxUSE_SPINCTRL=yes
2390 DEFAULT_wxUSE_SPLITTER=yes
2391 DEFAULT_wxUSE_STATBMP=yes
2392 DEFAULT_wxUSE_STATBOX=yes
2393 DEFAULT_wxUSE_STATLINE=yes
2394 DEFAULT_wxUSE_STATTEXT=yes
2395 DEFAULT_wxUSE_STATUSBAR=yes
2396 DEFAULT_wxUSE_TABDIALOG=no
2397 DEFAULT_wxUSE_TEXTCTRL=yes
2398 DEFAULT_wxUSE_TOGGLEBTN=yes
2399 DEFAULT_wxUSE_TOOLBAR=yes
2400 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2401 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2402 DEFAULT_wxUSE_TREECTRL=yes
2403 DEFAULT_wxUSE_POPUPWIN=yes
2404 DEFAULT_wxUSE_TIPWINDOW=yes
2406 DEFAULT_wxUSE_UNICODE=no
2407 DEFAULT_wxUSE_UNICODE_MSLU=yes
2408 DEFAULT_wxUSE_WCSRTOMBS=no
2410 DEFAULT_wxUSE_PALETTE=yes
2411 DEFAULT_wxUSE_IMAGE=yes
2412 DEFAULT_wxUSE_GIF=yes
2413 DEFAULT_wxUSE_PCX=yes
2414 DEFAULT_wxUSE_IFF=no
2415 DEFAULT_wxUSE_PNM=yes
2416 DEFAULT_wxUSE_XPM=yes
2417 DEFAULT_wxUSE_ICO_CUR=yes
2418 DEFAULT_wxUSE_ACCESSIBILITY=no
2420 DEFAULT_wxUSE_MONOLITHIC=no
2421 DEFAULT_wxUSE_PLUGINS=no
2422 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2424 DEFAULT_wxUSE_GTK2=yes
2430 for toolkit in `echo $ALL_TOOLKITS`; do
2431 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2432 if test "x$LINE" != "x" ; then
2433 has_toolkit_in_cache=1
2434 eval "DEFAULT_$LINE"
2435 eval "CACHE_$toolkit=1"
2437 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2438 if test "x$LINE" != "x" ; then
2439 eval "DEFAULT_$LINE"
2447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2448 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2450 # Check whether --enable-gui or --disable-gui was given.
2451 if test "${enable_gui+set}" = set; then
2452 enableval="$enable_gui"
2454 if test "$enableval" = yes; then
2455 ac_cv_use_gui='wxUSE_GUI
=yes'
2457 ac_cv_use_gui='wxUSE_GUI
=no
'
2462 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2463 if test "x$LINE" != x ; then
2464 eval "DEFAULT_$LINE"
2469 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2473 eval "$ac_cv_use_gui"
2474 if test "$no_cache" != 1; then
2475 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2478 if test "$wxUSE_GUI" = yes; then
2479 echo "$as_me:$LINENO: result: yes" >&5
2480 echo "${ECHO_T}yes" >&6
2482 echo "$as_me:$LINENO: result: no" >&5
2483 echo "${ECHO_T}no" >&6
2488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2489 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2491 # Check whether --enable-monolithic or --disable-monolithic was given.
2492 if test "${enable_monolithic+set}" = set; then
2493 enableval="$enable_monolithic"
2495 if test "$enableval" = yes; then
2496 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2498 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2503 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2504 if test "x$LINE" != x ; then
2505 eval "DEFAULT_$LINE"
2510 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2514 eval "$ac_cv_use_monolithic"
2515 if test "$no_cache" != 1; then
2516 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2519 if test "$wxUSE_MONOLITHIC" = yes; then
2520 echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6
2523 echo "$as_me:$LINENO: result: no" >&5
2524 echo "${ECHO_T}no" >&6
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2532 # Check whether --enable-plugins or --disable-plugins was given.
2533 if test "${enable_plugins+set}" = set; then
2534 enableval="$enable_plugins"
2536 if test "$enableval" = yes; then
2537 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2539 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2544 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2551 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2555 eval "$ac_cv_use_plugins"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_PLUGINS" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2570 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2571 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2574 # Check whether --with-subdirs or --without-subdirs was given.
2575 if test "${with_subdirs+set}" = set; then
2576 withval="$with_subdirs"
2578 if test "$withval" = yes; then
2579 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2581 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2586 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x ; then
2588 eval "DEFAULT_$LINE"
2593 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2597 eval "$ac_cv_use_subdirs"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2602 if test "$wxWITH_SUBDIRS" = yes; then
2603 echo "$as_me:$LINENO: result: yes" >&5
2604 echo "${ECHO_T}yes" >&6
2606 echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6
2611 if test "$wxUSE_GUI" = "yes"; then
2615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2616 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2618 # Check whether --enable-universal or --disable-universal was given.
2619 if test "${enable_universal+set}" = set; then
2620 enableval="$enable_universal"
2622 if test "$enableval" = yes; then
2623 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2625 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2630 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2631 if test "x$LINE" != x ; then
2632 eval "DEFAULT_$LINE"
2637 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2641 eval "$ac_cv_use_universal"
2642 if test "$no_cache" != 1; then
2643 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2646 if test "$wxUSE_UNIVERSAL" = yes; then
2647 echo "$as_me:$LINENO: result: yes" >&5
2648 echo "${ECHO_T}yes" >&6
2650 echo "$as_me:$LINENO: result: no" >&5
2651 echo "${ECHO_T}no" >&6
2655 # Check whether --with-gtk or --without-gtk was given.
2656 if test "${with_gtk+set}" = set; then
2658 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2661 # Check whether --with-motif or --without-motif was given.
2662 if test "${with_motif+set}" = set; then
2663 withval="$with_motif"
2664 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2667 # Check whether --with-mac or --without-mac was given.
2668 if test "${with_mac+set}" = set; then
2670 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2673 # Check whether --with-cocoa or --without-cocoa was given.
2674 if test "${with_cocoa+set}" = set; then
2675 withval="$with_cocoa"
2676 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2679 # Check whether --with-wine or --without-wine was given.
2680 if test "${with_wine+set}" = set; then
2681 withval="$with_wine"
2682 wxUSE_WINE="$withval" CACHE_WINE=1
2685 # Check whether --with-msw or --without-msw was given.
2686 if test "${with_msw+set}" = set; then
2688 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2691 # Check whether --with-pm or --without-pm was given.
2692 if test "${with_pm+set}" = set; then
2694 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2697 # Check whether --with-mgl or --without-mgl was given.
2698 if test "${with_mgl+set}" = set; then
2700 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2703 # Check whether --with-microwin or --without-microwin was given.
2704 if test "${with_microwin+set}" = set; then
2705 withval="$with_microwin"
2706 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2709 # Check whether --with-x11 or --without-x11 was given.
2710 if test "${with_x11+set}" = set; then
2712 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2717 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2719 # Check whether --enable-nanox or --disable-nanox was given.
2720 if test "${enable_nanox+set}" = set; then
2721 enableval="$enable_nanox"
2723 if test "$enableval" = yes; then
2724 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2726 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2731 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2732 if test "x$LINE" != x ; then
2733 eval "DEFAULT_$LINE"
2738 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2742 eval "$ac_cv_use_nanox"
2743 if test "$no_cache" != 1; then
2744 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2747 if test "$wxUSE_NANOX" = yes; then
2748 echo "$as_me:$LINENO: result: yes" >&5
2749 echo "${ECHO_T}yes" >&6
2751 echo "$as_me:$LINENO: result: no" >&5
2752 echo "${ECHO_T}no" >&6
2756 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2757 if test "${enable_gtk2+set}" = set; then
2758 enableval="$enable_gtk2"
2759 wxUSE_GTK2="$enableval"
2763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2764 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2766 # Check whether --enable-gpe or --disable-gpe was given.
2767 if test "${enable_gpe+set}" = set; then
2768 enableval="$enable_gpe"
2770 if test "$enableval" = yes; then
2771 ac_cv_use_gpe='wxUSE_GPE
=yes'
2773 ac_cv_use_gpe='wxUSE_GPE
=no
'
2778 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2779 if test "x$LINE" != x ; then
2780 eval "DEFAULT_$LINE"
2785 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
2789 eval "$ac_cv_use_gpe"
2790 if test "$no_cache" != 1; then
2791 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2794 if test "$wxUSE_GPE" = yes; then
2795 echo "$as_me:$LINENO: result: yes" >&5
2796 echo "${ECHO_T}yes" >&6
2798 echo "$as_me:$LINENO: result: no" >&5
2799 echo "${ECHO_T}no" >&6
2804 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2805 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2808 # Check whether --with-libpng or --without-libpng was given.
2809 if test "${with_libpng+set}" = set; then
2810 withval="$with_libpng"
2812 if test "$withval" = yes; then
2813 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2814 elif test "$withval" = no; then
2815 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2816 elif test "$withval" = sys; then
2817 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2818 elif test "$withval" = builtin; then
2819 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2822 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2823 { (exit 1); exit 1; }; }
2828 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2829 if test "x$LINE" != x ; then
2830 eval "DEFAULT_$LINE"
2835 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2839 eval "$ac_cv_use_libpng"
2840 if test "$no_cache" != 1; then
2841 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2844 if test "$wxUSE_LIBPNG" = yes; then
2845 echo "$as_me:$LINENO: result: yes" >&5
2846 echo "${ECHO_T}yes" >&6
2847 elif test "$wxUSE_LIBPNG" = no; then
2848 echo "$as_me:$LINENO: result: no" >&5
2849 echo "${ECHO_T}no" >&6
2850 elif test "$wxUSE_LIBPNG" = sys; then
2851 echo "$as_me:$LINENO: result: system version" >&5
2852 echo "${ECHO_T}system version" >&6
2853 elif test "$wxUSE_LIBPNG" = builtin; then
2854 echo "$as_me:$LINENO: result: builtin version" >&5
2855 echo "${ECHO_T}builtin version" >&6
2857 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2858 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2859 { (exit 1); exit 1; }; }
2863 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2864 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2867 # Check whether --with-libjpeg or --without-libjpeg was given.
2868 if test "${with_libjpeg+set}" = set; then
2869 withval="$with_libjpeg"
2871 if test "$withval" = yes; then
2872 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2873 elif test "$withval" = no; then
2874 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2875 elif test "$withval" = sys; then
2876 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2877 elif test "$withval" = builtin; then
2878 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2887 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2888 if test "x$LINE" != x ; then
2889 eval "DEFAULT_$LINE"
2894 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2898 eval "$ac_cv_use_libjpeg"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2903 if test "$wxUSE_LIBJPEG" = yes; then
2904 echo "$as_me:$LINENO: result: yes" >&5
2905 echo "${ECHO_T}yes" >&6
2906 elif test "$wxUSE_LIBJPEG" = no; then
2907 echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2909 elif test "$wxUSE_LIBJPEG" = sys; then
2910 echo "$as_me:$LINENO: result: system version" >&5
2911 echo "${ECHO_T}system version" >&6
2912 elif test "$wxUSE_LIBJPEG" = builtin; then
2913 echo "$as_me:$LINENO: result: builtin version" >&5
2914 echo "${ECHO_T}builtin version" >&6
2916 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2917 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2918 { (exit 1); exit 1; }; }
2922 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2923 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2926 # Check whether --with-libtiff or --without-libtiff was given.
2927 if test "${with_libtiff+set}" = set; then
2928 withval="$with_libtiff"
2930 if test "$withval" = yes; then
2931 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2932 elif test "$withval" = no; then
2933 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2934 elif test "$withval" = sys; then
2935 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2936 elif test "$withval" = builtin; then
2937 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2946 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x ; then
2948 eval "DEFAULT_$LINE"
2953 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2957 eval "$ac_cv_use_libtiff"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2962 if test "$wxUSE_LIBTIFF" = yes; then
2963 echo "$as_me:$LINENO: result: yes" >&5
2964 echo "${ECHO_T}yes" >&6
2965 elif test "$wxUSE_LIBTIFF" = no; then
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 elif test "$wxUSE_LIBTIFF" = sys; then
2969 echo "$as_me:$LINENO: result: system version" >&5
2970 echo "${ECHO_T}system version" >&6
2971 elif test "$wxUSE_LIBTIFF" = builtin; then
2972 echo "$as_me:$LINENO: result: builtin version" >&5
2973 echo "${ECHO_T}builtin version" >&6
2975 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2976 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2977 { (exit 1); exit 1; }; }
2981 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2982 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2985 # Check whether --with-libxpm or --without-libxpm was given.
2986 if test "${with_libxpm+set}" = set; then
2987 withval="$with_libxpm"
2989 if test "$withval" = yes; then
2990 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
2991 elif test "$withval" = no; then
2992 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
2993 elif test "$withval" = sys; then
2994 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
2995 elif test "$withval" = builtin; then
2996 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3005 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3006 if test "x$LINE" != x ; then
3007 eval "DEFAULT_$LINE"
3012 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3016 eval "$ac_cv_use_libxpm"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3021 if test "$wxUSE_LIBXPM" = yes; then
3022 echo "$as_me:$LINENO: result: yes" >&5
3023 echo "${ECHO_T}yes" >&6
3024 elif test "$wxUSE_LIBXPM" = no; then
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3027 elif test "$wxUSE_LIBXPM" = sys; then
3028 echo "$as_me:$LINENO: result: system version" >&5
3029 echo "${ECHO_T}system version" >&6
3030 elif test "$wxUSE_LIBXPM" = builtin; then
3031 echo "$as_me:$LINENO: result: builtin version" >&5
3032 echo "${ECHO_T}builtin version" >&6
3034 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3035 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3036 { (exit 1); exit 1; }; }
3041 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3042 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3045 # Check whether --with-libmspack or --without-libmspack was given.
3046 if test "${with_libmspack+set}" = set; then
3047 withval="$with_libmspack"
3049 if test "$withval" = yes; then
3050 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3052 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3057 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x ; then
3059 eval "DEFAULT_$LINE"
3064 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3068 eval "$ac_cv_use_libmspack"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3073 if test "$wxUSE_LIBMSPACK" = yes; then
3074 echo "$as_me:$LINENO: result: yes" >&5
3075 echo "${ECHO_T}yes" >&6
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3083 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3084 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3087 # Check whether --with-sdl or --without-sdl was given.
3088 if test "${with_sdl+set}" = set; then
3091 if test "$withval" = yes; then
3092 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3094 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3099 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x ; then
3101 eval "DEFAULT_$LINE"
3106 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3110 eval "$ac_cv_use_sdl"
3111 if test "$no_cache" != 1; then
3112 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3115 if test "$wxUSE_LIBSDL" = yes; then
3116 echo "$as_me:$LINENO: result: yes" >&5
3117 echo "${ECHO_T}yes" >&6
3119 echo "$as_me:$LINENO: result: no" >&5
3120 echo "${ECHO_T}no" >&6
3125 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3126 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3129 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3130 if test "${with_gnomeprint+set}" = set; then
3131 withval="$with_gnomeprint"
3133 if test "$withval" = yes; then
3134 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3136 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3141 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x ; then
3143 eval "DEFAULT_$LINE"
3148 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3152 eval "$ac_cv_use_gnomeprint"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3157 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3158 echo "$as_me:$LINENO: result: yes" >&5
3159 echo "${ECHO_T}yes" >&6
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3167 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3168 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3171 # Check whether --with-opengl or --without-opengl was given.
3172 if test "${with_opengl+set}" = set; then
3173 withval="$with_opengl"
3175 if test "$withval" = yes; then
3176 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3178 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3183 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x ; then
3185 eval "DEFAULT_$LINE"
3190 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3194 eval "$ac_cv_use_opengl"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3199 if test "$wxUSE_OPENGL" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3212 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3213 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3216 # Check whether --with-dmalloc or --without-dmalloc was given.
3217 if test "${with_dmalloc+set}" = set; then
3218 withval="$with_dmalloc"
3220 if test "$withval" = yes; then
3221 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3223 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3228 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3229 if test "x$LINE" != x ; then
3230 eval "DEFAULT_$LINE"
3235 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3239 eval "$ac_cv_use_dmalloc"
3240 if test "$no_cache" != 1; then
3241 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3244 if test "$wxUSE_DMALLOC" = yes; then
3245 echo "$as_me:$LINENO: result: yes" >&5
3246 echo "${ECHO_T}yes" >&6
3248 echo "$as_me:$LINENO: result: no" >&5
3249 echo "${ECHO_T}no" >&6
3253 echo "$as_me:$LINENO: checking for --with-regex" >&5
3254 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3257 # Check whether --with-regex or --without-regex was given.
3258 if test "${with_regex+set}" = set; then
3259 withval="$with_regex"
3261 if test "$withval" = yes; then
3262 ac_cv_use_regex='wxUSE_REGEX
=yes'
3263 elif test "$withval" = no; then
3264 ac_cv_use_regex='wxUSE_REGEX
=no
'
3265 elif test "$withval" = sys; then
3266 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3267 elif test "$withval" = builtin; then
3268 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3270 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3271 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3272 { (exit 1); exit 1; }; }
3277 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3278 if test "x$LINE" != x ; then
3279 eval "DEFAULT_$LINE"
3284 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3288 eval "$ac_cv_use_regex"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3293 if test "$wxUSE_REGEX" = yes; then
3294 echo "$as_me:$LINENO: result: yes" >&5
3295 echo "${ECHO_T}yes" >&6
3296 elif test "$wxUSE_REGEX" = no; then
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3299 elif test "$wxUSE_REGEX" = sys; then
3300 echo "$as_me:$LINENO: result: system version" >&5
3301 echo "${ECHO_T}system version" >&6
3302 elif test "$wxUSE_REGEX" = builtin; then
3303 echo "$as_me:$LINENO: result: builtin version" >&5
3304 echo "${ECHO_T}builtin version" >&6
3306 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3307 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3308 { (exit 1); exit 1; }; }
3312 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3313 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3316 # Check whether --with-zlib or --without-zlib was given.
3317 if test "${with_zlib+set}" = set; then
3318 withval="$with_zlib"
3320 if test "$withval" = yes; then
3321 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3322 elif test "$withval" = no; then
3323 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3324 elif test "$withval" = sys; then
3325 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3326 elif test "$withval" = builtin; then
3327 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3329 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3330 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3331 { (exit 1); exit 1; }; }
3336 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3337 if test "x$LINE" != x ; then
3338 eval "DEFAULT_$LINE"
3343 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3347 eval "$ac_cv_use_zlib"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3352 if test "$wxUSE_ZLIB" = yes; then
3353 echo "$as_me:$LINENO: result: yes" >&5
3354 echo "${ECHO_T}yes" >&6
3355 elif test "$wxUSE_ZLIB" = no; then
3356 echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6
3358 elif test "$wxUSE_ZLIB" = sys; then
3359 echo "$as_me:$LINENO: result: system version" >&5
3360 echo "${ECHO_T}system version" >&6
3361 elif test "$wxUSE_ZLIB" = builtin; then
3362 echo "$as_me:$LINENO: result: builtin version" >&5
3363 echo "${ECHO_T}builtin version" >&6
3365 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3366 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3367 { (exit 1); exit 1; }; }
3371 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3372 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3375 # Check whether --with-odbc or --without-odbc was given.
3376 if test "${with_odbc+set}" = set; then
3377 withval="$with_odbc"
3379 if test "$withval" = yes; then
3380 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3381 elif test "$withval" = no; then
3382 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3383 elif test "$withval" = sys; then
3384 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3385 elif test "$withval" = builtin; then
3386 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3388 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3389 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3390 { (exit 1); exit 1; }; }
3395 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3396 if test "x$LINE" != x ; then
3397 eval "DEFAULT_$LINE"
3402 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3406 eval "$ac_cv_use_odbc"
3407 if test "$no_cache" != 1; then
3408 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3411 if test "$wxUSE_ODBC" = yes; then
3412 echo "$as_me:$LINENO: result: yes" >&5
3413 echo "${ECHO_T}yes" >&6
3414 elif test "$wxUSE_ODBC" = no; then
3415 echo "$as_me:$LINENO: result: no" >&5
3416 echo "${ECHO_T}no" >&6
3417 elif test "$wxUSE_ODBC" = sys; then
3418 echo "$as_me:$LINENO: result: system version" >&5
3419 echo "${ECHO_T}system version" >&6
3420 elif test "$wxUSE_ODBC" = builtin; then
3421 echo "$as_me:$LINENO: result: builtin version" >&5
3422 echo "${ECHO_T}builtin version" >&6
3424 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3425 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3426 { (exit 1); exit 1; }; }
3430 echo "$as_me:$LINENO: checking for --with-expat" >&5
3431 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3434 # Check whether --with-expat or --without-expat was given.
3435 if test "${with_expat+set}" = set; then
3436 withval="$with_expat"
3438 if test "$withval" = yes; then
3439 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3440 elif test "$withval" = no; then
3441 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3442 elif test "$withval" = sys; then
3443 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3444 elif test "$withval" = builtin; then
3445 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3447 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3448 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3449 { (exit 1); exit 1; }; }
3454 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3455 if test "x$LINE" != x ; then
3456 eval "DEFAULT_$LINE"
3461 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3465 eval "$ac_cv_use_expat"
3466 if test "$no_cache" != 1; then
3467 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3470 if test "$wxUSE_EXPAT" = yes; then
3471 echo "$as_me:$LINENO: result: yes" >&5
3472 echo "${ECHO_T}yes" >&6
3473 elif test "$wxUSE_EXPAT" = no; then
3474 echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6
3476 elif test "$wxUSE_EXPAT" = sys; then
3477 echo "$as_me:$LINENO: result: system version" >&5
3478 echo "${ECHO_T}system version" >&6
3479 elif test "$wxUSE_EXPAT" = builtin; then
3480 echo "$as_me:$LINENO: result: builtin version" >&5
3481 echo "${ECHO_T}builtin version" >&6
3483 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3484 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3485 { (exit 1); exit 1; }; }
3492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3493 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3495 # Check whether --enable-shared or --disable-shared was given.
3496 if test "${enable_shared+set}" = set; then
3497 enableval="$enable_shared"
3499 if test "$enableval" = yes; then
3500 ac_cv_use_shared='wxUSE_SHARED
=yes'
3502 ac_cv_use_shared='wxUSE_SHARED
=no
'
3507 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3508 if test "x$LINE" != x ; then
3509 eval "DEFAULT_$LINE"
3514 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3518 eval "$ac_cv_use_shared"
3519 if test "$no_cache" != 1; then
3520 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3523 if test "$wxUSE_SHARED" = yes; then
3524 echo "$as_me:$LINENO: result: yes" >&5
3525 echo "${ECHO_T}yes" >&6
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3534 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3536 # Check whether --enable-optimise or --disable-optimise was given.
3537 if test "${enable_optimise+set}" = set; then
3538 enableval="$enable_optimise"
3540 if test "$enableval" = yes; then
3541 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3543 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3548 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3549 if test "x$LINE" != x ; then
3550 eval "DEFAULT_$LINE"
3555 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3559 eval "$ac_cv_use_optimise"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3564 if test "$wxUSE_OPTIMISE" = yes; then
3565 echo "$as_me:$LINENO: result: yes" >&5
3566 echo "${ECHO_T}yes" >&6
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3575 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3577 # Check whether --enable-debug or --disable-debug was given.
3578 if test "${enable_debug+set}" = set; then
3579 enableval="$enable_debug"
3581 if test "$enableval" = yes; then
3582 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3584 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3589 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3590 if test "x$LINE" != x ; then
3591 eval "DEFAULT_$LINE"
3596 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3600 eval "$ac_cv_use_debug"
3601 if test "$no_cache" != 1; then
3602 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3605 if test "$wxUSE_DEBUG" = yes; then
3606 echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3616 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3618 # Check whether --enable-stl or --disable-stl was given.
3619 if test "${enable_stl+set}" = set; then
3620 enableval="$enable_stl"
3622 if test "$enableval" = yes; then
3623 ac_cv_use_stl='wxUSE_STL
=yes'
3625 ac_cv_use_stl='wxUSE_STL
=no
'
3630 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3631 if test "x$LINE" != x ; then
3632 eval "DEFAULT_$LINE"
3637 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3641 eval "$ac_cv_use_stl"
3642 if test "$no_cache" != 1; then
3643 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3646 if test "$wxUSE_STL" = yes; then
3647 echo "$as_me:$LINENO: result: yes" >&5
3648 echo "${ECHO_T}yes" >&6
3650 echo "$as_me:$LINENO: result: no" >&5
3651 echo "${ECHO_T}no" >&6
3654 if test "$USE_OS2" = "1"; then
3655 DEFAULT_wxUSE_OMF=no
3658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3659 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3661 # Check whether --enable-omf or --disable-omf was given.
3662 if test "${enable_omf+set}" = set; then
3663 enableval="$enable_omf"
3665 if test "$enableval" = yes; then
3666 ac_cv_use_omf='wxUSE_OMF
=yes'
3668 ac_cv_use_omf='wxUSE_OMF
=no
'
3673 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3674 if test "x$LINE" != x ; then
3675 eval "DEFAULT_$LINE"
3680 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
3684 eval "$ac_cv_use_omf"
3685 if test "$no_cache" != 1; then
3686 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3689 if test "$wxUSE_OMF" = yes; then
3690 echo "$as_me:$LINENO: result: yes" >&5
3691 echo "${ECHO_T}yes" >&6
3693 echo "$as_me:$LINENO: result: no" >&5
3694 echo "${ECHO_T}no" >&6
3699 if test "$wxUSE_DEBUG" = "yes"; then
3700 DEFAULT_wxUSE_DEBUG_FLAG=yes
3701 DEFAULT_wxUSE_DEBUG_INFO=yes
3703 elif test "$wxUSE_DEBUG" = "no"; then
3704 DEFAULT_wxUSE_DEBUG_FLAG=no
3705 DEFAULT_wxUSE_DEBUG_INFO=no
3711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3712 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3714 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3715 if test "${enable_debug_flag+set}" = set; then
3716 enableval="$enable_debug_flag"
3718 if test "$enableval" = yes; then
3719 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3721 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3726 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3727 if test "x$LINE" != x ; then
3728 eval "DEFAULT_$LINE"
3733 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3737 eval "$ac_cv_use_debug_flag"
3738 if test "$no_cache" != 1; then
3739 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3742 if test "$wxUSE_DEBUG_FLAG" = yes; then
3743 echo "$as_me:$LINENO: result: yes" >&5
3744 echo "${ECHO_T}yes" >&6
3746 echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6
3752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3753 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3755 # Check whether --enable-debug_info or --disable-debug_info was given.
3756 if test "${enable_debug_info+set}" = set; then
3757 enableval="$enable_debug_info"
3759 if test "$enableval" = yes; then
3760 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3762 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3767 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3768 if test "x$LINE" != x ; then
3769 eval "DEFAULT_$LINE"
3774 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3778 eval "$ac_cv_use_debug_info"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3783 if test "$wxUSE_DEBUG_INFO" = yes; then
3784 echo "$as_me:$LINENO: result: yes" >&5
3785 echo "${ECHO_T}yes" >&6
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3794 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3796 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3797 if test "${enable_debug_gdb+set}" = set; then
3798 enableval="$enable_debug_gdb"
3800 if test "$enableval" = yes; then
3801 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3803 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3808 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x ; then
3810 eval "DEFAULT_$LINE"
3815 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3819 eval "$ac_cv_use_debug_gdb"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3824 if test "$wxUSE_DEBUG_GDB" = yes; then
3825 echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3837 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3838 if test "${enable_debug_cntxt+set}" = set; then
3839 enableval="$enable_debug_cntxt"
3841 if test "$enableval" = yes; then
3842 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3844 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3849 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x ; then
3851 eval "DEFAULT_$LINE"
3856 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3860 eval "$ac_cv_use_debug_cntxt"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3865 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3866 echo "$as_me:$LINENO: result: yes" >&5
3867 echo "${ECHO_T}yes" >&6
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3878 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3879 if test "${enable_mem_tracing+set}" = set; then
3880 enableval="$enable_mem_tracing"
3882 if test "$enableval" = yes; then
3883 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3885 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3890 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x ; then
3892 eval "DEFAULT_$LINE"
3897 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3901 eval "$ac_cv_use_mem_tracing"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3906 if test "$wxUSE_MEM_TRACING" = yes; then
3907 echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3917 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3919 # Check whether --enable-profile or --disable-profile was given.
3920 if test "${enable_profile+set}" = set; then
3921 enableval="$enable_profile"
3923 if test "$enableval" = yes; then
3924 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3926 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3931 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x ; then
3933 eval "DEFAULT_$LINE"
3938 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3942 eval "$ac_cv_use_profile"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3947 if test "$wxUSE_PROFILE" = yes; then
3948 echo "$as_me:$LINENO: result: yes" >&5
3949 echo "${ECHO_T}yes" >&6
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3958 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3960 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3961 if test "${enable_no_rtti+set}" = set; then
3962 enableval="$enable_no_rtti"
3964 if test "$enableval" = yes; then
3965 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3967 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3972 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3973 if test "x$LINE" != x ; then
3974 eval "DEFAULT_$LINE"
3979 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3983 eval "$ac_cv_use_no_rtti"
3984 if test "$no_cache" != 1; then
3985 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3988 if test "$wxUSE_NO_RTTI" = yes; then
3989 echo "$as_me:$LINENO: result: yes" >&5
3990 echo "${ECHO_T}yes" >&6
3992 echo "$as_me:$LINENO: result: no" >&5
3993 echo "${ECHO_T}no" >&6
3998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3999 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4001 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4002 if test "${enable_no_exceptions+set}" = set; then
4003 enableval="$enable_no_exceptions"
4005 if test "$enableval" = yes; then
4006 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4008 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4013 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x ; then
4015 eval "DEFAULT_$LINE"
4020 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4024 eval "$ac_cv_use_no_exceptions"
4025 if test "$no_cache" != 1; then
4026 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4029 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4030 echo "$as_me:$LINENO: result: yes" >&5
4031 echo "${ECHO_T}yes" >&6
4033 echo "$as_me:$LINENO: result: no" >&5
4034 echo "${ECHO_T}no" >&6
4039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4040 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4042 # Check whether --enable-permissive or --disable-permissive was given.
4043 if test "${enable_permissive+set}" = set; then
4044 enableval="$enable_permissive"
4046 if test "$enableval" = yes; then
4047 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4049 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4054 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4055 if test "x$LINE" != x ; then
4056 eval "DEFAULT_$LINE"
4061 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4065 eval "$ac_cv_use_permissive"
4066 if test "$no_cache" != 1; then
4067 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4070 if test "$wxUSE_PERMISSIVE" = yes; then
4071 echo "$as_me:$LINENO: result: yes" >&5
4072 echo "${ECHO_T}yes" >&6
4074 echo "$as_me:$LINENO: result: no" >&5
4075 echo "${ECHO_T}no" >&6
4080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4081 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4083 # Check whether --enable-no_deps or --disable-no_deps was given.
4084 if test "${enable_no_deps+set}" = set; then
4085 enableval="$enable_no_deps"
4087 if test "$enableval" = yes; then
4088 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4090 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4095 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x ; then
4097 eval "DEFAULT_$LINE"
4102 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4106 eval "$ac_cv_use_no_deps"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4111 if test "$wxUSE_NO_DEPS" = yes; then
4112 echo "$as_me:$LINENO: result: yes" >&5
4113 echo "${ECHO_T}yes" >&6
4115 echo "$as_me:$LINENO: result: no" >&5
4116 echo "${ECHO_T}no" >&6
4122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4123 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4125 # Check whether --enable-compat22 or --disable-compat22 was given.
4126 if test "${enable_compat22+set}" = set; then
4127 enableval="$enable_compat22"
4129 if test "$enableval" = yes; then
4130 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
4132 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
4137 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4138 if test "x$LINE" != x ; then
4139 eval "DEFAULT_$LINE"
4144 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4148 eval "$ac_cv_use_compat22"
4149 if test "$no_cache" != 1; then
4150 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4153 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4154 echo "$as_me:$LINENO: result: yes" >&5
4155 echo "${ECHO_T}yes" >&6
4157 echo "$as_me:$LINENO: result: no" >&5
4158 echo "${ECHO_T}no" >&6
4162 enablestring=disable
4163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4164 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4166 # Check whether --enable-compat24 or --disable-compat24 was given.
4167 if test "${enable_compat24+set}" = set; then
4168 enableval="$enable_compat24"
4170 if test "$enableval" = yes; then
4171 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
4173 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
4178 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x ; then
4180 eval "DEFAULT_$LINE"
4185 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4189 eval "$ac_cv_use_compat24"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4194 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4195 echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6
4198 echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6
4205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4206 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4208 # Check whether --enable-rpath or --disable-rpath was given.
4209 if test "${enable_rpath+set}" = set; then
4210 enableval="$enable_rpath"
4212 if test "$enableval" = yes; then
4213 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4215 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4220 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4221 if test "x$LINE" != x ; then
4222 eval "DEFAULT_$LINE"
4227 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4231 eval "$ac_cv_use_rpath"
4232 if test "$no_cache" != 1; then
4233 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4236 if test "$wxUSE_RPATH" = yes; then
4237 echo "$as_me:$LINENO: result: yes" >&5
4238 echo "${ECHO_T}yes" >&6
4240 echo "$as_me:$LINENO: result: no" >&5
4241 echo "${ECHO_T}no" >&6
4249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4250 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4252 # Check whether --enable-intl or --disable-intl was given.
4253 if test "${enable_intl+set}" = set; then
4254 enableval="$enable_intl"
4256 if test "$enableval" = yes; then
4257 ac_cv_use_intl='wxUSE_INTL
=yes'
4259 ac_cv_use_intl='wxUSE_INTL
=no
'
4264 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4265 if test "x$LINE" != x ; then
4266 eval "DEFAULT_$LINE"
4271 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4275 eval "$ac_cv_use_intl"
4276 if test "$no_cache" != 1; then
4277 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4280 if test "$wxUSE_INTL" = yes; then
4281 echo "$as_me:$LINENO: result: yes" >&5
4282 echo "${ECHO_T}yes" >&6
4284 echo "$as_me:$LINENO: result: no" >&5
4285 echo "${ECHO_T}no" >&6
4290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4291 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4293 # Check whether --enable-config or --disable-config was given.
4294 if test "${enable_config+set}" = set; then
4295 enableval="$enable_config"
4297 if test "$enableval" = yes; then
4298 ac_cv_use_config='wxUSE_CONFIG
=yes'
4300 ac_cv_use_config='wxUSE_CONFIG
=no
'
4305 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x ; then
4307 eval "DEFAULT_$LINE"
4312 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4316 eval "$ac_cv_use_config"
4317 if test "$no_cache" != 1; then
4318 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4321 if test "$wxUSE_CONFIG" = yes; then
4322 echo "$as_me:$LINENO: result: yes" >&5
4323 echo "${ECHO_T}yes" >&6
4325 echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4335 # Check whether --enable-protocols or --disable-protocols was given.
4336 if test "${enable_protocols+set}" = set; then
4337 enableval="$enable_protocols"
4339 if test "$enableval" = yes; then
4340 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4342 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4347 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x ; then
4349 eval "DEFAULT_$LINE"
4354 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4358 eval "$ac_cv_use_protocols"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4363 if test "$wxUSE_PROTOCOL" = yes; then
4364 echo "$as_me:$LINENO: result: yes" >&5
4365 echo "${ECHO_T}yes" >&6
4367 echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6
4373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4374 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4376 # Check whether --enable-ftp or --disable-ftp was given.
4377 if test "${enable_ftp+set}" = set; then
4378 enableval="$enable_ftp"
4380 if test "$enableval" = yes; then
4381 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4383 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4388 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x ; then
4390 eval "DEFAULT_$LINE"
4395 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4399 eval "$ac_cv_use_ftp"
4400 if test "$no_cache" != 1; then
4401 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4404 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4405 echo "$as_me:$LINENO: result: yes" >&5
4406 echo "${ECHO_T}yes" >&6
4408 echo "$as_me:$LINENO: result: no" >&5
4409 echo "${ECHO_T}no" >&6
4414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4415 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4417 # Check whether --enable-http or --disable-http was given.
4418 if test "${enable_http+set}" = set; then
4419 enableval="$enable_http"
4421 if test "$enableval" = yes; then
4422 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4424 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4429 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4430 if test "x$LINE" != x ; then
4431 eval "DEFAULT_$LINE"
4436 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4440 eval "$ac_cv_use_http"
4441 if test "$no_cache" != 1; then
4442 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4445 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4446 echo "$as_me:$LINENO: result: yes" >&5
4447 echo "${ECHO_T}yes" >&6
4449 echo "$as_me:$LINENO: result: no" >&5
4450 echo "${ECHO_T}no" >&6
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4458 # Check whether --enable-fileproto or --disable-fileproto was given.
4459 if test "${enable_fileproto+set}" = set; then
4460 enableval="$enable_fileproto"
4462 if test "$enableval" = yes; then
4463 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4465 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4470 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x ; then
4472 eval "DEFAULT_$LINE"
4477 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4481 eval "$ac_cv_use_fileproto"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4486 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4499 # Check whether --enable-sockets or --disable-sockets was given.
4500 if test "${enable_sockets+set}" = set; then
4501 enableval="$enable_sockets"
4503 if test "$enableval" = yes; then
4504 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4506 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4511 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4518 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4522 eval "$ac_cv_use_sockets"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4527 if test "$wxUSE_SOCKETS" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4538 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4540 # Check whether --enable-ole or --disable-ole was given.
4541 if test "${enable_ole+set}" = set; then
4542 enableval="$enable_ole"
4544 if test "$enableval" = yes; then
4545 ac_cv_use_ole='wxUSE_OLE
=yes'
4547 ac_cv_use_ole='wxUSE_OLE
=no
'
4552 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x ; then
4554 eval "DEFAULT_$LINE"
4559 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4563 eval "$ac_cv_use_ole"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4568 if test "$wxUSE_OLE" = yes; then
4569 echo "$as_me:$LINENO: result: yes" >&5
4570 echo "${ECHO_T}yes" >&6
4572 echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4581 # Check whether --enable-dataobj or --disable-dataobj was given.
4582 if test "${enable_dataobj+set}" = set; then
4583 enableval="$enable_dataobj"
4585 if test "$enableval" = yes; then
4586 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4588 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4593 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x ; then
4595 eval "DEFAULT_$LINE"
4600 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4604 eval "$ac_cv_use_dataobj"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4609 if test "$wxUSE_DATAOBJ" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4623 # Check whether --enable-ipc or --disable-ipc was given.
4624 if test "${enable_ipc+set}" = set; then
4625 enableval="$enable_ipc"
4627 if test "$enableval" = yes; then
4628 ac_cv_use_ipc='wxUSE_IPC
=yes'
4630 ac_cv_use_ipc='wxUSE_IPC
=no
'
4635 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x ; then
4637 eval "DEFAULT_$LINE"
4642 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4646 eval "$ac_cv_use_ipc"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4651 if test "$wxUSE_IPC" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4665 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4666 if test "${enable_apple_ieee+set}" = set; then
4667 enableval="$enable_apple_ieee"
4669 if test "$enableval" = yes; then
4670 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4672 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4677 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4678 if test "x$LINE" != x ; then
4679 eval "DEFAULT_$LINE"
4684 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4688 eval "$ac_cv_use_apple_ieee"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4693 if test "$wxUSE_APPLE_IEEE" = yes; then
4694 echo "$as_me:$LINENO: result: yes" >&5
4695 echo "${ECHO_T}yes" >&6
4697 echo "$as_me:$LINENO: result: no" >&5
4698 echo "${ECHO_T}no" >&6
4703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4706 # Check whether --enable-arcstream or --disable-arcstream was given.
4707 if test "${enable_arcstream+set}" = set; then
4708 enableval="$enable_arcstream"
4710 if test "$enableval" = yes; then
4711 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
4713 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
4718 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4719 if test "x$LINE" != x ; then
4720 eval "DEFAULT_$LINE"
4725 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4729 eval "$ac_cv_use_arcstream"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4734 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4735 echo "$as_me:$LINENO: result: yes" >&5
4736 echo "${ECHO_T}yes" >&6
4738 echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6
4744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4747 # Check whether --enable-backtrace or --disable-backtrace was given.
4748 if test "${enable_backtrace+set}" = set; then
4749 enableval="$enable_backtrace"
4751 if test "$enableval" = yes; then
4752 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
4754 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
4759 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x ; then
4761 eval "DEFAULT_$LINE"
4766 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
4770 eval "$ac_cv_use_backtrace"
4771 if test "$no_cache" != 1; then
4772 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4775 if test "$wxUSE_STACKWALKER" = yes; then
4776 echo "$as_me:$LINENO: result: yes" >&5
4777 echo "${ECHO_T}yes" >&6
4779 echo "$as_me:$LINENO: result: no" >&5
4780 echo "${ECHO_T}no" >&6
4785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4786 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4788 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4789 if test "${enable_catch_segvs+set}" = set; then
4790 enableval="$enable_catch_segvs"
4792 if test "$enableval" = yes; then
4793 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4795 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4800 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4801 if test "x$LINE" != x ; then
4802 eval "DEFAULT_$LINE"
4807 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4811 eval "$ac_cv_use_catch_segvs"
4812 if test "$no_cache" != 1; then
4813 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4816 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4817 echo "$as_me:$LINENO: result: yes" >&5
4818 echo "${ECHO_T}yes" >&6
4820 echo "$as_me:$LINENO: result: no" >&5
4821 echo "${ECHO_T}no" >&6
4826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4829 # Check whether --enable-cmdline or --disable-cmdline was given.
4830 if test "${enable_cmdline+set}" = set; then
4831 enableval="$enable_cmdline"
4833 if test "$enableval" = yes; then
4834 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4836 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4841 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4842 if test "x$LINE" != x ; then
4843 eval "DEFAULT_$LINE"
4848 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4852 eval "$ac_cv_use_cmdline"
4853 if test "$no_cache" != 1; then
4854 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4857 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4858 echo "$as_me:$LINENO: result: yes" >&5
4859 echo "${ECHO_T}yes" >&6
4861 echo "$as_me:$LINENO: result: no" >&5
4862 echo "${ECHO_T}no" >&6
4867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4868 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4870 # Check whether --enable-datetime or --disable-datetime was given.
4871 if test "${enable_datetime+set}" = set; then
4872 enableval="$enable_datetime"
4874 if test "$enableval" = yes; then
4875 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4877 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4882 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x ; then
4884 eval "DEFAULT_$LINE"
4889 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4893 eval "$ac_cv_use_datetime"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4898 if test "$wxUSE_DATETIME" = yes; then
4899 echo "$as_me:$LINENO: result: yes" >&5
4900 echo "${ECHO_T}yes" >&6
4902 echo "$as_me:$LINENO: result: no" >&5
4903 echo "${ECHO_T}no" >&6
4908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4909 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4911 # Check whether --enable-debugreport or --disable-debugreport was given.
4912 if test "${enable_debugreport+set}" = set; then
4913 enableval="$enable_debugreport"
4915 if test "$enableval" = yes; then
4916 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
4918 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
4923 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4924 if test "x$LINE" != x ; then
4925 eval "DEFAULT_$LINE"
4930 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
4934 eval "$ac_cv_use_debugreport"
4935 if test "$no_cache" != 1; then
4936 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4939 if test "$wxUSE_DEBUGREPORT" = yes; then
4940 echo "$as_me:$LINENO: result: yes" >&5
4941 echo "${ECHO_T}yes" >&6
4943 echo "$as_me:$LINENO: result: no" >&5
4944 echo "${ECHO_T}no" >&6
4949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4950 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4952 # Check whether --enable-dialupman or --disable-dialupman was given.
4953 if test "${enable_dialupman+set}" = set; then
4954 enableval="$enable_dialupman"
4956 if test "$enableval" = yes; then
4957 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4959 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4964 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4965 if test "x$LINE" != x ; then
4966 eval "DEFAULT_$LINE"
4971 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4975 eval "$ac_cv_use_dialupman"
4976 if test "$no_cache" != 1; then
4977 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4980 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4981 echo "$as_me:$LINENO: result: yes" >&5
4982 echo "${ECHO_T}yes" >&6
4984 echo "$as_me:$LINENO: result: no" >&5
4985 echo "${ECHO_T}no" >&6
4990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4993 # Check whether --enable-dynlib or --disable-dynlib was given.
4994 if test "${enable_dynlib+set}" = set; then
4995 enableval="$enable_dynlib"
4997 if test "$enableval" = yes; then
4998 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5000 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5005 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x ; then
5007 eval "DEFAULT_$LINE"
5012 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5016 eval "$ac_cv_use_dynlib"
5017 if test "$no_cache" != 1; then
5018 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5021 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5022 echo "$as_me:$LINENO: result: yes" >&5
5023 echo "${ECHO_T}yes" >&6
5025 echo "$as_me:$LINENO: result: no" >&5
5026 echo "${ECHO_T}no" >&6
5031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5032 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5034 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5035 if test "${enable_dynamicloader+set}" = set; then
5036 enableval="$enable_dynamicloader"
5038 if test "$enableval" = yes; then
5039 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5041 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5046 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x ; then
5048 eval "DEFAULT_$LINE"
5053 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5057 eval "$ac_cv_use_dynamicloader"
5058 if test "$no_cache" != 1; then
5059 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5062 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5063 echo "$as_me:$LINENO: result: yes" >&5
5064 echo "${ECHO_T}yes" >&6
5066 echo "$as_me:$LINENO: result: no" >&5
5067 echo "${ECHO_T}no" >&6
5072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5073 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5075 # Check whether --enable-exceptions or --disable-exceptions was given.
5076 if test "${enable_exceptions+set}" = set; then
5077 enableval="$enable_exceptions"
5079 if test "$enableval" = yes; then
5080 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5082 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5087 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5088 if test "x$LINE" != x ; then
5089 eval "DEFAULT_$LINE"
5094 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5098 eval "$ac_cv_use_exceptions"
5099 if test "$no_cache" != 1; then
5100 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5103 if test "$wxUSE_EXCEPTIONS" = yes; then
5104 echo "$as_me:$LINENO: result: yes" >&5
5105 echo "${ECHO_T}yes" >&6
5107 echo "$as_me:$LINENO: result: no" >&5
5108 echo "${ECHO_T}no" >&6
5113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5116 # Check whether --enable-ffile or --disable-ffile was given.
5117 if test "${enable_ffile+set}" = set; then
5118 enableval="$enable_ffile"
5120 if test "$enableval" = yes; then
5121 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5123 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5128 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5129 if test "x$LINE" != x ; then
5130 eval "DEFAULT_$LINE"
5135 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5139 eval "$ac_cv_use_ffile"
5140 if test "$no_cache" != 1; then
5141 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5144 if test "$wxUSE_FFILE" = yes; then
5145 echo "$as_me:$LINENO: result: yes" >&5
5146 echo "${ECHO_T}yes" >&6
5148 echo "$as_me:$LINENO: result: no" >&5
5149 echo "${ECHO_T}no" >&6
5154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5155 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5157 # Check whether --enable-file or --disable-file was given.
5158 if test "${enable_file+set}" = set; then
5159 enableval="$enable_file"
5161 if test "$enableval" = yes; then
5162 ac_cv_use_file='wxUSE_FILE
=yes'
5164 ac_cv_use_file='wxUSE_FILE
=no
'
5169 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5170 if test "x$LINE" != x ; then
5171 eval "DEFAULT_$LINE"
5176 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5180 eval "$ac_cv_use_file"
5181 if test "$no_cache" != 1; then
5182 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5185 if test "$wxUSE_FILE" = yes; then
5186 echo "$as_me:$LINENO: result: yes" >&5
5187 echo "${ECHO_T}yes" >&6
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5196 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5198 # Check whether --enable-filesystem or --disable-filesystem was given.
5199 if test "${enable_filesystem+set}" = set; then
5200 enableval="$enable_filesystem"
5202 if test "$enableval" = yes; then
5203 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5205 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5210 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5211 if test "x$LINE" != x ; then
5212 eval "DEFAULT_$LINE"
5217 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5221 eval "$ac_cv_use_filesystem"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5226 if test "$wxUSE_FILESYSTEM" = yes; then
5227 echo "$as_me:$LINENO: result: yes" >&5
5228 echo "${ECHO_T}yes" >&6
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5239 # Check whether --enable-fontmap or --disable-fontmap was given.
5240 if test "${enable_fontmap+set}" = set; then
5241 enableval="$enable_fontmap"
5243 if test "$enableval" = yes; then
5244 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5246 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5251 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5252 if test "x$LINE" != x ; then
5253 eval "DEFAULT_$LINE"
5258 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5262 eval "$ac_cv_use_fontmap"
5263 if test "$no_cache" != 1; then
5264 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5267 if test "$wxUSE_FONTMAP" = yes; then
5268 echo "$as_me:$LINENO: result: yes" >&5
5269 echo "${ECHO_T}yes" >&6
5271 echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6
5277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5278 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5280 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5281 if test "${enable_fs_inet+set}" = set; then
5282 enableval="$enable_fs_inet"
5284 if test "$enableval" = yes; then
5285 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5287 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5292 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x ; then
5294 eval "DEFAULT_$LINE"
5299 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5303 eval "$ac_cv_use_fs_inet"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5308 if test "$wxUSE_FS_INET" = yes; then
5309 echo "$as_me:$LINENO: result: yes" >&5
5310 echo "${ECHO_T}yes" >&6
5312 echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6
5318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5321 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5322 if test "${enable_fs_zip+set}" = set; then
5323 enableval="$enable_fs_zip"
5325 if test "$enableval" = yes; then
5326 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5328 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5333 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x ; then
5335 eval "DEFAULT_$LINE"
5340 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5344 eval "$ac_cv_use_fs_zip"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5349 if test "$wxUSE_FS_ZIP" = yes; then
5350 echo "$as_me:$LINENO: result: yes" >&5
5351 echo "${ECHO_T}yes" >&6
5353 echo "$as_me:$LINENO: result: no" >&5
5354 echo "${ECHO_T}no" >&6
5359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5362 # Check whether --enable-geometry or --disable-geometry was given.
5363 if test "${enable_geometry+set}" = set; then
5364 enableval="$enable_geometry"
5366 if test "$enableval" = yes; then
5367 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5369 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5374 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x ; then
5376 eval "DEFAULT_$LINE"
5381 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5385 eval "$ac_cv_use_geometry"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5390 if test "$wxUSE_GEOMETRY" = yes; then
5391 echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5403 # Check whether --enable-log or --disable-log was given.
5404 if test "${enable_log+set}" = set; then
5405 enableval="$enable_log"
5407 if test "$enableval" = yes; then
5408 ac_cv_use_log='wxUSE_LOG
=yes'
5410 ac_cv_use_log='wxUSE_LOG
=no
'
5415 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5422 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5426 eval "$ac_cv_use_log"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5431 if test "$wxUSE_LOG" = yes; then
5432 echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6
5435 echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6
5441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5444 # Check whether --enable-longlong or --disable-longlong was given.
5445 if test "${enable_longlong+set}" = set; then
5446 enableval="$enable_longlong"
5448 if test "$enableval" = yes; then
5449 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5451 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5456 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5457 if test "x$LINE" != x ; then
5458 eval "DEFAULT_$LINE"
5463 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5467 eval "$ac_cv_use_longlong"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5472 if test "$wxUSE_LONGLONG" = yes; then
5473 echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6
5476 echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6
5482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5483 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5485 # Check whether --enable-mimetype or --disable-mimetype was given.
5486 if test "${enable_mimetype+set}" = set; then
5487 enableval="$enable_mimetype"
5489 if test "$enableval" = yes; then
5490 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5492 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5497 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x ; then
5499 eval "DEFAULT_$LINE"
5504 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5508 eval "$ac_cv_use_mimetype"
5509 if test "$no_cache" != 1; then
5510 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5513 if test "$wxUSE_MIMETYPE" = yes; then
5514 echo "$as_me:$LINENO: result: yes" >&5
5515 echo "${ECHO_T}yes" >&6
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5526 # Check whether --enable-mslu or --disable-mslu was given.
5527 if test "${enable_mslu+set}" = set; then
5528 enableval="$enable_mslu"
5530 if test "$enableval" = yes; then
5531 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5533 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5538 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5545 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5549 eval "$ac_cv_use_mslu"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5554 if test "$wxUSE_UNICODE_MSLU" = yes; then
5555 echo "$as_me:$LINENO: result: yes" >&5
5556 echo "${ECHO_T}yes" >&6
5558 echo "$as_me:$LINENO: result: no" >&5
5559 echo "${ECHO_T}no" >&6
5564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5567 # Check whether --enable-snglinst or --disable-snglinst was given.
5568 if test "${enable_snglinst+set}" = set; then
5569 enableval="$enable_snglinst"
5571 if test "$enableval" = yes; then
5572 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5574 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5579 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5586 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5590 eval "$ac_cv_use_snglinst"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5595 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5596 echo "$as_me:$LINENO: result: yes" >&5
5597 echo "${ECHO_T}yes" >&6
5599 echo "$as_me:$LINENO: result: no" >&5
5600 echo "${ECHO_T}no" >&6
5605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5606 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5608 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5609 if test "${enable_std_iostreams+set}" = set; then
5610 enableval="$enable_std_iostreams"
5612 if test "$enableval" = yes; then
5613 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5615 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5620 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x ; then
5622 eval "DEFAULT_$LINE"
5627 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5631 eval "$ac_cv_use_std_iostreams"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5636 if test "$wxUSE_STD_IOSTREAM" = yes; then
5637 echo "$as_me:$LINENO: result: yes" >&5
5638 echo "${ECHO_T}yes" >&6
5640 echo "$as_me:$LINENO: result: no" >&5
5641 echo "${ECHO_T}no" >&6
5646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5647 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5649 # Check whether --enable-std_string or --disable-std_string was given.
5650 if test "${enable_std_string+set}" = set; then
5651 enableval="$enable_std_string"
5653 if test "$enableval" = yes; then
5654 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
5656 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
5661 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5668 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
5672 eval "$ac_cv_use_std_string"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5677 if test "$wxUSE_STD_STRING" = yes; then
5678 echo "$as_me:$LINENO: result: yes" >&5
5679 echo "${ECHO_T}yes" >&6
5681 echo "$as_me:$LINENO: result: no" >&5
5682 echo "${ECHO_T}no" >&6
5687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5688 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5690 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5691 if test "${enable_stdpaths+set}" = set; then
5692 enableval="$enable_stdpaths"
5694 if test "$enableval" = yes; then
5695 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
5697 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
5702 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5709 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
5713 eval "$ac_cv_use_stdpaths"
5714 if test "$no_cache" != 1; then
5715 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5718 if test "$wxUSE_STDPATHS" = yes; then
5719 echo "$as_me:$LINENO: result: yes" >&5
5720 echo "${ECHO_T}yes" >&6
5722 echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5729 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5731 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5732 if test "${enable_stopwatch+set}" = set; then
5733 enableval="$enable_stopwatch"
5735 if test "$enableval" = yes; then
5736 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5738 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5743 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5750 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5754 eval "$ac_cv_use_stopwatch"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5759 if test "$wxUSE_STOPWATCH" = yes; then
5760 echo "$as_me:$LINENO: result: yes" >&5
5761 echo "${ECHO_T}yes" >&6
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5770 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5772 # Check whether --enable-streams or --disable-streams was given.
5773 if test "${enable_streams+set}" = set; then
5774 enableval="$enable_streams"
5776 if test "$enableval" = yes; then
5777 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5779 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5784 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x ; then
5786 eval "DEFAULT_$LINE"
5791 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5795 eval "$ac_cv_use_streams"
5796 if test "$no_cache" != 1; then
5797 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5800 if test "$wxUSE_STREAMS" = yes; then
5801 echo "$as_me:$LINENO: result: yes" >&5
5802 echo "${ECHO_T}yes" >&6
5804 echo "$as_me:$LINENO: result: no" >&5
5805 echo "${ECHO_T}no" >&6
5810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5813 # Check whether --enable-system_options or --disable-system_options was given.
5814 if test "${enable_system_options+set}" = set; then
5815 enableval="$enable_system_options"
5817 if test "$enableval" = yes; then
5818 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5820 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5825 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x ; then
5827 eval "DEFAULT_$LINE"
5832 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5836 eval "$ac_cv_use_system_options"
5837 if test "$no_cache" != 1; then
5838 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5841 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5842 echo "$as_me:$LINENO: result: yes" >&5
5843 echo "${ECHO_T}yes" >&6
5845 echo "$as_me:$LINENO: result: no" >&5
5846 echo "${ECHO_T}no" >&6
5851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5854 # Check whether --enable-textbuf or --disable-textbuf was given.
5855 if test "${enable_textbuf+set}" = set; then
5856 enableval="$enable_textbuf"
5858 if test "$enableval" = yes; then
5859 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5861 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5866 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5867 if test "x$LINE" != x ; then
5868 eval "DEFAULT_$LINE"
5873 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5877 eval "$ac_cv_use_textbuf"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5882 if test "$wxUSE_TEXTBUFFER" = yes; then
5883 echo "$as_me:$LINENO: result: yes" >&5
5884 echo "${ECHO_T}yes" >&6
5886 echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6
5892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5893 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5895 # Check whether --enable-textfile or --disable-textfile was given.
5896 if test "${enable_textfile+set}" = set; then
5897 enableval="$enable_textfile"
5899 if test "$enableval" = yes; then
5900 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5902 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5907 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5908 if test "x$LINE" != x ; then
5909 eval "DEFAULT_$LINE"
5914 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5918 eval "$ac_cv_use_textfile"
5919 if test "$no_cache" != 1; then
5920 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5923 if test "$wxUSE_TEXTFILE" = yes; then
5924 echo "$as_me:$LINENO: result: yes" >&5
5925 echo "${ECHO_T}yes" >&6
5927 echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6
5933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5936 # Check whether --enable-timer or --disable-timer was given.
5937 if test "${enable_timer+set}" = set; then
5938 enableval="$enable_timer"
5940 if test "$enableval" = yes; then
5941 ac_cv_use_timer='wxUSE_TIMER
=yes'
5943 ac_cv_use_timer='wxUSE_TIMER
=no
'
5948 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x ; then
5950 eval "DEFAULT_$LINE"
5955 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
5959 eval "$ac_cv_use_timer"
5960 if test "$no_cache" != 1; then
5961 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5964 if test "$wxUSE_TIMER" = yes; then
5965 echo "$as_me:$LINENO: result: yes" >&5
5966 echo "${ECHO_T}yes" >&6
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5977 # Check whether --enable-unicode or --disable-unicode was given.
5978 if test "${enable_unicode+set}" = set; then
5979 enableval="$enable_unicode"
5981 if test "$enableval" = yes; then
5982 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5984 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5989 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x ; then
5991 eval "DEFAULT_$LINE"
5996 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6000 eval "$ac_cv_use_unicode"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6005 if test "$wxUSE_UNICODE" = yes; then
6006 echo "$as_me:$LINENO: result: yes" >&5
6007 echo "${ECHO_T}yes" >&6
6009 echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6
6015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6018 # Check whether --enable-sound or --disable-sound was given.
6019 if test "${enable_sound+set}" = set; then
6020 enableval="$enable_sound"
6022 if test "$enableval" = yes; then
6023 ac_cv_use_sound='wxUSE_SOUND
=yes'
6025 ac_cv_use_sound='wxUSE_SOUND
=no
'
6030 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x ; then
6032 eval "DEFAULT_$LINE"
6037 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6041 eval "$ac_cv_use_sound"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6046 if test "$wxUSE_SOUND" = yes; then
6047 echo "$as_me:$LINENO: result: yes" >&5
6048 echo "${ECHO_T}yes" >&6
6050 echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6
6056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6059 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6060 if test "${enable_mediactrl+set}" = set; then
6061 enableval="$enable_mediactrl"
6063 if test "$enableval" = yes; then
6064 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6066 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6071 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x ; then
6073 eval "DEFAULT_$LINE"
6078 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6082 eval "$ac_cv_use_mediactrl"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6087 if test "$wxUSE_MEDIACTRL" = yes; then
6088 echo "$as_me:$LINENO: result: yes" >&5
6089 echo "${ECHO_T}yes" >&6
6091 echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6
6097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6098 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6100 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6101 if test "${enable_wxprintfv+set}" = set; then
6102 enableval="$enable_wxprintfv"
6104 if test "$enableval" = yes; then
6105 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
6107 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
6112 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x ; then
6114 eval "DEFAULT_$LINE"
6119 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6123 eval "$ac_cv_use_wxprintfv"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6128 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6129 echo "$as_me:$LINENO: result: yes" >&5
6130 echo "${ECHO_T}yes" >&6
6132 echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6
6138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6141 # Check whether --enable-zipstream or --disable-zipstream was given.
6142 if test "${enable_zipstream+set}" = set; then
6143 enableval="$enable_zipstream"
6145 if test "$enableval" = yes; then
6146 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6148 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6153 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6154 if test "x$LINE" != x ; then
6155 eval "DEFAULT_$LINE"
6160 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6164 eval "$ac_cv_use_zipstream"
6165 if test "$no_cache" != 1; then
6166 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6169 if test "$wxUSE_ZIPSTREAM" = yes; then
6170 echo "$as_me:$LINENO: result: yes" >&5
6171 echo "${ECHO_T}yes" >&6
6173 echo "$as_me:$LINENO: result: no" >&5
6174 echo "${ECHO_T}no" >&6
6180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6181 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6183 # Check whether --enable-url or --disable-url was given.
6184 if test "${enable_url+set}" = set; then
6185 enableval="$enable_url"
6187 if test "$enableval" = yes; then
6188 ac_cv_use_url='wxUSE_URL
=yes'
6190 ac_cv_use_url='wxUSE_URL
=no
'
6195 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6196 if test "x$LINE" != x ; then
6197 eval "DEFAULT_$LINE"
6202 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6206 eval "$ac_cv_use_url"
6207 if test "$no_cache" != 1; then
6208 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6211 if test "$wxUSE_URL" = yes; then
6212 echo "$as_me:$LINENO: result: yes" >&5
6213 echo "${ECHO_T}yes" >&6
6215 echo "$as_me:$LINENO: result: no" >&5
6216 echo "${ECHO_T}no" >&6
6221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6222 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6224 # Check whether --enable-protocol or --disable-protocol was given.
6225 if test "${enable_protocol+set}" = set; then
6226 enableval="$enable_protocol"
6228 if test "$enableval" = yes; then
6229 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6231 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6236 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6237 if test "x$LINE" != x ; then
6238 eval "DEFAULT_$LINE"
6243 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6247 eval "$ac_cv_use_protocol"
6248 if test "$no_cache" != 1; then
6249 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6252 if test "$wxUSE_PROTOCOL" = yes; then
6253 echo "$as_me:$LINENO: result: yes" >&5
6254 echo "${ECHO_T}yes" >&6
6256 echo "$as_me:$LINENO: result: no" >&5
6257 echo "${ECHO_T}no" >&6
6262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6263 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6265 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6266 if test "${enable_protocol_http+set}" = set; then
6267 enableval="$enable_protocol_http"
6269 if test "$enableval" = yes; then
6270 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6272 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6277 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6278 if test "x$LINE" != x ; then
6279 eval "DEFAULT_$LINE"
6284 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6288 eval "$ac_cv_use_protocol_http"
6289 if test "$no_cache" != 1; then
6290 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6293 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6294 echo "$as_me:$LINENO: result: yes" >&5
6295 echo "${ECHO_T}yes" >&6
6297 echo "$as_me:$LINENO: result: no" >&5
6298 echo "${ECHO_T}no" >&6
6303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6304 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6306 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6307 if test "${enable_protocol_ftp+set}" = set; then
6308 enableval="$enable_protocol_ftp"
6310 if test "$enableval" = yes; then
6311 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6313 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6318 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x ; then
6320 eval "DEFAULT_$LINE"
6325 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6329 eval "$ac_cv_use_protocol_ftp"
6330 if test "$no_cache" != 1; then
6331 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6334 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6335 echo "$as_me:$LINENO: result: yes" >&5
6336 echo "${ECHO_T}yes" >&6
6338 echo "$as_me:$LINENO: result: no" >&5
6339 echo "${ECHO_T}no" >&6
6344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6347 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6348 if test "${enable_protocol_file+set}" = set; then
6349 enableval="$enable_protocol_file"
6351 if test "$enableval" = yes; then
6352 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6354 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6359 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6360 if test "x$LINE" != x ; then
6361 eval "DEFAULT_$LINE"
6366 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6370 eval "$ac_cv_use_protocol_file"
6371 if test "$no_cache" != 1; then
6372 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6375 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6376 echo "$as_me:$LINENO: result: yes" >&5
6377 echo "${ECHO_T}yes" >&6
6379 echo "$as_me:$LINENO: result: no" >&5
6380 echo "${ECHO_T}no" >&6
6388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6391 # Check whether --enable-threads or --disable-threads was given.
6392 if test "${enable_threads+set}" = set; then
6393 enableval="$enable_threads"
6395 if test "$enableval" = yes; then
6396 ac_cv_use_threads='wxUSE_THREADS
=yes'
6398 ac_cv_use_threads='wxUSE_THREADS
=no
'
6403 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6410 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
6414 eval "$ac_cv_use_threads"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6419 if test "$wxUSE_THREADS" = yes; then
6420 echo "$as_me:$LINENO: result: yes" >&5
6421 echo "${ECHO_T}yes" >&6
6423 echo "$as_me:$LINENO: result: no" >&5
6424 echo "${ECHO_T}no" >&6
6428 if test "$wxUSE_GUI" = "yes"; then
6433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6436 # Check whether --enable-docview or --disable-docview was given.
6437 if test "${enable_docview+set}" = set; then
6438 enableval="$enable_docview"
6440 if test "$enableval" = yes; then
6441 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
6443 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
6448 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6449 if test "x$LINE" != x ; then
6450 eval "DEFAULT_$LINE"
6455 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6459 eval "$ac_cv_use_docview"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6464 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6465 echo "$as_me:$LINENO: result: yes" >&5
6466 echo "${ECHO_T}yes" >&6
6468 echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6
6474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6477 # Check whether --enable-help or --disable-help was given.
6478 if test "${enable_help+set}" = set; then
6479 enableval="$enable_help"
6481 if test "$enableval" = yes; then
6482 ac_cv_use_help='wxUSE_HELP
=yes'
6484 ac_cv_use_help='wxUSE_HELP
=no
'
6489 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x ; then
6491 eval "DEFAULT_$LINE"
6496 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
6500 eval "$ac_cv_use_help"
6501 if test "$no_cache" != 1; then
6502 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6505 if test "$wxUSE_HELP" = yes; then
6506 echo "$as_me:$LINENO: result: yes" >&5
6507 echo "${ECHO_T}yes" >&6
6509 echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6
6515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6518 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6519 if test "${enable_mshtmlhelp+set}" = set; then
6520 enableval="$enable_mshtmlhelp"
6522 if test "$enableval" = yes; then
6523 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
6525 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
6530 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x ; then
6532 eval "DEFAULT_$LINE"
6537 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
6541 eval "$ac_cv_use_mshtmlhelp"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6546 if test "$wxUSE_MS_HTML_HELP" = yes; then
6547 echo "$as_me:$LINENO: result: yes" >&5
6548 echo "${ECHO_T}yes" >&6
6550 echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6
6556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6559 # Check whether --enable-html or --disable-html was given.
6560 if test "${enable_html+set}" = set; then
6561 enableval="$enable_html"
6563 if test "$enableval" = yes; then
6564 ac_cv_use_html='wxUSE_HTML
=yes'
6566 ac_cv_use_html='wxUSE_HTML
=no
'
6571 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6578 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6582 eval "$ac_cv_use_html"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6587 if test "$wxUSE_HTML" = yes; then
6588 echo "$as_me:$LINENO: result: yes" >&5
6589 echo "${ECHO_T}yes" >&6
6591 echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6
6597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6600 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6601 if test "${enable_htmlhelp+set}" = set; then
6602 enableval="$enable_htmlhelp"
6604 if test "$enableval" = yes; then
6605 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6607 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6612 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x ; then
6614 eval "DEFAULT_$LINE"
6619 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6623 eval "$ac_cv_use_htmlhelp"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6628 if test "$wxUSE_WXHTML_HELP" = yes; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630 echo "${ECHO_T}yes" >&6
6632 echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6
6638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6641 # Check whether --enable-xrc or --disable-xrc was given.
6642 if test "${enable_xrc+set}" = set; then
6643 enableval="$enable_xrc"
6645 if test "$enableval" = yes; then
6646 ac_cv_use_xrc='wxUSE_XRC
=yes'
6648 ac_cv_use_xrc='wxUSE_XRC
=no
'
6653 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x ; then
6655 eval "DEFAULT_$LINE"
6660 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
6664 eval "$ac_cv_use_xrc"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6669 if test "$wxUSE_XRC" = yes; then
6670 echo "$as_me:$LINENO: result: yes" >&5
6671 echo "${ECHO_T}yes" >&6
6673 echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6
6679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6680 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6682 # Check whether --enable-constraints or --disable-constraints was given.
6683 if test "${enable_constraints+set}" = set; then
6684 enableval="$enable_constraints"
6686 if test "$enableval" = yes; then
6687 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6689 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6694 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6695 if test "x$LINE" != x ; then
6696 eval "DEFAULT_$LINE"
6701 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6705 eval "$ac_cv_use_constraints"
6706 if test "$no_cache" != 1; then
6707 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6710 if test "$wxUSE_CONSTRAINTS" = yes; then
6711 echo "$as_me:$LINENO: result: yes" >&5
6712 echo "${ECHO_T}yes" >&6
6714 echo "$as_me:$LINENO: result: no" >&5
6715 echo "${ECHO_T}no" >&6
6720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6721 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6723 # Check whether --enable-printarch or --disable-printarch was given.
6724 if test "${enable_printarch+set}" = set; then
6725 enableval="$enable_printarch"
6727 if test "$enableval" = yes; then
6728 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6730 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6735 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6736 if test "x$LINE" != x ; then
6737 eval "DEFAULT_$LINE"
6742 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6746 eval "$ac_cv_use_printarch"
6747 if test "$no_cache" != 1; then
6748 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6751 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6752 echo "$as_me:$LINENO: result: yes" >&5
6753 echo "${ECHO_T}yes" >&6
6755 echo "$as_me:$LINENO: result: no" >&5
6756 echo "${ECHO_T}no" >&6
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6764 # Check whether --enable-mdi or --disable-mdi was given.
6765 if test "${enable_mdi+set}" = set; then
6766 enableval="$enable_mdi"
6768 if test "$enableval" = yes; then
6769 ac_cv_use_mdi='wxUSE_MDI
=yes'
6771 ac_cv_use_mdi='wxUSE_MDI
=no
'
6776 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6783 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
6787 eval "$ac_cv_use_mdi"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6792 if test "$wxUSE_MDI" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6805 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6806 if test "${enable_mdidoc+set}" = set; then
6807 enableval="$enable_mdidoc"
6809 if test "$enableval" = yes; then
6810 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
6812 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
6817 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x ; then
6819 eval "DEFAULT_$LINE"
6824 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6828 eval "$ac_cv_use_mdidoc"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6833 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6834 echo "$as_me:$LINENO: result: yes" >&5
6835 echo "${ECHO_T}yes" >&6
6837 echo "$as_me:$LINENO: result: no" >&5
6838 echo "${ECHO_T}no" >&6
6843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6846 # Check whether --enable-loggui or --disable-loggui was given.
6847 if test "${enable_loggui+set}" = set; then
6848 enableval="$enable_loggui"
6850 if test "$enableval" = yes; then
6851 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6853 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6858 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x ; then
6860 eval "DEFAULT_$LINE"
6865 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6869 eval "$ac_cv_use_loggui"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6874 if test "$wxUSE_LOGGUI" = yes; then
6875 echo "$as_me:$LINENO: result: yes" >&5
6876 echo "${ECHO_T}yes" >&6
6878 echo "$as_me:$LINENO: result: no" >&5
6879 echo "${ECHO_T}no" >&6
6884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6885 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6887 # Check whether --enable-logwin or --disable-logwin was given.
6888 if test "${enable_logwin+set}" = set; then
6889 enableval="$enable_logwin"
6891 if test "$enableval" = yes; then
6892 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6894 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6899 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x ; then
6901 eval "DEFAULT_$LINE"
6906 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6910 eval "$ac_cv_use_logwin"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6915 if test "$wxUSE_LOGWINDOW" = yes; then
6916 echo "$as_me:$LINENO: result: yes" >&5
6917 echo "${ECHO_T}yes" >&6
6919 echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6928 # Check whether --enable-logdialog or --disable-logdialog was given.
6929 if test "${enable_logdialog+set}" = set; then
6930 enableval="$enable_logdialog"
6932 if test "$enableval" = yes; then
6933 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6935 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6940 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x ; then
6942 eval "DEFAULT_$LINE"
6947 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6951 eval "$ac_cv_use_logdialog"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6956 if test "$wxUSE_LOGDIALOG" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6969 # Check whether --enable-webkit or --disable-webkit was given.
6970 if test "${enable_webkit+set}" = set; then
6971 enableval="$enable_webkit"
6973 if test "$enableval" = yes; then
6974 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
6976 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
6981 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x ; then
6983 eval "DEFAULT_$LINE"
6988 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
6992 eval "$ac_cv_use_webkit"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6997 if test "$wxUSE_WEBKIT" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7009 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7011 # Check whether --enable-postscript or --disable-postscript was given.
7012 if test "${enable_postscript+set}" = set; then
7013 enableval="$enable_postscript"
7015 if test "$enableval" = yes; then
7016 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7018 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7023 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7024 if test "x$LINE" != x ; then
7025 eval "DEFAULT_$LINE"
7030 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7034 eval "$ac_cv_use_postscript"
7035 if test "$no_cache" != 1; then
7036 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7039 if test "$wxUSE_POSTSCRIPT" = yes; then
7040 echo "$as_me:$LINENO: result: yes" >&5
7041 echo "${ECHO_T}yes" >&6
7043 echo "$as_me:$LINENO: result: no" >&5
7044 echo "${ECHO_T}no" >&6
7052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7053 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7055 # Check whether --enable-prologio or --disable-prologio was given.
7056 if test "${enable_prologio+set}" = set; then
7057 enableval="$enable_prologio"
7059 if test "$enableval" = yes; then
7060 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
7062 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
7067 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7068 if test "x$LINE" != x ; then
7069 eval "DEFAULT_$LINE"
7074 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
7078 eval "$ac_cv_use_prologio"
7079 if test "$no_cache" != 1; then
7080 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7083 if test "$wxUSE_PROLOGIO" = yes; then
7084 echo "$as_me:$LINENO: result: yes" >&5
7085 echo "${ECHO_T}yes" >&6
7087 echo "$as_me:$LINENO: result: no" >&5
7088 echo "${ECHO_T}no" >&6
7093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7096 # Check whether --enable-resources or --disable-resources was given.
7097 if test "${enable_resources+set}" = set; then
7098 enableval="$enable_resources"
7100 if test "$enableval" = yes; then
7101 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
7103 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
7108 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7109 if test "x$LINE" != x ; then
7110 eval "DEFAULT_$LINE"
7115 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
7119 eval "$ac_cv_use_resources"
7120 if test "$no_cache" != 1; then
7121 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7124 if test "$wxUSE_RESOURCES" = yes; then
7125 echo "$as_me:$LINENO: result: yes" >&5
7126 echo "${ECHO_T}yes" >&6
7128 echo "$as_me:$LINENO: result: no" >&5
7129 echo "${ECHO_T}no" >&6
7136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7137 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7139 # Check whether --enable-clipboard or --disable-clipboard was given.
7140 if test "${enable_clipboard+set}" = set; then
7141 enableval="$enable_clipboard"
7143 if test "$enableval" = yes; then
7144 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7146 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7151 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7152 if test "x$LINE" != x ; then
7153 eval "DEFAULT_$LINE"
7158 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7162 eval "$ac_cv_use_clipboard"
7163 if test "$no_cache" != 1; then
7164 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7167 if test "$wxUSE_CLIPBOARD" = yes; then
7168 echo "$as_me:$LINENO: result: yes" >&5
7169 echo "${ECHO_T}yes" >&6
7171 echo "$as_me:$LINENO: result: no" >&5
7172 echo "${ECHO_T}no" >&6
7177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7178 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7180 # Check whether --enable-dnd or --disable-dnd was given.
7181 if test "${enable_dnd+set}" = set; then
7182 enableval="$enable_dnd"
7184 if test "$enableval" = yes; then
7185 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7187 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7192 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7193 if test "x$LINE" != x ; then
7194 eval "DEFAULT_$LINE"
7199 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7203 eval "$ac_cv_use_dnd"
7204 if test "$no_cache" != 1; then
7205 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7208 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7209 echo "$as_me:$LINENO: result: yes" >&5
7210 echo "${ECHO_T}yes" >&6
7212 echo "$as_me:$LINENO: result: no" >&5
7213 echo "${ECHO_T}no" >&6
7218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7219 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7221 # Check whether --enable-metafile or --disable-metafile was given.
7222 if test "${enable_metafile+set}" = set; then
7223 enableval="$enable_metafile"
7225 if test "$enableval" = yes; then
7226 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7228 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7233 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7234 if test "x$LINE" != x ; then
7235 eval "DEFAULT_$LINE"
7240 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7244 eval "$ac_cv_use_metafile"
7245 if test "$no_cache" != 1; then
7246 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7249 if test "$wxUSE_METAFILE" = yes; then
7250 echo "$as_me:$LINENO: result: yes" >&5
7251 echo "${ECHO_T}yes" >&6
7253 echo "$as_me:$LINENO: result: no" >&5
7254 echo "${ECHO_T}no" >&6
7262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7263 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7265 # Check whether --enable-controls or --disable-controls was given.
7266 if test "${enable_controls+set}" = set; then
7267 enableval="$enable_controls"
7269 if test "$enableval" = yes; then
7270 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7272 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7277 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7278 if test "x$LINE" != x ; then
7279 eval "DEFAULT_$LINE"
7284 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7288 eval "$ac_cv_use_controls"
7289 if test "$no_cache" != 1; then
7290 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7293 if test "$wxUSE_CONTROLS" = yes; then
7294 echo "$as_me:$LINENO: result: yes" >&5
7295 echo "${ECHO_T}yes" >&6
7297 echo "$as_me:$LINENO: result: no" >&5
7298 echo "${ECHO_T}no" >&6
7302 if test "$wxUSE_CONTROLS" = "yes"; then
7303 DEFAULT_wxUSE_ACCEL=yes
7304 DEFAULT_wxUSE_BMPBUTTON=yes
7305 DEFAULT_wxUSE_BUTTON=yes
7306 DEFAULT_wxUSE_CALCTRL=yes
7307 DEFAULT_wxUSE_CARET=yes
7308 DEFAULT_wxUSE_COMBOBOX=yes
7309 DEFAULT_wxUSE_CHECKBOX=yes
7310 DEFAULT_wxUSE_CHECKLISTBOX=yes
7311 DEFAULT_wxUSE_CHOICE=yes
7312 DEFAULT_wxUSE_CHOICEBOOK=yes
7313 DEFAULT_wxUSE_DATEPICKCTRL=yes
7314 DEFAULT_wxUSE_GAUGE=yes
7315 DEFAULT_wxUSE_GRID=yes
7316 DEFAULT_wxUSE_IMAGLIST=yes
7317 DEFAULT_wxUSE_LISTBOOK=yes
7318 DEFAULT_wxUSE_LISTBOX=yes
7319 DEFAULT_wxUSE_LISTCTRL=yes
7320 DEFAULT_wxUSE_NOTEBOOK=yes
7321 DEFAULT_wxUSE_RADIOBOX=yes
7322 DEFAULT_wxUSE_RADIOBTN=yes
7323 DEFAULT_wxUSE_SASH=yes
7324 DEFAULT_wxUSE_SCROLLBAR=yes
7325 DEFAULT_wxUSE_SLIDER=yes
7326 DEFAULT_wxUSE_SPINBTN=yes
7327 DEFAULT_wxUSE_SPINCTRL=yes
7328 DEFAULT_wxUSE_SPLITTER=yes
7329 DEFAULT_wxUSE_STATBMP=yes
7330 DEFAULT_wxUSE_STATBOX=yes
7331 DEFAULT_wxUSE_STATLINE=yes
7332 DEFAULT_wxUSE_STATUSBAR=yes
7333 DEFAULT_wxUSE_TAB_DIALOG=yes
7334 DEFAULT_wxUSE_TOGGLEBTN=yes
7335 DEFAULT_wxUSE_TOOLBAR=yes
7336 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7337 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7338 DEFAULT_wxUSE_TOOLTIPS=yes
7339 DEFAULT_wxUSE_TREECTRL=yes
7340 DEFAULT_wxUSE_POPUPWIN=yes
7341 DEFAULT_wxUSE_TIPWINDOW=yes
7342 elif test "$wxUSE_CONTROLS" = "no"; then
7343 DEFAULT_wxUSE_ACCEL=no
7344 DEFAULT_wxUSE_BMPBUTTON=no
7345 DEFAULT_wxUSE_BUTTON=no
7346 DEFAULT_wxUSE_CALCTRL=no
7347 DEFAULT_wxUSE_CARET=no
7348 DEFAULT_wxUSE_COMBOBOX=no
7349 DEFAULT_wxUSE_CHECKBOX=no
7350 DEFAULT_wxUSE_CHECKLISTBOX=no
7351 DEFAULT_wxUSE_CHOICE=no
7352 DEFAULT_wxUSE_CHOICEBOOK=no
7353 DEFAULT_wxUSE_DATEPICKCTRL=no
7354 DEFAULT_wxUSE_GAUGE=no
7355 DEFAULT_wxUSE_GRID=no
7356 DEFAULT_wxUSE_IMAGLIST=no
7357 DEFAULT_wxUSE_LISTBOOK=no
7358 DEFAULT_wxUSE_LISTBOX=no
7359 DEFAULT_wxUSE_LISTCTRL=no
7360 DEFAULT_wxUSE_NOTEBOOK=no
7361 DEFAULT_wxUSE_RADIOBOX=no
7362 DEFAULT_wxUSE_RADIOBTN=no
7363 DEFAULT_wxUSE_SASH=no
7364 DEFAULT_wxUSE_SCROLLBAR=no
7365 DEFAULT_wxUSE_SLIDER=no
7366 DEFAULT_wxUSE_SPINBTN=no
7367 DEFAULT_wxUSE_SPINCTRL=no
7368 DEFAULT_wxUSE_SPLITTER=no
7369 DEFAULT_wxUSE_STATBMP=no
7370 DEFAULT_wxUSE_STATBOX=no
7371 DEFAULT_wxUSE_STATLINE=no
7372 DEFAULT_wxUSE_STATUSBAR=no
7373 DEFAULT_wxUSE_TAB_DIALOG=no
7374 DEFAULT_wxUSE_TOGGLEBTN=no
7375 DEFAULT_wxUSE_TOOLBAR=no
7376 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7377 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7378 DEFAULT_wxUSE_TOOLTIPS=no
7379 DEFAULT_wxUSE_TREECTRL=no
7380 DEFAULT_wxUSE_POPUPWIN=no
7381 DEFAULT_wxUSE_TIPWINDOW=no
7386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7387 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7389 # Check whether --enable-accel or --disable-accel was given.
7390 if test "${enable_accel+set}" = set; then
7391 enableval="$enable_accel"
7393 if test "$enableval" = yes; then
7394 ac_cv_use_accel='wxUSE_ACCEL
=yes'
7396 ac_cv_use_accel='wxUSE_ACCEL
=no
'
7401 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7402 if test "x$LINE" != x ; then
7403 eval "DEFAULT_$LINE"
7408 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
7412 eval "$ac_cv_use_accel"
7413 if test "$no_cache" != 1; then
7414 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7417 if test "$wxUSE_ACCEL" = yes; then
7418 echo "$as_me:$LINENO: result: yes" >&5
7419 echo "${ECHO_T}yes" >&6
7421 echo "$as_me:$LINENO: result: no" >&5
7422 echo "${ECHO_T}no" >&6
7427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7428 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7430 # Check whether --enable-button or --disable-button was given.
7431 if test "${enable_button+set}" = set; then
7432 enableval="$enable_button"
7434 if test "$enableval" = yes; then
7435 ac_cv_use_button='wxUSE_BUTTON
=yes'
7437 ac_cv_use_button='wxUSE_BUTTON
=no
'
7442 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7443 if test "x$LINE" != x ; then
7444 eval "DEFAULT_$LINE"
7449 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
7453 eval "$ac_cv_use_button"
7454 if test "$no_cache" != 1; then
7455 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7458 if test "$wxUSE_BUTTON" = yes; then
7459 echo "$as_me:$LINENO: result: yes" >&5
7460 echo "${ECHO_T}yes" >&6
7462 echo "$as_me:$LINENO: result: no" >&5
7463 echo "${ECHO_T}no" >&6
7468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7469 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7471 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7472 if test "${enable_bmpbutton+set}" = set; then
7473 enableval="$enable_bmpbutton"
7475 if test "$enableval" = yes; then
7476 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
7478 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
7483 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7484 if test "x$LINE" != x ; then
7485 eval "DEFAULT_$LINE"
7490 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
7494 eval "$ac_cv_use_bmpbutton"
7495 if test "$no_cache" != 1; then
7496 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7499 if test "$wxUSE_BMPBUTTON" = yes; then
7500 echo "$as_me:$LINENO: result: yes" >&5
7501 echo "${ECHO_T}yes" >&6
7503 echo "$as_me:$LINENO: result: no" >&5
7504 echo "${ECHO_T}no" >&6
7509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7510 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7512 # Check whether --enable-calendar or --disable-calendar was given.
7513 if test "${enable_calendar+set}" = set; then
7514 enableval="$enable_calendar"
7516 if test "$enableval" = yes; then
7517 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
7519 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
7524 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7525 if test "x$LINE" != x ; then
7526 eval "DEFAULT_$LINE"
7531 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
7535 eval "$ac_cv_use_calendar"
7536 if test "$no_cache" != 1; then
7537 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7540 if test "$wxUSE_CALCTRL" = yes; then
7541 echo "$as_me:$LINENO: result: yes" >&5
7542 echo "${ECHO_T}yes" >&6
7544 echo "$as_me:$LINENO: result: no" >&5
7545 echo "${ECHO_T}no" >&6
7550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7551 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7553 # Check whether --enable-caret or --disable-caret was given.
7554 if test "${enable_caret+set}" = set; then
7555 enableval="$enable_caret"
7557 if test "$enableval" = yes; then
7558 ac_cv_use_caret='wxUSE_CARET
=yes'
7560 ac_cv_use_caret='wxUSE_CARET
=no
'
7565 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7566 if test "x$LINE" != x ; then
7567 eval "DEFAULT_$LINE"
7572 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
7576 eval "$ac_cv_use_caret"
7577 if test "$no_cache" != 1; then
7578 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7581 if test "$wxUSE_CARET" = yes; then
7582 echo "$as_me:$LINENO: result: yes" >&5
7583 echo "${ECHO_T}yes" >&6
7585 echo "$as_me:$LINENO: result: no" >&5
7586 echo "${ECHO_T}no" >&6
7591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7594 # Check whether --enable-checkbox or --disable-checkbox was given.
7595 if test "${enable_checkbox+set}" = set; then
7596 enableval="$enable_checkbox"
7598 if test "$enableval" = yes; then
7599 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
7601 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
7606 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7607 if test "x$LINE" != x ; then
7608 eval "DEFAULT_$LINE"
7613 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
7617 eval "$ac_cv_use_checkbox"
7618 if test "$no_cache" != 1; then
7619 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7622 if test "$wxUSE_CHECKBOX" = yes; then
7623 echo "$as_me:$LINENO: result: yes" >&5
7624 echo "${ECHO_T}yes" >&6
7626 echo "$as_me:$LINENO: result: no" >&5
7627 echo "${ECHO_T}no" >&6
7632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7633 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7635 # Check whether --enable-checklst or --disable-checklst was given.
7636 if test "${enable_checklst+set}" = set; then
7637 enableval="$enable_checklst"
7639 if test "$enableval" = yes; then
7640 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
7642 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
7647 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7648 if test "x$LINE" != x ; then
7649 eval "DEFAULT_$LINE"
7654 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
7658 eval "$ac_cv_use_checklst"
7659 if test "$no_cache" != 1; then
7660 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7663 if test "$wxUSE_CHECKLST" = yes; then
7664 echo "$as_me:$LINENO: result: yes" >&5
7665 echo "${ECHO_T}yes" >&6
7667 echo "$as_me:$LINENO: result: no" >&5
7668 echo "${ECHO_T}no" >&6
7673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7674 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7676 # Check whether --enable-choice or --disable-choice was given.
7677 if test "${enable_choice+set}" = set; then
7678 enableval="$enable_choice"
7680 if test "$enableval" = yes; then
7681 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7683 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7688 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7689 if test "x$LINE" != x ; then
7690 eval "DEFAULT_$LINE"
7695 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7699 eval "$ac_cv_use_choice"
7700 if test "$no_cache" != 1; then
7701 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7704 if test "$wxUSE_CHOICE" = yes; then
7705 echo "$as_me:$LINENO: result: yes" >&5
7706 echo "${ECHO_T}yes" >&6
7708 echo "$as_me:$LINENO: result: no" >&5
7709 echo "${ECHO_T}no" >&6
7714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7715 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7717 # Check whether --enable-choicebook or --disable-choicebook was given.
7718 if test "${enable_choicebook+set}" = set; then
7719 enableval="$enable_choicebook"
7721 if test "$enableval" = yes; then
7722 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
7724 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
7729 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7730 if test "x$LINE" != x ; then
7731 eval "DEFAULT_$LINE"
7736 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
7740 eval "$ac_cv_use_choicebook"
7741 if test "$no_cache" != 1; then
7742 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7745 if test "$wxUSE_CHOICEBOOK" = yes; then
7746 echo "$as_me:$LINENO: result: yes" >&5
7747 echo "${ECHO_T}yes" >&6
7749 echo "$as_me:$LINENO: result: no" >&5
7750 echo "${ECHO_T}no" >&6
7755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7756 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7758 # Check whether --enable-combobox or --disable-combobox was given.
7759 if test "${enable_combobox+set}" = set; then
7760 enableval="$enable_combobox"
7762 if test "$enableval" = yes; then
7763 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7765 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7770 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7771 if test "x$LINE" != x ; then
7772 eval "DEFAULT_$LINE"
7777 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7781 eval "$ac_cv_use_combobox"
7782 if test "$no_cache" != 1; then
7783 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7786 if test "$wxUSE_COMBOBOX" = yes; then
7787 echo "$as_me:$LINENO: result: yes" >&5
7788 echo "${ECHO_T}yes" >&6
7790 echo "$as_me:$LINENO: result: no" >&5
7791 echo "${ECHO_T}no" >&6
7796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7797 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7799 # Check whether --enable-datepick or --disable-datepick was given.
7800 if test "${enable_datepick+set}" = set; then
7801 enableval="$enable_datepick"
7803 if test "$enableval" = yes; then
7804 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
7806 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
7811 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7812 if test "x$LINE" != x ; then
7813 eval "DEFAULT_$LINE"
7818 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
7822 eval "$ac_cv_use_datepick"
7823 if test "$no_cache" != 1; then
7824 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7827 if test "$wxUSE_DATEPICKCTRL" = yes; then
7828 echo "$as_me:$LINENO: result: yes" >&5
7829 echo "${ECHO_T}yes" >&6
7831 echo "$as_me:$LINENO: result: no" >&5
7832 echo "${ECHO_T}no" >&6
7837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7838 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7840 # Check whether --enable-display or --disable-display was given.
7841 if test "${enable_display+set}" = set; then
7842 enableval="$enable_display"
7844 if test "$enableval" = yes; then
7845 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7847 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7852 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7853 if test "x$LINE" != x ; then
7854 eval "DEFAULT_$LINE"
7859 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7863 eval "$ac_cv_use_display"
7864 if test "$no_cache" != 1; then
7865 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7868 if test "$wxUSE_DISPLAY" = yes; then
7869 echo "$as_me:$LINENO: result: yes" >&5
7870 echo "${ECHO_T}yes" >&6
7872 echo "$as_me:$LINENO: result: no" >&5
7873 echo "${ECHO_T}no" >&6
7878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7879 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7881 # Check whether --enable-gauge or --disable-gauge was given.
7882 if test "${enable_gauge+set}" = set; then
7883 enableval="$enable_gauge"
7885 if test "$enableval" = yes; then
7886 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7888 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7893 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7894 if test "x$LINE" != x ; then
7895 eval "DEFAULT_$LINE"
7900 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7904 eval "$ac_cv_use_gauge"
7905 if test "$no_cache" != 1; then
7906 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7909 if test "$wxUSE_GAUGE" = yes; then
7910 echo "$as_me:$LINENO: result: yes" >&5
7911 echo "${ECHO_T}yes" >&6
7913 echo "$as_me:$LINENO: result: no" >&5
7914 echo "${ECHO_T}no" >&6
7919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7920 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7922 # Check whether --enable-grid or --disable-grid was given.
7923 if test "${enable_grid+set}" = set; then
7924 enableval="$enable_grid"
7926 if test "$enableval" = yes; then
7927 ac_cv_use_grid='wxUSE_GRID
=yes'
7929 ac_cv_use_grid='wxUSE_GRID
=no
'
7934 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7935 if test "x$LINE" != x ; then
7936 eval "DEFAULT_$LINE"
7941 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7945 eval "$ac_cv_use_grid"
7946 if test "$no_cache" != 1; then
7947 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7950 if test "$wxUSE_GRID" = yes; then
7951 echo "$as_me:$LINENO: result: yes" >&5
7952 echo "${ECHO_T}yes" >&6
7954 echo "$as_me:$LINENO: result: no" >&5
7955 echo "${ECHO_T}no" >&6
7960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7963 # Check whether --enable-imaglist or --disable-imaglist was given.
7964 if test "${enable_imaglist+set}" = set; then
7965 enableval="$enable_imaglist"
7967 if test "$enableval" = yes; then
7968 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7970 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7975 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x ; then
7977 eval "DEFAULT_$LINE"
7982 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7986 eval "$ac_cv_use_imaglist"
7987 if test "$no_cache" != 1; then
7988 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7991 if test "$wxUSE_IMAGLIST" = yes; then
7992 echo "$as_me:$LINENO: result: yes" >&5
7993 echo "${ECHO_T}yes" >&6
7995 echo "$as_me:$LINENO: result: no" >&5
7996 echo "${ECHO_T}no" >&6
8001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8002 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8004 # Check whether --enable-listbook or --disable-listbook was given.
8005 if test "${enable_listbook+set}" = set; then
8006 enableval="$enable_listbook"
8008 if test "$enableval" = yes; then
8009 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
8011 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
8016 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8017 if test "x$LINE" != x ; then
8018 eval "DEFAULT_$LINE"
8023 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
8027 eval "$ac_cv_use_listbook"
8028 if test "$no_cache" != 1; then
8029 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8032 if test "$wxUSE_LISTBOOK" = yes; then
8033 echo "$as_me:$LINENO: result: yes" >&5
8034 echo "${ECHO_T}yes" >&6
8036 echo "$as_me:$LINENO: result: no" >&5
8037 echo "${ECHO_T}no" >&6
8042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8043 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8045 # Check whether --enable-listbox or --disable-listbox was given.
8046 if test "${enable_listbox+set}" = set; then
8047 enableval="$enable_listbox"
8049 if test "$enableval" = yes; then
8050 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
8052 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
8057 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8058 if test "x$LINE" != x ; then
8059 eval "DEFAULT_$LINE"
8064 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
8068 eval "$ac_cv_use_listbox"
8069 if test "$no_cache" != 1; then
8070 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8073 if test "$wxUSE_LISTBOX" = yes; then
8074 echo "$as_me:$LINENO: result: yes" >&5
8075 echo "${ECHO_T}yes" >&6
8077 echo "$as_me:$LINENO: result: no" >&5
8078 echo "${ECHO_T}no" >&6
8083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8084 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8086 # Check whether --enable-listctrl or --disable-listctrl was given.
8087 if test "${enable_listctrl+set}" = set; then
8088 enableval="$enable_listctrl"
8090 if test "$enableval" = yes; then
8091 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
8093 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
8098 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8099 if test "x$LINE" != x ; then
8100 eval "DEFAULT_$LINE"
8105 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
8109 eval "$ac_cv_use_listctrl"
8110 if test "$no_cache" != 1; then
8111 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8114 if test "$wxUSE_LISTCTRL" = yes; then
8115 echo "$as_me:$LINENO: result: yes" >&5
8116 echo "${ECHO_T}yes" >&6
8118 echo "$as_me:$LINENO: result: no" >&5
8119 echo "${ECHO_T}no" >&6
8124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8125 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8127 # Check whether --enable-notebook or --disable-notebook was given.
8128 if test "${enable_notebook+set}" = set; then
8129 enableval="$enable_notebook"
8131 if test "$enableval" = yes; then
8132 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
8134 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
8139 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8140 if test "x$LINE" != x ; then
8141 eval "DEFAULT_$LINE"
8146 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
8150 eval "$ac_cv_use_notebook"
8151 if test "$no_cache" != 1; then
8152 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8155 if test "$wxUSE_NOTEBOOK" = yes; then
8156 echo "$as_me:$LINENO: result: yes" >&5
8157 echo "${ECHO_T}yes" >&6
8159 echo "$as_me:$LINENO: result: no" >&5
8160 echo "${ECHO_T}no" >&6
8165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8166 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8168 # Check whether --enable-radiobox or --disable-radiobox was given.
8169 if test "${enable_radiobox+set}" = set; then
8170 enableval="$enable_radiobox"
8172 if test "$enableval" = yes; then
8173 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
8175 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
8180 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8181 if test "x$LINE" != x ; then
8182 eval "DEFAULT_$LINE"
8187 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
8191 eval "$ac_cv_use_radiobox"
8192 if test "$no_cache" != 1; then
8193 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8196 if test "$wxUSE_RADIOBOX" = yes; then
8197 echo "$as_me:$LINENO: result: yes" >&5
8198 echo "${ECHO_T}yes" >&6
8200 echo "$as_me:$LINENO: result: no" >&5
8201 echo "${ECHO_T}no" >&6
8206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8209 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8210 if test "${enable_radiobtn+set}" = set; then
8211 enableval="$enable_radiobtn"
8213 if test "$enableval" = yes; then
8214 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
8216 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
8221 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8222 if test "x$LINE" != x ; then
8223 eval "DEFAULT_$LINE"
8228 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
8232 eval "$ac_cv_use_radiobtn"
8233 if test "$no_cache" != 1; then
8234 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8237 if test "$wxUSE_RADIOBTN" = yes; then
8238 echo "$as_me:$LINENO: result: yes" >&5
8239 echo "${ECHO_T}yes" >&6
8241 echo "$as_me:$LINENO: result: no" >&5
8242 echo "${ECHO_T}no" >&6
8247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8248 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8250 # Check whether --enable-sash or --disable-sash was given.
8251 if test "${enable_sash+set}" = set; then
8252 enableval="$enable_sash"
8254 if test "$enableval" = yes; then
8255 ac_cv_use_sash='wxUSE_SASH
=yes'
8257 ac_cv_use_sash='wxUSE_SASH
=no
'
8262 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8263 if test "x$LINE" != x ; then
8264 eval "DEFAULT_$LINE"
8269 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
8273 eval "$ac_cv_use_sash"
8274 if test "$no_cache" != 1; then
8275 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8278 if test "$wxUSE_SASH" = yes; then
8279 echo "$as_me:$LINENO: result: yes" >&5
8280 echo "${ECHO_T}yes" >&6
8282 echo "$as_me:$LINENO: result: no" >&5
8283 echo "${ECHO_T}no" >&6
8288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8289 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8291 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8292 if test "${enable_scrollbar+set}" = set; then
8293 enableval="$enable_scrollbar"
8295 if test "$enableval" = yes; then
8296 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
8298 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
8303 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8304 if test "x$LINE" != x ; then
8305 eval "DEFAULT_$LINE"
8310 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
8314 eval "$ac_cv_use_scrollbar"
8315 if test "$no_cache" != 1; then
8316 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8319 if test "$wxUSE_SCROLLBAR" = yes; then
8320 echo "$as_me:$LINENO: result: yes" >&5
8321 echo "${ECHO_T}yes" >&6
8323 echo "$as_me:$LINENO: result: no" >&5
8324 echo "${ECHO_T}no" >&6
8329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8330 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8332 # Check whether --enable-slider or --disable-slider was given.
8333 if test "${enable_slider+set}" = set; then
8334 enableval="$enable_slider"
8336 if test "$enableval" = yes; then
8337 ac_cv_use_slider='wxUSE_SLIDER
=yes'
8339 ac_cv_use_slider='wxUSE_SLIDER
=no
'
8344 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8345 if test "x$LINE" != x ; then
8346 eval "DEFAULT_$LINE"
8351 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
8355 eval "$ac_cv_use_slider"
8356 if test "$no_cache" != 1; then
8357 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8360 if test "$wxUSE_SLIDER" = yes; then
8361 echo "$as_me:$LINENO: result: yes" >&5
8362 echo "${ECHO_T}yes" >&6
8364 echo "$as_me:$LINENO: result: no" >&5
8365 echo "${ECHO_T}no" >&6
8370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8371 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8373 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8374 if test "${enable_spinbtn+set}" = set; then
8375 enableval="$enable_spinbtn"
8377 if test "$enableval" = yes; then
8378 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
8380 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
8385 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8386 if test "x$LINE" != x ; then
8387 eval "DEFAULT_$LINE"
8392 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
8396 eval "$ac_cv_use_spinbtn"
8397 if test "$no_cache" != 1; then
8398 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8401 if test "$wxUSE_SPINBTN" = yes; then
8402 echo "$as_me:$LINENO: result: yes" >&5
8403 echo "${ECHO_T}yes" >&6
8405 echo "$as_me:$LINENO: result: no" >&5
8406 echo "${ECHO_T}no" >&6
8411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8412 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8414 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8415 if test "${enable_spinctrl+set}" = set; then
8416 enableval="$enable_spinctrl"
8418 if test "$enableval" = yes; then
8419 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
8421 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
8426 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8427 if test "x$LINE" != x ; then
8428 eval "DEFAULT_$LINE"
8433 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
8437 eval "$ac_cv_use_spinctrl"
8438 if test "$no_cache" != 1; then
8439 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8442 if test "$wxUSE_SPINCTRL" = yes; then
8443 echo "$as_me:$LINENO: result: yes" >&5
8444 echo "${ECHO_T}yes" >&6
8446 echo "$as_me:$LINENO: result: no" >&5
8447 echo "${ECHO_T}no" >&6
8452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8453 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8455 # Check whether --enable-splitter or --disable-splitter was given.
8456 if test "${enable_splitter+set}" = set; then
8457 enableval="$enable_splitter"
8459 if test "$enableval" = yes; then
8460 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
8462 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
8467 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8468 if test "x$LINE" != x ; then
8469 eval "DEFAULT_$LINE"
8474 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
8478 eval "$ac_cv_use_splitter"
8479 if test "$no_cache" != 1; then
8480 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8483 if test "$wxUSE_SPLITTER" = yes; then
8484 echo "$as_me:$LINENO: result: yes" >&5
8485 echo "${ECHO_T}yes" >&6
8487 echo "$as_me:$LINENO: result: no" >&5
8488 echo "${ECHO_T}no" >&6
8493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8494 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8496 # Check whether --enable-statbmp or --disable-statbmp was given.
8497 if test "${enable_statbmp+set}" = set; then
8498 enableval="$enable_statbmp"
8500 if test "$enableval" = yes; then
8501 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
8503 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
8508 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x ; then
8510 eval "DEFAULT_$LINE"
8515 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
8519 eval "$ac_cv_use_statbmp"
8520 if test "$no_cache" != 1; then
8521 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8524 if test "$wxUSE_STATBMP" = yes; then
8525 echo "$as_me:$LINENO: result: yes" >&5
8526 echo "${ECHO_T}yes" >&6
8528 echo "$as_me:$LINENO: result: no" >&5
8529 echo "${ECHO_T}no" >&6
8534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8537 # Check whether --enable-statbox or --disable-statbox was given.
8538 if test "${enable_statbox+set}" = set; then
8539 enableval="$enable_statbox"
8541 if test "$enableval" = yes; then
8542 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
8544 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
8549 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x ; then
8551 eval "DEFAULT_$LINE"
8556 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
8560 eval "$ac_cv_use_statbox"
8561 if test "$no_cache" != 1; then
8562 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8565 if test "$wxUSE_STATBOX" = yes; then
8566 echo "$as_me:$LINENO: result: yes" >&5
8567 echo "${ECHO_T}yes" >&6
8569 echo "$as_me:$LINENO: result: no" >&5
8570 echo "${ECHO_T}no" >&6
8575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8578 # Check whether --enable-statline or --disable-statline was given.
8579 if test "${enable_statline+set}" = set; then
8580 enableval="$enable_statline"
8582 if test "$enableval" = yes; then
8583 ac_cv_use_statline='wxUSE_STATLINE
=yes'
8585 ac_cv_use_statline='wxUSE_STATLINE
=no
'
8590 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8597 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
8601 eval "$ac_cv_use_statline"
8602 if test "$no_cache" != 1; then
8603 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8606 if test "$wxUSE_STATLINE" = yes; then
8607 echo "$as_me:$LINENO: result: yes" >&5
8608 echo "${ECHO_T}yes" >&6
8610 echo "$as_me:$LINENO: result: no" >&5
8611 echo "${ECHO_T}no" >&6
8616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8619 # Check whether --enable-stattext or --disable-stattext was given.
8620 if test "${enable_stattext+set}" = set; then
8621 enableval="$enable_stattext"
8623 if test "$enableval" = yes; then
8624 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
8626 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
8631 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8632 if test "x$LINE" != x ; then
8633 eval "DEFAULT_$LINE"
8638 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
8642 eval "$ac_cv_use_stattext"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8647 if test "$wxUSE_STATTEXT" = yes; then
8648 echo "$as_me:$LINENO: result: yes" >&5
8649 echo "${ECHO_T}yes" >&6
8651 echo "$as_me:$LINENO: result: no" >&5
8652 echo "${ECHO_T}no" >&6
8657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8658 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8660 # Check whether --enable-statusbar or --disable-statusbar was given.
8661 if test "${enable_statusbar+set}" = set; then
8662 enableval="$enable_statusbar"
8664 if test "$enableval" = yes; then
8665 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
8667 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
8672 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8673 if test "x$LINE" != x ; then
8674 eval "DEFAULT_$LINE"
8679 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
8683 eval "$ac_cv_use_statusbar"
8684 if test "$no_cache" != 1; then
8685 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8688 if test "$wxUSE_STATUSBAR" = yes; then
8689 echo "$as_me:$LINENO: result: yes" >&5
8690 echo "${ECHO_T}yes" >&6
8692 echo "$as_me:$LINENO: result: no" >&5
8693 echo "${ECHO_T}no" >&6
8698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8701 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8702 if test "${enable_tabdialog+set}" = set; then
8703 enableval="$enable_tabdialog"
8705 if test "$enableval" = yes; then
8706 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
8708 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
8713 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8720 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
8724 eval "$ac_cv_use_tabdialog"
8725 if test "$no_cache" != 1; then
8726 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8729 if test "$wxUSE_TABDIALOG" = yes; then
8730 echo "$as_me:$LINENO: result: yes" >&5
8731 echo "${ECHO_T}yes" >&6
8733 echo "$as_me:$LINENO: result: no" >&5
8734 echo "${ECHO_T}no" >&6
8739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8740 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8742 # Check whether --enable-textctrl or --disable-textctrl was given.
8743 if test "${enable_textctrl+set}" = set; then
8744 enableval="$enable_textctrl"
8746 if test "$enableval" = yes; then
8747 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
8749 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8754 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8755 if test "x$LINE" != x ; then
8756 eval "DEFAULT_$LINE"
8761 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8765 eval "$ac_cv_use_textctrl"
8766 if test "$no_cache" != 1; then
8767 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8770 if test "$wxUSE_TEXTCTRL" = yes; then
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8774 echo "$as_me:$LINENO: result: no" >&5
8775 echo "${ECHO_T}no" >&6
8780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8781 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8783 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8784 if test "${enable_togglebtn+set}" = set; then
8785 enableval="$enable_togglebtn"
8787 if test "$enableval" = yes; then
8788 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8790 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8795 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8796 if test "x$LINE" != x ; then
8797 eval "DEFAULT_$LINE"
8802 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8806 eval "$ac_cv_use_togglebtn"
8807 if test "$no_cache" != 1; then
8808 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8811 if test "$wxUSE_TOGGLEBTN" = yes; then
8812 echo "$as_me:$LINENO: result: yes" >&5
8813 echo "${ECHO_T}yes" >&6
8815 echo "$as_me:$LINENO: result: no" >&5
8816 echo "${ECHO_T}no" >&6
8821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8824 # Check whether --enable-toolbar or --disable-toolbar was given.
8825 if test "${enable_toolbar+set}" = set; then
8826 enableval="$enable_toolbar"
8828 if test "$enableval" = yes; then
8829 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8831 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8836 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8843 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8847 eval "$ac_cv_use_toolbar"
8848 if test "$no_cache" != 1; then
8849 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8852 if test "$wxUSE_TOOLBAR" = yes; then
8853 echo "$as_me:$LINENO: result: yes" >&5
8854 echo "${ECHO_T}yes" >&6
8856 echo "$as_me:$LINENO: result: no" >&5
8857 echo "${ECHO_T}no" >&6
8862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8863 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8865 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8866 if test "${enable_tbarnative+set}" = set; then
8867 enableval="$enable_tbarnative"
8869 if test "$enableval" = yes; then
8870 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
8872 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
8877 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8878 if test "x$LINE" != x ; then
8879 eval "DEFAULT_$LINE"
8884 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8888 eval "$ac_cv_use_tbarnative"
8889 if test "$no_cache" != 1; then
8890 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8893 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8894 echo "$as_me:$LINENO: result: yes" >&5
8895 echo "${ECHO_T}yes" >&6
8897 echo "$as_me:$LINENO: result: no" >&5
8898 echo "${ECHO_T}no" >&6
8903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8904 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8906 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8907 if test "${enable_tbarsmpl+set}" = set; then
8908 enableval="$enable_tbarsmpl"
8910 if test "$enableval" = yes; then
8911 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8913 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8918 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8919 if test "x$LINE" != x ; then
8920 eval "DEFAULT_$LINE"
8925 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8929 eval "$ac_cv_use_tbarsmpl"
8930 if test "$no_cache" != 1; then
8931 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8934 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8935 echo "$as_me:$LINENO: result: yes" >&5
8936 echo "${ECHO_T}yes" >&6
8938 echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6
8944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8945 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8947 # Check whether --enable-treectrl or --disable-treectrl was given.
8948 if test "${enable_treectrl+set}" = set; then
8949 enableval="$enable_treectrl"
8951 if test "$enableval" = yes; then
8952 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8954 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8959 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8960 if test "x$LINE" != x ; then
8961 eval "DEFAULT_$LINE"
8966 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8970 eval "$ac_cv_use_treectrl"
8971 if test "$no_cache" != 1; then
8972 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8975 if test "$wxUSE_TREECTRL" = yes; then
8976 echo "$as_me:$LINENO: result: yes" >&5
8977 echo "${ECHO_T}yes" >&6
8979 echo "$as_me:$LINENO: result: no" >&5
8980 echo "${ECHO_T}no" >&6
8985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8988 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8989 if test "${enable_tipwindow+set}" = set; then
8990 enableval="$enable_tipwindow"
8992 if test "$enableval" = yes; then
8993 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8995 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
9000 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x ; then
9002 eval "DEFAULT_$LINE"
9007 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
9011 eval "$ac_cv_use_tipwindow"
9012 if test "$no_cache" != 1; then
9013 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9016 if test "$wxUSE_TIPWINDOW" = yes; then
9017 echo "$as_me:$LINENO: result: yes" >&5
9018 echo "${ECHO_T}yes" >&6
9020 echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9029 # Check whether --enable-popupwin or --disable-popupwin was given.
9030 if test "${enable_popupwin+set}" = set; then
9031 enableval="$enable_popupwin"
9033 if test "$enableval" = yes; then
9034 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
9036 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
9041 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x ; then
9043 eval "DEFAULT_$LINE"
9048 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
9052 eval "$ac_cv_use_popupwin"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9057 if test "$wxUSE_POPUPWIN" = yes; then
9058 echo "$as_me:$LINENO: result: yes" >&5
9059 echo "${ECHO_T}yes" >&6
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9070 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9072 # Check whether --enable-commondlg or --disable-commondlg was given.
9073 if test "${enable_commondlg+set}" = set; then
9074 enableval="$enable_commondlg"
9076 if test "$enableval" = yes; then
9077 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
9079 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
9084 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9085 if test "x$LINE" != x ; then
9086 eval "DEFAULT_$LINE"
9091 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
9095 eval "$ac_cv_use_commondlg"
9096 if test "$no_cache" != 1; then
9097 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9100 if test "$wxUSE_COMMONDLGS" = yes; then
9101 echo "$as_me:$LINENO: result: yes" >&5
9102 echo "${ECHO_T}yes" >&6
9104 echo "$as_me:$LINENO: result: no" >&5
9105 echo "${ECHO_T}no" >&6
9110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9113 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9114 if test "${enable_choicedlg+set}" = set; then
9115 enableval="$enable_choicedlg"
9117 if test "$enableval" = yes; then
9118 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
9120 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
9125 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9126 if test "x$LINE" != x ; then
9127 eval "DEFAULT_$LINE"
9132 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
9136 eval "$ac_cv_use_choicedlg"
9137 if test "$no_cache" != 1; then
9138 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9141 if test "$wxUSE_CHOICEDLG" = yes; then
9142 echo "$as_me:$LINENO: result: yes" >&5
9143 echo "${ECHO_T}yes" >&6
9145 echo "$as_me:$LINENO: result: no" >&5
9146 echo "${ECHO_T}no" >&6
9151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9154 # Check whether --enable-coldlg or --disable-coldlg was given.
9155 if test "${enable_coldlg+set}" = set; then
9156 enableval="$enable_coldlg"
9158 if test "$enableval" = yes; then
9159 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
9161 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
9166 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9167 if test "x$LINE" != x ; then
9168 eval "DEFAULT_$LINE"
9173 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
9177 eval "$ac_cv_use_coldlg"
9178 if test "$no_cache" != 1; then
9179 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9182 if test "$wxUSE_COLOURDLG" = yes; then
9183 echo "$as_me:$LINENO: result: yes" >&5
9184 echo "${ECHO_T}yes" >&6
9186 echo "$as_me:$LINENO: result: no" >&5
9187 echo "${ECHO_T}no" >&6
9192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9193 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9195 # Check whether --enable-filedlg or --disable-filedlg was given.
9196 if test "${enable_filedlg+set}" = set; then
9197 enableval="$enable_filedlg"
9199 if test "$enableval" = yes; then
9200 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
9202 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
9207 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9208 if test "x$LINE" != x ; then
9209 eval "DEFAULT_$LINE"
9214 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
9218 eval "$ac_cv_use_filedlg"
9219 if test "$no_cache" != 1; then
9220 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9223 if test "$wxUSE_FILEDLG" = yes; then
9224 echo "$as_me:$LINENO: result: yes" >&5
9225 echo "${ECHO_T}yes" >&6
9227 echo "$as_me:$LINENO: result: no" >&5
9228 echo "${ECHO_T}no" >&6
9233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9236 # Check whether --enable-finddlg or --disable-finddlg was given.
9237 if test "${enable_finddlg+set}" = set; then
9238 enableval="$enable_finddlg"
9240 if test "$enableval" = yes; then
9241 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
9243 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
9248 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9249 if test "x$LINE" != x ; then
9250 eval "DEFAULT_$LINE"
9255 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
9259 eval "$ac_cv_use_finddlg"
9260 if test "$no_cache" != 1; then
9261 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9264 if test "$wxUSE_FINDREPLDLG" = yes; then
9265 echo "$as_me:$LINENO: result: yes" >&5
9266 echo "${ECHO_T}yes" >&6
9268 echo "$as_me:$LINENO: result: no" >&5
9269 echo "${ECHO_T}no" >&6
9274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9275 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9277 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9278 if test "${enable_fontdlg+set}" = set; then
9279 enableval="$enable_fontdlg"
9281 if test "$enableval" = yes; then
9282 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
9284 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
9289 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9290 if test "x$LINE" != x ; then
9291 eval "DEFAULT_$LINE"
9296 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
9300 eval "$ac_cv_use_fontdlg"
9301 if test "$no_cache" != 1; then
9302 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9305 if test "$wxUSE_FONTDLG" = yes; then
9306 echo "$as_me:$LINENO: result: yes" >&5
9307 echo "${ECHO_T}yes" >&6
9309 echo "$as_me:$LINENO: result: no" >&5
9310 echo "${ECHO_T}no" >&6
9315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9316 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9318 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9319 if test "${enable_dirdlg+set}" = set; then
9320 enableval="$enable_dirdlg"
9322 if test "$enableval" = yes; then
9323 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
9325 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
9330 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9331 if test "x$LINE" != x ; then
9332 eval "DEFAULT_$LINE"
9337 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
9341 eval "$ac_cv_use_dirdlg"
9342 if test "$no_cache" != 1; then
9343 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9346 if test "$wxUSE_DIRDLG" = yes; then
9347 echo "$as_me:$LINENO: result: yes" >&5
9348 echo "${ECHO_T}yes" >&6
9350 echo "$as_me:$LINENO: result: no" >&5
9351 echo "${ECHO_T}no" >&6
9356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9359 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9360 if test "${enable_msgdlg+set}" = set; then
9361 enableval="$enable_msgdlg"
9363 if test "$enableval" = yes; then
9364 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
9366 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
9371 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9372 if test "x$LINE" != x ; then
9373 eval "DEFAULT_$LINE"
9378 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
9382 eval "$ac_cv_use_msgdlg"
9383 if test "$no_cache" != 1; then
9384 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9387 if test "$wxUSE_MSGDLG" = yes; then
9388 echo "$as_me:$LINENO: result: yes" >&5
9389 echo "${ECHO_T}yes" >&6
9391 echo "$as_me:$LINENO: result: no" >&5
9392 echo "${ECHO_T}no" >&6
9397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9398 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9400 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9401 if test "${enable_numberdlg+set}" = set; then
9402 enableval="$enable_numberdlg"
9404 if test "$enableval" = yes; then
9405 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
9407 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
9412 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9413 if test "x$LINE" != x ; then
9414 eval "DEFAULT_$LINE"
9419 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
9423 eval "$ac_cv_use_numberdlg"
9424 if test "$no_cache" != 1; then
9425 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9428 if test "$wxUSE_NUMBERDLG" = yes; then
9429 echo "$as_me:$LINENO: result: yes" >&5
9430 echo "${ECHO_T}yes" >&6
9432 echo "$as_me:$LINENO: result: no" >&5
9433 echo "${ECHO_T}no" >&6
9438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9439 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9441 # Check whether --enable-splash or --disable-splash was given.
9442 if test "${enable_splash+set}" = set; then
9443 enableval="$enable_splash"
9445 if test "$enableval" = yes; then
9446 ac_cv_use_splash='wxUSE_SPLASH
=yes'
9448 ac_cv_use_splash='wxUSE_SPLASH
=no
'
9453 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9454 if test "x$LINE" != x ; then
9455 eval "DEFAULT_$LINE"
9460 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
9464 eval "$ac_cv_use_splash"
9465 if test "$no_cache" != 1; then
9466 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9469 if test "$wxUSE_SPLASH" = yes; then
9470 echo "$as_me:$LINENO: result: yes" >&5
9471 echo "${ECHO_T}yes" >&6
9473 echo "$as_me:$LINENO: result: no" >&5
9474 echo "${ECHO_T}no" >&6
9479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9480 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9482 # Check whether --enable-textdlg or --disable-textdlg was given.
9483 if test "${enable_textdlg+set}" = set; then
9484 enableval="$enable_textdlg"
9486 if test "$enableval" = yes; then
9487 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
9489 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
9494 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9495 if test "x$LINE" != x ; then
9496 eval "DEFAULT_$LINE"
9501 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
9505 eval "$ac_cv_use_textdlg"
9506 if test "$no_cache" != 1; then
9507 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9510 if test "$wxUSE_TEXTDLG" = yes; then
9511 echo "$as_me:$LINENO: result: yes" >&5
9512 echo "${ECHO_T}yes" >&6
9514 echo "$as_me:$LINENO: result: no" >&5
9515 echo "${ECHO_T}no" >&6
9520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9521 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9523 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9524 if test "${enable_tipdlg+set}" = set; then
9525 enableval="$enable_tipdlg"
9527 if test "$enableval" = yes; then
9528 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
9530 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
9535 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9536 if test "x$LINE" != x ; then
9537 eval "DEFAULT_$LINE"
9542 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
9546 eval "$ac_cv_use_tipdlg"
9547 if test "$no_cache" != 1; then
9548 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9551 if test "$wxUSE_STARTUP_TIPS" = yes; then
9552 echo "$as_me:$LINENO: result: yes" >&5
9553 echo "${ECHO_T}yes" >&6
9555 echo "$as_me:$LINENO: result: no" >&5
9556 echo "${ECHO_T}no" >&6
9561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9562 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9564 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9565 if test "${enable_progressdlg+set}" = set; then
9566 enableval="$enable_progressdlg"
9568 if test "$enableval" = yes; then
9569 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
9571 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
9576 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9577 if test "x$LINE" != x ; then
9578 eval "DEFAULT_$LINE"
9583 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
9587 eval "$ac_cv_use_progressdlg"
9588 if test "$no_cache" != 1; then
9589 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9592 if test "$wxUSE_PROGRESSDLG" = yes; then
9593 echo "$as_me:$LINENO: result: yes" >&5
9594 echo "${ECHO_T}yes" >&6
9596 echo "$as_me:$LINENO: result: no" >&5
9597 echo "${ECHO_T}no" >&6
9602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9605 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9606 if test "${enable_wizarddlg+set}" = set; then
9607 enableval="$enable_wizarddlg"
9609 if test "$enableval" = yes; then
9610 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
9612 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
9617 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9618 if test "x$LINE" != x ; then
9619 eval "DEFAULT_$LINE"
9624 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
9628 eval "$ac_cv_use_wizarddlg"
9629 if test "$no_cache" != 1; then
9630 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9633 if test "$wxUSE_WIZARDDLG" = yes; then
9634 echo "$as_me:$LINENO: result: yes" >&5
9635 echo "${ECHO_T}yes" >&6
9637 echo "$as_me:$LINENO: result: no" >&5
9638 echo "${ECHO_T}no" >&6
9645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9648 # Check whether --enable-menus or --disable-menus was given.
9649 if test "${enable_menus+set}" = set; then
9650 enableval="$enable_menus"
9652 if test "$enableval" = yes; then
9653 ac_cv_use_menus='wxUSE_MENUS
=yes'
9655 ac_cv_use_menus='wxUSE_MENUS
=no
'
9660 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9661 if test "x$LINE" != x ; then
9662 eval "DEFAULT_$LINE"
9667 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
9671 eval "$ac_cv_use_menus"
9672 if test "$no_cache" != 1; then
9673 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9676 if test "$wxUSE_MENUS" = yes; then
9677 echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6
9680 echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6
9686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9689 # Check whether --enable-miniframe or --disable-miniframe was given.
9690 if test "${enable_miniframe+set}" = set; then
9691 enableval="$enable_miniframe"
9693 if test "$enableval" = yes; then
9694 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
9696 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
9701 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9702 if test "x$LINE" != x ; then
9703 eval "DEFAULT_$LINE"
9708 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
9712 eval "$ac_cv_use_miniframe"
9713 if test "$no_cache" != 1; then
9714 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9717 if test "$wxUSE_MINIFRAME" = yes; then
9718 echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6
9721 echo "$as_me:$LINENO: result: no" >&5
9722 echo "${ECHO_T}no" >&6
9727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9730 # Check whether --enable-tooltips or --disable-tooltips was given.
9731 if test "${enable_tooltips+set}" = set; then
9732 enableval="$enable_tooltips"
9734 if test "$enableval" = yes; then
9735 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
9737 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
9742 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9743 if test "x$LINE" != x ; then
9744 eval "DEFAULT_$LINE"
9749 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9753 eval "$ac_cv_use_tooltips"
9754 if test "$no_cache" != 1; then
9755 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9758 if test "$wxUSE_TOOLTIPS" = yes; then
9759 echo "$as_me:$LINENO: result: yes" >&5
9760 echo "${ECHO_T}yes" >&6
9762 echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6
9768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9769 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9771 # Check whether --enable-splines or --disable-splines was given.
9772 if test "${enable_splines+set}" = set; then
9773 enableval="$enable_splines"
9775 if test "$enableval" = yes; then
9776 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9778 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9783 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9784 if test "x$LINE" != x ; then
9785 eval "DEFAULT_$LINE"
9790 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9794 eval "$ac_cv_use_splines"
9795 if test "$no_cache" != 1; then
9796 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9799 if test "$wxUSE_SPLINES" = yes; then
9800 echo "$as_me:$LINENO: result: yes" >&5
9801 echo "${ECHO_T}yes" >&6
9803 echo "$as_me:$LINENO: result: no" >&5
9804 echo "${ECHO_T}no" >&6
9809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9812 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9813 if test "${enable_mousewheel+set}" = set; then
9814 enableval="$enable_mousewheel"
9816 if test "$enableval" = yes; then
9817 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
9819 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
9824 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9825 if test "x$LINE" != x ; then
9826 eval "DEFAULT_$LINE"
9831 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
9835 eval "$ac_cv_use_mousewheel"
9836 if test "$no_cache" != 1; then
9837 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9840 if test "$wxUSE_MOUSEWHEEL" = yes; then
9841 echo "$as_me:$LINENO: result: yes" >&5
9842 echo "${ECHO_T}yes" >&6
9844 echo "$as_me:$LINENO: result: no" >&5
9845 echo "${ECHO_T}no" >&6
9850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9851 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9853 # Check whether --enable-validators or --disable-validators was given.
9854 if test "${enable_validators+set}" = set; then
9855 enableval="$enable_validators"
9857 if test "$enableval" = yes; then
9858 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
9860 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
9865 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9866 if test "x$LINE" != x ; then
9867 eval "DEFAULT_$LINE"
9872 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
9876 eval "$ac_cv_use_validators"
9877 if test "$no_cache" != 1; then
9878 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9881 if test "$wxUSE_VALIDATORS" = yes; then
9882 echo "$as_me:$LINENO: result: yes" >&5
9883 echo "${ECHO_T}yes" >&6
9885 echo "$as_me:$LINENO: result: no" >&5
9886 echo "${ECHO_T}no" >&6
9891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9894 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9895 if test "${enable_busyinfo+set}" = set; then
9896 enableval="$enable_busyinfo"
9898 if test "$enableval" = yes; then
9899 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
9901 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
9906 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9907 if test "x$LINE" != x ; then
9908 eval "DEFAULT_$LINE"
9913 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
9917 eval "$ac_cv_use_busyinfo"
9918 if test "$no_cache" != 1; then
9919 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9922 if test "$wxUSE_BUSYINFO" = yes; then
9923 echo "$as_me:$LINENO: result: yes" >&5
9924 echo "${ECHO_T}yes" >&6
9926 echo "$as_me:$LINENO: result: no" >&5
9927 echo "${ECHO_T}no" >&6
9932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9933 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9935 # Check whether --enable-joystick or --disable-joystick was given.
9936 if test "${enable_joystick+set}" = set; then
9937 enableval="$enable_joystick"
9939 if test "$enableval" = yes; then
9940 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
9942 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
9947 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9948 if test "x$LINE" != x ; then
9949 eval "DEFAULT_$LINE"
9954 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
9958 eval "$ac_cv_use_joystick"
9959 if test "$no_cache" != 1; then
9960 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9963 if test "$wxUSE_JOYSTICK" = yes; then
9964 echo "$as_me:$LINENO: result: yes" >&5
9965 echo "${ECHO_T}yes" >&6
9967 echo "$as_me:$LINENO: result: no" >&5
9968 echo "${ECHO_T}no" >&6
9973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9974 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9976 # Check whether --enable-metafile or --disable-metafile was given.
9977 if test "${enable_metafile+set}" = set; then
9978 enableval="$enable_metafile"
9980 if test "$enableval" = yes; then
9981 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9983 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9988 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9989 if test "x$LINE" != x ; then
9990 eval "DEFAULT_$LINE"
9995 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9999 eval "$ac_cv_use_metafile"
10000 if test "$no_cache" != 1; then
10001 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10004 if test "$wxUSE_METAFILE" = yes; then
10005 echo "$as_me:$LINENO: result: yes" >&5
10006 echo "${ECHO_T}yes" >&6
10008 echo "$as_me:$LINENO: result: no" >&5
10009 echo "${ECHO_T}no" >&6
10014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10015 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10017 # Check whether --enable-dragimage or --disable-dragimage was given.
10018 if test "${enable_dragimage+set}" = set; then
10019 enableval="$enable_dragimage"
10021 if test "$enableval" = yes; then
10022 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
10024 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
10029 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10030 if test "x$LINE" != x ; then
10031 eval "DEFAULT_$LINE"
10036 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
10040 eval "$ac_cv_use_dragimage"
10041 if test "$no_cache" != 1; then
10042 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10045 if test "$wxUSE_DRAGIMAGE" = yes; then
10046 echo "$as_me:$LINENO: result: yes" >&5
10047 echo "${ECHO_T}yes" >&6
10049 echo "$as_me:$LINENO: result: no" >&5
10050 echo "${ECHO_T}no" >&6
10055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10056 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10058 # Check whether --enable-accessibility or --disable-accessibility was given.
10059 if test "${enable_accessibility+set}" = set; then
10060 enableval="$enable_accessibility"
10062 if test "$enableval" = yes; then
10063 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
10065 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
10070 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10071 if test "x$LINE" != x ; then
10072 eval "DEFAULT_$LINE"
10077 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
10081 eval "$ac_cv_use_accessibility"
10082 if test "$no_cache" != 1; then
10083 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10086 if test "$wxUSE_ACCESSIBILITY" = yes; then
10087 echo "$as_me:$LINENO: result: yes" >&5
10088 echo "${ECHO_T}yes" >&6
10090 echo "$as_me:$LINENO: result: no" >&5
10091 echo "${ECHO_T}no" >&6
10095 if test "$wxUSE_MSW" = "1"; then
10098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10099 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10101 # Check whether --enable-dccache or --disable-dccache was given.
10102 if test "${enable_dccache+set}" = set; then
10103 enableval="$enable_dccache"
10105 if test "$enableval" = yes; then
10106 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
10108 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
10113 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10114 if test "x$LINE" != x ; then
10115 eval "DEFAULT_$LINE"
10120 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
10124 eval "$ac_cv_use_dccache"
10125 if test "$no_cache" != 1; then
10126 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10129 if test "$wxUSE_DC_CACHEING" = yes; then
10130 echo "$as_me:$LINENO: result: yes" >&5
10131 echo "${ECHO_T}yes" >&6
10133 echo "$as_me:$LINENO: result: no" >&5
10134 echo "${ECHO_T}no" >&6
10142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10143 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10145 # Check whether --enable-palette or --disable-palette was given.
10146 if test "${enable_palette+set}" = set; then
10147 enableval="$enable_palette"
10149 if test "$enableval" = yes; then
10150 ac_cv_use_palette='wxUSE_PALETTE
=yes'
10152 ac_cv_use_palette='wxUSE_PALETTE
=no
'
10157 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10158 if test "x$LINE" != x ; then
10159 eval "DEFAULT_$LINE"
10164 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
10168 eval "$ac_cv_use_palette"
10169 if test "$no_cache" != 1; then
10170 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10173 if test "$wxUSE_PALETTE" = yes; then
10174 echo "$as_me:$LINENO: result: yes" >&5
10175 echo "${ECHO_T}yes" >&6
10177 echo "$as_me:$LINENO: result: no" >&5
10178 echo "${ECHO_T}no" >&6
10183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10186 # Check whether --enable-image or --disable-image was given.
10187 if test "${enable_image+set}" = set; then
10188 enableval="$enable_image"
10190 if test "$enableval" = yes; then
10191 ac_cv_use_image='wxUSE_IMAGE
=yes'
10193 ac_cv_use_image='wxUSE_IMAGE
=no
'
10198 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10199 if test "x$LINE" != x ; then
10200 eval "DEFAULT_$LINE"
10205 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
10209 eval "$ac_cv_use_image"
10210 if test "$no_cache" != 1; then
10211 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10214 if test "$wxUSE_IMAGE" = yes; then
10215 echo "$as_me:$LINENO: result: yes" >&5
10216 echo "${ECHO_T}yes" >&6
10218 echo "$as_me:$LINENO: result: no" >&5
10219 echo "${ECHO_T}no" >&6
10224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10225 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10227 # Check whether --enable-gif or --disable-gif was given.
10228 if test "${enable_gif+set}" = set; then
10229 enableval="$enable_gif"
10231 if test "$enableval" = yes; then
10232 ac_cv_use_gif='wxUSE_GIF
=yes'
10234 ac_cv_use_gif='wxUSE_GIF
=no
'
10239 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10240 if test "x$LINE" != x ; then
10241 eval "DEFAULT_$LINE"
10246 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
10250 eval "$ac_cv_use_gif"
10251 if test "$no_cache" != 1; then
10252 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10255 if test "$wxUSE_GIF" = yes; then
10256 echo "$as_me:$LINENO: result: yes" >&5
10257 echo "${ECHO_T}yes" >&6
10259 echo "$as_me:$LINENO: result: no" >&5
10260 echo "${ECHO_T}no" >&6
10265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10266 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10268 # Check whether --enable-pcx or --disable-pcx was given.
10269 if test "${enable_pcx+set}" = set; then
10270 enableval="$enable_pcx"
10272 if test "$enableval" = yes; then
10273 ac_cv_use_pcx='wxUSE_PCX
=yes'
10275 ac_cv_use_pcx='wxUSE_PCX
=no
'
10280 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10281 if test "x$LINE" != x ; then
10282 eval "DEFAULT_$LINE"
10287 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
10291 eval "$ac_cv_use_pcx"
10292 if test "$no_cache" != 1; then
10293 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10296 if test "$wxUSE_PCX" = yes; then
10297 echo "$as_me:$LINENO: result: yes" >&5
10298 echo "${ECHO_T}yes" >&6
10300 echo "$as_me:$LINENO: result: no" >&5
10301 echo "${ECHO_T}no" >&6
10306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10307 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10309 # Check whether --enable-iff or --disable-iff was given.
10310 if test "${enable_iff+set}" = set; then
10311 enableval="$enable_iff"
10313 if test "$enableval" = yes; then
10314 ac_cv_use_iff='wxUSE_IFF
=yes'
10316 ac_cv_use_iff='wxUSE_IFF
=no
'
10321 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10322 if test "x$LINE" != x ; then
10323 eval "DEFAULT_$LINE"
10328 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
10332 eval "$ac_cv_use_iff"
10333 if test "$no_cache" != 1; then
10334 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10337 if test "$wxUSE_IFF" = yes; then
10338 echo "$as_me:$LINENO: result: yes" >&5
10339 echo "${ECHO_T}yes" >&6
10341 echo "$as_me:$LINENO: result: no" >&5
10342 echo "${ECHO_T}no" >&6
10347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10348 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10350 # Check whether --enable-pnm or --disable-pnm was given.
10351 if test "${enable_pnm+set}" = set; then
10352 enableval="$enable_pnm"
10354 if test "$enableval" = yes; then
10355 ac_cv_use_pnm='wxUSE_PNM
=yes'
10357 ac_cv_use_pnm='wxUSE_PNM
=no
'
10362 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10363 if test "x$LINE" != x ; then
10364 eval "DEFAULT_$LINE"
10369 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
10373 eval "$ac_cv_use_pnm"
10374 if test "$no_cache" != 1; then
10375 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10378 if test "$wxUSE_PNM" = yes; then
10379 echo "$as_me:$LINENO: result: yes" >&5
10380 echo "${ECHO_T}yes" >&6
10382 echo "$as_me:$LINENO: result: no" >&5
10383 echo "${ECHO_T}no" >&6
10388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10389 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10391 # Check whether --enable-xpm or --disable-xpm was given.
10392 if test "${enable_xpm+set}" = set; then
10393 enableval="$enable_xpm"
10395 if test "$enableval" = yes; then
10396 ac_cv_use_xpm='wxUSE_XPM
=yes'
10398 ac_cv_use_xpm='wxUSE_XPM
=no
'
10403 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10404 if test "x$LINE" != x ; then
10405 eval "DEFAULT_$LINE"
10410 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
10414 eval "$ac_cv_use_xpm"
10415 if test "$no_cache" != 1; then
10416 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10419 if test "$wxUSE_XPM" = yes; then
10420 echo "$as_me:$LINENO: result: yes" >&5
10421 echo "${ECHO_T}yes" >&6
10423 echo "$as_me:$LINENO: result: no" >&5
10424 echo "${ECHO_T}no" >&6
10429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10430 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10432 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10433 if test "${enable_ico_cur+set}" = set; then
10434 enableval="$enable_ico_cur"
10436 if test "$enableval" = yes; then
10437 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
10439 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
10444 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10445 if test "x$LINE" != x ; then
10446 eval "DEFAULT_$LINE"
10451 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
10455 eval "$ac_cv_use_ico_cur"
10456 if test "$no_cache" != 1; then
10457 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10460 if test "$wxUSE_ICO_CUR" = yes; then
10461 echo "$as_me:$LINENO: result: yes" >&5
10462 echo "${ECHO_T}yes" >&6
10464 echo "$as_me:$LINENO: result: no" >&5
10465 echo "${ECHO_T}no" >&6
10473 # Check whether --with-flavour or --without-flavour was given.
10474 if test "${with_flavour+set}" = set; then
10475 withval="$with_flavour"
10476 WX_FLAVOUR="$withval"
10482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10483 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10485 # Check whether --enable-official_build or --disable-official_build was given.
10486 if test "${enable_official_build+set}" = set; then
10487 enableval="$enable_official_build"
10489 if test "$enableval" = yes; then
10490 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
10492 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
10497 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10498 if test "x$LINE" != x ; then
10499 eval "DEFAULT_$LINE"
10504 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
10508 eval "$ac_cv_use_official_build"
10509 if test "$no_cache" != 1; then
10510 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10513 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10514 echo "$as_me:$LINENO: result: yes" >&5
10515 echo "${ECHO_T}yes" >&6
10517 echo "$as_me:$LINENO: result: no" >&5
10518 echo "${ECHO_T}no" >&6
10521 # Check whether --enable-vendor or --disable-vendor was given.
10522 if test "${enable_vendor+set}" = set; then
10523 enableval="$enable_vendor"
10524 VENDOR="$enableval"
10526 if test "x$VENDOR" = "x"; then
10533 echo "saving argument cache $wx_arg_cache_file"
10534 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10538 echo "$as_me:$LINENO: checking for toolkit" >&5
10539 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10541 # In Wine, we need to default to MSW, not GTK or MOTIF
10542 if test "$wxUSE_WINE" = "yes"; then
10543 DEFAULT_DEFAULT_wxUSE_GTK=0
10544 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10545 DEFAULT_DEFAULT_wxUSE_MSW=1
10550 if test "$wxUSE_GUI" = "yes"; then
10552 if test "$USE_BEOS" = 1; then
10553 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10554 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10555 { (exit 1); exit 1; }; }
10558 if test "$TOOLKIT_GIVEN" = 1; then
10559 for toolkit in `echo $ALL_TOOLKITS`; do
10561 eval "value=\$${var}"
10562 if test "x$value" = "xno"; then
10564 elif test "x$value" != "x"; then
10568 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10569 eval "wx${toolkit}_VERSION=$value"
10573 for toolkit in `echo $ALL_TOOLKITS`; do
10574 if test "$has_toolkit_in_cache" != 1; then
10575 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10577 var=DEFAULT_wxUSE_$toolkit
10579 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10580 if test "x$version" != "x"; then
10581 eval "wx${toolkit}_VERSION=$version"
10584 eval "wxUSE_$toolkit=\$${var}"
10588 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10589 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10590 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10593 *-pc-os2_emx | *-pc-os2-emx )
10594 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10597 case "$NUM_TOOLKITS" in
10601 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10602 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10603 { (exit 1); exit 1; }; }
10606 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10607 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10608 { (exit 1); exit 1; }; }
10611 # to be removed when --disable-gtk2 isn't needed
10612 if test "x$wxUSE_GTK2" = "xyes"; then
10614 elif test "x$wxUSE_GTK2" = "xno"; then
10618 for toolkit
in `echo $ALL_TOOLKITS`; do
10620 eval "value=\$${var}"
10621 if test "x$value" != x
; then
10622 cache_var
=CACHE_
$toolkit
10623 eval "cache=\$${cache_var}"
10624 if test "$cache" = 1; then
10625 echo "$var=$value" >> ${wx_arg_cache_file}
10626 eval "version=\$wx${toolkit}_VERSION"
10627 if test "x$version" != "x"; then
10628 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10631 if test "$value" = 1; then
10632 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10633 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10634 echo "${ECHO_T}$toolkit_echo" >&6
10639 if test "x$host_alias" != "x"; then
10640 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10641 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10643 echo "$as_me:$LINENO: result: base only" >&5
10644 echo "${ECHO_T}base only" >&6
10649 doesnt_want_win32
=0
10652 if test "$wxUSE_MSW" = 1 ; then
10654 BAKEFILE_FORCE_PLATFORM
=win32
10656 doesnt_want_win32
=1
10664 if test "$wxUSE_WINE" = "yes"; then
10668 LDFLAGS_GUI
="-mwindows"
10671 if test "$wants_win32" = 1 ; then
10674 cat >>confdefs.h
<<\_ACEOF
10675 #define __WIN32__ 1
10678 cat >>confdefs.h
<<\_ACEOF
10679 #define __WIN95__ 1
10682 cat >>confdefs.h
<<\_ACEOF
10683 #define __WINDOWS__ 1
10686 cat >>confdefs.h
<<\_ACEOF
10687 #define __GNUWIN32__ 1
10690 cat >>confdefs.h
<<\_ACEOF
10694 cat >>confdefs.h
<<\_ACEOF
10695 #define WINVER 0x0400
10699 if test "$doesnt_want_win32" = 1 ; then
10704 if test "$USE_UNIX" = 1 ; then
10706 cat >>confdefs.h
<<\_ACEOF
10713 cat >confcache
<<\_ACEOF
10714 # This file is a shell script that caches the results of configure
10715 # tests run on this system so they can be shared between configure
10716 # scripts and configure runs, see configure's option --config-cache.
10717 # It is not useful on other systems. If it contains results you don't
10718 # want to keep, you may remove or edit it.
10720 # config.status only pays attention to the cache file if you give it
10721 # the --recheck option to rerun configure.
10723 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10724 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10725 # following values.
10729 # The following way of writing the cache mishandles newlines in values,
10730 # but we know of no workaround that is simple, portable, and efficient.
10731 # So, don't put newlines in cache variables' values.
10732 # Ultrix sh set writes to stderr and can't be redirected directly,
10733 # and sets the high bit in the cache file unless we assign to the vars.
10736 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10738 # `set' does not quote correctly, so add quotes (double-quote
10739 # substitution turns \\\\ into \\, and sed turns \\ into \).
10742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10745 # `set' quotes correctly as required by POSIX, so do not add quotes.
10747 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10756 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10758 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10759 if test -w $cache_file; then
10760 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10761 cat confcache
>$cache_file
10763 echo "not updating unwritable cache $cache_file"
10772 ac_cpp
='$CPP $CPPFLAGS'
10773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10776 if test -n "$ac_tool_prefix"; then
10777 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10778 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10779 echo "$as_me:$LINENO: checking for $ac_word" >&5
10780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10781 if test "${ac_cv_prog_CC+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10784 if test -n "$CC"; then
10785 ac_cv_prog_CC
="$CC" # Let the user override the test.
10787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10788 for as_dir
in $PATH
10791 test -z "$as_dir" && as_dir
=.
10792 for ac_exec_ext
in '' $ac_executable_extensions; do
10793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10794 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10804 if test -n "$CC"; then
10805 echo "$as_me:$LINENO: result: $CC" >&5
10806 echo "${ECHO_T}$CC" >&6
10808 echo "$as_me:$LINENO: result: no" >&5
10809 echo "${ECHO_T}no" >&6
10813 if test -z "$ac_cv_prog_CC"; then
10815 # Extract the first word of "gcc", so it can be a program name with args.
10816 set dummy gcc
; ac_word
=$2
10817 echo "$as_me:$LINENO: checking for $ac_word" >&5
10818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10819 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10820 echo $ECHO_N "(cached) $ECHO_C" >&6
10822 if test -n "$ac_ct_CC"; then
10823 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10826 for as_dir
in $PATH
10829 test -z "$as_dir" && as_dir
=.
10830 for ac_exec_ext
in '' $ac_executable_extensions; do
10831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10832 ac_cv_prog_ac_ct_CC
="gcc"
10833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10841 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10842 if test -n "$ac_ct_CC"; then
10843 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10844 echo "${ECHO_T}$ac_ct_CC" >&6
10846 echo "$as_me:$LINENO: result: no" >&5
10847 echo "${ECHO_T}no" >&6
10852 CC
="$ac_cv_prog_CC"
10855 if test -z "$CC"; then
10856 if test -n "$ac_tool_prefix"; then
10857 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10858 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10859 echo "$as_me:$LINENO: checking for $ac_word" >&5
10860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10861 if test "${ac_cv_prog_CC+set}" = set; then
10862 echo $ECHO_N "(cached) $ECHO_C" >&6
10864 if test -n "$CC"; then
10865 ac_cv_prog_CC
="$CC" # Let the user override the test.
10867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10868 for as_dir
in $PATH
10871 test -z "$as_dir" && as_dir
=.
10872 for ac_exec_ext
in '' $ac_executable_extensions; do
10873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10874 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10884 if test -n "$CC"; then
10885 echo "$as_me:$LINENO: result: $CC" >&5
10886 echo "${ECHO_T}$CC" >&6
10888 echo "$as_me:$LINENO: result: no" >&5
10889 echo "${ECHO_T}no" >&6
10893 if test -z "$ac_cv_prog_CC"; then
10895 # Extract the first word of "cc", so it can be a program name with args.
10896 set dummy cc
; ac_word
=$2
10897 echo "$as_me:$LINENO: checking for $ac_word" >&5
10898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10899 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10900 echo $ECHO_N "(cached) $ECHO_C" >&6
10902 if test -n "$ac_ct_CC"; then
10903 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10906 for as_dir
in $PATH
10909 test -z "$as_dir" && as_dir
=.
10910 for ac_exec_ext
in '' $ac_executable_extensions; do
10911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10912 ac_cv_prog_ac_ct_CC
="cc"
10913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10921 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10922 if test -n "$ac_ct_CC"; then
10923 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10924 echo "${ECHO_T}$ac_ct_CC" >&6
10926 echo "$as_me:$LINENO: result: no" >&5
10927 echo "${ECHO_T}no" >&6
10932 CC
="$ac_cv_prog_CC"
10936 if test -z "$CC"; then
10937 # Extract the first word of "cc", so it can be a program name with args.
10938 set dummy cc
; ac_word
=$2
10939 echo "$as_me:$LINENO: checking for $ac_word" >&5
10940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10941 if test "${ac_cv_prog_CC+set}" = set; then
10942 echo $ECHO_N "(cached) $ECHO_C" >&6
10944 if test -n "$CC"; then
10945 ac_cv_prog_CC
="$CC" # Let the user override the test.
10947 ac_prog_rejected
=no
10948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10949 for as_dir
in $PATH
10952 test -z "$as_dir" && as_dir
=.
10953 for ac_exec_ext
in '' $ac_executable_extensions; do
10954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10955 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10956 ac_prog_rejected
=yes
10960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10966 if test $ac_prog_rejected = yes; then
10967 # We found a bogon in the path, so make sure we never use it.
10968 set dummy
$ac_cv_prog_CC
10970 if test $# != 0; then
10971 # We chose a different compiler from the bogus one.
10972 # However, it has the same basename, so the bogon will be chosen
10973 # first if we set CC to just the basename; use the full file name.
10975 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10981 if test -n "$CC"; then
10982 echo "$as_me:$LINENO: result: $CC" >&5
10983 echo "${ECHO_T}$CC" >&6
10985 echo "$as_me:$LINENO: result: no" >&5
10986 echo "${ECHO_T}no" >&6
10990 if test -z "$CC"; then
10991 if test -n "$ac_tool_prefix"; then
10994 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10995 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10996 echo "$as_me:$LINENO: checking for $ac_word" >&5
10997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10998 if test "${ac_cv_prog_CC+set}" = set; then
10999 echo $ECHO_N "(cached) $ECHO_C" >&6
11001 if test -n "$CC"; then
11002 ac_cv_prog_CC
="$CC" # Let the user override the test.
11004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11005 for as_dir
in $PATH
11008 test -z "$as_dir" && as_dir
=.
11009 for ac_exec_ext
in '' $ac_executable_extensions; do
11010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11011 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11021 if test -n "$CC"; then
11022 echo "$as_me:$LINENO: result: $CC" >&5
11023 echo "${ECHO_T}$CC" >&6
11025 echo "$as_me:$LINENO: result: no" >&5
11026 echo "${ECHO_T}no" >&6
11029 test -n "$CC" && break
11032 if test -z "$CC"; then
11036 # Extract the first word of "$ac_prog", so it can be a program name with args.
11037 set dummy
$ac_prog; ac_word
=$2
11038 echo "$as_me:$LINENO: checking for $ac_word" >&5
11039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11040 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11041 echo $ECHO_N "(cached) $ECHO_C" >&6
11043 if test -n "$ac_ct_CC"; then
11044 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11047 for as_dir
in $PATH
11050 test -z "$as_dir" && as_dir
=.
11051 for ac_exec_ext
in '' $ac_executable_extensions; do
11052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11053 ac_cv_prog_ac_ct_CC
="$ac_prog"
11054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11062 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11063 if test -n "$ac_ct_CC"; then
11064 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11065 echo "${ECHO_T}$ac_ct_CC" >&6
11067 echo "$as_me:$LINENO: result: no" >&5
11068 echo "${ECHO_T}no" >&6
11071 test -n "$ac_ct_CC" && break
11080 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11081 See \`config.log' for more details." >&5
11082 echo "$as_me: error: no acceptable C compiler found in \$PATH
11083 See \`config.log' for more details." >&2;}
11084 { (exit 1); exit 1; }; }
11086 # Provide some information about the compiler.
11087 echo "$as_me:$LINENO:" \
11088 "checking for C compiler version" >&5
11089 ac_compiler
=`set X $ac_compile; echo $2`
11090 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11091 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); }
11095 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11096 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); }
11100 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11101 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); }
11106 cat >conftest.
$ac_ext <<_ACEOF
11109 cat confdefs.h
>>conftest.
$ac_ext
11110 cat >>conftest.
$ac_ext <<_ACEOF
11111 /* end confdefs.h. */
11121 ac_clean_files_save
=$ac_clean_files
11122 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11123 # Try to create an executable without -o first, disregard a.out.
11124 # It will help us diagnose broken compilers, and finding out an intuition
11126 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11127 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11128 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11129 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11130 (eval $ac_link_default) 2>&5
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); }; then
11134 # Find the output, starting from the most likely. This scheme is
11135 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11138 # Be careful to initialize this variable, since it used to be cached.
11139 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11141 # b.out is created by i960 compilers.
11142 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11144 test -f "$ac_file" || continue
11146 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11149 # This is the source file.
11152 # We found the default executable, but exeext='' is most
11156 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11157 # FIXME: I believe we export ac_cv_exeext for Libtool,
11158 # but it would be cool to find out if it's true. Does anybody
11159 # maintain Libtool? --akim.
11160 export ac_cv_exeext
11167 echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.
$ac_ext >&5
11170 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11171 See \`config.log' for more details." >&5
11172 echo "$as_me: error: C compiler cannot create executables
11173 See \`config.log' for more details." >&2;}
11174 { (exit 77); exit 77; }; }
11177 ac_exeext
=$ac_cv_exeext
11178 echo "$as_me:$LINENO: result: $ac_file" >&5
11179 echo "${ECHO_T}$ac_file" >&6
11181 # Check the compiler produces executables we can run. If not, either
11182 # the compiler is broken, or we cross compile.
11183 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11184 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11185 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11186 # If not cross compiling, check that we can run a simple program.
11187 if test "$cross_compiling" != yes; then
11188 if { ac_try
='./$ac_file'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; }; then
11196 if test "$cross_compiling" = maybe
; then
11197 cross_compiling
=yes
11199 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11200 If you meant to cross compile, use \`--host'.
11201 See \`config.log' for more details." >&5
11202 echo "$as_me: error: cannot run C compiled programs.
11203 If you meant to cross compile, use \`--host'.
11204 See \`config.log' for more details." >&2;}
11205 { (exit 1); exit 1; }; }
11209 echo "$as_me:$LINENO: result: yes" >&5
11210 echo "${ECHO_T}yes" >&6
11212 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11213 ac_clean_files
=$ac_clean_files_save
11214 # Check the compiler produces executables we can run. If not, either
11215 # the compiler is broken, or we cross compile.
11216 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11217 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11218 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11219 echo "${ECHO_T}$cross_compiling" >&6
11221 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11222 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11224 (eval $ac_link) 2>&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); }; then
11228 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11229 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11230 # work properly (i.e., refer to `conftest.exe'), while it won't with
11232 for ac_file
in conftest.exe conftest conftest.
*; do
11233 test -f "$ac_file" || continue
11235 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11236 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11237 export ac_cv_exeext
11243 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11244 See \`config.log' for more details." >&5
11245 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11246 See \`config.log' for more details." >&2;}
11247 { (exit 1); exit 1; }; }
11250 rm -f conftest
$ac_cv_exeext
11251 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11252 echo "${ECHO_T}$ac_cv_exeext" >&6
11254 rm -f conftest.
$ac_ext
11255 EXEEXT
=$ac_cv_exeext
11257 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11258 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11259 if test "${ac_cv_objext+set}" = set; then
11260 echo $ECHO_N "(cached) $ECHO_C" >&6
11262 cat >conftest.
$ac_ext <<_ACEOF
11265 cat confdefs.h
>>conftest.
$ac_ext
11266 cat >>conftest.
$ac_ext <<_ACEOF
11267 /* end confdefs.h. */
11277 rm -f conftest.o conftest.obj
11278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11279 (eval $ac_compile) 2>&5
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); }; then
11283 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11285 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11286 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11291 echo "$as_me: failed program was:" >&5
11292 sed 's/^/| /' conftest.
$ac_ext >&5
11294 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11295 See \`config.log' for more details." >&5
11296 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11297 See \`config.log' for more details." >&2;}
11298 { (exit 1); exit 1; }; }
11301 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11303 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11304 echo "${ECHO_T}$ac_cv_objext" >&6
11305 OBJEXT
=$ac_cv_objext
11307 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11308 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11309 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11310 echo $ECHO_N "(cached) $ECHO_C" >&6
11312 cat >conftest.
$ac_ext <<_ACEOF
11315 cat confdefs.h
>>conftest.
$ac_ext
11316 cat >>conftest.
$ac_ext <<_ACEOF
11317 /* end confdefs.h. */
11330 rm -f conftest.
$ac_objext
11331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11332 (eval $ac_compile) 2>conftest.er1
11334 grep -v '^ *+' conftest.er1
>conftest.err
11336 cat conftest.err
>&5
11337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); } &&
11339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11341 (eval $ac_try) 2>&5
11343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344 (exit $ac_status); }; } &&
11345 { ac_try
='test -s conftest.$ac_objext'
11346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11347 (eval $ac_try) 2>&5
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); }; }; then
11351 ac_compiler_gnu
=yes
11353 echo "$as_me: failed program was:" >&5
11354 sed 's/^/| /' conftest.
$ac_ext >&5
11358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11359 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11362 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11363 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11364 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11365 ac_test_CFLAGS
=${CFLAGS+set}
11366 ac_save_CFLAGS
=$CFLAGS
11368 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11369 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11370 if test "${ac_cv_prog_cc_g+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 cat >conftest.
$ac_ext <<_ACEOF
11376 cat confdefs.h
>>conftest.
$ac_ext
11377 cat >>conftest.
$ac_ext <<_ACEOF
11378 /* end confdefs.h. */
11388 rm -f conftest.
$ac_objext
11389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11390 (eval $ac_compile) 2>conftest.er1
11392 grep -v '^ *+' conftest.er1
>conftest.err
11394 cat conftest.err
>&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } &&
11397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11399 (eval $ac_try) 2>&5
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); }; } &&
11403 { ac_try
='test -s conftest.$ac_objext'
11404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11405 (eval $ac_try) 2>&5
11407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); }; }; then
11409 ac_cv_prog_cc_g
=yes
11411 echo "$as_me: failed program was:" >&5
11412 sed 's/^/| /' conftest.
$ac_ext >&5
11416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11418 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11419 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11420 if test "$ac_test_CFLAGS" = set; then
11421 CFLAGS
=$ac_save_CFLAGS
11422 elif test $ac_cv_prog_cc_g = yes; then
11423 if test "$GCC" = yes; then
11429 if test "$GCC" = yes; then
11435 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11436 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11437 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11440 ac_cv_prog_cc_stdc
=no
11442 cat >conftest.
$ac_ext <<_ACEOF
11445 cat confdefs.h
>>conftest.
$ac_ext
11446 cat >>conftest.
$ac_ext <<_ACEOF
11447 /* end confdefs.h. */
11448 #include <stdarg.h>
11450 #include <sys/types.h>
11451 #include <sys/stat.h>
11452 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11453 struct buf { int x; };
11454 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11455 static char *e (p, i)
11461 static char *f (char * (*g) (char **, int), char **p, ...)
11466 s = g (p, va_arg (v,int));
11471 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11472 function prototypes and stuff, but not '\xHH' hex character constants.
11473 These don't provoke an error unfortunately, instead are silently treated
11474 as 'x'. The following induces an error, until -std1 is added to get
11475 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11476 array size at least. It's necessary to write '\x00'==0 to get something
11477 that's true only with -std1. */
11478 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11480 int test (int i, double x);
11481 struct s1 {int (*f) (int a);};
11482 struct s2 {int (*f) (double a);};
11483 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11489 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11494 # Don't try gcc -ansi; that turns off useful extensions and
11495 # breaks some systems' header files.
11496 # AIX -qlanglvl=ansi
11497 # Ultrix and OSF/1 -std1
11498 # HP-UX 10.20 and later -Ae
11499 # HP-UX older versions -Aa -D_HPUX_SOURCE
11500 # SVR4 -Xc -D__EXTENSIONS__
11501 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11503 CC
="$ac_save_CC $ac_arg"
11504 rm -f conftest.
$ac_objext
11505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11506 (eval $ac_compile) 2>conftest.er1
11508 grep -v '^ *+' conftest.er1
>conftest.err
11510 cat conftest.err
>&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); } &&
11513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11515 (eval $ac_try) 2>&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); }; } &&
11519 { ac_try
='test -s conftest.$ac_objext'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; }; then
11525 ac_cv_prog_cc_stdc
=$ac_arg
11528 echo "$as_me: failed program was:" >&5
11529 sed 's/^/| /' conftest.
$ac_ext >&5
11532 rm -f conftest.err conftest.
$ac_objext
11534 rm -f conftest.
$ac_ext conftest.
$ac_objext
11539 case "x$ac_cv_prog_cc_stdc" in
11541 echo "$as_me:$LINENO: result: none needed" >&5
11542 echo "${ECHO_T}none needed" >&6 ;;
11544 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11545 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11546 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11549 # Some people use a C++ compiler to compile C. Since we use `exit',
11550 # in C++ we need to declare it. In case someone uses the same compiler
11551 # for both compiling C and C++ we need to have the C++ compiler decide
11552 # the declaration of exit, since it's the most demanding environment.
11553 cat >conftest.
$ac_ext <<_ACEOF
11554 #ifndef __cplusplus
11558 rm -f conftest.
$ac_objext
11559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11560 (eval $ac_compile) 2>conftest.er1
11562 grep -v '^ *+' conftest.er1
>conftest.err
11564 cat conftest.err
>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } &&
11567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11569 (eval $ac_try) 2>&5
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); }; } &&
11573 { ac_try
='test -s conftest.$ac_objext'
11574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11575 (eval $ac_try) 2>&5
11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); }; }; then
11579 for ac_declaration
in \
11581 'extern "C" void std::exit (int) throw (); using std::exit;' \
11582 'extern "C" void std::exit (int); using std::exit;' \
11583 'extern "C" void exit (int) throw ();' \
11584 'extern "C" void exit (int);' \
11587 cat >conftest.
$ac_ext <<_ACEOF
11590 cat confdefs.h
>>conftest.
$ac_ext
11591 cat >>conftest.
$ac_ext <<_ACEOF
11592 /* end confdefs.h. */
11594 #include <stdlib.h>
11603 rm -f conftest.
$ac_objext
11604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11605 (eval $ac_compile) 2>conftest.er1
11607 grep -v '^ *+' conftest.er1
>conftest.err
11609 cat conftest.err
>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); } &&
11612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11614 (eval $ac_try) 2>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }; } &&
11618 { ac_try
='test -s conftest.$ac_objext'
11619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11620 (eval $ac_try) 2>&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); }; }; then
11626 echo "$as_me: failed program was:" >&5
11627 sed 's/^/| /' conftest.
$ac_ext >&5
11631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11632 cat >conftest.
$ac_ext <<_ACEOF
11635 cat confdefs.h
>>conftest.
$ac_ext
11636 cat >>conftest.
$ac_ext <<_ACEOF
11637 /* end confdefs.h. */
11647 rm -f conftest.
$ac_objext
11648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11649 (eval $ac_compile) 2>conftest.er1
11651 grep -v '^ *+' conftest.er1
>conftest.err
11653 cat conftest.err
>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); } &&
11656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11658 (eval $ac_try) 2>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); }; } &&
11662 { ac_try
='test -s conftest.$ac_objext'
11663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11664 (eval $ac_try) 2>&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); }; }; then
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.
$ac_ext >&5
11674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11677 if test -n "$ac_declaration"; then
11678 echo '#ifdef __cplusplus' >>confdefs.h
11679 echo $ac_declaration >>confdefs.h
11680 echo '#endif' >>confdefs.h
11684 echo "$as_me: failed program was:" >&5
11685 sed 's/^/| /' conftest.
$ac_ext >&5
11688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11690 ac_cpp
='$CPP $CPPFLAGS'
11691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11698 ac_cpp
='$CPP $CPPFLAGS'
11699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11703 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11704 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11705 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11706 echo $ECHO_N "(cached) $ECHO_C" >&6
11708 cat >conftest.
$ac_ext <<_ACEOF
11711 cat confdefs.h
>>conftest.
$ac_ext
11712 cat >>conftest.
$ac_ext <<_ACEOF
11713 /* end confdefs.h. */
11719 #ifndef __INTEL_COMPILER
11727 rm -f conftest.
$ac_objext
11728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11729 (eval $ac_compile) 2>conftest.er1
11731 grep -v '^ *+' conftest.er1
>conftest.err
11733 cat conftest.err
>&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } &&
11736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11738 (eval $ac_try) 2>&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); }; } &&
11742 { ac_try
='test -s conftest.$ac_objext'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; }; then
11748 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
11750 echo "$as_me: failed program was:" >&5
11751 sed 's/^/| /' conftest.
$ac_ext >&5
11753 bakefile_cv_c_compiler___INTEL_COMPILER
=no
11756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11760 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11761 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11763 ac_cpp
='$CPP $CPPFLAGS'
11764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11768 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11775 if test "x$GCC" != "xyes"; then
11776 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11777 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11778 if test "${wx_cv_c_exto+set}" = set; then
11779 echo $ECHO_N "(cached) $ECHO_C" >&6
11781 cat >conftest.
$ac_ext <<_ACEOF
11784 cat confdefs.h
>>conftest.
$ac_ext
11785 cat >>conftest.
$ac_ext <<_ACEOF
11786 /* end confdefs.h. */
11796 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11798 (eval $ac_compile) 2>&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; then
11802 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11804 conftest.
$ac_ext.o
)
11805 wx_cv_c_exto
="-ext o"
11812 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11813 See \`config.log' for more details." >&5
11814 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11815 See \`config.log' for more details." >&2;}
11816 { (exit 1); exit 1; }; }
11820 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11823 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11824 echo "${ECHO_T}$wx_cv_c_exto" >&6
11825 if test "x$wx_cv_c_exto" '!=' "x"; then
11826 if test "c" = "c"; then
11827 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11829 if test "c" = "cxx"; then
11830 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11834 if test "x$wx_cv_c_exto" '!=' "x"; then
11835 unset ac_cv_prog_cc_g
11836 ac_test_CFLAGS
=${CFLAGS+set}
11837 ac_save_CFLAGS
=$CFLAGS
11839 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11840 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11841 if test "${ac_cv_prog_cc_g+set}" = set; then
11842 echo $ECHO_N "(cached) $ECHO_C" >&6
11844 cat >conftest.
$ac_ext <<_ACEOF
11847 cat confdefs.h
>>conftest.
$ac_ext
11848 cat >>conftest.
$ac_ext <<_ACEOF
11849 /* end confdefs.h. */
11859 rm -f conftest.
$ac_objext
11860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11861 (eval $ac_compile) 2>conftest.er1
11863 grep -v '^ *+' conftest.er1
>conftest.err
11865 cat conftest.err
>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } &&
11868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11870 (eval $ac_try) 2>&5
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); }; } &&
11874 { ac_try
='test -s conftest.$ac_objext'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; }; then
11880 ac_cv_prog_cc_g
=yes
11882 echo "$as_me: failed program was:" >&5
11883 sed 's/^/| /' conftest.
$ac_ext >&5
11887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11889 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11890 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11891 if test "$ac_test_CFLAGS" = set; then
11892 CFLAGS
=$ac_save_CFLAGS
11893 elif test $ac_cv_prog_cc_g = yes; then
11894 if test "$GCC" = yes; then
11900 if test "$GCC" = yes; then
11908 ac_cpp
='$CPP $CPPFLAGS'
11909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11913 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11914 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11915 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11916 echo $ECHO_N "(cached) $ECHO_C" >&6
11918 cat >conftest.
$ac_ext <<_ACEOF
11921 cat confdefs.h
>>conftest.
$ac_ext
11922 cat >>conftest.
$ac_ext <<_ACEOF
11923 /* end confdefs.h. */
11936 rm -f conftest.
$ac_objext
11937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11938 (eval $ac_compile) 2>conftest.er1
11940 grep -v '^ *+' conftest.er1
>conftest.err
11942 cat conftest.err
>&5
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); } &&
11945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11947 (eval $ac_try) 2>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); }; } &&
11951 { ac_try
='test -s conftest.$ac_objext'
11952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11953 (eval $ac_try) 2>&5
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); }; }; then
11957 bakefile_compiler_mwerks
=yes
11959 echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.
$ac_ext >&5
11962 bakefile_compiler_mwerks
=no
11964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11965 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11968 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11969 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11971 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11973 ac_cpp
='$CPP $CPPFLAGS'
11974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11980 ac_cpp
='$CPP $CPPFLAGS'
11981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11985 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11986 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11987 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11988 echo $ECHO_N "(cached) $ECHO_C" >&6
11990 cat >conftest.
$ac_ext <<_ACEOF
11993 cat confdefs.h
>>conftest.
$ac_ext
11994 cat >>conftest.
$ac_ext <<_ACEOF
11995 /* end confdefs.h. */
12008 rm -f conftest.
$ac_objext
12009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12010 (eval $ac_compile) 2>conftest.er1
12012 grep -v '^ *+' conftest.er1
>conftest.err
12014 cat conftest.err
>&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); } &&
12017 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019 (eval $ac_try) 2>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); }; } &&
12023 { ac_try
='test -s conftest.$ac_objext'
12024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12025 (eval $ac_try) 2>&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); }; }; then
12029 wx_compiler_xlc
=yes
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.
$ac_ext >&5
12036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12037 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
12040 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
12041 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
12043 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
12045 ac_cpp
='$CPP $CPPFLAGS'
12046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12054 ac_cpp
='$CPP $CPPFLAGS'
12055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12059 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12060 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12061 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12062 echo $ECHO_N "(cached) $ECHO_C" >&6
12064 cat >conftest.
$ac_ext <<_ACEOF
12067 cat confdefs.h
>>conftest.
$ac_ext
12068 cat >>conftest.
$ac_ext <<_ACEOF
12069 /* end confdefs.h. */
12075 #ifndef _SGI_COMPILER_VERSION
12083 rm -f conftest.
$ac_objext
12084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12085 (eval $ac_compile) 2>conftest.er1
12087 grep -v '^ *+' conftest.er1
>conftest.err
12089 cat conftest.err
>&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); } &&
12092 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12094 (eval $ac_try) 2>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); }; } &&
12098 { ac_try
='test -s conftest.$ac_objext'
12099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12100 (eval $ac_try) 2>&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); }; }; then
12104 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12106 echo "$as_me: failed program was:" >&5
12107 sed 's/^/| /' conftest.
$ac_ext >&5
12109 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12116 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12117 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12119 ac_cpp
='$CPP $CPPFLAGS'
12120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12124 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12134 ac_cpp
='$CPP $CPPFLAGS'
12135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12139 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12140 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12141 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 cat >conftest.
$ac_ext <<_ACEOF
12147 cat confdefs.h
>>conftest.
$ac_ext
12148 cat >>conftest.
$ac_ext <<_ACEOF
12149 /* end confdefs.h. */
12163 rm -f conftest.
$ac_objext
12164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12165 (eval $ac_compile) 2>conftest.er1
12167 grep -v '^ *+' conftest.er1
>conftest.err
12169 cat conftest.err
>&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } &&
12172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12174 (eval $ac_try) 2>&5
12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); }; } &&
12178 { ac_try
='test -s conftest.$ac_objext'
12179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12180 (eval $ac_try) 2>&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); }; }; then
12184 bakefile_cv_c_compiler___SUNPRO_C
=yes
12186 echo "$as_me: failed program was:" >&5
12187 sed 's/^/| /' conftest.
$ac_ext >&5
12189 bakefile_cv_c_compiler___SUNPRO_C
=no
12192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12196 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12197 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12199 ac_cpp
='$CPP $CPPFLAGS'
12200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12204 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12215 ac_cpp
='$CPP $CPPFLAGS'
12216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12219 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12220 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12221 # On Suns, sometimes $CPP names a directory.
12222 if test -n "$CPP" && test -d "$CPP"; then
12225 if test -z "$CPP"; then
12226 if test "${ac_cv_prog_CPP+set}" = set; then
12227 echo $ECHO_N "(cached) $ECHO_C" >&6
12229 # Double quotes because CPP needs to be expanded
12230 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12232 ac_preproc_ok
=false
12233 for ac_c_preproc_warn_flag
in '' yes
12235 # Use a header file that comes with gcc, so configuring glibc
12236 # with a fresh cross-compiler works.
12237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12238 # <limits.h> exists even on freestanding compilers.
12239 # On the NeXT, cc -E runs the code through the compiler's parser,
12240 # not just through cpp. "Syntax error" is here to catch this case.
12241 cat >conftest.
$ac_ext <<_ACEOF
12244 cat confdefs.h
>>conftest.
$ac_ext
12245 cat >>conftest.
$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12248 # include <limits.h>
12250 # include <assert.h>
12254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12255 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12257 grep -v '^ *+' conftest.er1
>conftest.err
12259 cat conftest.err
>&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); } >/dev
/null
; then
12262 if test -s conftest.err
; then
12263 ac_cpp_err
=$ac_c_preproc_warn_flag
12264 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12271 if test -z "$ac_cpp_err"; then
12274 echo "$as_me: failed program was:" >&5
12275 sed 's/^/| /' conftest.
$ac_ext >&5
12277 # Broken: fails on valid input.
12280 rm -f conftest.err conftest.
$ac_ext
12282 # OK, works on sane cases. Now check whether non-existent headers
12283 # can be detected and how.
12284 cat >conftest.
$ac_ext <<_ACEOF
12287 cat confdefs.h
>>conftest.
$ac_ext
12288 cat >>conftest.
$ac_ext <<_ACEOF
12289 /* end confdefs.h. */
12290 #include <ac_nonexistent.h>
12292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12293 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12295 grep -v '^ *+' conftest.er1
>conftest.err
12297 cat conftest.err
>&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); } >/dev
/null
; then
12300 if test -s conftest.err
; then
12301 ac_cpp_err
=$ac_c_preproc_warn_flag
12302 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12309 if test -z "$ac_cpp_err"; then
12310 # Broken: success on invalid input.
12313 echo "$as_me: failed program was:" >&5
12314 sed 's/^/| /' conftest.
$ac_ext >&5
12316 # Passes both tests.
12320 rm -f conftest.err conftest.
$ac_ext
12323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12324 rm -f conftest.err conftest.
$ac_ext
12325 if $ac_preproc_ok; then
12330 ac_cv_prog_CPP
=$CPP
12333 CPP
=$ac_cv_prog_CPP
12335 ac_cv_prog_CPP
=$CPP
12337 echo "$as_me:$LINENO: result: $CPP" >&5
12338 echo "${ECHO_T}$CPP" >&6
12339 ac_preproc_ok
=false
12340 for ac_c_preproc_warn_flag
in '' yes
12342 # Use a header file that comes with gcc, so configuring glibc
12343 # with a fresh cross-compiler works.
12344 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12345 # <limits.h> exists even on freestanding compilers.
12346 # On the NeXT, cc -E runs the code through the compiler's parser,
12347 # not just through cpp. "Syntax error" is here to catch this case.
12348 cat >conftest.
$ac_ext <<_ACEOF
12351 cat confdefs.h
>>conftest.
$ac_ext
12352 cat >>conftest.
$ac_ext <<_ACEOF
12353 /* end confdefs.h. */
12355 # include <limits.h>
12357 # include <assert.h>
12361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12362 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12364 grep -v '^ *+' conftest.er1
>conftest.err
12366 cat conftest.err
>&5
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); } >/dev
/null
; then
12369 if test -s conftest.err
; then
12370 ac_cpp_err
=$ac_c_preproc_warn_flag
12371 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12378 if test -z "$ac_cpp_err"; then
12381 echo "$as_me: failed program was:" >&5
12382 sed 's/^/| /' conftest.
$ac_ext >&5
12384 # Broken: fails on valid input.
12387 rm -f conftest.err conftest.
$ac_ext
12389 # OK, works on sane cases. Now check whether non-existent headers
12390 # can be detected and how.
12391 cat >conftest.
$ac_ext <<_ACEOF
12394 cat confdefs.h
>>conftest.
$ac_ext
12395 cat >>conftest.
$ac_ext <<_ACEOF
12396 /* end confdefs.h. */
12397 #include <ac_nonexistent.h>
12399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12400 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12402 grep -v '^ *+' conftest.er1
>conftest.err
12404 cat conftest.err
>&5
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); } >/dev
/null
; then
12407 if test -s conftest.err
; then
12408 ac_cpp_err
=$ac_c_preproc_warn_flag
12409 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12416 if test -z "$ac_cpp_err"; then
12417 # Broken: success on invalid input.
12420 echo "$as_me: failed program was:" >&5
12421 sed 's/^/| /' conftest.
$ac_ext >&5
12423 # Passes both tests.
12427 rm -f conftest.err conftest.
$ac_ext
12430 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12431 rm -f conftest.err conftest.
$ac_ext
12432 if $ac_preproc_ok; then
12435 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12436 See \`config.log' for more details." >&5
12437 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12438 See \`config.log' for more details." >&2;}
12439 { (exit 1); exit 1; }; }
12443 ac_cpp
='$CPP $CPPFLAGS'
12444 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12445 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12446 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12449 echo "$as_me:$LINENO: checking for egrep" >&5
12450 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12451 if test "${ac_cv_prog_egrep+set}" = set; then
12452 echo $ECHO_N "(cached) $ECHO_C" >&6
12454 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12455 then ac_cv_prog_egrep
='grep -E'
12456 else ac_cv_prog_egrep
='egrep'
12459 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12460 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12461 EGREP
=$ac_cv_prog_egrep
12464 if test $ac_cv_c_compiler_gnu = yes; then
12465 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12466 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12467 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12468 echo $ECHO_N "(cached) $ECHO_C" >&6
12470 ac_pattern
="Autoconf.*'x'"
12471 cat >conftest.
$ac_ext <<_ACEOF
12474 cat confdefs.h
>>conftest.
$ac_ext
12475 cat >>conftest.
$ac_ext <<_ACEOF
12476 /* end confdefs.h. */
12480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12481 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12482 ac_cv_prog_gcc_traditional
=yes
12484 ac_cv_prog_gcc_traditional
=no
12489 if test $ac_cv_prog_gcc_traditional = no
; then
12490 cat >conftest.
$ac_ext <<_ACEOF
12493 cat confdefs.h
>>conftest.
$ac_ext
12494 cat >>conftest.
$ac_ext <<_ACEOF
12495 /* end confdefs.h. */
12496 #include <termio.h>
12499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12500 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12501 ac_cv_prog_gcc_traditional
=yes
12507 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12508 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12509 if test $ac_cv_prog_gcc_traditional = yes; then
12510 CC
="$CC -traditional"
12518 ac_cpp
='$CXXCPP $CPPFLAGS'
12519 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12520 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12521 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12524 CXXFLAGS
=${CXXFLAGS:=}
12528 ac_cpp
='$CXXCPP $CPPFLAGS'
12529 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12530 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12531 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12532 if test -n "$ac_tool_prefix"; then
12533 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12535 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12536 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12537 echo "$as_me:$LINENO: checking for $ac_word" >&5
12538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12539 if test "${ac_cv_prog_CXX+set}" = set; then
12540 echo $ECHO_N "(cached) $ECHO_C" >&6
12542 if test -n "$CXX"; then
12543 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12546 for as_dir
in $PATH
12549 test -z "$as_dir" && as_dir
=.
12550 for ac_exec_ext
in '' $ac_executable_extensions; do
12551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12552 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12561 CXX
=$ac_cv_prog_CXX
12562 if test -n "$CXX"; then
12563 echo "$as_me:$LINENO: result: $CXX" >&5
12564 echo "${ECHO_T}$CXX" >&6
12566 echo "$as_me:$LINENO: result: no" >&5
12567 echo "${ECHO_T}no" >&6
12570 test -n "$CXX" && break
12573 if test -z "$CXX"; then
12575 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12577 # Extract the first word of "$ac_prog", so it can be a program name with args.
12578 set dummy
$ac_prog; ac_word
=$2
12579 echo "$as_me:$LINENO: checking for $ac_word" >&5
12580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12581 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12582 echo $ECHO_N "(cached) $ECHO_C" >&6
12584 if test -n "$ac_ct_CXX"; then
12585 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12588 for as_dir
in $PATH
12591 test -z "$as_dir" && as_dir
=.
12592 for ac_exec_ext
in '' $ac_executable_extensions; do
12593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12594 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12603 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12604 if test -n "$ac_ct_CXX"; then
12605 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12606 echo "${ECHO_T}$ac_ct_CXX" >&6
12608 echo "$as_me:$LINENO: result: no" >&5
12609 echo "${ECHO_T}no" >&6
12612 test -n "$ac_ct_CXX" && break
12614 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12620 # Provide some information about the compiler.
12621 echo "$as_me:$LINENO:" \
12622 "checking for C++ compiler version" >&5
12623 ac_compiler
=`set X $ac_compile; echo $2`
12624 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12625 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628 (exit $ac_status); }
12629 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12630 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }
12634 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12635 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); }
12640 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12641 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12642 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12643 echo $ECHO_N "(cached) $ECHO_C" >&6
12645 cat >conftest.
$ac_ext <<_ACEOF
12648 cat confdefs.h
>>conftest.
$ac_ext
12649 cat >>conftest.
$ac_ext <<_ACEOF
12650 /* end confdefs.h. */
12663 rm -f conftest.
$ac_objext
12664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12665 (eval $ac_compile) 2>conftest.er1
12667 grep -v '^ *+' conftest.er1
>conftest.err
12669 cat conftest.err
>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } &&
12672 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12674 (eval $ac_try) 2>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); }; } &&
12678 { ac_try
='test -s conftest.$ac_objext'
12679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12680 (eval $ac_try) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; }; then
12684 ac_compiler_gnu
=yes
12686 echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.
$ac_ext >&5
12691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12692 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12695 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12696 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12697 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12698 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12699 ac_save_CXXFLAGS
=$CXXFLAGS
12701 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12702 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12703 if test "${ac_cv_prog_cxx_g+set}" = set; then
12704 echo $ECHO_N "(cached) $ECHO_C" >&6
12706 cat >conftest.
$ac_ext <<_ACEOF
12709 cat confdefs.h
>>conftest.
$ac_ext
12710 cat >>conftest.
$ac_ext <<_ACEOF
12711 /* end confdefs.h. */
12721 rm -f conftest.
$ac_objext
12722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12723 (eval $ac_compile) 2>conftest.er1
12725 grep -v '^ *+' conftest.er1
>conftest.err
12727 cat conftest.err
>&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); } &&
12730 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12732 (eval $ac_try) 2>&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); }; } &&
12736 { ac_try
='test -s conftest.$ac_objext'
12737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12738 (eval $ac_try) 2>&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); }; }; then
12742 ac_cv_prog_cxx_g
=yes
12744 echo "$as_me: failed program was:" >&5
12745 sed 's/^/| /' conftest.
$ac_ext >&5
12747 ac_cv_prog_cxx_g
=no
12749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12751 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12752 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12753 if test "$ac_test_CXXFLAGS" = set; then
12754 CXXFLAGS
=$ac_save_CXXFLAGS
12755 elif test $ac_cv_prog_cxx_g = yes; then
12756 if test "$GXX" = yes; then
12762 if test "$GXX" = yes; then
12768 for ac_declaration
in \
12770 'extern "C" void std::exit (int) throw (); using std::exit;' \
12771 'extern "C" void std::exit (int); using std::exit;' \
12772 'extern "C" void exit (int) throw ();' \
12773 'extern "C" void exit (int);' \
12776 cat >conftest.
$ac_ext <<_ACEOF
12779 cat confdefs.h
>>conftest.
$ac_ext
12780 cat >>conftest.
$ac_ext <<_ACEOF
12781 /* end confdefs.h. */
12783 #include <stdlib.h>
12792 rm -f conftest.
$ac_objext
12793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12794 (eval $ac_compile) 2>conftest.er1
12796 grep -v '^ *+' conftest.er1
>conftest.err
12798 cat conftest.err
>&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); } &&
12801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 (eval $ac_try) 2>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; } &&
12807 { ac_try
='test -s conftest.$ac_objext'
12808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12809 (eval $ac_try) 2>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); }; }; then
12815 echo "$as_me: failed program was:" >&5
12816 sed 's/^/| /' conftest.
$ac_ext >&5
12820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12821 cat >conftest.
$ac_ext <<_ACEOF
12824 cat confdefs.h
>>conftest.
$ac_ext
12825 cat >>conftest.
$ac_ext <<_ACEOF
12826 /* end confdefs.h. */
12836 rm -f conftest.
$ac_objext
12837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12838 (eval $ac_compile) 2>conftest.er1
12840 grep -v '^ *+' conftest.er1
>conftest.err
12842 cat conftest.err
>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } &&
12845 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; } &&
12851 { ac_try
='test -s conftest.$ac_objext'
12852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12853 (eval $ac_try) 2>&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); }; }; then
12859 echo "$as_me: failed program was:" >&5
12860 sed 's/^/| /' conftest.
$ac_ext >&5
12863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12866 if test -n "$ac_declaration"; then
12867 echo '#ifdef __cplusplus' >>confdefs.h
12868 echo $ac_declaration >>confdefs.h
12869 echo '#endif' >>confdefs.h
12873 ac_cpp
='$CXXCPP $CPPFLAGS'
12874 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12875 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12876 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12881 ac_cpp
='$CXXCPP $CPPFLAGS'
12882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12886 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
12887 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
12888 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
12889 echo $ECHO_N "(cached) $ECHO_C" >&6
12891 cat >conftest.
$ac_ext <<_ACEOF
12894 cat confdefs.h
>>conftest.
$ac_ext
12895 cat >>conftest.
$ac_ext <<_ACEOF
12896 /* end confdefs.h. */
12902 #ifndef __INTEL_COMPILER
12910 rm -f conftest.
$ac_objext
12911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12912 (eval $ac_compile) 2>conftest.er1
12914 grep -v '^ *+' conftest.er1
>conftest.err
12916 cat conftest.err
>&5
12917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); } &&
12919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12921 (eval $ac_try) 2>&5
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); }; } &&
12925 { ac_try
='test -s conftest.$ac_objext'
12926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12927 (eval $ac_try) 2>&5
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); }; }; then
12931 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
12933 echo "$as_me: failed program was:" >&5
12934 sed 's/^/| /' conftest.
$ac_ext >&5
12936 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
12939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12943 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
12944 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
12946 ac_cpp
='$CXXCPP $CPPFLAGS'
12947 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12948 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12949 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12951 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
12958 if test "x$GXX" != "xyes"; then
12959 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12960 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12961 if test "${wx_cv_cxx_exto+set}" = set; then
12962 echo $ECHO_N "(cached) $ECHO_C" >&6
12964 cat >conftest.
$ac_ext <<_ACEOF
12967 cat confdefs.h
>>conftest.
$ac_ext
12968 cat >>conftest.
$ac_ext <<_ACEOF
12969 /* end confdefs.h. */
12979 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12981 (eval $ac_compile) 2>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; then
12985 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12987 conftest.
$ac_ext.o
)
12988 wx_cv_cxx_exto
="-ext o"
12995 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12996 See \`config.log' for more details." >&5
12997 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12998 See \`config.log' for more details." >&2;}
12999 { (exit 1); exit 1; }; }
13003 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13006 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
13007 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
13008 if test "x$wx_cv_cxx_exto" '!=' "x"; then
13009 if test "cxx" = "c"; then
13010 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
13012 if test "cxx" = "cxx"; then
13013 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
13017 if test "x$wx_cv_cxx_exto" '!=' "x"; then
13018 unset ac_cv_prog_cxx_g
13019 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13020 ac_save_CXXFLAGS
=$CXXFLAGS
13022 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13023 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13024 if test "${ac_cv_prog_cxx_g+set}" = set; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13027 cat >conftest.
$ac_ext <<_ACEOF
13030 cat confdefs.h
>>conftest.
$ac_ext
13031 cat >>conftest.
$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13042 rm -f conftest.
$ac_objext
13043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13044 (eval $ac_compile) 2>conftest.er1
13046 grep -v '^ *+' conftest.er1
>conftest.err
13048 cat conftest.err
>&5
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); } &&
13051 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13053 (eval $ac_try) 2>&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); }; } &&
13057 { ac_try
='test -s conftest.$ac_objext'
13058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13059 (eval $ac_try) 2>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); }; }; then
13063 ac_cv_prog_cxx_g
=yes
13065 echo "$as_me: failed program was:" >&5
13066 sed 's/^/| /' conftest.
$ac_ext >&5
13068 ac_cv_prog_cxx_g
=no
13070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13072 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13073 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13074 if test "$ac_test_CXXFLAGS" = set; then
13075 CXXFLAGS
=$ac_save_CXXFLAGS
13076 elif test $ac_cv_prog_cxx_g = yes; then
13077 if test "$GXX" = yes; then
13083 if test "$GXX" = yes; then
13091 ac_cpp
='$CXXCPP $CPPFLAGS'
13092 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13093 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13094 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13096 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13097 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13098 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13099 echo $ECHO_N "(cached) $ECHO_C" >&6
13101 cat >conftest.
$ac_ext <<_ACEOF
13104 cat confdefs.h
>>conftest.
$ac_ext
13105 cat >>conftest.
$ac_ext <<_ACEOF
13106 /* end confdefs.h. */
13119 rm -f conftest.
$ac_objext
13120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13121 (eval $ac_compile) 2>conftest.er1
13123 grep -v '^ *+' conftest.er1
>conftest.err
13125 cat conftest.err
>&5
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); } &&
13128 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13130 (eval $ac_try) 2>&5
13132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 (exit $ac_status); }; } &&
13134 { ac_try
='test -s conftest.$ac_objext'
13135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13136 (eval $ac_try) 2>&5
13138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 (exit $ac_status); }; }; then
13140 bakefile_compiler_mwerks
=yes
13142 echo "$as_me: failed program was:" >&5
13143 sed 's/^/| /' conftest.
$ac_ext >&5
13145 bakefile_compiler_mwerks
=no
13147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13148 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13151 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13152 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13154 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13156 ac_cpp
='$CXXCPP $CPPFLAGS'
13157 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13158 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13159 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13163 ac_cpp
='$CXXCPP $CPPFLAGS'
13164 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13165 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13166 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13168 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13169 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13170 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13173 cat >conftest.
$ac_ext <<_ACEOF
13176 cat confdefs.h
>>conftest.
$ac_ext
13177 cat >>conftest.
$ac_ext <<_ACEOF
13178 /* end confdefs.h. */
13191 rm -f conftest.
$ac_objext
13192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13193 (eval $ac_compile) 2>conftest.er1
13195 grep -v '^ *+' conftest.er1
>conftest.err
13197 cat conftest.err
>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); } &&
13200 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13202 (eval $ac_try) 2>&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); }; } &&
13206 { ac_try
='test -s conftest.$ac_objext'
13207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13208 (eval $ac_try) 2>&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); }; }; then
13212 wx_compiler_xlc
=yes
13214 echo "$as_me: failed program was:" >&5
13215 sed 's/^/| /' conftest.
$ac_ext >&5
13219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13220 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
13223 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
13224 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
13226 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
13228 ac_cpp
='$CXXCPP $CPPFLAGS'
13229 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13230 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13231 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13237 ac_cpp
='$CXXCPP $CPPFLAGS'
13238 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13239 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13240 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13242 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13243 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13244 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13245 echo $ECHO_N "(cached) $ECHO_C" >&6
13247 cat >conftest.
$ac_ext <<_ACEOF
13250 cat confdefs.h
>>conftest.
$ac_ext
13251 cat >>conftest.
$ac_ext <<_ACEOF
13252 /* end confdefs.h. */
13258 #ifndef _SGI_COMPILER_VERSION
13266 rm -f conftest.
$ac_objext
13267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13268 (eval $ac_compile) 2>conftest.er1
13270 grep -v '^ *+' conftest.er1
>conftest.err
13272 cat conftest.err
>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); } &&
13275 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 (eval $ac_try) 2>&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }; } &&
13281 { ac_try
='test -s conftest.$ac_objext'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; }; then
13287 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.
$ac_ext >&5
13292 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13299 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13300 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13302 ac_cpp
='$CXXCPP $CPPFLAGS'
13303 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13304 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13305 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13307 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13317 ac_cpp
='$CXXCPP $CPPFLAGS'
13318 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13319 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13320 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13322 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
13323 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
13324 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
13325 echo $ECHO_N "(cached) $ECHO_C" >&6
13327 cat >conftest.
$ac_ext <<_ACEOF
13330 cat confdefs.h
>>conftest.
$ac_ext
13331 cat >>conftest.
$ac_ext <<_ACEOF
13332 /* end confdefs.h. */
13338 #ifndef __SUNPRO_CC
13346 rm -f conftest.
$ac_objext
13347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13348 (eval $ac_compile) 2>conftest.er1
13350 grep -v '^ *+' conftest.er1
>conftest.err
13352 cat conftest.err
>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); } &&
13355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13357 (eval $ac_try) 2>&5
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); }; } &&
13361 { ac_try
='test -s conftest.$ac_objext'
13362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 (eval $ac_try) 2>&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; }; then
13367 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
13369 echo "$as_me: failed program was:" >&5
13370 sed 's/^/| /' conftest.
$ac_ext >&5
13372 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
13375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13379 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13380 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13382 ac_cpp
='$CXXCPP $CPPFLAGS'
13383 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13384 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13385 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13387 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13398 ac_cpp
='$CPP $CPPFLAGS'
13399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13404 if test -n "$ac_tool_prefix"; then
13405 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13406 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
13407 echo "$as_me:$LINENO: checking for $ac_word" >&5
13408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13409 if test "${ac_cv_prog_RANLIB+set}" = set; then
13410 echo $ECHO_N "(cached) $ECHO_C" >&6
13412 if test -n "$RANLIB"; then
13413 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
13415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13416 for as_dir
in $PATH
13419 test -z "$as_dir" && as_dir
=.
13420 for ac_exec_ext
in '' $ac_executable_extensions; do
13421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13422 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
13423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13431 RANLIB
=$ac_cv_prog_RANLIB
13432 if test -n "$RANLIB"; then
13433 echo "$as_me:$LINENO: result: $RANLIB" >&5
13434 echo "${ECHO_T}$RANLIB" >&6
13436 echo "$as_me:$LINENO: result: no" >&5
13437 echo "${ECHO_T}no" >&6
13441 if test -z "$ac_cv_prog_RANLIB"; then
13442 ac_ct_RANLIB
=$RANLIB
13443 # Extract the first word of "ranlib", so it can be a program name with args.
13444 set dummy ranlib
; ac_word
=$2
13445 echo "$as_me:$LINENO: checking for $ac_word" >&5
13446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13447 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13448 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 if test -n "$ac_ct_RANLIB"; then
13451 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
13453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13454 for as_dir
in $PATH
13457 test -z "$as_dir" && as_dir
=.
13458 for ac_exec_ext
in '' $ac_executable_extensions; do
13459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13460 ac_cv_prog_ac_ct_RANLIB
="ranlib"
13461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13467 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
13470 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
13471 if test -n "$ac_ct_RANLIB"; then
13472 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13473 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13475 echo "$as_me:$LINENO: result: no" >&5
13476 echo "${ECHO_T}no" >&6
13479 RANLIB
=$ac_ct_RANLIB
13481 RANLIB
="$ac_cv_prog_RANLIB"
13485 if test -n "$ac_tool_prefix"; then
13486 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13487 set dummy
${ac_tool_prefix}ar; ac_word
=$2
13488 echo "$as_me:$LINENO: checking for $ac_word" >&5
13489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13490 if test "${ac_cv_prog_AR+set}" = set; then
13491 echo $ECHO_N "(cached) $ECHO_C" >&6
13493 if test -n "$AR"; then
13494 ac_cv_prog_AR
="$AR" # Let the user override the test.
13496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13497 for as_dir
in $PATH
13500 test -z "$as_dir" && as_dir
=.
13501 for ac_exec_ext
in '' $ac_executable_extensions; do
13502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13503 ac_cv_prog_AR
="${ac_tool_prefix}ar"
13504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13513 if test -n "$AR"; then
13514 echo "$as_me:$LINENO: result: $AR" >&5
13515 echo "${ECHO_T}$AR" >&6
13517 echo "$as_me:$LINENO: result: no" >&5
13518 echo "${ECHO_T}no" >&6
13522 if test -z "$ac_cv_prog_AR"; then
13524 # Extract the first word of "ar", so it can be a program name with args.
13525 set dummy
ar; ac_word
=$2
13526 echo "$as_me:$LINENO: checking for $ac_word" >&5
13527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13528 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13529 echo $ECHO_N "(cached) $ECHO_C" >&6
13531 if test -n "$ac_ct_AR"; then
13532 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
13534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13535 for as_dir
in $PATH
13538 test -z "$as_dir" && as_dir
=.
13539 for ac_exec_ext
in '' $ac_executable_extensions; do
13540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13541 ac_cv_prog_ac_ct_AR
="ar"
13542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13550 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
13551 if test -n "$ac_ct_AR"; then
13552 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13553 echo "${ECHO_T}$ac_ct_AR" >&6
13555 echo "$as_me:$LINENO: result: no" >&5
13556 echo "${ECHO_T}no" >&6
13561 AR
="$ac_cv_prog_AR"
13564 if test "x$AR" = "x" ; then
13565 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13566 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13567 { (exit 1); exit 1; }; }
13570 # Find a good install program. We prefer a C program (faster),
13571 # so one script is as good as another. But avoid the broken or
13572 # incompatible versions:
13573 # SysV /etc/install, /usr/sbin/install
13574 # SunOS /usr/etc/install
13575 # IRIX /sbin/install
13577 # AmigaOS /C/install, which installs bootblocks on floppy discs
13578 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13579 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13580 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13581 # OS/2's system install, which has a completely different semantic
13582 # ./install, which can be erroneously created by make from ./install.sh.
13583 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13584 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13585 if test -z "$INSTALL"; then
13586 if test "${ac_cv_path_install+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13590 for as_dir
in $PATH
13593 test -z "$as_dir" && as_dir
=.
13594 # Account for people who put trailing slashes in PATH elements.
13596 .
/ | .
// | /cC
/* | \
13597 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13598 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13601 # OSF1 and SCO ODT 3.0 have their own names for install.
13602 # Don't use installbsd from OSF since it installs stuff as root
13604 for ac_prog
in ginstall scoinst
install; do
13605 for ac_exec_ext
in '' $ac_executable_extensions; do
13606 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13607 if test $ac_prog = install &&
13608 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13609 # AIX install. It has an incompatible calling convention.
13611 elif test $ac_prog = install &&
13612 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13613 # program-specific install script used by HP pwplus--don't use.
13616 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13628 if test "${ac_cv_path_install+set}" = set; then
13629 INSTALL
=$ac_cv_path_install
13631 # As a last resort, use the slow shell script. We don't cache a
13632 # path for INSTALL within a source directory, because that will
13633 # break other packages using the cache if that directory is
13634 # removed, or if the path is relative.
13635 INSTALL
=$ac_install_sh
13638 echo "$as_me:$LINENO: result: $INSTALL" >&5
13639 echo "${ECHO_T}$INSTALL" >&6
13641 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13642 # It thinks the first close brace ends the variable substitution.
13643 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13645 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13647 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13653 ?
:* ) # Drive letter, considered as absolute.
13656 INSTALL
=`pwd`/${INSTALL} ;;
13663 INSTALL_PROGRAM
="cp -fp"
13664 INSTALL_DATA
="cp -fp"
13670 if test -n "$ac_tool_prefix"; then
13671 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13672 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
13673 echo "$as_me:$LINENO: checking for $ac_word" >&5
13674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13675 if test "${ac_cv_prog_STRIP+set}" = set; then
13676 echo $ECHO_N "(cached) $ECHO_C" >&6
13678 if test -n "$STRIP"; then
13679 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13682 for as_dir
in $PATH
13685 test -z "$as_dir" && as_dir
=.
13686 for ac_exec_ext
in '' $ac_executable_extensions; do
13687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13688 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
13689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13697 STRIP
=$ac_cv_prog_STRIP
13698 if test -n "$STRIP"; then
13699 echo "$as_me:$LINENO: result: $STRIP" >&5
13700 echo "${ECHO_T}$STRIP" >&6
13702 echo "$as_me:$LINENO: result: no" >&5
13703 echo "${ECHO_T}no" >&6
13707 if test -z "$ac_cv_prog_STRIP"; then
13709 # Extract the first word of "strip", so it can be a program name with args.
13710 set dummy strip
; ac_word
=$2
13711 echo "$as_me:$LINENO: checking for $ac_word" >&5
13712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13713 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
13714 echo $ECHO_N "(cached) $ECHO_C" >&6
13716 if test -n "$ac_ct_STRIP"; then
13717 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
13719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13720 for as_dir
in $PATH
13723 test -z "$as_dir" && as_dir
=.
13724 for ac_exec_ext
in '' $ac_executable_extensions; do
13725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13726 ac_cv_prog_ac_ct_STRIP
="strip"
13727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13733 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
13736 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
13737 if test -n "$ac_ct_STRIP"; then
13738 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
13739 echo "${ECHO_T}$ac_ct_STRIP" >&6
13741 echo "$as_me:$LINENO: result: no" >&5
13742 echo "${ECHO_T}no" >&6
13747 STRIP
="$ac_cv_prog_STRIP"
13751 if test "$wxUSE_WINE" = "yes"; then
13752 if test -n "$ac_tool_prefix"; then
13753 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
13754 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
13755 echo "$as_me:$LINENO: checking for $ac_word" >&5
13756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13757 if test "${ac_cv_prog_RESCOMP+set}" = set; then
13758 echo $ECHO_N "(cached) $ECHO_C" >&6
13760 if test -n "$RESCOMP"; then
13761 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13764 for as_dir
in $PATH
13767 test -z "$as_dir" && as_dir
=.
13768 for ac_exec_ext
in '' $ac_executable_extensions; do
13769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13770 ac_cv_prog_RESCOMP
="${ac_tool_prefix}wrc"
13771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13779 RESCOMP
=$ac_cv_prog_RESCOMP
13780 if test -n "$RESCOMP"; then
13781 echo "$as_me:$LINENO: result: $RESCOMP" >&5
13782 echo "${ECHO_T}$RESCOMP" >&6
13784 echo "$as_me:$LINENO: result: no" >&5
13785 echo "${ECHO_T}no" >&6
13789 if test -z "$ac_cv_prog_RESCOMP"; then
13790 ac_ct_RESCOMP
=$RESCOMP
13791 # Extract the first word of "wrc", so it can be a program name with args.
13792 set dummy wrc
; ac_word
=$2
13793 echo "$as_me:$LINENO: checking for $ac_word" >&5
13794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13795 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13798 if test -n "$ac_ct_RESCOMP"; then
13799 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
13801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13802 for as_dir
in $PATH
13805 test -z "$as_dir" && as_dir
=.
13806 for ac_exec_ext
in '' $ac_executable_extensions; do
13807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13808 ac_cv_prog_ac_ct_RESCOMP
="wrc"
13809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13817 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
13818 if test -n "$ac_ct_RESCOMP"; then
13819 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
13820 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
13822 echo "$as_me:$LINENO: result: no" >&5
13823 echo "${ECHO_T}no" >&6
13826 RESCOMP
=$ac_ct_RESCOMP
13828 RESCOMP
="$ac_cv_prog_RESCOMP"
13833 *-*-cygwin* | *-*-mingw32* )
13834 if test -n "$ac_tool_prefix"; then
13835 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13836 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
13837 echo "$as_me:$LINENO: checking for $ac_word" >&5
13838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13839 if test "${ac_cv_prog_RESCOMP+set}" = set; then
13840 echo $ECHO_N "(cached) $ECHO_C" >&6
13842 if test -n "$RESCOMP"; then
13843 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13846 for as_dir
in $PATH
13849 test -z "$as_dir" && as_dir
=.
13850 for ac_exec_ext
in '' $ac_executable_extensions; do
13851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13852 ac_cv_prog_RESCOMP
="${ac_tool_prefix}windres"
13853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13861 RESCOMP
=$ac_cv_prog_RESCOMP
13862 if test -n "$RESCOMP"; then
13863 echo "$as_me:$LINENO: result: $RESCOMP" >&5
13864 echo "${ECHO_T}$RESCOMP" >&6
13866 echo "$as_me:$LINENO: result: no" >&5
13867 echo "${ECHO_T}no" >&6
13871 if test -z "$ac_cv_prog_RESCOMP"; then
13872 ac_ct_RESCOMP
=$RESCOMP
13873 # Extract the first word of "windres", so it can be a program name with args.
13874 set dummy windres
; ac_word
=$2
13875 echo "$as_me:$LINENO: checking for $ac_word" >&5
13876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13877 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
13878 echo $ECHO_N "(cached) $ECHO_C" >&6
13880 if test -n "$ac_ct_RESCOMP"; then
13881 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
13883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13884 for as_dir
in $PATH
13887 test -z "$as_dir" && as_dir
=.
13888 for ac_exec_ext
in '' $ac_executable_extensions; do
13889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13890 ac_cv_prog_ac_ct_RESCOMP
="windres"
13891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13899 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
13900 if test -n "$ac_ct_RESCOMP"; then
13901 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
13902 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
13904 echo "$as_me:$LINENO: result: no" >&5
13905 echo "${ECHO_T}no" >&6
13908 RESCOMP
=$ac_ct_RESCOMP
13910 RESCOMP
="$ac_cv_prog_RESCOMP"
13913 if test -n "$ac_tool_prefix"; then
13914 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13915 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13916 echo "$as_me:$LINENO: checking for $ac_word" >&5
13917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13918 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13921 if test -n "$DLLTOOL"; then
13922 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13925 for as_dir
in $PATH
13928 test -z "$as_dir" && as_dir
=.
13929 for ac_exec_ext
in '' $ac_executable_extensions; do
13930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13931 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13940 DLLTOOL
=$ac_cv_prog_DLLTOOL
13941 if test -n "$DLLTOOL"; then
13942 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13943 echo "${ECHO_T}$DLLTOOL" >&6
13945 echo "$as_me:$LINENO: result: no" >&5
13946 echo "${ECHO_T}no" >&6
13950 if test -z "$ac_cv_prog_DLLTOOL"; then
13951 ac_ct_DLLTOOL
=$DLLTOOL
13952 # Extract the first word of "dlltool", so it can be a program name with args.
13953 set dummy dlltool
; ac_word
=$2
13954 echo "$as_me:$LINENO: checking for $ac_word" >&5
13955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13956 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13957 echo $ECHO_N "(cached) $ECHO_C" >&6
13959 if test -n "$ac_ct_DLLTOOL"; then
13960 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13963 for as_dir
in $PATH
13966 test -z "$as_dir" && as_dir
=.
13967 for ac_exec_ext
in '' $ac_executable_extensions; do
13968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13969 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13978 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13979 if test -n "$ac_ct_DLLTOOL"; then
13980 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13981 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13983 echo "$as_me:$LINENO: result: no" >&5
13984 echo "${ECHO_T}no" >&6
13987 DLLTOOL
=$ac_ct_DLLTOOL
13989 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13996 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13997 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13998 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13999 echo $ECHO_N "(cached) $ECHO_C" >&6
14002 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14003 egrep -s GNU
> /dev
/null
); then
14004 wx_cv_prog_makeisgnu
="yes"
14006 wx_cv_prog_makeisgnu
="no"
14010 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14011 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14013 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14021 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14022 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14023 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14024 if test "${wx_cv_prog_makevpath+set}" = set; then
14025 echo $ECHO_N "(cached) $ECHO_C" >&6
14028 cat - << EOF > confMake
14034 if test ! -d sub
; then
14037 echo dummy
> sub
/file
14038 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14040 rm -f sub
/file check final_file confMake
14042 if test "$RESULT" = 0; then
14043 wx_cv_prog_makevpath
="yes"
14045 wx_cv_prog_makevpath
="no"
14049 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14050 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14052 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14053 { { echo "$as_me:$LINENO: error:
14054 You need a make-utility that is able to use the variable
14056 If your version of make does not support VPATH correctly,
14057 please install GNU-make (possibly as gmake), and start
14058 configure with the following command:
14059 export MAKE=gmake; ./configure for sh-type shells
14060 setenv MAKE gmake; ./configure for csh-type shells
14061 Also please do remember to use gmake in this case every time
14062 you are trying to compile.
14064 echo "$as_me: error:
14065 You need a make-utility that is able to use the variable
14067 If your version of make does not support VPATH correctly,
14068 please install GNU-make (possibly as gmake), and start
14069 configure with the following command:
14070 export MAKE=gmake; ./configure for sh-type shells
14071 setenv MAKE gmake; ./configure for csh-type shells
14072 Also please do remember to use gmake in this case every time
14073 you are trying to compile.
14075 { (exit 1); exit 1; }; }
14077 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14078 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14080 if test "$LN_S" = "ln -s"; then
14081 echo "$as_me:$LINENO: result: yes" >&5
14082 echo "${ECHO_T}yes" >&6
14084 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14085 echo "${ECHO_T}no, using $LN_S" >&6
14090 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14091 CXXFLAGS
="$CXXFLAGS -qunique"
14095 powerpc
-*-darwin* )
14096 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14097 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14098 cat >conftest.
$ac_ext <<_ACEOF
14101 cat confdefs.h
>>conftest.
$ac_ext
14102 cat >>conftest.
$ac_ext <<_ACEOF
14103 /* end confdefs.h. */
14108 #ifndef __POWERPC__
14109 choke me for lack of PowerPC
14116 rm -f conftest.
$ac_objext
14117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14118 (eval $ac_compile) 2>conftest.er1
14120 grep -v '^ *+' conftest.er1
>conftest.err
14122 cat conftest.err
>&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); } &&
14125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14127 (eval $ac_try) 2>&5
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; } &&
14131 { ac_try
='test -s conftest.$ac_objext'
14132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14133 (eval $ac_try) 2>&5
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); }; }; then
14137 echo "$as_me:$LINENO: result: yes" >&5
14138 echo "${ECHO_T}yes" >&6
14140 echo "$as_me: failed program was:" >&5
14141 sed 's/^/| /' conftest.
$ac_ext >&5
14143 echo "$as_me:$LINENO: result: no" >&5
14144 echo "${ECHO_T}no" >&6
14145 cat >>confdefs.h
<<\_ACEOF
14146 #define __POWERPC__ 1
14151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14157 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14158 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14159 cat >conftest.
$ac_ext <<_ACEOF
14162 cat confdefs.h
>>conftest.
$ac_ext
14163 cat >>conftest.
$ac_ext <<_ACEOF
14164 /* end confdefs.h. */
14165 #include <CoreFoundation/CFBase.h>
14175 rm -f conftest.
$ac_objext
14176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14177 (eval $ac_compile) 2>conftest.er1
14179 grep -v '^ *+' conftest.er1
>conftest.err
14181 cat conftest.err
>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); } &&
14184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14186 (eval $ac_try) 2>&5
14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 (exit $ac_status); }; } &&
14190 { ac_try
='test -s conftest.$ac_objext'
14191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14192 (eval $ac_try) 2>&5
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); }; }; then
14196 echo "$as_me:$LINENO: result: yes" >&5
14197 echo "${ECHO_T}yes" >&6
14199 echo "$as_me: failed program was:" >&5
14200 sed 's/^/| /' conftest.
$ac_ext >&5
14202 echo "$as_me:$LINENO: result: no" >&5
14203 echo "${ECHO_T}no" >&6
14204 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14205 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14206 cat >conftest.
$ac_ext <<_ACEOF
14209 cat confdefs.h
>>conftest.
$ac_ext
14210 cat >>conftest.
$ac_ext <<_ACEOF
14211 /* end confdefs.h. */
14212 #define __CF_USE_FRAMEWORK_INCLUDES__
14213 #include <CoreFoundation/CFBase.h>
14223 rm -f conftest.
$ac_objext
14224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14225 (eval $ac_compile) 2>conftest.er1
14227 grep -v '^ *+' conftest.er1
>conftest.err
14229 cat conftest.err
>&5
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); } &&
14232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; } &&
14238 { ac_try
='test -s conftest.$ac_objext'
14239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14240 (eval $ac_try) 2>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); }; }; then
14244 echo "$as_me:$LINENO: result: yes" >&5
14245 echo "${ECHO_T}yes" >&6
14246 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14248 echo "$as_me: failed program was:" >&5
14249 sed 's/^/| /' conftest.
$ac_ext >&5
14251 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14252 See \`config.log' for more details." >&5
14253 echo "$as_me: error: no. CoreFoundation not available.
14254 See \`config.log' for more details." >&2;}
14255 { (exit 1); exit 1; }; }
14258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14267 *-pc-os2_emx | *-pc-os2-emx )
14268 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14269 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14270 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14271 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14272 echo $ECHO_N "(cached) $ECHO_C" >&6
14274 ac_check_lib_save_LIBS
=$LIBS
14275 LIBS
="-lcExt $LIBS"
14276 cat >conftest.
$ac_ext <<_ACEOF
14279 cat confdefs.h
>>conftest.
$ac_ext
14280 cat >>conftest.
$ac_ext <<_ACEOF
14281 /* end confdefs.h. */
14283 /* Override any gcc2 internal prototype to avoid an error. */
14287 /* We use char because int might match the return type of a gcc2
14288 builtin and then its argument prototype would still apply. */
14298 rm -f conftest.
$ac_objext conftest
$ac_exeext
14299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14300 (eval $ac_link) 2>conftest.er1
14302 grep -v '^ *+' conftest.er1
>conftest.err
14304 cat conftest.err
>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); } &&
14307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309 (eval $ac_try) 2>&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); }; } &&
14313 { ac_try
='test -s conftest$ac_exeext'
14314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14315 (eval $ac_try) 2>&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); }; }; then
14319 ac_cv_lib_cExt_drand48
=yes
14321 echo "$as_me: failed program was:" >&5
14322 sed 's/^/| /' conftest.
$ac_ext >&5
14324 ac_cv_lib_cExt_drand48
=no
14326 rm -f conftest.err conftest.
$ac_objext \
14327 conftest
$ac_exeext conftest.
$ac_ext
14328 LIBS
=$ac_check_lib_save_LIBS
14330 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
14331 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
14332 if test $ac_cv_lib_cExt_drand48 = yes; then
14333 LIBS
="$LIBS -lcExt"
14337 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
14339 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
14340 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
14341 if test "${wx_cv_gccversion+set}" = set; then
14342 echo $ECHO_N "(cached) $ECHO_C" >&6
14345 if test "$cross_compiling" = yes; then
14346 wx_cv_gccversion
="EMX2"
14349 cat >conftest.
$ac_ext <<_ACEOF
14352 cat confdefs.h
>>conftest.
$ac_ext
14353 cat >>conftest.
$ac_ext <<_ACEOF
14354 /* end confdefs.h. */
14360 FILE *f=fopen("conftestval", "w");
14365 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
14367 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
14377 rm -f conftest
$ac_exeext
14378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14379 (eval $ac_link) 2>&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; }; then
14388 wx_cv_gccversion
=`cat conftestval`
14390 echo "$as_me: program exited with status $ac_status" >&5
14391 echo "$as_me: failed program was:" >&5
14392 sed 's/^/| /' conftest.
$ac_ext >&5
14394 ( exit $ac_status )
14395 wx_cv_gccversion
="EMX2"
14397 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14401 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
14402 echo "${ECHO_T}$wx_cv_gccversion" >&6
14403 if test "$wx_cv_gccversion" = "EMX2"; then
14404 LIBS
="$LIBS -lstdcpp"
14405 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14407 if test "$wx_cv_gccversion" = "EMX3"; then
14408 LIBS
="$LIBS -lstdcxx -lgcc"
14409 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14411 LIBS
="$LIBS -lstdc++"
14414 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
14415 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
14416 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
14426 ac_cpp
='$CXXCPP $CPPFLAGS'
14427 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14428 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14429 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14432 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
14433 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
14434 if test "${ac_cv_string_strcasecmp+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14438 cat >conftest.
$ac_ext <<_ACEOF
14441 cat confdefs.h
>>conftest.
$ac_ext
14442 cat >>conftest.
$ac_ext <<_ACEOF
14443 /* end confdefs.h. */
14445 #include <string.h>
14451 strcasecmp("foo", "bar");
14457 rm -f conftest.
$ac_objext conftest
$ac_exeext
14458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14459 (eval $ac_link) 2>conftest.er1
14461 grep -v '^ *+' conftest.er1
>conftest.err
14463 cat conftest.err
>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } &&
14466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14468 (eval $ac_try) 2>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; } &&
14472 { ac_try
='test -s conftest$ac_exeext'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; }; then
14478 ac_cv_string_strcasecmp
=yes
14480 echo "$as_me: failed program was:" >&5
14481 sed 's/^/| /' conftest.
$ac_ext >&5
14483 ac_cv_string_strcasecmp
=no
14486 rm -f conftest.err conftest.
$ac_objext \
14487 conftest
$ac_exeext conftest.
$ac_ext
14490 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
14491 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
14493 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
14494 cat >>confdefs.h
<<\_ACEOF
14495 #define HAVE_STRCASECMP_IN_STRING_H 1
14499 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
14500 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
14501 if test "${ac_cv_strings_strcasecmp+set}" = set; then
14502 echo $ECHO_N "(cached) $ECHO_C" >&6
14505 cat >conftest.
$ac_ext <<_ACEOF
14508 cat confdefs.h
>>conftest.
$ac_ext
14509 cat >>conftest.
$ac_ext <<_ACEOF
14510 /* end confdefs.h. */
14512 #include <strings.h>
14518 strcasecmp("foo", "bar");
14524 rm -f conftest.
$ac_objext conftest
$ac_exeext
14525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14526 (eval $ac_link) 2>conftest.er1
14528 grep -v '^ *+' conftest.er1
>conftest.err
14530 cat conftest.err
>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); } &&
14533 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14535 (eval $ac_try) 2>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; } &&
14539 { ac_try
='test -s conftest$ac_exeext'
14540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14541 (eval $ac_try) 2>&5
14543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14544 (exit $ac_status); }; }; then
14545 ac_cv_strings_strcasecmp
=yes
14547 echo "$as_me: failed program was:" >&5
14548 sed 's/^/| /' conftest.
$ac_ext >&5
14550 ac_cv_strings_strcasecmp
=no
14553 rm -f conftest.err conftest.
$ac_objext \
14554 conftest
$ac_exeext conftest.
$ac_ext
14557 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
14558 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
14560 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
14561 cat >>confdefs.h
<<\_ACEOF
14562 #define HAVE_STRCASECMP_IN_STRINGS_H 1
14566 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
14567 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
14568 { (exit 1); exit 1; }; }
14573 ac_cpp
='$CPP $CPPFLAGS'
14574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14582 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14583 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14584 if test "${ac_cv_header_stdc+set}" = set; then
14585 echo $ECHO_N "(cached) $ECHO_C" >&6
14587 cat >conftest.
$ac_ext <<_ACEOF
14590 cat confdefs.h
>>conftest.
$ac_ext
14591 cat >>conftest.
$ac_ext <<_ACEOF
14592 /* end confdefs.h. */
14593 #include <stdlib.h>
14594 #include <stdarg.h>
14595 #include <string.h>
14606 rm -f conftest.
$ac_objext
14607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14608 (eval $ac_compile) 2>conftest.er1
14610 grep -v '^ *+' conftest.er1
>conftest.err
14612 cat conftest.err
>&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); } &&
14615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; } &&
14621 { ac_try
='test -s conftest.$ac_objext'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; }; then
14627 ac_cv_header_stdc
=yes
14629 echo "$as_me: failed program was:" >&5
14630 sed 's/^/| /' conftest.
$ac_ext >&5
14632 ac_cv_header_stdc
=no
14634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14636 if test $ac_cv_header_stdc = yes; then
14637 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14638 cat >conftest.
$ac_ext <<_ACEOF
14641 cat confdefs.h
>>conftest.
$ac_ext
14642 cat >>conftest.
$ac_ext <<_ACEOF
14643 /* end confdefs.h. */
14644 #include <string.h>
14647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14648 $EGREP "memchr" >/dev
/null
2>&1; then
14651 ac_cv_header_stdc
=no
14657 if test $ac_cv_header_stdc = yes; then
14658 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14659 cat >conftest.
$ac_ext <<_ACEOF
14662 cat confdefs.h
>>conftest.
$ac_ext
14663 cat >>conftest.
$ac_ext <<_ACEOF
14664 /* end confdefs.h. */
14665 #include <stdlib.h>
14668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14669 $EGREP "free" >/dev
/null
2>&1; then
14672 ac_cv_header_stdc
=no
14678 if test $ac_cv_header_stdc = yes; then
14679 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14680 if test "$cross_compiling" = yes; then
14683 cat >conftest.
$ac_ext <<_ACEOF
14686 cat confdefs.h
>>conftest.
$ac_ext
14687 cat >>conftest.
$ac_ext <<_ACEOF
14688 /* end confdefs.h. */
14690 #if ((' ' & 0x0FF) == 0x020)
14691 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14692 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14694 # define ISLOWER(c) \
14695 (('a' <= (c) && (c) <= 'i') \
14696 || ('j' <= (c) && (c) <= 'r') \
14697 || ('s' <= (c) && (c) <= 'z'))
14698 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14701 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14706 for (i = 0; i < 256; i++)
14707 if (XOR (islower (i), ISLOWER (i))
14708 || toupper (i) != TOUPPER (i))
14713 rm -f conftest
$ac_exeext
14714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14715 (eval $ac_link) 2>&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720 (eval $ac_try) 2>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; }; then
14726 echo "$as_me: program exited with status $ac_status" >&5
14727 echo "$as_me: failed program was:" >&5
14728 sed 's/^/| /' conftest.
$ac_ext >&5
14730 ( exit $ac_status )
14731 ac_cv_header_stdc
=no
14733 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14737 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14738 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14739 if test $ac_cv_header_stdc = yes; then
14741 cat >>confdefs.h
<<\_ACEOF
14742 #define STDC_HEADERS 1
14747 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14757 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
14758 inttypes.h stdint.h unistd.h
14760 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14761 echo "$as_me:$LINENO: checking for $ac_header" >&5
14762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14766 cat >conftest.
$ac_ext <<_ACEOF
14769 cat confdefs.h
>>conftest.
$ac_ext
14770 cat >>conftest.
$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14772 $ac_includes_default
14774 #include <$ac_header>
14776 rm -f conftest.
$ac_objext
14777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14778 (eval $ac_compile) 2>conftest.er1
14780 grep -v '^ *+' conftest.er1
>conftest.err
14782 cat conftest.err
>&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); } &&
14785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14787 (eval $ac_try) 2>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); }; } &&
14791 { ac_try
='test -s conftest.$ac_objext'
14792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14793 (eval $ac_try) 2>&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); }; }; then
14797 eval "$as_ac_Header=yes"
14799 echo "$as_me: failed program was:" >&5
14800 sed 's/^/| /' conftest.
$ac_ext >&5
14802 eval "$as_ac_Header=no"
14804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14809 cat >>confdefs.h
<<_ACEOF
14810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14819 for ac_header
in stdlib.h
14821 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14823 echo "$as_me:$LINENO: checking for $ac_header" >&5
14824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14826 echo $ECHO_N "(cached) $ECHO_C" >&6
14828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14831 # Is the header compilable?
14832 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14834 cat >conftest.
$ac_ext <<_ACEOF
14837 cat confdefs.h
>>conftest.
$ac_ext
14838 cat >>conftest.
$ac_ext <<_ACEOF
14839 /* end confdefs.h. */
14840 $ac_includes_default
14841 #include <$ac_header>
14843 rm -f conftest.
$ac_objext
14844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14845 (eval $ac_compile) 2>conftest.er1
14847 grep -v '^ *+' conftest.er1
>conftest.err
14849 cat conftest.err
>&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); } &&
14852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14854 (eval $ac_try) 2>&5
14856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14857 (exit $ac_status); }; } &&
14858 { ac_try
='test -s conftest.$ac_objext'
14859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14860 (eval $ac_try) 2>&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); }; }; then
14864 ac_header_compiler
=yes
14866 echo "$as_me: failed program was:" >&5
14867 sed 's/^/| /' conftest.
$ac_ext >&5
14869 ac_header_compiler
=no
14871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14873 echo "${ECHO_T}$ac_header_compiler" >&6
14875 # Is the header present?
14876 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14877 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14878 cat >conftest.
$ac_ext <<_ACEOF
14881 cat confdefs.h
>>conftest.
$ac_ext
14882 cat >>conftest.
$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14884 #include <$ac_header>
14886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14887 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14889 grep -v '^ *+' conftest.er1
>conftest.err
14891 cat conftest.err
>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); } >/dev
/null
; then
14894 if test -s conftest.err
; then
14895 ac_cpp_err
=$ac_c_preproc_warn_flag
14896 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14903 if test -z "$ac_cpp_err"; then
14904 ac_header_preproc
=yes
14906 echo "$as_me: failed program was:" >&5
14907 sed 's/^/| /' conftest.
$ac_ext >&5
14909 ac_header_preproc
=no
14911 rm -f conftest.err conftest.
$ac_ext
14912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14913 echo "${ECHO_T}$ac_header_preproc" >&6
14915 # So? What about this header?
14916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14918 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14919 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14921 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14922 ac_header_preproc
=yes
14925 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14926 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14927 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14928 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14929 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14930 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14931 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14932 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14934 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14935 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14936 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14939 ## ----------------------------------------- ##
14940 ## Report this to wx-dev@lists.wxwidgets.org ##
14941 ## ----------------------------------------- ##
14944 sed "s/^/$as_me: WARNING: /" >&2
14947 echo "$as_me:$LINENO: checking for $ac_header" >&5
14948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14950 echo $ECHO_N "(cached) $ECHO_C" >&6
14952 eval "$as_ac_Header=\$ac_header_preproc"
14954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14958 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14959 cat >>confdefs.h
<<_ACEOF
14960 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14968 for ac_header
in malloc.h
14970 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14972 echo "$as_me:$LINENO: checking for $ac_header" >&5
14973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14975 echo $ECHO_N "(cached) $ECHO_C" >&6
14977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14980 # Is the header compilable?
14981 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14982 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14983 cat >conftest.
$ac_ext <<_ACEOF
14986 cat confdefs.h
>>conftest.
$ac_ext
14987 cat >>conftest.
$ac_ext <<_ACEOF
14988 /* end confdefs.h. */
14989 $ac_includes_default
14990 #include <$ac_header>
14992 rm -f conftest.
$ac_objext
14993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14994 (eval $ac_compile) 2>conftest.er1
14996 grep -v '^ *+' conftest.er1
>conftest.err
14998 cat conftest.err
>&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); } &&
15001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; } &&
15007 { ac_try
='test -s conftest.$ac_objext'
15008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15009 (eval $ac_try) 2>&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); }; }; then
15013 ac_header_compiler
=yes
15015 echo "$as_me: failed program was:" >&5
15016 sed 's/^/| /' conftest.
$ac_ext >&5
15018 ac_header_compiler
=no
15020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15022 echo "${ECHO_T}$ac_header_compiler" >&6
15024 # Is the header present?
15025 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15027 cat >conftest.
$ac_ext <<_ACEOF
15030 cat confdefs.h
>>conftest.
$ac_ext
15031 cat >>conftest.
$ac_ext <<_ACEOF
15032 /* end confdefs.h. */
15033 #include <$ac_header>
15035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15036 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15038 grep -v '^ *+' conftest.er1
>conftest.err
15040 cat conftest.err
>&5
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); } >/dev
/null
; then
15043 if test -s conftest.err
; then
15044 ac_cpp_err
=$ac_c_preproc_warn_flag
15045 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15052 if test -z "$ac_cpp_err"; then
15053 ac_header_preproc
=yes
15055 echo "$as_me: failed program was:" >&5
15056 sed 's/^/| /' conftest.
$ac_ext >&5
15058 ac_header_preproc
=no
15060 rm -f conftest.err conftest.
$ac_ext
15061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15062 echo "${ECHO_T}$ac_header_preproc" >&6
15064 # So? What about this header?
15065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15071 ac_header_preproc
=yes
15074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15088 ## ----------------------------------------- ##
15089 ## Report this to wx-dev@lists.wxwidgets.org ##
15090 ## ----------------------------------------- ##
15093 sed "s/^/$as_me: WARNING: /" >&2
15096 echo "$as_me:$LINENO: checking for $ac_header" >&5
15097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15099 echo $ECHO_N "(cached) $ECHO_C" >&6
15101 eval "$as_ac_Header=\$ac_header_preproc"
15103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15108 cat >>confdefs.h
<<_ACEOF
15109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15117 for ac_header
in unistd.h
15119 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15121 echo "$as_me:$LINENO: checking for $ac_header" >&5
15122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15124 echo $ECHO_N "(cached) $ECHO_C" >&6
15126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15129 # Is the header compilable?
15130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15132 cat >conftest.
$ac_ext <<_ACEOF
15135 cat confdefs.h
>>conftest.
$ac_ext
15136 cat >>conftest.
$ac_ext <<_ACEOF
15137 /* end confdefs.h. */
15138 $ac_includes_default
15139 #include <$ac_header>
15141 rm -f conftest.
$ac_objext
15142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15143 (eval $ac_compile) 2>conftest.er1
15145 grep -v '^ *+' conftest.er1
>conftest.err
15147 cat conftest.err
>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); } &&
15150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15152 (eval $ac_try) 2>&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); }; } &&
15156 { ac_try
='test -s conftest.$ac_objext'
15157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15158 (eval $ac_try) 2>&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); }; }; then
15162 ac_header_compiler
=yes
15164 echo "$as_me: failed program was:" >&5
15165 sed 's/^/| /' conftest.
$ac_ext >&5
15167 ac_header_compiler
=no
15169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15171 echo "${ECHO_T}$ac_header_compiler" >&6
15173 # Is the header present?
15174 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15176 cat >conftest.
$ac_ext <<_ACEOF
15179 cat confdefs.h
>>conftest.
$ac_ext
15180 cat >>conftest.
$ac_ext <<_ACEOF
15181 /* end confdefs.h. */
15182 #include <$ac_header>
15184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15185 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15187 grep -v '^ *+' conftest.er1
>conftest.err
15189 cat conftest.err
>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); } >/dev
/null
; then
15192 if test -s conftest.err
; then
15193 ac_cpp_err
=$ac_c_preproc_warn_flag
15194 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15201 if test -z "$ac_cpp_err"; then
15202 ac_header_preproc
=yes
15204 echo "$as_me: failed program was:" >&5
15205 sed 's/^/| /' conftest.
$ac_ext >&5
15207 ac_header_preproc
=no
15209 rm -f conftest.err conftest.
$ac_ext
15210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15211 echo "${ECHO_T}$ac_header_preproc" >&6
15213 # So? What about this header?
15214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15216 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15219 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15220 ac_header_preproc
=yes
15223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15227 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15228 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15229 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15230 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15233 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15234 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15237 ## ----------------------------------------- ##
15238 ## Report this to wx-dev@lists.wxwidgets.org ##
15239 ## ----------------------------------------- ##
15242 sed "s/^/$as_me: WARNING: /" >&2
15245 echo "$as_me:$LINENO: checking for $ac_header" >&5
15246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 eval "$as_ac_Header=\$ac_header_preproc"
15252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15257 cat >>confdefs.h
<<_ACEOF
15258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15266 for ac_header
in wchar.h
15268 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15270 echo "$as_me:$LINENO: checking for $ac_header" >&5
15271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15273 echo $ECHO_N "(cached) $ECHO_C" >&6
15275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15278 # Is the header compilable?
15279 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15281 cat >conftest.
$ac_ext <<_ACEOF
15284 cat confdefs.h
>>conftest.
$ac_ext
15285 cat >>conftest.
$ac_ext <<_ACEOF
15286 /* end confdefs.h. */
15287 $ac_includes_default
15288 #include <$ac_header>
15290 rm -f conftest.
$ac_objext
15291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15292 (eval $ac_compile) 2>conftest.er1
15294 grep -v '^ *+' conftest.er1
>conftest.err
15296 cat conftest.err
>&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); } &&
15299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15301 (eval $ac_try) 2>&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); }; } &&
15305 { ac_try
='test -s conftest.$ac_objext'
15306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15307 (eval $ac_try) 2>&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); }; }; then
15311 ac_header_compiler
=yes
15313 echo "$as_me: failed program was:" >&5
15314 sed 's/^/| /' conftest.
$ac_ext >&5
15316 ac_header_compiler
=no
15318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15319 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15320 echo "${ECHO_T}$ac_header_compiler" >&6
15322 # Is the header present?
15323 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15324 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15325 cat >conftest.
$ac_ext <<_ACEOF
15328 cat confdefs.h
>>conftest.
$ac_ext
15329 cat >>conftest.
$ac_ext <<_ACEOF
15330 /* end confdefs.h. */
15331 #include <$ac_header>
15333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15334 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15336 grep -v '^ *+' conftest.er1
>conftest.err
15338 cat conftest.err
>&5
15339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); } >/dev
/null
; then
15341 if test -s conftest.err
; then
15342 ac_cpp_err
=$ac_c_preproc_warn_flag
15343 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15350 if test -z "$ac_cpp_err"; then
15351 ac_header_preproc
=yes
15353 echo "$as_me: failed program was:" >&5
15354 sed 's/^/| /' conftest.
$ac_ext >&5
15356 ac_header_preproc
=no
15358 rm -f conftest.err conftest.
$ac_ext
15359 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15360 echo "${ECHO_T}$ac_header_preproc" >&6
15362 # So? What about this header?
15363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15365 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15366 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15368 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15369 ac_header_preproc
=yes
15372 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15373 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15374 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15375 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15376 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15377 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15378 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15379 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15381 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15382 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15383 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15386 ## ----------------------------------------- ##
15387 ## Report this to wx-dev@lists.wxwidgets.org ##
15388 ## ----------------------------------------- ##
15391 sed "s/^/$as_me: WARNING: /" >&2
15394 echo "$as_me:$LINENO: checking for $ac_header" >&5
15395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15399 eval "$as_ac_Header=\$ac_header_preproc"
15401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15406 cat >>confdefs.h
<<_ACEOF
15407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15415 if test "$ac_cv_header_wchar_h" != "yes"; then
15417 for ac_header
in wcstr.h
15419 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15421 echo "$as_me:$LINENO: checking for $ac_header" >&5
15422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15424 echo $ECHO_N "(cached) $ECHO_C" >&6
15426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15429 # Is the header compilable?
15430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15432 cat >conftest.
$ac_ext <<_ACEOF
15435 cat confdefs.h
>>conftest.
$ac_ext
15436 cat >>conftest.
$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15438 $ac_includes_default
15439 #include <$ac_header>
15441 rm -f conftest.
$ac_objext
15442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15443 (eval $ac_compile) 2>conftest.er1
15445 grep -v '^ *+' conftest.er1
>conftest.err
15447 cat conftest.err
>&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); } &&
15450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15452 (eval $ac_try) 2>&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; } &&
15456 { ac_try
='test -s conftest.$ac_objext'
15457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15458 (eval $ac_try) 2>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); }; }; then
15462 ac_header_compiler
=yes
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.
$ac_ext >&5
15467 ac_header_compiler
=no
15469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15471 echo "${ECHO_T}$ac_header_compiler" >&6
15473 # Is the header present?
15474 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15475 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
15484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15485 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15487 grep -v '^ *+' conftest.er1
>conftest.err
15489 cat conftest.err
>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } >/dev
/null
; then
15492 if test -s conftest.err
; then
15493 ac_cpp_err
=$ac_c_preproc_warn_flag
15494 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15501 if test -z "$ac_cpp_err"; then
15502 ac_header_preproc
=yes
15504 echo "$as_me: failed program was:" >&5
15505 sed 's/^/| /' conftest.
$ac_ext >&5
15507 ac_header_preproc
=no
15509 rm -f conftest.err conftest.
$ac_ext
15510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15511 echo "${ECHO_T}$ac_header_preproc" >&6
15513 # So? What about this header?
15514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15520 ac_header_preproc
=yes
15523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15537 ## ----------------------------------------- ##
15538 ## Report this to wx-dev@lists.wxwidgets.org ##
15539 ## ----------------------------------------- ##
15542 sed "s/^/$as_me: WARNING: /" >&2
15545 echo "$as_me:$LINENO: checking for $ac_header" >&5
15546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15548 echo $ECHO_N "(cached) $ECHO_C" >&6
15550 eval "$as_ac_Header=\$ac_header_preproc"
15552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15557 cat >>confdefs.h
<<_ACEOF
15558 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15568 for ac_header
in fnmatch.h
15570 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15572 echo "$as_me:$LINENO: checking for $ac_header" >&5
15573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15575 echo $ECHO_N "(cached) $ECHO_C" >&6
15577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15580 # Is the header compilable?
15581 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15582 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15583 cat >conftest.
$ac_ext <<_ACEOF
15586 cat confdefs.h
>>conftest.
$ac_ext
15587 cat >>conftest.
$ac_ext <<_ACEOF
15588 /* end confdefs.h. */
15589 $ac_includes_default
15590 #include <$ac_header>
15592 rm -f conftest.
$ac_objext
15593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15594 (eval $ac_compile) 2>conftest.er1
15596 grep -v '^ *+' conftest.er1
>conftest.err
15598 cat conftest.err
>&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); } &&
15601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15603 (eval $ac_try) 2>&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); }; } &&
15607 { ac_try
='test -s conftest.$ac_objext'
15608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15609 (eval $ac_try) 2>&5
15611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15612 (exit $ac_status); }; }; then
15613 ac_header_compiler
=yes
15615 echo "$as_me: failed program was:" >&5
15616 sed 's/^/| /' conftest.
$ac_ext >&5
15618 ac_header_compiler
=no
15620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15622 echo "${ECHO_T}$ac_header_compiler" >&6
15624 # Is the header present?
15625 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15626 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15627 cat >conftest.
$ac_ext <<_ACEOF
15630 cat confdefs.h
>>conftest.
$ac_ext
15631 cat >>conftest.
$ac_ext <<_ACEOF
15632 /* end confdefs.h. */
15633 #include <$ac_header>
15635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15636 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15638 grep -v '^ *+' conftest.er1
>conftest.err
15640 cat conftest.err
>&5
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); } >/dev
/null
; then
15643 if test -s conftest.err
; then
15644 ac_cpp_err
=$ac_c_preproc_warn_flag
15645 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15652 if test -z "$ac_cpp_err"; then
15653 ac_header_preproc
=yes
15655 echo "$as_me: failed program was:" >&5
15656 sed 's/^/| /' conftest.
$ac_ext >&5
15658 ac_header_preproc
=no
15660 rm -f conftest.err conftest.
$ac_ext
15661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15662 echo "${ECHO_T}$ac_header_preproc" >&6
15664 # So? What about this header?
15665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15667 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15668 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15670 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15671 ac_header_preproc
=yes
15674 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15675 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15676 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15677 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15678 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15679 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15680 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15681 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15683 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15684 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15685 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15688 ## ----------------------------------------- ##
15689 ## Report this to wx-dev@lists.wxwidgets.org ##
15690 ## ----------------------------------------- ##
15693 sed "s/^/$as_me: WARNING: /" >&2
15696 echo "$as_me:$LINENO: checking for $ac_header" >&5
15697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15699 echo $ECHO_N "(cached) $ECHO_C" >&6
15701 eval "$as_ac_Header=\$ac_header_preproc"
15703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15707 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15708 cat >>confdefs.h
<<_ACEOF
15709 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15718 for ac_header
in langinfo.h
15720 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15722 echo "$as_me:$LINENO: checking for $ac_header" >&5
15723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15725 echo $ECHO_N "(cached) $ECHO_C" >&6
15727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15730 # Is the header compilable?
15731 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15732 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15733 cat >conftest.
$ac_ext <<_ACEOF
15736 cat confdefs.h
>>conftest.
$ac_ext
15737 cat >>conftest.
$ac_ext <<_ACEOF
15738 /* end confdefs.h. */
15739 $ac_includes_default
15740 #include <$ac_header>
15742 rm -f conftest.
$ac_objext
15743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15744 (eval $ac_compile) 2>conftest.er1
15746 grep -v '^ *+' conftest.er1
>conftest.err
15748 cat conftest.err
>&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } &&
15751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15753 (eval $ac_try) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); }; } &&
15757 { ac_try
='test -s conftest.$ac_objext'
15758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759 (eval $ac_try) 2>&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; }; then
15763 ac_header_compiler
=yes
15765 echo "$as_me: failed program was:" >&5
15766 sed 's/^/| /' conftest.
$ac_ext >&5
15768 ac_header_compiler
=no
15770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15771 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15772 echo "${ECHO_T}$ac_header_compiler" >&6
15774 # Is the header present?
15775 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15776 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15777 cat >conftest.
$ac_ext <<_ACEOF
15780 cat confdefs.h
>>conftest.
$ac_ext
15781 cat >>conftest.
$ac_ext <<_ACEOF
15782 /* end confdefs.h. */
15783 #include <$ac_header>
15785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15786 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15788 grep -v '^ *+' conftest.er1
>conftest.err
15790 cat conftest.err
>&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); } >/dev
/null
; then
15793 if test -s conftest.err
; then
15794 ac_cpp_err
=$ac_c_preproc_warn_flag
15795 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15802 if test -z "$ac_cpp_err"; then
15803 ac_header_preproc
=yes
15805 echo "$as_me: failed program was:" >&5
15806 sed 's/^/| /' conftest.
$ac_ext >&5
15808 ac_header_preproc
=no
15810 rm -f conftest.err conftest.
$ac_ext
15811 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15812 echo "${ECHO_T}$ac_header_preproc" >&6
15814 # So? What about this header?
15815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15817 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15818 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15819 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15820 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15821 ac_header_preproc
=yes
15824 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15825 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15826 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15827 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15828 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15829 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15830 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15831 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15833 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15834 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15835 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15838 ## ----------------------------------------- ##
15839 ## Report this to wx-dev@lists.wxwidgets.org ##
15840 ## ----------------------------------------- ##
15843 sed "s/^/$as_me: WARNING: /" >&2
15846 echo "$as_me:$LINENO: checking for $ac_header" >&5
15847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15851 eval "$as_ac_Header=\$ac_header_preproc"
15853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15854 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15857 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15858 cat >>confdefs.h
<<_ACEOF
15859 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15868 *-pc-os2_emx | *-pc-os2-emx )
15869 if test $ac_cv_header_langinfo_h = "yes" \
15870 -a \
( "$wx_cv_gccversion" = "EMX2" \
15871 -o "$wx_cv_gccversion" = "EMX3" \
15872 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15873 LIBS
="$LIBS -lintl"
15879 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15880 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15881 if test "${ac_cv_c_const+set}" = set; then
15882 echo $ECHO_N "(cached) $ECHO_C" >&6
15884 cat >conftest.
$ac_ext <<_ACEOF
15887 cat confdefs.h
>>conftest.
$ac_ext
15888 cat >>conftest.
$ac_ext <<_ACEOF
15889 /* end confdefs.h. */
15894 /* FIXME: Include the comments suggested by Paul. */
15895 #ifndef __cplusplus
15896 /* Ultrix mips cc rejects this. */
15897 typedef int charset[2];
15899 /* SunOS 4.1.1 cc rejects this. */
15900 char const *const *ccp;
15902 /* NEC SVR4.0.2 mips cc rejects this. */
15903 struct point {int x, y;};
15904 static struct point const zero = {0,0};
15905 /* AIX XL C 1.02.0.0 rejects this.
15906 It does not let you subtract one const X* pointer from another in
15907 an arm of an if-expression whose if-part is not a constant
15909 const char *g = "string";
15910 ccp = &g + (g ? g-g : 0);
15911 /* HPUX 7.0 cc rejects these. */
15914 ccp = (char const *const *) p;
15915 { /* SCO 3.2v4 cc rejects this. */
15917 char const *s = 0 ? (char *) 0 : (char const *) 0;
15921 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15922 int x[] = {25, 17};
15923 const int *foo = &x[0];
15926 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15927 typedef const int *iptr;
15931 { /* AIX XL C 1.02.0.0 rejects this saying
15932 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15933 struct s { int j; const int *ap[3]; };
15934 struct s *b; b->j = 5;
15936 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15937 const int foo = 10;
15945 rm -f conftest.
$ac_objext
15946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15947 (eval $ac_compile) 2>conftest.er1
15949 grep -v '^ *+' conftest.er1
>conftest.err
15951 cat conftest.err
>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } &&
15954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; } &&
15960 { ac_try
='test -s conftest.$ac_objext'
15961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15962 (eval $ac_try) 2>&5
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); }; }; then
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.
$ac_ext >&5
15973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15975 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15976 echo "${ECHO_T}$ac_cv_c_const" >&6
15977 if test $ac_cv_c_const = no
; then
15979 cat >>confdefs.h
<<\_ACEOF
15985 echo "$as_me:$LINENO: checking for inline" >&5
15986 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15987 if test "${ac_cv_c_inline+set}" = set; then
15988 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 for ac_kw
in inline __inline__ __inline
; do
15992 cat >conftest.
$ac_ext <<_ACEOF
15995 cat confdefs.h
>>conftest.
$ac_ext
15996 cat >>conftest.
$ac_ext <<_ACEOF
15997 /* end confdefs.h. */
15998 #ifndef __cplusplus
16000 static $ac_kw foo_t static_foo () {return 0; }
16001 $ac_kw foo_t foo () {return 0; }
16005 rm -f conftest.
$ac_objext
16006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16007 (eval $ac_compile) 2>conftest.er1
16009 grep -v '^ *+' conftest.er1
>conftest.err
16011 cat conftest.err
>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); } &&
16014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; } &&
16020 { ac_try
='test -s conftest.$ac_objext'
16021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16022 (eval $ac_try) 2>&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); }; }; then
16026 ac_cv_c_inline
=$ac_kw; break
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.
$ac_ext >&5
16032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16036 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16037 echo "${ECHO_T}$ac_cv_c_inline" >&6
16040 case $ac_cv_c_inline in
16043 case $ac_cv_c_inline in
16045 *) ac_val
=$ac_cv_c_inline;;
16047 cat >>confdefs.h
<<_ACEOF
16048 #ifndef __cplusplus
16049 #define inline $ac_val
16056 echo "$as_me:$LINENO: checking for char" >&5
16057 echo $ECHO_N "checking for char... $ECHO_C" >&6
16058 if test "${ac_cv_type_char+set}" = set; then
16059 echo $ECHO_N "(cached) $ECHO_C" >&6
16061 cat >conftest.
$ac_ext <<_ACEOF
16064 cat confdefs.h
>>conftest.
$ac_ext
16065 cat >>conftest.
$ac_ext <<_ACEOF
16066 /* end confdefs.h. */
16067 $ac_includes_default
16079 rm -f conftest.
$ac_objext
16080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16081 (eval $ac_compile) 2>conftest.er1
16083 grep -v '^ *+' conftest.er1
>conftest.err
16085 cat conftest.err
>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); } &&
16088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; } &&
16094 { ac_try
='test -s conftest.$ac_objext'
16095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096 (eval $ac_try) 2>&5
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; }; then
16100 ac_cv_type_char
=yes
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.
$ac_ext >&5
16107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16109 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16110 echo "${ECHO_T}$ac_cv_type_char" >&6
16112 echo "$as_me:$LINENO: checking size of char" >&5
16113 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16114 if test "${ac_cv_sizeof_char+set}" = set; then
16115 echo $ECHO_N "(cached) $ECHO_C" >&6
16117 if test "$ac_cv_type_char" = yes; then
16118 # The cast to unsigned long works around a bug in the HP C Compiler
16119 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16120 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16121 # This bug is HP SR number 8606223364.
16122 if test "$cross_compiling" = yes; then
16123 # Depending upon the size, compute the lo and hi bounds.
16124 cat >conftest.
$ac_ext <<_ACEOF
16127 cat confdefs.h
>>conftest.
$ac_ext
16128 cat >>conftest.
$ac_ext <<_ACEOF
16129 /* end confdefs.h. */
16130 $ac_includes_default
16134 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16141 rm -f conftest.
$ac_objext
16142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16143 (eval $ac_compile) 2>conftest.er1
16145 grep -v '^ *+' conftest.er1
>conftest.err
16147 cat conftest.err
>&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); } &&
16150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; } &&
16156 { ac_try
='test -s conftest.$ac_objext'
16157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 (eval $ac_try) 2>&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; }; then
16164 cat >conftest.
$ac_ext <<_ACEOF
16167 cat confdefs.h
>>conftest.
$ac_ext
16168 cat >>conftest.
$ac_ext <<_ACEOF
16169 /* end confdefs.h. */
16170 $ac_includes_default
16174 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16181 rm -f conftest.
$ac_objext
16182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16183 (eval $ac_compile) 2>conftest.er1
16185 grep -v '^ *+' conftest.er1
>conftest.err
16187 cat conftest.err
>&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); } &&
16190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16192 (eval $ac_try) 2>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); }; } &&
16196 { ac_try
='test -s conftest.$ac_objext'
16197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16198 (eval $ac_try) 2>&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); }; }; then
16202 ac_hi
=$ac_mid; break
16204 echo "$as_me: failed program was:" >&5
16205 sed 's/^/| /' conftest.
$ac_ext >&5
16207 ac_lo
=`expr $ac_mid + 1`
16208 if test $ac_lo -le $ac_mid; then
16212 ac_mid
=`expr 2 '*' $ac_mid + 1`
16214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16217 echo "$as_me: failed program was:" >&5
16218 sed 's/^/| /' conftest.
$ac_ext >&5
16220 cat >conftest.
$ac_ext <<_ACEOF
16223 cat confdefs.h
>>conftest.
$ac_ext
16224 cat >>conftest.
$ac_ext <<_ACEOF
16225 /* end confdefs.h. */
16226 $ac_includes_default
16230 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16237 rm -f conftest.
$ac_objext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16239 (eval $ac_compile) 2>conftest.er1
16241 grep -v '^ *+' conftest.er1
>conftest.err
16243 cat conftest.err
>&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248 (eval $ac_try) 2>&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; } &&
16252 { ac_try
='test -s conftest.$ac_objext'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; }; then
16260 cat >conftest.
$ac_ext <<_ACEOF
16263 cat confdefs.h
>>conftest.
$ac_ext
16264 cat >>conftest.
$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16266 $ac_includes_default
16270 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16277 rm -f conftest.
$ac_objext
16278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16279 (eval $ac_compile) 2>conftest.er1
16281 grep -v '^ *+' conftest.er1
>conftest.err
16283 cat conftest.err
>&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); } &&
16286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16288 (eval $ac_try) 2>&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); }; } &&
16292 { ac_try
='test -s conftest.$ac_objext'
16293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16294 (eval $ac_try) 2>&5
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); }; }; then
16298 ac_lo
=$ac_mid; break
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.
$ac_ext >&5
16303 ac_hi
=`expr '(' $ac_mid ')' - 1`
16304 if test $ac_mid -le $ac_hi; then
16308 ac_mid
=`expr 2 '*' $ac_mid`
16310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16313 echo "$as_me: failed program was:" >&5
16314 sed 's/^/| /' conftest.
$ac_ext >&5
16318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16321 # Binary search between lo and hi bounds.
16322 while test "x$ac_lo" != "x$ac_hi"; do
16323 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16324 cat >conftest.
$ac_ext <<_ACEOF
16327 cat confdefs.h
>>conftest.
$ac_ext
16328 cat >>conftest.
$ac_ext <<_ACEOF
16329 /* end confdefs.h. */
16330 $ac_includes_default
16334 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16341 rm -f conftest.
$ac_objext
16342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16343 (eval $ac_compile) 2>conftest.er1
16345 grep -v '^ *+' conftest.er1
>conftest.err
16347 cat conftest.err
>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } &&
16350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; } &&
16356 { ac_try
='test -s conftest.$ac_objext'
16357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358 (eval $ac_try) 2>&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); }; }; then
16364 echo "$as_me: failed program was:" >&5
16365 sed 's/^/| /' conftest.
$ac_ext >&5
16367 ac_lo
=`expr '(' $ac_mid ')' + 1`
16369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16372 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16373 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16374 See \`config.log' for more details." >&5
16375 echo "$as_me: error: cannot compute sizeof (char), 77
16376 See \`config.log' for more details." >&2;}
16377 { (exit 1); exit 1; }; } ;;
16380 if test "$cross_compiling" = yes; then
16381 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16382 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16383 { (exit 1); exit 1; }; }
16385 cat >conftest.
$ac_ext <<_ACEOF
16388 cat confdefs.h
>>conftest.
$ac_ext
16389 cat >>conftest.
$ac_ext <<_ACEOF
16390 /* end confdefs.h. */
16391 $ac_includes_default
16392 long longval () { return (long) (sizeof (char)); }
16393 unsigned long ulongval () { return (long) (sizeof (char)); }
16395 #include <stdlib.h>
16400 FILE *f = fopen ("conftest.val", "w");
16403 if (((long) (sizeof (char))) < 0)
16405 long i = longval ();
16406 if (i != ((long) (sizeof (char))))
16408 fprintf (f, "%ld\n", i);
16412 unsigned long i = ulongval ();
16413 if (i != ((long) (sizeof (char))))
16415 fprintf (f, "%lu\n", i);
16417 exit (ferror (f) || fclose (f) != 0);
16423 rm -f conftest
$ac_exeext
16424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16425 (eval $ac_link) 2>&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16430 (eval $ac_try) 2>&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); }; }; then
16434 ac_cv_sizeof_char
=`cat conftest.val`
16436 echo "$as_me: program exited with status $ac_status" >&5
16437 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.
$ac_ext >&5
16440 ( exit $ac_status )
16441 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16442 See \`config.log' for more details." >&5
16443 echo "$as_me: error: cannot compute sizeof (char), 77
16444 See \`config.log' for more details." >&2;}
16445 { (exit 1); exit 1; }; }
16447 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16452 ac_cv_sizeof_char
=0
16455 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16456 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16457 cat >>confdefs.h
<<_ACEOF
16458 #define SIZEOF_CHAR $ac_cv_sizeof_char
16462 echo "$as_me:$LINENO: checking for short" >&5
16463 echo $ECHO_N "checking for short... $ECHO_C" >&6
16464 if test "${ac_cv_type_short+set}" = set; then
16465 echo $ECHO_N "(cached) $ECHO_C" >&6
16467 cat >conftest.
$ac_ext <<_ACEOF
16470 cat confdefs.h
>>conftest.
$ac_ext
16471 cat >>conftest.
$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16473 $ac_includes_default
16479 if (sizeof (short))
16485 rm -f conftest.
$ac_objext
16486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16487 (eval $ac_compile) 2>conftest.er1
16489 grep -v '^ *+' conftest.er1
>conftest.err
16491 cat conftest.err
>&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); } &&
16494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16496 (eval $ac_try) 2>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); }; } &&
16500 { ac_try
='test -s conftest.$ac_objext'
16501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16502 (eval $ac_try) 2>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); }; }; then
16506 ac_cv_type_short
=yes
16508 echo "$as_me: failed program was:" >&5
16509 sed 's/^/| /' conftest.
$ac_ext >&5
16511 ac_cv_type_short
=no
16513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16515 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16516 echo "${ECHO_T}$ac_cv_type_short" >&6
16518 echo "$as_me:$LINENO: checking size of short" >&5
16519 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16520 if test "${ac_cv_sizeof_short+set}" = set; then
16521 echo $ECHO_N "(cached) $ECHO_C" >&6
16523 if test "$ac_cv_type_short" = yes; then
16524 # The cast to unsigned long works around a bug in the HP C Compiler
16525 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16526 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16527 # This bug is HP SR number 8606223364.
16528 if test "$cross_compiling" = yes; then
16529 # Depending upon the size, compute the lo and hi bounds.
16530 cat >conftest.
$ac_ext <<_ACEOF
16533 cat confdefs.h
>>conftest.
$ac_ext
16534 cat >>conftest.
$ac_ext <<_ACEOF
16535 /* end confdefs.h. */
16536 $ac_includes_default
16540 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16547 rm -f conftest.
$ac_objext
16548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16549 (eval $ac_compile) 2>conftest.er1
16551 grep -v '^ *+' conftest.er1
>conftest.err
16553 cat conftest.err
>&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); } &&
16556 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16558 (eval $ac_try) 2>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; } &&
16562 { ac_try
='test -s conftest.$ac_objext'
16563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564 (eval $ac_try) 2>&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); }; }; then
16570 cat >conftest.
$ac_ext <<_ACEOF
16573 cat confdefs.h
>>conftest.
$ac_ext
16574 cat >>conftest.
$ac_ext <<_ACEOF
16575 /* end confdefs.h. */
16576 $ac_includes_default
16580 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16587 rm -f conftest.
$ac_objext
16588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16589 (eval $ac_compile) 2>conftest.er1
16591 grep -v '^ *+' conftest.er1
>conftest.err
16593 cat conftest.err
>&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } &&
16596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598 (eval $ac_try) 2>&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; } &&
16602 { ac_try
='test -s conftest.$ac_objext'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; }; then
16608 ac_hi
=$ac_mid; break
16610 echo "$as_me: failed program was:" >&5
16611 sed 's/^/| /' conftest.
$ac_ext >&5
16613 ac_lo
=`expr $ac_mid + 1`
16614 if test $ac_lo -le $ac_mid; then
16618 ac_mid
=`expr 2 '*' $ac_mid + 1`
16620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16623 echo "$as_me: failed program was:" >&5
16624 sed 's/^/| /' conftest.
$ac_ext >&5
16626 cat >conftest.
$ac_ext <<_ACEOF
16629 cat confdefs.h
>>conftest.
$ac_ext
16630 cat >>conftest.
$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16632 $ac_includes_default
16636 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16643 rm -f conftest.
$ac_objext
16644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16645 (eval $ac_compile) 2>conftest.er1
16647 grep -v '^ *+' conftest.er1
>conftest.err
16649 cat conftest.err
>&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; } &&
16658 { ac_try
='test -s conftest.$ac_objext'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; }; then
16666 cat >conftest.
$ac_ext <<_ACEOF
16669 cat confdefs.h
>>conftest.
$ac_ext
16670 cat >>conftest.
$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16672 $ac_includes_default
16676 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16683 rm -f conftest.
$ac_objext
16684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16685 (eval $ac_compile) 2>conftest.er1
16687 grep -v '^ *+' conftest.er1
>conftest.err
16689 cat conftest.err
>&5
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); } &&
16692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16694 (eval $ac_try) 2>&5
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); }; } &&
16698 { ac_try
='test -s conftest.$ac_objext'
16699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16700 (eval $ac_try) 2>&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); }; }; then
16704 ac_lo
=$ac_mid; break
16706 echo "$as_me: failed program was:" >&5
16707 sed 's/^/| /' conftest.
$ac_ext >&5
16709 ac_hi
=`expr '(' $ac_mid ')' - 1`
16710 if test $ac_mid -le $ac_hi; then
16714 ac_mid
=`expr 2 '*' $ac_mid`
16716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16719 echo "$as_me: failed program was:" >&5
16720 sed 's/^/| /' conftest.
$ac_ext >&5
16724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16727 # Binary search between lo and hi bounds.
16728 while test "x$ac_lo" != "x$ac_hi"; do
16729 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16730 cat >conftest.
$ac_ext <<_ACEOF
16733 cat confdefs.h
>>conftest.
$ac_ext
16734 cat >>conftest.
$ac_ext <<_ACEOF
16735 /* end confdefs.h. */
16736 $ac_includes_default
16740 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16747 rm -f conftest.
$ac_objext
16748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16749 (eval $ac_compile) 2>conftest.er1
16751 grep -v '^ *+' conftest.er1
>conftest.err
16753 cat conftest.err
>&5
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); } &&
16756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; } &&
16762 { ac_try
='test -s conftest.$ac_objext'
16763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16764 (eval $ac_try) 2>&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; }; then
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.
$ac_ext >&5
16773 ac_lo
=`expr '(' $ac_mid ')' + 1`
16775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16778 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16779 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16780 See \`config.log' for more details." >&5
16781 echo "$as_me: error: cannot compute sizeof (short), 77
16782 See \`config.log' for more details." >&2;}
16783 { (exit 1); exit 1; }; } ;;
16786 if test "$cross_compiling" = yes; then
16787 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16788 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16789 { (exit 1); exit 1; }; }
16791 cat >conftest.
$ac_ext <<_ACEOF
16794 cat confdefs.h
>>conftest.
$ac_ext
16795 cat >>conftest.
$ac_ext <<_ACEOF
16796 /* end confdefs.h. */
16797 $ac_includes_default
16798 long longval () { return (long) (sizeof (short)); }
16799 unsigned long ulongval () { return (long) (sizeof (short)); }
16801 #include <stdlib.h>
16806 FILE *f = fopen ("conftest.val", "w");
16809 if (((long) (sizeof (short))) < 0)
16811 long i = longval ();
16812 if (i != ((long) (sizeof (short))))
16814 fprintf (f, "%ld\n", i);
16818 unsigned long i = ulongval ();
16819 if (i != ((long) (sizeof (short))))
16821 fprintf (f, "%lu\n", i);
16823 exit (ferror (f) || fclose (f) != 0);
16829 rm -f conftest
$ac_exeext
16830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16831 (eval $ac_link) 2>&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836 (eval $ac_try) 2>&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); }; }; then
16840 ac_cv_sizeof_short
=`cat conftest.val`
16842 echo "$as_me: program exited with status $ac_status" >&5
16843 echo "$as_me: failed program was:" >&5
16844 sed 's/^/| /' conftest.
$ac_ext >&5
16846 ( exit $ac_status )
16847 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16848 See \`config.log' for more details." >&5
16849 echo "$as_me: error: cannot compute sizeof (short), 77
16850 See \`config.log' for more details." >&2;}
16851 { (exit 1); exit 1; }; }
16853 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16858 ac_cv_sizeof_short
=0
16861 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16862 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16863 cat >>confdefs.h
<<_ACEOF
16864 #define SIZEOF_SHORT $ac_cv_sizeof_short
16868 echo "$as_me:$LINENO: checking for void *" >&5
16869 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16870 if test "${ac_cv_type_void_p+set}" = set; then
16871 echo $ECHO_N "(cached) $ECHO_C" >&6
16873 cat >conftest.
$ac_ext <<_ACEOF
16876 cat confdefs.h
>>conftest.
$ac_ext
16877 cat >>conftest.
$ac_ext <<_ACEOF
16878 /* end confdefs.h. */
16879 $ac_includes_default
16885 if (sizeof (void *))
16891 rm -f conftest.
$ac_objext
16892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16893 (eval $ac_compile) 2>conftest.er1
16895 grep -v '^ *+' conftest.er1
>conftest.err
16897 cat conftest.err
>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } &&
16900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16902 (eval $ac_try) 2>&5
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); }; } &&
16906 { ac_try
='test -s conftest.$ac_objext'
16907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16908 (eval $ac_try) 2>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }; }; then
16912 ac_cv_type_void_p
=yes
16914 echo "$as_me: failed program was:" >&5
16915 sed 's/^/| /' conftest.
$ac_ext >&5
16917 ac_cv_type_void_p
=no
16919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16921 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16922 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16924 echo "$as_me:$LINENO: checking size of void *" >&5
16925 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16926 if test "${ac_cv_sizeof_void_p+set}" = set; then
16927 echo $ECHO_N "(cached) $ECHO_C" >&6
16929 if test "$ac_cv_type_void_p" = yes; then
16930 # The cast to unsigned long works around a bug in the HP C Compiler
16931 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16932 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16933 # This bug is HP SR number 8606223364.
16934 if test "$cross_compiling" = yes; then
16935 # Depending upon the size, compute the lo and hi bounds.
16936 cat >conftest.
$ac_ext <<_ACEOF
16939 cat confdefs.h
>>conftest.
$ac_ext
16940 cat >>conftest.
$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16942 $ac_includes_default
16946 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16953 rm -f conftest.
$ac_objext
16954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16955 (eval $ac_compile) 2>conftest.er1
16957 grep -v '^ *+' conftest.er1
>conftest.err
16959 cat conftest.err
>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); } &&
16962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; } &&
16968 { ac_try
='test -s conftest.$ac_objext'
16969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16970 (eval $ac_try) 2>&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); }; }; then
16976 cat >conftest.
$ac_ext <<_ACEOF
16979 cat confdefs.h
>>conftest.
$ac_ext
16980 cat >>conftest.
$ac_ext <<_ACEOF
16981 /* end confdefs.h. */
16982 $ac_includes_default
16986 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16993 rm -f conftest.
$ac_objext
16994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16995 (eval $ac_compile) 2>conftest.er1
16997 grep -v '^ *+' conftest.er1
>conftest.err
16999 cat conftest.err
>&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } &&
17002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17004 (eval $ac_try) 2>&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }; } &&
17008 { ac_try
='test -s conftest.$ac_objext'
17009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010 (eval $ac_try) 2>&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }; }; then
17014 ac_hi
=$ac_mid; break
17016 echo "$as_me: failed program was:" >&5
17017 sed 's/^/| /' conftest.
$ac_ext >&5
17019 ac_lo
=`expr $ac_mid + 1`
17020 if test $ac_lo -le $ac_mid; then
17024 ac_mid
=`expr 2 '*' $ac_mid + 1`
17026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17029 echo "$as_me: failed program was:" >&5
17030 sed 's/^/| /' conftest.
$ac_ext >&5
17032 cat >conftest.
$ac_ext <<_ACEOF
17035 cat confdefs.h
>>conftest.
$ac_ext
17036 cat >>conftest.
$ac_ext <<_ACEOF
17037 /* end confdefs.h. */
17038 $ac_includes_default
17042 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17049 rm -f conftest.
$ac_objext
17050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17051 (eval $ac_compile) 2>conftest.er1
17053 grep -v '^ *+' conftest.er1
>conftest.err
17055 cat conftest.err
>&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } &&
17058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; } &&
17064 { ac_try
='test -s conftest.$ac_objext'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; }; then
17072 cat >conftest.
$ac_ext <<_ACEOF
17075 cat confdefs.h
>>conftest.
$ac_ext
17076 cat >>conftest.
$ac_ext <<_ACEOF
17077 /* end confdefs.h. */
17078 $ac_includes_default
17082 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17089 rm -f conftest.
$ac_objext
17090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17091 (eval $ac_compile) 2>conftest.er1
17093 grep -v '^ *+' conftest.er1
>conftest.err
17095 cat conftest.err
>&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); } &&
17098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17100 (eval $ac_try) 2>&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); }; } &&
17104 { ac_try
='test -s conftest.$ac_objext'
17105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17106 (eval $ac_try) 2>&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); }; }; then
17110 ac_lo
=$ac_mid; break
17112 echo "$as_me: failed program was:" >&5
17113 sed 's/^/| /' conftest.
$ac_ext >&5
17115 ac_hi
=`expr '(' $ac_mid ')' - 1`
17116 if test $ac_mid -le $ac_hi; then
17120 ac_mid
=`expr 2 '*' $ac_mid`
17122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17125 echo "$as_me: failed program was:" >&5
17126 sed 's/^/| /' conftest.
$ac_ext >&5
17130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17133 # Binary search between lo and hi bounds.
17134 while test "x$ac_lo" != "x$ac_hi"; do
17135 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17136 cat >conftest.
$ac_ext <<_ACEOF
17139 cat confdefs.h
>>conftest.
$ac_ext
17140 cat >>conftest.
$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17142 $ac_includes_default
17146 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17153 rm -f conftest.
$ac_objext
17154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17155 (eval $ac_compile) 2>conftest.er1
17157 grep -v '^ *+' conftest.er1
>conftest.err
17159 cat conftest.err
>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); } &&
17162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; } &&
17168 { ac_try
='test -s conftest.$ac_objext'
17169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17170 (eval $ac_try) 2>&5
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); }; }; then
17176 echo "$as_me: failed program was:" >&5
17177 sed 's/^/| /' conftest.
$ac_ext >&5
17179 ac_lo
=`expr '(' $ac_mid ')' + 1`
17181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17184 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17185 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17186 See \`config.log' for more details." >&5
17187 echo "$as_me: error: cannot compute sizeof (void *), 77
17188 See \`config.log' for more details." >&2;}
17189 { (exit 1); exit 1; }; } ;;
17192 if test "$cross_compiling" = yes; then
17193 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17194 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17195 { (exit 1); exit 1; }; }
17197 cat >conftest.
$ac_ext <<_ACEOF
17200 cat confdefs.h
>>conftest.
$ac_ext
17201 cat >>conftest.
$ac_ext <<_ACEOF
17202 /* end confdefs.h. */
17203 $ac_includes_default
17204 long longval () { return (long) (sizeof (void *)); }
17205 unsigned long ulongval () { return (long) (sizeof (void *)); }
17207 #include <stdlib.h>
17212 FILE *f = fopen ("conftest.val", "w");
17215 if (((long) (sizeof (void *))) < 0)
17217 long i = longval ();
17218 if (i != ((long) (sizeof (void *))))
17220 fprintf (f, "%ld\n", i);
17224 unsigned long i = ulongval ();
17225 if (i != ((long) (sizeof (void *))))
17227 fprintf (f, "%lu\n", i);
17229 exit (ferror (f) || fclose (f) != 0);
17235 rm -f conftest
$ac_exeext
17236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17237 (eval $ac_link) 2>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; }; then
17246 ac_cv_sizeof_void_p
=`cat conftest.val`
17248 echo "$as_me: program exited with status $ac_status" >&5
17249 echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.
$ac_ext >&5
17252 ( exit $ac_status )
17253 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17254 See \`config.log' for more details." >&5
17255 echo "$as_me: error: cannot compute sizeof (void *), 77
17256 See \`config.log' for more details." >&2;}
17257 { (exit 1); exit 1; }; }
17259 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17264 ac_cv_sizeof_void_p
=0
17267 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17268 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17269 cat >>confdefs.h
<<_ACEOF
17270 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17274 echo "$as_me:$LINENO: checking for int" >&5
17275 echo $ECHO_N "checking for int... $ECHO_C" >&6
17276 if test "${ac_cv_type_int+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17279 cat >conftest.
$ac_ext <<_ACEOF
17282 cat confdefs.h
>>conftest.
$ac_ext
17283 cat >>conftest.
$ac_ext <<_ACEOF
17284 /* end confdefs.h. */
17285 $ac_includes_default
17297 rm -f conftest.
$ac_objext
17298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17299 (eval $ac_compile) 2>conftest.er1
17301 grep -v '^ *+' conftest.er1
>conftest.err
17303 cat conftest.err
>&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); } &&
17306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17308 (eval $ac_try) 2>&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); }; } &&
17312 { ac_try
='test -s conftest.$ac_objext'
17313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17314 (eval $ac_try) 2>&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); }; }; then
17320 echo "$as_me: failed program was:" >&5
17321 sed 's/^/| /' conftest.
$ac_ext >&5
17325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17327 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17328 echo "${ECHO_T}$ac_cv_type_int" >&6
17330 echo "$as_me:$LINENO: checking size of int" >&5
17331 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17332 if test "${ac_cv_sizeof_int+set}" = set; then
17333 echo $ECHO_N "(cached) $ECHO_C" >&6
17335 if test "$ac_cv_type_int" = yes; then
17336 # The cast to unsigned long works around a bug in the HP C Compiler
17337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17338 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17339 # This bug is HP SR number 8606223364.
17340 if test "$cross_compiling" = yes; then
17341 # Depending upon the size, compute the lo and hi bounds.
17342 cat >conftest.
$ac_ext <<_ACEOF
17345 cat confdefs.h
>>conftest.
$ac_ext
17346 cat >>conftest.
$ac_ext <<_ACEOF
17347 /* end confdefs.h. */
17348 $ac_includes_default
17352 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17359 rm -f conftest.
$ac_objext
17360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17361 (eval $ac_compile) 2>conftest.er1
17363 grep -v '^ *+' conftest.er1
>conftest.err
17365 cat conftest.err
>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } &&
17368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; } &&
17374 { ac_try
='test -s conftest.$ac_objext'
17375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17376 (eval $ac_try) 2>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; }; then
17382 cat >conftest.
$ac_ext <<_ACEOF
17385 cat confdefs.h
>>conftest.
$ac_ext
17386 cat >>conftest.
$ac_ext <<_ACEOF
17387 /* end confdefs.h. */
17388 $ac_includes_default
17392 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17399 rm -f conftest.
$ac_objext
17400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17401 (eval $ac_compile) 2>conftest.er1
17403 grep -v '^ *+' conftest.er1
>conftest.err
17405 cat conftest.err
>&5
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); } &&
17408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17410 (eval $ac_try) 2>&5
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); }; } &&
17414 { ac_try
='test -s conftest.$ac_objext'
17415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17416 (eval $ac_try) 2>&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); }; }; then
17420 ac_hi
=$ac_mid; break
17422 echo "$as_me: failed program was:" >&5
17423 sed 's/^/| /' conftest.
$ac_ext >&5
17425 ac_lo
=`expr $ac_mid + 1`
17426 if test $ac_lo -le $ac_mid; then
17430 ac_mid
=`expr 2 '*' $ac_mid + 1`
17432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17435 echo "$as_me: failed program was:" >&5
17436 sed 's/^/| /' conftest.
$ac_ext >&5
17438 cat >conftest.
$ac_ext <<_ACEOF
17441 cat confdefs.h
>>conftest.
$ac_ext
17442 cat >>conftest.
$ac_ext <<_ACEOF
17443 /* end confdefs.h. */
17444 $ac_includes_default
17448 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17455 rm -f conftest.
$ac_objext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17457 (eval $ac_compile) 2>conftest.er1
17459 grep -v '^ *+' conftest.er1
>conftest.err
17461 cat conftest.err
>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; } &&
17470 { ac_try
='test -s conftest.$ac_objext'
17471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17472 (eval $ac_try) 2>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; }; then
17478 cat >conftest.
$ac_ext <<_ACEOF
17481 cat confdefs.h
>>conftest.
$ac_ext
17482 cat >>conftest.
$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17484 $ac_includes_default
17488 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17495 rm -f conftest.
$ac_objext
17496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17497 (eval $ac_compile) 2>conftest.er1
17499 grep -v '^ *+' conftest.er1
>conftest.err
17501 cat conftest.err
>&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } &&
17504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; } &&
17510 { ac_try
='test -s conftest.$ac_objext'
17511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17512 (eval $ac_try) 2>&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); }; }; then
17516 ac_lo
=$ac_mid; break
17518 echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.
$ac_ext >&5
17521 ac_hi
=`expr '(' $ac_mid ')' - 1`
17522 if test $ac_mid -le $ac_hi; then
17526 ac_mid
=`expr 2 '*' $ac_mid`
17528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17531 echo "$as_me: failed program was:" >&5
17532 sed 's/^/| /' conftest.
$ac_ext >&5
17536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17539 # Binary search between lo and hi bounds.
17540 while test "x$ac_lo" != "x$ac_hi"; do
17541 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17542 cat >conftest.
$ac_ext <<_ACEOF
17545 cat confdefs.h
>>conftest.
$ac_ext
17546 cat >>conftest.
$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 $ac_includes_default
17552 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17559 rm -f conftest.
$ac_objext
17560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17561 (eval $ac_compile) 2>conftest.er1
17563 grep -v '^ *+' conftest.er1
>conftest.err
17565 cat conftest.err
>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } &&
17568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; } &&
17574 { ac_try
='test -s conftest.$ac_objext'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; }; then
17582 echo "$as_me: failed program was:" >&5
17583 sed 's/^/| /' conftest.
$ac_ext >&5
17585 ac_lo
=`expr '(' $ac_mid ')' + 1`
17587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17590 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17591 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17592 See \`config.log' for more details." >&5
17593 echo "$as_me: error: cannot compute sizeof (int), 77
17594 See \`config.log' for more details." >&2;}
17595 { (exit 1); exit 1; }; } ;;
17598 if test "$cross_compiling" = yes; then
17599 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17600 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17601 { (exit 1); exit 1; }; }
17603 cat >conftest.
$ac_ext <<_ACEOF
17606 cat confdefs.h
>>conftest.
$ac_ext
17607 cat >>conftest.
$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17609 $ac_includes_default
17610 long longval () { return (long) (sizeof (int)); }
17611 unsigned long ulongval () { return (long) (sizeof (int)); }
17613 #include <stdlib.h>
17618 FILE *f = fopen ("conftest.val", "w");
17621 if (((long) (sizeof (int))) < 0)
17623 long i = longval ();
17624 if (i != ((long) (sizeof (int))))
17626 fprintf (f, "%ld\n", i);
17630 unsigned long i = ulongval ();
17631 if (i != ((long) (sizeof (int))))
17633 fprintf (f, "%lu\n", i);
17635 exit (ferror (f) || fclose (f) != 0);
17641 rm -f conftest
$ac_exeext
17642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17643 (eval $ac_link) 2>&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; }; then
17652 ac_cv_sizeof_int
=`cat conftest.val`
17654 echo "$as_me: program exited with status $ac_status" >&5
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.
$ac_ext >&5
17658 ( exit $ac_status )
17659 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17660 See \`config.log' for more details." >&5
17661 echo "$as_me: error: cannot compute sizeof (int), 77
17662 See \`config.log' for more details." >&2;}
17663 { (exit 1); exit 1; }; }
17665 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17673 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17674 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17675 cat >>confdefs.h
<<_ACEOF
17676 #define SIZEOF_INT $ac_cv_sizeof_int
17680 echo "$as_me:$LINENO: checking for long" >&5
17681 echo $ECHO_N "checking for long... $ECHO_C" >&6
17682 if test "${ac_cv_type_long+set}" = set; then
17683 echo $ECHO_N "(cached) $ECHO_C" >&6
17685 cat >conftest.
$ac_ext <<_ACEOF
17688 cat confdefs.h
>>conftest.
$ac_ext
17689 cat >>conftest.
$ac_ext <<_ACEOF
17690 /* end confdefs.h. */
17691 $ac_includes_default
17703 rm -f conftest.
$ac_objext
17704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17705 (eval $ac_compile) 2>conftest.er1
17707 grep -v '^ *+' conftest.er1
>conftest.err
17709 cat conftest.err
>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } &&
17712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17718 { ac_try
='test -s conftest.$ac_objext'
17719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17720 (eval $ac_try) 2>&5
17722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 (exit $ac_status); }; }; then
17724 ac_cv_type_long
=yes
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.
$ac_ext >&5
17731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17733 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17734 echo "${ECHO_T}$ac_cv_type_long" >&6
17736 echo "$as_me:$LINENO: checking size of long" >&5
17737 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17738 if test "${ac_cv_sizeof_long+set}" = set; then
17739 echo $ECHO_N "(cached) $ECHO_C" >&6
17741 if test "$ac_cv_type_long" = yes; then
17742 # The cast to unsigned long works around a bug in the HP C Compiler
17743 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17744 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17745 # This bug is HP SR number 8606223364.
17746 if test "$cross_compiling" = yes; then
17747 # Depending upon the size, compute the lo and hi bounds.
17748 cat >conftest.
$ac_ext <<_ACEOF
17751 cat confdefs.h
>>conftest.
$ac_ext
17752 cat >>conftest.
$ac_ext <<_ACEOF
17753 /* end confdefs.h. */
17754 $ac_includes_default
17758 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17765 rm -f conftest.
$ac_objext
17766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17767 (eval $ac_compile) 2>conftest.er1
17769 grep -v '^ *+' conftest.er1
>conftest.err
17771 cat conftest.err
>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } &&
17774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; } &&
17780 { ac_try
='test -s conftest.$ac_objext'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17788 cat >conftest.
$ac_ext <<_ACEOF
17791 cat confdefs.h
>>conftest.
$ac_ext
17792 cat >>conftest.
$ac_ext <<_ACEOF
17793 /* end confdefs.h. */
17794 $ac_includes_default
17798 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17805 rm -f conftest.
$ac_objext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17807 (eval $ac_compile) 2>conftest.er1
17809 grep -v '^ *+' conftest.er1
>conftest.err
17811 cat conftest.err
>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); } &&
17814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; } &&
17820 { ac_try
='test -s conftest.$ac_objext'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; }; then
17826 ac_hi
=$ac_mid; break
17828 echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.
$ac_ext >&5
17831 ac_lo
=`expr $ac_mid + 1`
17832 if test $ac_lo -le $ac_mid; then
17836 ac_mid
=`expr 2 '*' $ac_mid + 1`
17838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.
$ac_ext >&5
17844 cat >conftest.
$ac_ext <<_ACEOF
17847 cat confdefs.h
>>conftest.
$ac_ext
17848 cat >>conftest.
$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17850 $ac_includes_default
17854 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17861 rm -f conftest.
$ac_objext
17862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17863 (eval $ac_compile) 2>conftest.er1
17865 grep -v '^ *+' conftest.er1
>conftest.err
17867 cat conftest.err
>&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); } &&
17870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17872 (eval $ac_try) 2>&5
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); }; } &&
17876 { ac_try
='test -s conftest.$ac_objext'
17877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17878 (eval $ac_try) 2>&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); }; }; then
17884 cat >conftest.
$ac_ext <<_ACEOF
17887 cat confdefs.h
>>conftest.
$ac_ext
17888 cat >>conftest.
$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890 $ac_includes_default
17894 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17901 rm -f conftest.
$ac_objext
17902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17903 (eval $ac_compile) 2>conftest.er1
17905 grep -v '^ *+' conftest.er1
>conftest.err
17907 cat conftest.err
>&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); } &&
17910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912 (eval $ac_try) 2>&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; } &&
17916 { ac_try
='test -s conftest.$ac_objext'
17917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918 (eval $ac_try) 2>&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); }; }; then
17922 ac_lo
=$ac_mid; break
17924 echo "$as_me: failed program was:" >&5
17925 sed 's/^/| /' conftest.
$ac_ext >&5
17927 ac_hi
=`expr '(' $ac_mid ')' - 1`
17928 if test $ac_mid -le $ac_hi; then
17932 ac_mid
=`expr 2 '*' $ac_mid`
17934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17937 echo "$as_me: failed program was:" >&5
17938 sed 's/^/| /' conftest.
$ac_ext >&5
17942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17945 # Binary search between lo and hi bounds.
17946 while test "x$ac_lo" != "x$ac_hi"; do
17947 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17948 cat >conftest.
$ac_ext <<_ACEOF
17951 cat confdefs.h
>>conftest.
$ac_ext
17952 cat >>conftest.
$ac_ext <<_ACEOF
17953 /* end confdefs.h. */
17954 $ac_includes_default
17958 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17965 rm -f conftest.
$ac_objext
17966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17967 (eval $ac_compile) 2>conftest.er1
17969 grep -v '^ *+' conftest.er1
>conftest.err
17971 cat conftest.err
>&5
17972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17973 (exit $ac_status); } &&
17974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17976 (eval $ac_try) 2>&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); }; } &&
17980 { ac_try
='test -s conftest.$ac_objext'
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; }; then
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.
$ac_ext >&5
17991 ac_lo
=`expr '(' $ac_mid ')' + 1`
17993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17996 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17997 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17998 See \`config.log' for more details." >&5
17999 echo "$as_me: error: cannot compute sizeof (long), 77
18000 See \`config.log' for more details." >&2;}
18001 { (exit 1); exit 1; }; } ;;
18004 if test "$cross_compiling" = yes; then
18005 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18006 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18007 { (exit 1); exit 1; }; }
18009 cat >conftest.
$ac_ext <<_ACEOF
18012 cat confdefs.h
>>conftest.
$ac_ext
18013 cat >>conftest.
$ac_ext <<_ACEOF
18014 /* end confdefs.h. */
18015 $ac_includes_default
18016 long longval () { return (long) (sizeof (long)); }
18017 unsigned long ulongval () { return (long) (sizeof (long)); }
18019 #include <stdlib.h>
18024 FILE *f = fopen ("conftest.val", "w");
18027 if (((long) (sizeof (long))) < 0)
18029 long i = longval ();
18030 if (i != ((long) (sizeof (long))))
18032 fprintf (f, "%ld\n", i);
18036 unsigned long i = ulongval ();
18037 if (i != ((long) (sizeof (long))))
18039 fprintf (f, "%lu\n", i);
18041 exit (ferror (f) || fclose (f) != 0);
18047 rm -f conftest
$ac_exeext
18048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18049 (eval $ac_link) 2>&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; }; then
18058 ac_cv_sizeof_long
=`cat conftest.val`
18060 echo "$as_me: program exited with status $ac_status" >&5
18061 echo "$as_me: failed program was:" >&5
18062 sed 's/^/| /' conftest.
$ac_ext >&5
18064 ( exit $ac_status )
18065 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18066 See \`config.log' for more details." >&5
18067 echo "$as_me: error: cannot compute sizeof (long), 77
18068 See \`config.log' for more details." >&2;}
18069 { (exit 1); exit 1; }; }
18071 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18076 ac_cv_sizeof_long
=0
18079 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18080 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18081 cat >>confdefs.h
<<_ACEOF
18082 #define SIZEOF_LONG $ac_cv_sizeof_long
18086 echo "$as_me:$LINENO: checking for size_t" >&5
18087 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18088 if test "${ac_cv_type_size_t+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 cat >conftest.
$ac_ext <<_ACEOF
18094 cat confdefs.h
>>conftest.
$ac_ext
18095 cat >>conftest.
$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18097 $ac_includes_default
18103 if (sizeof (size_t))
18109 rm -f conftest.
$ac_objext
18110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18111 (eval $ac_compile) 2>conftest.er1
18113 grep -v '^ *+' conftest.er1
>conftest.err
18115 cat conftest.err
>&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } &&
18118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18120 (eval $ac_try) 2>&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); }; } &&
18124 { ac_try
='test -s conftest.$ac_objext'
18125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18126 (eval $ac_try) 2>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; }; then
18130 ac_cv_type_size_t
=yes
18132 echo "$as_me: failed program was:" >&5
18133 sed 's/^/| /' conftest.
$ac_ext >&5
18135 ac_cv_type_size_t
=no
18137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18139 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18140 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18142 echo "$as_me:$LINENO: checking size of size_t" >&5
18143 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18144 if test "${ac_cv_sizeof_size_t+set}" = set; then
18145 echo $ECHO_N "(cached) $ECHO_C" >&6
18147 if test "$ac_cv_type_size_t" = yes; then
18148 # The cast to unsigned long works around a bug in the HP C Compiler
18149 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18150 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18151 # This bug is HP SR number 8606223364.
18152 if test "$cross_compiling" = yes; then
18153 # Depending upon the size, compute the lo and hi bounds.
18154 cat >conftest.
$ac_ext <<_ACEOF
18157 cat confdefs.h
>>conftest.
$ac_ext
18158 cat >>conftest.
$ac_ext <<_ACEOF
18159 /* end confdefs.h. */
18160 $ac_includes_default
18164 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18171 rm -f conftest.
$ac_objext
18172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18173 (eval $ac_compile) 2>conftest.er1
18175 grep -v '^ *+' conftest.er1
>conftest.err
18177 cat conftest.err
>&5
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); } &&
18180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18182 (eval $ac_try) 2>&5
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); }; } &&
18186 { ac_try
='test -s conftest.$ac_objext'
18187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18188 (eval $ac_try) 2>&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); }; }; then
18194 cat >conftest.
$ac_ext <<_ACEOF
18197 cat confdefs.h
>>conftest.
$ac_ext
18198 cat >>conftest.
$ac_ext <<_ACEOF
18199 /* end confdefs.h. */
18200 $ac_includes_default
18204 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18211 rm -f conftest.
$ac_objext
18212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18213 (eval $ac_compile) 2>conftest.er1
18215 grep -v '^ *+' conftest.er1
>conftest.err
18217 cat conftest.err
>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } &&
18220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222 (eval $ac_try) 2>&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); }; } &&
18226 { ac_try
='test -s conftest.$ac_objext'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; }; then
18232 ac_hi
=$ac_mid; break
18234 echo "$as_me: failed program was:" >&5
18235 sed 's/^/| /' conftest.
$ac_ext >&5
18237 ac_lo
=`expr $ac_mid + 1`
18238 if test $ac_lo -le $ac_mid; then
18242 ac_mid
=`expr 2 '*' $ac_mid + 1`
18244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18247 echo "$as_me: failed program was:" >&5
18248 sed 's/^/| /' conftest.
$ac_ext >&5
18250 cat >conftest.
$ac_ext <<_ACEOF
18253 cat confdefs.h
>>conftest.
$ac_ext
18254 cat >>conftest.
$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18256 $ac_includes_default
18260 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
18267 rm -f conftest.
$ac_objext
18268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18269 (eval $ac_compile) 2>conftest.er1
18271 grep -v '^ *+' conftest.er1
>conftest.err
18273 cat conftest.err
>&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); } &&
18276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; } &&
18282 { ac_try
='test -s conftest.$ac_objext'
18283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284 (eval $ac_try) 2>&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; }; then
18290 cat >conftest.
$ac_ext <<_ACEOF
18293 cat confdefs.h
>>conftest.
$ac_ext
18294 cat >>conftest.
$ac_ext <<_ACEOF
18295 /* end confdefs.h. */
18296 $ac_includes_default
18300 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
18307 rm -f conftest.
$ac_objext
18308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18309 (eval $ac_compile) 2>conftest.er1
18311 grep -v '^ *+' conftest.er1
>conftest.err
18313 cat conftest.err
>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } &&
18316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; } &&
18322 { ac_try
='test -s conftest.$ac_objext'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; }; then
18328 ac_lo
=$ac_mid; break
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.
$ac_ext >&5
18333 ac_hi
=`expr '(' $ac_mid ')' - 1`
18334 if test $ac_mid -le $ac_hi; then
18338 ac_mid
=`expr 2 '*' $ac_mid`
18340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18343 echo "$as_me: failed program was:" >&5
18344 sed 's/^/| /' conftest.
$ac_ext >&5
18348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18351 # Binary search between lo and hi bounds.
18352 while test "x$ac_lo" != "x$ac_hi"; do
18353 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18354 cat >conftest.
$ac_ext <<_ACEOF
18357 cat confdefs.h
>>conftest.
$ac_ext
18358 cat >>conftest.
$ac_ext <<_ACEOF
18359 /* end confdefs.h. */
18360 $ac_includes_default
18364 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18371 rm -f conftest.
$ac_objext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18373 (eval $ac_compile) 2>conftest.er1
18375 grep -v '^ *+' conftest.er1
>conftest.err
18377 cat conftest.err
>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } &&
18380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; } &&
18386 { ac_try
='test -s conftest.$ac_objext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.
$ac_ext >&5
18397 ac_lo
=`expr '(' $ac_mid ')' + 1`
18399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18402 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
18403 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18404 See \`config.log' for more details." >&5
18405 echo "$as_me: error: cannot compute sizeof (size_t), 77
18406 See \`config.log' for more details." >&2;}
18407 { (exit 1); exit 1; }; } ;;
18410 if test "$cross_compiling" = yes; then
18411 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18412 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18413 { (exit 1); exit 1; }; }
18415 cat >conftest.
$ac_ext <<_ACEOF
18418 cat confdefs.h
>>conftest.
$ac_ext
18419 cat >>conftest.
$ac_ext <<_ACEOF
18420 /* end confdefs.h. */
18421 $ac_includes_default
18422 long longval () { return (long) (sizeof (size_t)); }
18423 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18425 #include <stdlib.h>
18430 FILE *f = fopen ("conftest.val", "w");
18433 if (((long) (sizeof (size_t))) < 0)
18435 long i = longval ();
18436 if (i != ((long) (sizeof (size_t))))
18438 fprintf (f, "%ld\n", i);
18442 unsigned long i = ulongval ();
18443 if (i != ((long) (sizeof (size_t))))
18445 fprintf (f, "%lu\n", i);
18447 exit (ferror (f) || fclose (f) != 0);
18453 rm -f conftest
$ac_exeext
18454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18455 (eval $ac_link) 2>&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460 (eval $ac_try) 2>&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); }; }; then
18464 ac_cv_sizeof_size_t
=`cat conftest.val`
18466 echo "$as_me: program exited with status $ac_status" >&5
18467 echo "$as_me: failed program was:" >&5
18468 sed 's/^/| /' conftest.
$ac_ext >&5
18470 ( exit $ac_status )
18471 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18472 See \`config.log' for more details." >&5
18473 echo "$as_me: error: cannot compute sizeof (size_t), 77
18474 See \`config.log' for more details." >&2;}
18475 { (exit 1); exit 1; }; }
18477 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18482 ac_cv_sizeof_size_t
=0
18485 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18486 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18487 cat >>confdefs.h
<<_ACEOF
18488 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18495 echo "$as_me:$LINENO: checking for long long" >&5
18496 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18497 if test "${ac_cv_type_long_long+set}" = set; then
18498 echo $ECHO_N "(cached) $ECHO_C" >&6
18500 cat >conftest.
$ac_ext <<_ACEOF
18503 cat confdefs.h
>>conftest.
$ac_ext
18504 cat >>conftest.
$ac_ext <<_ACEOF
18505 /* end confdefs.h. */
18506 $ac_includes_default
18510 if ((long long *) 0)
18512 if (sizeof (long long))
18518 rm -f conftest.
$ac_objext
18519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18520 (eval $ac_compile) 2>conftest.er1
18522 grep -v '^ *+' conftest.er1
>conftest.err
18524 cat conftest.err
>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } &&
18527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; } &&
18533 { ac_try
='test -s conftest.$ac_objext'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18539 ac_cv_type_long_long
=yes
18541 echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.
$ac_ext >&5
18544 ac_cv_type_long_long
=no
18546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18548 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18549 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18551 echo "$as_me:$LINENO: checking size of long long" >&5
18552 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18553 if test "${ac_cv_sizeof_long_long+set}" = set; then
18554 echo $ECHO_N "(cached) $ECHO_C" >&6
18556 if test "$ac_cv_type_long_long" = yes; then
18557 # The cast to unsigned long works around a bug in the HP C Compiler
18558 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18559 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18560 # This bug is HP SR number 8606223364.
18561 if test "$cross_compiling" = yes; then
18562 # Depending upon the size, compute the lo and hi bounds.
18563 cat >conftest.
$ac_ext <<_ACEOF
18566 cat confdefs.h
>>conftest.
$ac_ext
18567 cat >>conftest.
$ac_ext <<_ACEOF
18568 /* end confdefs.h. */
18569 $ac_includes_default
18573 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18580 rm -f conftest.
$ac_objext
18581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18582 (eval $ac_compile) 2>conftest.er1
18584 grep -v '^ *+' conftest.er1
>conftest.err
18586 cat conftest.err
>&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); } &&
18589 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18591 (eval $ac_try) 2>&5
18593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18594 (exit $ac_status); }; } &&
18595 { ac_try
='test -s conftest.$ac_objext'
18596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18597 (eval $ac_try) 2>&5
18599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600 (exit $ac_status); }; }; then
18603 cat >conftest.
$ac_ext <<_ACEOF
18606 cat confdefs.h
>>conftest.
$ac_ext
18607 cat >>conftest.
$ac_ext <<_ACEOF
18608 /* end confdefs.h. */
18609 $ac_includes_default
18613 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18620 rm -f conftest.
$ac_objext
18621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18622 (eval $ac_compile) 2>conftest.er1
18624 grep -v '^ *+' conftest.er1
>conftest.err
18626 cat conftest.err
>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); } &&
18629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; } &&
18635 { ac_try
='test -s conftest.$ac_objext'
18636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637 (eval $ac_try) 2>&5
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); }; }; then
18641 ac_hi
=$ac_mid; break
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.
$ac_ext >&5
18646 ac_lo
=`expr $ac_mid + 1`
18647 if test $ac_lo -le $ac_mid; then
18651 ac_mid
=`expr 2 '*' $ac_mid + 1`
18653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18656 echo "$as_me: failed program was:" >&5
18657 sed 's/^/| /' conftest.
$ac_ext >&5
18659 cat >conftest.
$ac_ext <<_ACEOF
18662 cat confdefs.h
>>conftest.
$ac_ext
18663 cat >>conftest.
$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18665 $ac_includes_default
18669 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18676 rm -f conftest.
$ac_objext
18677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18678 (eval $ac_compile) 2>conftest.er1
18680 grep -v '^ *+' conftest.er1
>conftest.err
18682 cat conftest.err
>&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } &&
18685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18687 (eval $ac_try) 2>&5
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); }; } &&
18691 { ac_try
='test -s conftest.$ac_objext'
18692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18693 (eval $ac_try) 2>&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); }; }; then
18699 cat >conftest.
$ac_ext <<_ACEOF
18702 cat confdefs.h
>>conftest.
$ac_ext
18703 cat >>conftest.
$ac_ext <<_ACEOF
18704 /* end confdefs.h. */
18705 $ac_includes_default
18709 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18716 rm -f conftest.
$ac_objext
18717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18718 (eval $ac_compile) 2>conftest.er1
18720 grep -v '^ *+' conftest.er1
>conftest.err
18722 cat conftest.err
>&5
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); } &&
18725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; } &&
18731 { ac_try
='test -s conftest.$ac_objext'
18732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18733 (eval $ac_try) 2>&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); }; }; then
18737 ac_lo
=$ac_mid; break
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.
$ac_ext >&5
18742 ac_hi
=`expr '(' $ac_mid ')' - 1`
18743 if test $ac_mid -le $ac_hi; then
18747 ac_mid
=`expr 2 '*' $ac_mid`
18749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.
$ac_ext >&5
18757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18760 # Binary search between lo and hi bounds.
18761 while test "x$ac_lo" != "x$ac_hi"; do
18762 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18763 cat >conftest.
$ac_ext <<_ACEOF
18766 cat confdefs.h
>>conftest.
$ac_ext
18767 cat >>conftest.
$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 $ac_includes_default
18773 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18780 rm -f conftest.
$ac_objext
18781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18782 (eval $ac_compile) 2>conftest.er1
18784 grep -v '^ *+' conftest.er1
>conftest.err
18786 cat conftest.err
>&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } &&
18789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; } &&
18795 { ac_try
='test -s conftest.$ac_objext'
18796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797 (eval $ac_try) 2>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }; }; then
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.
$ac_ext >&5
18806 ac_lo
=`expr '(' $ac_mid ')' + 1`
18808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18811 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18812 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18813 See \`config.log' for more details." >&5
18814 echo "$as_me: error: cannot compute sizeof (long long), 77
18815 See \`config.log' for more details." >&2;}
18816 { (exit 1); exit 1; }; } ;;
18819 if test "$cross_compiling" = yes; then
18820 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18821 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18822 { (exit 1); exit 1; }; }
18824 cat >conftest.
$ac_ext <<_ACEOF
18827 cat confdefs.h
>>conftest.
$ac_ext
18828 cat >>conftest.
$ac_ext <<_ACEOF
18829 /* end confdefs.h. */
18830 $ac_includes_default
18831 long longval () { return (long) (sizeof (long long)); }
18832 unsigned long ulongval () { return (long) (sizeof (long long)); }
18834 #include <stdlib.h>
18839 FILE *f = fopen ("conftest.val", "w");
18842 if (((long) (sizeof (long long))) < 0)
18844 long i = longval ();
18845 if (i != ((long) (sizeof (long long))))
18847 fprintf (f, "%ld\n", i);
18851 unsigned long i = ulongval ();
18852 if (i != ((long) (sizeof (long long))))
18854 fprintf (f, "%lu\n", i);
18856 exit (ferror (f) || fclose (f) != 0);
18862 rm -f conftest
$ac_exeext
18863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18864 (eval $ac_link) 2>&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18869 (eval $ac_try) 2>&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); }; }; then
18873 ac_cv_sizeof_long_long
=`cat conftest.val`
18875 echo "$as_me: program exited with status $ac_status" >&5
18876 echo "$as_me: failed program was:" >&5
18877 sed 's/^/| /' conftest.
$ac_ext >&5
18879 ( exit $ac_status )
18880 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18881 See \`config.log' for more details." >&5
18882 echo "$as_me: error: cannot compute sizeof (long long), 77
18883 See \`config.log' for more details." >&2;}
18884 { (exit 1); exit 1; }; }
18886 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18891 ac_cv_sizeof_long_long
=0
18894 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18895 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18896 cat >>confdefs.h
<<_ACEOF
18897 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18903 echo "$as_me:$LINENO: checking for long long" >&5
18904 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18905 if test "${ac_cv_type_long_long+set}" = set; then
18906 echo $ECHO_N "(cached) $ECHO_C" >&6
18908 cat >conftest.
$ac_ext <<_ACEOF
18911 cat confdefs.h
>>conftest.
$ac_ext
18912 cat >>conftest.
$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18914 $ac_includes_default
18918 if ((long long *) 0)
18920 if (sizeof (long long))
18926 rm -f conftest.
$ac_objext
18927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18928 (eval $ac_compile) 2>conftest.er1
18930 grep -v '^ *+' conftest.er1
>conftest.err
18932 cat conftest.err
>&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } &&
18935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18937 (eval $ac_try) 2>&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); }; } &&
18941 { ac_try
='test -s conftest.$ac_objext'
18942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943 (eval $ac_try) 2>&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); }; }; then
18947 ac_cv_type_long_long
=yes
18949 echo "$as_me: failed program was:" >&5
18950 sed 's/^/| /' conftest.
$ac_ext >&5
18952 ac_cv_type_long_long
=no
18954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18956 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18957 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18959 echo "$as_me:$LINENO: checking size of long long" >&5
18960 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18961 if test "${ac_cv_sizeof_long_long+set}" = set; then
18962 echo $ECHO_N "(cached) $ECHO_C" >&6
18964 if test "$ac_cv_type_long_long" = yes; then
18965 # The cast to unsigned long works around a bug in the HP C Compiler
18966 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18967 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18968 # This bug is HP SR number 8606223364.
18969 if test "$cross_compiling" = yes; then
18970 # Depending upon the size, compute the lo and hi bounds.
18971 cat >conftest.
$ac_ext <<_ACEOF
18974 cat confdefs.h
>>conftest.
$ac_ext
18975 cat >>conftest.
$ac_ext <<_ACEOF
18976 /* end confdefs.h. */
18977 $ac_includes_default
18981 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18988 rm -f conftest.
$ac_objext
18989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18990 (eval $ac_compile) 2>conftest.er1
18992 grep -v '^ *+' conftest.er1
>conftest.err
18994 cat conftest.err
>&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } &&
18997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; } &&
19003 { ac_try
='test -s conftest.$ac_objext'
19004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 (eval $ac_try) 2>&5
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); }; }; then
19011 cat >conftest.
$ac_ext <<_ACEOF
19014 cat confdefs.h
>>conftest.
$ac_ext
19015 cat >>conftest.
$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 $ac_includes_default
19021 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19028 rm -f conftest.
$ac_objext
19029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19030 (eval $ac_compile) 2>conftest.er1
19032 grep -v '^ *+' conftest.er1
>conftest.err
19034 cat conftest.err
>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); } &&
19037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039 (eval $ac_try) 2>&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); }; } &&
19043 { ac_try
='test -s conftest.$ac_objext'
19044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19045 (eval $ac_try) 2>&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); }; }; then
19049 ac_hi
=$ac_mid; break
19051 echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.
$ac_ext >&5
19054 ac_lo
=`expr $ac_mid + 1`
19055 if test $ac_lo -le $ac_mid; then
19059 ac_mid
=`expr 2 '*' $ac_mid + 1`
19061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.
$ac_ext >&5
19067 cat >conftest.
$ac_ext <<_ACEOF
19070 cat confdefs.h
>>conftest.
$ac_ext
19071 cat >>conftest.
$ac_ext <<_ACEOF
19072 /* end confdefs.h. */
19073 $ac_includes_default
19077 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19084 rm -f conftest.
$ac_objext
19085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19086 (eval $ac_compile) 2>conftest.er1
19088 grep -v '^ *+' conftest.er1
>conftest.err
19090 cat conftest.err
>&5
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); } &&
19093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19095 (eval $ac_try) 2>&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); }; } &&
19099 { ac_try
='test -s conftest.$ac_objext'
19100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19101 (eval $ac_try) 2>&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); }; }; then
19107 cat >conftest.
$ac_ext <<_ACEOF
19110 cat confdefs.h
>>conftest.
$ac_ext
19111 cat >>conftest.
$ac_ext <<_ACEOF
19112 /* end confdefs.h. */
19113 $ac_includes_default
19117 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19124 rm -f conftest.
$ac_objext
19125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19126 (eval $ac_compile) 2>conftest.er1
19128 grep -v '^ *+' conftest.er1
>conftest.err
19130 cat conftest.err
>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } &&
19133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 (eval $ac_try) 2>&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); }; } &&
19139 { ac_try
='test -s conftest.$ac_objext'
19140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19141 (eval $ac_try) 2>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); }; }; then
19145 ac_lo
=$ac_mid; break
19147 echo "$as_me: failed program was:" >&5
19148 sed 's/^/| /' conftest.
$ac_ext >&5
19150 ac_hi
=`expr '(' $ac_mid ')' - 1`
19151 if test $ac_mid -le $ac_hi; then
19155 ac_mid
=`expr 2 '*' $ac_mid`
19157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.
$ac_ext >&5
19165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19168 # Binary search between lo and hi bounds.
19169 while test "x$ac_lo" != "x$ac_hi"; do
19170 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19171 cat >conftest.
$ac_ext <<_ACEOF
19174 cat confdefs.h
>>conftest.
$ac_ext
19175 cat >>conftest.
$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 $ac_includes_default
19181 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19188 rm -f conftest.
$ac_objext
19189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19190 (eval $ac_compile) 2>conftest.er1
19192 grep -v '^ *+' conftest.er1
>conftest.err
19194 cat conftest.err
>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } &&
19197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199 (eval $ac_try) 2>&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); }; } &&
19203 { ac_try
='test -s conftest.$ac_objext'
19204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205 (eval $ac_try) 2>&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); }; }; then
19211 echo "$as_me: failed program was:" >&5
19212 sed 's/^/| /' conftest.
$ac_ext >&5
19214 ac_lo
=`expr '(' $ac_mid ')' + 1`
19216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19219 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19220 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19221 See \`config.log' for more details." >&5
19222 echo "$as_me: error: cannot compute sizeof (long long), 77
19223 See \`config.log' for more details." >&2;}
19224 { (exit 1); exit 1; }; } ;;
19227 if test "$cross_compiling" = yes; then
19228 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19229 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19230 { (exit 1); exit 1; }; }
19232 cat >conftest.
$ac_ext <<_ACEOF
19235 cat confdefs.h
>>conftest.
$ac_ext
19236 cat >>conftest.
$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19238 $ac_includes_default
19239 long longval () { return (long) (sizeof (long long)); }
19240 unsigned long ulongval () { return (long) (sizeof (long long)); }
19242 #include <stdlib.h>
19247 FILE *f = fopen ("conftest.val", "w");
19250 if (((long) (sizeof (long long))) < 0)
19252 long i = longval ();
19253 if (i != ((long) (sizeof (long long))))
19255 fprintf (f, "%ld\n", i);
19259 unsigned long i = ulongval ();
19260 if (i != ((long) (sizeof (long long))))
19262 fprintf (f, "%lu\n", i);
19264 exit (ferror (f) || fclose (f) != 0);
19270 rm -f conftest
$ac_exeext
19271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19272 (eval $ac_link) 2>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19277 (eval $ac_try) 2>&5
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); }; }; then
19281 ac_cv_sizeof_long_long
=`cat conftest.val`
19283 echo "$as_me: program exited with status $ac_status" >&5
19284 echo "$as_me: failed program was:" >&5
19285 sed 's/^/| /' conftest.
$ac_ext >&5
19287 ( exit $ac_status )
19288 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19289 See \`config.log' for more details." >&5
19290 echo "$as_me: error: cannot compute sizeof (long long), 77
19291 See \`config.log' for more details." >&2;}
19292 { (exit 1); exit 1; }; }
19294 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19299 ac_cv_sizeof_long_long
=0
19302 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19303 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19304 cat >>confdefs.h
<<_ACEOF
19305 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19309 if test "$ac_cv_sizeof_long_long" != "0"; then
19310 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
19314 echo "$as_me:$LINENO: checking for long long" >&5
19315 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19316 if test "${ac_cv_type_long_long+set}" = set; then
19317 echo $ECHO_N "(cached) $ECHO_C" >&6
19319 cat >conftest.
$ac_ext <<_ACEOF
19322 cat confdefs.h
>>conftest.
$ac_ext
19323 cat >>conftest.
$ac_ext <<_ACEOF
19324 /* end confdefs.h. */
19325 $ac_includes_default
19329 if ((long long *) 0)
19331 if (sizeof (long long))
19337 rm -f conftest.
$ac_objext
19338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19339 (eval $ac_compile) 2>conftest.er1
19341 grep -v '^ *+' conftest.er1
>conftest.err
19343 cat conftest.err
>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); } &&
19346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19348 (eval $ac_try) 2>&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); }; } &&
19352 { ac_try
='test -s conftest.$ac_objext'
19353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19354 (eval $ac_try) 2>&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); }; }; then
19358 ac_cv_type_long_long
=yes
19360 echo "$as_me: failed program was:" >&5
19361 sed 's/^/| /' conftest.
$ac_ext >&5
19363 ac_cv_type_long_long
=no
19365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19367 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19368 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19370 echo "$as_me:$LINENO: checking size of long long" >&5
19371 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19372 if test "${ac_cv_sizeof_long_long+set}" = set; then
19373 echo $ECHO_N "(cached) $ECHO_C" >&6
19375 if test "$ac_cv_type_long_long" = yes; then
19376 # The cast to unsigned long works around a bug in the HP C Compiler
19377 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19378 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19379 # This bug is HP SR number 8606223364.
19380 if test "$cross_compiling" = yes; then
19381 # Depending upon the size, compute the lo and hi bounds.
19382 cat >conftest.
$ac_ext <<_ACEOF
19385 cat confdefs.h
>>conftest.
$ac_ext
19386 cat >>conftest.
$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 $ac_includes_default
19392 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19399 rm -f conftest.
$ac_objext
19400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19401 (eval $ac_compile) 2>conftest.er1
19403 grep -v '^ *+' conftest.er1
>conftest.err
19405 cat conftest.err
>&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); } &&
19408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19410 (eval $ac_try) 2>&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); }; } &&
19414 { ac_try
='test -s conftest.$ac_objext'
19415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19416 (eval $ac_try) 2>&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); }; }; then
19422 cat >conftest.
$ac_ext <<_ACEOF
19425 cat confdefs.h
>>conftest.
$ac_ext
19426 cat >>conftest.
$ac_ext <<_ACEOF
19427 /* end confdefs.h. */
19428 $ac_includes_default
19432 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19439 rm -f conftest.
$ac_objext
19440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19441 (eval $ac_compile) 2>conftest.er1
19443 grep -v '^ *+' conftest.er1
>conftest.err
19445 cat conftest.err
>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } &&
19448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; } &&
19454 { ac_try
='test -s conftest.$ac_objext'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; }; then
19460 ac_hi
=$ac_mid; break
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.
$ac_ext >&5
19465 ac_lo
=`expr $ac_mid + 1`
19466 if test $ac_lo -le $ac_mid; then
19470 ac_mid
=`expr 2 '*' $ac_mid + 1`
19472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19475 echo "$as_me: failed program was:" >&5
19476 sed 's/^/| /' conftest.
$ac_ext >&5
19478 cat >conftest.
$ac_ext <<_ACEOF
19481 cat confdefs.h
>>conftest.
$ac_ext
19482 cat >>conftest.
$ac_ext <<_ACEOF
19483 /* end confdefs.h. */
19484 $ac_includes_default
19488 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19495 rm -f conftest.
$ac_objext
19496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19497 (eval $ac_compile) 2>conftest.er1
19499 grep -v '^ *+' conftest.er1
>conftest.err
19501 cat conftest.err
>&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); } &&
19504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19506 (eval $ac_try) 2>&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); }; } &&
19510 { ac_try
='test -s conftest.$ac_objext'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; }; then
19518 cat >conftest.
$ac_ext <<_ACEOF
19521 cat confdefs.h
>>conftest.
$ac_ext
19522 cat >>conftest.
$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524 $ac_includes_default
19528 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19535 rm -f conftest.
$ac_objext
19536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19537 (eval $ac_compile) 2>conftest.er1
19539 grep -v '^ *+' conftest.er1
>conftest.err
19541 cat conftest.err
>&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); } &&
19544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19546 (eval $ac_try) 2>&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; } &&
19550 { ac_try
='test -s conftest.$ac_objext'
19551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 (eval $ac_try) 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; }; then
19556 ac_lo
=$ac_mid; break
19558 echo "$as_me: failed program was:" >&5
19559 sed 's/^/| /' conftest.
$ac_ext >&5
19561 ac_hi
=`expr '(' $ac_mid ')' - 1`
19562 if test $ac_mid -le $ac_hi; then
19566 ac_mid
=`expr 2 '*' $ac_mid`
19568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19571 echo "$as_me: failed program was:" >&5
19572 sed 's/^/| /' conftest.
$ac_ext >&5
19576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19579 # Binary search between lo and hi bounds.
19580 while test "x$ac_lo" != "x$ac_hi"; do
19581 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19582 cat >conftest.
$ac_ext <<_ACEOF
19585 cat confdefs.h
>>conftest.
$ac_ext
19586 cat >>conftest.
$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19588 $ac_includes_default
19592 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19599 rm -f conftest.
$ac_objext
19600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19601 (eval $ac_compile) 2>conftest.er1
19603 grep -v '^ *+' conftest.er1
>conftest.err
19605 cat conftest.err
>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); } &&
19608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; } &&
19614 { ac_try
='test -s conftest.$ac_objext'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; }; then
19622 echo "$as_me: failed program was:" >&5
19623 sed 's/^/| /' conftest.
$ac_ext >&5
19625 ac_lo
=`expr '(' $ac_mid ')' + 1`
19627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19630 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19631 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19632 See \`config.log' for more details." >&5
19633 echo "$as_me: error: cannot compute sizeof (long long), 77
19634 See \`config.log' for more details." >&2;}
19635 { (exit 1); exit 1; }; } ;;
19638 if test "$cross_compiling" = yes; then
19639 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19640 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19641 { (exit 1); exit 1; }; }
19643 cat >conftest.
$ac_ext <<_ACEOF
19646 cat confdefs.h
>>conftest.
$ac_ext
19647 cat >>conftest.
$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 $ac_includes_default
19650 long longval () { return (long) (sizeof (long long)); }
19651 unsigned long ulongval () { return (long) (sizeof (long long)); }
19653 #include <stdlib.h>
19658 FILE *f = fopen ("conftest.val", "w");
19661 if (((long) (sizeof (long long))) < 0)
19663 long i = longval ();
19664 if (i != ((long) (sizeof (long long))))
19666 fprintf (f, "%ld\n", i);
19670 unsigned long i = ulongval ();
19671 if (i != ((long) (sizeof (long long))))
19673 fprintf (f, "%lu\n", i);
19675 exit (ferror (f) || fclose (f) != 0);
19681 rm -f conftest
$ac_exeext
19682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19683 (eval $ac_link) 2>&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688 (eval $ac_try) 2>&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; }; then
19692 ac_cv_sizeof_long_long
=`cat conftest.val`
19694 echo "$as_me: program exited with status $ac_status" >&5
19695 echo "$as_me: failed program was:" >&5
19696 sed 's/^/| /' conftest.
$ac_ext >&5
19698 ( exit $ac_status )
19699 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19700 See \`config.log' for more details." >&5
19701 echo "$as_me: error: cannot compute sizeof (long long), 77
19702 See \`config.log' for more details." >&2;}
19703 { (exit 1); exit 1; }; }
19705 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19710 ac_cv_sizeof_long_long
=0
19713 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19714 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19715 cat >>confdefs.h
<<_ACEOF
19716 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19722 echo "$as_me:$LINENO: checking for wchar_t" >&5
19723 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19724 if test "${ac_cv_type_wchar_t+set}" = set; then
19725 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 cat >conftest.
$ac_ext <<_ACEOF
19730 cat confdefs.h
>>conftest.
$ac_ext
19731 cat >>conftest.
$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19734 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19735 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19736 # error "fake wchar_t"
19738 #ifdef HAVE_WCHAR_H
19740 # include <stddef.h>
19742 # include <wchar.h>
19744 #ifdef HAVE_STDLIB_H
19745 # include <stdlib.h>
19756 if (sizeof (wchar_t))
19762 rm -f conftest.
$ac_objext
19763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19764 (eval $ac_compile) 2>conftest.er1
19766 grep -v '^ *+' conftest.er1
>conftest.err
19768 cat conftest.err
>&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); } &&
19771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773 (eval $ac_try) 2>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; } &&
19777 { ac_try
='test -s conftest.$ac_objext'
19778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19779 (eval $ac_try) 2>&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); }; }; then
19783 ac_cv_type_wchar_t
=yes
19785 echo "$as_me: failed program was:" >&5
19786 sed 's/^/| /' conftest.
$ac_ext >&5
19788 ac_cv_type_wchar_t
=no
19790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19792 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19793 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19795 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19796 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19797 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19798 echo $ECHO_N "(cached) $ECHO_C" >&6
19800 if test "$ac_cv_type_wchar_t" = yes; then
19801 # The cast to unsigned long works around a bug in the HP C Compiler
19802 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19803 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19804 # This bug is HP SR number 8606223364.
19805 if test "$cross_compiling" = yes; then
19806 # Depending upon the size, compute the lo and hi bounds.
19807 cat >conftest.
$ac_ext <<_ACEOF
19810 cat confdefs.h
>>conftest.
$ac_ext
19811 cat >>conftest.
$ac_ext <<_ACEOF
19812 /* end confdefs.h. */
19814 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19815 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19816 # error "fake wchar_t"
19818 #ifdef HAVE_WCHAR_H
19820 # include <stddef.h>
19822 # include <wchar.h>
19824 #ifdef HAVE_STDLIB_H
19825 # include <stdlib.h>
19834 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19841 rm -f conftest.
$ac_objext
19842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19843 (eval $ac_compile) 2>conftest.er1
19845 grep -v '^ *+' conftest.er1
>conftest.err
19847 cat conftest.err
>&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); } &&
19850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; } &&
19856 { ac_try
='test -s conftest.$ac_objext'
19857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19858 (eval $ac_try) 2>&5
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); }; }; then
19864 cat >conftest.
$ac_ext <<_ACEOF
19867 cat confdefs.h
>>conftest.
$ac_ext
19868 cat >>conftest.
$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19871 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19872 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19873 # error "fake wchar_t"
19875 #ifdef HAVE_WCHAR_H
19877 # include <stddef.h>
19879 # include <wchar.h>
19881 #ifdef HAVE_STDLIB_H
19882 # include <stdlib.h>
19891 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19898 rm -f conftest.
$ac_objext
19899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19900 (eval $ac_compile) 2>conftest.er1
19902 grep -v '^ *+' conftest.er1
>conftest.err
19904 cat conftest.err
>&5
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); } &&
19907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19909 (eval $ac_try) 2>&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); }; } &&
19913 { ac_try
='test -s conftest.$ac_objext'
19914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19915 (eval $ac_try) 2>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; }; then
19919 ac_hi
=$ac_mid; break
19921 echo "$as_me: failed program was:" >&5
19922 sed 's/^/| /' conftest.
$ac_ext >&5
19924 ac_lo
=`expr $ac_mid + 1`
19925 if test $ac_lo -le $ac_mid; then
19929 ac_mid
=`expr 2 '*' $ac_mid + 1`
19931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19934 echo "$as_me: failed program was:" >&5
19935 sed 's/^/| /' conftest.
$ac_ext >&5
19937 cat >conftest.
$ac_ext <<_ACEOF
19940 cat confdefs.h
>>conftest.
$ac_ext
19941 cat >>conftest.
$ac_ext <<_ACEOF
19942 /* end confdefs.h. */
19944 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19945 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19946 # error "fake wchar_t"
19948 #ifdef HAVE_WCHAR_H
19950 # include <stddef.h>
19952 # include <wchar.h>
19954 #ifdef HAVE_STDLIB_H
19955 # include <stdlib.h>
19964 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19971 rm -f conftest.
$ac_objext
19972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19973 (eval $ac_compile) 2>conftest.er1
19975 grep -v '^ *+' conftest.er1
>conftest.err
19977 cat conftest.err
>&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); } &&
19980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982 (eval $ac_try) 2>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; } &&
19986 { ac_try
='test -s conftest.$ac_objext'
19987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19988 (eval $ac_try) 2>&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); }; }; then
19994 cat >conftest.
$ac_ext <<_ACEOF
19997 cat confdefs.h
>>conftest.
$ac_ext
19998 cat >>conftest.
$ac_ext <<_ACEOF
19999 /* end confdefs.h. */
20001 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20002 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20003 # error "fake wchar_t"
20005 #ifdef HAVE_WCHAR_H
20007 # include <stddef.h>
20009 # include <wchar.h>
20011 #ifdef HAVE_STDLIB_H
20012 # include <stdlib.h>
20021 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20028 rm -f conftest.
$ac_objext
20029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20030 (eval $ac_compile) 2>conftest.er1
20032 grep -v '^ *+' conftest.er1
>conftest.err
20034 cat conftest.err
>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } &&
20037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20039 (eval $ac_try) 2>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); }; } &&
20043 { ac_try
='test -s conftest.$ac_objext'
20044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20045 (eval $ac_try) 2>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); }; }; then
20049 ac_lo
=$ac_mid; break
20051 echo "$as_me: failed program was:" >&5
20052 sed 's/^/| /' conftest.
$ac_ext >&5
20054 ac_hi
=`expr '(' $ac_mid ')' - 1`
20055 if test $ac_mid -le $ac_hi; then
20059 ac_mid
=`expr 2 '*' $ac_mid`
20061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.
$ac_ext >&5
20069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20072 # Binary search between lo and hi bounds.
20073 while test "x$ac_lo" != "x$ac_hi"; do
20074 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20075 cat >conftest.
$ac_ext <<_ACEOF
20078 cat confdefs.h
>>conftest.
$ac_ext
20079 cat >>conftest.
$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20082 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20083 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20084 # error "fake wchar_t"
20086 #ifdef HAVE_WCHAR_H
20088 # include <stddef.h>
20090 # include <wchar.h>
20092 #ifdef HAVE_STDLIB_H
20093 # include <stdlib.h>
20102 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20109 rm -f conftest.
$ac_objext
20110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20111 (eval $ac_compile) 2>conftest.er1
20113 grep -v '^ *+' conftest.er1
>conftest.err
20115 cat conftest.err
>&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); } &&
20118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120 (eval $ac_try) 2>&5
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); }; } &&
20124 { ac_try
='test -s conftest.$ac_objext'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; }; then
20132 echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.
$ac_ext >&5
20135 ac_lo
=`expr '(' $ac_mid ')' + 1`
20137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20140 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
20141 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20142 See \`config.log' for more details." >&5
20143 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20144 See \`config.log' for more details." >&2;}
20145 { (exit 1); exit 1; }; } ;;
20148 if test "$cross_compiling" = yes; then
20149 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20150 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20151 { (exit 1); exit 1; }; }
20153 cat >conftest.
$ac_ext <<_ACEOF
20156 cat confdefs.h
>>conftest.
$ac_ext
20157 cat >>conftest.
$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20160 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20161 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20162 # error "fake wchar_t"
20164 #ifdef HAVE_WCHAR_H
20166 # include <stddef.h>
20168 # include <wchar.h>
20170 #ifdef HAVE_STDLIB_H
20171 # include <stdlib.h>
20177 long longval () { return (long) (sizeof (wchar_t)); }
20178 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20180 #include <stdlib.h>
20185 FILE *f = fopen ("conftest.val", "w");
20188 if (((long) (sizeof (wchar_t))) < 0)
20190 long i = longval ();
20191 if (i != ((long) (sizeof (wchar_t))))
20193 fprintf (f, "%ld\n", i);
20197 unsigned long i = ulongval ();
20198 if (i != ((long) (sizeof (wchar_t))))
20200 fprintf (f, "%lu\n", i);
20202 exit (ferror (f) || fclose (f) != 0);
20208 rm -f conftest
$ac_exeext
20209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20210 (eval $ac_link) 2>&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20215 (eval $ac_try) 2>&5
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); }; }; then
20219 ac_cv_sizeof_wchar_t
=`cat conftest.val`
20221 echo "$as_me: program exited with status $ac_status" >&5
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.
$ac_ext >&5
20225 ( exit $ac_status )
20226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20227 See \`config.log' for more details." >&5
20228 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20229 See \`config.log' for more details." >&2;}
20230 { (exit 1); exit 1; }; }
20232 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20237 ac_cv_sizeof_wchar_t
=0
20240 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
20241 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
20242 cat >>confdefs.h
<<_ACEOF
20243 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20247 if test "$ac_cv_sizeof_wchar_t" != "0"; then
20253 echo "$as_me:$LINENO: checking for va_copy" >&5
20254 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
20255 if test "${wx_cv_func_va_copy+set}" = set; then
20256 echo $ECHO_N "(cached) $ECHO_C" >&6
20259 cat >conftest.
$ac_ext <<_ACEOF
20261 #include <stdarg.h>
20262 void foo(char *f, ...)
20276 rm -f conftest.
$ac_objext conftest
$ac_exeext
20277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20278 (eval $ac_link) 2>conftest.er1
20280 grep -v '^ *+' conftest.er1
>conftest.err
20282 cat conftest.err
>&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); } &&
20285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20287 (eval $ac_try) 2>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); }; } &&
20291 { ac_try
='test -s conftest$ac_exeext'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; }; then
20297 wx_cv_func_va_copy
=yes
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.
$ac_ext >&5
20302 wx_cv_func_va_copy
=no
20305 rm -f conftest.err conftest.
$ac_objext \
20306 conftest
$ac_exeext conftest.
$ac_ext
20310 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20311 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20313 if test $wx_cv_func_va_copy = "yes"; then
20314 cat >>confdefs.h
<<\_ACEOF
20315 #define HAVE_VA_COPY 1
20319 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20320 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20321 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20322 echo $ECHO_N "(cached) $ECHO_C" >&6
20325 if test "$cross_compiling" = yes; then
20326 wx_cv_type_va_list_lvalue
=yes
20329 cat >conftest.
$ac_ext <<_ACEOF
20331 #include <stdarg.h>
20332 int foo(char *f, ...)
20337 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20345 return foo("hi", 17);
20348 rm -f conftest
$ac_exeext
20349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20350 (eval $ac_link) 2>&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; }; then
20359 wx_cv_type_va_list_lvalue
=yes
20361 echo "$as_me: program exited with status $ac_status" >&5
20362 echo "$as_me: failed program was:" >&5
20363 sed 's/^/| /' conftest.
$ac_ext >&5
20365 ( exit $ac_status )
20366 wx_cv_type_va_list_lvalue
=no
20368 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20373 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20374 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20376 if test $wx_cv_type_va_list_lvalue != "yes"; then
20377 cat >>confdefs.h
<<\_ACEOF
20378 #define VA_LIST_IS_ARRAY 1
20384 # Check whether --enable-largefile or --disable-largefile was given.
20385 if test "${enable_largefile+set}" = set; then
20386 enableval
="$enable_largefile"
20389 if test "$enable_largefile" != no
; then
20392 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20393 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20394 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20395 echo $ECHO_N "(cached) $ECHO_C" >&6
20398 cat >conftest.
$ac_ext <<_ACEOF
20401 cat confdefs.h
>>conftest.
$ac_ext
20402 cat >>conftest.
$ac_ext <<_ACEOF
20403 /* end confdefs.h. */
20404 #define _FILE_OFFSET_BITS 64
20405 #include <sys/types.h>
20410 unsigned int field: sizeof(off_t) == 8;
20417 rm -f conftest.
$ac_objext
20418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20419 (eval $ac_compile) 2>conftest.er1
20421 grep -v '^ *+' conftest.er1
>conftest.err
20423 cat conftest.err
>&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); } &&
20426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; } &&
20432 { ac_try
='test -s conftest.$ac_objext'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; }; then
20438 ac_cv_sys_file_offset_bits
=64
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.
$ac_ext >&5
20443 ac_cv_sys_file_offset_bits
=no
20445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20449 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20450 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20452 if test "$ac_cv_sys_file_offset_bits" != no
; then
20454 cat >>confdefs.h
<<_ACEOF
20455 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20460 if test "x$wx_largefile" != "xyes"; then
20462 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20463 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20464 if test "${ac_cv_sys_large_files+set}" = set; then
20465 echo $ECHO_N "(cached) $ECHO_C" >&6
20468 cat >conftest.
$ac_ext <<_ACEOF
20471 cat confdefs.h
>>conftest.
$ac_ext
20472 cat >>conftest.
$ac_ext <<_ACEOF
20473 /* end confdefs.h. */
20474 #define _LARGE_FILES 1
20475 #include <sys/types.h>
20480 unsigned int field: sizeof(off_t) == 8;
20487 rm -f conftest.
$ac_objext
20488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20489 (eval $ac_compile) 2>conftest.er1
20491 grep -v '^ *+' conftest.er1
>conftest.err
20493 cat conftest.err
>&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } &&
20496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; } &&
20502 { ac_try
='test -s conftest.$ac_objext'
20503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20504 (eval $ac_try) 2>&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); }; }; then
20508 ac_cv_sys_large_files
=1
20510 echo "$as_me: failed program was:" >&5
20511 sed 's/^/| /' conftest.
$ac_ext >&5
20513 ac_cv_sys_large_files
=no
20515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20519 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20520 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20522 if test "$ac_cv_sys_large_files" != no
; then
20524 cat >>confdefs.h
<<_ACEOF
20525 #define _LARGE_FILES $ac_cv_sys_large_files
20532 echo "$as_me:$LINENO: checking if large file support is available" >&5
20533 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20534 if test "x$wx_largefile" = "xyes"; then
20535 cat >>confdefs.h
<<\_ACEOF
20536 #define HAVE_LARGEFILE_SUPPORT 1
20540 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20541 echo "${ECHO_T}$wx_largefile" >&6
20545 if test "x$wx_largefile" = "xyes"; then
20546 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20547 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20549 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20550 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
20551 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
20552 if test "${wx_cv_STDC_EXT_required+set}" = set; then
20553 echo $ECHO_N "(cached) $ECHO_C" >&6
20559 ac_cpp
='$CXXCPP $CPPFLAGS'
20560 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20561 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20562 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20564 cat >conftest.
$ac_ext <<_ACEOF
20567 cat confdefs.h
>>conftest.
$ac_ext
20568 cat >>conftest.
$ac_ext <<_ACEOF
20569 /* end confdefs.h. */
20575 #ifndef __STDC_EXT__
20583 rm -f conftest.
$ac_objext
20584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20585 (eval $ac_compile) 2>conftest.er1
20587 grep -v '^ *+' conftest.er1
>conftest.err
20589 cat conftest.err
>&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); } &&
20592 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20594 (eval $ac_try) 2>&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); }; } &&
20598 { ac_try
='test -s conftest.$ac_objext'
20599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20600 (eval $ac_try) 2>&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); }; }; then
20604 wx_cv_STDC_EXT_required
=no
20606 echo "$as_me: failed program was:" >&5
20607 sed 's/^/| /' conftest.
$ac_ext >&5
20609 wx_cv_STDC_EXT_required
=yes
20612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20614 ac_cpp
='$CPP $CPPFLAGS'
20615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20622 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
20623 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
20624 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20625 CXXFLAGS
="$CXXFLAGS -D__STDC_EXT__"
20629 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
20631 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20632 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20633 if test "${ac_cv_sys_largefile_source+set}" = set; then
20634 echo $ECHO_N "(cached) $ECHO_C" >&6
20637 ac_cv_sys_largefile_source
=no
20638 cat >conftest.
$ac_ext <<_ACEOF
20641 cat confdefs.h
>>conftest.
$ac_ext
20642 cat >>conftest.
$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20653 rm -f conftest.
$ac_objext
20654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20655 (eval $ac_compile) 2>conftest.er1
20657 grep -v '^ *+' conftest.er1
>conftest.err
20659 cat conftest.err
>&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); } &&
20662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20664 (eval $ac_try) 2>&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); }; } &&
20668 { ac_try
='test -s conftest.$ac_objext'
20669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20670 (eval $ac_try) 2>&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); }; }; then
20676 echo "$as_me: failed program was:" >&5
20677 sed 's/^/| /' conftest.
$ac_ext >&5
20680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20681 cat >conftest.
$ac_ext <<_ACEOF
20684 cat confdefs.h
>>conftest.
$ac_ext
20685 cat >>conftest.
$ac_ext <<_ACEOF
20686 /* end confdefs.h. */
20687 #define _LARGEFILE_SOURCE 1
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_c_werror_flag" || test ! -s conftest.err'
20707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20708 (eval $ac_try) 2>&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); }; } &&
20712 { ac_try
='test -s conftest.$ac_objext'
20713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20714 (eval $ac_try) 2>&5
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); }; }; then
20718 ac_cv_sys_largefile_source
=1; break
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.
$ac_ext >&5
20724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20728 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20729 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20730 if test "$ac_cv_sys_largefile_source" != no
; then
20732 cat >>confdefs.h
<<_ACEOF
20733 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20739 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20740 # in glibc 2.1.3, but that breaks too many other things.
20741 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20742 echo "$as_me:$LINENO: checking for fseeko" >&5
20743 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20744 if test "${ac_cv_func_fseeko+set}" = set; then
20745 echo $ECHO_N "(cached) $ECHO_C" >&6
20747 cat >conftest.
$ac_ext <<_ACEOF
20750 cat confdefs.h
>>conftest.
$ac_ext
20751 cat >>conftest.
$ac_ext <<_ACEOF
20752 /* end confdefs.h. */
20757 return fseeko && fseeko (stdin, 0, 0);
20762 rm -f conftest.
$ac_objext conftest
$ac_exeext
20763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20764 (eval $ac_link) 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_c_werror_flag" || test ! -s conftest.err'
20772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773 (eval $ac_try) 2>&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); }; } &&
20777 { ac_try
='test -s conftest$ac_exeext'
20778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20779 (eval $ac_try) 2>&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); }; }; then
20783 ac_cv_func_fseeko
=yes
20785 echo "$as_me: failed program was:" >&5
20786 sed 's/^/| /' conftest.
$ac_ext >&5
20788 ac_cv_func_fseeko
=no
20790 rm -f conftest.err conftest.
$ac_objext \
20791 conftest
$ac_exeext conftest.
$ac_ext
20793 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20794 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20795 if test $ac_cv_func_fseeko = yes; then
20797 cat >>confdefs.h
<<\_ACEOF
20798 #define HAVE_FSEEKO 1
20803 if test "$ac_cv_sys_largefile_source" != no
; then
20804 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20806 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20809 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20810 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20811 if test "${ac_cv_c_bigendian+set}" = set; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20814 ac_cv_c_bigendian
=unknown
20815 # See if sys/param.h defines the BYTE_ORDER macro.
20816 cat >conftest.
$ac_ext <<_ACEOF
20819 cat confdefs.h
>>conftest.
$ac_ext
20820 cat >>conftest.
$ac_ext <<_ACEOF
20821 /* end confdefs.h. */
20822 #include <sys/types.h>
20823 #include <sys/param.h>
20828 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20829 bogus endian macros
20835 rm -f conftest.
$ac_objext
20836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20837 (eval $ac_compile) 2>conftest.er1
20839 grep -v '^ *+' conftest.er1
>conftest.err
20841 cat conftest.err
>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } &&
20844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; } &&
20850 { ac_try
='test -s conftest.$ac_objext'
20851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20852 (eval $ac_try) 2>&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); }; }; then
20856 # It does; now see whether it defined to BIG_ENDIAN or not.
20857 cat >conftest.
$ac_ext <<_ACEOF
20860 cat confdefs.h
>>conftest.
$ac_ext
20861 cat >>conftest.
$ac_ext <<_ACEOF
20862 /* end confdefs.h. */
20863 #include <sys/types.h>
20864 #include <sys/param.h>
20869 #if BYTE_ORDER != BIG_ENDIAN
20876 rm -f conftest.
$ac_objext
20877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20878 (eval $ac_compile) 2>conftest.er1
20880 grep -v '^ *+' conftest.er1
>conftest.err
20882 cat conftest.err
>&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } &&
20885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20887 (eval $ac_try) 2>&5
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); }; } &&
20891 { ac_try
='test -s conftest.$ac_objext'
20892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20893 (eval $ac_try) 2>&5
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; }; then
20897 ac_cv_c_bigendian
=yes
20899 echo "$as_me: failed program was:" >&5
20900 sed 's/^/| /' conftest.
$ac_ext >&5
20902 ac_cv_c_bigendian
=no
20904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20906 echo "$as_me: failed program was:" >&5
20907 sed 's/^/| /' conftest.
$ac_ext >&5
20910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20911 if test $ac_cv_c_bigendian = unknown
; then
20912 if test "$cross_compiling" = yes; then
20913 ac_cv_c_bigendian
=unknown
20915 cat >conftest.
$ac_ext <<_ACEOF
20918 cat confdefs.h
>>conftest.
$ac_ext
20919 cat >>conftest.
$ac_ext <<_ACEOF
20920 /* end confdefs.h. */
20922 /* Are we little or big endian? From Harbison&Steele. */
20926 char c[sizeof (long)];
20929 exit (u.c[sizeof (long) - 1] == 1);
20932 rm -f conftest
$ac_exeext
20933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20934 (eval $ac_link) 2>&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20939 (eval $ac_try) 2>&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); }; }; then
20943 ac_cv_c_bigendian
=no
20945 echo "$as_me: program exited with status $ac_status" >&5
20946 echo "$as_me: failed program was:" >&5
20947 sed 's/^/| /' conftest.
$ac_ext >&5
20949 ( exit $ac_status )
20950 ac_cv_c_bigendian
=yes
20952 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20956 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20957 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20958 if test $ac_cv_c_bigendian = unknown
; then
20959 { 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
20960 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;}
20962 if test $ac_cv_c_bigendian = yes; then
20963 cat >>confdefs.h
<<\_ACEOF
20964 #define WORDS_BIGENDIAN 1
20971 ac_cpp
='$CXXCPP $CPPFLAGS'
20972 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20973 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20974 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20975 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20976 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20977 if test -z "$CXXCPP"; then
20978 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20979 echo $ECHO_N "(cached) $ECHO_C" >&6
20981 # Double quotes because CXXCPP needs to be expanded
20982 for CXXCPP
in "$CXX -E" "/lib/cpp"
20984 ac_preproc_ok
=false
20985 for ac_cxx_preproc_warn_flag
in '' yes
20987 # Use a header file that comes with gcc, so configuring glibc
20988 # with a fresh cross-compiler works.
20989 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20990 # <limits.h> exists even on freestanding compilers.
20991 # On the NeXT, cc -E runs the code through the compiler's parser,
20992 # not just through cpp. "Syntax error" is here to catch this case.
20993 cat >conftest.
$ac_ext <<_ACEOF
20996 cat confdefs.h
>>conftest.
$ac_ext
20997 cat >>conftest.
$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
21000 # include <limits.h>
21002 # include <assert.h>
21006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21009 grep -v '^ *+' conftest.er1
>conftest.err
21011 cat conftest.err
>&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); } >/dev
/null
; then
21014 if test -s conftest.err
; then
21015 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21016 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21023 if test -z "$ac_cpp_err"; then
21026 echo "$as_me: failed program was:" >&5
21027 sed 's/^/| /' conftest.
$ac_ext >&5
21029 # Broken: fails on valid input.
21032 rm -f conftest.err conftest.
$ac_ext
21034 # OK, works on sane cases. Now check whether non-existent headers
21035 # can be detected and how.
21036 cat >conftest.
$ac_ext <<_ACEOF
21039 cat confdefs.h
>>conftest.
$ac_ext
21040 cat >>conftest.
$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21042 #include <ac_nonexistent.h>
21044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21045 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21047 grep -v '^ *+' conftest.er1
>conftest.err
21049 cat conftest.err
>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } >/dev
/null
; then
21052 if test -s conftest.err
; then
21053 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21054 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21061 if test -z "$ac_cpp_err"; then
21062 # Broken: success on invalid input.
21065 echo "$as_me: failed program was:" >&5
21066 sed 's/^/| /' conftest.
$ac_ext >&5
21068 # Passes both tests.
21072 rm -f conftest.err conftest.
$ac_ext
21075 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21076 rm -f conftest.err conftest.
$ac_ext
21077 if $ac_preproc_ok; then
21082 ac_cv_prog_CXXCPP
=$CXXCPP
21085 CXXCPP
=$ac_cv_prog_CXXCPP
21087 ac_cv_prog_CXXCPP
=$CXXCPP
21089 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21090 echo "${ECHO_T}$CXXCPP" >&6
21091 ac_preproc_ok
=false
21092 for ac_cxx_preproc_warn_flag
in '' yes
21094 # Use a header file that comes with gcc, so configuring glibc
21095 # with a fresh cross-compiler works.
21096 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21097 # <limits.h> exists even on freestanding compilers.
21098 # On the NeXT, cc -E runs the code through the compiler's parser,
21099 # not just through cpp. "Syntax error" is here to catch this case.
21100 cat >conftest.
$ac_ext <<_ACEOF
21103 cat confdefs.h
>>conftest.
$ac_ext
21104 cat >>conftest.
$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21107 # include <limits.h>
21109 # include <assert.h>
21113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21114 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21116 grep -v '^ *+' conftest.er1
>conftest.err
21118 cat conftest.err
>&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); } >/dev
/null
; then
21121 if test -s conftest.err
; then
21122 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21123 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21130 if test -z "$ac_cpp_err"; then
21133 echo "$as_me: failed program was:" >&5
21134 sed 's/^/| /' conftest.
$ac_ext >&5
21136 # Broken: fails on valid input.
21139 rm -f conftest.err conftest.
$ac_ext
21141 # OK, works on sane cases. Now check whether non-existent headers
21142 # can be detected and how.
21143 cat >conftest.
$ac_ext <<_ACEOF
21146 cat confdefs.h
>>conftest.
$ac_ext
21147 cat >>conftest.
$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 #include <ac_nonexistent.h>
21151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21154 grep -v '^ *+' conftest.er1
>conftest.err
21156 cat conftest.err
>&5
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); } >/dev
/null
; then
21159 if test -s conftest.err
; then
21160 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21161 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21168 if test -z "$ac_cpp_err"; then
21169 # Broken: success on invalid input.
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.
$ac_ext >&5
21175 # Passes both tests.
21179 rm -f conftest.err conftest.
$ac_ext
21182 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21183 rm -f conftest.err conftest.
$ac_ext
21184 if $ac_preproc_ok; then
21187 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21188 See \`config.log' for more details." >&5
21189 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21190 See \`config.log' for more details." >&2;}
21191 { (exit 1); exit 1; }; }
21195 ac_cpp
='$CXXCPP $CPPFLAGS'
21196 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21197 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21198 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21205 ac_cpp
='$CXXCPP $CPPFLAGS'
21206 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21207 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21208 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21212 for ac_header
in iostream
21214 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21216 echo "$as_me:$LINENO: checking for $ac_header" >&5
21217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21219 echo $ECHO_N "(cached) $ECHO_C" >&6
21221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21224 # Is the header compilable?
21225 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21226 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21227 cat >conftest.
$ac_ext <<_ACEOF
21230 cat confdefs.h
>>conftest.
$ac_ext
21231 cat >>conftest.
$ac_ext <<_ACEOF
21232 /* end confdefs.h. */
21233 $ac_includes_default
21234 #include <$ac_header>
21236 rm -f conftest.
$ac_objext
21237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21238 (eval $ac_compile) 2>conftest.er1
21240 grep -v '^ *+' conftest.er1
>conftest.err
21242 cat conftest.err
>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } &&
21245 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21247 (eval $ac_try) 2>&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); }; } &&
21251 { ac_try
='test -s conftest.$ac_objext'
21252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21253 (eval $ac_try) 2>&5
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); }; }; then
21257 ac_header_compiler
=yes
21259 echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.
$ac_ext >&5
21262 ac_header_compiler
=no
21264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21266 echo "${ECHO_T}$ac_header_compiler" >&6
21268 # Is the header present?
21269 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21270 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21271 cat >conftest.
$ac_ext <<_ACEOF
21274 cat confdefs.h
>>conftest.
$ac_ext
21275 cat >>conftest.
$ac_ext <<_ACEOF
21276 /* end confdefs.h. */
21277 #include <$ac_header>
21279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21280 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21282 grep -v '^ *+' conftest.er1
>conftest.err
21284 cat conftest.err
>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } >/dev
/null
; then
21287 if test -s conftest.err
; then
21288 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21289 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21296 if test -z "$ac_cpp_err"; then
21297 ac_header_preproc
=yes
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.
$ac_ext >&5
21302 ac_header_preproc
=no
21304 rm -f conftest.err conftest.
$ac_ext
21305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21306 echo "${ECHO_T}$ac_header_preproc" >&6
21308 # So? What about this header?
21309 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21311 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21312 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21314 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21315 ac_header_preproc
=yes
21318 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21319 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21320 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21321 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21322 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21323 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21324 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21325 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21328 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21329 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21332 ## ----------------------------------------- ##
21333 ## Report this to wx-dev@lists.wxwidgets.org ##
21334 ## ----------------------------------------- ##
21337 sed "s/^/$as_me: WARNING: /" >&2
21340 echo "$as_me:$LINENO: checking for $ac_header" >&5
21341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21343 echo $ECHO_N "(cached) $ECHO_C" >&6
21345 eval "$as_ac_Header=\$ac_header_preproc"
21347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21352 cat >>confdefs.h
<<_ACEOF
21353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21361 if test "$ac_cv_header_iostream" = "yes" ; then
21364 cat >>confdefs.h
<<\_ACEOF
21365 #define wxUSE_IOSTREAMH 1
21371 ac_cpp
='$CPP $CPPFLAGS'
21372 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21373 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21374 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21379 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21380 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21381 if test "${wx_cv_cpp_bool+set}" = set; then
21382 echo $ECHO_N "(cached) $ECHO_C" >&6
21388 ac_cpp
='$CXXCPP $CPPFLAGS'
21389 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21390 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21391 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21394 cat >conftest.
$ac_ext <<_ACEOF
21397 cat confdefs.h
>>conftest.
$ac_ext
21398 cat >>conftest.
$ac_ext <<_ACEOF
21399 /* end confdefs.h. */
21414 rm -f conftest.
$ac_objext
21415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21416 (eval $ac_compile) 2>conftest.er1
21418 grep -v '^ *+' conftest.er1
>conftest.err
21420 cat conftest.err
>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } &&
21423 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21425 (eval $ac_try) 2>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; } &&
21429 { ac_try
='test -s conftest.$ac_objext'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; }; then
21439 echo "$as_me: failed program was:" >&5
21440 sed 's/^/| /' conftest.
$ac_ext >&5
21447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21450 ac_cpp
='$CPP $CPPFLAGS'
21451 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21452 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21453 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21457 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
21458 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21460 if test "$wx_cv_cpp_bool" = "yes"; then
21461 cat >>confdefs.h
<<\_ACEOF
21462 #define HAVE_BOOL 1
21469 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21470 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21471 if test "${wx_cv_explicit+set}" = set; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21478 ac_cpp
='$CXXCPP $CPPFLAGS'
21479 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21480 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21481 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21484 cat >conftest.
$ac_ext <<_ACEOF
21487 cat confdefs.h
>>conftest.
$ac_ext
21488 cat >>conftest.
$ac_ext <<_ACEOF
21489 /* end confdefs.h. */
21491 class Foo { public: explicit Foo(int) {} };
21503 rm -f conftest.
$ac_objext
21504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21505 (eval $ac_compile) 2>conftest.er1
21507 grep -v '^ *+' conftest.er1
>conftest.err
21509 cat conftest.err
>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); } &&
21512 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; } &&
21518 { ac_try
='test -s conftest.$ac_objext'
21519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21520 (eval $ac_try) 2>&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); }; }; then
21525 cat >conftest.
$ac_ext <<_ACEOF
21528 cat confdefs.h
>>conftest.
$ac_ext
21529 cat >>conftest.
$ac_ext <<_ACEOF
21530 /* end confdefs.h. */
21532 class Foo { public: explicit Foo(int) {} };
21533 static void TakeFoo(const Foo& foo) { }
21546 rm -f conftest.
$ac_objext
21547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21548 (eval $ac_compile) 2>conftest.er1
21550 grep -v '^ *+' conftest.er1
>conftest.err
21552 cat conftest.err
>&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); } &&
21555 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21557 (eval $ac_try) 2>&5
21559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 (exit $ac_status); }; } &&
21561 { ac_try
='test -s conftest.$ac_objext'
21562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21563 (eval $ac_try) 2>&5
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); }; }; then
21569 echo "$as_me: failed program was:" >&5
21570 sed 's/^/| /' conftest.
$ac_ext >&5
21575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.
$ac_ext >&5
21584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21587 ac_cpp
='$CPP $CPPFLAGS'
21588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21594 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21595 echo "${ECHO_T}$wx_cv_explicit" >&6
21597 if test "$wx_cv_explicit" = "yes"; then
21598 cat >>confdefs.h
<<\_ACEOF
21599 #define HAVE_EXPLICIT 1
21605 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21606 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21607 if test "${ac_cv_cxx_const_cast+set}" = set; then
21608 echo $ECHO_N "(cached) $ECHO_C" >&6
21613 ac_cpp
='$CXXCPP $CPPFLAGS'
21614 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21615 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21616 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21618 cat >conftest.
$ac_ext <<_ACEOF
21621 cat confdefs.h
>>conftest.
$ac_ext
21622 cat >>conftest.
$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21628 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21633 rm -f conftest.
$ac_objext
21634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21635 (eval $ac_compile) 2>conftest.er1
21637 grep -v '^ *+' conftest.er1
>conftest.err
21639 cat conftest.err
>&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } &&
21642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; } &&
21648 { ac_try
='test -s conftest.$ac_objext'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; }; then
21654 ac_cv_cxx_const_cast
=yes
21656 echo "$as_me: failed program was:" >&5
21657 sed 's/^/| /' conftest.
$ac_ext >&5
21659 ac_cv_cxx_const_cast
=no
21661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21663 ac_cpp
='$CPP $CPPFLAGS'
21664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21670 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21671 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21672 if test "$ac_cv_cxx_const_cast" = yes; then
21674 cat >>confdefs.h
<<\_ACEOF
21675 #define HAVE_CONST_CAST
21680 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21681 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21682 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21683 echo $ECHO_N "(cached) $ECHO_C" >&6
21688 ac_cpp
='$CXXCPP $CPPFLAGS'
21689 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21690 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21691 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21693 cat >conftest.
$ac_ext <<_ACEOF
21696 cat confdefs.h
>>conftest.
$ac_ext
21697 cat >>conftest.
$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21699 #include <typeinfo>
21700 class Base { public : Base () {} virtual void f () = 0;};
21701 class Derived : public Base { public : Derived () {} virtual void f () {} };
21702 class Unrelated { public : Unrelated () {} };
21703 int g (Unrelated&) { return 0; }
21708 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21713 rm -f conftest.
$ac_objext
21714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21715 (eval $ac_compile) 2>conftest.er1
21717 grep -v '^ *+' conftest.er1
>conftest.err
21719 cat conftest.err
>&5
21720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 (exit $ac_status); } &&
21722 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 (eval $ac_try) 2>&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); }; } &&
21728 { ac_try
='test -s conftest.$ac_objext'
21729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21730 (eval $ac_try) 2>&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); }; }; then
21734 ac_cv_cxx_reinterpret_cast
=yes
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.
$ac_ext >&5
21739 ac_cv_cxx_reinterpret_cast
=no
21741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21743 ac_cpp
='$CPP $CPPFLAGS'
21744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21750 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21751 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21752 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21754 cat >>confdefs.h
<<\_ACEOF
21755 #define HAVE_REINTERPRET_CAST
21760 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21761 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21762 if test "${ac_cv_cxx_static_cast+set}" = set; then
21763 echo $ECHO_N "(cached) $ECHO_C" >&6
21768 ac_cpp
='$CXXCPP $CPPFLAGS'
21769 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21773 cat >conftest.
$ac_ext <<_ACEOF
21776 cat confdefs.h
>>conftest.
$ac_ext
21777 cat >>conftest.
$ac_ext <<_ACEOF
21778 /* end confdefs.h. */
21779 #include <typeinfo>
21780 class Base { public : Base () {} virtual void f () = 0; };
21781 class Derived : public Base { public : Derived () {} virtual void f () {} };
21782 int g (Derived&) { return 0; }
21787 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21792 rm -f conftest.
$ac_objext
21793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21794 (eval $ac_compile) 2>conftest.er1
21796 grep -v '^ *+' conftest.er1
>conftest.err
21798 cat conftest.err
>&5
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); } &&
21801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21803 (eval $ac_try) 2>&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); }; } &&
21807 { ac_try
='test -s conftest.$ac_objext'
21808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21809 (eval $ac_try) 2>&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); }; }; then
21813 ac_cv_cxx_static_cast
=yes
21815 echo "$as_me: failed program was:" >&5
21816 sed 's/^/| /' conftest.
$ac_ext >&5
21818 ac_cv_cxx_static_cast
=no
21820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21822 ac_cpp
='$CPP $CPPFLAGS'
21823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21829 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21830 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21831 if test "$ac_cv_cxx_static_cast" = yes; then
21833 cat >>confdefs.h
<<\_ACEOF
21834 #define HAVE_STATIC_CAST
21840 if test "x$SUNCXX" = xyes
; then
21841 CXXFLAGS
="$CXXFLAGS -features=tmplife"
21844 if test "x$SUNCC" = xyes
; then
21845 CFLAGS
="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
21848 if test "x$SGICC" = "xyes"; then
21849 CFLAGS
="$CFLAGS -woff 3970"
21851 if test "x$SGICXX" = "xyes"; then
21852 CXXFLAGS
="$CXXFLAGS -woff 3970"
21855 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21857 ac_cpp
='$CXXCPP $CPPFLAGS'
21858 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21859 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21860 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21863 if test "$wxUSE_UNICODE" = "yes"; then
21864 std_string
="std::wstring"
21865 char_type
="wchar_t"
21867 std_string
="std::string"
21871 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21872 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21873 cat >conftest.
$ac_ext <<_ACEOF
21876 cat confdefs.h
>>conftest.
$ac_ext
21877 cat >>conftest.
$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21888 rm -f conftest.
$ac_objext
21889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21890 (eval $ac_compile) 2>conftest.er1
21892 grep -v '^ *+' conftest.er1
>conftest.err
21894 cat conftest.err
>&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } &&
21897 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21899 (eval $ac_try) 2>&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); }; } &&
21903 { ac_try
='test -s conftest.$ac_objext'
21904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905 (eval $ac_try) 2>&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); }; }; then
21909 echo "$as_me:$LINENO: result: yes" >&5
21910 echo "${ECHO_T}yes" >&6
21911 cat >>confdefs.h
<<\_ACEOF
21912 #define HAVE_STD_WSTRING 1
21916 echo "$as_me: failed program was:" >&5
21917 sed 's/^/| /' conftest.
$ac_ext >&5
21919 echo "$as_me:$LINENO: result: no" >&5
21920 echo "${ECHO_T}no" >&6
21921 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21922 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21923 cat >conftest.
$ac_ext <<_ACEOF
21926 cat confdefs.h
>>conftest.
$ac_ext
21927 cat >>conftest.
$ac_ext <<_ACEOF
21928 /* end confdefs.h. */
21930 #ifdef HAVE_WCHAR_H
21932 # include <stddef.h>
21934 # include <wchar.h>
21936 #ifdef HAVE_STDLIB_H
21937 # include <stdlib.h>
21945 std::basic_string<$char_type> foo;
21946 const $char_type* dummy = foo.c_str();
21951 rm -f conftest.
$ac_objext
21952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21953 (eval $ac_compile) 2>conftest.er1
21955 grep -v '^ *+' conftest.er1
>conftest.err
21957 cat conftest.err
>&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } &&
21960 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21962 (eval $ac_try) 2>&5
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); }; } &&
21966 { ac_try
='test -s conftest.$ac_objext'
21967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21968 (eval $ac_try) 2>&5
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); }; }; then
21972 echo "$as_me:$LINENO: result: yes" >&5
21973 echo "${ECHO_T}yes" >&6
21975 echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.
$ac_ext >&5
21978 echo "$as_me:$LINENO: result: no" >&5
21979 echo "${ECHO_T}no" >&6
21980 if test "$wxUSE_STL" = "yes"; then
21981 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21982 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21983 { (exit 1); exit 1; }; }
21984 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
21985 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21986 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21987 { (exit 1); exit 1; }; }
21989 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21990 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21991 wxUSE_STD_STRING
=no
21996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22002 ac_cpp
='$CPP $CPPFLAGS'
22003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22009 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22011 ac_cpp
='$CXXCPP $CPPFLAGS'
22012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22017 echo "$as_me:$LINENO: checking for std::istream" >&5
22018 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22019 if test "${ac_cv_type_std__istream+set}" = set; then
22020 echo $ECHO_N "(cached) $ECHO_C" >&6
22022 cat >conftest.
$ac_ext <<_ACEOF
22025 cat confdefs.h
>>conftest.
$ac_ext
22026 cat >>conftest.
$ac_ext <<_ACEOF
22027 /* end confdefs.h. */
22028 #include <iostream>
22033 if ((std::istream *) 0)
22035 if (sizeof (std::istream))
22041 rm -f conftest.
$ac_objext
22042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22043 (eval $ac_compile) 2>conftest.er1
22045 grep -v '^ *+' conftest.er1
>conftest.err
22047 cat conftest.err
>&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); } &&
22050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22052 (eval $ac_try) 2>&5
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); }; } &&
22056 { ac_try
='test -s conftest.$ac_objext'
22057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22058 (eval $ac_try) 2>&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); }; }; then
22062 ac_cv_type_std__istream
=yes
22064 echo "$as_me: failed program was:" >&5
22065 sed 's/^/| /' conftest.
$ac_ext >&5
22067 ac_cv_type_std__istream
=no
22069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22071 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22072 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22073 if test $ac_cv_type_std__istream = yes; then
22075 cat >>confdefs.h
<<_ACEOF
22076 #define HAVE_STD__ISTREAM 1
22081 wxUSE_STD_IOSTREAM
=no
22083 echo "$as_me:$LINENO: checking for std::ostream" >&5
22084 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22085 if test "${ac_cv_type_std__ostream+set}" = set; then
22086 echo $ECHO_N "(cached) $ECHO_C" >&6
22088 cat >conftest.
$ac_ext <<_ACEOF
22091 cat confdefs.h
>>conftest.
$ac_ext
22092 cat >>conftest.
$ac_ext <<_ACEOF
22093 /* end confdefs.h. */
22094 #include <iostream>
22099 if ((std::ostream *) 0)
22101 if (sizeof (std::ostream))
22107 rm -f conftest.
$ac_objext
22108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22109 (eval $ac_compile) 2>conftest.er1
22111 grep -v '^ *+' conftest.er1
>conftest.err
22113 cat conftest.err
>&5
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); } &&
22116 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22118 (eval $ac_try) 2>&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); }; } &&
22122 { ac_try
='test -s conftest.$ac_objext'
22123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124 (eval $ac_try) 2>&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; }; then
22128 ac_cv_type_std__ostream
=yes
22130 echo "$as_me: failed program was:" >&5
22131 sed 's/^/| /' conftest.
$ac_ext >&5
22133 ac_cv_type_std__ostream
=no
22135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22137 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22138 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22139 if test $ac_cv_type_std__ostream = yes; then
22141 cat >>confdefs.h
<<_ACEOF
22142 #define HAVE_STD__OSTREAM 1
22147 wxUSE_STD_IOSTREAM
=no
22151 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22152 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
22153 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22154 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22155 { (exit 1); exit 1; }; }
22157 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22158 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22163 ac_cpp
='$CPP $CPPFLAGS'
22164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22170 if test "$wxUSE_STL" = "yes"; then
22172 ac_cpp
='$CXXCPP $CPPFLAGS'
22173 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22174 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22175 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22178 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22179 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22180 cat >conftest.
$ac_ext <<_ACEOF
22183 cat confdefs.h
>>conftest.
$ac_ext
22184 cat >>conftest.
$ac_ext <<_ACEOF
22185 /* end confdefs.h. */
22187 #include <functional>
22188 #include <algorithm>
22194 std::vector<int> moo;
22195 std::list<int> foo;
22196 std::vector<int>::iterator it =
22197 std::find_if(moo.begin(), moo.end(),
22198 std::bind2nd(std::less<int>(), 3));
22203 rm -f conftest.
$ac_objext
22204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22205 (eval $ac_compile) 2>conftest.er1
22207 grep -v '^ *+' conftest.er1
>conftest.err
22209 cat conftest.err
>&5
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); } &&
22212 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22214 (eval $ac_try) 2>&5
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); }; } &&
22218 { ac_try
='test -s conftest.$ac_objext'
22219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22220 (eval $ac_try) 2>&5
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); }; }; then
22224 echo "$as_me:$LINENO: result: yes" >&5
22225 echo "${ECHO_T}yes" >&6
22227 echo "$as_me: failed program was:" >&5
22228 sed 's/^/| /' conftest.
$ac_ext >&5
22230 echo "$as_me:$LINENO: result: no" >&5
22231 echo "${ECHO_T}no" >&6
22232 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
22233 echo "$as_me: error: Basic STL functionality missing" >&2;}
22234 { (exit 1); exit 1; }; }
22236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22238 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22239 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22240 cat >conftest.
$ac_ext <<_ACEOF
22243 cat confdefs.h
>>conftest.
$ac_ext
22244 cat >>conftest.
$ac_ext <<_ACEOF
22245 /* end confdefs.h. */
22250 std::string foo, bar;
22252 foo.compare(1, 1, bar);
22253 foo.compare(1, 1, bar, 1, 1);
22255 foo.compare(1, 1, "");
22256 foo.compare(1, 1, "", 2);
22261 rm -f conftest.
$ac_objext
22262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22263 (eval $ac_compile) 2>conftest.er1
22265 grep -v '^ *+' conftest.er1
>conftest.err
22267 cat conftest.err
>&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } &&
22270 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22272 (eval $ac_try) 2>&5
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); }; } &&
22276 { ac_try
='test -s conftest.$ac_objext'
22277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22278 (eval $ac_try) 2>&5
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); }; }; then
22282 echo "$as_me:$LINENO: result: yes" >&5
22283 echo "${ECHO_T}yes" >&6
22284 cat >>confdefs.h
<<\_ACEOF
22285 #define HAVE_STD_STRING_COMPARE 1
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.
$ac_ext >&5
22292 echo "$as_me:$LINENO: result: no" >&5
22293 echo "${ECHO_T}no" >&6
22295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22297 if test "${ac_cv_header_hash_map+set}" = set; then
22298 echo "$as_me:$LINENO: checking for hash_map" >&5
22299 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22300 if test "${ac_cv_header_hash_map+set}" = set; then
22301 echo $ECHO_N "(cached) $ECHO_C" >&6
22303 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22304 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22306 # Is the header compilable?
22307 echo "$as_me:$LINENO: checking hash_map usability" >&5
22308 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
22309 cat >conftest.
$ac_ext <<_ACEOF
22312 cat confdefs.h
>>conftest.
$ac_ext
22313 cat >>conftest.
$ac_ext <<_ACEOF
22314 /* end confdefs.h. */
22315 $ac_includes_default
22316 #include <hash_map>
22318 rm -f conftest.
$ac_objext
22319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22320 (eval $ac_compile) 2>conftest.er1
22322 grep -v '^ *+' conftest.er1
>conftest.err
22324 cat conftest.err
>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } &&
22327 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; } &&
22333 { ac_try
='test -s conftest.$ac_objext'
22334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22335 (eval $ac_try) 2>&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); }; }; then
22339 ac_header_compiler
=yes
22341 echo "$as_me: failed program was:" >&5
22342 sed 's/^/| /' conftest.
$ac_ext >&5
22344 ac_header_compiler
=no
22346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22348 echo "${ECHO_T}$ac_header_compiler" >&6
22350 # Is the header present?
22351 echo "$as_me:$LINENO: checking hash_map presence" >&5
22352 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
22353 cat >conftest.
$ac_ext <<_ACEOF
22356 cat confdefs.h
>>conftest.
$ac_ext
22357 cat >>conftest.
$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22359 #include <hash_map>
22361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22362 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22364 grep -v '^ *+' conftest.er1
>conftest.err
22366 cat conftest.err
>&5
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); } >/dev
/null
; then
22369 if test -s conftest.err
; then
22370 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22371 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22378 if test -z "$ac_cpp_err"; then
22379 ac_header_preproc
=yes
22381 echo "$as_me: failed program was:" >&5
22382 sed 's/^/| /' conftest.
$ac_ext >&5
22384 ac_header_preproc
=no
22386 rm -f conftest.err conftest.
$ac_ext
22387 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22388 echo "${ECHO_T}$ac_header_preproc" >&6
22390 # So? What about this header?
22391 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22393 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22394 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22395 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22396 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22397 ac_header_preproc
=yes
22400 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22401 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22402 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22403 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22404 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22405 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22406 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22407 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22408 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22409 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22410 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22411 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22414 ## ----------------------------------------- ##
22415 ## Report this to wx-dev@lists.wxwidgets.org ##
22416 ## ----------------------------------------- ##
22419 sed "s/^/$as_me: WARNING: /" >&2
22422 echo "$as_me:$LINENO: checking for hash_map" >&5
22423 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22424 if test "${ac_cv_header_hash_map+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 ac_cv_header_hash_map
=$ac_header_preproc
22429 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22430 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22433 if test $ac_cv_header_hash_map = yes; then
22434 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22435 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22436 cat >conftest.
$ac_ext <<_ACEOF
22439 cat confdefs.h
>>conftest.
$ac_ext
22440 cat >>conftest.
$ac_ext <<_ACEOF
22441 /* end confdefs.h. */
22442 #include <hash_map>
22443 #include <hash_set>
22447 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22448 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22453 rm -f conftest.
$ac_objext
22454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22455 (eval $ac_compile) 2>conftest.er1
22457 grep -v '^ *+' conftest.er1
>conftest.err
22459 cat conftest.err
>&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); } &&
22462 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22464 (eval $ac_try) 2>&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); }; } &&
22468 { ac_try
='test -s conftest.$ac_objext'
22469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470 (eval $ac_try) 2>&5
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22474 echo "$as_me:$LINENO: result: yes" >&5
22475 echo "${ECHO_T}yes" >&6
22476 cat >>confdefs.h
<<\_ACEOF
22477 #define HAVE_HASH_MAP 1
22480 cat >>confdefs.h
<<\_ACEOF
22481 #define HAVE_STD_HASH_MAP 1
22485 echo "$as_me: failed program was:" >&5
22486 sed 's/^/| /' conftest.
$ac_ext >&5
22488 echo "$as_me:$LINENO: result: no" >&5
22489 echo "${ECHO_T}no" >&6
22491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22497 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22498 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22499 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22500 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22501 echo $ECHO_N "(cached) $ECHO_C" >&6
22503 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22504 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22506 # Is the header compilable?
22507 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
22508 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
22509 cat >conftest.
$ac_ext <<_ACEOF
22512 cat confdefs.h
>>conftest.
$ac_ext
22513 cat >>conftest.
$ac_ext <<_ACEOF
22514 /* end confdefs.h. */
22515 $ac_includes_default
22516 #include <ext/hash_map>
22518 rm -f conftest.
$ac_objext
22519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22520 (eval $ac_compile) 2>conftest.er1
22522 grep -v '^ *+' conftest.er1
>conftest.err
22524 cat conftest.err
>&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); } &&
22527 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22529 (eval $ac_try) 2>&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); }; } &&
22533 { ac_try
='test -s conftest.$ac_objext'
22534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535 (eval $ac_try) 2>&5
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); }; }; then
22539 ac_header_compiler
=yes
22541 echo "$as_me: failed program was:" >&5
22542 sed 's/^/| /' conftest.
$ac_ext >&5
22544 ac_header_compiler
=no
22546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22548 echo "${ECHO_T}$ac_header_compiler" >&6
22550 # Is the header present?
22551 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22552 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22553 cat >conftest.
$ac_ext <<_ACEOF
22556 cat confdefs.h
>>conftest.
$ac_ext
22557 cat >>conftest.
$ac_ext <<_ACEOF
22558 /* end confdefs.h. */
22559 #include <ext/hash_map>
22561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22564 grep -v '^ *+' conftest.er1
>conftest.err
22566 cat conftest.err
>&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } >/dev
/null
; then
22569 if test -s conftest.err
; then
22570 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22571 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22578 if test -z "$ac_cpp_err"; then
22579 ac_header_preproc
=yes
22581 echo "$as_me: failed program was:" >&5
22582 sed 's/^/| /' conftest.
$ac_ext >&5
22584 ac_header_preproc
=no
22586 rm -f conftest.err conftest.
$ac_ext
22587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22588 echo "${ECHO_T}$ac_header_preproc" >&6
22590 # So? What about this header?
22591 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22593 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22594 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22595 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22596 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22597 ac_header_preproc
=yes
22600 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22601 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22602 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22603 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22604 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22605 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22606 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22607 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22608 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22609 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22610 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22611 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22614 ## ----------------------------------------- ##
22615 ## Report this to wx-dev@lists.wxwidgets.org ##
22616 ## ----------------------------------------- ##
22619 sed "s/^/$as_me: WARNING: /" >&2
22622 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22623 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22624 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22625 echo $ECHO_N "(cached) $ECHO_C" >&6
22627 ac_cv_header_ext_hash_map
=$ac_header_preproc
22629 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22630 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22633 if test $ac_cv_header_ext_hash_map = yes; then
22634 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22635 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22636 cat >conftest.
$ac_ext <<_ACEOF
22639 cat confdefs.h
>>conftest.
$ac_ext
22640 cat >>conftest.
$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 #include <ext/hash_map>
22643 #include <ext/hash_set>
22647 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22648 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22653 rm -f conftest.
$ac_objext
22654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22655 (eval $ac_compile) 2>conftest.er1
22657 grep -v '^ *+' conftest.er1
>conftest.err
22659 cat conftest.err
>&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } &&
22662 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22664 (eval $ac_try) 2>&5
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); }; } &&
22668 { ac_try
='test -s conftest.$ac_objext'
22669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22670 (eval $ac_try) 2>&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); }; }; then
22674 echo "$as_me:$LINENO: result: yes" >&5
22675 echo "${ECHO_T}yes" >&6
22676 cat >>confdefs.h
<<\_ACEOF
22677 #define HAVE_EXT_HASH_MAP 1
22680 cat >>confdefs.h
<<\_ACEOF
22681 #define HAVE_GNU_CXX_HASH_MAP 1
22685 echo "$as_me: failed program was:" >&5
22686 sed 's/^/| /' conftest.
$ac_ext >&5
22688 echo "$as_me:$LINENO: result: no" >&5
22689 echo "${ECHO_T}no" >&6
22691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22698 ac_cpp
='$CPP $CPPFLAGS'
22699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22707 /usr/local/include \
22709 /usr/Motif-2.1/include \
22710 /usr/Motif-1.2/include \
22711 /usr/include/Motif1.2 \
22714 /usr/openwin/include \
22718 /usr/X11R6/include \
22719 /usr/X11R6.4/include \
22720 /usr/X11R5/include \
22721 /usr/X11R4/include \
22723 /usr/include/X11R6 \
22724 /usr/include/X11R5 \
22725 /usr/include/X11R4 \
22727 /usr/local/X11R6/include \
22728 /usr/local/X11R5/include \
22729 /usr/local/X11R4/include \
22731 /usr/local/include/X11R6 \
22732 /usr/local/include/X11R5 \
22733 /usr/local/include/X11R4 \
22737 /usr/local/X11/include \
22738 /usr/local/include/X11 \
22740 /usr/XFree86/include/X11 \
22743 /usr/openwin/share/include"
22745 echo "$as_me:$LINENO: checking for libraries directory" >&5
22746 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
22750 if test "${wx_cv_std_libpath+set}" = set; then
22751 echo $ECHO_N "(cached) $ECHO_C" >&6
22754 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
22755 for e
in a so sl dylib dll.a
; do
22757 if test -f $libc; then
22760 cat >conftest.
$ac_ext <<_ACEOF
22761 int main() { return 0; }
22763 rm -f conftest.
$ac_objext conftest
$ac_exeext
22764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22765 (eval $ac_link) 2>conftest.er1
22767 grep -v '^ *+' conftest.er1
>conftest.err
22769 cat conftest.err
>&5
22770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22771 (exit $ac_status); } &&
22772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22774 (eval $ac_try) 2>&5
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); }; } &&
22778 { ac_try
='test -s conftest$ac_exeext'
22779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22780 (eval $ac_try) 2>&5
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); }; }; then
22784 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
22786 echo "$as_me: failed program was:" >&5
22787 sed 's/^/| /' conftest.
$ac_ext >&5
22790 rm -f conftest.err conftest.
$ac_objext \
22791 conftest
$ac_exeext conftest.
$ac_ext
22793 if test "x$wx_cv_std_libpath" != "x"; then
22799 if test "x$wx_cv_std_libpath" = "x"; then
22800 wx_cv_std_libpath
="lib"
22809 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22810 wx_cv_std_libpath
="lib/64"
22812 wx_cv_std_libpath
="lib"
22817 if test "$ac_cv_sizeof_void_p" = 8 -a \
22818 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22819 wx_cv_std_libpath
="lib64"
22821 wx_cv_std_libpath
="lib"
22826 wx_cv_std_libpath
="lib";
22830 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
22831 echo "${ECHO_T}$wx_cv_std_libpath" >&6
22833 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
22835 if test "$build" != "$host" -a "$GCC" = yes; then
22836 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22837 cross_root
=`dirname $cross_root`
22838 cross_root
=`dirname $cross_root`
22840 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22841 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22843 if test -z "$PKG_CONFIG_PATH"; then
22844 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22845 export PKG_CONFIG_PATH
22848 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22851 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
22853 if test -f "$ac_dir/X11/Intrinsic.h"; then
22854 ac_find_includes
=$ac_dir
22859 x_includes
=$ac_find_includes
22861 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22864 for ac_dir
in $SEARCH_LIB;
22866 for ac_extension
in a so sl dylib dll.a
; do
22867 if test -f "$ac_dir/libXt.$ac_extension"; then
22868 ac_find_libraries
=$ac_dir
22874 x_libraries
=$ac_find_libraries
22880 cat >confcache
<<\_ACEOF
22881 # This file is a shell script that caches the results of configure
22882 # tests run on this system so they can be shared between configure
22883 # scripts and configure runs, see configure's option --config-cache.
22884 # It is not useful on other systems. If it contains results you don't
22885 # want to keep, you may remove or edit it.
22887 # config.status only pays attention to the cache file if you give it
22888 # the --recheck option to rerun configure.
22890 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22891 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22892 # following values.
22896 # The following way of writing the cache mishandles newlines in values,
22897 # but we know of no workaround that is simple, portable, and efficient.
22898 # So, don't put newlines in cache variables' values.
22899 # Ultrix sh set writes to stderr and can't be redirected directly,
22900 # and sets the high bit in the cache file unless we assign to the vars.
22903 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22905 # `set' does not quote correctly, so add quotes (double-quote
22906 # substitution turns \\\\ into \\, and sed turns \\ into \).
22909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22912 # `set' quotes correctly as required by POSIX, so do not add quotes.
22914 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22921 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22923 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22925 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22926 if test -w $cache_file; then
22927 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22928 cat confcache
>$cache_file
22930 echo "not updating unwritable cache $cache_file"
22935 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22936 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22937 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22938 if test "${wx_cv_lib_glibc21+set}" = set; then
22939 echo $ECHO_N "(cached) $ECHO_C" >&6
22942 cat >conftest.
$ac_ext <<_ACEOF
22945 cat confdefs.h
>>conftest.
$ac_ext
22946 cat >>conftest.
$ac_ext <<_ACEOF
22947 /* end confdefs.h. */
22948 #include <features.h>
22953 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22961 rm -f conftest.
$ac_objext
22962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22963 (eval $ac_compile) 2>conftest.er1
22965 grep -v '^ *+' conftest.er1
>conftest.err
22967 cat conftest.err
>&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); } &&
22970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22972 (eval $ac_try) 2>&5
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); }; } &&
22976 { ac_try
='test -s conftest.$ac_objext'
22977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22978 (eval $ac_try) 2>&5
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); }; }; then
22983 wx_cv_lib_glibc21
=yes
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.
$ac_ext >&5
22990 wx_cv_lib_glibc21
=no
22994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22997 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22998 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22999 if test "$wx_cv_lib_glibc21" = "yes"; then
23000 cat >>confdefs.h
<<\_ACEOF
23001 #define wxHAVE_GLIBC2 1
23007 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23008 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23009 cat >>confdefs.h
<<\_ACEOF
23010 #define _GNU_SOURCE 1
23018 if test "$wxUSE_REGEX" != "no"; then
23019 cat >>confdefs.h
<<\_ACEOF
23020 #define wxUSE_REGEX 1
23024 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23025 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23026 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23027 wxUSE_REGEX
=builtin
23030 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23031 if test "${ac_cv_header_regex_h+set}" = set; then
23032 echo "$as_me:$LINENO: checking for regex.h" >&5
23033 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23034 if test "${ac_cv_header_regex_h+set}" = set; then
23035 echo $ECHO_N "(cached) $ECHO_C" >&6
23037 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23038 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23040 # Is the header compilable?
23041 echo "$as_me:$LINENO: checking regex.h usability" >&5
23042 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23043 cat >conftest.
$ac_ext <<_ACEOF
23046 cat confdefs.h
>>conftest.
$ac_ext
23047 cat >>conftest.
$ac_ext <<_ACEOF
23048 /* end confdefs.h. */
23049 $ac_includes_default
23052 rm -f conftest.
$ac_objext
23053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23054 (eval $ac_compile) 2>conftest.er1
23056 grep -v '^ *+' conftest.er1
>conftest.err
23058 cat conftest.err
>&5
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); } &&
23061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23063 (eval $ac_try) 2>&5
23065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23066 (exit $ac_status); }; } &&
23067 { ac_try
='test -s conftest.$ac_objext'
23068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23069 (eval $ac_try) 2>&5
23071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); }; }; then
23073 ac_header_compiler
=yes
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.
$ac_ext >&5
23078 ac_header_compiler
=no
23080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23081 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23082 echo "${ECHO_T}$ac_header_compiler" >&6
23084 # Is the header present?
23085 echo "$as_me:$LINENO: checking regex.h presence" >&5
23086 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23087 cat >conftest.
$ac_ext <<_ACEOF
23090 cat confdefs.h
>>conftest.
$ac_ext
23091 cat >>conftest.
$ac_ext <<_ACEOF
23092 /* end confdefs.h. */
23095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23096 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23098 grep -v '^ *+' conftest.er1
>conftest.err
23100 cat conftest.err
>&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); } >/dev
/null
; then
23103 if test -s conftest.err
; then
23104 ac_cpp_err
=$ac_c_preproc_warn_flag
23105 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23112 if test -z "$ac_cpp_err"; then
23113 ac_header_preproc
=yes
23115 echo "$as_me: failed program was:" >&5
23116 sed 's/^/| /' conftest.
$ac_ext >&5
23118 ac_header_preproc
=no
23120 rm -f conftest.err conftest.
$ac_ext
23121 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23122 echo "${ECHO_T}$ac_header_preproc" >&6
23124 # So? What about this header?
23125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23127 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23128 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23129 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23130 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23131 ac_header_preproc
=yes
23134 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23135 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23136 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23137 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23138 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23139 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23140 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23141 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23142 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23143 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23144 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23145 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23148 ## ----------------------------------------- ##
23149 ## Report this to wx-dev@lists.wxwidgets.org ##
23150 ## ----------------------------------------- ##
23153 sed "s/^/$as_me: WARNING: /" >&2
23156 echo "$as_me:$LINENO: checking for regex.h" >&5
23157 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23158 if test "${ac_cv_header_regex_h+set}" = set; then
23159 echo $ECHO_N "(cached) $ECHO_C" >&6
23161 ac_cv_header_regex_h
=$ac_header_preproc
23163 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23164 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23167 if test $ac_cv_header_regex_h = yes; then
23169 for ac_func
in regcomp
23171 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23172 echo "$as_me:$LINENO: checking for $ac_func" >&5
23173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23174 if eval "test \"\${$as_ac_var+set}\" = set"; then
23175 echo $ECHO_N "(cached) $ECHO_C" >&6
23177 cat >conftest.
$ac_ext <<_ACEOF
23180 cat confdefs.h
>>conftest.
$ac_ext
23181 cat >>conftest.
$ac_ext <<_ACEOF
23182 /* end confdefs.h. */
23183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23185 #define $ac_func innocuous_$ac_func
23187 /* System header to define __stub macros and hopefully few prototypes,
23188 which can conflict with char $ac_func (); below.
23189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23190 <limits.h> exists even on freestanding compilers. */
23193 # include <limits.h>
23195 # include <assert.h>
23200 /* Override any gcc2 internal prototype to avoid an error. */
23205 /* We use char because int might match the return type of a gcc2
23206 builtin and then its argument prototype would still apply. */
23208 /* The GNU C library defines this for functions which it implements
23209 to always fail with ENOSYS. Some functions are actually named
23210 something starting with __ and the normal name is an alias. */
23211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23214 char (*f) () = $ac_func;
23223 return f != $ac_func;
23228 rm -f conftest.
$ac_objext conftest
$ac_exeext
23229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23230 (eval $ac_link) 2>conftest.er1
23232 grep -v '^ *+' conftest.er1
>conftest.err
23234 cat conftest.err
>&5
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); } &&
23237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23239 (eval $ac_try) 2>&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); }; } &&
23243 { ac_try
='test -s conftest$ac_exeext'
23244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23245 (eval $ac_try) 2>&5
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; }; then
23249 eval "$as_ac_var=yes"
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.
$ac_ext >&5
23254 eval "$as_ac_var=no"
23256 rm -f conftest.err conftest.
$ac_objext \
23257 conftest
$ac_exeext conftest.
$ac_ext
23259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23261 if test `eval echo '${'$as_ac_var'}'` = yes; then
23262 cat >>confdefs.h
<<_ACEOF
23263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23273 if test "x$ac_cv_func_regcomp" != "xyes"; then
23274 if test "$wxUSE_REGEX" = "sys" ; then
23275 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
23276 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
23277 { (exit 1); exit 1; }; }
23279 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
23280 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
23281 wxUSE_REGEX
=builtin
23285 cat >>confdefs.h
<<\_ACEOF
23286 #define WX_NO_REGEX_ADVANCED 1
23295 if test "$wxUSE_ZLIB" != "no" ; then
23296 cat >>confdefs.h
<<\_ACEOF
23297 #define wxUSE_ZLIB 1
23301 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
23302 if test "$USE_DARWIN" = 1; then
23303 system_zlib_h_ok
="yes"
23305 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
23306 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
23307 if test "${ac_cv_header_zlib_h+set}" = set; then
23308 echo $ECHO_N "(cached) $ECHO_C" >&6
23310 if test "$cross_compiling" = yes; then
23311 unset ac_cv_header_zlib_h
23314 cat >conftest.
$ac_ext <<_ACEOF
23317 cat confdefs.h
>>conftest.
$ac_ext
23318 cat >>conftest.
$ac_ext <<_ACEOF
23319 /* end confdefs.h. */
23326 FILE *f=fopen("conftestval", "w");
23329 ZLIB_VERSION[0] == '1' &&
23330 (ZLIB_VERSION[2] > '1' ||
23331 (ZLIB_VERSION[2] == '1' &&
23332 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
23337 rm -f conftest
$ac_exeext
23338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23339 (eval $ac_link) 2>&5
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23344 (eval $ac_try) 2>&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); }; }; then
23348 ac_cv_header_zlib_h
=`cat conftestval`
23350 echo "$as_me: program exited with status $ac_status" >&5
23351 echo "$as_me: failed program was:" >&5
23352 sed 's/^/| /' conftest.
$ac_ext >&5
23354 ( exit $ac_status )
23355 ac_cv_header_zlib_h
=no
23357 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23361 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23362 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23363 if test "${ac_cv_header_zlib_h+set}" = set; then
23364 echo "$as_me:$LINENO: checking for zlib.h" >&5
23365 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23366 if test "${ac_cv_header_zlib_h+set}" = set; then
23367 echo $ECHO_N "(cached) $ECHO_C" >&6
23369 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23370 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23372 # Is the header compilable?
23373 echo "$as_me:$LINENO: checking zlib.h usability" >&5
23374 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
23375 cat >conftest.
$ac_ext <<_ACEOF
23378 cat confdefs.h
>>conftest.
$ac_ext
23379 cat >>conftest.
$ac_ext <<_ACEOF
23380 /* end confdefs.h. */
23381 $ac_includes_default
23384 rm -f conftest.
$ac_objext
23385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23386 (eval $ac_compile) 2>conftest.er1
23388 grep -v '^ *+' conftest.er1
>conftest.err
23390 cat conftest.err
>&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); } &&
23393 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23395 (eval $ac_try) 2>&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); }; } &&
23399 { ac_try
='test -s conftest.$ac_objext'
23400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23401 (eval $ac_try) 2>&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); }; }; then
23405 ac_header_compiler
=yes
23407 echo "$as_me: failed program was:" >&5
23408 sed 's/^/| /' conftest.
$ac_ext >&5
23410 ac_header_compiler
=no
23412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23414 echo "${ECHO_T}$ac_header_compiler" >&6
23416 # Is the header present?
23417 echo "$as_me:$LINENO: checking zlib.h presence" >&5
23418 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
23419 cat >conftest.
$ac_ext <<_ACEOF
23422 cat confdefs.h
>>conftest.
$ac_ext
23423 cat >>conftest.
$ac_ext <<_ACEOF
23424 /* end confdefs.h. */
23427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23428 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23430 grep -v '^ *+' conftest.er1
>conftest.err
23432 cat conftest.err
>&5
23433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434 (exit $ac_status); } >/dev
/null
; then
23435 if test -s conftest.err
; then
23436 ac_cpp_err
=$ac_c_preproc_warn_flag
23437 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23444 if test -z "$ac_cpp_err"; then
23445 ac_header_preproc
=yes
23447 echo "$as_me: failed program was:" >&5
23448 sed 's/^/| /' conftest.
$ac_ext >&5
23450 ac_header_preproc
=no
23452 rm -f conftest.err conftest.
$ac_ext
23453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23454 echo "${ECHO_T}$ac_header_preproc" >&6
23456 # So? What about this header?
23457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23459 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
23460 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23461 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
23462 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
23463 ac_header_preproc
=yes
23466 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23467 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23468 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23469 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23470 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23471 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23472 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23473 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23474 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
23475 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
23476 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
23477 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
23480 ## ----------------------------------------- ##
23481 ## Report this to wx-dev@lists.wxwidgets.org ##
23482 ## ----------------------------------------- ##
23485 sed "s/^/$as_me: WARNING: /" >&2
23488 echo "$as_me:$LINENO: checking for zlib.h" >&5
23489 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23490 if test "${ac_cv_header_zlib_h+set}" = set; then
23491 echo $ECHO_N "(cached) $ECHO_C" >&6
23493 ac_cv_header_zlib_h
=$ac_header_preproc
23495 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23496 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23502 system_zlib_h_ok
=$ac_cv_header_zlib_h
23505 if test "$system_zlib_h_ok" = "yes"; then
23506 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
23507 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
23508 if test "${ac_cv_lib_z_deflate+set}" = set; then
23509 echo $ECHO_N "(cached) $ECHO_C" >&6
23511 ac_check_lib_save_LIBS
=$LIBS
23513 cat >conftest.
$ac_ext <<_ACEOF
23516 cat confdefs.h
>>conftest.
$ac_ext
23517 cat >>conftest.
$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23520 /* Override any gcc2 internal prototype to avoid an error. */
23524 /* We use char because int might match the return type of a gcc2
23525 builtin and then its argument prototype would still apply. */
23535 rm -f conftest.
$ac_objext conftest
$ac_exeext
23536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23537 (eval $ac_link) 2>conftest.er1
23539 grep -v '^ *+' conftest.er1
>conftest.err
23541 cat conftest.err
>&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } &&
23544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23546 (eval $ac_try) 2>&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); }; } &&
23550 { ac_try
='test -s conftest$ac_exeext'
23551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23552 (eval $ac_try) 2>&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); }; }; then
23556 ac_cv_lib_z_deflate
=yes
23558 echo "$as_me: failed program was:" >&5
23559 sed 's/^/| /' conftest.
$ac_ext >&5
23561 ac_cv_lib_z_deflate
=no
23563 rm -f conftest.err conftest.
$ac_objext \
23564 conftest
$ac_exeext conftest.
$ac_ext
23565 LIBS
=$ac_check_lib_save_LIBS
23567 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
23568 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
23569 if test $ac_cv_lib_z_deflate = yes; then
23575 if test "x$ZLIB_LINK" = "x" ; then
23576 if test "$wxUSE_ZLIB" = "sys" ; then
23577 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
23578 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
23579 { (exit 1); exit 1; }; }
23581 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
23582 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
23593 if test "$wxUSE_LIBPNG" != "no" ; then
23594 cat >>confdefs.h
<<\_ACEOF
23595 #define wxUSE_LIBPNG 1
23599 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
23600 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
23601 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
23605 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
23606 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
23607 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
23608 wxUSE_LIBPNG
=builtin
23611 if test "$wxUSE_MGL" != 1 ; then
23612 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
23613 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
23614 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23615 if test "${ac_cv_header_png_h+set}" = set; then
23616 echo $ECHO_N "(cached) $ECHO_C" >&6
23618 if test "$cross_compiling" = yes; then
23619 unset ac_cv_header_png_h
23622 cat >conftest.
$ac_ext <<_ACEOF
23625 cat confdefs.h
>>conftest.
$ac_ext
23626 cat >>conftest.
$ac_ext <<_ACEOF
23627 /* end confdefs.h. */
23634 FILE *f=fopen("conftestval", "w");
23637 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23642 rm -f conftest
$ac_exeext
23643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23644 (eval $ac_link) 2>&5
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23649 (eval $ac_try) 2>&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); }; }; then
23653 ac_cv_header_png_h
=`cat conftestval`
23655 echo "$as_me: program exited with status $ac_status" >&5
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.
$ac_ext >&5
23659 ( exit $ac_status )
23660 ac_cv_header_png_h
=no
23662 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23666 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23667 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23668 if test "${ac_cv_header_png_h+set}" = set; then
23669 echo "$as_me:$LINENO: checking for png.h" >&5
23670 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23671 if test "${ac_cv_header_png_h+set}" = set; then
23672 echo $ECHO_N "(cached) $ECHO_C" >&6
23674 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23675 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23677 # Is the header compilable?
23678 echo "$as_me:$LINENO: checking png.h usability" >&5
23679 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23680 cat >conftest.
$ac_ext <<_ACEOF
23683 cat confdefs.h
>>conftest.
$ac_ext
23684 cat >>conftest.
$ac_ext <<_ACEOF
23685 /* end confdefs.h. */
23686 $ac_includes_default
23689 rm -f conftest.
$ac_objext
23690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23691 (eval $ac_compile) 2>conftest.er1
23693 grep -v '^ *+' conftest.er1
>conftest.err
23695 cat conftest.err
>&5
23696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23697 (exit $ac_status); } &&
23698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23700 (eval $ac_try) 2>&5
23702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703 (exit $ac_status); }; } &&
23704 { ac_try
='test -s conftest.$ac_objext'
23705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23706 (eval $ac_try) 2>&5
23708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709 (exit $ac_status); }; }; then
23710 ac_header_compiler
=yes
23712 echo "$as_me: failed program was:" >&5
23713 sed 's/^/| /' conftest.
$ac_ext >&5
23715 ac_header_compiler
=no
23717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23719 echo "${ECHO_T}$ac_header_compiler" >&6
23721 # Is the header present?
23722 echo "$as_me:$LINENO: checking png.h presence" >&5
23723 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23724 cat >conftest.
$ac_ext <<_ACEOF
23727 cat confdefs.h
>>conftest.
$ac_ext
23728 cat >>conftest.
$ac_ext <<_ACEOF
23729 /* end confdefs.h. */
23732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23733 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23735 grep -v '^ *+' conftest.er1
>conftest.err
23737 cat conftest.err
>&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); } >/dev
/null
; then
23740 if test -s conftest.err
; then
23741 ac_cpp_err
=$ac_c_preproc_warn_flag
23742 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23749 if test -z "$ac_cpp_err"; then
23750 ac_header_preproc
=yes
23752 echo "$as_me: failed program was:" >&5
23753 sed 's/^/| /' conftest.
$ac_ext >&5
23755 ac_header_preproc
=no
23757 rm -f conftest.err conftest.
$ac_ext
23758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23759 echo "${ECHO_T}$ac_header_preproc" >&6
23761 # So? What about this header?
23762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23764 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23765 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23766 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23767 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23768 ac_header_preproc
=yes
23771 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23772 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23773 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23774 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23775 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23776 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23777 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23778 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23779 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23780 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23781 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23782 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23785 ## ----------------------------------------- ##
23786 ## Report this to wx-dev@lists.wxwidgets.org ##
23787 ## ----------------------------------------- ##
23790 sed "s/^/$as_me: WARNING: /" >&2
23793 echo "$as_me:$LINENO: checking for png.h" >&5
23794 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23795 if test "${ac_cv_header_png_h+set}" = set; then
23796 echo $ECHO_N "(cached) $ECHO_C" >&6
23798 ac_cv_header_png_h
=$ac_header_preproc
23800 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23801 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23807 if test "$ac_cv_header_png_h" = "yes"; then
23808 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23809 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23810 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23811 echo $ECHO_N "(cached) $ECHO_C" >&6
23813 ac_check_lib_save_LIBS
=$LIBS
23814 LIBS
="-lpng -lz -lm $LIBS"
23815 cat >conftest.
$ac_ext <<_ACEOF
23818 cat confdefs.h
>>conftest.
$ac_ext
23819 cat >>conftest.
$ac_ext <<_ACEOF
23820 /* end confdefs.h. */
23822 /* Override any gcc2 internal prototype to avoid an error. */
23826 /* We use char because int might match the return type of a gcc2
23827 builtin and then its argument prototype would still apply. */
23828 char png_check_sig ();
23837 rm -f conftest.
$ac_objext conftest
$ac_exeext
23838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23839 (eval $ac_link) 2>conftest.er1
23841 grep -v '^ *+' conftest.er1
>conftest.err
23843 cat conftest.err
>&5
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); } &&
23846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23848 (eval $ac_try) 2>&5
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); }; } &&
23852 { ac_try
='test -s conftest$ac_exeext'
23853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23854 (eval $ac_try) 2>&5
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); }; }; then
23858 ac_cv_lib_png_png_check_sig
=yes
23860 echo "$as_me: failed program was:" >&5
23861 sed 's/^/| /' conftest.
$ac_ext >&5
23863 ac_cv_lib_png_png_check_sig
=no
23865 rm -f conftest.err conftest.
$ac_objext \
23866 conftest
$ac_exeext conftest.
$ac_ext
23867 LIBS
=$ac_check_lib_save_LIBS
23869 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23870 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23871 if test $ac_cv_lib_png_png_check_sig = yes; then
23872 PNG_LINK
=" -lpng -lz"
23877 if test "x$PNG_LINK" = "x" ; then
23878 if test "$wxUSE_LIBPNG" = "sys" ; then
23879 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23880 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23881 { (exit 1); exit 1; }; }
23883 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23884 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23885 wxUSE_LIBPNG
=builtin
23893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
23898 if test "$wxUSE_LIBJPEG" != "no" ; then
23899 cat >>confdefs.h
<<\_ACEOF
23900 #define wxUSE_LIBJPEG 1
23904 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23905 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23906 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23910 if test "$wxUSE_MGL" != 1 ; then
23911 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23912 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23913 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23914 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23915 echo $ECHO_N "(cached) $ECHO_C" >&6
23917 cat >conftest.
$ac_ext <<_ACEOF
23920 cat confdefs.h
>>conftest.
$ac_ext
23921 cat >>conftest.
$ac_ext <<_ACEOF
23922 /* end confdefs.h. */
23924 #undef HAVE_STDLIB_H
23926 #include <jpeglib.h>
23937 rm -f conftest.
$ac_objext
23938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23939 (eval $ac_compile) 2>conftest.er1
23941 grep -v '^ *+' conftest.er1
>conftest.err
23943 cat conftest.err
>&5
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); } &&
23946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23948 (eval $ac_try) 2>&5
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); }; } &&
23952 { ac_try
='test -s conftest.$ac_objext'
23953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23954 (eval $ac_try) 2>&5
23956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23957 (exit $ac_status); }; }; then
23958 ac_cv_header_jpeglib_h
=yes
23960 echo "$as_me: failed program was:" >&5
23961 sed 's/^/| /' conftest.
$ac_ext >&5
23963 ac_cv_header_jpeglib_h
=no
23966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23970 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23971 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23973 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23974 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23975 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23976 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23977 echo $ECHO_N "(cached) $ECHO_C" >&6
23979 ac_check_lib_save_LIBS
=$LIBS
23980 LIBS
="-ljpeg $LIBS"
23981 cat >conftest.
$ac_ext <<_ACEOF
23984 cat confdefs.h
>>conftest.
$ac_ext
23985 cat >>conftest.
$ac_ext <<_ACEOF
23986 /* end confdefs.h. */
23988 /* Override any gcc2 internal prototype to avoid an error. */
23992 /* We use char because int might match the return type of a gcc2
23993 builtin and then its argument prototype would still apply. */
23994 char jpeg_read_header ();
23998 jpeg_read_header ();
24003 rm -f conftest.
$ac_objext conftest
$ac_exeext
24004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24005 (eval $ac_link) 2>conftest.er1
24007 grep -v '^ *+' conftest.er1
>conftest.err
24009 cat conftest.err
>&5
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); } &&
24012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24014 (eval $ac_try) 2>&5
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); }; } &&
24018 { ac_try
='test -s conftest$ac_exeext'
24019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24020 (eval $ac_try) 2>&5
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); }; }; then
24024 ac_cv_lib_jpeg_jpeg_read_header
=yes
24026 echo "$as_me: failed program was:" >&5
24027 sed 's/^/| /' conftest.
$ac_ext >&5
24029 ac_cv_lib_jpeg_jpeg_read_header
=no
24031 rm -f conftest.err conftest.
$ac_objext \
24032 conftest
$ac_exeext conftest.
$ac_ext
24033 LIBS
=$ac_check_lib_save_LIBS
24035 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24036 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24037 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24038 JPEG_LINK
=" -ljpeg"
24043 if test "x$JPEG_LINK" = "x" ; then
24044 if test "$wxUSE_LIBJPEG" = "sys" ; then
24045 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24046 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24047 { (exit 1); exit 1; }; }
24049 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24050 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24051 wxUSE_LIBJPEG
=builtin
24062 TIFF_PREREQ_LINKS
=-lm
24063 if test "$wxUSE_LIBTIFF" != "no" ; then
24064 cat >>confdefs.h
<<\_ACEOF
24065 #define wxUSE_LIBTIFF 1
24069 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24070 if test "$wxUSE_LIBJPEG" = "sys"; then
24071 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
24073 if test "$wxUSE_ZLIB" = "sys"; then
24074 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24076 if test "${ac_cv_header_tiffio_h+set}" = set; then
24077 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24078 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24079 if test "${ac_cv_header_tiffio_h+set}" = set; then
24080 echo $ECHO_N "(cached) $ECHO_C" >&6
24082 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24083 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24085 # Is the header compilable?
24086 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24087 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24088 cat >conftest.
$ac_ext <<_ACEOF
24091 cat confdefs.h
>>conftest.
$ac_ext
24092 cat >>conftest.
$ac_ext <<_ACEOF
24093 /* end confdefs.h. */
24094 $ac_includes_default
24095 #include <tiffio.h>
24097 rm -f conftest.
$ac_objext
24098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24099 (eval $ac_compile) 2>conftest.er1
24101 grep -v '^ *+' conftest.er1
>conftest.err
24103 cat conftest.err
>&5
24104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24105 (exit $ac_status); } &&
24106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24108 (eval $ac_try) 2>&5
24110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 (exit $ac_status); }; } &&
24112 { ac_try
='test -s conftest.$ac_objext'
24113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24114 (eval $ac_try) 2>&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); }; }; then
24118 ac_header_compiler
=yes
24120 echo "$as_me: failed program was:" >&5
24121 sed 's/^/| /' conftest.
$ac_ext >&5
24123 ac_header_compiler
=no
24125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24127 echo "${ECHO_T}$ac_header_compiler" >&6
24129 # Is the header present?
24130 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24131 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24132 cat >conftest.
$ac_ext <<_ACEOF
24135 cat confdefs.h
>>conftest.
$ac_ext
24136 cat >>conftest.
$ac_ext <<_ACEOF
24137 /* end confdefs.h. */
24138 #include <tiffio.h>
24140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24141 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24143 grep -v '^ *+' conftest.er1
>conftest.err
24145 cat conftest.err
>&5
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } >/dev
/null
; then
24148 if test -s conftest.err
; then
24149 ac_cpp_err
=$ac_c_preproc_warn_flag
24150 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24157 if test -z "$ac_cpp_err"; then
24158 ac_header_preproc
=yes
24160 echo "$as_me: failed program was:" >&5
24161 sed 's/^/| /' conftest.
$ac_ext >&5
24163 ac_header_preproc
=no
24165 rm -f conftest.err conftest.
$ac_ext
24166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24167 echo "${ECHO_T}$ac_header_preproc" >&6
24169 # So? What about this header?
24170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24172 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24173 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24174 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
24175 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
24176 ac_header_preproc
=yes
24179 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
24180 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
24181 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
24182 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
24183 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
24184 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
24185 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
24186 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24187 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
24188 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
24189 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
24190 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
24193 ## ----------------------------------------- ##
24194 ## Report this to wx-dev@lists.wxwidgets.org ##
24195 ## ----------------------------------------- ##
24198 sed "s/^/$as_me: WARNING: /" >&2
24201 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24202 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24203 if test "${ac_cv_header_tiffio_h+set}" = set; then
24204 echo $ECHO_N "(cached) $ECHO_C" >&6
24206 ac_cv_header_tiffio_h
=$ac_header_preproc
24208 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24209 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24212 if test $ac_cv_header_tiffio_h = yes; then
24214 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
24215 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
24216 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
24217 echo $ECHO_N "(cached) $ECHO_C" >&6
24219 ac_check_lib_save_LIBS
=$LIBS
24220 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
24221 cat >conftest.
$ac_ext <<_ACEOF
24224 cat confdefs.h
>>conftest.
$ac_ext
24225 cat >>conftest.
$ac_ext <<_ACEOF
24226 /* end confdefs.h. */
24228 /* Override any gcc2 internal prototype to avoid an error. */
24232 /* We use char because int might match the return type of a gcc2
24233 builtin and then its argument prototype would still apply. */
24243 rm -f conftest.
$ac_objext conftest
$ac_exeext
24244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24245 (eval $ac_link) 2>conftest.er1
24247 grep -v '^ *+' conftest.er1
>conftest.err
24249 cat conftest.err
>&5
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); } &&
24252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24254 (eval $ac_try) 2>&5
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); }; } &&
24258 { ac_try
='test -s conftest$ac_exeext'
24259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24260 (eval $ac_try) 2>&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); }; }; then
24264 ac_cv_lib_tiff_TIFFError
=yes
24266 echo "$as_me: failed program was:" >&5
24267 sed 's/^/| /' conftest.
$ac_ext >&5
24269 ac_cv_lib_tiff_TIFFError
=no
24271 rm -f conftest.err conftest.
$ac_objext \
24272 conftest
$ac_exeext conftest.
$ac_ext
24273 LIBS
=$ac_check_lib_save_LIBS
24275 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
24276 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
24277 if test $ac_cv_lib_tiff_TIFFError = yes; then
24278 TIFF_LINK
=" -ltiff"
24287 if test "x$TIFF_LINK" = "x" ; then
24288 if test "$wxUSE_LIBTIFF" = "sys" ; then
24289 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
24290 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
24291 { (exit 1); exit 1; }; }
24293 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
24294 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
24295 wxUSE_LIBTIFF
=builtin
24304 if test "$wxUSE_WCHAR_T" != "yes"; then
24305 if test "$wxUSE_EXPAT" != "no"; then
24306 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
24307 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
24310 if test "$wxUSE_XML" != "no"; then
24311 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
24312 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
24317 if test "$wxUSE_EXPAT" != "no"; then
24319 cat >>confdefs.h
<<\_ACEOF
24320 #define wxUSE_EXPAT 1
24323 cat >>confdefs.h
<<\_ACEOF
24324 #define wxUSE_XML 1
24328 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
24329 if test "${ac_cv_header_expat_h+set}" = set; then
24330 echo "$as_me:$LINENO: checking for expat.h" >&5
24331 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24332 if test "${ac_cv_header_expat_h+set}" = set; then
24333 echo $ECHO_N "(cached) $ECHO_C" >&6
24335 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24336 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24338 # Is the header compilable?
24339 echo "$as_me:$LINENO: checking expat.h usability" >&5
24340 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
24341 cat >conftest.
$ac_ext <<_ACEOF
24344 cat confdefs.h
>>conftest.
$ac_ext
24345 cat >>conftest.
$ac_ext <<_ACEOF
24346 /* end confdefs.h. */
24347 $ac_includes_default
24350 rm -f conftest.
$ac_objext
24351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24352 (eval $ac_compile) 2>conftest.er1
24354 grep -v '^ *+' conftest.er1
>conftest.err
24356 cat conftest.err
>&5
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); } &&
24359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361 (eval $ac_try) 2>&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); }; } &&
24365 { ac_try
='test -s conftest.$ac_objext'
24366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24367 (eval $ac_try) 2>&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); }; }; then
24371 ac_header_compiler
=yes
24373 echo "$as_me: failed program was:" >&5
24374 sed 's/^/| /' conftest.
$ac_ext >&5
24376 ac_header_compiler
=no
24378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24380 echo "${ECHO_T}$ac_header_compiler" >&6
24382 # Is the header present?
24383 echo "$as_me:$LINENO: checking expat.h presence" >&5
24384 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
24385 cat >conftest.
$ac_ext <<_ACEOF
24388 cat confdefs.h
>>conftest.
$ac_ext
24389 cat >>conftest.
$ac_ext <<_ACEOF
24390 /* end confdefs.h. */
24393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24394 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24396 grep -v '^ *+' conftest.er1
>conftest.err
24398 cat conftest.err
>&5
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); } >/dev
/null
; then
24401 if test -s conftest.err
; then
24402 ac_cpp_err
=$ac_c_preproc_warn_flag
24403 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24410 if test -z "$ac_cpp_err"; then
24411 ac_header_preproc
=yes
24413 echo "$as_me: failed program was:" >&5
24414 sed 's/^/| /' conftest.
$ac_ext >&5
24416 ac_header_preproc
=no
24418 rm -f conftest.err conftest.
$ac_ext
24419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24420 echo "${ECHO_T}$ac_header_preproc" >&6
24422 # So? What about this header?
24423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24425 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
24426 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24427 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
24428 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
24429 ac_header_preproc
=yes
24432 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
24433 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
24434 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
24435 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
24436 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
24437 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
24438 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
24439 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
24440 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
24441 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
24442 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
24443 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
24446 ## ----------------------------------------- ##
24447 ## Report this to wx-dev@lists.wxwidgets.org ##
24448 ## ----------------------------------------- ##
24451 sed "s/^/$as_me: WARNING: /" >&2
24454 echo "$as_me:$LINENO: checking for expat.h" >&5
24455 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24456 if test "${ac_cv_header_expat_h+set}" = set; then
24457 echo $ECHO_N "(cached) $ECHO_C" >&6
24459 ac_cv_header_expat_h
=$ac_header_preproc
24461 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24462 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24465 if test $ac_cv_header_expat_h = yes; then
24470 if test "x$found_expat_h" = "x1"; then
24471 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24472 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24473 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24474 echo $ECHO_N "(cached) $ECHO_C" >&6
24480 ac_cpp
='$CXXCPP $CPPFLAGS'
24481 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24482 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24483 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24485 cat >conftest.
$ac_ext <<_ACEOF
24488 cat confdefs.h
>>conftest.
$ac_ext
24489 cat >>conftest.
$ac_ext <<_ACEOF
24490 /* end confdefs.h. */
24500 rm -f conftest.
$ac_objext
24501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24502 (eval $ac_compile) 2>conftest.er1
24504 grep -v '^ *+' conftest.er1
>conftest.err
24506 cat conftest.err
>&5
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); } &&
24509 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24511 (eval $ac_try) 2>&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); }; } &&
24515 { ac_try
='test -s conftest.$ac_objext'
24516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24517 (eval $ac_try) 2>&5
24519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24520 (exit $ac_status); }; }; then
24521 wx_cv_expat_is_not_broken
=yes
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.
$ac_ext >&5
24526 wx_cv_expat_is_not_broken
=no
24529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24531 ac_cpp
='$CPP $CPPFLAGS'
24532 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24533 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24534 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24539 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
24540 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
24541 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
24542 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
24543 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
24544 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
24545 echo $ECHO_N "(cached) $ECHO_C" >&6
24547 ac_check_lib_save_LIBS
=$LIBS
24548 LIBS
="-lexpat $LIBS"
24549 cat >conftest.
$ac_ext <<_ACEOF
24552 cat confdefs.h
>>conftest.
$ac_ext
24553 cat >>conftest.
$ac_ext <<_ACEOF
24554 /* end confdefs.h. */
24556 /* Override any gcc2 internal prototype to avoid an error. */
24560 /* We use char because int might match the return type of a gcc2
24561 builtin and then its argument prototype would still apply. */
24562 char XML_ParserCreate ();
24566 XML_ParserCreate ();
24571 rm -f conftest.
$ac_objext conftest
$ac_exeext
24572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24573 (eval $ac_link) 2>conftest.er1
24575 grep -v '^ *+' conftest.er1
>conftest.err
24577 cat conftest.err
>&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); } &&
24580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24582 (eval $ac_try) 2>&5
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); }; } &&
24586 { ac_try
='test -s conftest$ac_exeext'
24587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24588 (eval $ac_try) 2>&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; }; then
24592 ac_cv_lib_expat_XML_ParserCreate
=yes
24594 echo "$as_me: failed program was:" >&5
24595 sed 's/^/| /' conftest.
$ac_ext >&5
24597 ac_cv_lib_expat_XML_ParserCreate
=no
24599 rm -f conftest.err conftest.
$ac_objext \
24600 conftest
$ac_exeext conftest.
$ac_ext
24601 LIBS
=$ac_check_lib_save_LIBS
24603 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
24604 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
24605 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
24606 EXPAT_LINK
=" -lexpat"
24611 if test "x$EXPAT_LINK" = "x" ; then
24612 if test "$wxUSE_EXPAT" = "sys" ; then
24613 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24614 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24615 { (exit 1); exit 1; }; }
24617 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24618 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24619 wxUSE_EXPAT
=builtin
24625 if test "$wxUSE_EXPAT" = "builtin" ; then
24628 subdirs
="$subdirs src/expat"
24635 if test "$wxUSE_LIBMSPACK" != "no"; then
24636 if test "${ac_cv_header_mspack_h+set}" = set; then
24637 echo "$as_me:$LINENO: checking for mspack.h" >&5
24638 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24639 if test "${ac_cv_header_mspack_h+set}" = set; then
24640 echo $ECHO_N "(cached) $ECHO_C" >&6
24642 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24643 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24645 # Is the header compilable?
24646 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24647 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24648 cat >conftest.
$ac_ext <<_ACEOF
24651 cat confdefs.h
>>conftest.
$ac_ext
24652 cat >>conftest.
$ac_ext <<_ACEOF
24653 /* end confdefs.h. */
24654 $ac_includes_default
24655 #include <mspack.h>
24657 rm -f conftest.
$ac_objext
24658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24659 (eval $ac_compile) 2>conftest.er1
24661 grep -v '^ *+' conftest.er1
>conftest.err
24663 cat conftest.err
>&5
24664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665 (exit $ac_status); } &&
24666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24668 (eval $ac_try) 2>&5
24670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671 (exit $ac_status); }; } &&
24672 { ac_try
='test -s conftest.$ac_objext'
24673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24674 (eval $ac_try) 2>&5
24676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677 (exit $ac_status); }; }; then
24678 ac_header_compiler
=yes
24680 echo "$as_me: failed program was:" >&5
24681 sed 's/^/| /' conftest.
$ac_ext >&5
24683 ac_header_compiler
=no
24685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24686 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24687 echo "${ECHO_T}$ac_header_compiler" >&6
24689 # Is the header present?
24690 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24691 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24692 cat >conftest.
$ac_ext <<_ACEOF
24695 cat confdefs.h
>>conftest.
$ac_ext
24696 cat >>conftest.
$ac_ext <<_ACEOF
24697 /* end confdefs.h. */
24698 #include <mspack.h>
24700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24701 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24703 grep -v '^ *+' conftest.er1
>conftest.err
24705 cat conftest.err
>&5
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); } >/dev
/null
; then
24708 if test -s conftest.err
; then
24709 ac_cpp_err
=$ac_c_preproc_warn_flag
24710 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24717 if test -z "$ac_cpp_err"; then
24718 ac_header_preproc
=yes
24720 echo "$as_me: failed program was:" >&5
24721 sed 's/^/| /' conftest.
$ac_ext >&5
24723 ac_header_preproc
=no
24725 rm -f conftest.err conftest.
$ac_ext
24726 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24727 echo "${ECHO_T}$ac_header_preproc" >&6
24729 # So? What about this header?
24730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24732 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24733 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24734 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24735 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24736 ac_header_preproc
=yes
24739 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24740 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24741 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24742 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24743 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24744 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24745 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24746 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24747 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24748 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24749 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24750 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24753 ## ----------------------------------------- ##
24754 ## Report this to wx-dev@lists.wxwidgets.org ##
24755 ## ----------------------------------------- ##
24758 sed "s/^/$as_me: WARNING: /" >&2
24761 echo "$as_me:$LINENO: checking for mspack.h" >&5
24762 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24763 if test "${ac_cv_header_mspack_h+set}" = set; then
24764 echo $ECHO_N "(cached) $ECHO_C" >&6
24766 ac_cv_header_mspack_h
=$ac_header_preproc
24768 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24769 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24772 if test $ac_cv_header_mspack_h = yes; then
24777 if test "x$found_mspack_h" = "x1"; then
24778 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24779 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24780 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24781 echo $ECHO_N "(cached) $ECHO_C" >&6
24783 ac_check_lib_save_LIBS
=$LIBS
24784 LIBS
="-lmspack $LIBS"
24785 cat >conftest.
$ac_ext <<_ACEOF
24788 cat confdefs.h
>>conftest.
$ac_ext
24789 cat >>conftest.
$ac_ext <<_ACEOF
24790 /* end confdefs.h. */
24792 /* Override any gcc2 internal prototype to avoid an error. */
24796 /* We use char because int might match the return type of a gcc2
24797 builtin and then its argument prototype would still apply. */
24798 char mspack_create_chm_decompressor ();
24802 mspack_create_chm_decompressor ();
24807 rm -f conftest.
$ac_objext conftest
$ac_exeext
24808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24809 (eval $ac_link) 2>conftest.er1
24811 grep -v '^ *+' conftest.er1
>conftest.err
24813 cat conftest.err
>&5
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); } &&
24816 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24818 (eval $ac_try) 2>&5
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); }; } &&
24822 { ac_try
='test -s conftest$ac_exeext'
24823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24824 (eval $ac_try) 2>&5
24826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24827 (exit $ac_status); }; }; then
24828 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.
$ac_ext >&5
24833 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
24835 rm -f conftest.err conftest.
$ac_objext \
24836 conftest
$ac_exeext conftest.
$ac_ext
24837 LIBS
=$ac_check_lib_save_LIBS
24839 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24840 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24841 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24842 MSPACK_LINK
=" -lmspack"
24846 if test "x$MSPACK_LINK" = "x" ; then
24851 if test "$wxUSE_LIBMSPACK" != "no"; then
24852 cat >>confdefs.h
<<\_ACEOF
24853 #define wxUSE_LIBMSPACK 1
24867 if test "$USE_WIN32" = 1 ; then
24869 for ac_header
in w32api.h
24871 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24873 echo "$as_me:$LINENO: checking for $ac_header" >&5
24874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24876 echo $ECHO_N "(cached) $ECHO_C" >&6
24878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24881 # Is the header compilable?
24882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24884 cat >conftest.
$ac_ext <<_ACEOF
24887 cat confdefs.h
>>conftest.
$ac_ext
24888 cat >>conftest.
$ac_ext <<_ACEOF
24889 /* end confdefs.h. */
24890 $ac_includes_default
24891 #include <$ac_header>
24893 rm -f conftest.
$ac_objext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24895 (eval $ac_compile) 2>conftest.er1
24897 grep -v '^ *+' conftest.er1
>conftest.err
24899 cat conftest.err
>&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; } &&
24908 { ac_try
='test -s conftest.$ac_objext'
24909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24910 (eval $ac_try) 2>&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); }; }; then
24914 ac_header_compiler
=yes
24916 echo "$as_me: failed program was:" >&5
24917 sed 's/^/| /' conftest.
$ac_ext >&5
24919 ac_header_compiler
=no
24921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24923 echo "${ECHO_T}$ac_header_compiler" >&6
24925 # Is the header present?
24926 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24928 cat >conftest.
$ac_ext <<_ACEOF
24931 cat confdefs.h
>>conftest.
$ac_ext
24932 cat >>conftest.
$ac_ext <<_ACEOF
24933 /* end confdefs.h. */
24934 #include <$ac_header>
24936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24937 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24939 grep -v '^ *+' conftest.er1
>conftest.err
24941 cat conftest.err
>&5
24942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24943 (exit $ac_status); } >/dev
/null
; then
24944 if test -s conftest.err
; then
24945 ac_cpp_err
=$ac_c_preproc_warn_flag
24946 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24953 if test -z "$ac_cpp_err"; then
24954 ac_header_preproc
=yes
24956 echo "$as_me: failed program was:" >&5
24957 sed 's/^/| /' conftest.
$ac_ext >&5
24959 ac_header_preproc
=no
24961 rm -f conftest.err conftest.
$ac_ext
24962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24963 echo "${ECHO_T}$ac_header_preproc" >&6
24965 # So? What about this header?
24966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24968 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24969 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24971 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24972 ac_header_preproc
=yes
24975 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24976 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24977 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24978 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24979 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24980 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24981 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24982 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24985 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24986 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24989 ## ----------------------------------------- ##
24990 ## Report this to wx-dev@lists.wxwidgets.org ##
24991 ## ----------------------------------------- ##
24994 sed "s/^/$as_me: WARNING: /" >&2
24997 echo "$as_me:$LINENO: checking for $ac_header" >&5
24998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25002 eval "$as_ac_Header=\$ac_header_preproc"
25004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25009 cat >>confdefs.h
<<_ACEOF
25010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25017 if test "${ac_cv_header_windows_h+set}" = set; then
25018 echo "$as_me:$LINENO: checking for windows.h" >&5
25019 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25020 if test "${ac_cv_header_windows_h+set}" = set; then
25021 echo $ECHO_N "(cached) $ECHO_C" >&6
25023 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25024 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25026 # Is the header compilable?
25027 echo "$as_me:$LINENO: checking windows.h usability" >&5
25028 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25029 cat >conftest.
$ac_ext <<_ACEOF
25032 cat confdefs.h
>>conftest.
$ac_ext
25033 cat >>conftest.
$ac_ext <<_ACEOF
25034 /* end confdefs.h. */
25035 $ac_includes_default
25036 #include <windows.h>
25038 rm -f conftest.
$ac_objext
25039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25040 (eval $ac_compile) 2>conftest.er1
25042 grep -v '^ *+' conftest.er1
>conftest.err
25044 cat conftest.err
>&5
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); } &&
25047 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25049 (eval $ac_try) 2>&5
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); }; } &&
25053 { ac_try
='test -s conftest.$ac_objext'
25054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25055 (eval $ac_try) 2>&5
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); }; }; then
25059 ac_header_compiler
=yes
25061 echo "$as_me: failed program was:" >&5
25062 sed 's/^/| /' conftest.
$ac_ext >&5
25064 ac_header_compiler
=no
25066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25067 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25068 echo "${ECHO_T}$ac_header_compiler" >&6
25070 # Is the header present?
25071 echo "$as_me:$LINENO: checking windows.h presence" >&5
25072 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25073 cat >conftest.
$ac_ext <<_ACEOF
25076 cat confdefs.h
>>conftest.
$ac_ext
25077 cat >>conftest.
$ac_ext <<_ACEOF
25078 /* end confdefs.h. */
25079 #include <windows.h>
25081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25082 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25084 grep -v '^ *+' conftest.er1
>conftest.err
25086 cat conftest.err
>&5
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); } >/dev
/null
; then
25089 if test -s conftest.err
; then
25090 ac_cpp_err
=$ac_c_preproc_warn_flag
25091 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25098 if test -z "$ac_cpp_err"; then
25099 ac_header_preproc
=yes
25101 echo "$as_me: failed program was:" >&5
25102 sed 's/^/| /' conftest.
$ac_ext >&5
25104 ac_header_preproc
=no
25106 rm -f conftest.err conftest.
$ac_ext
25107 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25108 echo "${ECHO_T}$ac_header_preproc" >&6
25110 # So? What about this header?
25111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25113 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25114 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25115 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25116 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25117 ac_header_preproc
=yes
25120 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25121 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25122 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25123 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25124 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25125 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25126 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25127 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25128 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25129 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25130 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25131 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25134 ## ----------------------------------------- ##
25135 ## Report this to wx-dev@lists.wxwidgets.org ##
25136 ## ----------------------------------------- ##
25139 sed "s/^/$as_me: WARNING: /" >&2
25142 echo "$as_me:$LINENO: checking for windows.h" >&5
25143 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25144 if test "${ac_cv_header_windows_h+set}" = set; then
25145 echo $ECHO_N "(cached) $ECHO_C" >&6
25147 ac_cv_header_windows_h
=$ac_header_preproc
25149 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25150 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25153 if test $ac_cv_header_windows_h = yes; then
25157 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
25158 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
25159 { (exit 1); exit 1; }; }
25165 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
25167 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
25168 LIBS
="$LIBS -loleacc"
25173 LIBS
="$LIBS -lkernel32 -luser32"
25174 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
25177 if test "$wxUSE_ODBC" = "sys" ; then
25180 if test "$wxUSE_ODBC" = "yes" ; then
25181 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
25182 cat >>confdefs.h
<<\_ACEOF
25183 #define wxUSE_ODBC 1
25188 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
25189 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
25191 WIN32INSTALL
=win32install
25194 if test "$wxUSE_GUI" = "yes"; then
25204 if test "$wxUSE_COCOA" = 1 ; then
25205 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
25206 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
25207 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
25208 wxUSE_PRINTING_ARCHITECTURE
=no
25210 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
25211 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
25212 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
25213 wxUSE_DRAG_AND_DROP
=no
25215 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25216 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
25217 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
25222 if test "$wxUSE_MSW" = 1 ; then
25228 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
25232 if test "$wxUSE_GTK" = 1; then
25233 echo "$as_me:$LINENO: checking for GTK+ version" >&5
25234 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
25236 gtk_version_cached
=1
25237 if test "${wx_cv_lib_gtk+set}" = set; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25241 gtk_version_cached
=0
25242 echo "$as_me:$LINENO: result: " >&5
25243 echo "${ECHO_T}" >&6
25246 if test "$wxUSE_THREADS" = "yes"; then
25247 GTK_MODULES
=gthread
25251 if test "x$wxGTK_VERSION" != "x1"
25255 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25260 # Check whether --enable-gtktest or --disable-gtktest was given.
25261 if test "${enable_gtktest+set}" = set; then
25262 enableval
="$enable_gtktest"
25268 pkg_config_args
=gtk
+-2.0
25269 for module
in .
$GTK_MODULES
25273 pkg_config_args
="$pkg_config_args gthread-2.0"
25280 # Extract the first word of "pkg-config", so it can be a program name with args.
25281 set dummy pkg
-config; ac_word
=$2
25282 echo "$as_me:$LINENO: checking for $ac_word" >&5
25283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25284 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25285 echo $ECHO_N "(cached) $ECHO_C" >&6
25287 case $PKG_CONFIG in
25289 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25293 for as_dir
in $PATH
25296 test -z "$as_dir" && as_dir
=.
25297 for ac_exec_ext
in '' $ac_executable_extensions; do
25298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25299 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25306 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25310 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25312 if test -n "$PKG_CONFIG"; then
25313 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25314 echo "${ECHO_T}$PKG_CONFIG" >&6
25316 echo "$as_me:$LINENO: result: no" >&5
25317 echo "${ECHO_T}no" >&6
25321 if test x
$PKG_CONFIG != xno
; then
25322 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
25325 echo "*** pkg-config too old; version 0.7 or better required."
25333 min_gtk_version
=2.0.0
25334 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
25335 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
25337 if test x
$PKG_CONFIG != xno
; then
25338 ## don't try to run the test against uninstalled libtool libs
25339 if $PKG_CONFIG --uninstalled $pkg_config_args; then
25340 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
25344 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
25351 if test x
"$no_gtk" = x
; then
25352 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
25353 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
25354 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25355 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25356 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25357 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25358 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25359 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25360 if test "x$enable_gtktest" = "xyes" ; then
25361 ac_save_CFLAGS
="$CFLAGS"
25362 ac_save_LIBS
="$LIBS"
25363 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25364 LIBS
="$GTK_LIBS $LIBS"
25366 if test "$cross_compiling" = yes; then
25367 echo $ac_n "cross compiling; assumed OK... $ac_c"
25369 cat >conftest.
$ac_ext <<_ACEOF
25372 cat confdefs.h
>>conftest.
$ac_ext
25373 cat >>conftest.
$ac_ext <<_ACEOF
25374 /* end confdefs.h. */
25376 #include <gtk/gtk.h>
25378 #include <stdlib.h>
25383 int major, minor, micro;
25386 system ("touch conf.gtktest");
25388 /* HP/UX 9 (%@#!) writes to sscanf strings */
25389 tmp_version = g_strdup("$min_gtk_version");
25390 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25391 printf("%s, bad version string\n", "$min_gtk_version");
25395 if ((gtk_major_version != $gtk_config_major_version) ||
25396 (gtk_minor_version != $gtk_config_minor_version) ||
25397 (gtk_micro_version != $gtk_config_micro_version))
25399 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25400 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25401 gtk_major_version, gtk_minor_version, gtk_micro_version);
25402 printf ("*** was found! If pkg-config was correct, then it is best\n");
25403 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25404 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25405 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25406 printf("*** required on your system.\n");
25407 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
25408 printf("*** to point to the correct configuration files\n");
25410 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25411 (gtk_minor_version != GTK_MINOR_VERSION) ||
25412 (gtk_micro_version != GTK_MICRO_VERSION))
25414 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25415 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25416 printf("*** library (version %d.%d.%d)\n",
25417 gtk_major_version, gtk_minor_version, gtk_micro_version);
25421 if ((gtk_major_version > major) ||
25422 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25423 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25429 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25430 gtk_major_version, gtk_minor_version, gtk_micro_version);
25431 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25432 major, minor, micro);
25433 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25435 printf("*** If you have already installed a sufficiently new version, this error\n");
25436 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
25437 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25438 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
25439 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
25440 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25441 printf("*** so that the correct libraries are found at run-time))\n");
25448 rm -f conftest
$ac_exeext
25449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25450 (eval $ac_link) 2>&5
25452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25453 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25455 (eval $ac_try) 2>&5
25457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25458 (exit $ac_status); }; }; then
25461 echo "$as_me: program exited with status $ac_status" >&5
25462 echo "$as_me: failed program was:" >&5
25463 sed 's/^/| /' conftest.
$ac_ext >&5
25465 ( exit $ac_status )
25468 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25470 CFLAGS
="$ac_save_CFLAGS"
25471 LIBS
="$ac_save_LIBS"
25474 if test "x$no_gtk" = x
; then
25475 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
25476 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
25479 echo "$as_me:$LINENO: result: no" >&5
25480 echo "${ECHO_T}no" >&6
25481 if test "$PKG_CONFIG" = "no" ; then
25482 echo "*** A new enough version of pkg-config was not found."
25483 echo "*** See http://pkgconfig.sourceforge.net"
25485 if test -f conf.gtktest
; then
25488 echo "*** Could not run GTK+ test program, checking why..."
25489 ac_save_CFLAGS
="$CFLAGS"
25490 ac_save_LIBS
="$LIBS"
25491 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25492 LIBS
="$LIBS $GTK_LIBS"
25493 cat >conftest.
$ac_ext <<_ACEOF
25496 cat confdefs.h
>>conftest.
$ac_ext
25497 cat >>conftest.
$ac_ext <<_ACEOF
25498 /* end confdefs.h. */
25500 #include <gtk/gtk.h>
25506 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25511 rm -f conftest.
$ac_objext conftest
$ac_exeext
25512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25513 (eval $ac_link) 2>conftest.er1
25515 grep -v '^ *+' conftest.er1
>conftest.err
25517 cat conftest.err
>&5
25518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519 (exit $ac_status); } &&
25520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25522 (eval $ac_try) 2>&5
25524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25525 (exit $ac_status); }; } &&
25526 { ac_try
='test -s conftest$ac_exeext'
25527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25528 (eval $ac_try) 2>&5
25530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25531 (exit $ac_status); }; }; then
25532 echo "*** The test program compiled, but did not run. This usually means"
25533 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
25534 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
25535 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25536 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25537 echo "*** is required on your system"
25539 echo "*** If you have an old version installed, it is best to remove it, although"
25540 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25542 echo "$as_me: failed program was:" >&5
25543 sed 's/^/| /' conftest.
$ac_ext >&5
25545 echo "*** The test program failed to compile or link. See the file config.log for the"
25546 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
25548 rm -f conftest.err conftest.
$ac_objext \
25549 conftest
$ac_exeext conftest.
$ac_ext
25550 CFLAGS
="$ac_save_CFLAGS"
25551 LIBS
="$ac_save_LIBS"
25565 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25566 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
25567 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
25569 if test "$wxUSE_SHARED" != "yes"; then
25570 GTK_LIBS
="$GTK_LIBS -lX11"
25575 if test -z "$wx_cv_lib_gtk"; then
25576 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
25578 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25579 if test "${with_gtk_prefix+set}" = set; then
25580 withval
="$with_gtk_prefix"
25581 gtk_config_prefix
="$withval"
25583 gtk_config_prefix
=""
25586 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25587 if test "${with_gtk_exec_prefix+set}" = set; then
25588 withval
="$with_gtk_exec_prefix"
25589 gtk_config_exec_prefix
="$withval"
25591 gtk_config_exec_prefix
=""
25593 # Check whether --enable-gtktest or --disable-gtktest was given.
25594 if test "${enable_gtktest+set}" = set; then
25595 enableval
="$enable_gtktest"
25601 for module
in .
$GTK_MODULES
25605 gtk_config_args
="$gtk_config_args gthread"
25610 if test x
$gtk_config_exec_prefix != x
; then
25611 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25612 if test x
${GTK_CONFIG+set} != xset
; then
25613 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25616 if test x
$gtk_config_prefix != x
; then
25617 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25618 if test x
${GTK_CONFIG+set} != xset
; then
25619 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25623 # Extract the first word of "gtk-config", so it can be a program name with args.
25624 set dummy gtk
-config; ac_word
=$2
25625 echo "$as_me:$LINENO: checking for $ac_word" >&5
25626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25627 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25628 echo $ECHO_N "(cached) $ECHO_C" >&6
25630 case $GTK_CONFIG in
25632 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25636 for as_dir
in $PATH
25639 test -z "$as_dir" && as_dir
=.
25640 for ac_exec_ext
in '' $ac_executable_extensions; do
25641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25642 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25649 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25653 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25655 if test -n "$GTK_CONFIG"; then
25656 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25657 echo "${ECHO_T}$GTK_CONFIG" >&6
25659 echo "$as_me:$LINENO: result: no" >&5
25660 echo "${ECHO_T}no" >&6
25663 min_gtk_version
=1.2.7
25664 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25665 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25667 if test "$GTK_CONFIG" = "no" ; then
25670 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25671 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25672 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25673 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25674 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25675 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25676 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25677 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25678 if test "x$enable_gtktest" = "xyes" ; then
25679 ac_save_CFLAGS
="$CFLAGS"
25680 ac_save_LIBS
="$LIBS"
25681 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25682 LIBS
="$GTK_LIBS $LIBS"
25684 if test "$cross_compiling" = yes; then
25685 echo $ac_n "cross compiling; assumed OK... $ac_c"
25687 cat >conftest.
$ac_ext <<_ACEOF
25690 cat confdefs.h
>>conftest.
$ac_ext
25691 cat >>conftest.
$ac_ext <<_ACEOF
25692 /* end confdefs.h. */
25694 #include <gtk/gtk.h>
25696 #include <stdlib.h>
25701 int major, minor, micro;
25704 system ("touch conf.gtktest");
25706 /* HP/UX 9 (%@#!) writes to sscanf strings */
25707 tmp_version = g_strdup("$min_gtk_version");
25708 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25709 printf("%s, bad version string\n", "$min_gtk_version");
25713 if ((gtk_major_version != $gtk_config_major_version) ||
25714 (gtk_minor_version != $gtk_config_minor_version) ||
25715 (gtk_micro_version != $gtk_config_micro_version))
25717 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25718 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25719 gtk_major_version, gtk_minor_version, gtk_micro_version);
25720 printf ("*** was found! If gtk-config was correct, then it is best\n");
25721 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25722 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25723 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25724 printf("*** required on your system.\n");
25725 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25726 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25727 printf("*** before re-running configure\n");
25729 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25730 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25731 (gtk_minor_version != GTK_MINOR_VERSION) ||
25732 (gtk_micro_version != GTK_MICRO_VERSION))
25734 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25735 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25736 printf("*** library (version %d.%d.%d)\n",
25737 gtk_major_version, gtk_minor_version, gtk_micro_version);
25739 #endif /* defined (GTK_MAJOR_VERSION) ... */
25742 if ((gtk_major_version > major) ||
25743 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25744 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25750 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25751 gtk_major_version, gtk_minor_version, gtk_micro_version);
25752 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25753 major, minor, micro);
25754 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25756 printf("*** If you have already installed a sufficiently new version, this error\n");
25757 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25758 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25759 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25760 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25761 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25762 printf("*** so that the correct libraries are found at run-time))\n");
25769 rm -f conftest
$ac_exeext
25770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25771 (eval $ac_link) 2>&5
25773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25776 (eval $ac_try) 2>&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); }; }; then
25782 echo "$as_me: program exited with status $ac_status" >&5
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.
$ac_ext >&5
25786 ( exit $ac_status )
25789 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25791 CFLAGS
="$ac_save_CFLAGS"
25792 LIBS
="$ac_save_LIBS"
25795 if test "x$no_gtk" = x
; then
25796 echo "$as_me:$LINENO: result: yes" >&5
25797 echo "${ECHO_T}yes" >&6
25798 wx_cv_lib_gtk
=1.2.7
25800 echo "$as_me:$LINENO: result: no" >&5
25801 echo "${ECHO_T}no" >&6
25802 if test "$GTK_CONFIG" = "no" ; then
25803 echo "*** The gtk-config script installed by GTK could not be found"
25804 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25805 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25806 echo "*** full path to gtk-config."
25808 if test -f conf.gtktest
; then
25811 echo "*** Could not run GTK test program, checking why..."
25812 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25813 LIBS
="$LIBS $GTK_LIBS"
25814 cat >conftest.
$ac_ext <<_ACEOF
25817 cat confdefs.h
>>conftest.
$ac_ext
25818 cat >>conftest.
$ac_ext <<_ACEOF
25819 /* end confdefs.h. */
25821 #include <gtk/gtk.h>
25827 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25832 rm -f conftest.
$ac_objext conftest
$ac_exeext
25833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25834 (eval $ac_link) 2>conftest.er1
25836 grep -v '^ *+' conftest.er1
>conftest.err
25838 cat conftest.err
>&5
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); } &&
25841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25843 (eval $ac_try) 2>&5
25845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25846 (exit $ac_status); }; } &&
25847 { ac_try
='test -s conftest$ac_exeext'
25848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25849 (eval $ac_try) 2>&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); }; }; then
25853 echo "*** The test program compiled, but did not run. This usually means"
25854 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25855 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25856 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25857 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25858 echo "*** is required on your system"
25860 echo "*** If you have an old version installed, it is best to remove it, although"
25861 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25863 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25864 echo "*** came with the system with the command"
25866 echo "*** rpm --erase --nodeps gtk gtk-devel"
25868 echo "$as_me: failed program was:" >&5
25869 sed 's/^/| /' conftest.
$ac_ext >&5
25871 echo "*** The test program failed to compile or link. See the file config.log for the"
25872 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25873 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25874 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25876 rm -f conftest.err conftest.
$ac_objext \
25877 conftest
$ac_exeext conftest.
$ac_ext
25878 CFLAGS
="$ac_save_CFLAGS"
25879 LIBS
="$ac_save_LIBS"
25891 if test -z "$wx_cv_lib_gtk"; then
25893 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25894 if test "${with_gtk_prefix+set}" = set; then
25895 withval
="$with_gtk_prefix"
25896 gtk_config_prefix
="$withval"
25898 gtk_config_prefix
=""
25901 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25902 if test "${with_gtk_exec_prefix+set}" = set; then
25903 withval
="$with_gtk_exec_prefix"
25904 gtk_config_exec_prefix
="$withval"
25906 gtk_config_exec_prefix
=""
25908 # Check whether --enable-gtktest or --disable-gtktest was given.
25909 if test "${enable_gtktest+set}" = set; then
25910 enableval
="$enable_gtktest"
25916 for module
in .
$GTK_MODULES
25920 gtk_config_args
="$gtk_config_args gthread"
25925 if test x
$gtk_config_exec_prefix != x
; then
25926 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25927 if test x
${GTK_CONFIG+set} != xset
; then
25928 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25931 if test x
$gtk_config_prefix != x
; then
25932 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25933 if test x
${GTK_CONFIG+set} != xset
; then
25934 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25938 # Extract the first word of "gtk-config", so it can be a program name with args.
25939 set dummy gtk
-config; ac_word
=$2
25940 echo "$as_me:$LINENO: checking for $ac_word" >&5
25941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25942 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25943 echo $ECHO_N "(cached) $ECHO_C" >&6
25945 case $GTK_CONFIG in
25947 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25951 for as_dir
in $PATH
25954 test -z "$as_dir" && as_dir
=.
25955 for ac_exec_ext
in '' $ac_executable_extensions; do
25956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25957 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25964 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25968 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25970 if test -n "$GTK_CONFIG"; then
25971 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25972 echo "${ECHO_T}$GTK_CONFIG" >&6
25974 echo "$as_me:$LINENO: result: no" >&5
25975 echo "${ECHO_T}no" >&6
25978 min_gtk_version
=1.2.3
25979 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25980 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25982 if test "$GTK_CONFIG" = "no" ; then
25985 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25986 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25987 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25988 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25989 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25990 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25991 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25992 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25993 if test "x$enable_gtktest" = "xyes" ; then
25994 ac_save_CFLAGS
="$CFLAGS"
25995 ac_save_LIBS
="$LIBS"
25996 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25997 LIBS
="$GTK_LIBS $LIBS"
25999 if test "$cross_compiling" = yes; then
26000 echo $ac_n "cross compiling; assumed OK... $ac_c"
26002 cat >conftest.
$ac_ext <<_ACEOF
26005 cat confdefs.h
>>conftest.
$ac_ext
26006 cat >>conftest.
$ac_ext <<_ACEOF
26007 /* end confdefs.h. */
26009 #include <gtk/gtk.h>
26011 #include <stdlib.h>
26016 int major, minor, micro;
26019 system ("touch conf.gtktest");
26021 /* HP/UX 9 (%@#!) writes to sscanf strings */
26022 tmp_version = g_strdup("$min_gtk_version");
26023 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26024 printf("%s, bad version string\n", "$min_gtk_version");
26028 if ((gtk_major_version != $gtk_config_major_version) ||
26029 (gtk_minor_version != $gtk_config_minor_version) ||
26030 (gtk_micro_version != $gtk_config_micro_version))
26032 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26033 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26034 gtk_major_version, gtk_minor_version, gtk_micro_version);
26035 printf ("*** was found! If gtk-config was correct, then it is best\n");
26036 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26037 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26038 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26039 printf("*** required on your system.\n");
26040 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26041 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26042 printf("*** before re-running configure\n");
26044 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26045 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26046 (gtk_minor_version != GTK_MINOR_VERSION) ||
26047 (gtk_micro_version != GTK_MICRO_VERSION))
26049 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26050 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26051 printf("*** library (version %d.%d.%d)\n",
26052 gtk_major_version, gtk_minor_version, gtk_micro_version);
26054 #endif /* defined (GTK_MAJOR_VERSION) ... */
26057 if ((gtk_major_version > major) ||
26058 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26059 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26065 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26066 gtk_major_version, gtk_minor_version, gtk_micro_version);
26067 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26068 major, minor, micro);
26069 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26071 printf("*** If you have already installed a sufficiently new version, this error\n");
26072 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26073 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26074 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26075 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26076 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26077 printf("*** so that the correct libraries are found at run-time))\n");
26084 rm -f conftest
$ac_exeext
26085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26086 (eval $ac_link) 2>&5
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091 (eval $ac_try) 2>&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); }; }; then
26097 echo "$as_me: program exited with status $ac_status" >&5
26098 echo "$as_me: failed program was:" >&5
26099 sed 's/^/| /' conftest.
$ac_ext >&5
26101 ( exit $ac_status )
26104 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26106 CFLAGS
="$ac_save_CFLAGS"
26107 LIBS
="$ac_save_LIBS"
26110 if test "x$no_gtk" = x
; then
26111 echo "$as_me:$LINENO: result: yes" >&5
26112 echo "${ECHO_T}yes" >&6
26113 wx_cv_lib_gtk
=1.2.3
26115 echo "$as_me:$LINENO: result: no" >&5
26116 echo "${ECHO_T}no" >&6
26117 if test "$GTK_CONFIG" = "no" ; then
26118 echo "*** The gtk-config script installed by GTK could not be found"
26119 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26120 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26121 echo "*** full path to gtk-config."
26123 if test -f conf.gtktest
; then
26126 echo "*** Could not run GTK test program, checking why..."
26127 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26128 LIBS
="$LIBS $GTK_LIBS"
26129 cat >conftest.
$ac_ext <<_ACEOF
26132 cat confdefs.h
>>conftest.
$ac_ext
26133 cat >>conftest.
$ac_ext <<_ACEOF
26134 /* end confdefs.h. */
26136 #include <gtk/gtk.h>
26142 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26147 rm -f conftest.
$ac_objext conftest
$ac_exeext
26148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26149 (eval $ac_link) 2>conftest.er1
26151 grep -v '^ *+' conftest.er1
>conftest.err
26153 cat conftest.err
>&5
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); } &&
26156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
26162 { ac_try
='test -s conftest$ac_exeext'
26163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26164 (eval $ac_try) 2>&5
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); }; }; then
26168 echo "*** The test program compiled, but did not run. This usually means"
26169 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26170 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26171 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26172 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26173 echo "*** is required on your system"
26175 echo "*** If you have an old version installed, it is best to remove it, although"
26176 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26178 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26179 echo "*** came with the system with the command"
26181 echo "*** rpm --erase --nodeps gtk gtk-devel"
26183 echo "$as_me: failed program was:" >&5
26184 sed 's/^/| /' conftest.
$ac_ext >&5
26186 echo "*** The test program failed to compile or link. See the file config.log for the"
26187 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26188 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26189 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26191 rm -f conftest.err conftest.
$ac_objext \
26192 conftest
$ac_exeext conftest.
$ac_ext
26193 CFLAGS
="$ac_save_CFLAGS"
26194 LIBS
="$ac_save_LIBS"
26209 if test -z "$wx_cv_lib_gtk"; then
26212 wx_cv_cflags_gtk
=$GTK_CFLAGS
26213 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
26220 if test "$gtk_version_cached" = 1; then
26221 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
26222 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
26225 case "$wx_cv_lib_gtk" in
26234 *) { { echo "$as_me:$LINENO: error:
26235 The development files for GTK+ were not found. For GTK+ 2, please
26236 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26237 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26238 and that the version is 1.2.3 or above. Also check that the
26239 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26240 --libs' are in the LD_LIBRARY_PATH or equivalent.
26242 echo "$as_me: error:
26243 The development files for GTK+ were not found. For GTK+ 2, please
26244 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26245 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26246 and that the version is 1.2.3 or above. Also check that the
26247 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26248 --libs' are in the LD_LIBRARY_PATH or equivalent.
26250 { (exit 1); exit 1; }; }
26254 if test "$WXGTK20" = 1; then
26255 save_CFLAGS
="$CFLAGS"
26257 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
26258 LIBS
="$LIBS $wx_cv_libs_gtk"
26260 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
26261 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
26262 cat >conftest.
$ac_ext <<_ACEOF
26265 cat confdefs.h
>>conftest.
$ac_ext
26266 cat >>conftest.
$ac_ext <<_ACEOF
26267 /* end confdefs.h. */
26269 #include <gtk/gtk.h>
26275 void *f = gtk_icon_size_lookup;
26281 rm -f conftest.
$ac_objext
26282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26283 (eval $ac_compile) 2>conftest.er1
26285 grep -v '^ *+' conftest.er1
>conftest.err
26287 cat conftest.err
>&5
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); } &&
26290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26292 (eval $ac_try) 2>&5
26294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295 (exit $ac_status); }; } &&
26296 { ac_try
='test -s conftest.$ac_objext'
26297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26298 (eval $ac_try) 2>&5
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); }; }; then
26303 echo "$as_me:$LINENO: result: no" >&5
26304 echo "${ECHO_T}no" >&6
26307 echo "$as_me: failed program was:" >&5
26308 sed 's/^/| /' conftest.
$ac_ext >&5
26311 cat >>confdefs.h
<<\_ACEOF
26312 #define NEED_GTK_ICON_SIZE_LOOKUP 1
26315 echo "$as_me:$LINENO: result: yes" >&5
26316 echo "${ECHO_T}yes" >&6
26319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26321 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
26322 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
26323 cat >conftest.
$ac_ext <<_ACEOF
26326 cat confdefs.h
>>conftest.
$ac_ext
26327 cat >>conftest.
$ac_ext <<_ACEOF
26328 /* end confdefs.h. */
26330 #include <gtk/gtk.h>
26336 #if !GTK_CHECK_VERSION(2,4,0)
26344 rm -f conftest.
$ac_objext
26345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26346 (eval $ac_compile) 2>conftest.er1
26348 grep -v '^ *+' conftest.er1
>conftest.err
26350 cat conftest.err
>&5
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); } &&
26353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26355 (eval $ac_try) 2>&5
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); }; } &&
26359 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
26366 cat >>confdefs.h
<<\_ACEOF
26367 #define __WXGTK24__ 1
26370 echo "$as_me:$LINENO: result: yes" >&5
26371 echo "${ECHO_T}yes" >&6
26374 echo "$as_me: failed program was:" >&5
26375 sed 's/^/| /' conftest.
$ac_ext >&5
26378 echo "$as_me:$LINENO: result: no" >&5
26379 echo "${ECHO_T}no" >&6
26382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26384 CFLAGS
="$save_CFLAGS"
26387 if test "$wxUSE_UNICODE" = "yes"; then
26388 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
26389 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
26394 if test "$USE_DARWIN" != 1; then
26396 for ac_func
in poll
26398 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26399 echo "$as_me:$LINENO: checking for $ac_func" >&5
26400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26401 if eval "test \"\${$as_ac_var+set}\" = set"; then
26402 echo $ECHO_N "(cached) $ECHO_C" >&6
26404 cat >conftest.
$ac_ext <<_ACEOF
26407 cat confdefs.h
>>conftest.
$ac_ext
26408 cat >>conftest.
$ac_ext <<_ACEOF
26409 /* end confdefs.h. */
26410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26412 #define $ac_func innocuous_$ac_func
26414 /* System header to define __stub macros and hopefully few prototypes,
26415 which can conflict with char $ac_func (); below.
26416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26417 <limits.h> exists even on freestanding compilers. */
26420 # include <limits.h>
26422 # include <assert.h>
26427 /* Override any gcc2 internal prototype to avoid an error. */
26432 /* We use char because int might match the return type of a gcc2
26433 builtin and then its argument prototype would still apply. */
26435 /* The GNU C library defines this for functions which it implements
26436 to always fail with ENOSYS. Some functions are actually named
26437 something starting with __ and the normal name is an alias. */
26438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26441 char (*f) () = $ac_func;
26450 return f != $ac_func;
26455 rm -f conftest.
$ac_objext conftest
$ac_exeext
26456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26457 (eval $ac_link) 2>conftest.er1
26459 grep -v '^ *+' conftest.er1
>conftest.err
26461 cat conftest.err
>&5
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); } &&
26464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26466 (eval $ac_try) 2>&5
26468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 (exit $ac_status); }; } &&
26470 { ac_try
='test -s conftest$ac_exeext'
26471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26472 (eval $ac_try) 2>&5
26474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26475 (exit $ac_status); }; }; then
26476 eval "$as_ac_var=yes"
26478 echo "$as_me: failed program was:" >&5
26479 sed 's/^/| /' conftest.
$ac_ext >&5
26481 eval "$as_ac_var=no"
26483 rm -f conftest.err conftest.
$ac_objext \
26484 conftest
$ac_exeext conftest.
$ac_ext
26486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26488 if test `eval echo '${'$as_ac_var'}'` = yes; then
26489 cat >>confdefs.h
<<_ACEOF
26490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26498 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
26499 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
26501 AFMINSTALL
=afminstall
26505 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
26506 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
26507 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26510 ac_check_lib_save_LIBS
=$LIBS
26512 cat >conftest.
$ac_ext <<_ACEOF
26515 cat confdefs.h
>>conftest.
$ac_ext
26516 cat >>conftest.
$ac_ext <<_ACEOF
26517 /* end confdefs.h. */
26519 /* Override any gcc2 internal prototype to avoid an error. */
26523 /* We use char because int might match the return type of a gcc2
26524 builtin and then its argument prototype would still apply. */
26525 char gdk_im_open ();
26534 rm -f conftest.
$ac_objext conftest
$ac_exeext
26535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26536 (eval $ac_link) 2>conftest.er1
26538 grep -v '^ *+' conftest.er1
>conftest.err
26540 cat conftest.err
>&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); } &&
26543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26545 (eval $ac_try) 2>&5
26547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26548 (exit $ac_status); }; } &&
26549 { ac_try
='test -s conftest$ac_exeext'
26550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26551 (eval $ac_try) 2>&5
26553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554 (exit $ac_status); }; }; then
26555 ac_cv_lib_gdk_gdk_im_open
=yes
26557 echo "$as_me: failed program was:" >&5
26558 sed 's/^/| /' conftest.
$ac_ext >&5
26560 ac_cv_lib_gdk_gdk_im_open
=no
26562 rm -f conftest.err conftest.
$ac_objext \
26563 conftest
$ac_exeext conftest.
$ac_ext
26564 LIBS
=$ac_check_lib_save_LIBS
26566 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26567 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26568 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26569 cat >>confdefs.h
<<\_ACEOF
26577 if test "$wxUSE_GPE" = "yes"; then
26578 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26579 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26582 for ac_dir
in $SEARCH_LIB;
26584 for ac_extension
in a so sl dylib dll.a
; do
26585 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26586 ac_find_libraries
=$ac_dir
26592 if test "$ac_find_libraries" != "" ; then
26594 if test "$ac_find_libraries" = "default location"; then
26597 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26599 if test $result = 0; then
26602 ac_path_to_link
=" -L$ac_find_libraries"
26606 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26608 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
26609 echo "${ECHO_T}found in $ac_find_libraries" >&6
26611 echo "$as_me:$LINENO: result: not found" >&5
26612 echo "${ECHO_T}not found" >&6
26618 if test "$wxUSE_MGL" = 1; then
26619 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26620 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26621 if test "x$MGL_ROOT" = x
; then
26622 echo "$as_me:$LINENO: result: not found" >&5
26623 echo "${ECHO_T}not found" >&6
26624 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26625 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26626 { (exit 1); exit 1; }; }
26628 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26629 echo "${ECHO_T}$MGL_ROOT" >&6
26632 echo "$as_me:$LINENO: checking for libmgl location" >&5
26633 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26636 if test "x$wxUSE_SHARED" = xyes
; then
26637 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26639 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26643 mgl_os_candidates
="dos32/dj2"
26646 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26647 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26648 { (exit 1); exit 1; }; }
26654 for mgl_os_i
in $mgl_os_candidates ; do
26655 if test "x$mgl_os" = x
; then
26656 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26657 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
26658 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
26663 if test "x$mgl_lib_type" = x
; then
26664 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
26665 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
26666 mgl_lib_type
=release
26673 if test "x$mgl_os" = x
; then
26674 echo "$as_me:$LINENO: result: not found" >&5
26675 echo "${ECHO_T}not found" >&6
26676 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26677 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26678 { (exit 1); exit 1; }; }
26680 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26681 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26683 wxUSE_UNIVERSAL
="yes"
26685 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
26686 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26688 AFMINSTALL
=afminstall
26693 if test "$wxUSE_MICROWIN" = 1; then
26694 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26695 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26696 if test "x$MICROWINDOWS" = x
; then
26697 echo "$as_me:$LINENO: result: not found" >&5
26698 echo "${ECHO_T}not found" >&6
26699 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26700 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26701 { (exit 1); exit 1; }; }
26703 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26704 echo "${ECHO_T}$MICROWINDOWS" >&6
26707 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
26708 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26709 echo "${ECHO_T}MicroWindows' libraries found." >&6
26711 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26712 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26713 { (exit 1); exit 1; }; }
26716 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
26717 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26719 wxUSE_UNIVERSAL
="yes"
26721 AFMINSTALL
=afminstall
26723 GUIDIST
=MICROWIN_DIST
26725 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26728 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26730 if test "x$ac_path_x_has_been_run" != xyes
; then
26731 echo "$as_me:$LINENO: checking for X" >&5
26732 echo $ECHO_N "checking for X... $ECHO_C" >&6
26734 ac_path_x_has_been_run
=yes
26736 # Check whether --with-x or --without-x was given.
26737 if test "${with_x+set}" = set; then
26741 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26742 if test "x$with_x" = xno
; then
26743 # The user explicitly disabled X.
26746 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
26747 # Both variables are already set.
26750 if test "${ac_cv_have_x+set}" = set; then
26751 echo $ECHO_N "(cached) $ECHO_C" >&6
26753 # One or both of the vars are not set, and there is no cached value.
26754 ac_x_includes
=no ac_x_libraries
=no
26755 rm -fr conftest.dir
26756 if mkdir conftest.dir
; then
26758 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26759 cat >Imakefile
<<'_ACEOF'
26761 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26763 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
26764 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26765 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26766 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26767 for ac_extension
in a so sl
; do
26768 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
26769 test -f $ac_im_libdir/libX11.
$ac_extension; then
26770 ac_im_usrlibdir
=$ac_im_libdir; break
26773 # Screen out bogus values from the imake configuration. They are
26774 # bogus both because they are the default anyway, and because
26775 # using them would break gcc on systems where it needs fixed includes.
26776 case $ac_im_incroot in
26778 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
26780 case $ac_im_usrlibdir in
26781 /usr
/lib
| /lib
) ;;
26782 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
26786 rm -fr conftest.dir
26789 # Standard set of common directories for X headers.
26790 # Check X11 before X11Rn because it is often a symlink to the current release.
26802 /usr/local/X11/include
26803 /usr/local/X11R6/include
26804 /usr/local/X11R5/include
26805 /usr/local/X11R4/include
26807 /usr/local/include/X11
26808 /usr/local/include/X11R6
26809 /usr/local/include/X11R5
26810 /usr/local/include/X11R4
26814 /usr/XFree86/include/X11
26818 /usr/unsupported/include
26819 /usr/athena/include
26820 /usr/local/x11r5/include
26821 /usr/lpp/Xamples/include
26823 /usr/openwin/include
26824 /usr/openwin/share/include'
26826 if test "$ac_x_includes" = no
; then
26827 # Guess where to find include files, by looking for a specified header file.
26828 # First, try using that file with no special directory specified.
26829 cat >conftest.
$ac_ext <<_ACEOF
26832 cat confdefs.h
>>conftest.
$ac_ext
26833 cat >>conftest.
$ac_ext <<_ACEOF
26834 /* end confdefs.h. */
26835 #include <X11/Intrinsic.h>
26837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26838 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26840 grep -v '^ *+' conftest.er1
>conftest.err
26842 cat conftest.err
>&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); } >/dev
/null
; then
26845 if test -s conftest.err
; then
26846 ac_cpp_err
=$ac_c_preproc_warn_flag
26847 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26854 if test -z "$ac_cpp_err"; then
26855 # We can compile using X headers with no special include directory.
26858 echo "$as_me: failed program was:" >&5
26859 sed 's/^/| /' conftest.
$ac_ext >&5
26861 for ac_dir
in $ac_x_header_dirs; do
26862 if test -r "$ac_dir/X11/Intrinsic.h"; then
26863 ac_x_includes
=$ac_dir
26868 rm -f conftest.err conftest.
$ac_ext
26869 fi # $ac_x_includes = no
26871 if test "$ac_x_libraries" = no
; then
26872 # Check for the libraries.
26873 # See if we find them without any special options.
26874 # Don't add to $LIBS permanently.
26877 cat >conftest.
$ac_ext <<_ACEOF
26880 cat confdefs.h
>>conftest.
$ac_ext
26881 cat >>conftest.
$ac_ext <<_ACEOF
26882 /* end confdefs.h. */
26883 #include <X11/Intrinsic.h>
26892 rm -f conftest.
$ac_objext conftest
$ac_exeext
26893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26894 (eval $ac_link) 2>conftest.er1
26896 grep -v '^ *+' conftest.er1
>conftest.err
26898 cat conftest.err
>&5
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); } &&
26901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26903 (eval $ac_try) 2>&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); }; } &&
26907 { ac_try
='test -s conftest$ac_exeext'
26908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26909 (eval $ac_try) 2>&5
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); }; }; then
26914 # We can link X programs with no special library path.
26917 echo "$as_me: failed program was:" >&5
26918 sed 's/^/| /' conftest.
$ac_ext >&5
26921 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26923 # Don't even attempt the hair of trying to link an X program!
26924 for ac_extension
in a so sl
; do
26925 if test -r $ac_dir/libXt.
$ac_extension; then
26926 ac_x_libraries
=$ac_dir
26932 rm -f conftest.err conftest.
$ac_objext \
26933 conftest
$ac_exeext conftest.
$ac_ext
26934 fi # $ac_x_libraries = no
26936 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26937 # Didn't find X anywhere. Cache the known absence of X.
26938 ac_cv_have_x
="have_x=no"
26940 # Record where we found X for the cache.
26941 ac_cv_have_x
="have_x=yes \
26942 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26947 eval "$ac_cv_have_x"
26950 if test "$have_x" != yes; then
26951 echo "$as_me:$LINENO: result: $have_x" >&5
26952 echo "${ECHO_T}$have_x" >&6
26955 # If each of the values was on the command line, it overrides each guess.
26956 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26957 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26958 # Update the cache value to reflect the command line values.
26959 ac_cv_have_x
="have_x=yes \
26960 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26961 # It might be that x_includes is empty (headers are found in the
26962 # standard search path. Then output the corresponding message
26963 ac_out_x_includes
=$x_includes
26964 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
26965 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26966 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26970 if test "$no_x" = yes; then
26971 # Not all programs may use this symbol, but it does not hurt to define it.
26973 cat >>confdefs.h
<<\_ACEOF
26974 #define X_DISPLAY_MISSING 1
26977 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26979 if test -n "$x_includes"; then
26980 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26983 # It would also be nice to do this for all -L options, not just this one.
26984 if test -n "$x_libraries"; then
26985 X_LIBS
="$X_LIBS -L$x_libraries"
26986 # For Solaris; some versions of Sun CC require a space after -R and
26987 # others require no space. Words are not sufficient . . . .
26988 case `(uname -sr) 2>/dev/null` in
26990 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26991 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26992 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26993 cat >conftest.
$ac_ext <<_ACEOF
26996 cat confdefs.h
>>conftest.
$ac_ext
26997 cat >>conftest.
$ac_ext <<_ACEOF
26998 /* end confdefs.h. */
27008 rm -f conftest.
$ac_objext conftest
$ac_exeext
27009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27010 (eval $ac_link) 2>conftest.er1
27012 grep -v '^ *+' conftest.er1
>conftest.err
27014 cat conftest.err
>&5
27015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27016 (exit $ac_status); } &&
27017 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27019 (eval $ac_try) 2>&5
27021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022 (exit $ac_status); }; } &&
27023 { ac_try
='test -s conftest$ac_exeext'
27024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27025 (eval $ac_try) 2>&5
27027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); }; }; then
27031 echo "$as_me: failed program was:" >&5
27032 sed 's/^/| /' conftest.
$ac_ext >&5
27036 rm -f conftest.err conftest.
$ac_objext \
27037 conftest
$ac_exeext conftest.
$ac_ext
27038 if test $ac_R_nospace = yes; then
27039 echo "$as_me:$LINENO: result: no" >&5
27040 echo "${ECHO_T}no" >&6
27041 X_LIBS
="$X_LIBS -R$x_libraries"
27043 LIBS
="$ac_xsave_LIBS -R $x_libraries"
27044 cat >conftest.
$ac_ext <<_ACEOF
27047 cat confdefs.h
>>conftest.
$ac_ext
27048 cat >>conftest.
$ac_ext <<_ACEOF
27049 /* end confdefs.h. */
27059 rm -f conftest.
$ac_objext conftest
$ac_exeext
27060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27061 (eval $ac_link) 2>conftest.er1
27063 grep -v '^ *+' conftest.er1
>conftest.err
27065 cat conftest.err
>&5
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); } &&
27068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27070 (eval $ac_try) 2>&5
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); }; } &&
27074 { ac_try
='test -s conftest$ac_exeext'
27075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27076 (eval $ac_try) 2>&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); }; }; then
27082 echo "$as_me: failed program was:" >&5
27083 sed 's/^/| /' conftest.
$ac_ext >&5
27087 rm -f conftest.err conftest.
$ac_objext \
27088 conftest
$ac_exeext conftest.
$ac_ext
27089 if test $ac_R_space = yes; then
27090 echo "$as_me:$LINENO: result: yes" >&5
27091 echo "${ECHO_T}yes" >&6
27092 X_LIBS
="$X_LIBS -R $x_libraries"
27094 echo "$as_me:$LINENO: result: neither works" >&5
27095 echo "${ECHO_T}neither works" >&6
27098 LIBS
=$ac_xsave_LIBS
27102 # Check for system-dependent libraries X programs must link with.
27103 # Do this before checking for the system-independent R6 libraries
27104 # (-lICE), since we may need -lsocket or whatever for X linking.
27106 if test "$ISC" = yes; then
27107 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
27109 # Martyn Johnson says this is needed for Ultrix, if the X
27110 # libraries were built with DECnet support. And Karl Berry says
27111 # the Alpha needs dnet_stub (dnet does not exist).
27112 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
27113 cat >conftest.
$ac_ext <<_ACEOF
27116 cat confdefs.h
>>conftest.
$ac_ext
27117 cat >>conftest.
$ac_ext <<_ACEOF
27118 /* end confdefs.h. */
27120 /* Override any gcc2 internal prototype to avoid an error. */
27124 /* We use char because int might match the return type of a gcc2
27125 builtin and then its argument prototype would still apply. */
27126 char XOpenDisplay ();
27135 rm -f conftest.
$ac_objext conftest
$ac_exeext
27136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27137 (eval $ac_link) 2>conftest.er1
27139 grep -v '^ *+' conftest.er1
>conftest.err
27141 cat conftest.err
>&5
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); } &&
27144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27146 (eval $ac_try) 2>&5
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); }; } &&
27150 { ac_try
='test -s conftest$ac_exeext'
27151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27152 (eval $ac_try) 2>&5
27154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27155 (exit $ac_status); }; }; then
27158 echo "$as_me: failed program was:" >&5
27159 sed 's/^/| /' conftest.
$ac_ext >&5
27161 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
27162 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
27163 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
27164 echo $ECHO_N "(cached) $ECHO_C" >&6
27166 ac_check_lib_save_LIBS
=$LIBS
27167 LIBS
="-ldnet $LIBS"
27168 cat >conftest.
$ac_ext <<_ACEOF
27171 cat confdefs.h
>>conftest.
$ac_ext
27172 cat >>conftest.
$ac_ext <<_ACEOF
27173 /* end confdefs.h. */
27175 /* Override any gcc2 internal prototype to avoid an error. */
27179 /* We use char because int might match the return type of a gcc2
27180 builtin and then its argument prototype would still apply. */
27190 rm -f conftest.
$ac_objext conftest
$ac_exeext
27191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27192 (eval $ac_link) 2>conftest.er1
27194 grep -v '^ *+' conftest.er1
>conftest.err
27196 cat conftest.err
>&5
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); } &&
27199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27201 (eval $ac_try) 2>&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); }; } &&
27205 { ac_try
='test -s conftest$ac_exeext'
27206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27207 (eval $ac_try) 2>&5
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); }; }; then
27211 ac_cv_lib_dnet_dnet_ntoa
=yes
27213 echo "$as_me: failed program was:" >&5
27214 sed 's/^/| /' conftest.
$ac_ext >&5
27216 ac_cv_lib_dnet_dnet_ntoa
=no
27218 rm -f conftest.err conftest.
$ac_objext \
27219 conftest
$ac_exeext conftest.
$ac_ext
27220 LIBS
=$ac_check_lib_save_LIBS
27222 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27223 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
27224 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
27225 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
27228 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
27229 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
27230 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
27231 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
27232 echo $ECHO_N "(cached) $ECHO_C" >&6
27234 ac_check_lib_save_LIBS
=$LIBS
27235 LIBS
="-ldnet_stub $LIBS"
27236 cat >conftest.
$ac_ext <<_ACEOF
27239 cat confdefs.h
>>conftest.
$ac_ext
27240 cat >>conftest.
$ac_ext <<_ACEOF
27241 /* end confdefs.h. */
27243 /* Override any gcc2 internal prototype to avoid an error. */
27247 /* We use char because int might match the return type of a gcc2
27248 builtin and then its argument prototype would still apply. */
27258 rm -f conftest.
$ac_objext conftest
$ac_exeext
27259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27260 (eval $ac_link) 2>conftest.er1
27262 grep -v '^ *+' conftest.er1
>conftest.err
27264 cat conftest.err
>&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } &&
27267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27269 (eval $ac_try) 2>&5
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); }; } &&
27273 { ac_try
='test -s conftest$ac_exeext'
27274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27275 (eval $ac_try) 2>&5
27277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278 (exit $ac_status); }; }; then
27279 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
27281 echo "$as_me: failed program was:" >&5
27282 sed 's/^/| /' conftest.
$ac_ext >&5
27284 ac_cv_lib_dnet_stub_dnet_ntoa
=no
27286 rm -f conftest.err conftest.
$ac_objext \
27287 conftest
$ac_exeext conftest.
$ac_ext
27288 LIBS
=$ac_check_lib_save_LIBS
27290 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27291 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
27292 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
27293 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
27298 rm -f conftest.err conftest.
$ac_objext \
27299 conftest
$ac_exeext conftest.
$ac_ext
27300 LIBS
="$ac_xsave_LIBS"
27302 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27303 # to get the SysV transport functions.
27304 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27306 # The nsl library prevents programs from opening the X display
27307 # on Irix 5.2, according to T.E. Dickey.
27308 # The functions gethostbyname, getservbyname, and inet_addr are
27309 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27310 echo "$as_me:$LINENO: checking for gethostbyname" >&5
27311 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
27312 if test "${ac_cv_func_gethostbyname+set}" = set; then
27313 echo $ECHO_N "(cached) $ECHO_C" >&6
27315 cat >conftest.
$ac_ext <<_ACEOF
27318 cat confdefs.h
>>conftest.
$ac_ext
27319 cat >>conftest.
$ac_ext <<_ACEOF
27320 /* end confdefs.h. */
27321 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
27322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27323 #define gethostbyname innocuous_gethostbyname
27325 /* System header to define __stub macros and hopefully few prototypes,
27326 which can conflict with char gethostbyname (); below.
27327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27328 <limits.h> exists even on freestanding compilers. */
27331 # include <limits.h>
27333 # include <assert.h>
27336 #undef gethostbyname
27338 /* Override any gcc2 internal prototype to avoid an error. */
27343 /* We use char because int might match the return type of a gcc2
27344 builtin and then its argument prototype would still apply. */
27345 char gethostbyname ();
27346 /* The GNU C library defines this for functions which it implements
27347 to always fail with ENOSYS. Some functions are actually named
27348 something starting with __ and the normal name is an alias. */
27349 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
27352 char (*f) () = gethostbyname;
27361 return f != gethostbyname;
27366 rm -f conftest.
$ac_objext conftest
$ac_exeext
27367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27368 (eval $ac_link) 2>conftest.er1
27370 grep -v '^ *+' conftest.er1
>conftest.err
27372 cat conftest.err
>&5
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); } &&
27375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27377 (eval $ac_try) 2>&5
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); }; } &&
27381 { ac_try
='test -s conftest$ac_exeext'
27382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27383 (eval $ac_try) 2>&5
27385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27386 (exit $ac_status); }; }; then
27387 ac_cv_func_gethostbyname
=yes
27389 echo "$as_me: failed program was:" >&5
27390 sed 's/^/| /' conftest.
$ac_ext >&5
27392 ac_cv_func_gethostbyname
=no
27394 rm -f conftest.err conftest.
$ac_objext \
27395 conftest
$ac_exeext conftest.
$ac_ext
27397 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27398 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
27400 if test $ac_cv_func_gethostbyname = no
; then
27401 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
27402 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
27403 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
27404 echo $ECHO_N "(cached) $ECHO_C" >&6
27406 ac_check_lib_save_LIBS
=$LIBS
27408 cat >conftest.
$ac_ext <<_ACEOF
27411 cat confdefs.h
>>conftest.
$ac_ext
27412 cat >>conftest.
$ac_ext <<_ACEOF
27413 /* end confdefs.h. */
27415 /* Override any gcc2 internal prototype to avoid an error. */
27419 /* We use char because int might match the return type of a gcc2
27420 builtin and then its argument prototype would still apply. */
27421 char gethostbyname ();
27430 rm -f conftest.
$ac_objext conftest
$ac_exeext
27431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27432 (eval $ac_link) 2>conftest.er1
27434 grep -v '^ *+' conftest.er1
>conftest.err
27436 cat conftest.err
>&5
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); } &&
27439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27441 (eval $ac_try) 2>&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); }; } &&
27445 { ac_try
='test -s conftest$ac_exeext'
27446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447 (eval $ac_try) 2>&5
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); }; }; then
27451 ac_cv_lib_nsl_gethostbyname
=yes
27453 echo "$as_me: failed program was:" >&5
27454 sed 's/^/| /' conftest.
$ac_ext >&5
27456 ac_cv_lib_nsl_gethostbyname
=no
27458 rm -f conftest.err conftest.
$ac_objext \
27459 conftest
$ac_exeext conftest.
$ac_ext
27460 LIBS
=$ac_check_lib_save_LIBS
27462 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27463 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27464 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27465 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
27468 if test $ac_cv_lib_nsl_gethostbyname = no
; then
27469 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
27470 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
27471 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
27472 echo $ECHO_N "(cached) $ECHO_C" >&6
27474 ac_check_lib_save_LIBS
=$LIBS
27476 cat >conftest.
$ac_ext <<_ACEOF
27479 cat confdefs.h
>>conftest.
$ac_ext
27480 cat >>conftest.
$ac_ext <<_ACEOF
27481 /* end confdefs.h. */
27483 /* Override any gcc2 internal prototype to avoid an error. */
27487 /* We use char because int might match the return type of a gcc2
27488 builtin and then its argument prototype would still apply. */
27489 char gethostbyname ();
27498 rm -f conftest.
$ac_objext conftest
$ac_exeext
27499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27500 (eval $ac_link) 2>conftest.er1
27502 grep -v '^ *+' conftest.er1
>conftest.err
27504 cat conftest.err
>&5
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); } &&
27507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27509 (eval $ac_try) 2>&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); }; } &&
27513 { ac_try
='test -s conftest$ac_exeext'
27514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27515 (eval $ac_try) 2>&5
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); }; }; then
27519 ac_cv_lib_bsd_gethostbyname
=yes
27521 echo "$as_me: failed program was:" >&5
27522 sed 's/^/| /' conftest.
$ac_ext >&5
27524 ac_cv_lib_bsd_gethostbyname
=no
27526 rm -f conftest.err conftest.
$ac_objext \
27527 conftest
$ac_exeext conftest.
$ac_ext
27528 LIBS
=$ac_check_lib_save_LIBS
27530 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
27531 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
27532 if test $ac_cv_lib_bsd_gethostbyname = yes; then
27533 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
27539 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27540 # socket/setsockopt and other routines are undefined under SCO ODT
27541 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27542 # on later versions), says Simon Leinen: it contains gethostby*
27543 # variants that don't use the name server (or something). -lsocket
27544 # must be given before -lnsl if both are needed. We assume that
27545 # if connect needs -lnsl, so does gethostbyname.
27546 echo "$as_me:$LINENO: checking for connect" >&5
27547 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27548 if test "${ac_cv_func_connect+set}" = set; then
27549 echo $ECHO_N "(cached) $ECHO_C" >&6
27551 cat >conftest.
$ac_ext <<_ACEOF
27554 cat confdefs.h
>>conftest.
$ac_ext
27555 cat >>conftest.
$ac_ext <<_ACEOF
27556 /* end confdefs.h. */
27557 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27559 #define connect innocuous_connect
27561 /* System header to define __stub macros and hopefully few prototypes,
27562 which can conflict with char connect (); below.
27563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27564 <limits.h> exists even on freestanding compilers. */
27567 # include <limits.h>
27569 # include <assert.h>
27574 /* Override any gcc2 internal prototype to avoid an error. */
27579 /* We use char because int might match the return type of a gcc2
27580 builtin and then its argument prototype would still apply. */
27582 /* The GNU C library defines this for functions which it implements
27583 to always fail with ENOSYS. Some functions are actually named
27584 something starting with __ and the normal name is an alias. */
27585 #if defined (__stub_connect) || defined (__stub___connect)
27588 char (*f) () = connect;
27597 return f != connect;
27602 rm -f conftest.
$ac_objext conftest
$ac_exeext
27603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27604 (eval $ac_link) 2>conftest.er1
27606 grep -v '^ *+' conftest.er1
>conftest.err
27608 cat conftest.err
>&5
27609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27610 (exit $ac_status); } &&
27611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27613 (eval $ac_try) 2>&5
27615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27616 (exit $ac_status); }; } &&
27617 { ac_try
='test -s conftest$ac_exeext'
27618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27619 (eval $ac_try) 2>&5
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); }; }; then
27623 ac_cv_func_connect
=yes
27625 echo "$as_me: failed program was:" >&5
27626 sed 's/^/| /' conftest.
$ac_ext >&5
27628 ac_cv_func_connect
=no
27630 rm -f conftest.err conftest.
$ac_objext \
27631 conftest
$ac_exeext conftest.
$ac_ext
27633 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27634 echo "${ECHO_T}$ac_cv_func_connect" >&6
27636 if test $ac_cv_func_connect = no
; then
27637 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27638 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27639 if test "${ac_cv_lib_socket_connect+set}" = set; then
27640 echo $ECHO_N "(cached) $ECHO_C" >&6
27642 ac_check_lib_save_LIBS
=$LIBS
27643 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
27644 cat >conftest.
$ac_ext <<_ACEOF
27647 cat confdefs.h
>>conftest.
$ac_ext
27648 cat >>conftest.
$ac_ext <<_ACEOF
27649 /* end confdefs.h. */
27651 /* Override any gcc2 internal prototype to avoid an error. */
27655 /* We use char because int might match the return type of a gcc2
27656 builtin and then its argument prototype would still apply. */
27666 rm -f conftest.
$ac_objext conftest
$ac_exeext
27667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27668 (eval $ac_link) 2>conftest.er1
27670 grep -v '^ *+' conftest.er1
>conftest.err
27672 cat conftest.err
>&5
27673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674 (exit $ac_status); } &&
27675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27677 (eval $ac_try) 2>&5
27679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680 (exit $ac_status); }; } &&
27681 { ac_try
='test -s conftest$ac_exeext'
27682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27683 (eval $ac_try) 2>&5
27685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27686 (exit $ac_status); }; }; then
27687 ac_cv_lib_socket_connect
=yes
27689 echo "$as_me: failed program was:" >&5
27690 sed 's/^/| /' conftest.
$ac_ext >&5
27692 ac_cv_lib_socket_connect
=no
27694 rm -f conftest.err conftest.
$ac_objext \
27695 conftest
$ac_exeext conftest.
$ac_ext
27696 LIBS
=$ac_check_lib_save_LIBS
27698 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27699 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27700 if test $ac_cv_lib_socket_connect = yes; then
27701 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
27706 # Guillermo Gomez says -lposix is necessary on A/UX.
27707 echo "$as_me:$LINENO: checking for remove" >&5
27708 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27709 if test "${ac_cv_func_remove+set}" = set; then
27710 echo $ECHO_N "(cached) $ECHO_C" >&6
27712 cat >conftest.
$ac_ext <<_ACEOF
27715 cat confdefs.h
>>conftest.
$ac_ext
27716 cat >>conftest.
$ac_ext <<_ACEOF
27717 /* end confdefs.h. */
27718 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27720 #define remove innocuous_remove
27722 /* System header to define __stub macros and hopefully few prototypes,
27723 which can conflict with char remove (); below.
27724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27725 <limits.h> exists even on freestanding compilers. */
27728 # include <limits.h>
27730 # include <assert.h>
27735 /* Override any gcc2 internal prototype to avoid an error. */
27740 /* We use char because int might match the return type of a gcc2
27741 builtin and then its argument prototype would still apply. */
27743 /* The GNU C library defines this for functions which it implements
27744 to always fail with ENOSYS. Some functions are actually named
27745 something starting with __ and the normal name is an alias. */
27746 #if defined (__stub_remove) || defined (__stub___remove)
27749 char (*f) () = remove;
27758 return f != remove;
27763 rm -f conftest.
$ac_objext conftest
$ac_exeext
27764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27765 (eval $ac_link) 2>conftest.er1
27767 grep -v '^ *+' conftest.er1
>conftest.err
27769 cat conftest.err
>&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } &&
27772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27774 (eval $ac_try) 2>&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); }; } &&
27778 { ac_try
='test -s conftest$ac_exeext'
27779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27780 (eval $ac_try) 2>&5
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); }; }; then
27784 ac_cv_func_remove
=yes
27786 echo "$as_me: failed program was:" >&5
27787 sed 's/^/| /' conftest.
$ac_ext >&5
27789 ac_cv_func_remove
=no
27791 rm -f conftest.err conftest.
$ac_objext \
27792 conftest
$ac_exeext conftest.
$ac_ext
27794 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27795 echo "${ECHO_T}$ac_cv_func_remove" >&6
27797 if test $ac_cv_func_remove = no
; then
27798 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27799 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27800 if test "${ac_cv_lib_posix_remove+set}" = set; then
27801 echo $ECHO_N "(cached) $ECHO_C" >&6
27803 ac_check_lib_save_LIBS
=$LIBS
27804 LIBS
="-lposix $LIBS"
27805 cat >conftest.
$ac_ext <<_ACEOF
27808 cat confdefs.h
>>conftest.
$ac_ext
27809 cat >>conftest.
$ac_ext <<_ACEOF
27810 /* end confdefs.h. */
27812 /* Override any gcc2 internal prototype to avoid an error. */
27816 /* We use char because int might match the return type of a gcc2
27817 builtin and then its argument prototype would still apply. */
27827 rm -f conftest.
$ac_objext conftest
$ac_exeext
27828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27829 (eval $ac_link) 2>conftest.er1
27831 grep -v '^ *+' conftest.er1
>conftest.err
27833 cat conftest.err
>&5
27834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27835 (exit $ac_status); } &&
27836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27838 (eval $ac_try) 2>&5
27840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27841 (exit $ac_status); }; } &&
27842 { ac_try
='test -s conftest$ac_exeext'
27843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27844 (eval $ac_try) 2>&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); }; }; then
27848 ac_cv_lib_posix_remove
=yes
27850 echo "$as_me: failed program was:" >&5
27851 sed 's/^/| /' conftest.
$ac_ext >&5
27853 ac_cv_lib_posix_remove
=no
27855 rm -f conftest.err conftest.
$ac_objext \
27856 conftest
$ac_exeext conftest.
$ac_ext
27857 LIBS
=$ac_check_lib_save_LIBS
27859 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27860 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27861 if test $ac_cv_lib_posix_remove = yes; then
27862 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
27867 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27868 echo "$as_me:$LINENO: checking for shmat" >&5
27869 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27870 if test "${ac_cv_func_shmat+set}" = set; then
27871 echo $ECHO_N "(cached) $ECHO_C" >&6
27873 cat >conftest.
$ac_ext <<_ACEOF
27876 cat confdefs.h
>>conftest.
$ac_ext
27877 cat >>conftest.
$ac_ext <<_ACEOF
27878 /* end confdefs.h. */
27879 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27881 #define shmat innocuous_shmat
27883 /* System header to define __stub macros and hopefully few prototypes,
27884 which can conflict with char shmat (); below.
27885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27886 <limits.h> exists even on freestanding compilers. */
27889 # include <limits.h>
27891 # include <assert.h>
27896 /* Override any gcc2 internal prototype to avoid an error. */
27901 /* We use char because int might match the return type of a gcc2
27902 builtin and then its argument prototype would still apply. */
27904 /* The GNU C library defines this for functions which it implements
27905 to always fail with ENOSYS. Some functions are actually named
27906 something starting with __ and the normal name is an alias. */
27907 #if defined (__stub_shmat) || defined (__stub___shmat)
27910 char (*f) () = shmat;
27924 rm -f conftest.
$ac_objext conftest
$ac_exeext
27925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27926 (eval $ac_link) 2>conftest.er1
27928 grep -v '^ *+' conftest.er1
>conftest.err
27930 cat conftest.err
>&5
27931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27932 (exit $ac_status); } &&
27933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27935 (eval $ac_try) 2>&5
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); }; } &&
27939 { ac_try
='test -s conftest$ac_exeext'
27940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27941 (eval $ac_try) 2>&5
27943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 (exit $ac_status); }; }; then
27945 ac_cv_func_shmat
=yes
27947 echo "$as_me: failed program was:" >&5
27948 sed 's/^/| /' conftest.
$ac_ext >&5
27950 ac_cv_func_shmat
=no
27952 rm -f conftest.err conftest.
$ac_objext \
27953 conftest
$ac_exeext conftest.
$ac_ext
27955 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27956 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27958 if test $ac_cv_func_shmat = no
; then
27959 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27960 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27961 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27962 echo $ECHO_N "(cached) $ECHO_C" >&6
27964 ac_check_lib_save_LIBS
=$LIBS
27966 cat >conftest.
$ac_ext <<_ACEOF
27969 cat confdefs.h
>>conftest.
$ac_ext
27970 cat >>conftest.
$ac_ext <<_ACEOF
27971 /* end confdefs.h. */
27973 /* Override any gcc2 internal prototype to avoid an error. */
27977 /* We use char because int might match the return type of a gcc2
27978 builtin and then its argument prototype would still apply. */
27988 rm -f conftest.
$ac_objext conftest
$ac_exeext
27989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27990 (eval $ac_link) 2>conftest.er1
27992 grep -v '^ *+' conftest.er1
>conftest.err
27994 cat conftest.err
>&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); } &&
27997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27999 (eval $ac_try) 2>&5
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); }; } &&
28003 { ac_try
='test -s conftest$ac_exeext'
28004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28005 (eval $ac_try) 2>&5
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); }; }; then
28009 ac_cv_lib_ipc_shmat
=yes
28011 echo "$as_me: failed program was:" >&5
28012 sed 's/^/| /' conftest.
$ac_ext >&5
28014 ac_cv_lib_ipc_shmat
=no
28016 rm -f conftest.err conftest.
$ac_objext \
28017 conftest
$ac_exeext conftest.
$ac_ext
28018 LIBS
=$ac_check_lib_save_LIBS
28020 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28021 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28022 if test $ac_cv_lib_ipc_shmat = yes; then
28023 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
28029 # Check for libraries that X11R6 Xt/Xaw programs need.
28030 ac_save_LDFLAGS
=$LDFLAGS
28031 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
28032 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28033 # check for ICE first), but we must link in the order -lSM -lICE or
28034 # we get undefined symbols. So assume we have SM if we have ICE.
28035 # These have to be linked with before -lX11, unlike the other
28036 # libraries we check for below, so use a different variable.
28037 # John Interrante, Karl Berry
28038 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28039 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28040 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28041 echo $ECHO_N "(cached) $ECHO_C" >&6
28043 ac_check_lib_save_LIBS
=$LIBS
28044 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
28045 cat >conftest.
$ac_ext <<_ACEOF
28048 cat confdefs.h
>>conftest.
$ac_ext
28049 cat >>conftest.
$ac_ext <<_ACEOF
28050 /* end confdefs.h. */
28052 /* Override any gcc2 internal prototype to avoid an error. */
28056 /* We use char because int might match the return type of a gcc2
28057 builtin and then its argument prototype would still apply. */
28058 char IceConnectionNumber ();
28062 IceConnectionNumber ();
28067 rm -f conftest.
$ac_objext conftest
$ac_exeext
28068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28069 (eval $ac_link) 2>conftest.er1
28071 grep -v '^ *+' conftest.er1
>conftest.err
28073 cat conftest.err
>&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); } &&
28076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28078 (eval $ac_try) 2>&5
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); }; } &&
28082 { ac_try
='test -s conftest$ac_exeext'
28083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28084 (eval $ac_try) 2>&5
28086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28087 (exit $ac_status); }; }; then
28088 ac_cv_lib_ICE_IceConnectionNumber
=yes
28090 echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.
$ac_ext >&5
28093 ac_cv_lib_ICE_IceConnectionNumber
=no
28095 rm -f conftest.err conftest.
$ac_objext \
28096 conftest
$ac_exeext conftest.
$ac_ext
28097 LIBS
=$ac_check_lib_save_LIBS
28099 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28100 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28101 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28102 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
28105 LDFLAGS
=$ac_save_LDFLAGS
28110 if test "$no_x" = "yes"; then
28111 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
28112 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
28113 { (exit 1); exit 1; }; }
28116 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28117 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
28118 AFMINSTALL
=afminstall
28119 COMPILED_X_PROGRAM
=0
28123 if test "$wxUSE_X11" = 1; then
28124 if test "$wxUSE_NANOX" = "yes"; then
28125 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28126 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28127 if test "x$MICROWIN" = x
; then
28128 echo "$as_me:$LINENO: result: not found" >&5
28129 echo "${ECHO_T}not found" >&6
28130 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28131 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28132 { (exit 1); exit 1; }; }
28134 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28135 echo "${ECHO_T}$MICROWIN" >&6
28136 cat >>confdefs.h
<<\_ACEOF
28137 #define wxUSE_NANOX 1
28143 if test "$wxUSE_UNICODE" = "yes"; then
28147 if test -z "$PKG_CONFIG"; then
28148 # Extract the first word of "pkg-config", so it can be a program name with args.
28149 set dummy pkg
-config; ac_word
=$2
28150 echo "$as_me:$LINENO: checking for $ac_word" >&5
28151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28152 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28153 echo $ECHO_N "(cached) $ECHO_C" >&6
28155 case $PKG_CONFIG in
28157 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28161 for as_dir
in $PATH
28164 test -z "$as_dir" && as_dir
=.
28165 for ac_exec_ext
in '' $ac_executable_extensions; do
28166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28167 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28174 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28178 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28180 if test -n "$PKG_CONFIG"; then
28181 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28182 echo "${ECHO_T}$PKG_CONFIG" >&6
28184 echo "$as_me:$LINENO: result: no" >&5
28185 echo "${ECHO_T}no" >&6
28190 if test "$PKG_CONFIG" = "no" ; then
28191 echo "*** The pkg-config script could not be found. Make sure it is"
28192 echo "*** in your path, or set the PKG_CONFIG environment variable"
28193 echo "*** to the full path to pkg-config."
28194 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28196 PKG_CONFIG_MIN_VERSION
=0.9.0
28197 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28198 echo "$as_me:$LINENO: checking for pangox" >&5
28199 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
28201 if $PKG_CONFIG --exists "pangox" ; then
28202 echo "$as_me:$LINENO: result: yes" >&5
28203 echo "${ECHO_T}yes" >&6
28206 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
28207 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
28208 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
28209 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
28210 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
28212 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
28213 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
28214 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
28215 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
28216 echo "${ECHO_T}$PANGOX_LIBS" >&6
28220 ## If we have a custom action on failure, don't print errors, but
28221 ## do set a variable so people can do so.
28222 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
28229 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28230 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28234 if test $succeeded = yes; then
28236 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
28237 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
28241 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
28242 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
28243 { (exit 1); exit 1; }; }
28251 if test -z "$PKG_CONFIG"; then
28252 # Extract the first word of "pkg-config", so it can be a program name with args.
28253 set dummy pkg
-config; ac_word
=$2
28254 echo "$as_me:$LINENO: checking for $ac_word" >&5
28255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28256 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28257 echo $ECHO_N "(cached) $ECHO_C" >&6
28259 case $PKG_CONFIG in
28261 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28265 for as_dir
in $PATH
28268 test -z "$as_dir" && as_dir
=.
28269 for ac_exec_ext
in '' $ac_executable_extensions; do
28270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28271 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28278 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28282 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28284 if test -n "$PKG_CONFIG"; then
28285 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28286 echo "${ECHO_T}$PKG_CONFIG" >&6
28288 echo "$as_me:$LINENO: result: no" >&5
28289 echo "${ECHO_T}no" >&6
28294 if test "$PKG_CONFIG" = "no" ; then
28295 echo "*** The pkg-config script could not be found. Make sure it is"
28296 echo "*** in your path, or set the PKG_CONFIG environment variable"
28297 echo "*** to the full path to pkg-config."
28298 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28300 PKG_CONFIG_MIN_VERSION
=0.9.0
28301 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28302 echo "$as_me:$LINENO: checking for pangoft2" >&5
28303 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
28305 if $PKG_CONFIG --exists "pangoft2" ; then
28306 echo "$as_me:$LINENO: result: yes" >&5
28307 echo "${ECHO_T}yes" >&6
28310 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
28311 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
28312 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
28313 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
28314 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
28316 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
28317 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
28318 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
28319 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
28320 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
28324 ## If we have a custom action on failure, don't print errors, but
28325 ## do set a variable so people can do so.
28326 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
28333 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28334 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28338 if test $succeeded = yes; then
28340 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
28341 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
28345 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
28346 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
28347 wxUSE_PRINTING_ARCHITECTURE
="no"
28355 if test -z "$PKG_CONFIG"; then
28356 # Extract the first word of "pkg-config", so it can be a program name with args.
28357 set dummy pkg
-config; ac_word
=$2
28358 echo "$as_me:$LINENO: checking for $ac_word" >&5
28359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28360 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28361 echo $ECHO_N "(cached) $ECHO_C" >&6
28363 case $PKG_CONFIG in
28365 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28369 for as_dir
in $PATH
28372 test -z "$as_dir" && as_dir
=.
28373 for ac_exec_ext
in '' $ac_executable_extensions; do
28374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28375 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28382 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28386 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28388 if test -n "$PKG_CONFIG"; then
28389 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28390 echo "${ECHO_T}$PKG_CONFIG" >&6
28392 echo "$as_me:$LINENO: result: no" >&5
28393 echo "${ECHO_T}no" >&6
28398 if test "$PKG_CONFIG" = "no" ; then
28399 echo "*** The pkg-config script could not be found. Make sure it is"
28400 echo "*** in your path, or set the PKG_CONFIG environment variable"
28401 echo "*** to the full path to pkg-config."
28402 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28404 PKG_CONFIG_MIN_VERSION
=0.9.0
28405 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28406 echo "$as_me:$LINENO: checking for pangoxft" >&5
28407 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
28409 if $PKG_CONFIG --exists "pangoxft" ; then
28410 echo "$as_me:$LINENO: result: yes" >&5
28411 echo "${ECHO_T}yes" >&6
28414 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
28415 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
28416 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
28417 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28418 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
28420 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
28421 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
28422 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
28423 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
28424 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
28428 ## If we have a custom action on failure, don't print errors, but
28429 ## do set a variable so people can do so.
28430 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
28437 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28438 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28442 if test $succeeded = yes; then
28444 cat >>confdefs.h
<<\_ACEOF
28445 #define HAVE_PANGO_XFT 1
28448 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
28449 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
28453 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
28454 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
28459 save_CFLAGS
="$CFLAGS"
28461 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
28462 LIBS
="$LIBS $PANGOX_LIBS"
28464 for ac_func
in pango_font_family_is_monospace
28466 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28467 echo "$as_me:$LINENO: checking for $ac_func" >&5
28468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28469 if eval "test \"\${$as_ac_var+set}\" = set"; then
28470 echo $ECHO_N "(cached) $ECHO_C" >&6
28472 cat >conftest.
$ac_ext <<_ACEOF
28475 cat confdefs.h
>>conftest.
$ac_ext
28476 cat >>conftest.
$ac_ext <<_ACEOF
28477 /* end confdefs.h. */
28478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28480 #define $ac_func innocuous_$ac_func
28482 /* System header to define __stub macros and hopefully few prototypes,
28483 which can conflict with char $ac_func (); below.
28484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28485 <limits.h> exists even on freestanding compilers. */
28488 # include <limits.h>
28490 # include <assert.h>
28495 /* Override any gcc2 internal prototype to avoid an error. */
28500 /* We use char because int might match the return type of a gcc2
28501 builtin and then its argument prototype would still apply. */
28503 /* The GNU C library defines this for functions which it implements
28504 to always fail with ENOSYS. Some functions are actually named
28505 something starting with __ and the normal name is an alias. */
28506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28509 char (*f) () = $ac_func;
28518 return f != $ac_func;
28523 rm -f conftest.
$ac_objext conftest
$ac_exeext
28524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28525 (eval $ac_link) 2>conftest.er1
28527 grep -v '^ *+' conftest.er1
>conftest.err
28529 cat conftest.err
>&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); } &&
28532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28534 (eval $ac_try) 2>&5
28536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28537 (exit $ac_status); }; } &&
28538 { ac_try
='test -s conftest$ac_exeext'
28539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28540 (eval $ac_try) 2>&5
28542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28543 (exit $ac_status); }; }; then
28544 eval "$as_ac_var=yes"
28546 echo "$as_me: failed program was:" >&5
28547 sed 's/^/| /' conftest.
$ac_ext >&5
28549 eval "$as_ac_var=no"
28551 rm -f conftest.err conftest.
$ac_objext \
28552 conftest
$ac_exeext conftest.
$ac_ext
28554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28556 if test `eval echo '${'$as_ac_var'}'` = yes; then
28557 cat >>confdefs.h
<<_ACEOF
28558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28564 CFLAGS
="$save_CFLAGS"
28568 wxUSE_UNIVERSAL
="yes"
28570 if test "$wxUSE_NANOX" = "yes"; then
28571 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28572 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"
28573 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28575 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
28582 if test "$wxUSE_MOTIF" = 1; then
28583 if test "$wxUSE_UNICODE" = "yes"; then
28584 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28585 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28586 { (exit 1); exit 1; }; }
28589 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28590 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28593 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28595 if test -f "$ac_dir/Xm/Xm.h"; then
28596 ac_find_includes
=$ac_dir
28601 if test "$ac_find_includes" != "" ; then
28602 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28603 echo "${ECHO_T}found in $ac_find_includes" >&6
28605 if test "x$ac_find_includes" = "x/usr/include"; then
28606 ac_path_to_include
=""
28608 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
28610 if test $result = 0; then
28611 ac_path_to_include
=""
28613 ac_path_to_include
=" -I$ac_find_includes"
28617 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
28619 save_CFLAGS
=$CFLAGS
28620 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28622 cat >conftest.
$ac_ext <<_ACEOF
28625 cat confdefs.h
>>conftest.
$ac_ext
28626 cat >>conftest.
$ac_ext <<_ACEOF
28627 /* end confdefs.h. */
28636 version = xmUseVersion;
28642 rm -f conftest.
$ac_objext
28643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28644 (eval $ac_compile) 2>conftest.er1
28646 grep -v '^ *+' conftest.er1
>conftest.err
28648 cat conftest.err
>&5
28649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28650 (exit $ac_status); } &&
28651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28653 (eval $ac_try) 2>&5
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); }; } &&
28657 { ac_try
='test -s conftest.$ac_objext'
28658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 (eval $ac_try) 2>&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; }; then
28664 echo "$as_me:$LINENO: result: found in default search path" >&5
28665 echo "${ECHO_T}found in default search path" >&6
28666 COMPILED_X_PROGRAM
=1
28669 echo "$as_me: failed program was:" >&5
28670 sed 's/^/| /' conftest.
$ac_ext >&5
28673 echo "$as_me:$LINENO: result: no" >&5
28674 echo "${ECHO_T}no" >&6
28675 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
28676 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
28677 { (exit 1); exit 1; }; }
28681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28683 CFLAGS
=$save_CFLAGS
28687 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28688 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28691 for ac_dir
in $SEARCH_LIB;
28693 for ac_extension
in a so sl dylib dll.a
; do
28694 if test -f "$ac_dir/libXm.$ac_extension"; then
28695 ac_find_libraries
=$ac_dir
28702 if test "x$ac_find_libraries" != "x" ; then
28703 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28704 echo "${ECHO_T}found in $ac_find_libraries" >&6
28707 if test "$ac_find_libraries" = "default location"; then
28710 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28712 if test $result = 0; then
28715 ac_path_to_link
=" -L$ac_find_libraries"
28719 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28721 save_CFLAGS
=$CFLAGS
28722 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28724 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
28726 cat >conftest.
$ac_ext <<_ACEOF
28729 cat confdefs.h
>>conftest.
$ac_ext
28730 cat >>conftest.
$ac_ext <<_ACEOF
28731 /* end confdefs.h. */
28740 version = xmUseVersion;
28746 rm -f conftest.
$ac_objext conftest
$ac_exeext
28747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28748 (eval $ac_link) 2>conftest.er1
28750 grep -v '^ *+' conftest.er1
>conftest.err
28752 cat conftest.err
>&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); } &&
28755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28757 (eval $ac_try) 2>&5
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; } &&
28761 { ac_try
='test -s conftest$ac_exeext'
28762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28763 (eval $ac_try) 2>&5
28765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28766 (exit $ac_status); }; }; then
28768 echo "$as_me:$LINENO: result: found in default search path" >&5
28769 echo "${ECHO_T}found in default search path" >&6
28770 COMPILED_X_PROGRAM
=1
28773 echo "$as_me: failed program was:" >&5
28774 sed 's/^/| /' conftest.
$ac_ext >&5
28777 echo "$as_me:$LINENO: result: no" >&5
28778 echo "${ECHO_T}no" >&6
28779 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28780 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28781 { (exit 1); exit 1; }; }
28785 rm -f conftest.err conftest.
$ac_objext \
28786 conftest
$ac_exeext conftest.
$ac_ext
28788 CFLAGS
=$save_CFLAGS
28792 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28793 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28797 for libp
in "" " -lXp"; do
28798 if test "$libs_found" = "0"; then
28799 for libsm_ice
in "" " -lSM -lICE"; do
28800 if test "$libs_found" = "0"; then
28802 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28803 save_CFLAGS
=$CFLAGS
28804 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28806 cat >conftest.
$ac_ext <<_ACEOF
28809 cat confdefs.h
>>conftest.
$ac_ext
28810 cat >>conftest.
$ac_ext <<_ACEOF
28811 /* end confdefs.h. */
28814 #include <Xm/List.h>
28820 XmString string = NULL;
28823 XmListAddItem(w, string, position);
28829 rm -f conftest.
$ac_objext conftest
$ac_exeext
28830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28831 (eval $ac_link) 2>conftest.er1
28833 grep -v '^ *+' conftest.er1
>conftest.err
28835 cat conftest.err
>&5
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); } &&
28838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28840 (eval $ac_try) 2>&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); }; } &&
28844 { ac_try
='test -s conftest$ac_exeext'
28845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28846 (eval $ac_try) 2>&5
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); }; }; then
28852 libsm_ice_link
="$libsm_ice"
28853 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28854 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28858 echo "$as_me: failed program was:" >&5
28859 sed 's/^/| /' conftest.
$ac_ext >&5
28864 rm -f conftest.err conftest.
$ac_objext \
28865 conftest
$ac_exeext conftest.
$ac_ext
28868 CFLAGS
=$save_CFLAGS
28874 if test "$libs_found" = "0"; then
28875 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28876 echo "${ECHO_T}can't find the right libraries" >&6
28877 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28878 echo "$as_me: error: can't link a simple motif program" >&2;}
28879 { (exit 1); exit 1; }; }
28882 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
28883 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
28884 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
28885 echo $ECHO_N "(cached) $ECHO_C" >&6
28887 ac_check_lib_save_LIBS
=$LIBS
28889 cat >conftest.
$ac_ext <<_ACEOF
28892 cat confdefs.h
>>conftest.
$ac_ext
28893 cat >>conftest.
$ac_ext <<_ACEOF
28894 /* end confdefs.h. */
28896 /* Override any gcc2 internal prototype to avoid an error. */
28900 /* We use char because int might match the return type of a gcc2
28901 builtin and then its argument prototype would still apply. */
28902 char SgCreateList ();
28911 rm -f conftest.
$ac_objext conftest
$ac_exeext
28912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28913 (eval $ac_link) 2>conftest.er1
28915 grep -v '^ *+' conftest.er1
>conftest.err
28917 cat conftest.err
>&5
28918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28919 (exit $ac_status); } &&
28920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28922 (eval $ac_try) 2>&5
28924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28925 (exit $ac_status); }; } &&
28926 { ac_try
='test -s conftest$ac_exeext'
28927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28928 (eval $ac_try) 2>&5
28930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28931 (exit $ac_status); }; }; then
28932 ac_cv_lib_Sgm_SgCreateList
=yes
28934 echo "$as_me: failed program was:" >&5
28935 sed 's/^/| /' conftest.
$ac_ext >&5
28937 ac_cv_lib_Sgm_SgCreateList
=no
28939 rm -f conftest.err conftest.
$ac_objext \
28940 conftest
$ac_exeext conftest.
$ac_ext
28941 LIBS
=$ac_check_lib_save_LIBS
28943 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
28944 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
28945 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
28946 libsgm_link
=" -lSgm"
28950 save_CFLAGS
=$CFLAGS
28951 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28953 echo "$as_me:$LINENO: checking for Motif 2" >&5
28954 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28955 if test "${wx_cv_lib_motif2+set}" = set; then
28956 echo $ECHO_N "(cached) $ECHO_C" >&6
28958 cat >conftest.
$ac_ext <<_ACEOF
28961 cat confdefs.h
>>conftest.
$ac_ext
28962 cat >>conftest.
$ac_ext <<_ACEOF
28963 /* end confdefs.h. */
28971 #if XmVersion < 2000
28979 rm -f conftest.
$ac_objext
28980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28981 (eval $ac_compile) 2>conftest.er1
28983 grep -v '^ *+' conftest.er1
>conftest.err
28985 cat conftest.err
>&5
28986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28987 (exit $ac_status); } &&
28988 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28990 (eval $ac_try) 2>&5
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); }; } &&
28994 { ac_try
='test -s conftest.$ac_objext'
28995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28996 (eval $ac_try) 2>&5
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); }; }; then
29000 wx_cv_lib_motif2
="yes"
29002 echo "$as_me: failed program was:" >&5
29003 sed 's/^/| /' conftest.
$ac_ext >&5
29005 wx_cv_lib_motif2
="no"
29007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29009 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29010 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29011 if test "$wx_cv_lib_motif2" = "yes"; then
29012 cat >>confdefs.h
<<\_ACEOF
29013 #define __WXMOTIF20__ 1
29017 cat >>confdefs.h
<<\_ACEOF
29018 #define __WXMOTIF20__ 0
29023 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29024 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29025 if test "${wx_cv_lib_lesstif+set}" = set; then
29026 echo $ECHO_N "(cached) $ECHO_C" >&6
29028 cat >conftest.
$ac_ext <<_ACEOF
29031 cat confdefs.h
>>conftest.
$ac_ext
29032 cat >>conftest.
$ac_ext <<_ACEOF
29033 /* end confdefs.h. */
29041 #if !defined(LesstifVersion) || LesstifVersion <= 0
29049 rm -f conftest.
$ac_objext
29050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29051 (eval $ac_compile) 2>conftest.er1
29053 grep -v '^ *+' conftest.er1
>conftest.err
29055 cat conftest.err
>&5
29056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057 (exit $ac_status); } &&
29058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29060 (eval $ac_try) 2>&5
29062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 (exit $ac_status); }; } &&
29064 { ac_try
='test -s conftest.$ac_objext'
29065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29066 (eval $ac_try) 2>&5
29068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069 (exit $ac_status); }; }; then
29070 wx_cv_lib_lesstif
="yes"
29072 echo "$as_me: failed program was:" >&5
29073 sed 's/^/| /' conftest.
$ac_ext >&5
29075 wx_cv_lib_lesstif
="no"
29077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29080 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29081 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29082 if test "$wx_cv_lib_lesstif" = "yes"; then
29083 cat >>confdefs.h
<<\_ACEOF
29084 #define __WXLESSTIF__ 1
29088 cat >>confdefs.h
<<\_ACEOF
29089 #define __WXLESSTIF__ 0
29094 CFLAGS
=$save_CFLAGS
29096 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29101 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29102 if test "$wxUSE_LIBXPM" = "sys"; then
29103 echo "$as_me:$LINENO: checking for Xpm library" >&5
29104 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29107 for ac_dir
in $SEARCH_LIB;
29109 for ac_extension
in a so sl dylib dll.a
; do
29110 if test -f "$ac_dir/libXpm.$ac_extension"; then
29111 ac_find_libraries
=$ac_dir
29117 if test "$ac_find_libraries" != "" ; then
29119 if test "$ac_find_libraries" = "default location"; then
29122 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29124 if test $result = 0; then
29127 ac_path_to_link
=" -L$ac_find_libraries"
29131 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29132 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29133 echo "${ECHO_T}found in $ac_find_libraries" >&6
29135 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29136 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29137 if test "${wx_cv_x11_xpm_h+set}" = set; then
29138 echo $ECHO_N "(cached) $ECHO_C" >&6
29141 save_CFLAGS
=$CFLAGS
29142 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29144 cat >conftest.
$ac_ext <<_ACEOF
29147 cat confdefs.h
>>conftest.
$ac_ext
29148 cat >>conftest.
$ac_ext <<_ACEOF
29149 /* end confdefs.h. */
29151 #include <X11/xpm.h>
29158 version = XpmLibraryVersion();
29164 rm -f conftest.
$ac_objext
29165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29166 (eval $ac_compile) 2>conftest.er1
29168 grep -v '^ *+' conftest.er1
>conftest.err
29170 cat conftest.err
>&5
29171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172 (exit $ac_status); } &&
29173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29175 (eval $ac_try) 2>&5
29177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178 (exit $ac_status); }; } &&
29179 { ac_try
='test -s conftest.$ac_objext'
29180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29181 (eval $ac_try) 2>&5
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); }; }; then
29185 wx_cv_x11_xpm_h
=yes
29187 echo "$as_me: failed program was:" >&5
29188 sed 's/^/| /' conftest.
$ac_ext >&5
29193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29195 CFLAGS
=$save_CFLAGS
29199 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
29200 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
29202 if test $wx_cv_x11_xpm_h = "yes"; then
29203 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
29204 cat >>confdefs.h
<<\_ACEOF
29205 #define wxHAVE_LIB_XPM 1
29209 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
29210 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
29216 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
29217 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
29218 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
29219 echo $ECHO_N "(cached) $ECHO_C" >&6
29221 ac_check_lib_save_LIBS
=$LIBS
29222 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
29223 cat >conftest.
$ac_ext <<_ACEOF
29226 cat confdefs.h
>>conftest.
$ac_ext
29227 cat >>conftest.
$ac_ext <<_ACEOF
29228 /* end confdefs.h. */
29230 /* Override any gcc2 internal prototype to avoid an error. */
29234 /* We use char because int might match the return type of a gcc2
29235 builtin and then its argument prototype would still apply. */
29236 char XShapeQueryExtension ();
29240 XShapeQueryExtension ();
29245 rm -f conftest.
$ac_objext conftest
$ac_exeext
29246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29247 (eval $ac_link) 2>conftest.er1
29249 grep -v '^ *+' conftest.er1
>conftest.err
29251 cat conftest.err
>&5
29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253 (exit $ac_status); } &&
29254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29256 (eval $ac_try) 2>&5
29258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259 (exit $ac_status); }; } &&
29260 { ac_try
='test -s conftest$ac_exeext'
29261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29262 (eval $ac_try) 2>&5
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; }; then
29266 ac_cv_lib_Xext_XShapeQueryExtension
=yes
29268 echo "$as_me: failed program was:" >&5
29269 sed 's/^/| /' conftest.
$ac_ext >&5
29271 ac_cv_lib_Xext_XShapeQueryExtension
=no
29273 rm -f conftest.err conftest.
$ac_objext \
29274 conftest
$ac_exeext conftest.
$ac_ext
29275 LIBS
=$ac_check_lib_save_LIBS
29277 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
29278 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
29279 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
29281 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
29287 if test "$wxHAVE_XEXT_LIB" = 1; then
29288 save_CFLAGS
="$CFLAGS"
29289 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29291 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
29292 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
29293 cat >conftest.
$ac_ext <<_ACEOF
29296 cat confdefs.h
>>conftest.
$ac_ext
29297 cat >>conftest.
$ac_ext <<_ACEOF
29298 /* end confdefs.h. */
29300 #include <X11/Xlib.h>
29301 #include <X11/extensions/shape.h>
29307 int dummy1, dummy2;
29308 XShapeQueryExtension((Display*)NULL,
29309 (int*)NULL, (int*)NULL);
29315 rm -f conftest.
$ac_objext
29316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29317 (eval $ac_compile) 2>conftest.er1
29319 grep -v '^ *+' conftest.er1
>conftest.err
29321 cat conftest.err
>&5
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); } &&
29324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29326 (eval $ac_try) 2>&5
29328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29329 (exit $ac_status); }; } &&
29330 { ac_try
='test -s conftest.$ac_objext'
29331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29332 (eval $ac_try) 2>&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); }; }; then
29337 cat >>confdefs.h
<<\_ACEOF
29338 #define HAVE_XSHAPE 1
29341 echo "$as_me:$LINENO: result: found" >&5
29342 echo "${ECHO_T}found" >&6
29345 echo "$as_me: failed program was:" >&5
29346 sed 's/^/| /' conftest.
$ac_ext >&5
29349 echo "$as_me:$LINENO: result: not found" >&5
29350 echo "${ECHO_T}not found" >&6
29353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29354 CFLAGS
="$save_CFLAGS"
29359 if test "$wxUSE_MAC" = 1; then
29360 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
29361 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
29362 if test "$GCC" = yes; then
29363 echo "$as_me:$LINENO: result: gcc" >&5
29364 echo "${ECHO_T}gcc" >&6
29365 CPPFLAGS_PASCAL
="-fpascal-strings"
29366 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
29367 echo "$as_me:$LINENO: result: xlc" >&5
29368 echo "${ECHO_T}xlc" >&6
29369 CPPFLAGS_PASCAL
="-qmacpstr"
29371 echo "$as_me:$LINENO: result: none" >&5
29372 echo "${ECHO_T}none" >&6
29375 if test "x$wxUSE_UNIX" = "xyes"; then
29376 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
29378 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
29383 WXBASEPORT
="_carbon"
29386 if test "$wxUSE_COCOA" = 1; then
29391 if test "$wxUSE_PM" = 1; then
29394 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
29395 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
29396 if test "${wx_cv_spbcdata+set}" = set; then
29397 echo $ECHO_N "(cached) $ECHO_C" >&6
29400 cat >conftest.
$ac_ext <<_ACEOF
29403 cat confdefs.h
>>conftest.
$ac_ext
29404 cat >>conftest.
$ac_ext <<_ACEOF
29405 /* end confdefs.h. */
29420 rm -f conftest.
$ac_objext
29421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29422 (eval $ac_compile) 2>conftest.er1
29424 grep -v '^ *+' conftest.er1
>conftest.err
29426 cat conftest.err
>&5
29427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428 (exit $ac_status); } &&
29429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29431 (eval $ac_try) 2>&5
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); }; } &&
29435 { ac_try
='test -s conftest.$ac_objext'
29436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29437 (eval $ac_try) 2>&5
29439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29440 (exit $ac_status); }; }; then
29443 echo "$as_me: failed program was:" >&5
29444 sed 's/^/| /' conftest.
$ac_ext >&5
29449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29453 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
29454 echo "${ECHO_T}$wx_cv_spbcdata" >&6
29456 if test $wx_cv_spbcdata = "yes"; then
29457 cat >>confdefs.h
<<\_ACEOF
29458 #define HAVE_SPBCDATA 1
29464 if test "$TOOLKIT" = "PM" ; then
29467 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
29470 if test "$wxUSE_UNIVERSAL" = "yes"; then
29471 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
29475 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
29476 DISTDIR
="wx\$(TOOLKIT)"
29482 if test "$USE_WIN32" = 1 ; then
29486 GUIDIST
="BASE_DIST"
29491 if test "$wxUSE_GUI" = "yes"; then
29492 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
29494 for ac_header
in X
11/Xlib.h
29496 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29498 echo "$as_me:$LINENO: checking for $ac_header" >&5
29499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29501 echo $ECHO_N "(cached) $ECHO_C" >&6
29503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29506 # Is the header compilable?
29507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29509 cat >conftest.
$ac_ext <<_ACEOF
29512 cat confdefs.h
>>conftest.
$ac_ext
29513 cat >>conftest.
$ac_ext <<_ACEOF
29514 /* end confdefs.h. */
29515 $ac_includes_default
29516 #include <$ac_header>
29518 rm -f conftest.
$ac_objext
29519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29520 (eval $ac_compile) 2>conftest.er1
29522 grep -v '^ *+' conftest.er1
>conftest.err
29524 cat conftest.err
>&5
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); } &&
29527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29529 (eval $ac_try) 2>&5
29531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29532 (exit $ac_status); }; } &&
29533 { ac_try
='test -s conftest.$ac_objext'
29534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29535 (eval $ac_try) 2>&5
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); }; }; then
29539 ac_header_compiler
=yes
29541 echo "$as_me: failed program was:" >&5
29542 sed 's/^/| /' conftest.
$ac_ext >&5
29544 ac_header_compiler
=no
29546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29548 echo "${ECHO_T}$ac_header_compiler" >&6
29550 # Is the header present?
29551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29553 cat >conftest.
$ac_ext <<_ACEOF
29556 cat confdefs.h
>>conftest.
$ac_ext
29557 cat >>conftest.
$ac_ext <<_ACEOF
29558 /* end confdefs.h. */
29559 #include <$ac_header>
29561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29564 grep -v '^ *+' conftest.er1
>conftest.err
29566 cat conftest.err
>&5
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); } >/dev
/null
; then
29569 if test -s conftest.err
; then
29570 ac_cpp_err
=$ac_c_preproc_warn_flag
29571 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29578 if test -z "$ac_cpp_err"; then
29579 ac_header_preproc
=yes
29581 echo "$as_me: failed program was:" >&5
29582 sed 's/^/| /' conftest.
$ac_ext >&5
29584 ac_header_preproc
=no
29586 rm -f conftest.err conftest.
$ac_ext
29587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29588 echo "${ECHO_T}$ac_header_preproc" >&6
29590 # So? What about this header?
29591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29597 ac_header_preproc
=yes
29600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29614 ## ----------------------------------------- ##
29615 ## Report this to wx-dev@lists.wxwidgets.org ##
29616 ## ----------------------------------------- ##
29619 sed "s/^/$as_me: WARNING: /" >&2
29622 echo "$as_me:$LINENO: checking for $ac_header" >&5
29623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29625 echo $ECHO_N "(cached) $ECHO_C" >&6
29627 eval "$as_ac_Header=\$ac_header_preproc"
29629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29634 cat >>confdefs.h
<<_ACEOF
29635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29643 for ac_header
in X
11/XKBlib.h
29645 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29646 echo "$as_me:$LINENO: checking for $ac_header" >&5
29647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29649 echo $ECHO_N "(cached) $ECHO_C" >&6
29651 cat >conftest.
$ac_ext <<_ACEOF
29654 cat confdefs.h
>>conftest.
$ac_ext
29655 cat >>conftest.
$ac_ext <<_ACEOF
29656 /* end confdefs.h. */
29658 #if HAVE_X11_XLIB_H
29659 #include <X11/Xlib.h>
29663 #include <$ac_header>
29665 rm -f conftest.
$ac_objext
29666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29667 (eval $ac_compile) 2>conftest.er1
29669 grep -v '^ *+' conftest.er1
>conftest.err
29671 cat conftest.err
>&5
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); } &&
29674 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29676 (eval $ac_try) 2>&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); }; } &&
29680 { ac_try
='test -s conftest.$ac_objext'
29681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29682 (eval $ac_try) 2>&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); }; }; then
29686 eval "$as_ac_Header=yes"
29688 echo "$as_me: failed program was:" >&5
29689 sed 's/^/| /' conftest.
$ac_ext >&5
29691 eval "$as_ac_Header=no"
29693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29698 cat >>confdefs.h
<<_ACEOF
29699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29714 if test "$TOOLKIT" != "MSW" ; then
29716 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
29718 if test "${ac_cv_header_sql_h+set}" = set; then
29719 echo "$as_me:$LINENO: checking for sql.h" >&5
29720 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29721 if test "${ac_cv_header_sql_h+set}" = set; then
29722 echo $ECHO_N "(cached) $ECHO_C" >&6
29724 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29725 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29727 # Is the header compilable?
29728 echo "$as_me:$LINENO: checking sql.h usability" >&5
29729 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
29730 cat >conftest.
$ac_ext <<_ACEOF
29733 cat confdefs.h
>>conftest.
$ac_ext
29734 cat >>conftest.
$ac_ext <<_ACEOF
29735 /* end confdefs.h. */
29736 $ac_includes_default
29739 rm -f conftest.
$ac_objext
29740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29741 (eval $ac_compile) 2>conftest.er1
29743 grep -v '^ *+' conftest.er1
>conftest.err
29745 cat conftest.err
>&5
29746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747 (exit $ac_status); } &&
29748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29750 (eval $ac_try) 2>&5
29752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29753 (exit $ac_status); }; } &&
29754 { ac_try
='test -s conftest.$ac_objext'
29755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29756 (eval $ac_try) 2>&5
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); }; }; then
29760 ac_header_compiler
=yes
29762 echo "$as_me: failed program was:" >&5
29763 sed 's/^/| /' conftest.
$ac_ext >&5
29765 ac_header_compiler
=no
29767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29769 echo "${ECHO_T}$ac_header_compiler" >&6
29771 # Is the header present?
29772 echo "$as_me:$LINENO: checking sql.h presence" >&5
29773 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
29774 cat >conftest.
$ac_ext <<_ACEOF
29777 cat confdefs.h
>>conftest.
$ac_ext
29778 cat >>conftest.
$ac_ext <<_ACEOF
29779 /* end confdefs.h. */
29782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29783 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29785 grep -v '^ *+' conftest.er1
>conftest.err
29787 cat conftest.err
>&5
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); } >/dev
/null
; then
29790 if test -s conftest.err
; then
29791 ac_cpp_err
=$ac_c_preproc_warn_flag
29792 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29799 if test -z "$ac_cpp_err"; then
29800 ac_header_preproc
=yes
29802 echo "$as_me: failed program was:" >&5
29803 sed 's/^/| /' conftest.
$ac_ext >&5
29805 ac_header_preproc
=no
29807 rm -f conftest.err conftest.
$ac_ext
29808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29809 echo "${ECHO_T}$ac_header_preproc" >&6
29811 # So? What about this header?
29812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29814 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29815 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29816 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
29817 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
29818 ac_header_preproc
=yes
29821 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
29822 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
29823 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
29824 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
29825 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
29826 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
29827 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
29828 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29829 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
29830 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
29831 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
29832 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
29835 ## ----------------------------------------- ##
29836 ## Report this to wx-dev@lists.wxwidgets.org ##
29837 ## ----------------------------------------- ##
29840 sed "s/^/$as_me: WARNING: /" >&2
29843 echo "$as_me:$LINENO: checking for sql.h" >&5
29844 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29845 if test "${ac_cv_header_sql_h+set}" = set; then
29846 echo $ECHO_N "(cached) $ECHO_C" >&6
29848 ac_cv_header_sql_h
=$ac_header_preproc
29850 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29851 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29854 if test $ac_cv_header_sql_h = yes; then
29859 if test "x$found_sql_h" = "x1" ; then
29860 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
29861 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
29862 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
29863 echo $ECHO_N "(cached) $ECHO_C" >&6
29865 ac_check_lib_save_LIBS
=$LIBS
29866 LIBS
="-liodbc $LIBS"
29867 cat >conftest.
$ac_ext <<_ACEOF
29870 cat confdefs.h
>>conftest.
$ac_ext
29871 cat >>conftest.
$ac_ext <<_ACEOF
29872 /* end confdefs.h. */
29874 /* Override any gcc2 internal prototype to avoid an error. */
29878 /* We use char because int might match the return type of a gcc2
29879 builtin and then its argument prototype would still apply. */
29880 char SQLAllocEnv ();
29889 rm -f conftest.
$ac_objext conftest
$ac_exeext
29890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29891 (eval $ac_link) 2>conftest.er1
29893 grep -v '^ *+' conftest.er1
>conftest.err
29895 cat conftest.err
>&5
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); } &&
29898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900 (eval $ac_try) 2>&5
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; } &&
29904 { ac_try
='test -s conftest$ac_exeext'
29905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29906 (eval $ac_try) 2>&5
29908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29909 (exit $ac_status); }; }; then
29910 ac_cv_lib_iodbc_SQLAllocEnv
=yes
29912 echo "$as_me: failed program was:" >&5
29913 sed 's/^/| /' conftest.
$ac_ext >&5
29915 ac_cv_lib_iodbc_SQLAllocEnv
=no
29917 rm -f conftest.err conftest.
$ac_objext \
29918 conftest
$ac_exeext conftest.
$ac_ext
29919 LIBS
=$ac_check_lib_save_LIBS
29921 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29922 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29923 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29924 ODBC_LINK
=" -liodbc"
29927 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29928 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29929 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29930 echo $ECHO_N "(cached) $ECHO_C" >&6
29932 ac_check_lib_save_LIBS
=$LIBS
29933 LIBS
="-lunixodbc $LIBS"
29934 cat >conftest.
$ac_ext <<_ACEOF
29937 cat confdefs.h
>>conftest.
$ac_ext
29938 cat >>conftest.
$ac_ext <<_ACEOF
29939 /* end confdefs.h. */
29941 /* Override any gcc2 internal prototype to avoid an error. */
29945 /* We use char because int might match the return type of a gcc2
29946 builtin and then its argument prototype would still apply. */
29947 char SQLAllocEnv ();
29956 rm -f conftest.
$ac_objext conftest
$ac_exeext
29957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29958 (eval $ac_link) 2>conftest.er1
29960 grep -v '^ *+' conftest.er1
>conftest.err
29962 cat conftest.err
>&5
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); } &&
29965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29967 (eval $ac_try) 2>&5
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); }; } &&
29971 { ac_try
='test -s conftest$ac_exeext'
29972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973 (eval $ac_try) 2>&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); }; }; then
29977 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
29979 echo "$as_me: failed program was:" >&5
29980 sed 's/^/| /' conftest.
$ac_ext >&5
29982 ac_cv_lib_unixodbc_SQLAllocEnv
=no
29984 rm -f conftest.err conftest.
$ac_objext \
29985 conftest
$ac_exeext conftest.
$ac_ext
29986 LIBS
=$ac_check_lib_save_LIBS
29988 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29989 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29990 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29991 ODBC_LINK
=" -lunixodbc"
29994 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29995 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29996 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29997 echo $ECHO_N "(cached) $ECHO_C" >&6
29999 ac_check_lib_save_LIBS
=$LIBS
30000 LIBS
="-lodbc $LIBS"
30001 cat >conftest.
$ac_ext <<_ACEOF
30004 cat confdefs.h
>>conftest.
$ac_ext
30005 cat >>conftest.
$ac_ext <<_ACEOF
30006 /* end confdefs.h. */
30008 /* Override any gcc2 internal prototype to avoid an error. */
30012 /* We use char because int might match the return type of a gcc2
30013 builtin and then its argument prototype would still apply. */
30014 char SQLAllocEnv ();
30023 rm -f conftest.
$ac_objext conftest
$ac_exeext
30024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30025 (eval $ac_link) 2>conftest.er1
30027 grep -v '^ *+' conftest.er1
>conftest.err
30029 cat conftest.err
>&5
30030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30031 (exit $ac_status); } &&
30032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30034 (eval $ac_try) 2>&5
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); }; } &&
30038 { ac_try
='test -s conftest$ac_exeext'
30039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30040 (eval $ac_try) 2>&5
30042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30043 (exit $ac_status); }; }; then
30044 ac_cv_lib_odbc_SQLAllocEnv
=yes
30046 echo "$as_me: failed program was:" >&5
30047 sed 's/^/| /' conftest.
$ac_ext >&5
30049 ac_cv_lib_odbc_SQLAllocEnv
=no
30051 rm -f conftest.err conftest.
$ac_objext \
30052 conftest
$ac_exeext conftest.
$ac_ext
30053 LIBS
=$ac_check_lib_save_LIBS
30055 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30056 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30057 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30058 ODBC_LINK
=" -lodbc"
30068 if test "x$ODBC_LINK" = "x" ; then
30069 if test "$wxUSE_ODBC" = "sys" ; then
30070 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30071 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30072 { (exit 1); exit 1; }; }
30074 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30075 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30083 if test "$wxUSE_ODBC" = "builtin" ; then
30084 cat >>confdefs.h
<<\_ACEOF
30085 #define wxUSE_BUILTIN_IODBC 1
30091 if test "$wxUSE_ODBC" != "no" ; then
30092 cat >>confdefs.h
<<\_ACEOF
30093 #define wxUSE_ODBC 1
30096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
30098 WXODBCFLAG
="-D_IODBC_"
30102 if test "$wxUSE_DISPLAY" = "yes"; then
30103 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30104 echo "$as_me:$LINENO: checking for Xinerama" >&5
30105 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30108 for ac_dir
in $SEARCH_LIB;
30110 for ac_extension
in a so sl dylib dll.a
; do
30111 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30112 ac_find_libraries
=$ac_dir
30118 if test "$ac_find_libraries" != "" ; then
30120 if test "$ac_find_libraries" = "default location"; then
30123 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30125 if test $result = 0; then
30128 ac_path_to_link
=" -L$ac_find_libraries"
30132 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30133 LDFLAGS
="$LDFLAGS $ac_path_to_link"
30135 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
30136 echo "$as_me:$LINENO: result: yes" >&5
30137 echo "${ECHO_T}yes" >&6
30139 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
30140 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
30143 for ac_dir
in $SEARCH_LIB;
30145 for ac_extension
in a so sl dylib dll.a
; do
30146 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
30147 ac_find_libraries
=$ac_dir
30153 if test "$ac_find_libraries" != "" ; then
30154 echo "$as_me:$LINENO: result: yes" >&5
30155 echo "${ECHO_T}yes" >&6
30157 for ac_header
in X
11/extensions
/xf86vmode.h
30159 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30160 echo "$as_me:$LINENO: checking for $ac_header" >&5
30161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30163 echo $ECHO_N "(cached) $ECHO_C" >&6
30165 cat >conftest.
$ac_ext <<_ACEOF
30168 cat confdefs.h
>>conftest.
$ac_ext
30169 cat >>conftest.
$ac_ext <<_ACEOF
30170 /* end confdefs.h. */
30172 #if HAVE_X11_XLIB_H
30173 #include <X11/Xlib.h>
30177 #include <$ac_header>
30179 rm -f conftest.
$ac_objext
30180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30181 (eval $ac_compile) 2>conftest.er1
30183 grep -v '^ *+' conftest.er1
>conftest.err
30185 cat conftest.err
>&5
30186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187 (exit $ac_status); } &&
30188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30190 (eval $ac_try) 2>&5
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 (exit $ac_status); }; } &&
30194 { ac_try
='test -s conftest.$ac_objext'
30195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30196 (eval $ac_try) 2>&5
30198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199 (exit $ac_status); }; }; then
30200 eval "$as_ac_Header=yes"
30202 echo "$as_me: failed program was:" >&5
30203 sed 's/^/| /' conftest.
$ac_ext >&5
30205 eval "$as_ac_Header=no"
30207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30212 cat >>confdefs.h
<<_ACEOF
30213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30216 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
30223 echo "$as_me:$LINENO: result: no" >&5
30224 echo "${ECHO_T}no" >&6
30228 echo "$as_me:$LINENO: result: no" >&5
30229 echo "${ECHO_T}no" >&6
30230 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
30231 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
30234 elif test "$wxUSE_MSW" = 1; then
30237 for ac_header
in multimon.h ddraw.h
30239 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30240 echo "$as_me:$LINENO: checking for $ac_header" >&5
30241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30243 echo $ECHO_N "(cached) $ECHO_C" >&6
30245 cat >conftest.
$ac_ext <<_ACEOF
30248 cat confdefs.h
>>conftest.
$ac_ext
30249 cat >>conftest.
$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30251 #include <windows.h>
30253 #include <$ac_header>
30255 rm -f conftest.
$ac_objext
30256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30257 (eval $ac_compile) 2>conftest.er1
30259 grep -v '^ *+' conftest.er1
>conftest.err
30261 cat conftest.err
>&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); } &&
30264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30266 (eval $ac_try) 2>&5
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); }; } &&
30270 { ac_try
='test -s conftest.$ac_objext'
30271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30272 (eval $ac_try) 2>&5
30274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275 (exit $ac_status); }; }; then
30276 eval "$as_ac_Header=yes"
30278 echo "$as_me: failed program was:" >&5
30279 sed 's/^/| /' conftest.
$ac_ext >&5
30281 eval "$as_ac_Header=no"
30283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30288 cat >>confdefs.h
<<_ACEOF
30289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30295 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
30296 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
30307 if test "$wxUSE_OPENGL" = "yes"; then
30308 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
30309 OPENGL_LIBS
="-framework OpenGL -framework AGL"
30310 elif test "$wxUSE_MSW" = 1; then
30311 OPENGL_LIBS
="-lopengl32 -lglu32"
30316 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30318 if test -f "$ac_dir/GL/gl.h"; then
30319 ac_find_includes
=$ac_dir
30324 if test "$ac_find_includes" != "" ; then
30325 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30326 echo "${ECHO_T}found in $ac_find_includes" >&6
30328 if test "x$ac_find_includes" = "x/usr/include"; then
30329 ac_path_to_include
=""
30331 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
30333 if test $result = 0; then
30334 ac_path_to_include
=""
30336 ac_path_to_include
=" -I$ac_find_includes"
30340 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
30343 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30344 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30345 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30346 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30347 echo $ECHO_N "(cached) $ECHO_C" >&6
30349 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30350 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30352 # Is the header compilable?
30353 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
30354 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
30355 cat >conftest.
$ac_ext <<_ACEOF
30358 cat confdefs.h
>>conftest.
$ac_ext
30359 cat >>conftest.
$ac_ext <<_ACEOF
30360 /* end confdefs.h. */
30361 $ac_includes_default
30364 rm -f conftest.
$ac_objext
30365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30366 (eval $ac_compile) 2>conftest.er1
30368 grep -v '^ *+' conftest.er1
>conftest.err
30370 cat conftest.err
>&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } &&
30373 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; } &&
30379 { ac_try
='test -s conftest.$ac_objext'
30380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30381 (eval $ac_try) 2>&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); }; }; then
30385 ac_header_compiler
=yes
30387 echo "$as_me: failed program was:" >&5
30388 sed 's/^/| /' conftest.
$ac_ext >&5
30390 ac_header_compiler
=no
30392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30393 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30394 echo "${ECHO_T}$ac_header_compiler" >&6
30396 # Is the header present?
30397 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
30398 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
30399 cat >conftest.
$ac_ext <<_ACEOF
30402 cat confdefs.h
>>conftest.
$ac_ext
30403 cat >>conftest.
$ac_ext <<_ACEOF
30404 /* end confdefs.h. */
30407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30408 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30410 grep -v '^ *+' conftest.er1
>conftest.err
30412 cat conftest.err
>&5
30413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30414 (exit $ac_status); } >/dev
/null
; then
30415 if test -s conftest.err
; then
30416 ac_cpp_err
=$ac_c_preproc_warn_flag
30417 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30424 if test -z "$ac_cpp_err"; then
30425 ac_header_preproc
=yes
30427 echo "$as_me: failed program was:" >&5
30428 sed 's/^/| /' conftest.
$ac_ext >&5
30430 ac_header_preproc
=no
30432 rm -f conftest.err conftest.
$ac_ext
30433 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30434 echo "${ECHO_T}$ac_header_preproc" >&6
30436 # So? What about this header?
30437 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30439 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
30440 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30441 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
30442 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
30443 ac_header_preproc
=yes
30446 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
30447 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
30448 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
30449 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
30450 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
30451 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
30452 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
30453 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
30454 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
30455 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
30456 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
30457 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
30460 ## ----------------------------------------- ##
30461 ## Report this to wx-dev@lists.wxwidgets.org ##
30462 ## ----------------------------------------- ##
30465 sed "s/^/$as_me: WARNING: /" >&2
30468 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30469 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30470 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30471 echo $ECHO_N "(cached) $ECHO_C" >&6
30473 ac_cv_header_GL_gl_h
=$ac_header_preproc
30475 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30476 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30479 if test $ac_cv_header_GL_gl_h = yes; then
30483 echo "$as_me:$LINENO: checking for -lGL" >&5
30484 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
30487 for ac_dir
in $SEARCH_LIB;
30489 for ac_extension
in a so sl dylib dll.a
; do
30490 if test -f "$ac_dir/libGL.$ac_extension"; then
30491 ac_find_libraries
=$ac_dir
30497 if test "$ac_find_libraries" != "" ; then
30498 echo "$as_me:$LINENO: result: yes" >&5
30499 echo "${ECHO_T}yes" >&6
30502 if test "$ac_find_libraries" = "default location"; then
30505 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30507 if test $result = 0; then
30510 ac_path_to_link
=" -L$ac_find_libraries"
30514 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30515 LDFLAGS_GL
="$ac_path_to_link"
30518 echo "$as_me:$LINENO: checking for -lGLU" >&5
30519 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
30522 for ac_dir
in $SEARCH_LIB;
30524 for ac_extension
in a so sl dylib dll.a
; do
30525 if test -f "$ac_dir/libGLU.$ac_extension"; then
30526 ac_find_libraries
=$ac_dir
30532 if test "$ac_find_libraries" != "" ; then
30534 if test "$ac_find_libraries" = "default location"; then
30537 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30539 if test $result = 0; then
30542 ac_path_to_link
=" -L$ac_find_libraries"
30546 if test "$ac_path_to_link" != " -L/usr/lib" -a \
30547 "$ac_path_to_link" != "$LDFLAGS_GL"; then
30548 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
30552 OPENGL_LIBS
="-lGL -lGLU"
30553 echo "$as_me:$LINENO: result: yes" >&5
30554 echo "${ECHO_T}yes" >&6
30556 echo "$as_me:$LINENO: result: no" >&5
30557 echo "${ECHO_T}no" >&6
30560 echo "$as_me:$LINENO: result: no" >&5
30561 echo "${ECHO_T}no" >&6
30564 if test "$found_gl" != 1; then
30565 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
30566 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
30569 for ac_dir
in $SEARCH_LIB;
30571 for ac_extension
in a so sl dylib dll.a
; do
30572 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
30573 ac_find_libraries
=$ac_dir
30579 if test "$ac_find_libraries" != "" ; then
30581 if test "$ac_find_libraries" = "default location"; then
30584 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30586 if test $result = 0; then
30589 ac_path_to_link
=" -L$ac_find_libraries"
30593 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
30594 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
30595 echo "$as_me:$LINENO: result: yes" >&5
30596 echo "${ECHO_T}yes" >&6
30598 echo "$as_me:$LINENO: result: no" >&5
30599 echo "${ECHO_T}no" >&6
30607 if test "x$OPENGL_LIBS" = "x"; then
30608 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
30609 echo "$as_me: error: OpenGL libraries not available" >&2;}
30610 { (exit 1); exit 1; }; }
30614 if test "$wxUSE_OPENGL" = "yes"; then
30616 cat >>confdefs.h
<<\_ACEOF
30617 #define wxUSE_OPENGL 1
30620 cat >>confdefs.h
<<\_ACEOF
30621 #define wxUSE_GLCANVAS 1
30624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
30629 if test -n "$TOOLKIT" ; then
30630 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
30635 if test "$wxUSE_SHARED" = "yes"; then
30639 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
30640 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
30645 if test "$wxUSE_SHARED" = "yes"; then
30648 found_versioning
=no
30651 if test $found_versioning = no
; then
30652 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
30653 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
30654 if test "${wx_cv_version_script+set}" = set; then
30655 echo $ECHO_N "(cached) $ECHO_C" >&6
30658 echo "VER_1 { *; };" >conftest.sym
30659 echo "int main() { return 0; }" >conftest.cpp
30662 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30663 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
30664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30665 (eval $ac_try) 2>&5
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); }; } ; then
30669 if test -s conftest.stderr
; then
30670 wx_cv_version_script
=no
30672 wx_cv_version_script
=yes
30675 wx_cv_version_script
=no
30678 if test $wx_cv_version_script = yes
30680 echo "struct B { virtual ~B() { } }; \
30681 struct D : public B { }; \
30682 void F() { D d; }" > conftest.cpp
30685 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30686 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
30687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30688 (eval $ac_try) 2>&5
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); }; } &&
30693 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30694 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
30695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30696 (eval $ac_try) 2>&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); }; }
30702 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30703 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
30704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30705 (eval $ac_try) 2>&5
30707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30708 (exit $ac_status); }; }
30710 wx_cv_version_script
=yes
30712 wx_cv_version_script
=no
30717 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
30718 rm -f conftest1.output conftest2.output conftest3.output
30721 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
30722 echo "${ECHO_T}$wx_cv_version_script" >&6
30723 if test $wx_cv_version_script = yes ; then
30724 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
30730 *-*-linux* | *-*-gnu* )
30731 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
30732 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
30736 if test "$GCC" = yes ; then
30737 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
30739 saveLdflags
="$LDFLAGS"
30740 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
30741 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
30742 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
30743 cat >conftest.
$ac_ext <<_ACEOF
30746 cat confdefs.h
>>conftest.
$ac_ext
30747 cat >>conftest.
$ac_ext <<_ACEOF
30748 /* end confdefs.h. */
30758 rm -f conftest.
$ac_objext conftest
$ac_exeext
30759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30760 (eval $ac_link) 2>conftest.er1
30762 grep -v '^ *+' conftest.er1
>conftest.err
30764 cat conftest.err
>&5
30765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766 (exit $ac_status); } &&
30767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30769 (eval $ac_try) 2>&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); }; } &&
30773 { ac_try
='test -s conftest$ac_exeext'
30774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30775 (eval $ac_try) 2>&5
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); }; }; then
30780 echo "$as_me:$LINENO: result: yes" >&5
30781 echo "${ECHO_T}yes" >&6
30782 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
30783 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
30786 echo "$as_me: failed program was:" >&5
30787 sed 's/^/| /' conftest.
$ac_ext >&5
30790 echo "$as_me:$LINENO: result: no" >&5
30791 echo "${ECHO_T}no" >&6
30792 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
30793 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
30794 LDFLAGS
="$saveLdflags -Wl,-R,/"
30795 cat >conftest.
$ac_ext <<_ACEOF
30798 cat confdefs.h
>>conftest.
$ac_ext
30799 cat >>conftest.
$ac_ext <<_ACEOF
30800 /* end confdefs.h. */
30810 rm -f conftest.
$ac_objext conftest
$ac_exeext
30811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30812 (eval $ac_link) 2>conftest.er1
30814 grep -v '^ *+' conftest.er1
>conftest.err
30816 cat conftest.err
>&5
30817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30818 (exit $ac_status); } &&
30819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30821 (eval $ac_try) 2>&5
30823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30824 (exit $ac_status); }; } &&
30825 { ac_try
='test -s conftest$ac_exeext'
30826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30827 (eval $ac_try) 2>&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); }; }; then
30832 echo "$as_me:$LINENO: result: yes" >&5
30833 echo "${ECHO_T}yes" >&6
30834 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
30835 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
30838 echo "$as_me: failed program was:" >&5
30839 sed 's/^/| /' conftest.
$ac_ext >&5
30842 echo "$as_me:$LINENO: result: no" >&5
30843 echo "${ECHO_T}no" >&6
30846 rm -f conftest.err conftest.
$ac_objext \
30847 conftest
$ac_exeext conftest.
$ac_ext
30850 rm -f conftest.err conftest.
$ac_objext \
30851 conftest
$ac_exeext conftest.
$ac_ext
30852 LDFLAGS
="$saveLdflags"
30854 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
30855 WXCONFIG_RPATH
="-R\$libdir"
30860 install_name_tool
=`which install_name_tool`
30861 if test "$install_name_tool" -a -x "$install_name_tool"; then
30862 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
30863 cat <<EOF >change-install-names
30865 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
30866 inst_cmd="install_name_tool "
30867 for i in \${libnames} ; do
30868 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
30872 chmod +x change
-install-names
30876 *-*-cygwin* | *-*-mingw32* )
30877 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
30881 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
30882 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
30887 if test $wxUSE_RPATH = "no"; then
30888 SAMPLES_RPATH_FLAG
=''
30889 SAMPLES_RPATH_POSTLINK
=''
30897 config_linkage_component
="-static"
30904 lib_unicode_suffix
=
30906 if test "$wxUSE_UNICODE" = "yes"; then
30907 lib_unicode_suffix
=u
30908 WX_CHARTYPE
="unicode"
30913 WX_DEBUGTYPE
="release"
30915 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30917 WX_DEBUGTYPE
="debug"
30921 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
30922 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
30925 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30929 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30931 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30933 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30935 if test "$cross_compiling" = "yes"; then
30936 HOST_SUFFIX
="-$host_alias"
30937 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
30938 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
30941 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30942 if test "${TOOLKIT_DIR}" = "os2"; then
30943 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30945 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30950 if test "$wxUSE_COCOA" = 1; then
30954 ac_cpp
='$CPP $CPPFLAGS'
30955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30961 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30962 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30963 cat >conftest.
$ac_ext <<_ACEOF
30966 cat confdefs.h
>>conftest.
$ac_ext
30967 cat >>conftest.
$ac_ext <<_ACEOF
30968 /* end confdefs.h. */
30969 #include <AppKit/NSEvent.h>
30970 #include <CoreFoundation/CoreFoundation.h>
30980 rm -f conftest.
$ac_objext
30981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30982 (eval $ac_compile) 2>conftest.er1
30984 grep -v '^ *+' conftest.er1
>conftest.err
30986 cat conftest.err
>&5
30987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988 (exit $ac_status); } &&
30989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30991 (eval $ac_try) 2>&5
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); }; } &&
30995 { ac_try
='test -s conftest.$ac_objext'
30996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30997 (eval $ac_try) 2>&5
30999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000 (exit $ac_status); }; }; then
31001 echo "$as_me:$LINENO: result: no" >&5
31002 echo "${ECHO_T}no" >&6
31004 echo "$as_me: failed program was:" >&5
31005 sed 's/^/| /' conftest.
$ac_ext >&5
31007 echo "$as_me:$LINENO: result: yes" >&5
31008 echo "${ECHO_T}yes" >&6
31009 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31010 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31011 cat >conftest.
$ac_ext <<_ACEOF
31014 cat confdefs.h
>>conftest.
$ac_ext
31015 cat >>conftest.
$ac_ext <<_ACEOF
31016 /* end confdefs.h. */
31017 #define __Point__ 1
31018 #include <AppKit/NSEvent.h>
31019 #include <CoreFoundation/CoreFoundation.h>
31029 rm -f conftest.
$ac_objext
31030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31031 (eval $ac_compile) 2>conftest.er1
31033 grep -v '^ *+' conftest.er1
>conftest.err
31035 cat conftest.err
>&5
31036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037 (exit $ac_status); } &&
31038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31040 (eval $ac_try) 2>&5
31042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31043 (exit $ac_status); }; } &&
31044 { ac_try
='test -s conftest.$ac_objext'
31045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31046 (eval $ac_try) 2>&5
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); }; }; then
31050 echo "$as_me:$LINENO: result: yes" >&5
31051 echo "${ECHO_T}yes" >&6
31052 cat >>confdefs.h
<<\_ACEOF
31053 #define __Point__ 1
31058 echo "$as_me: failed program was:" >&5
31059 sed 's/^/| /' conftest.
$ac_ext >&5
31061 { { echo "$as_me:$LINENO: error: no
31062 See \`config.log' for more details." >&5
31063 echo "$as_me: error: no
31064 See \`config.log' for more details." >&2;}
31065 { (exit 1); exit 1; }; }
31068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31073 ac_cpp
='$CPP $CPPFLAGS'
31074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31080 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31081 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31082 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31084 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31086 # Extract the first word of "Rez", so it can be a program name with args.
31087 set dummy Rez
; ac_word
=$2
31088 echo "$as_me:$LINENO: checking for $ac_word" >&5
31089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31090 if test "${ac_cv_prog_RESCOMP+set}" = set; then
31091 echo $ECHO_N "(cached) $ECHO_C" >&6
31093 if test -n "$RESCOMP"; then
31094 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
31096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31097 for as_dir
in $PATH
31100 test -z "$as_dir" && as_dir
=.
31101 for ac_exec_ext
in '' $ac_executable_extensions; do
31102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31103 ac_cv_prog_RESCOMP
="Rez"
31104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31110 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
31113 RESCOMP
=$ac_cv_prog_RESCOMP
31114 if test -n "$RESCOMP"; then
31115 echo "$as_me:$LINENO: result: $RESCOMP" >&5
31116 echo "${ECHO_T}$RESCOMP" >&6
31118 echo "$as_me:$LINENO: result: no" >&5
31119 echo "${ECHO_T}no" >&6
31122 # Extract the first word of "DeRez", so it can be a program name with args.
31123 set dummy DeRez
; ac_word
=$2
31124 echo "$as_me:$LINENO: checking for $ac_word" >&5
31125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31126 if test "${ac_cv_prog_DEREZ+set}" = set; then
31127 echo $ECHO_N "(cached) $ECHO_C" >&6
31129 if test -n "$DEREZ"; then
31130 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
31132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31133 for as_dir
in $PATH
31136 test -z "$as_dir" && as_dir
=.
31137 for ac_exec_ext
in '' $ac_executable_extensions; do
31138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31139 ac_cv_prog_DEREZ
="DeRez"
31140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31146 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
31149 DEREZ
=$ac_cv_prog_DEREZ
31150 if test -n "$DEREZ"; then
31151 echo "$as_me:$LINENO: result: $DEREZ" >&5
31152 echo "${ECHO_T}$DEREZ" >&6
31154 echo "$as_me:$LINENO: result: no" >&5
31155 echo "${ECHO_T}no" >&6
31158 # Extract the first word of "SetFile", so it can be a program name with args.
31159 set dummy SetFile
; ac_word
=$2
31160 echo "$as_me:$LINENO: checking for $ac_word" >&5
31161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31162 if test "${ac_cv_prog_SETFILE+set}" = set; then
31163 echo $ECHO_N "(cached) $ECHO_C" >&6
31165 if test -n "$SETFILE"; then
31166 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
31168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31169 for as_dir
in $PATH
31172 test -z "$as_dir" && as_dir
=.
31173 for ac_exec_ext
in '' $ac_executable_extensions; do
31174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31175 ac_cv_prog_SETFILE
="SetFile"
31176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31182 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
31185 SETFILE
=$ac_cv_prog_SETFILE
31186 if test -n "$SETFILE"; then
31187 echo "$as_me:$LINENO: result: $SETFILE" >&5
31188 echo "${ECHO_T}$SETFILE" >&6
31190 echo "$as_me:$LINENO: result: no" >&5
31191 echo "${ECHO_T}no" >&6
31195 MACSETFILE
="\$(SETFILE)"
31197 if test "$wxUSE_MAC" = 1; then
31198 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
31200 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
31202 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
31203 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
31207 MACRESWXCONFIG
="@true"
31209 if test "$wxUSE_PM" = 1; then
31210 MACRESCOMP
="emxbind -ep"
31218 echo "$as_me:$LINENO: checking for mode_t" >&5
31219 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
31220 if test "${ac_cv_type_mode_t+set}" = set; then
31221 echo $ECHO_N "(cached) $ECHO_C" >&6
31223 cat >conftest.
$ac_ext <<_ACEOF
31226 cat confdefs.h
>>conftest.
$ac_ext
31227 cat >>conftest.
$ac_ext <<_ACEOF
31228 /* end confdefs.h. */
31229 $ac_includes_default
31235 if (sizeof (mode_t))
31241 rm -f conftest.
$ac_objext
31242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31243 (eval $ac_compile) 2>conftest.er1
31245 grep -v '^ *+' conftest.er1
>conftest.err
31247 cat conftest.err
>&5
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); } &&
31250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31252 (eval $ac_try) 2>&5
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); }; } &&
31256 { ac_try
='test -s conftest.$ac_objext'
31257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31258 (eval $ac_try) 2>&5
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); }; }; then
31262 ac_cv_type_mode_t
=yes
31264 echo "$as_me: failed program was:" >&5
31265 sed 's/^/| /' conftest.
$ac_ext >&5
31267 ac_cv_type_mode_t
=no
31269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31271 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
31272 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
31273 if test $ac_cv_type_mode_t = yes; then
31277 cat >>confdefs.h
<<_ACEOF
31283 echo "$as_me:$LINENO: checking for off_t" >&5
31284 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
31285 if test "${ac_cv_type_off_t+set}" = set; then
31286 echo $ECHO_N "(cached) $ECHO_C" >&6
31288 cat >conftest.
$ac_ext <<_ACEOF
31291 cat confdefs.h
>>conftest.
$ac_ext
31292 cat >>conftest.
$ac_ext <<_ACEOF
31293 /* end confdefs.h. */
31294 $ac_includes_default
31300 if (sizeof (off_t))
31306 rm -f conftest.
$ac_objext
31307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31308 (eval $ac_compile) 2>conftest.er1
31310 grep -v '^ *+' conftest.er1
>conftest.err
31312 cat conftest.err
>&5
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); } &&
31315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; } &&
31321 { ac_try
='test -s conftest.$ac_objext'
31322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31323 (eval $ac_try) 2>&5
31325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31326 (exit $ac_status); }; }; then
31327 ac_cv_type_off_t
=yes
31329 echo "$as_me: failed program was:" >&5
31330 sed 's/^/| /' conftest.
$ac_ext >&5
31332 ac_cv_type_off_t
=no
31334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31336 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
31337 echo "${ECHO_T}$ac_cv_type_off_t" >&6
31338 if test $ac_cv_type_off_t = yes; then
31342 cat >>confdefs.h
<<_ACEOF
31348 echo "$as_me:$LINENO: checking for pid_t" >&5
31349 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
31350 if test "${ac_cv_type_pid_t+set}" = set; then
31351 echo $ECHO_N "(cached) $ECHO_C" >&6
31353 cat >conftest.
$ac_ext <<_ACEOF
31356 cat confdefs.h
>>conftest.
$ac_ext
31357 cat >>conftest.
$ac_ext <<_ACEOF
31358 /* end confdefs.h. */
31359 $ac_includes_default
31365 if (sizeof (pid_t))
31371 rm -f conftest.
$ac_objext
31372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31373 (eval $ac_compile) 2>conftest.er1
31375 grep -v '^ *+' conftest.er1
>conftest.err
31377 cat conftest.err
>&5
31378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31379 (exit $ac_status); } &&
31380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31382 (eval $ac_try) 2>&5
31384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31385 (exit $ac_status); }; } &&
31386 { ac_try
='test -s conftest.$ac_objext'
31387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31388 (eval $ac_try) 2>&5
31390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31391 (exit $ac_status); }; }; then
31392 ac_cv_type_pid_t
=yes
31394 echo "$as_me: failed program was:" >&5
31395 sed 's/^/| /' conftest.
$ac_ext >&5
31397 ac_cv_type_pid_t
=no
31399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31401 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
31402 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
31403 if test $ac_cv_type_pid_t = yes; then
31407 cat >>confdefs.h
<<_ACEOF
31413 echo "$as_me:$LINENO: checking for size_t" >&5
31414 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
31415 if test "${ac_cv_type_size_t+set}" = set; then
31416 echo $ECHO_N "(cached) $ECHO_C" >&6
31418 cat >conftest.
$ac_ext <<_ACEOF
31421 cat confdefs.h
>>conftest.
$ac_ext
31422 cat >>conftest.
$ac_ext <<_ACEOF
31423 /* end confdefs.h. */
31424 $ac_includes_default
31430 if (sizeof (size_t))
31436 rm -f conftest.
$ac_objext
31437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31438 (eval $ac_compile) 2>conftest.er1
31440 grep -v '^ *+' conftest.er1
>conftest.err
31442 cat conftest.err
>&5
31443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444 (exit $ac_status); } &&
31445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31447 (eval $ac_try) 2>&5
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); }; } &&
31451 { ac_try
='test -s conftest.$ac_objext'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; }; then
31457 ac_cv_type_size_t
=yes
31459 echo "$as_me: failed program was:" >&5
31460 sed 's/^/| /' conftest.
$ac_ext >&5
31462 ac_cv_type_size_t
=no
31464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31466 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
31467 echo "${ECHO_T}$ac_cv_type_size_t" >&6
31468 if test $ac_cv_type_size_t = yes; then
31472 cat >>confdefs.h
<<_ACEOF
31473 #define size_t unsigned
31478 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
31479 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
31480 if test "${ac_cv_type_uid_t+set}" = set; then
31481 echo $ECHO_N "(cached) $ECHO_C" >&6
31483 cat >conftest.
$ac_ext <<_ACEOF
31486 cat confdefs.h
>>conftest.
$ac_ext
31487 cat >>conftest.
$ac_ext <<_ACEOF
31488 /* end confdefs.h. */
31489 #include <sys/types.h>
31492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31493 $EGREP "uid_t" >/dev
/null
2>&1; then
31494 ac_cv_type_uid_t
=yes
31496 ac_cv_type_uid_t
=no
31501 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
31502 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
31503 if test $ac_cv_type_uid_t = no
; then
31505 cat >>confdefs.h
<<\_ACEOF
31510 cat >>confdefs.h
<<\_ACEOF
31517 echo "$as_me:$LINENO: checking for ssize_t" >&5
31518 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
31519 if test "${ac_cv_type_ssize_t+set}" = set; then
31520 echo $ECHO_N "(cached) $ECHO_C" >&6
31522 cat >conftest.
$ac_ext <<_ACEOF
31525 cat confdefs.h
>>conftest.
$ac_ext
31526 cat >>conftest.
$ac_ext <<_ACEOF
31527 /* end confdefs.h. */
31528 $ac_includes_default
31534 if (sizeof (ssize_t))
31540 rm -f conftest.
$ac_objext
31541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31542 (eval $ac_compile) 2>conftest.er1
31544 grep -v '^ *+' conftest.er1
>conftest.err
31546 cat conftest.err
>&5
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); } &&
31549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; } &&
31555 { ac_try
='test -s conftest.$ac_objext'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; }; then
31561 ac_cv_type_ssize_t
=yes
31563 echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.
$ac_ext >&5
31566 ac_cv_type_ssize_t
=no
31568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31570 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
31571 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
31572 if test $ac_cv_type_ssize_t = yes; then
31574 cat >>confdefs.h
<<_ACEOF
31575 #define HAVE_SSIZE_T 1
31585 ac_cpp
='$CXXCPP $CPPFLAGS'
31586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31590 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
31591 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
31592 if test "${wx_cv_size_t_is_uint+set}" = set; then
31593 echo $ECHO_N "(cached) $ECHO_C" >&6
31596 cat >conftest.
$ac_ext <<_ACEOF
31599 cat confdefs.h
>>conftest.
$ac_ext
31600 cat >>conftest.
$ac_ext <<_ACEOF
31601 /* end confdefs.h. */
31602 #include <stddef.h>
31609 struct Foo { void foo(size_t); void foo(unsigned int); };
31617 rm -f conftest.
$ac_objext
31618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31619 (eval $ac_compile) 2>conftest.er1
31621 grep -v '^ *+' conftest.er1
>conftest.err
31623 cat conftest.err
>&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); } &&
31626 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31628 (eval $ac_try) 2>&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); }; } &&
31632 { ac_try
='test -s conftest.$ac_objext'
31633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31634 (eval $ac_try) 2>&5
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); }; }; then
31638 wx_cv_size_t_is_uint
=no
31640 echo "$as_me: failed program was:" >&5
31641 sed 's/^/| /' conftest.
$ac_ext >&5
31643 wx_cv_size_t_is_uint
=yes
31646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31650 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
31651 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
31653 if test "$wx_cv_size_t_is_uint" = "yes"; then
31654 cat >>confdefs.h
<<\_ACEOF
31655 #define wxSIZE_T_IS_UINT 1
31659 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
31660 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
31661 if test "${wx_cv_size_t_is_ulong+set}" = set; then
31662 echo $ECHO_N "(cached) $ECHO_C" >&6
31664 cat >conftest.
$ac_ext <<_ACEOF
31667 cat confdefs.h
>>conftest.
$ac_ext
31668 cat >>conftest.
$ac_ext <<_ACEOF
31669 /* end confdefs.h. */
31670 #include <stddef.h>
31677 struct Foo { void foo(size_t); void foo(unsigned long); };
31685 rm -f conftest.
$ac_objext
31686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31687 (eval $ac_compile) 2>conftest.er1
31689 grep -v '^ *+' conftest.er1
>conftest.err
31691 cat conftest.err
>&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); } &&
31694 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31696 (eval $ac_try) 2>&5
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); }; } &&
31700 { ac_try
='test -s conftest.$ac_objext'
31701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702 (eval $ac_try) 2>&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; }; then
31706 wx_cv_size_t_is_ulong
=no
31708 echo "$as_me: failed program was:" >&5
31709 sed 's/^/| /' conftest.
$ac_ext >&5
31711 wx_cv_size_t_is_ulong
=yes
31714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31717 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
31718 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
31720 if test "$wx_cv_size_t_is_ulong" = "yes"; then
31721 cat >>confdefs.h
<<\_ACEOF
31722 #define wxSIZE_T_IS_ULONG 1
31729 ac_cpp
='$CPP $CPPFLAGS'
31730 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31731 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31732 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31736 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
31737 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
31738 if test "${wx_cv_struct_pw_gecos+set}" = set; then
31739 echo $ECHO_N "(cached) $ECHO_C" >&6
31742 cat >conftest.
$ac_ext <<_ACEOF
31745 cat confdefs.h
>>conftest.
$ac_ext
31746 cat >>conftest.
$ac_ext <<_ACEOF
31747 /* end confdefs.h. */
31761 rm -f conftest.
$ac_objext
31762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31763 (eval $ac_compile) 2>conftest.er1
31765 grep -v '^ *+' conftest.er1
>conftest.err
31767 cat conftest.err
>&5
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); } &&
31770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31772 (eval $ac_try) 2>&5
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); }; } &&
31776 { ac_try
='test -s conftest.$ac_objext'
31777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31778 (eval $ac_try) 2>&5
31780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31781 (exit $ac_status); }; }; then
31783 wx_cv_struct_pw_gecos
=yes
31786 echo "$as_me: failed program was:" >&5
31787 sed 's/^/| /' conftest.
$ac_ext >&5
31790 wx_cv_struct_pw_gecos
=no
31794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31798 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
31799 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
31801 if test "$wx_cv_struct_pw_gecos" = "yes"; then
31802 cat >>confdefs.h
<<\_ACEOF
31803 #define HAVE_PW_GECOS 1
31809 if test "$wxUSE_WCHAR_T" = "yes"; then
31810 cat >>confdefs.h
<<\_ACEOF
31811 #define wxUSE_WCHAR_T 1
31818 for ac_func
in wcslen
31820 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31821 echo "$as_me:$LINENO: checking for $ac_func" >&5
31822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31823 if eval "test \"\${$as_ac_var+set}\" = set"; then
31824 echo $ECHO_N "(cached) $ECHO_C" >&6
31826 cat >conftest.
$ac_ext <<_ACEOF
31829 cat confdefs.h
>>conftest.
$ac_ext
31830 cat >>conftest.
$ac_ext <<_ACEOF
31831 /* end confdefs.h. */
31832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31834 #define $ac_func innocuous_$ac_func
31836 /* System header to define __stub macros and hopefully few prototypes,
31837 which can conflict with char $ac_func (); below.
31838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31839 <limits.h> exists even on freestanding compilers. */
31842 # include <limits.h>
31844 # include <assert.h>
31849 /* Override any gcc2 internal prototype to avoid an error. */
31854 /* We use char because int might match the return type of a gcc2
31855 builtin and then its argument prototype would still apply. */
31857 /* The GNU C library defines this for functions which it implements
31858 to always fail with ENOSYS. Some functions are actually named
31859 something starting with __ and the normal name is an alias. */
31860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31863 char (*f) () = $ac_func;
31872 return f != $ac_func;
31877 rm -f conftest.
$ac_objext conftest
$ac_exeext
31878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31879 (eval $ac_link) 2>conftest.er1
31881 grep -v '^ *+' conftest.er1
>conftest.err
31883 cat conftest.err
>&5
31884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31885 (exit $ac_status); } &&
31886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31888 (eval $ac_try) 2>&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); }; } &&
31892 { ac_try
='test -s conftest$ac_exeext'
31893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31894 (eval $ac_try) 2>&5
31896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31897 (exit $ac_status); }; }; then
31898 eval "$as_ac_var=yes"
31900 echo "$as_me: failed program was:" >&5
31901 sed 's/^/| /' conftest.
$ac_ext >&5
31903 eval "$as_ac_var=no"
31905 rm -f conftest.err conftest.
$ac_objext \
31906 conftest
$ac_exeext conftest.
$ac_ext
31908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31910 if test `eval echo '${'$as_ac_var'}'` = yes; then
31911 cat >>confdefs.h
<<_ACEOF
31912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31919 if test "$WCSLEN_FOUND" = 0; then
31920 if test "$TOOLKIT" = "MSW"; then
31921 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31922 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31923 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31924 echo $ECHO_N "(cached) $ECHO_C" >&6
31926 ac_check_lib_save_LIBS
=$LIBS
31927 LIBS
="-lmsvcrt $LIBS"
31928 cat >conftest.
$ac_ext <<_ACEOF
31931 cat confdefs.h
>>conftest.
$ac_ext
31932 cat >>conftest.
$ac_ext <<_ACEOF
31933 /* end confdefs.h. */
31935 /* Override any gcc2 internal prototype to avoid an error. */
31939 /* We use char because int might match the return type of a gcc2
31940 builtin and then its argument prototype would still apply. */
31950 rm -f conftest.
$ac_objext conftest
$ac_exeext
31951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31952 (eval $ac_link) 2>conftest.er1
31954 grep -v '^ *+' conftest.er1
>conftest.err
31956 cat conftest.err
>&5
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); } &&
31959 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31961 (eval $ac_try) 2>&5
31963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31964 (exit $ac_status); }; } &&
31965 { ac_try
='test -s conftest$ac_exeext'
31966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31967 (eval $ac_try) 2>&5
31969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31970 (exit $ac_status); }; }; then
31971 ac_cv_lib_msvcrt_wcslen
=yes
31973 echo "$as_me: failed program was:" >&5
31974 sed 's/^/| /' conftest.
$ac_ext >&5
31976 ac_cv_lib_msvcrt_wcslen
=no
31978 rm -f conftest.err conftest.
$ac_objext \
31979 conftest
$ac_exeext conftest.
$ac_ext
31980 LIBS
=$ac_check_lib_save_LIBS
31982 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31983 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31984 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31989 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31990 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31991 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31992 echo $ECHO_N "(cached) $ECHO_C" >&6
31994 ac_check_lib_save_LIBS
=$LIBS
31996 cat >conftest.
$ac_ext <<_ACEOF
31999 cat confdefs.h
>>conftest.
$ac_ext
32000 cat >>conftest.
$ac_ext <<_ACEOF
32001 /* end confdefs.h. */
32003 /* Override any gcc2 internal prototype to avoid an error. */
32007 /* We use char because int might match the return type of a gcc2
32008 builtin and then its argument prototype would still apply. */
32018 rm -f conftest.
$ac_objext conftest
$ac_exeext
32019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32020 (eval $ac_link) 2>conftest.er1
32022 grep -v '^ *+' conftest.er1
>conftest.err
32024 cat conftest.err
>&5
32025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32026 (exit $ac_status); } &&
32027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32029 (eval $ac_try) 2>&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); }; } &&
32033 { ac_try
='test -s conftest$ac_exeext'
32034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32035 (eval $ac_try) 2>&5
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); }; }; then
32039 ac_cv_lib_w_wcslen
=yes
32041 echo "$as_me: failed program was:" >&5
32042 sed 's/^/| /' conftest.
$ac_ext >&5
32044 ac_cv_lib_w_wcslen
=no
32046 rm -f conftest.err conftest.
$ac_objext \
32047 conftest
$ac_exeext conftest.
$ac_ext
32048 LIBS
=$ac_check_lib_save_LIBS
32050 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32051 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32052 if test $ac_cv_lib_w_wcslen = yes; then
32062 if test "$WCSLEN_FOUND" = 1; then
32063 cat >>confdefs.h
<<\_ACEOF
32064 #define HAVE_WCSLEN 1
32069 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32070 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
32073 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32074 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32075 if test "${ac_cv_type_mbstate_t+set}" = set; then
32076 echo $ECHO_N "(cached) $ECHO_C" >&6
32078 cat >conftest.
$ac_ext <<_ACEOF
32081 cat confdefs.h
>>conftest.
$ac_ext
32082 cat >>conftest.
$ac_ext <<_ACEOF
32083 /* end confdefs.h. */
32089 if ((mbstate_t *) 0)
32091 if (sizeof (mbstate_t))
32097 rm -f conftest.
$ac_objext
32098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32099 (eval $ac_compile) 2>conftest.er1
32101 grep -v '^ *+' conftest.er1
>conftest.err
32103 cat conftest.err
>&5
32104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105 (exit $ac_status); } &&
32106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32108 (eval $ac_try) 2>&5
32110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32111 (exit $ac_status); }; } &&
32112 { ac_try
='test -s conftest.$ac_objext'
32113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32114 (eval $ac_try) 2>&5
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); }; }; then
32118 ac_cv_type_mbstate_t
=yes
32120 echo "$as_me: failed program was:" >&5
32121 sed 's/^/| /' conftest.
$ac_ext >&5
32123 ac_cv_type_mbstate_t
=no
32125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32127 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
32128 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
32129 if test $ac_cv_type_mbstate_t = yes; then
32131 cat >>confdefs.h
<<_ACEOF
32132 #define HAVE_MBSTATE_T 1
32136 for ac_func
in wcsrtombs
32138 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32139 echo "$as_me:$LINENO: checking for $ac_func" >&5
32140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32141 if eval "test \"\${$as_ac_var+set}\" = set"; then
32142 echo $ECHO_N "(cached) $ECHO_C" >&6
32144 cat >conftest.
$ac_ext <<_ACEOF
32147 cat confdefs.h
>>conftest.
$ac_ext
32148 cat >>conftest.
$ac_ext <<_ACEOF
32149 /* end confdefs.h. */
32150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32152 #define $ac_func innocuous_$ac_func
32154 /* System header to define __stub macros and hopefully few prototypes,
32155 which can conflict with char $ac_func (); below.
32156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32157 <limits.h> exists even on freestanding compilers. */
32160 # include <limits.h>
32162 # include <assert.h>
32167 /* Override any gcc2 internal prototype to avoid an error. */
32172 /* We use char because int might match the return type of a gcc2
32173 builtin and then its argument prototype would still apply. */
32175 /* The GNU C library defines this for functions which it implements
32176 to always fail with ENOSYS. Some functions are actually named
32177 something starting with __ and the normal name is an alias. */
32178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32181 char (*f) () = $ac_func;
32190 return f != $ac_func;
32195 rm -f conftest.
$ac_objext conftest
$ac_exeext
32196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32197 (eval $ac_link) 2>conftest.er1
32199 grep -v '^ *+' conftest.er1
>conftest.err
32201 cat conftest.err
>&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); } &&
32204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32206 (eval $ac_try) 2>&5
32208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32209 (exit $ac_status); }; } &&
32210 { ac_try
='test -s conftest$ac_exeext'
32211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32212 (eval $ac_try) 2>&5
32214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32215 (exit $ac_status); }; }; then
32216 eval "$as_ac_var=yes"
32218 echo "$as_me: failed program was:" >&5
32219 sed 's/^/| /' conftest.
$ac_ext >&5
32221 eval "$as_ac_var=no"
32223 rm -f conftest.err conftest.
$ac_objext \
32224 conftest
$ac_exeext conftest.
$ac_ext
32226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32228 if test `eval echo '${'$as_ac_var'}'` = yes; then
32229 cat >>confdefs.h
<<_ACEOF
32230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32239 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
32240 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
32246 ac_cpp
='$CXXCPP $CPPFLAGS'
32247 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32248 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32249 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32254 for ac_func
in snprintf vsnprintf
32256 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32257 echo "$as_me:$LINENO: checking for $ac_func" >&5
32258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32259 if eval "test \"\${$as_ac_var+set}\" = set"; then
32260 echo $ECHO_N "(cached) $ECHO_C" >&6
32262 cat >conftest.
$ac_ext <<_ACEOF
32265 cat confdefs.h
>>conftest.
$ac_ext
32266 cat >>conftest.
$ac_ext <<_ACEOF
32267 /* end confdefs.h. */
32268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32270 #define $ac_func innocuous_$ac_func
32272 /* System header to define __stub macros and hopefully few prototypes,
32273 which can conflict with char $ac_func (); below.
32274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32275 <limits.h> exists even on freestanding compilers. */
32278 # include <limits.h>
32280 # include <assert.h>
32285 /* Override any gcc2 internal prototype to avoid an error. */
32290 /* We use char because int might match the return type of a gcc2
32291 builtin and then its argument prototype would still apply. */
32293 /* The GNU C library defines this for functions which it implements
32294 to always fail with ENOSYS. Some functions are actually named
32295 something starting with __ and the normal name is an alias. */
32296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32299 char (*f) () = $ac_func;
32308 return f != $ac_func;
32313 rm -f conftest.
$ac_objext conftest
$ac_exeext
32314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32315 (eval $ac_link) 2>conftest.er1
32317 grep -v '^ *+' conftest.er1
>conftest.err
32319 cat conftest.err
>&5
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); } &&
32322 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32324 (eval $ac_try) 2>&5
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); }; } &&
32328 { ac_try
='test -s conftest$ac_exeext'
32329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32330 (eval $ac_try) 2>&5
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); }; }; then
32334 eval "$as_ac_var=yes"
32336 echo "$as_me: failed program was:" >&5
32337 sed 's/^/| /' conftest.
$ac_ext >&5
32339 eval "$as_ac_var=no"
32341 rm -f conftest.err conftest.
$ac_objext \
32342 conftest
$ac_exeext conftest.
$ac_ext
32344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32346 if test `eval echo '${'$as_ac_var'}'` = yes; then
32347 cat >>confdefs.h
<<_ACEOF
32348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32355 if test "$ac_cv_func_vsnprintf" = "yes"; then
32356 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
32357 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
32358 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
32359 echo $ECHO_N "(cached) $ECHO_C" >&6
32362 cat >conftest.
$ac_ext <<_ACEOF
32365 cat confdefs.h
>>conftest.
$ac_ext
32366 cat >>conftest.
$ac_ext <<_ACEOF
32367 /* end confdefs.h. */
32370 #include <stdarg.h>
32372 #if __MSL__ >= 0x6000
32374 using namespace std;
32384 vsnprintf(buf, 10u, "%s", ap);
32390 rm -f conftest.
$ac_objext
32391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32392 (eval $ac_compile) 2>conftest.er1
32394 grep -v '^ *+' conftest.er1
>conftest.err
32396 cat conftest.err
>&5
32397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32398 (exit $ac_status); } &&
32399 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32401 (eval $ac_try) 2>&5
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); }; } &&
32405 { ac_try
='test -s conftest.$ac_objext'
32406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32407 (eval $ac_try) 2>&5
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); }; }; then
32411 wx_cv_func_vsnprintf_decl
=yes
32413 echo "$as_me: failed program was:" >&5
32414 sed 's/^/| /' conftest.
$ac_ext >&5
32416 wx_cv_func_vsnprintf_decl
=no
32419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32423 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
32424 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
32426 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
32427 cat >>confdefs.h
<<\_ACEOF
32428 #define HAVE_VSNPRINTF_DECL 1
32432 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
32433 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
32434 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
32435 echo $ECHO_N "(cached) $ECHO_C" >&6
32438 cat >conftest.
$ac_ext <<_ACEOF
32441 cat confdefs.h
>>conftest.
$ac_ext
32442 cat >>conftest.
$ac_ext <<_ACEOF
32443 /* end confdefs.h. */
32446 #include <stdarg.h>
32448 #if __MSL__ >= 0x6000
32450 using namespace std;
32460 const char *fmt = "%s";
32461 vsnprintf(buf, 10u, fmt, ap);
32467 rm -f conftest.
$ac_objext
32468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32469 (eval $ac_compile) 2>conftest.er1
32471 grep -v '^ *+' conftest.er1
>conftest.err
32473 cat conftest.err
>&5
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); } &&
32476 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32478 (eval $ac_try) 2>&5
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); }; } &&
32482 { ac_try
='test -s conftest.$ac_objext'
32483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32484 (eval $ac_try) 2>&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); }; }; then
32488 wx_cv_func_broken_vsnprintf_decl
=no
32490 echo "$as_me: failed program was:" >&5
32491 sed 's/^/| /' conftest.
$ac_ext >&5
32493 wx_cv_func_broken_vsnprintf_decl
=yes
32496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32500 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
32501 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
32503 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
32504 cat >>confdefs.h
<<\_ACEOF
32505 #define HAVE_BROKEN_VSNPRINTF_DECL 1
32512 if test "$ac_cv_func_snprintf" = "yes"; then
32513 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
32514 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
32515 if test "${wx_cv_func_snprintf_decl+set}" = set; then
32516 echo $ECHO_N "(cached) $ECHO_C" >&6
32519 cat >conftest.
$ac_ext <<_ACEOF
32522 cat confdefs.h
>>conftest.
$ac_ext
32523 cat >>conftest.
$ac_ext <<_ACEOF
32524 /* end confdefs.h. */
32527 #include <stdarg.h>
32529 #if __MSL__ >= 0x6000
32531 using namespace std;
32540 snprintf(buf, 10u, "%s", "wx");
32546 rm -f conftest.
$ac_objext
32547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32548 (eval $ac_compile) 2>conftest.er1
32550 grep -v '^ *+' conftest.er1
>conftest.err
32552 cat conftest.err
>&5
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); } &&
32555 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32557 (eval $ac_try) 2>&5
32559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32560 (exit $ac_status); }; } &&
32561 { ac_try
='test -s conftest.$ac_objext'
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 wx_cv_func_snprintf_decl
=yes
32569 echo "$as_me: failed program was:" >&5
32570 sed 's/^/| /' conftest.
$ac_ext >&5
32572 wx_cv_func_snprintf_decl
=no
32575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32579 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
32580 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
32582 if test "$wx_cv_func_snprintf_decl" = "yes"; then
32583 cat >>confdefs.h
<<\_ACEOF
32584 #define HAVE_SNPRINTF_DECL 1
32588 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
32589 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
32590 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
32591 echo $ECHO_N "(cached) $ECHO_C" >&6
32594 cat >conftest.
$ac_ext <<_ACEOF
32597 cat confdefs.h
>>conftest.
$ac_ext
32598 cat >>conftest.
$ac_ext <<_ACEOF
32599 /* end confdefs.h. */
32602 #include <stdarg.h>
32604 #if __MSL__ >= 0x6000
32606 using namespace std;
32615 const char *fmt = "%s";
32616 snprintf(buf, 10u, fmt, "wx");
32622 rm -f conftest.
$ac_objext
32623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32624 (eval $ac_compile) 2>conftest.er1
32626 grep -v '^ *+' conftest.er1
>conftest.err
32628 cat conftest.err
>&5
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); } &&
32631 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32633 (eval $ac_try) 2>&5
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); }; } &&
32637 { ac_try
='test -s conftest.$ac_objext'
32638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32639 (eval $ac_try) 2>&5
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); }; }; then
32643 wx_cv_func_broken_snprintf_decl
=no
32645 echo "$as_me: failed program was:" >&5
32646 sed 's/^/| /' conftest.
$ac_ext >&5
32648 wx_cv_func_broken_snprintf_decl
=yes
32651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32655 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
32656 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
32658 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
32659 cat >>confdefs.h
<<\_ACEOF
32660 #define HAVE_BROKEN_SNPRINTF_DECL 1
32667 if test "$wxUSE_UNICODE" = yes; then
32674 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
32676 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32677 echo "$as_me:$LINENO: checking for $ac_func" >&5
32678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32679 if eval "test \"\${$as_ac_var+set}\" = set"; then
32680 echo $ECHO_N "(cached) $ECHO_C" >&6
32682 cat >conftest.
$ac_ext <<_ACEOF
32685 cat confdefs.h
>>conftest.
$ac_ext
32686 cat >>conftest.
$ac_ext <<_ACEOF
32687 /* end confdefs.h. */
32688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32690 #define $ac_func innocuous_$ac_func
32692 /* System header to define __stub macros and hopefully few prototypes,
32693 which can conflict with char $ac_func (); below.
32694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32695 <limits.h> exists even on freestanding compilers. */
32698 # include <limits.h>
32700 # include <assert.h>
32705 /* Override any gcc2 internal prototype to avoid an error. */
32710 /* We use char because int might match the return type of a gcc2
32711 builtin and then its argument prototype would still apply. */
32713 /* The GNU C library defines this for functions which it implements
32714 to always fail with ENOSYS. Some functions are actually named
32715 something starting with __ and the normal name is an alias. */
32716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32719 char (*f) () = $ac_func;
32728 return f != $ac_func;
32733 rm -f conftest.
$ac_objext conftest
$ac_exeext
32734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32735 (eval $ac_link) 2>conftest.er1
32737 grep -v '^ *+' conftest.er1
>conftest.err
32739 cat conftest.err
>&5
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); } &&
32742 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32744 (eval $ac_try) 2>&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); }; } &&
32748 { ac_try
='test -s conftest$ac_exeext'
32749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32750 (eval $ac_try) 2>&5
32752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32753 (exit $ac_status); }; }; then
32754 eval "$as_ac_var=yes"
32756 echo "$as_me: failed program was:" >&5
32757 sed 's/^/| /' conftest.
$ac_ext >&5
32759 eval "$as_ac_var=no"
32761 rm -f conftest.err conftest.
$ac_objext \
32762 conftest
$ac_exeext conftest.
$ac_ext
32764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32766 if test `eval echo '${'$as_ac_var'}'` = yes; then
32767 cat >>confdefs.h
<<_ACEOF
32768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32775 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
32776 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
32777 cat >conftest.
$ac_ext <<_ACEOF
32780 cat confdefs.h
>>conftest.
$ac_ext
32781 cat >>conftest.
$ac_ext <<_ACEOF
32782 /* end confdefs.h. */
32792 rm -f conftest.
$ac_objext
32793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32794 (eval $ac_compile) 2>conftest.er1
32796 grep -v '^ *+' conftest.er1
>conftest.err
32798 cat conftest.err
>&5
32799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800 (exit $ac_status); } &&
32801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32803 (eval $ac_try) 2>&5
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); }; } &&
32807 { ac_try
='test -s conftest.$ac_objext'
32808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32809 (eval $ac_try) 2>&5
32811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32812 (exit $ac_status); }; }; then
32813 echo "$as_me:$LINENO: result: yes" >&5
32814 echo "${ECHO_T}yes" >&6
32815 cat >>confdefs.h
<<\_ACEOF
32816 #define HAVE__VSNWPRINTF 1
32820 echo "$as_me: failed program was:" >&5
32821 sed 's/^/| /' conftest.
$ac_ext >&5
32823 echo "$as_me:$LINENO: result: no" >&5
32824 echo "${ECHO_T}no" >&6
32826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
32830 ac_cpp
='$CPP $CPPFLAGS'
32831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32836 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
32838 for ac_func
in fnmatch
32840 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32841 echo "$as_me:$LINENO: checking for $ac_func" >&5
32842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32843 if eval "test \"\${$as_ac_var+set}\" = set"; then
32844 echo $ECHO_N "(cached) $ECHO_C" >&6
32846 cat >conftest.
$ac_ext <<_ACEOF
32849 cat confdefs.h
>>conftest.
$ac_ext
32850 cat >>conftest.
$ac_ext <<_ACEOF
32851 /* end confdefs.h. */
32852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32854 #define $ac_func innocuous_$ac_func
32856 /* System header to define __stub macros and hopefully few prototypes,
32857 which can conflict with char $ac_func (); below.
32858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32859 <limits.h> exists even on freestanding compilers. */
32862 # include <limits.h>
32864 # include <assert.h>
32869 /* Override any gcc2 internal prototype to avoid an error. */
32874 /* We use char because int might match the return type of a gcc2
32875 builtin and then its argument prototype would still apply. */
32877 /* The GNU C library defines this for functions which it implements
32878 to always fail with ENOSYS. Some functions are actually named
32879 something starting with __ and the normal name is an alias. */
32880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32883 char (*f) () = $ac_func;
32892 return f != $ac_func;
32897 rm -f conftest.
$ac_objext conftest
$ac_exeext
32898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32899 (eval $ac_link) 2>conftest.er1
32901 grep -v '^ *+' conftest.er1
>conftest.err
32903 cat conftest.err
>&5
32904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32905 (exit $ac_status); } &&
32906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32908 (eval $ac_try) 2>&5
32910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32911 (exit $ac_status); }; } &&
32912 { ac_try
='test -s conftest$ac_exeext'
32913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32914 (eval $ac_try) 2>&5
32916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917 (exit $ac_status); }; }; then
32918 eval "$as_ac_var=yes"
32920 echo "$as_me: failed program was:" >&5
32921 sed 's/^/| /' conftest.
$ac_ext >&5
32923 eval "$as_ac_var=no"
32925 rm -f conftest.err conftest.
$ac_objext \
32926 conftest
$ac_exeext conftest.
$ac_ext
32928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32930 if test `eval echo '${'$as_ac_var'}'` = yes; then
32931 cat >>confdefs.h
<<_ACEOF
32932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32940 if test "$wxUSE_FILE" = "yes"; then
32942 for ac_func
in fsync
32944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32945 echo "$as_me:$LINENO: checking for $ac_func" >&5
32946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32947 if eval "test \"\${$as_ac_var+set}\" = set"; then
32948 echo $ECHO_N "(cached) $ECHO_C" >&6
32950 cat >conftest.
$ac_ext <<_ACEOF
32953 cat confdefs.h
>>conftest.
$ac_ext
32954 cat >>conftest.
$ac_ext <<_ACEOF
32955 /* end confdefs.h. */
32956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32958 #define $ac_func innocuous_$ac_func
32960 /* System header to define __stub macros and hopefully few prototypes,
32961 which can conflict with char $ac_func (); below.
32962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32963 <limits.h> exists even on freestanding compilers. */
32966 # include <limits.h>
32968 # include <assert.h>
32973 /* Override any gcc2 internal prototype to avoid an error. */
32978 /* We use char because int might match the return type of a gcc2
32979 builtin and then its argument prototype would still apply. */
32981 /* The GNU C library defines this for functions which it implements
32982 to always fail with ENOSYS. Some functions are actually named
32983 something starting with __ and the normal name is an alias. */
32984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32987 char (*f) () = $ac_func;
32996 return f != $ac_func;
33001 rm -f conftest.
$ac_objext conftest
$ac_exeext
33002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33003 (eval $ac_link) 2>conftest.er1
33005 grep -v '^ *+' conftest.er1
>conftest.err
33007 cat conftest.err
>&5
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); } &&
33010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33012 (eval $ac_try) 2>&5
33014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33015 (exit $ac_status); }; } &&
33016 { ac_try
='test -s conftest$ac_exeext'
33017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33018 (eval $ac_try) 2>&5
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); }; }; then
33022 eval "$as_ac_var=yes"
33024 echo "$as_me: failed program was:" >&5
33025 sed 's/^/| /' conftest.
$ac_ext >&5
33027 eval "$as_ac_var=no"
33029 rm -f conftest.err conftest.
$ac_objext \
33030 conftest
$ac_exeext conftest.
$ac_ext
33032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33034 if test `eval echo '${'$as_ac_var'}'` = yes; then
33035 cat >>confdefs.h
<<_ACEOF
33036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33045 if test "$TOOLKIT" != "MSW"; then
33051 ac_cpp
='$CXXCPP $CPPFLAGS'
33052 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33053 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33054 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33059 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33060 if test "${with_libiconv_prefix+set}" = set; then
33061 withval
="$with_libiconv_prefix"
33063 for dir
in `echo "$withval" | tr : ' '`; do
33064 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
33065 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
33070 echo "$as_me:$LINENO: checking for iconv" >&5
33071 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33072 if test "${am_cv_func_iconv+set}" = set; then
33073 echo $ECHO_N "(cached) $ECHO_C" >&6
33076 am_cv_func_iconv
="no, consider installing GNU libiconv"
33078 cat >conftest.
$ac_ext <<_ACEOF
33081 cat confdefs.h
>>conftest.
$ac_ext
33082 cat >>conftest.
$ac_ext <<_ACEOF
33083 /* end confdefs.h. */
33084 #include <stdlib.h>
33089 iconv_t cd = iconv_open("","");
33090 iconv(cd,NULL,NULL,NULL,NULL);
33096 rm -f conftest.
$ac_objext conftest
$ac_exeext
33097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33098 (eval $ac_link) 2>conftest.er1
33100 grep -v '^ *+' conftest.er1
>conftest.err
33102 cat conftest.err
>&5
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); } &&
33105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33107 (eval $ac_try) 2>&5
33109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33110 (exit $ac_status); }; } &&
33111 { ac_try
='test -s conftest$ac_exeext'
33112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33113 (eval $ac_try) 2>&5
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); }; }; then
33117 am_cv_func_iconv
=yes
33119 echo "$as_me: failed program was:" >&5
33120 sed 's/^/| /' conftest.
$ac_ext >&5
33123 rm -f conftest.err conftest.
$ac_objext \
33124 conftest
$ac_exeext conftest.
$ac_ext
33125 if test "$am_cv_func_iconv" != yes; then
33126 am_save_LIBS
="$LIBS"
33127 LIBS
="$LIBS -liconv"
33128 cat >conftest.
$ac_ext <<_ACEOF
33131 cat confdefs.h
>>conftest.
$ac_ext
33132 cat >>conftest.
$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33134 #include <stdlib.h>
33139 iconv_t cd = iconv_open("","");
33140 iconv(cd,NULL,NULL,NULL,NULL);
33146 rm -f conftest.
$ac_objext conftest
$ac_exeext
33147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33148 (eval $ac_link) 2>conftest.er1
33150 grep -v '^ *+' conftest.er1
>conftest.err
33152 cat conftest.err
>&5
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); } &&
33155 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33157 (eval $ac_try) 2>&5
33159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33160 (exit $ac_status); }; } &&
33161 { ac_try
='test -s conftest$ac_exeext'
33162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33163 (eval $ac_try) 2>&5
33165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33166 (exit $ac_status); }; }; then
33167 am_cv_lib_iconv
=yes
33168 am_cv_func_iconv
=yes
33170 echo "$as_me: failed program was:" >&5
33171 sed 's/^/| /' conftest.
$ac_ext >&5
33174 rm -f conftest.err conftest.
$ac_objext \
33175 conftest
$ac_exeext conftest.
$ac_ext
33176 LIBS
="$am_save_LIBS"
33180 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
33181 echo "${ECHO_T}$am_cv_func_iconv" >&6
33182 if test "$am_cv_func_iconv" = yes; then
33184 cat >>confdefs.h
<<\_ACEOF
33185 #define HAVE_ICONV 1
33188 echo "$as_me:$LINENO: checking if iconv needs const" >&5
33189 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
33190 if test "${wx_cv_func_iconv_const+set}" = set; then
33191 echo $ECHO_N "(cached) $ECHO_C" >&6
33193 cat >conftest.
$ac_ext <<_ACEOF
33196 cat confdefs.h
>>conftest.
$ac_ext
33197 cat >>conftest.
$ac_ext <<_ACEOF
33198 /* end confdefs.h. */
33200 #include <stdlib.h>
33206 #if defined(__STDC__) || defined(__cplusplus)
33207 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
33220 rm -f conftest.
$ac_objext
33221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33222 (eval $ac_compile) 2>conftest.er1
33224 grep -v '^ *+' conftest.er1
>conftest.err
33226 cat conftest.err
>&5
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); } &&
33229 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33231 (eval $ac_try) 2>&5
33233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234 (exit $ac_status); }; } &&
33235 { ac_try
='test -s conftest.$ac_objext'
33236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33237 (eval $ac_try) 2>&5
33239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33240 (exit $ac_status); }; }; then
33241 wx_cv_func_iconv_const
="no"
33243 echo "$as_me: failed program was:" >&5
33244 sed 's/^/| /' conftest.
$ac_ext >&5
33246 wx_cv_func_iconv_const
="yes"
33249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33252 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
33253 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
33256 if test "x$wx_cv_func_iconv_const" = "xyes"; then
33257 iconv_const
="const"
33261 cat >>confdefs.h
<<_ACEOF
33262 #define ICONV_CONST $iconv_const
33267 if test "$am_cv_lib_iconv" = yes; then
33272 LIBS
="$LIBICONV $LIBS"
33274 ac_cpp
='$CPP $CPPFLAGS'
33275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33280 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33282 for ac_func
in sigaction
33284 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33285 echo "$as_me:$LINENO: checking for $ac_func" >&5
33286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33287 if eval "test \"\${$as_ac_var+set}\" = set"; then
33288 echo $ECHO_N "(cached) $ECHO_C" >&6
33290 cat >conftest.
$ac_ext <<_ACEOF
33293 cat confdefs.h
>>conftest.
$ac_ext
33294 cat >>conftest.
$ac_ext <<_ACEOF
33295 /* end confdefs.h. */
33296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33298 #define $ac_func innocuous_$ac_func
33300 /* System header to define __stub macros and hopefully few prototypes,
33301 which can conflict with char $ac_func (); below.
33302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33303 <limits.h> exists even on freestanding compilers. */
33306 # include <limits.h>
33308 # include <assert.h>
33313 /* Override any gcc2 internal prototype to avoid an error. */
33318 /* We use char because int might match the return type of a gcc2
33319 builtin and then its argument prototype would still apply. */
33321 /* The GNU C library defines this for functions which it implements
33322 to always fail with ENOSYS. Some functions are actually named
33323 something starting with __ and the normal name is an alias. */
33324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33327 char (*f) () = $ac_func;
33336 return f != $ac_func;
33341 rm -f conftest.
$ac_objext conftest
$ac_exeext
33342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33343 (eval $ac_link) 2>conftest.er1
33345 grep -v '^ *+' conftest.er1
>conftest.err
33347 cat conftest.err
>&5
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); } &&
33350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33352 (eval $ac_try) 2>&5
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); }; } &&
33356 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
33362 eval "$as_ac_var=yes"
33364 echo "$as_me: failed program was:" >&5
33365 sed 's/^/| /' conftest.
$ac_ext >&5
33367 eval "$as_ac_var=no"
33369 rm -f conftest.err conftest.
$ac_objext \
33370 conftest
$ac_exeext conftest.
$ac_ext
33372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33374 if test `eval echo '${'$as_ac_var'}'` = yes; then
33375 cat >>confdefs.h
<<_ACEOF
33376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33383 if test "$ac_cv_func_sigaction" = "no"; then
33384 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
33385 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
33386 wxUSE_ON_FATAL_EXCEPTION
=no
33389 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
33393 ac_cpp
='$CXXCPP $CPPFLAGS'
33394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33399 echo "$as_me:$LINENO: checking for sa_handler type" >&5
33400 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
33401 if test "${wx_cv_type_sa_handler+set}" = set; then
33402 echo $ECHO_N "(cached) $ECHO_C" >&6
33405 cat >conftest.
$ac_ext <<_ACEOF
33408 cat confdefs.h
>>conftest.
$ac_ext
33409 cat >>conftest.
$ac_ext <<_ACEOF
33410 /* end confdefs.h. */
33411 #include <signal.h>
33416 extern void testSigHandler(int);
33418 struct sigaction sa;
33419 sa.sa_handler = testSigHandler;
33425 rm -f conftest.
$ac_objext
33426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33427 (eval $ac_compile) 2>conftest.er1
33429 grep -v '^ *+' conftest.er1
>conftest.err
33431 cat conftest.err
>&5
33432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33433 (exit $ac_status); } &&
33434 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33436 (eval $ac_try) 2>&5
33438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33439 (exit $ac_status); }; } &&
33440 { ac_try
='test -s conftest.$ac_objext'
33441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33442 (eval $ac_try) 2>&5
33444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33445 (exit $ac_status); }; }; then
33447 wx_cv_type_sa_handler
=int
33450 echo "$as_me: failed program was:" >&5
33451 sed 's/^/| /' conftest.
$ac_ext >&5
33454 wx_cv_type_sa_handler
=void
33457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33460 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
33461 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
33464 ac_cpp
='$CPP $CPPFLAGS'
33465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33470 cat >>confdefs.h
<<_ACEOF
33471 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
33477 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33481 ac_cpp
='$CXXCPP $CPPFLAGS'
33482 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33483 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33484 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33487 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
33488 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
33489 if test "${wx_cv_func_backtrace+set}" = set; then
33490 echo $ECHO_N "(cached) $ECHO_C" >&6
33493 cat >conftest.
$ac_ext <<_ACEOF
33496 cat confdefs.h
>>conftest.
$ac_ext
33497 cat >>conftest.
$ac_ext <<_ACEOF
33498 /* end confdefs.h. */
33499 #include <execinfo.h>
33507 backtrace(trace, 1);
33508 messages = backtrace_symbols(trace, 1);
33514 rm -f conftest.
$ac_objext
33515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33516 (eval $ac_compile) 2>conftest.er1
33518 grep -v '^ *+' conftest.er1
>conftest.err
33520 cat conftest.err
>&5
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); } &&
33523 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33525 (eval $ac_try) 2>&5
33527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33528 (exit $ac_status); }; } &&
33529 { ac_try
='test -s conftest.$ac_objext'
33530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33531 (eval $ac_try) 2>&5
33533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33534 (exit $ac_status); }; }; then
33535 wx_cv_func_backtrace
=yes
33537 echo "$as_me: failed program was:" >&5
33538 sed 's/^/| /' conftest.
$ac_ext >&5
33540 wx_cv_func_backtrace
=no
33543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33547 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
33548 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
33551 if test "$wx_cv_func_backtrace" = "no"; then
33552 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
33553 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
33554 wxUSE_STACKWALKER
=no
33556 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
33557 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
33558 if test "${wx_cv_func_cxa_demangle+set}" = set; then
33559 echo $ECHO_N "(cached) $ECHO_C" >&6
33562 cat >conftest.
$ac_ext <<_ACEOF
33565 cat confdefs.h
>>conftest.
$ac_ext
33566 cat >>conftest.
$ac_ext <<_ACEOF
33567 /* end confdefs.h. */
33568 #include <cxxabi.h>
33574 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
33580 rm -f conftest.
$ac_objext conftest
$ac_exeext
33581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33582 (eval $ac_link) 2>conftest.er1
33584 grep -v '^ *+' conftest.er1
>conftest.err
33586 cat conftest.err
>&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); } &&
33589 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33591 (eval $ac_try) 2>&5
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); }; } &&
33595 { ac_try
='test -s conftest$ac_exeext'
33596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33597 (eval $ac_try) 2>&5
33599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33600 (exit $ac_status); }; }; then
33601 wx_cv_func_cxa_demangle
=yes
33603 echo "$as_me: failed program was:" >&5
33604 sed 's/^/| /' conftest.
$ac_ext >&5
33606 wx_cv_func_cxa_demangle
=no
33609 rm -f conftest.err conftest.
$ac_objext \
33610 conftest
$ac_exeext conftest.
$ac_ext
33614 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
33615 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
33617 if test "$wx_cv_func_cxa_demangle" = "yes"; then
33618 cat >>confdefs.h
<<\_ACEOF
33619 #define HAVE_CXA_DEMANGLE 1
33626 ac_cpp
='$CPP $CPPFLAGS'
33627 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33633 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
33634 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
33635 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
33636 wxUSE_STACKWALKER
=no
33642 for ac_func
in mkstemp mktemp
33644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33645 echo "$as_me:$LINENO: checking for $ac_func" >&5
33646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33647 if eval "test \"\${$as_ac_var+set}\" = set"; then
33648 echo $ECHO_N "(cached) $ECHO_C" >&6
33650 cat >conftest.
$ac_ext <<_ACEOF
33653 cat confdefs.h
>>conftest.
$ac_ext
33654 cat >>conftest.
$ac_ext <<_ACEOF
33655 /* end confdefs.h. */
33656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33658 #define $ac_func innocuous_$ac_func
33660 /* System header to define __stub macros and hopefully few prototypes,
33661 which can conflict with char $ac_func (); below.
33662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33663 <limits.h> exists even on freestanding compilers. */
33666 # include <limits.h>
33668 # include <assert.h>
33673 /* Override any gcc2 internal prototype to avoid an error. */
33678 /* We use char because int might match the return type of a gcc2
33679 builtin and then its argument prototype would still apply. */
33681 /* The GNU C library defines this for functions which it implements
33682 to always fail with ENOSYS. Some functions are actually named
33683 something starting with __ and the normal name is an alias. */
33684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33687 char (*f) () = $ac_func;
33696 return f != $ac_func;
33701 rm -f conftest.
$ac_objext conftest
$ac_exeext
33702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33703 (eval $ac_link) 2>conftest.er1
33705 grep -v '^ *+' conftest.er1
>conftest.err
33707 cat conftest.err
>&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } &&
33710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33712 (eval $ac_try) 2>&5
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); }; } &&
33716 { ac_try
='test -s conftest$ac_exeext'
33717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33718 (eval $ac_try) 2>&5
33720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33721 (exit $ac_status); }; }; then
33722 eval "$as_ac_var=yes"
33724 echo "$as_me: failed program was:" >&5
33725 sed 's/^/| /' conftest.
$ac_ext >&5
33727 eval "$as_ac_var=no"
33729 rm -f conftest.err conftest.
$ac_objext \
33730 conftest
$ac_exeext conftest.
$ac_ext
33732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33734 if test `eval echo '${'$as_ac_var'}'` = yes; then
33735 cat >>confdefs.h
<<_ACEOF
33736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33743 echo "$as_me:$LINENO: checking for statfs" >&5
33744 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
33745 if test "${wx_cv_func_statfs+set}" = set; then
33746 echo $ECHO_N "(cached) $ECHO_C" >&6
33748 cat >conftest.
$ac_ext <<_ACEOF
33751 cat confdefs.h
>>conftest.
$ac_ext
33752 cat >>conftest.
$ac_ext <<_ACEOF
33753 /* end confdefs.h. */
33755 #if defined(__BSD__)
33756 #include <sys/param.h>
33757 #include <sys/mount.h>
33759 #include <sys/vfs.h>
33777 rm -f conftest.
$ac_objext
33778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33779 (eval $ac_compile) 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_c_werror_flag" || test ! -s conftest.err'
33787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33788 (eval $ac_try) 2>&5
33790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33791 (exit $ac_status); }; } &&
33792 { ac_try
='test -s conftest.$ac_objext'
33793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33794 (eval $ac_try) 2>&5
33796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797 (exit $ac_status); }; }; then
33798 wx_cv_func_statfs
=yes
33800 echo "$as_me: failed program was:" >&5
33801 sed 's/^/| /' conftest.
$ac_ext >&5
33803 wx_cv_func_statfs
=no
33806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33809 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
33810 echo "${ECHO_T}$wx_cv_func_statfs" >&6
33812 if test "$wx_cv_func_statfs" = "yes"; then
33816 ac_cpp
='$CXXCPP $CPPFLAGS'
33817 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33818 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33819 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33821 echo "$as_me:$LINENO: checking for statfs declaration" >&5
33822 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
33823 if test "${wx_cv_func_statfs_decl+set}" = set; then
33824 echo $ECHO_N "(cached) $ECHO_C" >&6
33826 cat >conftest.
$ac_ext <<_ACEOF
33829 cat confdefs.h
>>conftest.
$ac_ext
33830 cat >>conftest.
$ac_ext <<_ACEOF
33831 /* end confdefs.h. */
33833 #if defined(__BSD__)
33834 #include <sys/param.h>
33835 #include <sys/mount.h>
33837 #include <sys/vfs.h>
33851 rm -f conftest.
$ac_objext
33852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33853 (eval $ac_compile) 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" || test ! -s conftest.err'
33861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33862 (eval $ac_try) 2>&5
33864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33865 (exit $ac_status); }; } &&
33866 { ac_try
='test -s conftest.$ac_objext'
33867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33868 (eval $ac_try) 2>&5
33870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33871 (exit $ac_status); }; }; then
33872 wx_cv_func_statfs_decl
=yes
33874 echo "$as_me: failed program was:" >&5
33875 sed 's/^/| /' conftest.
$ac_ext >&5
33877 wx_cv_func_statfs_decl
=no
33880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33883 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
33884 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
33886 ac_cpp
='$CPP $CPPFLAGS'
33887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33892 if test "$wx_cv_func_statfs_decl" = "yes"; then
33893 cat >>confdefs.h
<<\_ACEOF
33894 #define HAVE_STATFS_DECL 1
33899 wx_cv_type_statvfs_t
="struct statfs"
33900 cat >>confdefs.h
<<\_ACEOF
33901 #define HAVE_STATFS 1
33905 echo "$as_me:$LINENO: checking for statvfs" >&5
33906 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
33907 if test "${wx_cv_func_statvfs+set}" = set; then
33908 echo $ECHO_N "(cached) $ECHO_C" >&6
33910 cat >conftest.
$ac_ext <<_ACEOF
33913 cat confdefs.h
>>conftest.
$ac_ext
33914 cat >>conftest.
$ac_ext <<_ACEOF
33915 /* end confdefs.h. */
33917 #include <stddef.h>
33918 #include <sys/statvfs.h>
33924 statvfs("/", NULL);
33930 rm -f conftest.
$ac_objext
33931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33932 (eval $ac_compile) 2>conftest.er1
33934 grep -v '^ *+' conftest.er1
>conftest.err
33936 cat conftest.err
>&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); } &&
33939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33941 (eval $ac_try) 2>&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); }; } &&
33945 { ac_try
='test -s conftest.$ac_objext'
33946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33947 (eval $ac_try) 2>&5
33949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950 (exit $ac_status); }; }; then
33951 wx_cv_func_statvfs
=yes
33953 echo "$as_me: failed program was:" >&5
33954 sed 's/^/| /' conftest.
$ac_ext >&5
33956 wx_cv_func_statvfs
=no
33959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33962 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
33963 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
33965 if test "$wx_cv_func_statvfs" = "yes"; then
33969 ac_cpp
='$CXXCPP $CPPFLAGS'
33970 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33971 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33972 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33975 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
33976 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
33977 if test "${wx_cv_type_statvfs_t+set}" = set; then
33978 echo $ECHO_N "(cached) $ECHO_C" >&6
33980 cat >conftest.
$ac_ext <<_ACEOF
33983 cat confdefs.h
>>conftest.
$ac_ext
33984 cat >>conftest.
$ac_ext <<_ACEOF
33985 /* end confdefs.h. */
33987 #include <sys/statvfs.h>
34004 rm -f conftest.
$ac_objext
34005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34006 (eval $ac_compile) 2>conftest.er1
34008 grep -v '^ *+' conftest.er1
>conftest.err
34010 cat conftest.err
>&5
34011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34012 (exit $ac_status); } &&
34013 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34015 (eval $ac_try) 2>&5
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); }; } &&
34019 { ac_try
='test -s conftest.$ac_objext'
34020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34021 (eval $ac_try) 2>&5
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); }; }; then
34025 wx_cv_type_statvfs_t
=statvfs_t
34027 echo "$as_me: failed program was:" >&5
34028 sed 's/^/| /' conftest.
$ac_ext >&5
34031 cat >conftest.
$ac_ext <<_ACEOF
34034 cat confdefs.h
>>conftest.
$ac_ext
34035 cat >>conftest.
$ac_ext <<_ACEOF
34036 /* end confdefs.h. */
34038 #include <sys/statvfs.h>
34055 rm -f conftest.
$ac_objext
34056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34057 (eval $ac_compile) 2>conftest.er1
34059 grep -v '^ *+' conftest.er1
>conftest.err
34061 cat conftest.err
>&5
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); } &&
34064 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34066 (eval $ac_try) 2>&5
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); }; } &&
34070 { ac_try
='test -s conftest.$ac_objext'
34071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34072 (eval $ac_try) 2>&5
34074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34075 (exit $ac_status); }; }; then
34076 wx_cv_type_statvfs_t
="struct statvfs"
34078 echo "$as_me: failed program was:" >&5
34079 sed 's/^/| /' conftest.
$ac_ext >&5
34081 wx_cv_type_statvfs_t
="unknown"
34084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34091 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34092 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34095 ac_cpp
='$CPP $CPPFLAGS'
34096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34101 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34102 cat >>confdefs.h
<<\_ACEOF
34103 #define HAVE_STATVFS 1
34108 wx_cv_type_statvfs_t
="unknown"
34112 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34113 cat >>confdefs.h
<<_ACEOF
34114 #define WX_STATFS_T $wx_cv_type_statvfs_t
34118 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
34119 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
34122 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34125 for ac_func
in fcntl flock
34127 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34128 echo "$as_me:$LINENO: checking for $ac_func" >&5
34129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34130 if eval "test \"\${$as_ac_var+set}\" = set"; then
34131 echo $ECHO_N "(cached) $ECHO_C" >&6
34133 cat >conftest.
$ac_ext <<_ACEOF
34136 cat confdefs.h
>>conftest.
$ac_ext
34137 cat >>conftest.
$ac_ext <<_ACEOF
34138 /* end confdefs.h. */
34139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34141 #define $ac_func innocuous_$ac_func
34143 /* System header to define __stub macros and hopefully few prototypes,
34144 which can conflict with char $ac_func (); below.
34145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34146 <limits.h> exists even on freestanding compilers. */
34149 # include <limits.h>
34151 # include <assert.h>
34156 /* Override any gcc2 internal prototype to avoid an error. */
34161 /* We use char because int might match the return type of a gcc2
34162 builtin and then its argument prototype would still apply. */
34164 /* The GNU C library defines this for functions which it implements
34165 to always fail with ENOSYS. Some functions are actually named
34166 something starting with __ and the normal name is an alias. */
34167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34170 char (*f) () = $ac_func;
34179 return f != $ac_func;
34184 rm -f conftest.
$ac_objext conftest
$ac_exeext
34185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34186 (eval $ac_link) 2>conftest.er1
34188 grep -v '^ *+' conftest.er1
>conftest.err
34190 cat conftest.err
>&5
34191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192 (exit $ac_status); } &&
34193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34195 (eval $ac_try) 2>&5
34197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34198 (exit $ac_status); }; } &&
34199 { ac_try
='test -s conftest$ac_exeext'
34200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34201 (eval $ac_try) 2>&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); }; }; then
34205 eval "$as_ac_var=yes"
34207 echo "$as_me: failed program was:" >&5
34208 sed 's/^/| /' conftest.
$ac_ext >&5
34210 eval "$as_ac_var=no"
34212 rm -f conftest.err conftest.
$ac_objext \
34213 conftest
$ac_exeext conftest.
$ac_ext
34215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34217 if test `eval echo '${'$as_ac_var'}'` = yes; then
34218 cat >>confdefs.h
<<_ACEOF
34219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34226 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
34227 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
34228 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
34229 wxUSE_SNGLINST_CHECKER
=no
34234 for ac_func
in timegm
34236 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34237 echo "$as_me:$LINENO: checking for $ac_func" >&5
34238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34239 if eval "test \"\${$as_ac_var+set}\" = set"; then
34240 echo $ECHO_N "(cached) $ECHO_C" >&6
34242 cat >conftest.
$ac_ext <<_ACEOF
34245 cat confdefs.h
>>conftest.
$ac_ext
34246 cat >>conftest.
$ac_ext <<_ACEOF
34247 /* end confdefs.h. */
34248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34250 #define $ac_func innocuous_$ac_func
34252 /* System header to define __stub macros and hopefully few prototypes,
34253 which can conflict with char $ac_func (); below.
34254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34255 <limits.h> exists even on freestanding compilers. */
34258 # include <limits.h>
34260 # include <assert.h>
34265 /* Override any gcc2 internal prototype to avoid an error. */
34270 /* We use char because int might match the return type of a gcc2
34271 builtin and then its argument prototype would still apply. */
34273 /* The GNU C library defines this for functions which it implements
34274 to always fail with ENOSYS. Some functions are actually named
34275 something starting with __ and the normal name is an alias. */
34276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34279 char (*f) () = $ac_func;
34288 return f != $ac_func;
34293 rm -f conftest.
$ac_objext conftest
$ac_exeext
34294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34295 (eval $ac_link) 2>conftest.er1
34297 grep -v '^ *+' conftest.er1
>conftest.err
34299 cat conftest.err
>&5
34300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34301 (exit $ac_status); } &&
34302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34304 (eval $ac_try) 2>&5
34306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34307 (exit $ac_status); }; } &&
34308 { ac_try
='test -s conftest$ac_exeext'
34309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34310 (eval $ac_try) 2>&5
34312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34313 (exit $ac_status); }; }; then
34314 eval "$as_ac_var=yes"
34316 echo "$as_me: failed program was:" >&5
34317 sed 's/^/| /' conftest.
$ac_ext >&5
34319 eval "$as_ac_var=no"
34321 rm -f conftest.err conftest.
$ac_objext \
34322 conftest
$ac_exeext conftest.
$ac_ext
34324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34326 if test `eval echo '${'$as_ac_var'}'` = yes; then
34327 cat >>confdefs.h
<<_ACEOF
34328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34337 for ac_func
in putenv setenv
34339 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34340 echo "$as_me:$LINENO: checking for $ac_func" >&5
34341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34342 if eval "test \"\${$as_ac_var+set}\" = set"; then
34343 echo $ECHO_N "(cached) $ECHO_C" >&6
34345 cat >conftest.
$ac_ext <<_ACEOF
34348 cat confdefs.h
>>conftest.
$ac_ext
34349 cat >>conftest.
$ac_ext <<_ACEOF
34350 /* end confdefs.h. */
34351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34353 #define $ac_func innocuous_$ac_func
34355 /* System header to define __stub macros and hopefully few prototypes,
34356 which can conflict with char $ac_func (); below.
34357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34358 <limits.h> exists even on freestanding compilers. */
34361 # include <limits.h>
34363 # include <assert.h>
34368 /* Override any gcc2 internal prototype to avoid an error. */
34373 /* We use char because int might match the return type of a gcc2
34374 builtin and then its argument prototype would still apply. */
34376 /* The GNU C library defines this for functions which it implements
34377 to always fail with ENOSYS. Some functions are actually named
34378 something starting with __ and the normal name is an alias. */
34379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34382 char (*f) () = $ac_func;
34391 return f != $ac_func;
34396 rm -f conftest.
$ac_objext conftest
$ac_exeext
34397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34398 (eval $ac_link) 2>conftest.er1
34400 grep -v '^ *+' conftest.er1
>conftest.err
34402 cat conftest.err
>&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); } &&
34405 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34407 (eval $ac_try) 2>&5
34409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34410 (exit $ac_status); }; } &&
34411 { ac_try
='test -s conftest$ac_exeext'
34412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34413 (eval $ac_try) 2>&5
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); }; }; then
34417 eval "$as_ac_var=yes"
34419 echo "$as_me: failed program was:" >&5
34420 sed 's/^/| /' conftest.
$ac_ext >&5
34422 eval "$as_ac_var=no"
34424 rm -f conftest.err conftest.
$ac_objext \
34425 conftest
$ac_exeext conftest.
$ac_ext
34427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34429 if test `eval echo '${'$as_ac_var'}'` = yes; then
34430 cat >>confdefs.h
<<_ACEOF
34431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34438 HAVE_SOME_SLEEP_FUNC
=0
34439 if test "$USE_BEOS" = 1; then
34440 cat >>confdefs.h
<<\_ACEOF
34441 #define HAVE_SLEEP 1
34444 HAVE_SOME_SLEEP_FUNC
=1
34447 if test "$USE_DARWIN" = 1; then
34448 cat >>confdefs.h
<<\_ACEOF
34449 #define HAVE_USLEEP 1
34452 HAVE_SOME_SLEEP_FUNC
=1
34455 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
34458 for ac_func
in nanosleep
34460 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34461 echo "$as_me:$LINENO: checking for $ac_func" >&5
34462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34463 if eval "test \"\${$as_ac_var+set}\" = set"; then
34464 echo $ECHO_N "(cached) $ECHO_C" >&6
34466 cat >conftest.
$ac_ext <<_ACEOF
34469 cat confdefs.h
>>conftest.
$ac_ext
34470 cat >>conftest.
$ac_ext <<_ACEOF
34471 /* end confdefs.h. */
34472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34474 #define $ac_func innocuous_$ac_func
34476 /* System header to define __stub macros and hopefully few prototypes,
34477 which can conflict with char $ac_func (); below.
34478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34479 <limits.h> exists even on freestanding compilers. */
34482 # include <limits.h>
34484 # include <assert.h>
34489 /* Override any gcc2 internal prototype to avoid an error. */
34494 /* We use char because int might match the return type of a gcc2
34495 builtin and then its argument prototype would still apply. */
34497 /* The GNU C library defines this for functions which it implements
34498 to always fail with ENOSYS. Some functions are actually named
34499 something starting with __ and the normal name is an alias. */
34500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34503 char (*f) () = $ac_func;
34512 return f != $ac_func;
34517 rm -f conftest.
$ac_objext conftest
$ac_exeext
34518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34519 (eval $ac_link) 2>conftest.er1
34521 grep -v '^ *+' conftest.er1
>conftest.err
34523 cat conftest.err
>&5
34524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34525 (exit $ac_status); } &&
34526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34528 (eval $ac_try) 2>&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); }; } &&
34532 { ac_try
='test -s conftest$ac_exeext'
34533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34534 (eval $ac_try) 2>&5
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); }; }; then
34538 eval "$as_ac_var=yes"
34540 echo "$as_me: failed program was:" >&5
34541 sed 's/^/| /' conftest.
$ac_ext >&5
34543 eval "$as_ac_var=no"
34545 rm -f conftest.err conftest.
$ac_objext \
34546 conftest
$ac_exeext conftest.
$ac_ext
34548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34550 if test `eval echo '${'$as_ac_var'}'` = yes; then
34551 cat >>confdefs.h
<<_ACEOF
34552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34554 cat >>confdefs.h
<<\_ACEOF
34555 #define HAVE_NANOSLEEP 1
34560 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
34561 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
34562 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
34563 echo $ECHO_N "(cached) $ECHO_C" >&6
34565 ac_check_lib_save_LIBS
=$LIBS
34566 LIBS
="-lposix4 $LIBS"
34567 cat >conftest.
$ac_ext <<_ACEOF
34570 cat confdefs.h
>>conftest.
$ac_ext
34571 cat >>conftest.
$ac_ext <<_ACEOF
34572 /* end confdefs.h. */
34574 /* Override any gcc2 internal prototype to avoid an error. */
34578 /* We use char because int might match the return type of a gcc2
34579 builtin and then its argument prototype would still apply. */
34589 rm -f conftest.
$ac_objext conftest
$ac_exeext
34590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34591 (eval $ac_link) 2>conftest.er1
34593 grep -v '^ *+' conftest.er1
>conftest.err
34595 cat conftest.err
>&5
34596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34597 (exit $ac_status); } &&
34598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34600 (eval $ac_try) 2>&5
34602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34603 (exit $ac_status); }; } &&
34604 { ac_try
='test -s conftest$ac_exeext'
34605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34606 (eval $ac_try) 2>&5
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); }; }; then
34610 ac_cv_lib_posix4_nanosleep
=yes
34612 echo "$as_me: failed program was:" >&5
34613 sed 's/^/| /' conftest.
$ac_ext >&5
34615 ac_cv_lib_posix4_nanosleep
=no
34617 rm -f conftest.err conftest.
$ac_objext \
34618 conftest
$ac_exeext conftest.
$ac_ext
34619 LIBS
=$ac_check_lib_save_LIBS
34621 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
34622 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
34623 if test $ac_cv_lib_posix4_nanosleep = yes; then
34625 cat >>confdefs.h
<<\_ACEOF
34626 #define HAVE_NANOSLEEP 1
34629 POSIX4_LINK
=" -lposix4"
34634 for ac_func
in usleep
34636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34637 echo "$as_me:$LINENO: checking for $ac_func" >&5
34638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34639 if eval "test \"\${$as_ac_var+set}\" = set"; then
34640 echo $ECHO_N "(cached) $ECHO_C" >&6
34642 cat >conftest.
$ac_ext <<_ACEOF
34645 cat confdefs.h
>>conftest.
$ac_ext
34646 cat >>conftest.
$ac_ext <<_ACEOF
34647 /* end confdefs.h. */
34648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34650 #define $ac_func innocuous_$ac_func
34652 /* System header to define __stub macros and hopefully few prototypes,
34653 which can conflict with char $ac_func (); below.
34654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34655 <limits.h> exists even on freestanding compilers. */
34658 # include <limits.h>
34660 # include <assert.h>
34665 /* Override any gcc2 internal prototype to avoid an error. */
34670 /* We use char because int might match the return type of a gcc2
34671 builtin and then its argument prototype would still apply. */
34673 /* The GNU C library defines this for functions which it implements
34674 to always fail with ENOSYS. Some functions are actually named
34675 something starting with __ and the normal name is an alias. */
34676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34679 char (*f) () = $ac_func;
34688 return f != $ac_func;
34693 rm -f conftest.
$ac_objext conftest
$ac_exeext
34694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34695 (eval $ac_link) 2>conftest.er1
34697 grep -v '^ *+' conftest.er1
>conftest.err
34699 cat conftest.err
>&5
34700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34701 (exit $ac_status); } &&
34702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34704 (eval $ac_try) 2>&5
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); }; } &&
34708 { ac_try
='test -s conftest$ac_exeext'
34709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34710 (eval $ac_try) 2>&5
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); }; }; then
34714 eval "$as_ac_var=yes"
34716 echo "$as_me: failed program was:" >&5
34717 sed 's/^/| /' conftest.
$ac_ext >&5
34719 eval "$as_ac_var=no"
34721 rm -f conftest.err conftest.
$ac_objext \
34722 conftest
$ac_exeext conftest.
$ac_ext
34724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34726 if test `eval echo '${'$as_ac_var'}'` = yes; then
34727 cat >>confdefs.h
<<_ACEOF
34728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34730 cat >>confdefs.h
<<\_ACEOF
34731 #define HAVE_USLEEP 1
34735 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
34736 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
34754 for ac_func
in uname gethostname
34756 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34757 echo "$as_me:$LINENO: checking for $ac_func" >&5
34758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34759 if eval "test \"\${$as_ac_var+set}\" = set"; then
34760 echo $ECHO_N "(cached) $ECHO_C" >&6
34762 cat >conftest.
$ac_ext <<_ACEOF
34765 cat confdefs.h
>>conftest.
$ac_ext
34766 cat >>conftest.
$ac_ext <<_ACEOF
34767 /* end confdefs.h. */
34768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34770 #define $ac_func innocuous_$ac_func
34772 /* System header to define __stub macros and hopefully few prototypes,
34773 which can conflict with char $ac_func (); below.
34774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34775 <limits.h> exists even on freestanding compilers. */
34778 # include <limits.h>
34780 # include <assert.h>
34785 /* Override any gcc2 internal prototype to avoid an error. */
34790 /* We use char because int might match the return type of a gcc2
34791 builtin and then its argument prototype would still apply. */
34793 /* The GNU C library defines this for functions which it implements
34794 to always fail with ENOSYS. Some functions are actually named
34795 something starting with __ and the normal name is an alias. */
34796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34799 char (*f) () = $ac_func;
34808 return f != $ac_func;
34813 rm -f conftest.
$ac_objext conftest
$ac_exeext
34814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34815 (eval $ac_link) 2>conftest.er1
34817 grep -v '^ *+' conftest.er1
>conftest.err
34819 cat conftest.err
>&5
34820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821 (exit $ac_status); } &&
34822 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34824 (eval $ac_try) 2>&5
34826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34827 (exit $ac_status); }; } &&
34828 { ac_try
='test -s conftest$ac_exeext'
34829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34830 (eval $ac_try) 2>&5
34832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34833 (exit $ac_status); }; }; then
34834 eval "$as_ac_var=yes"
34836 echo "$as_me: failed program was:" >&5
34837 sed 's/^/| /' conftest.
$ac_ext >&5
34839 eval "$as_ac_var=no"
34841 rm -f conftest.err conftest.
$ac_objext \
34842 conftest
$ac_exeext conftest.
$ac_ext
34844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34846 if test `eval echo '${'$as_ac_var'}'` = yes; then
34847 cat >>confdefs.h
<<_ACEOF
34848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34858 ac_cpp
='$CXXCPP $CPPFLAGS'
34859 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34860 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34861 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34865 for ac_func
in strtok_r
34867 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34868 echo "$as_me:$LINENO: checking for $ac_func" >&5
34869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34870 if eval "test \"\${$as_ac_var+set}\" = set"; then
34871 echo $ECHO_N "(cached) $ECHO_C" >&6
34873 cat >conftest.
$ac_ext <<_ACEOF
34876 cat confdefs.h
>>conftest.
$ac_ext
34877 cat >>conftest.
$ac_ext <<_ACEOF
34878 /* end confdefs.h. */
34879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34881 #define $ac_func innocuous_$ac_func
34883 /* System header to define __stub macros and hopefully few prototypes,
34884 which can conflict with char $ac_func (); below.
34885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34886 <limits.h> exists even on freestanding compilers. */
34889 # include <limits.h>
34891 # include <assert.h>
34896 /* Override any gcc2 internal prototype to avoid an error. */
34901 /* We use char because int might match the return type of a gcc2
34902 builtin and then its argument prototype would still apply. */
34904 /* The GNU C library defines this for functions which it implements
34905 to always fail with ENOSYS. Some functions are actually named
34906 something starting with __ and the normal name is an alias. */
34907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34910 char (*f) () = $ac_func;
34919 return f != $ac_func;
34924 rm -f conftest.
$ac_objext conftest
$ac_exeext
34925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34926 (eval $ac_link) 2>conftest.er1
34928 grep -v '^ *+' conftest.er1
>conftest.err
34930 cat conftest.err
>&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); } &&
34933 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34935 (eval $ac_try) 2>&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); }; } &&
34939 { ac_try
='test -s conftest$ac_exeext'
34940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34941 (eval $ac_try) 2>&5
34943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34944 (exit $ac_status); }; }; then
34945 eval "$as_ac_var=yes"
34947 echo "$as_me: failed program was:" >&5
34948 sed 's/^/| /' conftest.
$ac_ext >&5
34950 eval "$as_ac_var=no"
34952 rm -f conftest.err conftest.
$ac_objext \
34953 conftest
$ac_exeext conftest.
$ac_ext
34955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34957 if test `eval echo '${'$as_ac_var'}'` = yes; then
34958 cat >>confdefs.h
<<_ACEOF
34959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34967 ac_cpp
='$CPP $CPPFLAGS'
34968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34975 for ac_func
in inet_addr
34977 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34978 echo "$as_me:$LINENO: checking for $ac_func" >&5
34979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34980 if eval "test \"\${$as_ac_var+set}\" = set"; then
34981 echo $ECHO_N "(cached) $ECHO_C" >&6
34983 cat >conftest.
$ac_ext <<_ACEOF
34986 cat confdefs.h
>>conftest.
$ac_ext
34987 cat >>conftest.
$ac_ext <<_ACEOF
34988 /* end confdefs.h. */
34989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34991 #define $ac_func innocuous_$ac_func
34993 /* System header to define __stub macros and hopefully few prototypes,
34994 which can conflict with char $ac_func (); below.
34995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34996 <limits.h> exists even on freestanding compilers. */
34999 # include <limits.h>
35001 # include <assert.h>
35006 /* Override any gcc2 internal prototype to avoid an error. */
35011 /* We use char because int might match the return type of a gcc2
35012 builtin and then its argument prototype would still apply. */
35014 /* The GNU C library defines this for functions which it implements
35015 to always fail with ENOSYS. Some functions are actually named
35016 something starting with __ and the normal name is an alias. */
35017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35020 char (*f) () = $ac_func;
35029 return f != $ac_func;
35034 rm -f conftest.
$ac_objext conftest
$ac_exeext
35035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35036 (eval $ac_link) 2>conftest.er1
35038 grep -v '^ *+' conftest.er1
>conftest.err
35040 cat conftest.err
>&5
35041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35042 (exit $ac_status); } &&
35043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35045 (eval $ac_try) 2>&5
35047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35048 (exit $ac_status); }; } &&
35049 { ac_try
='test -s conftest$ac_exeext'
35050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35051 (eval $ac_try) 2>&5
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); }; }; then
35055 eval "$as_ac_var=yes"
35057 echo "$as_me: failed program was:" >&5
35058 sed 's/^/| /' conftest.
$ac_ext >&5
35060 eval "$as_ac_var=no"
35062 rm -f conftest.err conftest.
$ac_objext \
35063 conftest
$ac_exeext conftest.
$ac_ext
35065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35067 if test `eval echo '${'$as_ac_var'}'` = yes; then
35068 cat >>confdefs.h
<<_ACEOF
35069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35071 cat >>confdefs.h
<<\_ACEOF
35072 #define HAVE_INET_ADDR 1
35077 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35078 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35079 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35080 echo $ECHO_N "(cached) $ECHO_C" >&6
35082 ac_check_lib_save_LIBS
=$LIBS
35084 cat >conftest.
$ac_ext <<_ACEOF
35087 cat confdefs.h
>>conftest.
$ac_ext
35088 cat >>conftest.
$ac_ext <<_ACEOF
35089 /* end confdefs.h. */
35091 /* Override any gcc2 internal prototype to avoid an error. */
35095 /* We use char because int might match the return type of a gcc2
35096 builtin and then its argument prototype would still apply. */
35106 rm -f conftest.
$ac_objext conftest
$ac_exeext
35107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35108 (eval $ac_link) 2>conftest.er1
35110 grep -v '^ *+' conftest.er1
>conftest.err
35112 cat conftest.err
>&5
35113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35114 (exit $ac_status); } &&
35115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35117 (eval $ac_try) 2>&5
35119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35120 (exit $ac_status); }; } &&
35121 { ac_try
='test -s conftest$ac_exeext'
35122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35123 (eval $ac_try) 2>&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); }; }; then
35127 ac_cv_lib_nsl_inet_addr
=yes
35129 echo "$as_me: failed program was:" >&5
35130 sed 's/^/| /' conftest.
$ac_ext >&5
35132 ac_cv_lib_nsl_inet_addr
=no
35134 rm -f conftest.err conftest.
$ac_objext \
35135 conftest
$ac_exeext conftest.
$ac_ext
35136 LIBS
=$ac_check_lib_save_LIBS
35138 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
35139 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
35140 if test $ac_cv_lib_nsl_inet_addr = yes; then
35144 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
35145 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
35146 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
35147 echo $ECHO_N "(cached) $ECHO_C" >&6
35149 ac_check_lib_save_LIBS
=$LIBS
35150 LIBS
="-lresolv $LIBS"
35151 cat >conftest.
$ac_ext <<_ACEOF
35154 cat confdefs.h
>>conftest.
$ac_ext
35155 cat >>conftest.
$ac_ext <<_ACEOF
35156 /* end confdefs.h. */
35158 /* Override any gcc2 internal prototype to avoid an error. */
35162 /* We use char because int might match the return type of a gcc2
35163 builtin and then its argument prototype would still apply. */
35173 rm -f conftest.
$ac_objext conftest
$ac_exeext
35174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35175 (eval $ac_link) 2>conftest.er1
35177 grep -v '^ *+' conftest.er1
>conftest.err
35179 cat conftest.err
>&5
35180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181 (exit $ac_status); } &&
35182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35184 (eval $ac_try) 2>&5
35186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187 (exit $ac_status); }; } &&
35188 { ac_try
='test -s conftest$ac_exeext'
35189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35190 (eval $ac_try) 2>&5
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); }; }; then
35194 ac_cv_lib_resolv_inet_addr
=yes
35196 echo "$as_me: failed program was:" >&5
35197 sed 's/^/| /' conftest.
$ac_ext >&5
35199 ac_cv_lib_resolv_inet_addr
=no
35201 rm -f conftest.err conftest.
$ac_objext \
35202 conftest
$ac_exeext conftest.
$ac_ext
35203 LIBS
=$ac_check_lib_save_LIBS
35205 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
35206 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
35207 if test $ac_cv_lib_resolv_inet_addr = yes; then
35211 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
35212 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
35213 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
35214 echo $ECHO_N "(cached) $ECHO_C" >&6
35216 ac_check_lib_save_LIBS
=$LIBS
35217 LIBS
="-lsocket $LIBS"
35218 cat >conftest.
$ac_ext <<_ACEOF
35221 cat confdefs.h
>>conftest.
$ac_ext
35222 cat >>conftest.
$ac_ext <<_ACEOF
35223 /* end confdefs.h. */
35225 /* Override any gcc2 internal prototype to avoid an error. */
35229 /* We use char because int might match the return type of a gcc2
35230 builtin and then its argument prototype would still apply. */
35240 rm -f conftest.
$ac_objext conftest
$ac_exeext
35241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35242 (eval $ac_link) 2>conftest.er1
35244 grep -v '^ *+' conftest.er1
>conftest.err
35246 cat conftest.err
>&5
35247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35248 (exit $ac_status); } &&
35249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35251 (eval $ac_try) 2>&5
35253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35254 (exit $ac_status); }; } &&
35255 { ac_try
='test -s conftest$ac_exeext'
35256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35257 (eval $ac_try) 2>&5
35259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35260 (exit $ac_status); }; }; then
35261 ac_cv_lib_socket_inet_addr
=yes
35263 echo "$as_me: failed program was:" >&5
35264 sed 's/^/| /' conftest.
$ac_ext >&5
35266 ac_cv_lib_socket_inet_addr
=no
35268 rm -f conftest.err conftest.
$ac_objext \
35269 conftest
$ac_exeext conftest.
$ac_ext
35270 LIBS
=$ac_check_lib_save_LIBS
35272 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
35273 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
35274 if test $ac_cv_lib_socket_inet_addr = yes; then
35294 for ac_func
in inet_aton
35296 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35297 echo "$as_me:$LINENO: checking for $ac_func" >&5
35298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35299 if eval "test \"\${$as_ac_var+set}\" = set"; then
35300 echo $ECHO_N "(cached) $ECHO_C" >&6
35302 cat >conftest.
$ac_ext <<_ACEOF
35305 cat confdefs.h
>>conftest.
$ac_ext
35306 cat >>conftest.
$ac_ext <<_ACEOF
35307 /* end confdefs.h. */
35308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35310 #define $ac_func innocuous_$ac_func
35312 /* System header to define __stub macros and hopefully few prototypes,
35313 which can conflict with char $ac_func (); below.
35314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35315 <limits.h> exists even on freestanding compilers. */
35318 # include <limits.h>
35320 # include <assert.h>
35325 /* Override any gcc2 internal prototype to avoid an error. */
35330 /* We use char because int might match the return type of a gcc2
35331 builtin and then its argument prototype would still apply. */
35333 /* The GNU C library defines this for functions which it implements
35334 to always fail with ENOSYS. Some functions are actually named
35335 something starting with __ and the normal name is an alias. */
35336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35339 char (*f) () = $ac_func;
35348 return f != $ac_func;
35353 rm -f conftest.
$ac_objext conftest
$ac_exeext
35354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35355 (eval $ac_link) 2>conftest.er1
35357 grep -v '^ *+' conftest.er1
>conftest.err
35359 cat conftest.err
>&5
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); } &&
35362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35364 (eval $ac_try) 2>&5
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); }; } &&
35368 { ac_try
='test -s conftest$ac_exeext'
35369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35370 (eval $ac_try) 2>&5
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); }; }; then
35374 eval "$as_ac_var=yes"
35376 echo "$as_me: failed program was:" >&5
35377 sed 's/^/| /' conftest.
$ac_ext >&5
35379 eval "$as_ac_var=no"
35381 rm -f conftest.err conftest.
$ac_objext \
35382 conftest
$ac_exeext conftest.
$ac_ext
35384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35386 if test `eval echo '${'$as_ac_var'}'` = yes; then
35387 cat >>confdefs.h
<<_ACEOF
35388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35390 cat >>confdefs.h
<<\_ACEOF
35391 #define HAVE_INET_ATON 1
35396 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
35397 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
35398 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
35399 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35402 ac_check_lib_save_LIBS
=$LIBS
35403 LIBS
="-l$INET_LINK $LIBS"
35404 cat >conftest.
$ac_ext <<_ACEOF
35407 cat confdefs.h
>>conftest.
$ac_ext
35408 cat >>conftest.
$ac_ext <<_ACEOF
35409 /* end confdefs.h. */
35411 /* Override any gcc2 internal prototype to avoid an error. */
35415 /* We use char because int might match the return type of a gcc2
35416 builtin and then its argument prototype would still apply. */
35426 rm -f conftest.
$ac_objext conftest
$ac_exeext
35427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35428 (eval $ac_link) 2>conftest.er1
35430 grep -v '^ *+' conftest.er1
>conftest.err
35432 cat conftest.err
>&5
35433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35434 (exit $ac_status); } &&
35435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35437 (eval $ac_try) 2>&5
35439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35440 (exit $ac_status); }; } &&
35441 { ac_try
='test -s conftest$ac_exeext'
35442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35443 (eval $ac_try) 2>&5
35445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35446 (exit $ac_status); }; }; then
35447 eval "$as_ac_Lib=yes"
35449 echo "$as_me: failed program was:" >&5
35450 sed 's/^/| /' conftest.
$ac_ext >&5
35452 eval "$as_ac_Lib=no"
35454 rm -f conftest.err conftest.
$ac_objext \
35455 conftest
$ac_exeext conftest.
$ac_ext
35456 LIBS
=$ac_check_lib_save_LIBS
35458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
35459 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
35460 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
35461 cat >>confdefs.h
<<\_ACEOF
35462 #define HAVE_INET_ATON 1
35472 if test "x$INET_LINK" != "x"; then
35473 cat >>confdefs.h
<<\_ACEOF
35474 #define HAVE_INET_ADDR 1
35477 INET_LINK
=" -l$INET_LINK"
35485 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
35486 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
35487 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
35488 echo $ECHO_N "(cached) $ECHO_C" >&6
35490 ac_check_lib_save_LIBS
=$LIBS
35492 cat >conftest.
$ac_ext <<_ACEOF
35495 cat confdefs.h
>>conftest.
$ac_ext
35496 cat >>conftest.
$ac_ext <<_ACEOF
35497 /* end confdefs.h. */
35499 /* Override any gcc2 internal prototype to avoid an error. */
35503 /* We use char because int might match the return type of a gcc2
35504 builtin and then its argument prototype would still apply. */
35514 rm -f conftest.
$ac_objext conftest
$ac_exeext
35515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35516 (eval $ac_link) 2>conftest.er1
35518 grep -v '^ *+' conftest.er1
>conftest.err
35520 cat conftest.err
>&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); } &&
35523 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35525 (eval $ac_try) 2>&5
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); }; } &&
35529 { ac_try
='test -s conftest$ac_exeext'
35530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35531 (eval $ac_try) 2>&5
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); }; }; then
35535 ac_cv_lib_esd_esd_close
=yes
35537 echo "$as_me: failed program was:" >&5
35538 sed 's/^/| /' conftest.
$ac_ext >&5
35540 ac_cv_lib_esd_esd_close
=no
35542 rm -f conftest.err conftest.
$ac_objext \
35543 conftest
$ac_exeext conftest.
$ac_ext
35544 LIBS
=$ac_check_lib_save_LIBS
35546 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
35547 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
35548 if test $ac_cv_lib_esd_esd_close = yes; then
35551 for ac_header
in esd.h
35553 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35555 echo "$as_me:$LINENO: checking for $ac_header" >&5
35556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35563 # Is the header compilable?
35564 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35565 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35566 cat >conftest.
$ac_ext <<_ACEOF
35569 cat confdefs.h
>>conftest.
$ac_ext
35570 cat >>conftest.
$ac_ext <<_ACEOF
35571 /* end confdefs.h. */
35572 $ac_includes_default
35573 #include <$ac_header>
35575 rm -f conftest.
$ac_objext
35576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35577 (eval $ac_compile) 2>conftest.er1
35579 grep -v '^ *+' conftest.er1
>conftest.err
35581 cat conftest.err
>&5
35582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35583 (exit $ac_status); } &&
35584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35586 (eval $ac_try) 2>&5
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); }; } &&
35590 { ac_try
='test -s conftest.$ac_objext'
35591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35592 (eval $ac_try) 2>&5
35594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35595 (exit $ac_status); }; }; then
35596 ac_header_compiler
=yes
35598 echo "$as_me: failed program was:" >&5
35599 sed 's/^/| /' conftest.
$ac_ext >&5
35601 ac_header_compiler
=no
35603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35604 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35605 echo "${ECHO_T}$ac_header_compiler" >&6
35607 # Is the header present?
35608 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35609 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35610 cat >conftest.
$ac_ext <<_ACEOF
35613 cat confdefs.h
>>conftest.
$ac_ext
35614 cat >>conftest.
$ac_ext <<_ACEOF
35615 /* end confdefs.h. */
35616 #include <$ac_header>
35618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35619 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35621 grep -v '^ *+' conftest.er1
>conftest.err
35623 cat conftest.err
>&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); } >/dev
/null
; then
35626 if test -s conftest.err
; then
35627 ac_cpp_err
=$ac_c_preproc_warn_flag
35628 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35635 if test -z "$ac_cpp_err"; then
35636 ac_header_preproc
=yes
35638 echo "$as_me: failed program was:" >&5
35639 sed 's/^/| /' conftest.
$ac_ext >&5
35641 ac_header_preproc
=no
35643 rm -f conftest.err conftest.
$ac_ext
35644 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35645 echo "${ECHO_T}$ac_header_preproc" >&6
35647 # So? What about this header?
35648 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35650 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35651 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35652 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35653 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35654 ac_header_preproc
=yes
35657 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35658 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35659 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35660 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35661 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35662 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35663 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35664 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35666 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35667 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35668 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35671 ## ----------------------------------------- ##
35672 ## Report this to wx-dev@lists.wxwidgets.org ##
35673 ## ----------------------------------------- ##
35676 sed "s/^/$as_me: WARNING: /" >&2
35679 echo "$as_me:$LINENO: checking for $ac_header" >&5
35680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35682 echo $ECHO_N "(cached) $ECHO_C" >&6
35684 eval "$as_ac_Header=\$ac_header_preproc"
35686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35691 cat >>confdefs.h
<<_ACEOF
35692 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35695 EXTRALIBS_ESD
="-lesd"
35706 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
35707 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
35708 cat >conftest.
$ac_ext <<_ACEOF
35711 cat confdefs.h
>>conftest.
$ac_ext
35712 cat >>conftest.
$ac_ext <<_ACEOF
35713 /* end confdefs.h. */
35715 #include <linux/cdrom.h>
35718 #include <sys/cdio.h>
35724 struct cdrom_tocentry entry, old_entry;
35729 rm -f conftest.
$ac_objext
35730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35731 (eval $ac_compile) 2>conftest.er1
35733 grep -v '^ *+' conftest.er1
>conftest.err
35735 cat conftest.err
>&5
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); } &&
35738 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35740 (eval $ac_try) 2>&5
35742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 (exit $ac_status); }; } &&
35744 { ac_try
='test -s conftest.$ac_objext'
35745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35746 (eval $ac_try) 2>&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); }; }; then
35750 echo "$as_me:$LINENO: result: yes" >&5
35751 echo "${ECHO_T}yes" >&6
35752 cat >>confdefs.h
<<\_ACEOF
35753 #define HAVE_KNOWN_CDROM_INTERFACE 1
35757 echo "$as_me: failed program was:" >&5
35758 sed 's/^/| /' conftest.
$ac_ext >&5
35760 echo "$as_me:$LINENO: result: no" >&5
35761 echo "${ECHO_T}no" >&6
35763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35766 cat >confcache
<<\_ACEOF
35767 # This file is a shell script that caches the results of configure
35768 # tests run on this system so they can be shared between configure
35769 # scripts and configure runs, see configure's option --config-cache.
35770 # It is not useful on other systems. If it contains results you don't
35771 # want to keep, you may remove or edit it.
35773 # config.status only pays attention to the cache file if you give it
35774 # the --recheck option to rerun configure.
35776 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35777 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35778 # following values.
35782 # The following way of writing the cache mishandles newlines in values,
35783 # but we know of no workaround that is simple, portable, and efficient.
35784 # So, don't put newlines in cache variables' values.
35785 # Ultrix sh set writes to stderr and can't be redirected directly,
35786 # and sets the high bit in the cache file unless we assign to the vars.
35789 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35791 # `set' does not quote correctly, so add quotes (double-quote
35792 # substitution turns \\\\ into \\, and sed turns \\ into \).
35795 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35798 # `set' quotes correctly as required by POSIX, so do not add quotes.
35800 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35807 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35809 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35811 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35812 if test -w $cache_file; then
35813 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35814 cat confcache
>$cache_file
35816 echo "not updating unwritable cache $cache_file"
35823 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35829 if test "$wxUSE_THREADS" = "yes" ; then
35830 if test "$USE_BEOS" = 1; then
35831 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
35832 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
35837 if test "$wxUSE_THREADS" = "yes" ; then
35840 THREAD_OPTS
="-pthread"
35842 *-*-solaris2* | *-*-sunos4* )
35843 if test "x$GCC" = "xyes"; then
35844 THREAD_OPTS
="-pthreads $THREAD_OPTS"
35846 THREAD_OPTS
="-mt $THREAD_OPTS"
35850 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
35852 *-*-darwin* | *-*-cygwin* )
35856 THREAD_OPTS
="pthreads"
35859 if test "x$GCC" = "xyes"; then
35860 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
35868 if test "x$GCC" = "xyes"; then
35874 if test "x$GCC" != "xyes"; then
35875 THREAD_OPTS
="-Ethread"
35880 THREAD_OPTS
="$THREAD_OPTS pthread none"
35883 for flag
in $THREAD_OPTS; do
35886 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
35887 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
35891 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
35892 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
35893 THREADS_CFLAGS
="$flag"
35897 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
35898 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
35899 THREADS_LINK
="-l$flag"
35904 save_CFLAGS
="$CFLAGS"
35905 LIBS
="$THREADS_LINK $LIBS"
35906 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
35908 cat >conftest.
$ac_ext <<_ACEOF
35911 cat confdefs.h
>>conftest.
$ac_ext
35912 cat >>conftest.
$ac_ext <<_ACEOF
35913 /* end confdefs.h. */
35914 #include <pthread.h>
35918 pthread_create(0,0,0,0);
35923 rm -f conftest.
$ac_objext conftest
$ac_exeext
35924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35925 (eval $ac_link) 2>conftest.er1
35927 grep -v '^ *+' conftest.er1
>conftest.err
35929 cat conftest.err
>&5
35930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35931 (exit $ac_status); } &&
35932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35934 (eval $ac_try) 2>&5
35936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937 (exit $ac_status); }; } &&
35938 { ac_try
='test -s conftest$ac_exeext'
35939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35940 (eval $ac_try) 2>&5
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); }; }; then
35946 echo "$as_me: failed program was:" >&5
35947 sed 's/^/| /' conftest.
$ac_ext >&5
35950 rm -f conftest.err conftest.
$ac_objext \
35951 conftest
$ac_exeext conftest.
$ac_ext
35954 CFLAGS
="$save_CFLAGS"
35956 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
35957 echo "${ECHO_T}$THREADS_OK" >&6
35958 if test "x$THREADS_OK" = "xyes"; then
35966 if test "x$THREADS_OK" != "xyes"; then
35968 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
35969 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
35971 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
35972 LIBS
="$THREADS_LINK $LIBS"
35974 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
35975 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
35979 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
35980 flag
="-D_THREAD_SAFE"
35983 flag
="-D_THREAD_SAFE"
35986 flag
="-D_REENTRANT"
35987 if test "x$GCC" != "xyes"; then
35988 flag
="$flag -D_RWSTD_MULTI_THREAD"
35991 *solaris
* | alpha
*-osf*)
35992 flag
="-D_REENTRANT"
35995 echo "$as_me:$LINENO: result: ${flag}" >&5
35996 echo "${ECHO_T}${flag}" >&6
35997 if test "x$flag" != xno
; then
35998 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
36001 if test "x$THREADS_CFLAGS" != "x"; then
36002 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
36003 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
36008 if test "$wxUSE_THREADS" = "yes" ; then
36010 for ac_func
in thr_setconcurrency
36012 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36013 echo "$as_me:$LINENO: checking for $ac_func" >&5
36014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36015 if eval "test \"\${$as_ac_var+set}\" = set"; then
36016 echo $ECHO_N "(cached) $ECHO_C" >&6
36018 cat >conftest.
$ac_ext <<_ACEOF
36021 cat confdefs.h
>>conftest.
$ac_ext
36022 cat >>conftest.
$ac_ext <<_ACEOF
36023 /* end confdefs.h. */
36024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36026 #define $ac_func innocuous_$ac_func
36028 /* System header to define __stub macros and hopefully few prototypes,
36029 which can conflict with char $ac_func (); below.
36030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36031 <limits.h> exists even on freestanding compilers. */
36034 # include <limits.h>
36036 # include <assert.h>
36041 /* Override any gcc2 internal prototype to avoid an error. */
36046 /* We use char because int might match the return type of a gcc2
36047 builtin and then its argument prototype would still apply. */
36049 /* The GNU C library defines this for functions which it implements
36050 to always fail with ENOSYS. Some functions are actually named
36051 something starting with __ and the normal name is an alias. */
36052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36055 char (*f) () = $ac_func;
36064 return f != $ac_func;
36069 rm -f conftest.
$ac_objext conftest
$ac_exeext
36070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36071 (eval $ac_link) 2>conftest.er1
36073 grep -v '^ *+' conftest.er1
>conftest.err
36075 cat conftest.err
>&5
36076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36077 (exit $ac_status); } &&
36078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36080 (eval $ac_try) 2>&5
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); }; } &&
36084 { ac_try
='test -s conftest$ac_exeext'
36085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36086 (eval $ac_try) 2>&5
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); }; }; then
36090 eval "$as_ac_var=yes"
36092 echo "$as_me: failed program was:" >&5
36093 sed 's/^/| /' conftest.
$ac_ext >&5
36095 eval "$as_ac_var=no"
36097 rm -f conftest.err conftest.
$ac_objext \
36098 conftest
$ac_exeext conftest.
$ac_ext
36100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36102 if test `eval echo '${'$as_ac_var'}'` = yes; then
36103 cat >>confdefs.h
<<_ACEOF
36104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36111 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
36112 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
36113 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
36114 echo $ECHO_N "(cached) $ECHO_C" >&6
36117 cat >conftest.
$ac_ext <<_ACEOF
36120 cat confdefs.h
>>conftest.
$ac_ext
36121 cat >>conftest.
$ac_ext <<_ACEOF
36122 /* end confdefs.h. */
36123 #include <pthread.h>
36124 void ThreadCleanupFunc(void *p);
36131 pthread_cleanup_push(ThreadCleanupFunc, p);
36132 pthread_cleanup_pop(0);
36138 rm -f conftest.
$ac_objext
36139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36140 (eval $ac_compile) 2>conftest.er1
36142 grep -v '^ *+' conftest.er1
>conftest.err
36144 cat conftest.err
>&5
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); } &&
36147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36149 (eval $ac_try) 2>&5
36151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36152 (exit $ac_status); }; } &&
36153 { ac_try
='test -s conftest.$ac_objext'
36154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36155 (eval $ac_try) 2>&5
36157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158 (exit $ac_status); }; }; then
36160 wx_cv_func_pthread_cleanup
=yes
36163 echo "$as_me: failed program was:" >&5
36164 sed 's/^/| /' conftest.
$ac_ext >&5
36167 wx_cv_func_pthread_cleanup
=no
36171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36174 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
36175 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
36176 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
36177 cat >>confdefs.h
<<\_ACEOF
36178 #define wxHAVE_PTHREAD_CLEANUP 1
36184 for ac_header
in sched.h
36186 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36188 echo "$as_me:$LINENO: checking for $ac_header" >&5
36189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36191 echo $ECHO_N "(cached) $ECHO_C" >&6
36193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36196 # Is the header compilable?
36197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36199 cat >conftest.
$ac_ext <<_ACEOF
36202 cat confdefs.h
>>conftest.
$ac_ext
36203 cat >>conftest.
$ac_ext <<_ACEOF
36204 /* end confdefs.h. */
36205 $ac_includes_default
36206 #include <$ac_header>
36208 rm -f conftest.
$ac_objext
36209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36210 (eval $ac_compile) 2>conftest.er1
36212 grep -v '^ *+' conftest.er1
>conftest.err
36214 cat conftest.err
>&5
36215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36216 (exit $ac_status); } &&
36217 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36219 (eval $ac_try) 2>&5
36221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36222 (exit $ac_status); }; } &&
36223 { ac_try
='test -s conftest.$ac_objext'
36224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36225 (eval $ac_try) 2>&5
36227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36228 (exit $ac_status); }; }; then
36229 ac_header_compiler
=yes
36231 echo "$as_me: failed program was:" >&5
36232 sed 's/^/| /' conftest.
$ac_ext >&5
36234 ac_header_compiler
=no
36236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36237 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36238 echo "${ECHO_T}$ac_header_compiler" >&6
36240 # Is the header present?
36241 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36242 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36243 cat >conftest.
$ac_ext <<_ACEOF
36246 cat confdefs.h
>>conftest.
$ac_ext
36247 cat >>conftest.
$ac_ext <<_ACEOF
36248 /* end confdefs.h. */
36249 #include <$ac_header>
36251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36252 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36254 grep -v '^ *+' conftest.er1
>conftest.err
36256 cat conftest.err
>&5
36257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36258 (exit $ac_status); } >/dev
/null
; then
36259 if test -s conftest.err
; then
36260 ac_cpp_err
=$ac_c_preproc_warn_flag
36261 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36268 if test -z "$ac_cpp_err"; then
36269 ac_header_preproc
=yes
36271 echo "$as_me: failed program was:" >&5
36272 sed 's/^/| /' conftest.
$ac_ext >&5
36274 ac_header_preproc
=no
36276 rm -f conftest.err conftest.
$ac_ext
36277 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36278 echo "${ECHO_T}$ac_header_preproc" >&6
36280 # So? What about this header?
36281 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36283 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36284 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36286 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36287 ac_header_preproc
=yes
36290 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36291 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36292 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36293 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36294 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36295 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36296 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36297 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36299 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36300 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36301 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36304 ## ----------------------------------------- ##
36305 ## Report this to wx-dev@lists.wxwidgets.org ##
36306 ## ----------------------------------------- ##
36309 sed "s/^/$as_me: WARNING: /" >&2
36312 echo "$as_me:$LINENO: checking for $ac_header" >&5
36313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36315 echo $ECHO_N "(cached) $ECHO_C" >&6
36317 eval "$as_ac_Header=\$ac_header_preproc"
36319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36323 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36324 cat >>confdefs.h
<<_ACEOF
36325 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36332 if test "$ac_cv_header_sched_h" = "yes"; then
36333 echo "$as_me:$LINENO: checking for sched_yield" >&5
36334 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
36335 if test "${ac_cv_func_sched_yield+set}" = set; then
36336 echo $ECHO_N "(cached) $ECHO_C" >&6
36338 cat >conftest.
$ac_ext <<_ACEOF
36341 cat confdefs.h
>>conftest.
$ac_ext
36342 cat >>conftest.
$ac_ext <<_ACEOF
36343 /* end confdefs.h. */
36344 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
36345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36346 #define sched_yield innocuous_sched_yield
36348 /* System header to define __stub macros and hopefully few prototypes,
36349 which can conflict with char sched_yield (); below.
36350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36351 <limits.h> exists even on freestanding compilers. */
36354 # include <limits.h>
36356 # include <assert.h>
36361 /* Override any gcc2 internal prototype to avoid an error. */
36366 /* We use char because int might match the return type of a gcc2
36367 builtin and then its argument prototype would still apply. */
36368 char sched_yield ();
36369 /* The GNU C library defines this for functions which it implements
36370 to always fail with ENOSYS. Some functions are actually named
36371 something starting with __ and the normal name is an alias. */
36372 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
36375 char (*f) () = sched_yield;
36384 return f != sched_yield;
36389 rm -f conftest.
$ac_objext conftest
$ac_exeext
36390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36391 (eval $ac_link) 2>conftest.er1
36393 grep -v '^ *+' conftest.er1
>conftest.err
36395 cat conftest.err
>&5
36396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36397 (exit $ac_status); } &&
36398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36400 (eval $ac_try) 2>&5
36402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36403 (exit $ac_status); }; } &&
36404 { ac_try
='test -s conftest$ac_exeext'
36405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36406 (eval $ac_try) 2>&5
36408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409 (exit $ac_status); }; }; then
36410 ac_cv_func_sched_yield
=yes
36412 echo "$as_me: failed program was:" >&5
36413 sed 's/^/| /' conftest.
$ac_ext >&5
36415 ac_cv_func_sched_yield
=no
36417 rm -f conftest.err conftest.
$ac_objext \
36418 conftest
$ac_exeext conftest.
$ac_ext
36420 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
36421 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
36422 if test $ac_cv_func_sched_yield = yes; then
36423 cat >>confdefs.h
<<\_ACEOF
36424 #define HAVE_SCHED_YIELD 1
36429 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
36430 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
36431 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
36432 echo $ECHO_N "(cached) $ECHO_C" >&6
36434 ac_check_lib_save_LIBS
=$LIBS
36435 LIBS
="-lposix4 $LIBS"
36436 cat >conftest.
$ac_ext <<_ACEOF
36439 cat confdefs.h
>>conftest.
$ac_ext
36440 cat >>conftest.
$ac_ext <<_ACEOF
36441 /* end confdefs.h. */
36443 /* Override any gcc2 internal prototype to avoid an error. */
36447 /* We use char because int might match the return type of a gcc2
36448 builtin and then its argument prototype would still apply. */
36449 char sched_yield ();
36458 rm -f conftest.
$ac_objext conftest
$ac_exeext
36459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36460 (eval $ac_link) 2>conftest.er1
36462 grep -v '^ *+' conftest.er1
>conftest.err
36464 cat conftest.err
>&5
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); } &&
36467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36469 (eval $ac_try) 2>&5
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); }; } &&
36473 { ac_try
='test -s conftest$ac_exeext'
36474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36475 (eval $ac_try) 2>&5
36477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36478 (exit $ac_status); }; }; then
36479 ac_cv_lib_posix4_sched_yield
=yes
36481 echo "$as_me: failed program was:" >&5
36482 sed 's/^/| /' conftest.
$ac_ext >&5
36484 ac_cv_lib_posix4_sched_yield
=no
36486 rm -f conftest.err conftest.
$ac_objext \
36487 conftest
$ac_exeext conftest.
$ac_ext
36488 LIBS
=$ac_check_lib_save_LIBS
36490 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
36491 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
36492 if test $ac_cv_lib_posix4_sched_yield = yes; then
36493 cat >>confdefs.h
<<\_ACEOF
36494 #define HAVE_SCHED_YIELD 1
36496 POSIX4_LINK
=" -lposix4"
36498 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
36499 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
36510 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
36511 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
36512 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
36513 echo $ECHO_N "(cached) $ECHO_C" >&6
36515 cat >conftest.
$ac_ext <<_ACEOF
36518 cat confdefs.h
>>conftest.
$ac_ext
36519 cat >>conftest.
$ac_ext <<_ACEOF
36520 /* end confdefs.h. */
36521 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
36522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36523 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
36525 /* System header to define __stub macros and hopefully few prototypes,
36526 which can conflict with char pthread_attr_getschedpolicy (); below.
36527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36528 <limits.h> exists even on freestanding compilers. */
36531 # include <limits.h>
36533 # include <assert.h>
36536 #undef pthread_attr_getschedpolicy
36538 /* Override any gcc2 internal prototype to avoid an error. */
36543 /* We use char because int might match the return type of a gcc2
36544 builtin and then its argument prototype would still apply. */
36545 char pthread_attr_getschedpolicy ();
36546 /* The GNU C library defines this for functions which it implements
36547 to always fail with ENOSYS. Some functions are actually named
36548 something starting with __ and the normal name is an alias. */
36549 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
36552 char (*f) () = pthread_attr_getschedpolicy;
36561 return f != pthread_attr_getschedpolicy;
36566 rm -f conftest.
$ac_objext conftest
$ac_exeext
36567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36568 (eval $ac_link) 2>conftest.er1
36570 grep -v '^ *+' conftest.er1
>conftest.err
36572 cat conftest.err
>&5
36573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36574 (exit $ac_status); } &&
36575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36577 (eval $ac_try) 2>&5
36579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36580 (exit $ac_status); }; } &&
36581 { ac_try
='test -s conftest$ac_exeext'
36582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36583 (eval $ac_try) 2>&5
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); }; }; then
36587 ac_cv_func_pthread_attr_getschedpolicy
=yes
36589 echo "$as_me: failed program was:" >&5
36590 sed 's/^/| /' conftest.
$ac_ext >&5
36592 ac_cv_func_pthread_attr_getschedpolicy
=no
36594 rm -f conftest.err conftest.
$ac_objext \
36595 conftest
$ac_exeext conftest.
$ac_ext
36597 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
36598 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
36599 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
36600 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
36601 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
36602 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
36603 echo $ECHO_N "(cached) $ECHO_C" >&6
36605 cat >conftest.
$ac_ext <<_ACEOF
36608 cat confdefs.h
>>conftest.
$ac_ext
36609 cat >>conftest.
$ac_ext <<_ACEOF
36610 /* end confdefs.h. */
36611 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
36612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36613 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
36615 /* System header to define __stub macros and hopefully few prototypes,
36616 which can conflict with char pthread_attr_setschedparam (); below.
36617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36618 <limits.h> exists even on freestanding compilers. */
36621 # include <limits.h>
36623 # include <assert.h>
36626 #undef pthread_attr_setschedparam
36628 /* Override any gcc2 internal prototype to avoid an error. */
36633 /* We use char because int might match the return type of a gcc2
36634 builtin and then its argument prototype would still apply. */
36635 char pthread_attr_setschedparam ();
36636 /* The GNU C library defines this for functions which it implements
36637 to always fail with ENOSYS. Some functions are actually named
36638 something starting with __ and the normal name is an alias. */
36639 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
36642 char (*f) () = pthread_attr_setschedparam;
36651 return f != pthread_attr_setschedparam;
36656 rm -f conftest.
$ac_objext conftest
$ac_exeext
36657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36658 (eval $ac_link) 2>conftest.er1
36660 grep -v '^ *+' conftest.er1
>conftest.err
36662 cat conftest.err
>&5
36663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36664 (exit $ac_status); } &&
36665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36667 (eval $ac_try) 2>&5
36669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36670 (exit $ac_status); }; } &&
36671 { ac_try
='test -s conftest$ac_exeext'
36672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36673 (eval $ac_try) 2>&5
36675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36676 (exit $ac_status); }; }; then
36677 ac_cv_func_pthread_attr_setschedparam
=yes
36679 echo "$as_me: failed program was:" >&5
36680 sed 's/^/| /' conftest.
$ac_ext >&5
36682 ac_cv_func_pthread_attr_setschedparam
=no
36684 rm -f conftest.err conftest.
$ac_objext \
36685 conftest
$ac_exeext conftest.
$ac_ext
36687 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
36688 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
36689 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
36690 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
36691 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
36692 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
36693 echo $ECHO_N "(cached) $ECHO_C" >&6
36695 cat >conftest.
$ac_ext <<_ACEOF
36698 cat confdefs.h
>>conftest.
$ac_ext
36699 cat >>conftest.
$ac_ext <<_ACEOF
36700 /* end confdefs.h. */
36701 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
36702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36703 #define sched_get_priority_max innocuous_sched_get_priority_max
36705 /* System header to define __stub macros and hopefully few prototypes,
36706 which can conflict with char sched_get_priority_max (); below.
36707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36708 <limits.h> exists even on freestanding compilers. */
36711 # include <limits.h>
36713 # include <assert.h>
36716 #undef sched_get_priority_max
36718 /* Override any gcc2 internal prototype to avoid an error. */
36723 /* We use char because int might match the return type of a gcc2
36724 builtin and then its argument prototype would still apply. */
36725 char sched_get_priority_max ();
36726 /* The GNU C library defines this for functions which it implements
36727 to always fail with ENOSYS. Some functions are actually named
36728 something starting with __ and the normal name is an alias. */
36729 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
36732 char (*f) () = sched_get_priority_max;
36741 return f != sched_get_priority_max;
36746 rm -f conftest.
$ac_objext conftest
$ac_exeext
36747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36748 (eval $ac_link) 2>conftest.er1
36750 grep -v '^ *+' conftest.er1
>conftest.err
36752 cat conftest.err
>&5
36753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36754 (exit $ac_status); } &&
36755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36757 (eval $ac_try) 2>&5
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); }; } &&
36761 { ac_try
='test -s conftest$ac_exeext'
36762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36763 (eval $ac_try) 2>&5
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); }; }; then
36767 ac_cv_func_sched_get_priority_max
=yes
36769 echo "$as_me: failed program was:" >&5
36770 sed 's/^/| /' conftest.
$ac_ext >&5
36772 ac_cv_func_sched_get_priority_max
=no
36774 rm -f conftest.err conftest.
$ac_objext \
36775 conftest
$ac_exeext conftest.
$ac_ext
36777 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
36778 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
36779 if test $ac_cv_func_sched_get_priority_max = yes; then
36782 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
36783 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
36784 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
36785 echo $ECHO_N "(cached) $ECHO_C" >&6
36787 ac_check_lib_save_LIBS
=$LIBS
36788 LIBS
="-lposix4 $LIBS"
36789 cat >conftest.
$ac_ext <<_ACEOF
36792 cat confdefs.h
>>conftest.
$ac_ext
36793 cat >>conftest.
$ac_ext <<_ACEOF
36794 /* end confdefs.h. */
36796 /* Override any gcc2 internal prototype to avoid an error. */
36800 /* We use char because int might match the return type of a gcc2
36801 builtin and then its argument prototype would still apply. */
36802 char sched_get_priority_max ();
36806 sched_get_priority_max ();
36811 rm -f conftest.
$ac_objext conftest
$ac_exeext
36812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36813 (eval $ac_link) 2>conftest.er1
36815 grep -v '^ *+' conftest.er1
>conftest.err
36817 cat conftest.err
>&5
36818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36819 (exit $ac_status); } &&
36820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36822 (eval $ac_try) 2>&5
36824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36825 (exit $ac_status); }; } &&
36826 { ac_try
='test -s conftest$ac_exeext'
36827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36828 (eval $ac_try) 2>&5
36830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36831 (exit $ac_status); }; }; then
36832 ac_cv_lib_posix4_sched_get_priority_max
=yes
36834 echo "$as_me: failed program was:" >&5
36835 sed 's/^/| /' conftest.
$ac_ext >&5
36837 ac_cv_lib_posix4_sched_get_priority_max
=no
36839 rm -f conftest.err conftest.
$ac_objext \
36840 conftest
$ac_exeext conftest.
$ac_ext
36841 LIBS
=$ac_check_lib_save_LIBS
36843 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
36844 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
36845 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
36848 POSIX4_LINK
=" -lposix4"
36862 if test "$HAVE_PRIOR_FUNCS" = 1; then
36863 cat >>confdefs.h
<<\_ACEOF
36864 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
36868 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
36869 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
36872 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
36873 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
36874 if test "${ac_cv_func_pthread_cancel+set}" = set; then
36875 echo $ECHO_N "(cached) $ECHO_C" >&6
36877 cat >conftest.
$ac_ext <<_ACEOF
36880 cat confdefs.h
>>conftest.
$ac_ext
36881 cat >>conftest.
$ac_ext <<_ACEOF
36882 /* end confdefs.h. */
36883 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
36884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36885 #define pthread_cancel innocuous_pthread_cancel
36887 /* System header to define __stub macros and hopefully few prototypes,
36888 which can conflict with char pthread_cancel (); below.
36889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36890 <limits.h> exists even on freestanding compilers. */
36893 # include <limits.h>
36895 # include <assert.h>
36898 #undef pthread_cancel
36900 /* Override any gcc2 internal prototype to avoid an error. */
36905 /* We use char because int might match the return type of a gcc2
36906 builtin and then its argument prototype would still apply. */
36907 char pthread_cancel ();
36908 /* The GNU C library defines this for functions which it implements
36909 to always fail with ENOSYS. Some functions are actually named
36910 something starting with __ and the normal name is an alias. */
36911 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
36914 char (*f) () = pthread_cancel;
36923 return f != pthread_cancel;
36928 rm -f conftest.
$ac_objext conftest
$ac_exeext
36929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36930 (eval $ac_link) 2>conftest.er1
36932 grep -v '^ *+' conftest.er1
>conftest.err
36934 cat conftest.err
>&5
36935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36936 (exit $ac_status); } &&
36937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36939 (eval $ac_try) 2>&5
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); }; } &&
36943 { ac_try
='test -s conftest$ac_exeext'
36944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36945 (eval $ac_try) 2>&5
36947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36948 (exit $ac_status); }; }; then
36949 ac_cv_func_pthread_cancel
=yes
36951 echo "$as_me: failed program was:" >&5
36952 sed 's/^/| /' conftest.
$ac_ext >&5
36954 ac_cv_func_pthread_cancel
=no
36956 rm -f conftest.err conftest.
$ac_objext \
36957 conftest
$ac_exeext conftest.
$ac_ext
36959 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
36960 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
36961 if test $ac_cv_func_pthread_cancel = yes; then
36962 cat >>confdefs.h
<<\_ACEOF
36963 #define HAVE_PTHREAD_CANCEL 1
36967 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
36968 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
36972 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
36973 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
36974 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
36975 echo $ECHO_N "(cached) $ECHO_C" >&6
36977 cat >conftest.
$ac_ext <<_ACEOF
36980 cat confdefs.h
>>conftest.
$ac_ext
36981 cat >>conftest.
$ac_ext <<_ACEOF
36982 /* end confdefs.h. */
36983 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
36984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36985 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
36987 /* System header to define __stub macros and hopefully few prototypes,
36988 which can conflict with char pthread_attr_setstacksize (); below.
36989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36990 <limits.h> exists even on freestanding compilers. */
36993 # include <limits.h>
36995 # include <assert.h>
36998 #undef pthread_attr_setstacksize
37000 /* Override any gcc2 internal prototype to avoid an error. */
37005 /* We use char because int might match the return type of a gcc2
37006 builtin and then its argument prototype would still apply. */
37007 char pthread_attr_setstacksize ();
37008 /* The GNU C library defines this for functions which it implements
37009 to always fail with ENOSYS. Some functions are actually named
37010 something starting with __ and the normal name is an alias. */
37011 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
37014 char (*f) () = pthread_attr_setstacksize;
37023 return f != pthread_attr_setstacksize;
37028 rm -f conftest.
$ac_objext conftest
$ac_exeext
37029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37030 (eval $ac_link) 2>conftest.er1
37032 grep -v '^ *+' conftest.er1
>conftest.err
37034 cat conftest.err
>&5
37035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37036 (exit $ac_status); } &&
37037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37039 (eval $ac_try) 2>&5
37041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37042 (exit $ac_status); }; } &&
37043 { ac_try
='test -s conftest$ac_exeext'
37044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37045 (eval $ac_try) 2>&5
37047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048 (exit $ac_status); }; }; then
37049 ac_cv_func_pthread_attr_setstacksize
=yes
37051 echo "$as_me: failed program was:" >&5
37052 sed 's/^/| /' conftest.
$ac_ext >&5
37054 ac_cv_func_pthread_attr_setstacksize
=no
37056 rm -f conftest.err conftest.
$ac_objext \
37057 conftest
$ac_exeext conftest.
$ac_ext
37059 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37060 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37061 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37062 cat >>confdefs.h
<<\_ACEOF
37063 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
37070 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
37071 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
37072 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
37073 echo $ECHO_N "(cached) $ECHO_C" >&6
37076 cat >conftest.
$ac_ext <<_ACEOF
37079 cat confdefs.h
>>conftest.
$ac_ext
37080 cat >>conftest.
$ac_ext <<_ACEOF
37081 /* end confdefs.h. */
37082 #include <pthread.h>
37087 pthread_mutexattr_t attr;
37088 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37094 rm -f conftest.
$ac_objext
37095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37096 (eval $ac_compile) 2>conftest.er1
37098 grep -v '^ *+' conftest.er1
>conftest.err
37100 cat conftest.err
>&5
37101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102 (exit $ac_status); } &&
37103 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37105 (eval $ac_try) 2>&5
37107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37108 (exit $ac_status); }; } &&
37109 { ac_try
='test -s conftest.$ac_objext'
37110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37111 (eval $ac_try) 2>&5
37113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37114 (exit $ac_status); }; }; then
37115 wx_cv_type_pthread_mutexattr_t
=yes
37117 echo "$as_me: failed program was:" >&5
37118 sed 's/^/| /' conftest.
$ac_ext >&5
37120 wx_cv_type_pthread_mutexattr_t
=no
37123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37126 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
37127 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
37129 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
37130 cat >>confdefs.h
<<\_ACEOF
37131 #define HAVE_PTHREAD_MUTEXATTR_T 1
37135 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
37136 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
37137 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
37138 echo $ECHO_N "(cached) $ECHO_C" >&6
37141 cat >conftest.
$ac_ext <<_ACEOF
37144 cat confdefs.h
>>conftest.
$ac_ext
37145 cat >>conftest.
$ac_ext <<_ACEOF
37146 /* end confdefs.h. */
37147 #include <pthread.h>
37152 pthread_mutexattr_t attr;
37153 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37159 rm -f conftest.
$ac_objext
37160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37161 (eval $ac_compile) 2>conftest.er1
37163 grep -v '^ *+' conftest.er1
>conftest.err
37165 cat conftest.err
>&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } &&
37168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37170 (eval $ac_try) 2>&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); }; } &&
37174 { ac_try
='test -s conftest.$ac_objext'
37175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37176 (eval $ac_try) 2>&5
37178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179 (exit $ac_status); }; }; then
37180 wx_cv_func_pthread_mutexattr_settype_decl
=yes
37182 echo "$as_me: failed program was:" >&5
37183 sed 's/^/| /' conftest.
$ac_ext >&5
37185 wx_cv_func_pthread_mutexattr_settype_decl
=no
37188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37191 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
37192 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
37193 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
37194 cat >>confdefs.h
<<\_ACEOF
37195 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
37200 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
37201 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
37202 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
37203 echo $ECHO_N "(cached) $ECHO_C" >&6
37206 cat >conftest.
$ac_ext <<_ACEOF
37209 cat confdefs.h
>>conftest.
$ac_ext
37210 cat >>conftest.
$ac_ext <<_ACEOF
37211 /* end confdefs.h. */
37212 #include <pthread.h>
37217 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
37223 rm -f conftest.
$ac_objext
37224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37225 (eval $ac_compile) 2>conftest.er1
37227 grep -v '^ *+' conftest.er1
>conftest.err
37229 cat conftest.err
>&5
37230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37231 (exit $ac_status); } &&
37232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37234 (eval $ac_try) 2>&5
37236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37237 (exit $ac_status); }; } &&
37238 { ac_try
='test -s conftest.$ac_objext'
37239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37240 (eval $ac_try) 2>&5
37242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243 (exit $ac_status); }; }; then
37245 wx_cv_type_pthread_rec_mutex_init
=yes
37248 echo "$as_me: failed program was:" >&5
37249 sed 's/^/| /' conftest.
$ac_ext >&5
37252 wx_cv_type_pthread_rec_mutex_init
=no
37256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37259 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
37260 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
37261 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
37262 cat >>confdefs.h
<<\_ACEOF
37263 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
37267 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
37268 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
37274 if test "$wxUSE_THREADS" = "yes" ; then
37277 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
37278 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
37279 if test "${wx_cv_cflags_mthread+set}" = set; then
37280 echo $ECHO_N "(cached) $ECHO_C" >&6
37283 CFLAGS_OLD
="$CFLAGS"
37284 CFLAGS
="$CFLAGS -mthreads"
37285 cat >conftest.
$ac_ext <<_ACEOF
37288 cat confdefs.h
>>conftest.
$ac_ext
37289 cat >>conftest.
$ac_ext <<_ACEOF
37290 /* end confdefs.h. */
37300 rm -f conftest.
$ac_objext
37301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37302 (eval $ac_compile) 2>conftest.er1
37304 grep -v '^ *+' conftest.er1
>conftest.err
37306 cat conftest.err
>&5
37307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37308 (exit $ac_status); } &&
37309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37311 (eval $ac_try) 2>&5
37313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37314 (exit $ac_status); }; } &&
37315 { ac_try
='test -s conftest.$ac_objext'
37316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37317 (eval $ac_try) 2>&5
37319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37320 (exit $ac_status); }; }; then
37321 wx_cv_cflags_mthread
=yes
37323 echo "$as_me: failed program was:" >&5
37324 sed 's/^/| /' conftest.
$ac_ext >&5
37326 wx_cv_cflags_mthread
=no
37329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37333 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
37334 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
37336 if test "$wx_cv_cflags_mthread" = "yes"; then
37337 CXXFLAGS
="$CXXFLAGS -mthreads"
37338 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
37339 LDFLAGS
="$LDFLAGS -mthreads"
37341 CFLAGS
="$CFLAGS_OLD"
37345 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
37346 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
37347 LDFLAGS
="$LDFLAGS -Zmt"
37353 if test "$wxUSE_THREADS" = "yes"; then
37354 cat >>confdefs.h
<<\_ACEOF
37355 #define wxUSE_THREADS 1
37359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
37361 if test "$ac_cv_func_strtok_r" = "yes"; then
37362 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
37363 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
37364 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
37365 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
37366 echo "$as_me:$LINENO: result: yes" >&5
37367 echo "${ECHO_T}yes" >&6
37369 echo "$as_me:$LINENO: result: no" >&5
37370 echo "${ECHO_T}no" >&6
37375 if test "$WXGTK20" = 1 ; then
37376 cat >>confdefs.h
<<_ACEOF
37377 #define __WXGTK20__ $WXGTK20
37383 if test "$WXGTK12" = 1 ; then
37384 cat >>confdefs.h
<<_ACEOF
37385 #define __WXGTK12__ $WXGTK12
37390 if test "$WXGTK127" = 1 ; then
37391 cat >>confdefs.h
<<_ACEOF
37392 #define __WXGTK127__ $WXGTK127
37397 if test "$WXGPE" = 1 ; then
37398 cat >>confdefs.h
<<_ACEOF
37399 #define __WXGPE__ $WXGPE
37406 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
37411 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
37412 wxUSE_DEBUG_INFO
=yes
37413 if test "$GCC" = yes; then
37418 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
37419 cat >>confdefs.h
<<\_ACEOF
37423 WXDEBUG_DEFINE
="-D__WXDEBUG__"
37425 if test "$wxUSE_GTK" = 1 ; then
37426 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
37430 if test "$wxUSE_MEM_TRACING" = "yes" ; then
37431 cat >>confdefs.h
<<\_ACEOF
37432 #define wxUSE_MEMORY_TRACING 1
37435 cat >>confdefs.h
<<\_ACEOF
37436 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
37439 cat >>confdefs.h
<<\_ACEOF
37440 #define wxUSE_DEBUG_NEW_ALWAYS 1
37443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
37446 if test "$wxUSE_DMALLOC" = "yes" ; then
37447 DMALLOC_LIBS
="-ldmallocthcxx"
37451 if test "$wxUSE_PROFILE" = "yes" ; then
37456 CODE_GEN_FLAGS_CXX
=
37457 if test "$GCC" = "yes" ; then
37458 if test "$wxUSE_NO_RTTI" = "yes" ; then
37459 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
37461 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37462 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
37464 if test "$wxUSE_PERMISSIVE" = "yes" ; then
37465 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
37470 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
37473 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
37479 if test "$wxUSE_OPTIMISE" = "no" ; then
37480 if test "$GCC" = yes ; then
37484 if test "$GCC" = yes ; then
37488 i586
-*-*|i686
-*-* )
37489 OPTIMISE
="${OPTIMISE} "
37498 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
37499 cat >>confdefs.h
<<\_ACEOF
37500 #define WXWIN_COMPATIBILITY_2_2 1
37504 WXWIN_COMPATIBILITY_2_4
="yes"
37507 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
37508 cat >>confdefs.h
<<\_ACEOF
37509 #define WXWIN_COMPATIBILITY_2_4 1
37515 if test "$wxUSE_GUI" = "yes"; then
37516 cat >>confdefs.h
<<\_ACEOF
37517 #define wxUSE_GUI 1
37524 if test "$wxUSE_UNIX" = "yes"; then
37525 cat >>confdefs.h
<<\_ACEOF
37526 #define wxUSE_UNIX 1
37532 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37536 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
37537 if test "$USE_DARWIN" = 1; then
37539 elif test "$USE_DOS" = 1; then
37543 for ac_func
in dlopen
37545 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37546 echo "$as_me:$LINENO: checking for $ac_func" >&5
37547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37548 if eval "test \"\${$as_ac_var+set}\" = set"; then
37549 echo $ECHO_N "(cached) $ECHO_C" >&6
37551 cat >conftest.
$ac_ext <<_ACEOF
37554 cat confdefs.h
>>conftest.
$ac_ext
37555 cat >>conftest.
$ac_ext <<_ACEOF
37556 /* end confdefs.h. */
37557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37559 #define $ac_func innocuous_$ac_func
37561 /* System header to define __stub macros and hopefully few prototypes,
37562 which can conflict with char $ac_func (); below.
37563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37564 <limits.h> exists even on freestanding compilers. */
37567 # include <limits.h>
37569 # include <assert.h>
37574 /* Override any gcc2 internal prototype to avoid an error. */
37579 /* We use char because int might match the return type of a gcc2
37580 builtin and then its argument prototype would still apply. */
37582 /* The GNU C library defines this for functions which it implements
37583 to always fail with ENOSYS. Some functions are actually named
37584 something starting with __ and the normal name is an alias. */
37585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37588 char (*f) () = $ac_func;
37597 return f != $ac_func;
37602 rm -f conftest.
$ac_objext conftest
$ac_exeext
37603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37604 (eval $ac_link) 2>conftest.er1
37606 grep -v '^ *+' conftest.er1
>conftest.err
37608 cat conftest.err
>&5
37609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610 (exit $ac_status); } &&
37611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37613 (eval $ac_try) 2>&5
37615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616 (exit $ac_status); }; } &&
37617 { ac_try
='test -s conftest$ac_exeext'
37618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37619 (eval $ac_try) 2>&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); }; }; then
37623 eval "$as_ac_var=yes"
37625 echo "$as_me: failed program was:" >&5
37626 sed 's/^/| /' conftest.
$ac_ext >&5
37628 eval "$as_ac_var=no"
37630 rm -f conftest.err conftest.
$ac_objext \
37631 conftest
$ac_exeext conftest.
$ac_ext
37633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37635 if test `eval echo '${'$as_ac_var'}'` = yes; then
37636 cat >>confdefs.h
<<_ACEOF
37637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37640 cat >>confdefs.h
<<\_ACEOF
37641 #define HAVE_DLOPEN 1
37648 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
37649 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
37650 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
37651 echo $ECHO_N "(cached) $ECHO_C" >&6
37653 ac_check_lib_save_LIBS
=$LIBS
37655 cat >conftest.
$ac_ext <<_ACEOF
37658 cat confdefs.h
>>conftest.
$ac_ext
37659 cat >>conftest.
$ac_ext <<_ACEOF
37660 /* end confdefs.h. */
37662 /* Override any gcc2 internal prototype to avoid an error. */
37666 /* We use char because int might match the return type of a gcc2
37667 builtin and then its argument prototype would still apply. */
37677 rm -f conftest.
$ac_objext conftest
$ac_exeext
37678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37679 (eval $ac_link) 2>conftest.er1
37681 grep -v '^ *+' conftest.er1
>conftest.err
37683 cat conftest.err
>&5
37684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37685 (exit $ac_status); } &&
37686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37688 (eval $ac_try) 2>&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); }; } &&
37692 { ac_try
='test -s conftest$ac_exeext'
37693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37694 (eval $ac_try) 2>&5
37696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697 (exit $ac_status); }; }; then
37698 ac_cv_lib_dl_dlopen
=yes
37700 echo "$as_me: failed program was:" >&5
37701 sed 's/^/| /' conftest.
$ac_ext >&5
37703 ac_cv_lib_dl_dlopen
=no
37705 rm -f conftest.err conftest.
$ac_objext \
37706 conftest
$ac_exeext conftest.
$ac_ext
37707 LIBS
=$ac_check_lib_save_LIBS
37709 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
37710 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
37711 if test $ac_cv_lib_dl_dlopen = yes; then
37713 cat >>confdefs.h
<<\_ACEOF
37714 #define HAVE_DLOPEN 1
37718 DL_LINK
=" -ldl$DL_LINK"
37723 for ac_func
in shl_load
37725 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37726 echo "$as_me:$LINENO: checking for $ac_func" >&5
37727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37728 if eval "test \"\${$as_ac_var+set}\" = set"; then
37729 echo $ECHO_N "(cached) $ECHO_C" >&6
37731 cat >conftest.
$ac_ext <<_ACEOF
37734 cat confdefs.h
>>conftest.
$ac_ext
37735 cat >>conftest.
$ac_ext <<_ACEOF
37736 /* end confdefs.h. */
37737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37739 #define $ac_func innocuous_$ac_func
37741 /* System header to define __stub macros and hopefully few prototypes,
37742 which can conflict with char $ac_func (); below.
37743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37744 <limits.h> exists even on freestanding compilers. */
37747 # include <limits.h>
37749 # include <assert.h>
37754 /* Override any gcc2 internal prototype to avoid an error. */
37759 /* We use char because int might match the return type of a gcc2
37760 builtin and then its argument prototype would still apply. */
37762 /* The GNU C library defines this for functions which it implements
37763 to always fail with ENOSYS. Some functions are actually named
37764 something starting with __ and the normal name is an alias. */
37765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37768 char (*f) () = $ac_func;
37777 return f != $ac_func;
37782 rm -f conftest.
$ac_objext conftest
$ac_exeext
37783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37784 (eval $ac_link) 2>conftest.er1
37786 grep -v '^ *+' conftest.er1
>conftest.err
37788 cat conftest.err
>&5
37789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37790 (exit $ac_status); } &&
37791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37793 (eval $ac_try) 2>&5
37795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37796 (exit $ac_status); }; } &&
37797 { ac_try
='test -s conftest$ac_exeext'
37798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37799 (eval $ac_try) 2>&5
37801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802 (exit $ac_status); }; }; then
37803 eval "$as_ac_var=yes"
37805 echo "$as_me: failed program was:" >&5
37806 sed 's/^/| /' conftest.
$ac_ext >&5
37808 eval "$as_ac_var=no"
37810 rm -f conftest.err conftest.
$ac_objext \
37811 conftest
$ac_exeext conftest.
$ac_ext
37813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37815 if test `eval echo '${'$as_ac_var'}'` = yes; then
37816 cat >>confdefs.h
<<_ACEOF
37817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37820 cat >>confdefs.h
<<\_ACEOF
37821 #define HAVE_SHL_LOAD 1
37828 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
37829 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
37830 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
37831 echo $ECHO_N "(cached) $ECHO_C" >&6
37833 ac_check_lib_save_LIBS
=$LIBS
37834 LIBS
="-lshl_load $LIBS"
37835 cat >conftest.
$ac_ext <<_ACEOF
37838 cat confdefs.h
>>conftest.
$ac_ext
37839 cat >>conftest.
$ac_ext <<_ACEOF
37840 /* end confdefs.h. */
37842 /* Override any gcc2 internal prototype to avoid an error. */
37846 /* We use char because int might match the return type of a gcc2
37847 builtin and then its argument prototype would still apply. */
37857 rm -f conftest.
$ac_objext conftest
$ac_exeext
37858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37859 (eval $ac_link) 2>conftest.er1
37861 grep -v '^ *+' conftest.er1
>conftest.err
37863 cat conftest.err
>&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); } &&
37866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; } &&
37872 { ac_try
='test -s conftest$ac_exeext'
37873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37874 (eval $ac_try) 2>&5
37876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877 (exit $ac_status); }; }; then
37878 ac_cv_lib_shl_load_dld
=yes
37880 echo "$as_me: failed program was:" >&5
37881 sed 's/^/| /' conftest.
$ac_ext >&5
37883 ac_cv_lib_shl_load_dld
=no
37885 rm -f conftest.err conftest.
$ac_objext \
37886 conftest
$ac_exeext conftest.
$ac_ext
37887 LIBS
=$ac_check_lib_save_LIBS
37889 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
37890 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
37891 if test $ac_cv_lib_shl_load_dld = yes; then
37894 DL_LINK
=" -ldld$DL_LINK"
37910 if test "$HAVE_DL_FUNCS" = 1; then
37912 for ac_func
in dlerror
37914 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37915 echo "$as_me:$LINENO: checking for $ac_func" >&5
37916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37917 if eval "test \"\${$as_ac_var+set}\" = set"; then
37918 echo $ECHO_N "(cached) $ECHO_C" >&6
37920 cat >conftest.
$ac_ext <<_ACEOF
37923 cat confdefs.h
>>conftest.
$ac_ext
37924 cat >>conftest.
$ac_ext <<_ACEOF
37925 /* end confdefs.h. */
37926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37928 #define $ac_func innocuous_$ac_func
37930 /* System header to define __stub macros and hopefully few prototypes,
37931 which can conflict with char $ac_func (); below.
37932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37933 <limits.h> exists even on freestanding compilers. */
37936 # include <limits.h>
37938 # include <assert.h>
37943 /* Override any gcc2 internal prototype to avoid an error. */
37948 /* We use char because int might match the return type of a gcc2
37949 builtin and then its argument prototype would still apply. */
37951 /* The GNU C library defines this for functions which it implements
37952 to always fail with ENOSYS. Some functions are actually named
37953 something starting with __ and the normal name is an alias. */
37954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37957 char (*f) () = $ac_func;
37966 return f != $ac_func;
37971 rm -f conftest.
$ac_objext conftest
$ac_exeext
37972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37973 (eval $ac_link) 2>conftest.er1
37975 grep -v '^ *+' conftest.er1
>conftest.err
37977 cat conftest.err
>&5
37978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37979 (exit $ac_status); } &&
37980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37982 (eval $ac_try) 2>&5
37984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37985 (exit $ac_status); }; } &&
37986 { ac_try
='test -s conftest$ac_exeext'
37987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37988 (eval $ac_try) 2>&5
37990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37991 (exit $ac_status); }; }; then
37992 eval "$as_ac_var=yes"
37994 echo "$as_me: failed program was:" >&5
37995 sed 's/^/| /' conftest.
$ac_ext >&5
37997 eval "$as_ac_var=no"
37999 rm -f conftest.err conftest.
$ac_objext \
38000 conftest
$ac_exeext conftest.
$ac_ext
38002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38004 if test `eval echo '${'$as_ac_var'}'` = yes; then
38005 cat >>confdefs.h
<<_ACEOF
38006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38008 cat >>confdefs.h
<<\_ACEOF
38009 #define HAVE_DLERROR 1
38014 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
38015 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
38016 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
38017 echo $ECHO_N "(cached) $ECHO_C" >&6
38019 ac_check_lib_save_LIBS
=$LIBS
38021 cat >conftest.
$ac_ext <<_ACEOF
38024 cat confdefs.h
>>conftest.
$ac_ext
38025 cat >>conftest.
$ac_ext <<_ACEOF
38026 /* end confdefs.h. */
38028 /* Override any gcc2 internal prototype to avoid an error. */
38032 /* We use char because int might match the return type of a gcc2
38033 builtin and then its argument prototype would still apply. */
38043 rm -f conftest.
$ac_objext conftest
$ac_exeext
38044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38045 (eval $ac_link) 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_c_werror_flag" || test ! -s conftest.err'
38053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38054 (eval $ac_try) 2>&5
38056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057 (exit $ac_status); }; } &&
38058 { ac_try
='test -s conftest$ac_exeext'
38059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38060 (eval $ac_try) 2>&5
38062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063 (exit $ac_status); }; }; then
38064 ac_cv_lib_dl_dlerror
=yes
38066 echo "$as_me: failed program was:" >&5
38067 sed 's/^/| /' conftest.
$ac_ext >&5
38069 ac_cv_lib_dl_dlerror
=no
38071 rm -f conftest.err conftest.
$ac_objext \
38072 conftest
$ac_exeext conftest.
$ac_ext
38073 LIBS
=$ac_check_lib_save_LIBS
38075 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
38076 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
38077 if test $ac_cv_lib_dl_dlerror = yes; then
38078 cat >>confdefs.h
<<\_ACEOF
38079 #define HAVE_DLERROR 1
38092 if test "$HAVE_DL_FUNCS" = 0; then
38093 if test "$HAVE_SHL_FUNCS" = 0; then
38094 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
38095 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
38096 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
38097 wxUSE_DYNAMIC_LOADER
=no
38098 wxUSE_DYNLIB_CLASS
=no
38100 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
38101 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
38108 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
38109 cat >>confdefs.h
<<\_ACEOF
38110 #define wxUSE_DYNAMIC_LOADER 1
38114 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38115 cat >>confdefs.h
<<\_ACEOF
38116 #define wxUSE_DYNLIB_CLASS 1
38123 if test "$wxUSE_PLUGINS" = "yes" ; then
38124 if test "$wxUSE_SHARED" = "no" ; then
38125 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
38126 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
38129 if test "$wxUSE_MONOLITHIC" = "yes" ; then
38130 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
38131 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
38134 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
38135 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
38136 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
38139 if test "$wxUSE_PLUGINS" = "yes" ; then
38140 cat >>confdefs.h
<<\_ACEOF
38141 #define wxUSE_PLUGINS 1
38148 if test "$wxUSE_STL" = "yes"; then
38149 cat >>confdefs.h
<<\_ACEOF
38150 #define wxUSE_STL 1
38155 if test "$wxUSE_APPLE_IEEE" = "yes"; then
38156 cat >>confdefs.h
<<\_ACEOF
38157 #define wxUSE_APPLE_IEEE 1
38162 if test "$wxUSE_TIMER" = "yes"; then
38163 cat >>confdefs.h
<<\_ACEOF
38164 #define wxUSE_TIMER 1
38169 if test "$USE_UNIX" = "1" ; then
38170 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
38171 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
38172 if test "${ac_cv_header_sys_soundcard+set}" = set; then
38173 echo $ECHO_N "(cached) $ECHO_C" >&6
38176 cat >conftest.
$ac_ext <<_ACEOF
38179 cat confdefs.h
>>conftest.
$ac_ext
38180 cat >>conftest.
$ac_ext <<_ACEOF
38181 /* end confdefs.h. */
38183 #include <sys/soundcard.h>
38189 ioctl(0, SNDCTL_DSP_SYNC, 0);
38195 rm -f conftest.
$ac_objext conftest
$ac_exeext
38196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38197 (eval $ac_link) 2>conftest.er1
38199 grep -v '^ *+' conftest.er1
>conftest.err
38201 cat conftest.err
>&5
38202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38203 (exit $ac_status); } &&
38204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38206 (eval $ac_try) 2>&5
38208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38209 (exit $ac_status); }; } &&
38210 { ac_try
='test -s conftest$ac_exeext'
38211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38212 (eval $ac_try) 2>&5
38214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215 (exit $ac_status); }; }; then
38216 ac_cv_header_sys_soundcard
=yes
38218 echo "$as_me: failed program was:" >&5
38219 sed 's/^/| /' conftest.
$ac_ext >&5
38223 LIBS
="$saveLibs -lossaudio"
38224 cat >conftest.
$ac_ext <<_ACEOF
38227 cat confdefs.h
>>conftest.
$ac_ext
38228 cat >>conftest.
$ac_ext <<_ACEOF
38229 /* end confdefs.h. */
38231 #include <sys/soundcard.h>
38237 ioctl(0, SNDCTL_DSP_SYNC, 0);
38243 rm -f conftest.
$ac_objext conftest
$ac_exeext
38244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38245 (eval $ac_link) 2>conftest.er1
38247 grep -v '^ *+' conftest.er1
>conftest.err
38249 cat conftest.err
>&5
38250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251 (exit $ac_status); } &&
38252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38254 (eval $ac_try) 2>&5
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); }; } &&
38258 { ac_try
='test -s conftest$ac_exeext'
38259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38260 (eval $ac_try) 2>&5
38262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38263 (exit $ac_status); }; }; then
38264 ac_cv_header_sys_soundcard
=yes
38266 echo "$as_me: failed program was:" >&5
38267 sed 's/^/| /' conftest.
$ac_ext >&5
38271 ac_cv_header_sys_soundcard
=no
38275 rm -f conftest.err conftest.
$ac_objext \
38276 conftest
$ac_exeext conftest.
$ac_ext
38280 rm -f conftest.err conftest.
$ac_objext \
38281 conftest
$ac_exeext conftest.
$ac_ext
38284 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
38285 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
38287 if test "$ac_cv_header_sys_soundcard" = "yes"; then
38288 cat >>confdefs.h
<<\_ACEOF
38289 #define HAVE_SYS_SOUNDCARD_H 1
38293 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
38297 if test "$wxUSE_SOUND" = "yes"; then
38298 if test "$USE_UNIX" = "1" ; then
38299 if test "$wxUSE_LIBSDL" != "no"; then
38301 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
38302 if test "${with_sdl_prefix+set}" = set; then
38303 withval
="$with_sdl_prefix"
38304 sdl_prefix
="$withval"
38309 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
38310 if test "${with_sdl_exec_prefix+set}" = set; then
38311 withval
="$with_sdl_exec_prefix"
38312 sdl_exec_prefix
="$withval"
38316 # Check whether --enable-sdltest or --disable-sdltest was given.
38317 if test "${enable_sdltest+set}" = set; then
38318 enableval
="$enable_sdltest"
38324 if test x
$sdl_exec_prefix != x
; then
38325 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
38326 if test x
${SDL_CONFIG+set} != xset
; then
38327 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
38330 if test x
$sdl_prefix != x
; then
38331 sdl_args
="$sdl_args --prefix=$sdl_prefix"
38332 if test x
${SDL_CONFIG+set} != xset
; then
38333 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
38338 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
38339 # Extract the first word of "sdl-config", so it can be a program name with args.
38340 set dummy sdl
-config; ac_word
=$2
38341 echo "$as_me:$LINENO: checking for $ac_word" >&5
38342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38343 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
38344 echo $ECHO_N "(cached) $ECHO_C" >&6
38346 case $SDL_CONFIG in
38348 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
38351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38352 for as_dir
in $PATH
38355 test -z "$as_dir" && as_dir
=.
38356 for ac_exec_ext
in '' $ac_executable_extensions; do
38357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38358 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
38359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38365 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
38369 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
38371 if test -n "$SDL_CONFIG"; then
38372 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
38373 echo "${ECHO_T}$SDL_CONFIG" >&6
38375 echo "$as_me:$LINENO: result: no" >&5
38376 echo "${ECHO_T}no" >&6
38379 min_sdl_version
=1.2.0
38380 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
38381 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
38383 if test "$SDL_CONFIG" = "no" ; then
38386 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
38387 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
38389 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
38390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
38391 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
38392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
38393 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
38394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
38395 if test "x$enable_sdltest" = "xyes" ; then
38396 ac_save_CFLAGS
="$CFLAGS"
38397 ac_save_CXXFLAGS
="$CXXFLAGS"
38398 ac_save_LIBS
="$LIBS"
38399 CFLAGS
="$CFLAGS $SDL_CFLAGS"
38400 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
38401 LIBS
="$LIBS $SDL_LIBS"
38403 if test "$cross_compiling" = yes; then
38404 echo $ac_n "cross compiling; assumed OK... $ac_c"
38406 cat >conftest.
$ac_ext <<_ACEOF
38409 cat confdefs.h
>>conftest.
$ac_ext
38410 cat >>conftest.
$ac_ext <<_ACEOF
38411 /* end confdefs.h. */
38414 #include <stdlib.h>
38415 #include <string.h>
38419 my_strdup (char *str)
38425 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
38426 strcpy (new_str, str);
38434 int main (int argc, char *argv[])
38436 int major, minor, micro;
38439 /* This hangs on some systems (?)
38440 system ("touch conf.sdltest");
38442 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
38444 /* HP/UX 9 (%@#!) writes to sscanf strings */
38445 tmp_version = my_strdup("$min_sdl_version");
38446 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
38447 printf("%s, bad version string\n", "$min_sdl_version");
38451 if (($sdl_major_version > major) ||
38452 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
38453 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
38459 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
38460 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
38461 printf("*** best to upgrade to the required version.\n");
38462 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
38463 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
38464 printf("*** config.cache before re-running configure\n");
38471 rm -f conftest
$ac_exeext
38472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38473 (eval $ac_link) 2>&5
38475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38476 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38478 (eval $ac_try) 2>&5
38480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38481 (exit $ac_status); }; }; then
38484 echo "$as_me: program exited with status $ac_status" >&5
38485 echo "$as_me: failed program was:" >&5
38486 sed 's/^/| /' conftest.
$ac_ext >&5
38488 ( exit $ac_status )
38491 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
38493 CFLAGS
="$ac_save_CFLAGS"
38494 CXXFLAGS
="$ac_save_CXXFLAGS"
38495 LIBS
="$ac_save_LIBS"
38498 if test "x$no_sdl" = x
; then
38499 echo "$as_me:$LINENO: result: yes" >&5
38500 echo "${ECHO_T}yes" >&6
38502 EXTRALIBS_SDL
="$SDL_LIBS"
38503 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
38504 cat >>confdefs.h
<<\_ACEOF
38505 #define wxUSE_LIBSDL 1
38510 echo "$as_me:$LINENO: result: no" >&5
38511 echo "${ECHO_T}no" >&6
38512 if test "$SDL_CONFIG" = "no" ; then
38513 echo "*** The sdl-config script installed by SDL could not be found"
38514 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
38515 echo "*** your path, or set the SDL_CONFIG environment variable to the"
38516 echo "*** full path to sdl-config."
38518 if test -f conf.sdltest
; then
38521 echo "*** Could not run SDL test program, checking why..."
38522 CFLAGS
="$CFLAGS $SDL_CFLAGS"
38523 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
38524 LIBS
="$LIBS $SDL_LIBS"
38525 cat >conftest.
$ac_ext <<_ACEOF
38528 cat confdefs.h
>>conftest.
$ac_ext
38529 cat >>conftest.
$ac_ext <<_ACEOF
38530 /* end confdefs.h. */
38535 int main(int argc, char *argv[])
38538 #define main K_and_R_C_main
38548 rm -f conftest.
$ac_objext conftest
$ac_exeext
38549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38550 (eval $ac_link) 2>conftest.er1
38552 grep -v '^ *+' conftest.er1
>conftest.err
38554 cat conftest.err
>&5
38555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38556 (exit $ac_status); } &&
38557 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38559 (eval $ac_try) 2>&5
38561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38562 (exit $ac_status); }; } &&
38563 { ac_try
='test -s conftest$ac_exeext'
38564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38565 (eval $ac_try) 2>&5
38567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38568 (exit $ac_status); }; }; then
38569 echo "*** The test program compiled, but did not run. This usually means"
38570 echo "*** that the run-time linker is not finding SDL or finding the wrong"
38571 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
38572 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
38573 echo "*** to the installed location Also, make sure you have run ldconfig if that"
38574 echo "*** is required on your system"
38576 echo "*** If you have an old version installed, it is best to remove it, although"
38577 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
38579 echo "$as_me: failed program was:" >&5
38580 sed 's/^/| /' conftest.
$ac_ext >&5
38582 echo "*** The test program failed to compile or link. See the file config.log for the"
38583 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
38584 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
38585 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
38587 rm -f conftest.err conftest.
$ac_objext \
38588 conftest
$ac_exeext conftest.
$ac_ext
38589 CFLAGS
="$ac_save_CFLAGS"
38590 CXXFLAGS
="$ac_save_CXXFLAGS"
38591 LIBS
="$ac_save_LIBS"
38602 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
38608 cat >>confdefs.h
<<\_ACEOF
38609 #define wxUSE_SOUND 1
38612 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
38615 if test "$WXGTK20" = 1; then
38616 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38617 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38622 if test -z "$PKG_CONFIG"; then
38623 # Extract the first word of "pkg-config", so it can be a program name with args.
38624 set dummy pkg
-config; ac_word
=$2
38625 echo "$as_me:$LINENO: checking for $ac_word" >&5
38626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38627 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
38628 echo $ECHO_N "(cached) $ECHO_C" >&6
38630 case $PKG_CONFIG in
38632 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
38635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38636 for as_dir
in $PATH
38639 test -z "$as_dir" && as_dir
=.
38640 for ac_exec_ext
in '' $ac_executable_extensions; do
38641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38642 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
38643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38649 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
38653 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
38655 if test -n "$PKG_CONFIG"; then
38656 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
38657 echo "${ECHO_T}$PKG_CONFIG" >&6
38659 echo "$as_me:$LINENO: result: no" >&5
38660 echo "${ECHO_T}no" >&6
38665 if test "$PKG_CONFIG" = "no" ; then
38666 echo "*** The pkg-config script could not be found. Make sure it is"
38667 echo "*** in your path, or set the PKG_CONFIG environment variable"
38668 echo "*** to the full path to pkg-config."
38669 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
38671 PKG_CONFIG_MIN_VERSION
=0.9.0
38672 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
38673 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
38674 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
38676 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
38677 echo "$as_me:$LINENO: result: yes" >&5
38678 echo "${ECHO_T}yes" >&6
38681 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
38682 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
38683 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
38684 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
38685 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
38687 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
38688 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
38689 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
38690 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
38691 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
38693 LIBGNOMEPRINTUI_CFLAGS
=""
38694 LIBGNOMEPRINTUI_LIBS
=""
38695 ## If we have a custom action on failure, don't print errors, but
38696 ## do set a variable so people can do so.
38697 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
38704 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
38705 echo "*** See http://www.freedesktop.org/software/pkgconfig"
38709 if test $succeeded = yes; then
38711 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
38712 cat >>confdefs.h
<<\_ACEOF
38713 #define wxUSE_LIBGNOMEPRINT 1
38719 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
38720 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
38721 wxUSE_LIBGNOMEPRINT
="no"
38731 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
38732 cat >>confdefs.h
<<\_ACEOF
38733 #define wxUSE_CMDLINE_PARSER 1
38738 if test "$wxUSE_STOPWATCH" = "yes"; then
38739 cat >>confdefs.h
<<\_ACEOF
38740 #define wxUSE_STOPWATCH 1
38745 if test "$wxUSE_DATETIME" = "yes"; then
38746 cat >>confdefs.h
<<\_ACEOF
38747 #define wxUSE_DATETIME 1
38752 if test "$wxUSE_FILE" = "yes"; then
38753 cat >>confdefs.h
<<\_ACEOF
38754 #define wxUSE_FILE 1
38759 if test "$wxUSE_FFILE" = "yes"; then
38760 cat >>confdefs.h
<<\_ACEOF
38761 #define wxUSE_FFILE 1
38766 if test "$wxUSE_FILESYSTEM" = "yes"; then
38767 cat >>confdefs.h
<<\_ACEOF
38768 #define wxUSE_FILESYSTEM 1
38773 if test "$wxUSE_FS_ZIP" = "yes"; then
38774 cat >>confdefs.h
<<\_ACEOF
38775 #define wxUSE_FS_ZIP 1
38780 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
38781 cat >>confdefs.h
<<\_ACEOF
38782 #define wxUSE_ARCHIVE_STREAMS 1
38787 if test "$wxUSE_ZIPSTREAM" = "yes"; then
38788 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
38789 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
38790 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
38791 elif test "$wxUSE_ZLIB" = "no"; then
38792 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
38793 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
38795 cat >>confdefs.h
<<\_ACEOF
38796 #define wxUSE_ZIPSTREAM 1
38802 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38803 if test "$USE_UNIX" != 1; then
38804 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
38805 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
38806 wxUSE_ON_FATAL_EXCEPTION
=no
38808 cat >>confdefs.h
<<\_ACEOF
38809 #define wxUSE_ON_FATAL_EXCEPTION 1
38815 if test "$wxUSE_STACKWALKER" = "yes"; then
38816 cat >>confdefs.h
<<\_ACEOF
38817 #define wxUSE_STACKWALKER 1
38822 if test "$wxUSE_DEBUGREPORT" = "yes"; then
38823 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
38824 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
38825 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
38826 wxUSE_DEBUGREPORT
=no
38828 cat >>confdefs.h
<<\_ACEOF
38829 #define wxUSE_DEBUGREPORT 1
38832 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
38838 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38839 cat >>confdefs.h
<<\_ACEOF
38840 #define wxUSE_SNGLINST_CHECKER 1
38845 if test "$wxUSE_BUSYINFO" = "yes"; then
38846 cat >>confdefs.h
<<\_ACEOF
38847 #define wxUSE_BUSYINFO 1
38852 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
38853 cat >>confdefs.h
<<\_ACEOF
38854 #define wxUSE_STD_IOSTREAM 1
38859 if test "$wxUSE_STD_STRING" = "yes"; then
38860 cat >>confdefs.h
<<\_ACEOF
38861 #define wxUSE_STD_STRING 1
38866 if test "$wxUSE_STDPATHS" = "yes"; then
38867 cat >>confdefs.h
<<\_ACEOF
38868 #define wxUSE_STDPATHS 1
38873 if test "$wxUSE_TEXTBUFFER" = "yes"; then
38874 cat >>confdefs.h
<<\_ACEOF
38875 #define wxUSE_TEXTBUFFER 1
38880 if test "$wxUSE_TEXTFILE" = "yes"; then
38881 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
38882 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
38883 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
38885 cat >>confdefs.h
<<\_ACEOF
38886 #define wxUSE_TEXTFILE 1
38892 if test "$wxUSE_CONFIG" = "yes" ; then
38893 if test "$wxUSE_TEXTFILE" != "yes"; then
38894 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
38895 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
38897 cat >>confdefs.h
<<\_ACEOF
38898 #define wxUSE_CONFIG 1
38901 cat >>confdefs.h
<<\_ACEOF
38902 #define wxUSE_CONFIG_NATIVE 1
38905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
38909 if test "$wxUSE_INTL" = "yes" ; then
38910 if test "$wxUSE_FILE" != "yes"; then
38911 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
38912 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
38914 cat >>confdefs.h
<<\_ACEOF
38915 #define wxUSE_INTL 1
38918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
38919 GUIDIST
="$GUIDIST INTL_DIST"
38923 if test "$wxUSE_LOG" = "yes"; then
38924 cat >>confdefs.h
<<\_ACEOF
38925 #define wxUSE_LOG 1
38929 if test "$wxUSE_LOGGUI" = "yes"; then
38930 cat >>confdefs.h
<<\_ACEOF
38931 #define wxUSE_LOGGUI 1
38936 if test "$wxUSE_LOGWINDOW" = "yes"; then
38937 cat >>confdefs.h
<<\_ACEOF
38938 #define wxUSE_LOGWINDOW 1
38943 if test "$wxUSE_LOGDIALOG" = "yes"; then
38944 cat >>confdefs.h
<<\_ACEOF
38945 #define wxUSE_LOG_DIALOG 1
38950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
38953 if test "$wxUSE_LONGLONG" = "yes"; then
38954 cat >>confdefs.h
<<\_ACEOF
38955 #define wxUSE_LONGLONG 1
38960 if test "$wxUSE_GEOMETRY" = "yes"; then
38961 cat >>confdefs.h
<<\_ACEOF
38962 #define wxUSE_GEOMETRY 1
38967 if test "$wxUSE_STREAMS" = "yes" ; then
38968 cat >>confdefs.h
<<\_ACEOF
38969 #define wxUSE_STREAMS 1
38975 if test "$wxUSE_DATETIME" = "yes"; then
38977 for ac_func
in strptime
38979 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38980 echo "$as_me:$LINENO: checking for $ac_func" >&5
38981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38982 if eval "test \"\${$as_ac_var+set}\" = set"; then
38983 echo $ECHO_N "(cached) $ECHO_C" >&6
38985 cat >conftest.
$ac_ext <<_ACEOF
38988 cat confdefs.h
>>conftest.
$ac_ext
38989 cat >>conftest.
$ac_ext <<_ACEOF
38990 /* end confdefs.h. */
38991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38993 #define $ac_func innocuous_$ac_func
38995 /* System header to define __stub macros and hopefully few prototypes,
38996 which can conflict with char $ac_func (); below.
38997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38998 <limits.h> exists even on freestanding compilers. */
39001 # include <limits.h>
39003 # include <assert.h>
39008 /* Override any gcc2 internal prototype to avoid an error. */
39013 /* We use char because int might match the return type of a gcc2
39014 builtin and then its argument prototype would still apply. */
39016 /* The GNU C library defines this for functions which it implements
39017 to always fail with ENOSYS. Some functions are actually named
39018 something starting with __ and the normal name is an alias. */
39019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39022 char (*f) () = $ac_func;
39031 return f != $ac_func;
39036 rm -f conftest.
$ac_objext conftest
$ac_exeext
39037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39038 (eval $ac_link) 2>conftest.er1
39040 grep -v '^ *+' conftest.er1
>conftest.err
39042 cat conftest.err
>&5
39043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39044 (exit $ac_status); } &&
39045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39047 (eval $ac_try) 2>&5
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); }; } &&
39051 { ac_try
='test -s conftest$ac_exeext'
39052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39053 (eval $ac_try) 2>&5
39055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056 (exit $ac_status); }; }; then
39057 eval "$as_ac_var=yes"
39059 echo "$as_me: failed program was:" >&5
39060 sed 's/^/| /' conftest.
$ac_ext >&5
39062 eval "$as_ac_var=no"
39064 rm -f conftest.err conftest.
$ac_objext \
39065 conftest
$ac_exeext conftest.
$ac_ext
39067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39069 if test `eval echo '${'$as_ac_var'}'` = yes; then
39070 cat >>confdefs.h
<<_ACEOF
39071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39077 if test "$ac_cv_func_strptime" = "yes"; then
39078 echo "$as_me:$LINENO: checking for strptime declaration" >&5
39079 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
39080 if test "${wx_cv_func_strptime_decl+set}" = set; then
39081 echo $ECHO_N "(cached) $ECHO_C" >&6
39087 ac_cpp
='$CXXCPP $CPPFLAGS'
39088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39092 cat >conftest.
$ac_ext <<_ACEOF
39095 cat confdefs.h
>>conftest.
$ac_ext
39096 cat >>conftest.
$ac_ext <<_ACEOF
39097 /* end confdefs.h. */
39106 strptime("foo", "bar", &t);
39112 rm -f conftest.
$ac_objext
39113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39114 (eval $ac_compile) 2>conftest.er1
39116 grep -v '^ *+' conftest.er1
>conftest.err
39118 cat conftest.err
>&5
39119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39120 (exit $ac_status); } &&
39121 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39123 (eval $ac_try) 2>&5
39125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39126 (exit $ac_status); }; } &&
39127 { ac_try
='test -s conftest.$ac_objext'
39128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39129 (eval $ac_try) 2>&5
39131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39132 (exit $ac_status); }; }; then
39133 wx_cv_func_strptime_decl
=yes
39135 echo "$as_me: failed program was:" >&5
39136 sed 's/^/| /' conftest.
$ac_ext >&5
39138 wx_cv_func_strptime_decl
=no
39141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39143 ac_cpp
='$CPP $CPPFLAGS'
39144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39151 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
39152 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
39154 if test "$wx_cv_func_strptime_decl" = "yes"; then
39155 cat >>confdefs.h
<<\_ACEOF
39156 #define HAVE_STRPTIME_DECL 1
39161 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
39162 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
39163 if test "${wx_cv_var_timezone+set}" = set; then
39164 echo $ECHO_N "(cached) $ECHO_C" >&6
39167 cat >conftest.
$ac_ext <<_ACEOF
39170 cat confdefs.h
>>conftest.
$ac_ext
39171 cat >>conftest.
$ac_ext <<_ACEOF
39172 /* end confdefs.h. */
39187 rm -f conftest.
$ac_objext
39188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39189 (eval $ac_compile) 2>conftest.er1
39191 grep -v '^ *+' conftest.er1
>conftest.err
39193 cat conftest.err
>&5
39194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39195 (exit $ac_status); } &&
39196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39198 (eval $ac_try) 2>&5
39200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39201 (exit $ac_status); }; } &&
39202 { ac_try
='test -s conftest.$ac_objext'
39203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39204 (eval $ac_try) 2>&5
39206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39207 (exit $ac_status); }; }; then
39209 wx_cv_var_timezone
=timezone
39212 echo "$as_me: failed program was:" >&5
39213 sed 's/^/| /' conftest.
$ac_ext >&5
39216 cat >conftest.
$ac_ext <<_ACEOF
39219 cat confdefs.h
>>conftest.
$ac_ext
39220 cat >>conftest.
$ac_ext <<_ACEOF
39221 /* end confdefs.h. */
39236 rm -f conftest.
$ac_objext
39237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39238 (eval $ac_compile) 2>conftest.er1
39240 grep -v '^ *+' conftest.er1
>conftest.err
39242 cat conftest.err
>&5
39243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39244 (exit $ac_status); } &&
39245 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39247 (eval $ac_try) 2>&5
39249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39250 (exit $ac_status); }; } &&
39251 { ac_try
='test -s conftest.$ac_objext'
39252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39253 (eval $ac_try) 2>&5
39255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39256 (exit $ac_status); }; }; then
39258 wx_cv_var_timezone
=_timezone
39261 echo "$as_me: failed program was:" >&5
39262 sed 's/^/| /' conftest.
$ac_ext >&5
39265 cat >conftest.
$ac_ext <<_ACEOF
39268 cat confdefs.h
>>conftest.
$ac_ext
39269 cat >>conftest.
$ac_ext <<_ACEOF
39270 /* end confdefs.h. */
39285 rm -f conftest.
$ac_objext
39286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39287 (eval $ac_compile) 2>conftest.er1
39289 grep -v '^ *+' conftest.er1
>conftest.err
39291 cat conftest.err
>&5
39292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39293 (exit $ac_status); } &&
39294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39296 (eval $ac_try) 2>&5
39298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39299 (exit $ac_status); }; } &&
39300 { ac_try
='test -s conftest.$ac_objext'
39301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39302 (eval $ac_try) 2>&5
39304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39305 (exit $ac_status); }; }; then
39307 wx_cv_var_timezone
=__timezone
39310 echo "$as_me: failed program was:" >&5
39311 sed 's/^/| /' conftest.
$ac_ext >&5
39314 if test "$USE_DOS" = 0 ; then
39315 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
39316 echo "$as_me: WARNING: no timezone variable" >&2;}
39321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39333 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
39334 echo "${ECHO_T}$wx_cv_var_timezone" >&6
39336 if test "x$wx_cv_var_timezone" != x
; then
39337 cat >>confdefs.h
<<_ACEOF
39338 #define WX_TIMEZONE $wx_cv_var_timezone
39344 for ac_func
in localtime
39346 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39347 echo "$as_me:$LINENO: checking for $ac_func" >&5
39348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39349 if eval "test \"\${$as_ac_var+set}\" = set"; then
39350 echo $ECHO_N "(cached) $ECHO_C" >&6
39352 cat >conftest.
$ac_ext <<_ACEOF
39355 cat confdefs.h
>>conftest.
$ac_ext
39356 cat >>conftest.
$ac_ext <<_ACEOF
39357 /* end confdefs.h. */
39358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39360 #define $ac_func innocuous_$ac_func
39362 /* System header to define __stub macros and hopefully few prototypes,
39363 which can conflict with char $ac_func (); below.
39364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39365 <limits.h> exists even on freestanding compilers. */
39368 # include <limits.h>
39370 # include <assert.h>
39375 /* Override any gcc2 internal prototype to avoid an error. */
39380 /* We use char because int might match the return type of a gcc2
39381 builtin and then its argument prototype would still apply. */
39383 /* The GNU C library defines this for functions which it implements
39384 to always fail with ENOSYS. Some functions are actually named
39385 something starting with __ and the normal name is an alias. */
39386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39389 char (*f) () = $ac_func;
39398 return f != $ac_func;
39403 rm -f conftest.
$ac_objext conftest
$ac_exeext
39404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39405 (eval $ac_link) 2>conftest.er1
39407 grep -v '^ *+' conftest.er1
>conftest.err
39409 cat conftest.err
>&5
39410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39411 (exit $ac_status); } &&
39412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39414 (eval $ac_try) 2>&5
39416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39417 (exit $ac_status); }; } &&
39418 { ac_try
='test -s conftest$ac_exeext'
39419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39420 (eval $ac_try) 2>&5
39422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39423 (exit $ac_status); }; }; then
39424 eval "$as_ac_var=yes"
39426 echo "$as_me: failed program was:" >&5
39427 sed 's/^/| /' conftest.
$ac_ext >&5
39429 eval "$as_ac_var=no"
39431 rm -f conftest.err conftest.
$ac_objext \
39432 conftest
$ac_exeext conftest.
$ac_ext
39434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39436 if test `eval echo '${'$as_ac_var'}'` = yes; then
39437 cat >>confdefs.h
<<_ACEOF
39438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39445 if test "$ac_cv_func_localtime" = "yes"; then
39446 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
39447 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
39448 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
39449 echo $ECHO_N "(cached) $ECHO_C" >&6
39452 cat >conftest.
$ac_ext <<_ACEOF
39455 cat confdefs.h
>>conftest.
$ac_ext
39456 cat >>conftest.
$ac_ext <<_ACEOF
39457 /* end confdefs.h. */
39472 rm -f conftest.
$ac_objext
39473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39474 (eval $ac_compile) 2>conftest.er1
39476 grep -v '^ *+' conftest.er1
>conftest.err
39478 cat conftest.err
>&5
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); } &&
39481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39483 (eval $ac_try) 2>&5
39485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39486 (exit $ac_status); }; } &&
39487 { ac_try
='test -s conftest.$ac_objext'
39488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39489 (eval $ac_try) 2>&5
39491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39492 (exit $ac_status); }; }; then
39494 wx_cv_struct_tm_has_gmtoff
=yes
39497 echo "$as_me: failed program was:" >&5
39498 sed 's/^/| /' conftest.
$ac_ext >&5
39500 wx_cv_struct_tm_has_gmtoff
=no
39503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39506 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
39507 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
39510 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
39511 cat >>confdefs.h
<<\_ACEOF
39512 #define WX_GMTOFF_IN_TM 1
39519 for ac_func
in gettimeofday ftime
39521 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39522 echo "$as_me:$LINENO: checking for $ac_func" >&5
39523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39524 if eval "test \"\${$as_ac_var+set}\" = set"; then
39525 echo $ECHO_N "(cached) $ECHO_C" >&6
39527 cat >conftest.
$ac_ext <<_ACEOF
39530 cat confdefs.h
>>conftest.
$ac_ext
39531 cat >>conftest.
$ac_ext <<_ACEOF
39532 /* end confdefs.h. */
39533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39535 #define $ac_func innocuous_$ac_func
39537 /* System header to define __stub macros and hopefully few prototypes,
39538 which can conflict with char $ac_func (); below.
39539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39540 <limits.h> exists even on freestanding compilers. */
39543 # include <limits.h>
39545 # include <assert.h>
39550 /* Override any gcc2 internal prototype to avoid an error. */
39555 /* We use char because int might match the return type of a gcc2
39556 builtin and then its argument prototype would still apply. */
39558 /* The GNU C library defines this for functions which it implements
39559 to always fail with ENOSYS. Some functions are actually named
39560 something starting with __ and the normal name is an alias. */
39561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39564 char (*f) () = $ac_func;
39573 return f != $ac_func;
39578 rm -f conftest.
$ac_objext conftest
$ac_exeext
39579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39580 (eval $ac_link) 2>conftest.er1
39582 grep -v '^ *+' conftest.er1
>conftest.err
39584 cat conftest.err
>&5
39585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39586 (exit $ac_status); } &&
39587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39589 (eval $ac_try) 2>&5
39591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39592 (exit $ac_status); }; } &&
39593 { ac_try
='test -s conftest$ac_exeext'
39594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39595 (eval $ac_try) 2>&5
39597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39598 (exit $ac_status); }; }; then
39599 eval "$as_ac_var=yes"
39601 echo "$as_me: failed program was:" >&5
39602 sed 's/^/| /' conftest.
$ac_ext >&5
39604 eval "$as_ac_var=no"
39606 rm -f conftest.err conftest.
$ac_objext \
39607 conftest
$ac_exeext conftest.
$ac_ext
39609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39611 if test `eval echo '${'$as_ac_var'}'` = yes; then
39612 cat >>confdefs.h
<<_ACEOF
39613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39620 if test "$ac_cv_func_gettimeofday" = "yes"; then
39621 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
39622 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
39623 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
39624 echo $ECHO_N "(cached) $ECHO_C" >&6
39630 ac_cpp
='$CXXCPP $CPPFLAGS'
39631 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39632 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39633 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39636 cat >conftest.
$ac_ext <<_ACEOF
39639 cat confdefs.h
>>conftest.
$ac_ext
39640 cat >>conftest.
$ac_ext <<_ACEOF
39641 /* end confdefs.h. */
39643 #include <sys/time.h>
39644 #include <unistd.h>
39651 gettimeofday(&tv, NULL);
39657 rm -f conftest.
$ac_objext
39658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39659 (eval $ac_compile) 2>conftest.er1
39661 grep -v '^ *+' conftest.er1
>conftest.err
39663 cat conftest.err
>&5
39664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665 (exit $ac_status); } &&
39666 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39668 (eval $ac_try) 2>&5
39670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39671 (exit $ac_status); }; } &&
39672 { ac_try
='test -s conftest.$ac_objext'
39673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39674 (eval $ac_try) 2>&5
39676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39677 (exit $ac_status); }; }; then
39678 wx_cv_func_gettimeofday_has_2_args
=yes
39680 echo "$as_me: failed program was:" >&5
39681 sed 's/^/| /' conftest.
$ac_ext >&5
39683 cat >conftest.
$ac_ext <<_ACEOF
39686 cat confdefs.h
>>conftest.
$ac_ext
39687 cat >>conftest.
$ac_ext <<_ACEOF
39688 /* end confdefs.h. */
39690 #include <sys/time.h>
39691 #include <unistd.h>
39704 rm -f conftest.
$ac_objext
39705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39706 (eval $ac_compile) 2>conftest.er1
39708 grep -v '^ *+' conftest.er1
>conftest.err
39710 cat conftest.err
>&5
39711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39712 (exit $ac_status); } &&
39713 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39715 (eval $ac_try) 2>&5
39717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39718 (exit $ac_status); }; } &&
39719 { ac_try
='test -s conftest.$ac_objext'
39720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39721 (eval $ac_try) 2>&5
39723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39724 (exit $ac_status); }; }; then
39725 wx_cv_func_gettimeofday_has_2_args
=no
39727 echo "$as_me: failed program was:" >&5
39728 sed 's/^/| /' conftest.
$ac_ext >&5
39731 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
39732 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
39733 wx_cv_func_gettimeofday_has_2_args
=unknown
39737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39742 ac_cpp
='$CPP $CPPFLAGS'
39743 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39744 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39745 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39749 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
39750 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
39752 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
39753 cat >>confdefs.h
<<\_ACEOF
39754 #define WX_GETTIMEOFDAY_NO_TZ 1
39760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
39764 if test "$wxUSE_SOCKETS" = "yes"; then
39765 if test "$wxUSE_MGL" = "1"; then
39766 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
39767 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
39772 if test "$wxUSE_SOCKETS" = "yes"; then
39773 if test "$TOOLKIT" != "MSW"; then
39774 echo "$as_me:$LINENO: checking for socket" >&5
39775 echo $ECHO_N "checking for socket... $ECHO_C" >&6
39776 if test "${ac_cv_func_socket+set}" = set; then
39777 echo $ECHO_N "(cached) $ECHO_C" >&6
39779 cat >conftest.
$ac_ext <<_ACEOF
39782 cat confdefs.h
>>conftest.
$ac_ext
39783 cat >>conftest.
$ac_ext <<_ACEOF
39784 /* end confdefs.h. */
39785 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
39786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39787 #define socket innocuous_socket
39789 /* System header to define __stub macros and hopefully few prototypes,
39790 which can conflict with char socket (); below.
39791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39792 <limits.h> exists even on freestanding compilers. */
39795 # include <limits.h>
39797 # include <assert.h>
39802 /* Override any gcc2 internal prototype to avoid an error. */
39807 /* We use char because int might match the return type of a gcc2
39808 builtin and then its argument prototype would still apply. */
39810 /* The GNU C library defines this for functions which it implements
39811 to always fail with ENOSYS. Some functions are actually named
39812 something starting with __ and the normal name is an alias. */
39813 #if defined (__stub_socket) || defined (__stub___socket)
39816 char (*f) () = socket;
39825 return f != socket;
39830 rm -f conftest.
$ac_objext conftest
$ac_exeext
39831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39832 (eval $ac_link) 2>conftest.er1
39834 grep -v '^ *+' conftest.er1
>conftest.err
39836 cat conftest.err
>&5
39837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39838 (exit $ac_status); } &&
39839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39841 (eval $ac_try) 2>&5
39843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39844 (exit $ac_status); }; } &&
39845 { ac_try
='test -s conftest$ac_exeext'
39846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39847 (eval $ac_try) 2>&5
39849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850 (exit $ac_status); }; }; then
39851 ac_cv_func_socket
=yes
39853 echo "$as_me: failed program was:" >&5
39854 sed 's/^/| /' conftest.
$ac_ext >&5
39856 ac_cv_func_socket
=no
39858 rm -f conftest.err conftest.
$ac_objext \
39859 conftest
$ac_exeext conftest.
$ac_ext
39861 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
39862 echo "${ECHO_T}$ac_cv_func_socket" >&6
39863 if test $ac_cv_func_socket = yes; then
39867 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
39868 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
39869 if test "${ac_cv_lib_socket_socket+set}" = set; then
39870 echo $ECHO_N "(cached) $ECHO_C" >&6
39872 ac_check_lib_save_LIBS
=$LIBS
39873 LIBS
="-lsocket $LIBS"
39874 cat >conftest.
$ac_ext <<_ACEOF
39877 cat confdefs.h
>>conftest.
$ac_ext
39878 cat >>conftest.
$ac_ext <<_ACEOF
39879 /* end confdefs.h. */
39881 /* Override any gcc2 internal prototype to avoid an error. */
39885 /* We use char because int might match the return type of a gcc2
39886 builtin and then its argument prototype would still apply. */
39896 rm -f conftest.
$ac_objext conftest
$ac_exeext
39897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39898 (eval $ac_link) 2>conftest.er1
39900 grep -v '^ *+' conftest.er1
>conftest.err
39902 cat conftest.err
>&5
39903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39904 (exit $ac_status); } &&
39905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39907 (eval $ac_try) 2>&5
39909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39910 (exit $ac_status); }; } &&
39911 { ac_try
='test -s conftest$ac_exeext'
39912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39913 (eval $ac_try) 2>&5
39915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39916 (exit $ac_status); }; }; then
39917 ac_cv_lib_socket_socket
=yes
39919 echo "$as_me: failed program was:" >&5
39920 sed 's/^/| /' conftest.
$ac_ext >&5
39922 ac_cv_lib_socket_socket
=no
39924 rm -f conftest.err conftest.
$ac_objext \
39925 conftest
$ac_exeext conftest.
$ac_ext
39926 LIBS
=$ac_check_lib_save_LIBS
39928 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
39929 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
39930 if test $ac_cv_lib_socket_socket = yes; then
39931 if test "$INET_LINK" != " -lsocket"; then
39932 INET_LINK
="$INET_LINK -lsocket"
39936 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
39937 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
39950 if test "$wxUSE_SOCKETS" = "yes" ; then
39951 if test "$TOOLKIT" != "MSW"; then
39953 ac_cpp
='$CXXCPP $CPPFLAGS'
39954 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39955 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39956 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39958 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
39959 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
39960 if test "${wx_cv_type_getsockname3+set}" = set; then
39961 echo $ECHO_N "(cached) $ECHO_C" >&6
39964 cat >conftest.
$ac_ext <<_ACEOF
39967 cat confdefs.h
>>conftest.
$ac_ext
39968 cat >>conftest.
$ac_ext <<_ACEOF
39969 /* end confdefs.h. */
39971 #include <sys/types.h>
39972 #include <sys/socket.h>
39979 getsockname(0, 0, &len);
39985 rm -f conftest.
$ac_objext
39986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39987 (eval $ac_compile) 2>conftest.er1
39989 grep -v '^ *+' conftest.er1
>conftest.err
39991 cat conftest.err
>&5
39992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39993 (exit $ac_status); } &&
39994 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39996 (eval $ac_try) 2>&5
39998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39999 (exit $ac_status); }; } &&
40000 { ac_try
='test -s conftest.$ac_objext'
40001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40002 (eval $ac_try) 2>&5
40004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40005 (exit $ac_status); }; }; then
40006 wx_cv_type_getsockname3
=socklen_t
40008 echo "$as_me: failed program was:" >&5
40009 sed 's/^/| /' conftest.
$ac_ext >&5
40012 CXXFLAGS_OLD
="$CXXFLAGS"
40013 if test "$GCC" = yes ; then
40014 CXXFLAGS
="$CXXFLAGS -Werror"
40017 cat >conftest.
$ac_ext <<_ACEOF
40020 cat confdefs.h
>>conftest.
$ac_ext
40021 cat >>conftest.
$ac_ext <<_ACEOF
40022 /* end confdefs.h. */
40024 #include <sys/types.h>
40025 #include <sys/socket.h>
40032 getsockname(0, 0, &len);
40038 rm -f conftest.
$ac_objext
40039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40040 (eval $ac_compile) 2>conftest.er1
40042 grep -v '^ *+' conftest.er1
>conftest.err
40044 cat conftest.err
>&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); } &&
40047 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40049 (eval $ac_try) 2>&5
40051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40052 (exit $ac_status); }; } &&
40053 { ac_try
='test -s conftest.$ac_objext'
40054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40055 (eval $ac_try) 2>&5
40057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40058 (exit $ac_status); }; }; then
40059 wx_cv_type_getsockname3
=size_t
40061 echo "$as_me: failed program was:" >&5
40062 sed 's/^/| /' conftest.
$ac_ext >&5
40064 cat >conftest.
$ac_ext <<_ACEOF
40067 cat confdefs.h
>>conftest.
$ac_ext
40068 cat >>conftest.
$ac_ext <<_ACEOF
40069 /* end confdefs.h. */
40071 #include <sys/types.h>
40072 #include <sys/socket.h>
40079 getsockname(0, 0, &len);
40085 rm -f conftest.
$ac_objext
40086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40087 (eval $ac_compile) 2>conftest.er1
40089 grep -v '^ *+' conftest.er1
>conftest.err
40091 cat conftest.err
>&5
40092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40093 (exit $ac_status); } &&
40094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40096 (eval $ac_try) 2>&5
40098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40099 (exit $ac_status); }; } &&
40100 { ac_try
='test -s conftest.$ac_objext'
40101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40102 (eval $ac_try) 2>&5
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); }; }; then
40106 wx_cv_type_getsockname3
=int
40108 echo "$as_me: failed program was:" >&5
40109 sed 's/^/| /' conftest.
$ac_ext >&5
40111 wx_cv_type_getsockname3
=unknown
40114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40119 CXXFLAGS
="$CXXFLAGS_OLD"
40123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40126 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
40127 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
40129 if test "$wx_cv_type_getsockname3" = "unknown"; then
40131 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40132 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40134 cat >>confdefs.h
<<_ACEOF
40135 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
40139 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
40140 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
40141 if test "${wx_cv_type_getsockopt5+set}" = set; then
40142 echo $ECHO_N "(cached) $ECHO_C" >&6
40145 cat >conftest.
$ac_ext <<_ACEOF
40148 cat confdefs.h
>>conftest.
$ac_ext
40149 cat >>conftest.
$ac_ext <<_ACEOF
40150 /* end confdefs.h. */
40152 #include <sys/types.h>
40153 #include <sys/socket.h>
40160 getsockopt(0, 0, 0, 0, &len);
40166 rm -f conftest.
$ac_objext
40167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40168 (eval $ac_compile) 2>conftest.er1
40170 grep -v '^ *+' conftest.er1
>conftest.err
40172 cat conftest.err
>&5
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); } &&
40175 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40177 (eval $ac_try) 2>&5
40179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40180 (exit $ac_status); }; } &&
40181 { ac_try
='test -s conftest.$ac_objext'
40182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40183 (eval $ac_try) 2>&5
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); }; }; then
40187 wx_cv_type_getsockopt5
=socklen_t
40189 echo "$as_me: failed program was:" >&5
40190 sed 's/^/| /' conftest.
$ac_ext >&5
40193 CXXFLAGS_OLD
="$CXXFLAGS"
40194 if test "$GCC" = yes ; then
40195 CXXFLAGS
="$CXXFLAGS -Werror"
40198 cat >conftest.
$ac_ext <<_ACEOF
40201 cat confdefs.h
>>conftest.
$ac_ext
40202 cat >>conftest.
$ac_ext <<_ACEOF
40203 /* end confdefs.h. */
40205 #include <sys/types.h>
40206 #include <sys/socket.h>
40213 getsockopt(0, 0, 0, 0, &len);
40219 rm -f conftest.
$ac_objext
40220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40221 (eval $ac_compile) 2>conftest.er1
40223 grep -v '^ *+' conftest.er1
>conftest.err
40225 cat conftest.err
>&5
40226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40227 (exit $ac_status); } &&
40228 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40230 (eval $ac_try) 2>&5
40232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40233 (exit $ac_status); }; } &&
40234 { ac_try
='test -s conftest.$ac_objext'
40235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40236 (eval $ac_try) 2>&5
40238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40239 (exit $ac_status); }; }; then
40240 wx_cv_type_getsockopt5
=size_t
40242 echo "$as_me: failed program was:" >&5
40243 sed 's/^/| /' conftest.
$ac_ext >&5
40245 cat >conftest.
$ac_ext <<_ACEOF
40248 cat confdefs.h
>>conftest.
$ac_ext
40249 cat >>conftest.
$ac_ext <<_ACEOF
40250 /* end confdefs.h. */
40252 #include <sys/types.h>
40253 #include <sys/socket.h>
40260 getsockopt(0, 0, 0, 0, &len);
40266 rm -f conftest.
$ac_objext
40267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40268 (eval $ac_compile) 2>conftest.er1
40270 grep -v '^ *+' conftest.er1
>conftest.err
40272 cat conftest.err
>&5
40273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274 (exit $ac_status); } &&
40275 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40277 (eval $ac_try) 2>&5
40279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); }; } &&
40281 { ac_try
='test -s conftest.$ac_objext'
40282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40283 (eval $ac_try) 2>&5
40285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40286 (exit $ac_status); }; }; then
40287 wx_cv_type_getsockopt5
=int
40289 echo "$as_me: failed program was:" >&5
40290 sed 's/^/| /' conftest.
$ac_ext >&5
40292 wx_cv_type_getsockopt5
=unknown
40295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40300 CXXFLAGS
="$CXXFLAGS_OLD"
40304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40307 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
40308 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
40310 if test "$wx_cv_type_getsockopt5" = "unknown"; then
40312 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40313 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40315 cat >>confdefs.h
<<_ACEOF
40316 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
40321 ac_cpp
='$CPP $CPPFLAGS'
40322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40329 if test "$wxUSE_SOCKETS" = "yes" ; then
40330 cat >>confdefs.h
<<\_ACEOF
40331 #define wxUSE_SOCKETS 1
40334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
40337 if test "$wxUSE_PROTOCOL" = "yes"; then
40338 if test "$wxUSE_SOCKETS" != "yes"; then
40339 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
40340 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
40345 if test "$wxUSE_PROTOCOL" = "yes"; then
40346 cat >>confdefs.h
<<\_ACEOF
40347 #define wxUSE_PROTOCOL 1
40351 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
40352 cat >>confdefs.h
<<\_ACEOF
40353 #define wxUSE_PROTOCOL_HTTP 1
40357 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
40358 cat >>confdefs.h
<<\_ACEOF
40359 #define wxUSE_PROTOCOL_FTP 1
40363 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
40364 cat >>confdefs.h
<<\_ACEOF
40365 #define wxUSE_PROTOCOL_FILE 1
40370 if test "$wxUSE_FS_INET" = "yes"; then
40371 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
40372 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
40377 if test "$wxUSE_URL" = "yes"; then
40378 if test "$wxUSE_PROTOCOL" != "yes"; then
40379 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
40380 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
40383 if test "$wxUSE_URL" = "yes"; then
40384 cat >>confdefs.h
<<\_ACEOF
40385 #define wxUSE_URL 1
40391 if test "$wxUSE_FS_INET" = "yes"; then
40392 cat >>confdefs.h
<<\_ACEOF
40393 #define wxUSE_FS_INET 1
40399 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
40402 if test "$TOOLKIT" = "MSW"; then
40405 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
40406 if test "$USE_DARWIN" = 1; then
40407 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
40408 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
40410 ac_cpp
='$CXXCPP $CPPFLAGS'
40411 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40412 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40413 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40415 cat >conftest.
$ac_ext <<_ACEOF
40418 cat confdefs.h
>>conftest.
$ac_ext
40419 cat >>conftest.
$ac_ext <<_ACEOF
40420 /* end confdefs.h. */
40421 #include <IOKit/hid/IOHIDLib.h>
40425 IOHIDQueueInterface *qi = NULL;
40426 IOHIDCallbackFunction cb = NULL;
40427 qi->setEventCallout(NULL, cb, NULL, NULL);
40432 rm -f conftest.
$ac_objext
40433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40434 (eval $ac_compile) 2>conftest.er1
40436 grep -v '^ *+' conftest.er1
>conftest.err
40438 cat conftest.err
>&5
40439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40440 (exit $ac_status); } &&
40441 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40443 (eval $ac_try) 2>&5
40445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40446 (exit $ac_status); }; } &&
40447 { ac_try
='test -s conftest.$ac_objext'
40448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40449 (eval $ac_try) 2>&5
40451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40452 (exit $ac_status); }; }; then
40456 echo "$as_me: failed program was:" >&5
40457 sed 's/^/| /' conftest.
$ac_ext >&5
40460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40462 ac_cpp
='$CPP $CPPFLAGS'
40463 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40464 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40465 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40467 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
40468 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
40473 for ac_header
in linux
/joystick.h
40475 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40477 echo "$as_me:$LINENO: checking for $ac_header" >&5
40478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40480 echo $ECHO_N "(cached) $ECHO_C" >&6
40482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40485 # Is the header compilable?
40486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40488 cat >conftest.
$ac_ext <<_ACEOF
40491 cat confdefs.h
>>conftest.
$ac_ext
40492 cat >>conftest.
$ac_ext <<_ACEOF
40493 /* end confdefs.h. */
40494 $ac_includes_default
40495 #include <$ac_header>
40497 rm -f conftest.
$ac_objext
40498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40499 (eval $ac_compile) 2>conftest.er1
40501 grep -v '^ *+' conftest.er1
>conftest.err
40503 cat conftest.err
>&5
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); } &&
40506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40508 (eval $ac_try) 2>&5
40510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511 (exit $ac_status); }; } &&
40512 { ac_try
='test -s conftest.$ac_objext'
40513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40514 (eval $ac_try) 2>&5
40516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40517 (exit $ac_status); }; }; then
40518 ac_header_compiler
=yes
40520 echo "$as_me: failed program was:" >&5
40521 sed 's/^/| /' conftest.
$ac_ext >&5
40523 ac_header_compiler
=no
40525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40527 echo "${ECHO_T}$ac_header_compiler" >&6
40529 # Is the header present?
40530 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40531 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40532 cat >conftest.
$ac_ext <<_ACEOF
40535 cat confdefs.h
>>conftest.
$ac_ext
40536 cat >>conftest.
$ac_ext <<_ACEOF
40537 /* end confdefs.h. */
40538 #include <$ac_header>
40540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40541 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
40543 grep -v '^ *+' conftest.er1
>conftest.err
40545 cat conftest.err
>&5
40546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40547 (exit $ac_status); } >/dev
/null
; then
40548 if test -s conftest.err
; then
40549 ac_cpp_err
=$ac_c_preproc_warn_flag
40550 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
40557 if test -z "$ac_cpp_err"; then
40558 ac_header_preproc
=yes
40560 echo "$as_me: failed program was:" >&5
40561 sed 's/^/| /' conftest.
$ac_ext >&5
40563 ac_header_preproc
=no
40565 rm -f conftest.err conftest.
$ac_ext
40566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40567 echo "${ECHO_T}$ac_header_preproc" >&6
40569 # So? What about this header?
40570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40576 ac_header_preproc
=yes
40579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40593 ## ----------------------------------------- ##
40594 ## Report this to wx-dev@lists.wxwidgets.org ##
40595 ## ----------------------------------------- ##
40598 sed "s/^/$as_me: WARNING: /" >&2
40601 echo "$as_me:$LINENO: checking for $ac_header" >&5
40602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40604 echo $ECHO_N "(cached) $ECHO_C" >&6
40606 eval "$as_ac_Header=\$ac_header_preproc"
40608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40613 cat >>confdefs.h
<<_ACEOF
40614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40623 if test "$wxUSE_JOYSTICK" = "yes"; then
40624 cat >>confdefs.h
<<\_ACEOF
40625 #define wxUSE_JOYSTICK 1
40628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
40630 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
40631 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
40637 if test "$wxUSE_FONTMAP" = "yes" ; then
40638 cat >>confdefs.h
<<\_ACEOF
40639 #define wxUSE_FONTMAP 1
40644 if test "$wxUSE_UNICODE" = "yes" ; then
40645 cat >>confdefs.h
<<\_ACEOF
40646 #define wxUSE_UNICODE 1
40650 if test "$USE_WIN32" != 1; then
40651 wxUSE_UNICODE_MSLU
=no
40654 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
40655 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
40656 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
40657 if test "${ac_cv_lib_unicows_main+set}" = set; then
40658 echo $ECHO_N "(cached) $ECHO_C" >&6
40660 ac_check_lib_save_LIBS
=$LIBS
40661 LIBS
="-lunicows $LIBS"
40662 cat >conftest.
$ac_ext <<_ACEOF
40665 cat confdefs.h
>>conftest.
$ac_ext
40666 cat >>conftest.
$ac_ext <<_ACEOF
40667 /* end confdefs.h. */
40678 rm -f conftest.
$ac_objext conftest
$ac_exeext
40679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40680 (eval $ac_link) 2>conftest.er1
40682 grep -v '^ *+' conftest.er1
>conftest.err
40684 cat conftest.err
>&5
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); } &&
40687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40689 (eval $ac_try) 2>&5
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); }; } &&
40693 { ac_try
='test -s conftest$ac_exeext'
40694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40695 (eval $ac_try) 2>&5
40697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40698 (exit $ac_status); }; }; then
40699 ac_cv_lib_unicows_main
=yes
40701 echo "$as_me: failed program was:" >&5
40702 sed 's/^/| /' conftest.
$ac_ext >&5
40704 ac_cv_lib_unicows_main
=no
40706 rm -f conftest.err conftest.
$ac_objext \
40707 conftest
$ac_exeext conftest.
$ac_ext
40708 LIBS
=$ac_check_lib_save_LIBS
40710 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
40711 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
40712 if test $ac_cv_lib_unicows_main = yes; then
40714 cat >>confdefs.h
<<\_ACEOF
40715 #define wxUSE_UNICODE_MSLU 1
40721 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
40722 Applications will only run on Windows NT/2000/XP!" >&5
40723 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
40724 Applications will only run on Windows NT/2000/XP!" >&2;}
40725 wxUSE_UNICODE_MSLU
=no
40732 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
40733 cat >>confdefs.h
<<\_ACEOF
40734 #define wxUSE_EXPERIMENTAL_PRINTF 1
40740 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
40741 cat >>confdefs.h
<<\_ACEOF
40742 #define wxUSE_POSTSCRIPT 1
40747 cat >>confdefs.h
<<\_ACEOF
40748 #define wxUSE_AFM_FOR_POSTSCRIPT 1
40752 cat >>confdefs.h
<<\_ACEOF
40753 #define wxUSE_NORMALIZED_PS_FONTS 1
40758 if test "$wxUSE_CONSTRAINTS" = "yes"; then
40759 cat >>confdefs.h
<<\_ACEOF
40760 #define wxUSE_CONSTRAINTS 1
40763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
40766 if test "$wxUSE_MDI" = "yes"; then
40767 cat >>confdefs.h
<<\_ACEOF
40768 #define wxUSE_MDI 1
40772 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
40773 cat >>confdefs.h
<<\_ACEOF
40774 #define wxUSE_MDI_ARCHITECTURE 1
40777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
40781 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
40782 cat >>confdefs.h
<<\_ACEOF
40783 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
40786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
40787 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
40788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
40792 if test "$wxUSE_HELP" = "yes"; then
40793 cat >>confdefs.h
<<\_ACEOF
40794 #define wxUSE_HELP 1
40797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
40799 if test "$wxUSE_MSW" = 1; then
40800 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
40801 cat >>confdefs.h
<<\_ACEOF
40802 #define wxUSE_MS_HTML_HELP 1
40808 if test "$wxUSE_WXHTML_HELP" = "yes"; then
40809 if test "$wxUSE_HTML" = "yes"; then
40810 cat >>confdefs.h
<<\_ACEOF
40811 #define wxUSE_WXHTML_HELP 1
40815 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
40816 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
40817 wxUSE_WXHTML_HELP
=no
40822 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40823 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40824 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
40825 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
40827 cat >>confdefs.h
<<\_ACEOF
40828 #define wxUSE_PRINTING_ARCHITECTURE 1
40832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
40835 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
40836 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
40837 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
40838 { (exit 1); exit 1; }; }
40842 if test "$wxUSE_METAFILE" = "yes"; then
40843 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
40844 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
40845 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
40851 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
40852 -o "$wxUSE_CLIPBOARD" = "yes" \
40853 -o "$wxUSE_OLE" = "yes" \
40854 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
40856 for ac_header
in ole2.h
40858 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40860 echo "$as_me:$LINENO: checking for $ac_header" >&5
40861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40863 echo $ECHO_N "(cached) $ECHO_C" >&6
40865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40868 # Is the header compilable?
40869 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40870 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40871 cat >conftest.
$ac_ext <<_ACEOF
40874 cat confdefs.h
>>conftest.
$ac_ext
40875 cat >>conftest.
$ac_ext <<_ACEOF
40876 /* end confdefs.h. */
40877 $ac_includes_default
40878 #include <$ac_header>
40880 rm -f conftest.
$ac_objext
40881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40882 (eval $ac_compile) 2>conftest.er1
40884 grep -v '^ *+' conftest.er1
>conftest.err
40886 cat conftest.err
>&5
40887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40888 (exit $ac_status); } &&
40889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40891 (eval $ac_try) 2>&5
40893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40894 (exit $ac_status); }; } &&
40895 { ac_try
='test -s conftest.$ac_objext'
40896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40897 (eval $ac_try) 2>&5
40899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40900 (exit $ac_status); }; }; then
40901 ac_header_compiler
=yes
40903 echo "$as_me: failed program was:" >&5
40904 sed 's/^/| /' conftest.
$ac_ext >&5
40906 ac_header_compiler
=no
40908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40910 echo "${ECHO_T}$ac_header_compiler" >&6
40912 # Is the header present?
40913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40915 cat >conftest.
$ac_ext <<_ACEOF
40918 cat confdefs.h
>>conftest.
$ac_ext
40919 cat >>conftest.
$ac_ext <<_ACEOF
40920 /* end confdefs.h. */
40921 #include <$ac_header>
40923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40924 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
40926 grep -v '^ *+' conftest.er1
>conftest.err
40928 cat conftest.err
>&5
40929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40930 (exit $ac_status); } >/dev
/null
; then
40931 if test -s conftest.err
; then
40932 ac_cpp_err
=$ac_c_preproc_warn_flag
40933 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
40940 if test -z "$ac_cpp_err"; then
40941 ac_header_preproc
=yes
40943 echo "$as_me: failed program was:" >&5
40944 sed 's/^/| /' conftest.
$ac_ext >&5
40946 ac_header_preproc
=no
40948 rm -f conftest.err conftest.
$ac_ext
40949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40950 echo "${ECHO_T}$ac_header_preproc" >&6
40952 # So? What about this header?
40953 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40959 ac_header_preproc
=yes
40962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40966 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40968 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40976 ## ----------------------------------------- ##
40977 ## Report this to wx-dev@lists.wxwidgets.org ##
40978 ## ----------------------------------------- ##
40981 sed "s/^/$as_me: WARNING: /" >&2
40984 echo "$as_me:$LINENO: checking for $ac_header" >&5
40985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40987 echo $ECHO_N "(cached) $ECHO_C" >&6
40989 eval "$as_ac_Header=\$ac_header_preproc"
40991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40996 cat >>confdefs.h
<<_ACEOF
40997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41005 if test "$ac_cv_header_ole2_h" = "yes" ; then
41006 if test "$GCC" = yes ; then
41010 ac_cpp
='$CXXCPP $CPPFLAGS'
41011 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41012 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41013 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41016 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
41017 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
41018 cat >conftest.
$ac_ext <<_ACEOF
41021 cat confdefs.h
>>conftest.
$ac_ext
41022 cat >>conftest.
$ac_ext <<_ACEOF
41023 /* end confdefs.h. */
41024 #include <windows.h>
41034 rm -f conftest.
$ac_objext
41035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41036 (eval $ac_compile) 2>conftest.er1
41038 grep -v '^ *+' conftest.er1
>conftest.err
41040 cat conftest.err
>&5
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); } &&
41043 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41045 (eval $ac_try) 2>&5
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); }; } &&
41049 { ac_try
='test -s conftest.$ac_objext'
41050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41051 (eval $ac_try) 2>&5
41053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41054 (exit $ac_status); }; }; then
41055 echo "$as_me:$LINENO: result: no" >&5
41056 echo "${ECHO_T}no" >&6
41058 echo "$as_me: failed program was:" >&5
41059 sed 's/^/| /' conftest.
$ac_ext >&5
41061 echo "$as_me:$LINENO: result: yes" >&5
41062 echo "${ECHO_T}yes" >&6
41063 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
41065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41067 ac_cpp
='$CPP $CPPFLAGS'
41068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41072 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
41073 if test "$wxUSE_OLE" = "yes" ; then
41074 cat >>confdefs.h
<<\_ACEOF
41075 #define wxUSE_OLE 1
41078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
41082 if test "$wxUSE_DATAOBJ" = "yes" ; then
41083 cat >>confdefs.h
<<\_ACEOF
41084 #define wxUSE_DATAOBJ 1
41089 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
41090 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
41093 wxUSE_DRAG_AND_DROP
=no
41098 if test "$wxUSE_METAFILE" = "yes"; then
41099 cat >>confdefs.h
<<\_ACEOF
41100 #define wxUSE_METAFILE 1
41104 cat >>confdefs.h
<<\_ACEOF
41105 #define wxUSE_ENH_METAFILE 1
41111 if test "$wxUSE_IPC" = "yes"; then
41112 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
41113 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
41114 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
41118 if test "$wxUSE_IPC" = "yes"; then
41119 cat >>confdefs.h
<<\_ACEOF
41120 #define wxUSE_IPC 1
41123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
41127 if test "$wxUSE_DATAOBJ" = "yes"; then
41128 if test "$wxUSE_MGL" = 1; then
41129 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
41130 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
41133 cat >>confdefs.h
<<\_ACEOF
41134 #define wxUSE_DATAOBJ 1
41139 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
41140 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
41142 wxUSE_DRAG_AND_DROP
=no
41145 if test "$wxUSE_CLIPBOARD" = "yes"; then
41146 if test "$wxUSE_MGL" = 1; then
41147 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
41148 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
41152 if test "$wxUSE_CLIPBOARD" = "yes"; then
41153 cat >>confdefs.h
<<\_ACEOF
41154 #define wxUSE_CLIPBOARD 1
41160 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
41161 if test "$wxUSE_GTK" = 1; then
41162 if test "$WXGTK12" != 1; then
41163 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
41164 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
41165 wxUSE_DRAG_AND_DROP
=no
41169 if test "$wxUSE_MOTIF" = 1; then
41170 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
41171 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
41172 wxUSE_DRAG_AND_DROP
=no
41175 if test "$wxUSE_X11" = 1; then
41176 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
41177 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
41178 wxUSE_DRAG_AND_DROP
=no
41181 if test "$wxUSE_MGL" = 1; then
41182 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
41183 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
41184 wxUSE_DRAG_AND_DROP
=no
41187 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
41188 cat >>confdefs.h
<<\_ACEOF
41189 #define wxUSE_DRAG_AND_DROP 1
41196 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
41197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
41200 if test "$wxUSE_SPLINES" = "yes" ; then
41201 cat >>confdefs.h
<<\_ACEOF
41202 #define wxUSE_SPLINES 1
41207 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
41208 cat >>confdefs.h
<<\_ACEOF
41209 #define wxUSE_MOUSEWHEEL 1
41216 if test "$wxUSE_CONTROLS" = "yes"; then
41220 if test "$wxUSE_ACCEL" = "yes"; then
41221 cat >>confdefs.h
<<\_ACEOF
41222 #define wxUSE_ACCEL 1
41228 if test "$wxUSE_BUTTON" = "yes"; then
41229 cat >>confdefs.h
<<\_ACEOF
41230 #define wxUSE_BUTTON 1
41236 if test "$wxUSE_BMPBUTTON" = "yes"; then
41237 cat >>confdefs.h
<<\_ACEOF
41238 #define wxUSE_BMPBUTTON 1
41244 if test "$wxUSE_CALCTRL" = "yes"; then
41245 cat >>confdefs.h
<<\_ACEOF
41246 #define wxUSE_CALENDARCTRL 1
41250 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
41253 if test "$wxUSE_CARET" = "yes"; then
41254 cat >>confdefs.h
<<\_ACEOF
41255 #define wxUSE_CARET 1
41259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
41262 if test "$wxUSE_COMBOBOX" = "yes"; then
41263 cat >>confdefs.h
<<\_ACEOF
41264 #define wxUSE_COMBOBOX 1
41270 if test "$wxUSE_CHOICE" = "yes"; then
41271 cat >>confdefs.h
<<\_ACEOF
41272 #define wxUSE_CHOICE 1
41278 if test "$wxUSE_CHOICEBOOK" = "yes"; then
41279 cat >>confdefs.h
<<\_ACEOF
41280 #define wxUSE_CHOICEBOOK 1
41286 if test "$wxUSE_CHECKBOX" = "yes"; then
41287 cat >>confdefs.h
<<\_ACEOF
41288 #define wxUSE_CHECKBOX 1
41294 if test "$wxUSE_CHECKLST" = "yes"; then
41295 cat >>confdefs.h
<<\_ACEOF
41296 #define wxUSE_CHECKLISTBOX 1
41300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
41303 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
41304 cat >>confdefs.h
<<\_ACEOF
41305 #define wxUSE_DATEPICKCTRL 1
41311 if test "$wxUSE_DISPLAY" = "yes"; then
41312 cat >>confdefs.h
<<\_ACEOF
41313 #define wxUSE_DISPLAY 1
41316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
41319 if test "$wxUSE_GAUGE" = "yes"; then
41320 cat >>confdefs.h
<<\_ACEOF
41321 #define wxUSE_GAUGE 1
41327 if test "$wxUSE_GRID" = "yes"; then
41328 cat >>confdefs.h
<<\_ACEOF
41329 #define wxUSE_GRID 1
41333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
41336 if test "$wxUSE_IMAGLIST" = "yes"; then
41337 cat >>confdefs.h
<<\_ACEOF
41338 #define wxUSE_IMAGLIST 1
41343 if test "$wxUSE_LISTBOOK" = "yes"; then
41344 cat >>confdefs.h
<<\_ACEOF
41345 #define wxUSE_LISTBOOK 1
41351 if test "$wxUSE_LISTBOX" = "yes"; then
41352 cat >>confdefs.h
<<\_ACEOF
41353 #define wxUSE_LISTBOX 1
41357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
41360 if test "$wxUSE_LISTCTRL" = "yes"; then
41361 if test "$wxUSE_IMAGLIST" = "yes"; then
41362 cat >>confdefs.h
<<\_ACEOF
41363 #define wxUSE_LISTCTRL 1
41367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
41369 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
41370 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
41374 if test "$wxUSE_NOTEBOOK" = "yes"; then
41375 cat >>confdefs.h
<<\_ACEOF
41376 #define wxUSE_NOTEBOOK 1
41380 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
41384 if test "$wxUSE_RADIOBOX" = "yes"; then
41385 cat >>confdefs.h
<<\_ACEOF
41386 #define wxUSE_RADIOBOX 1
41392 if test "$wxUSE_RADIOBTN" = "yes"; then
41393 cat >>confdefs.h
<<\_ACEOF
41394 #define wxUSE_RADIOBTN 1
41400 if test "$wxUSE_SASH" = "yes"; then
41401 cat >>confdefs.h
<<\_ACEOF
41402 #define wxUSE_SASH 1
41405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
41408 if test "$wxUSE_SCROLLBAR" = "yes"; then
41409 cat >>confdefs.h
<<\_ACEOF
41410 #define wxUSE_SCROLLBAR 1
41414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
41417 if test "$wxUSE_SLIDER" = "yes"; then
41418 cat >>confdefs.h
<<\_ACEOF
41419 #define wxUSE_SLIDER 1
41425 if test "$wxUSE_SPINBTN" = "yes"; then
41426 cat >>confdefs.h
<<\_ACEOF
41427 #define wxUSE_SPINBTN 1
41433 if test "$wxUSE_SPINCTRL" = "yes"; then
41434 cat >>confdefs.h
<<\_ACEOF
41435 #define wxUSE_SPINCTRL 1
41441 if test "$wxUSE_SPLITTER" = "yes"; then
41442 cat >>confdefs.h
<<\_ACEOF
41443 #define wxUSE_SPLITTER 1
41446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
41449 if test "$wxUSE_STATBMP" = "yes"; then
41450 cat >>confdefs.h
<<\_ACEOF
41451 #define wxUSE_STATBMP 1
41457 if test "$wxUSE_STATBOX" = "yes"; then
41458 cat >>confdefs.h
<<\_ACEOF
41459 #define wxUSE_STATBOX 1
41465 if test "$wxUSE_STATTEXT" = "yes"; then
41466 cat >>confdefs.h
<<\_ACEOF
41467 #define wxUSE_STATTEXT 1
41473 if test "$wxUSE_STATLINE" = "yes"; then
41474 cat >>confdefs.h
<<\_ACEOF
41475 #define wxUSE_STATLINE 1
41481 if test "$wxUSE_STATUSBAR" = "yes"; then
41482 cat >>confdefs.h
<<\_ACEOF
41483 #define wxUSE_NATIVE_STATUSBAR 1
41486 cat >>confdefs.h
<<\_ACEOF
41487 #define wxUSE_STATUSBAR 1
41492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
41495 if test "$wxUSE_TABDIALOG" = "yes"; then
41496 cat >>confdefs.h
<<\_ACEOF
41497 #define wxUSE_TAB_DIALOG 1
41502 if test "$wxUSE_TEXTCTRL" = "yes"; then
41503 cat >>confdefs.h
<<\_ACEOF
41504 #define wxUSE_TEXTCTRL 1
41508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
41511 if test "$wxUSE_TOGGLEBTN" = "yes"; then
41512 if test "$wxUSE_COCOA" = 1 ; then
41513 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
41514 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
41517 if test "$wxUSE_UNIVERSAL" = "yes"; then
41518 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
41519 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
41523 if test "$wxUSE_TOGGLEBTN" = "yes"; then
41524 cat >>confdefs.h
<<\_ACEOF
41525 #define wxUSE_TOGGLEBTN 1
41532 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
41533 cat >>confdefs.h
<<\_ACEOF
41534 #define wxUSE_TOOLBAR_SIMPLE 1
41537 wxUSE_TOOLBAR
="yes"
41541 if test "$wxUSE_TOOLBAR" = "yes"; then
41542 cat >>confdefs.h
<<\_ACEOF
41543 #define wxUSE_TOOLBAR 1
41548 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
41549 wxUSE_TOOLBAR_NATIVE
="yes"
41552 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
41553 cat >>confdefs.h
<<\_ACEOF
41554 #define wxUSE_TOOLBAR_NATIVE 1
41560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
41563 if test "$wxUSE_TOOLTIPS" = "yes"; then
41564 if test "$wxUSE_MOTIF" = 1; then
41565 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
41566 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
41568 if test "$wxUSE_UNIVERSAL" = "yes"; then
41569 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
41570 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
41572 cat >>confdefs.h
<<\_ACEOF
41573 #define wxUSE_TOOLTIPS 1
41580 if test "$wxUSE_TREECTRL" = "yes"; then
41581 if test "$wxUSE_IMAGLIST" = "yes"; then
41582 cat >>confdefs.h
<<\_ACEOF
41583 #define wxUSE_TREECTRL 1
41587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
41589 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
41590 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
41594 if test "$wxUSE_POPUPWIN" = "yes"; then
41595 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
41596 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
41597 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
41599 if test "$wxUSE_PM" = 1; then
41600 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
41601 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
41603 cat >>confdefs.h
<<\_ACEOF
41604 #define wxUSE_POPUPWIN 1
41607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
41614 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
41615 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
41616 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
41617 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
41619 cat >>confdefs.h
<<\_ACEOF
41620 #define wxUSE_DIALUP_MANAGER 1
41623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
41627 if test "$wxUSE_TIPWINDOW" = "yes"; then
41628 if test "$wxUSE_PM" = 1; then
41629 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
41630 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
41632 cat >>confdefs.h
<<\_ACEOF
41633 #define wxUSE_TIPWINDOW 1
41639 if test "$USES_CONTROLS" = 1; then
41640 cat >>confdefs.h
<<\_ACEOF
41641 #define wxUSE_CONTROLS 1
41647 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
41648 cat >>confdefs.h
<<\_ACEOF
41649 #define wxUSE_ACCESSIBILITY 1
41652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
41655 if test "$wxUSE_DC_CACHEING" = "yes"; then
41656 cat >>confdefs.h
<<\_ACEOF
41657 #define wxUSE_DC_CACHEING 1
41662 if test "$wxUSE_DRAGIMAGE" = "yes"; then
41663 cat >>confdefs.h
<<\_ACEOF
41664 #define wxUSE_DRAGIMAGE 1
41667 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
41670 if test "$wxUSE_EXCEPTIONS" = "yes"; then
41671 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41672 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
41673 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
41675 cat >>confdefs.h
<<\_ACEOF
41676 #define wxUSE_EXCEPTIONS 1
41679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
41684 if test "$wxUSE_HTML" = "yes"; then
41685 cat >>confdefs.h
<<\_ACEOF
41686 #define wxUSE_HTML 1
41690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
41691 if test "$wxUSE_MAC" = 1; then
41692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
41695 if test "$wxUSE_WEBKIT" = "yes"; then
41696 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
41697 old_CPPFLAGS
="$CPPFLAGS"
41698 CPPFLAGS
="$CPPFLAGS -x objective-c++"
41699 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
41700 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
41701 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
41702 echo $ECHO_N "(cached) $ECHO_C" >&6
41704 cat >conftest.
$ac_ext <<_ACEOF
41707 cat confdefs.h
>>conftest.
$ac_ext
41708 cat >>conftest.
$ac_ext <<_ACEOF
41709 /* end confdefs.h. */
41710 #include <Carbon/Carbon.h>
41712 #include <WebKit/HIWebView.h>
41714 rm -f conftest.
$ac_objext
41715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41716 (eval $ac_compile) 2>conftest.er1
41718 grep -v '^ *+' conftest.er1
>conftest.err
41720 cat conftest.err
>&5
41721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722 (exit $ac_status); } &&
41723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41725 (eval $ac_try) 2>&5
41727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41728 (exit $ac_status); }; } &&
41729 { ac_try
='test -s conftest.$ac_objext'
41730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41731 (eval $ac_try) 2>&5
41733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41734 (exit $ac_status); }; }; then
41735 ac_cv_header_WebKit_HIWebView_h
=yes
41737 echo "$as_me: failed program was:" >&5
41738 sed 's/^/| /' conftest.
$ac_ext >&5
41740 ac_cv_header_WebKit_HIWebView_h
=no
41742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41744 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
41745 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
41746 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
41748 cat >>confdefs.h
<<\_ACEOF
41749 #define wxUSE_WEBKIT 1
41752 WEBKIT_LINK
="-framework WebKit"
41756 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
41757 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
41763 CPPFLAGS
="$old_CPPFLAGS"
41764 elif test "$wxUSE_COCOA" = 1; then
41765 cat >>confdefs.h
<<\_ACEOF
41766 #define wxUSE_WEBKIT 1
41775 if test "$wxUSE_XRC" = "yes"; then
41776 if test "$wxUSE_XML" != "yes"; then
41777 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
41778 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
41781 cat >>confdefs.h
<<\_ACEOF
41782 #define wxUSE_XRC 1
41786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
41790 if test "$wxUSE_MENUS" = "yes"; then
41791 cat >>confdefs.h
<<\_ACEOF
41792 #define wxUSE_MENUS 1
41795 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
41798 if test "$wxUSE_METAFILE" = "yes"; then
41799 cat >>confdefs.h
<<\_ACEOF
41800 #define wxUSE_METAFILE 1
41805 if test "$wxUSE_MIMETYPE" = "yes"; then
41806 cat >>confdefs.h
<<\_ACEOF
41807 #define wxUSE_MIMETYPE 1
41812 if test "$wxUSE_MINIFRAME" = "yes"; then
41813 cat >>confdefs.h
<<\_ACEOF
41814 #define wxUSE_MINIFRAME 1
41817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
41820 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
41821 cat >>confdefs.h
<<\_ACEOF
41822 #define wxUSE_SYSTEM_OPTIONS 1
41825 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
41826 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
41827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
41832 if test "$wxUSE_VALIDATORS" = "yes"; then
41833 cat >>confdefs.h
<<\_ACEOF
41834 #define wxUSE_VALIDATORS 1
41837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
41840 if test "$wxUSE_PALETTE" = "yes" ; then
41841 cat >>confdefs.h
<<\_ACEOF
41842 #define wxUSE_PALETTE 1
41847 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
41848 LIBS
=" -lunicows $LIBS"
41852 if test "$wxUSE_IMAGE" = "yes" ; then
41853 cat >>confdefs.h
<<\_ACEOF
41854 #define wxUSE_IMAGE 1
41858 if test "$wxUSE_GIF" = "yes" ; then
41859 cat >>confdefs.h
<<\_ACEOF
41860 #define wxUSE_GIF 1
41865 if test "$wxUSE_PCX" = "yes" ; then
41866 cat >>confdefs.h
<<\_ACEOF
41867 #define wxUSE_PCX 1
41872 if test "$wxUSE_IFF" = "yes" ; then
41873 cat >>confdefs.h
<<\_ACEOF
41874 #define wxUSE_IFF 1
41879 if test "$wxUSE_PNM" = "yes" ; then
41880 cat >>confdefs.h
<<\_ACEOF
41881 #define wxUSE_PNM 1
41886 if test "$wxUSE_XPM" = "yes" ; then
41887 cat >>confdefs.h
<<\_ACEOF
41888 #define wxUSE_XPM 1
41893 if test "$wxUSE_ICO_CUR" = "yes" ; then
41894 cat >>confdefs.h
<<\_ACEOF
41895 #define wxUSE_ICO_CUR 1
41902 if test "$wxUSE_CHOICEDLG" = "yes"; then
41903 cat >>confdefs.h
<<\_ACEOF
41904 #define wxUSE_CHOICEDLG 1
41909 if test "$wxUSE_COLOURDLG" = "yes"; then
41910 cat >>confdefs.h
<<\_ACEOF
41911 #define wxUSE_COLOURDLG 1
41916 if test "$wxUSE_FILEDLG" = "yes"; then
41917 cat >>confdefs.h
<<\_ACEOF
41918 #define wxUSE_FILEDLG 1
41923 if test "$wxUSE_FINDREPLDLG" = "yes"; then
41924 cat >>confdefs.h
<<\_ACEOF
41925 #define wxUSE_FINDREPLDLG 1
41930 if test "$wxUSE_FONTDLG" = "yes"; then
41931 cat >>confdefs.h
<<\_ACEOF
41932 #define wxUSE_FONTDLG 1
41937 if test "$wxUSE_DIRDLG" = "yes"; then
41938 if test "$wxUSE_TREECTRL" != "yes"; then
41939 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
41940 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
41942 cat >>confdefs.h
<<\_ACEOF
41943 #define wxUSE_DIRDLG 1
41949 if test "$wxUSE_MSGDLG" = "yes"; then
41950 cat >>confdefs.h
<<\_ACEOF
41951 #define wxUSE_MSGDLG 1
41956 if test "$wxUSE_NUMBERDLG" = "yes"; then
41957 cat >>confdefs.h
<<\_ACEOF
41958 #define wxUSE_NUMBERDLG 1
41963 if test "$wxUSE_PROGRESSDLG" = "yes"; then
41964 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41965 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
41966 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
41968 cat >>confdefs.h
<<\_ACEOF
41969 #define wxUSE_PROGRESSDLG 1
41975 if test "$wxUSE_SPLASH" = "yes"; then
41976 cat >>confdefs.h
<<\_ACEOF
41977 #define wxUSE_SPLASH 1
41980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
41983 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
41984 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41985 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
41986 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
41988 cat >>confdefs.h
<<\_ACEOF
41989 #define wxUSE_STARTUP_TIPS 1
41995 if test "$wxUSE_TEXTDLG" = "yes"; then
41996 cat >>confdefs.h
<<\_ACEOF
41997 #define wxUSE_TEXTDLG 1
42002 if test "$wxUSE_WIZARDDLG" = "yes"; then
42003 cat >>confdefs.h
<<\_ACEOF
42004 #define wxUSE_WIZARDDLG 1
42007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
42011 if test "$wxUSE_MEDIACTRL" = "yes"; then
42012 if test "$wxUSE_GTK" = 1; then
42013 wxUSE_GSTREAMER
="yes"
42018 if test -z "$PKG_CONFIG"; then
42019 # Extract the first word of "pkg-config", so it can be a program name with args.
42020 set dummy pkg
-config; ac_word
=$2
42021 echo "$as_me:$LINENO: checking for $ac_word" >&5
42022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42023 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42024 echo $ECHO_N "(cached) $ECHO_C" >&6
42026 case $PKG_CONFIG in
42028 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42032 for as_dir
in $PATH
42035 test -z "$as_dir" && as_dir
=.
42036 for ac_exec_ext
in '' $ac_executable_extensions; do
42037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42038 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42045 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
42049 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42051 if test -n "$PKG_CONFIG"; then
42052 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42053 echo "${ECHO_T}$PKG_CONFIG" >&6
42055 echo "$as_me:$LINENO: result: no" >&5
42056 echo "${ECHO_T}no" >&6
42061 if test "$PKG_CONFIG" = "no" ; then
42062 echo "*** The pkg-config script could not be found. Make sure it is"
42063 echo "*** in your path, or set the PKG_CONFIG environment variable"
42064 echo "*** to the full path to pkg-config."
42065 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
42067 PKG_CONFIG_MIN_VERSION
=0.9.0
42068 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
42069 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
42070 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
42072 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
42073 echo "$as_me:$LINENO: result: yes" >&5
42074 echo "${ECHO_T}yes" >&6
42077 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
42078 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
42079 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
42080 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
42081 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
42083 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
42084 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
42085 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
42086 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
42087 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
42089 GSTREAMER_CFLAGS
=""
42091 ## If we have a custom action on failure, don't print errors, but
42092 ## do set a variable so people can do so.
42093 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
42100 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
42101 echo "*** See http://www.freedesktop.org/software/pkgconfig"
42105 if test $succeeded = yes; then
42107 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
42108 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
42112 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
42113 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
42114 wxUSE_GSTREAMER
="no"
42122 if test "x$GST_INSPECT" == "x"; then
42123 # Extract the first word of "gst-inspect", so it can be a program name with args.
42124 set dummy gst
-inspect; ac_word
=$2
42125 echo "$as_me:$LINENO: checking for $ac_word" >&5
42126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42127 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
42128 echo $ECHO_N "(cached) $ECHO_C" >&6
42130 if test -n "$GST_INSPECT"; then
42131 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
42133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42134 for as_dir
in $PATH
42137 test -z "$as_dir" && as_dir
=.
42138 for ac_exec_ext
in '' $ac_executable_extensions; do
42139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42140 ac_cv_prog_GST_INSPECT
="gst-inspect"
42141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42149 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
42150 if test -n "$GST_INSPECT"; then
42151 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
42152 echo "${ECHO_T}$GST_INSPECT" >&6
42154 echo "$as_me:$LINENO: result: no" >&5
42155 echo "${ECHO_T}no" >&6
42160 if test "x$GST_INSPECT" != "x"; then
42161 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
42162 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
42163 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
42164 echo "$as_me:$LINENO: result: found." >&5
42165 echo "${ECHO_T}found." >&6
42168 echo "$as_me:$LINENO: result: not found." >&5
42169 echo "${ECHO_T}not found." >&6
42171 wxUSE_GSTREAMER
="no"
42172 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
42173 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
42179 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
42180 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
42181 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
42182 echo $ECHO_N "(cached) $ECHO_C" >&6
42184 cat >conftest.
$ac_ext <<_ACEOF
42187 cat confdefs.h
>>conftest.
$ac_ext
42188 cat >>conftest.
$ac_ext <<_ACEOF
42189 /* end confdefs.h. */
42190 #include <gst/gst.h>
42192 #include <gst/xoverlay/xoverlay.h>
42194 rm -f conftest.
$ac_objext
42195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42196 (eval $ac_compile) 2>conftest.er1
42198 grep -v '^ *+' conftest.er1
>conftest.err
42200 cat conftest.err
>&5
42201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42202 (exit $ac_status); } &&
42203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42205 (eval $ac_try) 2>&5
42207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42208 (exit $ac_status); }; } &&
42209 { ac_try
='test -s conftest.$ac_objext'
42210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42211 (eval $ac_try) 2>&5
42213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42214 (exit $ac_status); }; }; then
42215 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
42217 echo "$as_me: failed program was:" >&5
42218 sed 's/^/| /' conftest.
$ac_ext >&5
42220 ac_cv_header_gst_xoverlay_xoverlay_h
=no
42222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42224 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
42225 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
42226 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
42230 wxUSE_GSTREAMER
="no"
42231 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
42232 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
42238 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
42239 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
42242 for ac_dir
in $SEARCH_LIB;
42244 for ac_extension
in a so sl dylib dll.a
; do
42245 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
42246 ac_find_libraries
=$ac_dir
42253 if test "$ac_find_libraries" = "" ; then
42254 echo "$as_me:$LINENO: result: no" >&5
42255 echo "${ECHO_T}no" >&6
42256 wxUSE_GSTREAMER
="no"
42258 echo "$as_me:$LINENO: result: yes" >&5
42259 echo "${ECHO_T}yes" >&6
42262 if test "$wxUSE_GSTREAMER" = "yes"; then
42263 cat >>confdefs.h
<<\_ACEOF
42264 #define wxUSE_GSTREAMER 1
42267 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
42268 echo "${ECHO_T}GStreamer detection successful" >&6
42271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
42272 cat >>confdefs.h
<<\_ACEOF
42273 #define wxUSE_MEDIACTRL 1
42279 if test "$cross_compiling" = "yes"; then
42282 OSINFO
=`uname -s -r -m`
42283 OSINFO
="\"$OSINFO\""
42286 cat >>confdefs.h
<<_ACEOF
42287 #define WXWIN_OS_DESCRIPTION $OSINFO
42292 if test "x$prefix" != "xNONE"; then
42295 wxPREFIX
=$ac_default_prefix
42298 cat >>confdefs.h
<<_ACEOF
42299 #define wxINSTALL_PREFIX "$wxPREFIX"
42305 CORE_BASE_LIBS
="net base"
42306 CORE_GUI_LIBS
="adv core"
42308 if test "$wxUSE_XML" = "yes" ; then
42309 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
42311 if test "$wxUSE_ODBC" != "no" ; then
42312 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
42313 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
42315 if test "$wxUSE_HTML" = "yes" ; then
42316 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
42318 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42319 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
42321 if test "$wxUSE_XRC" = "yes" ; then
42322 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
42325 if test "$wxUSE_GUI" != "yes"; then
42336 if test "$wxUSE_MAC" = 1 ; then
42337 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
42338 if test "$USE_DARWIN" = 1; then
42339 LDFLAGS
="$LDFLAGS -framework QuickTime"
42341 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
42344 if test "$USE_DARWIN" = 1; then
42345 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
42347 LDFLAGS
="$LDFLAGS -lCarbonLib"
42350 if test "$wxUSE_COCOA" = 1 ; then
42351 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
42352 if test "$wxUSE_MEDIACTRL" = "yes"; then
42353 LDFLAGS
="$LDFLAGS -framework QuickTime"
42356 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
42357 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
42361 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
42368 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42369 echo "$as_me:$LINENO: checking for $ac_func" >&5
42370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42371 if eval "test \"\${$as_ac_var+set}\" = set"; then
42372 echo $ECHO_N "(cached) $ECHO_C" >&6
42374 cat >conftest.
$ac_ext <<_ACEOF
42377 cat confdefs.h
>>conftest.
$ac_ext
42378 cat >>conftest.
$ac_ext <<_ACEOF
42379 /* end confdefs.h. */
42380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42382 #define $ac_func innocuous_$ac_func
42384 /* System header to define __stub macros and hopefully few prototypes,
42385 which can conflict with char $ac_func (); below.
42386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42387 <limits.h> exists even on freestanding compilers. */
42390 # include <limits.h>
42392 # include <assert.h>
42397 /* Override any gcc2 internal prototype to avoid an error. */
42402 /* We use char because int might match the return type of a gcc2
42403 builtin and then its argument prototype would still apply. */
42405 /* The GNU C library defines this for functions which it implements
42406 to always fail with ENOSYS. Some functions are actually named
42407 something starting with __ and the normal name is an alias. */
42408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42411 char (*f) () = $ac_func;
42420 return f != $ac_func;
42425 rm -f conftest.
$ac_objext conftest
$ac_exeext
42426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42427 (eval $ac_link) 2>conftest.er1
42429 grep -v '^ *+' conftest.er1
>conftest.err
42431 cat conftest.err
>&5
42432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42433 (exit $ac_status); } &&
42434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42436 (eval $ac_try) 2>&5
42438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439 (exit $ac_status); }; } &&
42440 { ac_try
='test -s conftest$ac_exeext'
42441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42442 (eval $ac_try) 2>&5
42444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42445 (exit $ac_status); }; }; then
42446 eval "$as_ac_var=yes"
42448 echo "$as_me: failed program was:" >&5
42449 sed 's/^/| /' conftest.
$ac_ext >&5
42451 eval "$as_ac_var=no"
42453 rm -f conftest.err conftest.
$ac_objext \
42454 conftest
$ac_exeext conftest.
$ac_ext
42456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42458 if test `eval echo '${'$as_ac_var'}'` = yes; then
42459 cat >>confdefs.h
<<_ACEOF
42460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42467 for ac_func
in floor
42469 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42470 echo "$as_me:$LINENO: checking for $ac_func" >&5
42471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42472 if eval "test \"\${$as_ac_var+set}\" = set"; then
42473 echo $ECHO_N "(cached) $ECHO_C" >&6
42475 cat >conftest.
$ac_ext <<_ACEOF
42478 cat confdefs.h
>>conftest.
$ac_ext
42479 cat >>conftest.
$ac_ext <<_ACEOF
42480 /* end confdefs.h. */
42481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42483 #define $ac_func innocuous_$ac_func
42485 /* System header to define __stub macros and hopefully few prototypes,
42486 which can conflict with char $ac_func (); below.
42487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42488 <limits.h> exists even on freestanding compilers. */
42491 # include <limits.h>
42493 # include <assert.h>
42498 /* Override any gcc2 internal prototype to avoid an error. */
42503 /* We use char because int might match the return type of a gcc2
42504 builtin and then its argument prototype would still apply. */
42506 /* The GNU C library defines this for functions which it implements
42507 to always fail with ENOSYS. Some functions are actually named
42508 something starting with __ and the normal name is an alias. */
42509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42512 char (*f) () = $ac_func;
42521 return f != $ac_func;
42526 rm -f conftest.
$ac_objext conftest
$ac_exeext
42527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42528 (eval $ac_link) 2>conftest.er1
42530 grep -v '^ *+' conftest.er1
>conftest.err
42532 cat conftest.err
>&5
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); } &&
42535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42537 (eval $ac_try) 2>&5
42539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42540 (exit $ac_status); }; } &&
42541 { ac_try
='test -s conftest$ac_exeext'
42542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42543 (eval $ac_try) 2>&5
42545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42546 (exit $ac_status); }; }; then
42547 eval "$as_ac_var=yes"
42549 echo "$as_me: failed program was:" >&5
42550 sed 's/^/| /' conftest.
$ac_ext >&5
42552 eval "$as_ac_var=no"
42554 rm -f conftest.err conftest.
$ac_objext \
42555 conftest
$ac_exeext conftest.
$ac_ext
42557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42559 if test `eval echo '${'$as_ac_var'}'` = yes; then
42560 cat >>confdefs.h
<<_ACEOF
42561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42567 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
42568 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
42569 if test "$have_cos" = 1 -a "$have_floor" = 1; then
42570 echo "$as_me:$LINENO: result: yes" >&5
42571 echo "${ECHO_T}yes" >&6
42573 echo "$as_me:$LINENO: result: no" >&5
42574 echo "${ECHO_T}no" >&6
42576 # use different functions to avoid configure caching
42582 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42583 echo "$as_me:$LINENO: checking for $ac_func" >&5
42584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42585 if eval "test \"\${$as_ac_var+set}\" = set"; then
42586 echo $ECHO_N "(cached) $ECHO_C" >&6
42588 cat >conftest.
$ac_ext <<_ACEOF
42591 cat confdefs.h
>>conftest.
$ac_ext
42592 cat >>conftest.
$ac_ext <<_ACEOF
42593 /* end confdefs.h. */
42594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42596 #define $ac_func innocuous_$ac_func
42598 /* System header to define __stub macros and hopefully few prototypes,
42599 which can conflict with char $ac_func (); below.
42600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42601 <limits.h> exists even on freestanding compilers. */
42604 # include <limits.h>
42606 # include <assert.h>
42611 /* Override any gcc2 internal prototype to avoid an error. */
42616 /* We use char because int might match the return type of a gcc2
42617 builtin and then its argument prototype would still apply. */
42619 /* The GNU C library defines this for functions which it implements
42620 to always fail with ENOSYS. Some functions are actually named
42621 something starting with __ and the normal name is an alias. */
42622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42625 char (*f) () = $ac_func;
42634 return f != $ac_func;
42639 rm -f conftest.
$ac_objext conftest
$ac_exeext
42640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42641 (eval $ac_link) 2>conftest.er1
42643 grep -v '^ *+' conftest.er1
>conftest.err
42645 cat conftest.err
>&5
42646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42647 (exit $ac_status); } &&
42648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42650 (eval $ac_try) 2>&5
42652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42653 (exit $ac_status); }; } &&
42654 { ac_try
='test -s conftest$ac_exeext'
42655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42656 (eval $ac_try) 2>&5
42658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42659 (exit $ac_status); }; }; then
42660 eval "$as_ac_var=yes"
42662 echo "$as_me: failed program was:" >&5
42663 sed 's/^/| /' conftest.
$ac_ext >&5
42665 eval "$as_ac_var=no"
42667 rm -f conftest.err conftest.
$ac_objext \
42668 conftest
$ac_exeext conftest.
$ac_ext
42670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42672 if test `eval echo '${'$as_ac_var'}'` = yes; then
42673 cat >>confdefs.h
<<_ACEOF
42674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42681 for ac_func
in ceil
42683 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42684 echo "$as_me:$LINENO: checking for $ac_func" >&5
42685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42686 if eval "test \"\${$as_ac_var+set}\" = set"; then
42687 echo $ECHO_N "(cached) $ECHO_C" >&6
42689 cat >conftest.
$ac_ext <<_ACEOF
42692 cat confdefs.h
>>conftest.
$ac_ext
42693 cat >>conftest.
$ac_ext <<_ACEOF
42694 /* end confdefs.h. */
42695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42697 #define $ac_func innocuous_$ac_func
42699 /* System header to define __stub macros and hopefully few prototypes,
42700 which can conflict with char $ac_func (); below.
42701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42702 <limits.h> exists even on freestanding compilers. */
42705 # include <limits.h>
42707 # include <assert.h>
42712 /* Override any gcc2 internal prototype to avoid an error. */
42717 /* We use char because int might match the return type of a gcc2
42718 builtin and then its argument prototype would still apply. */
42720 /* The GNU C library defines this for functions which it implements
42721 to always fail with ENOSYS. Some functions are actually named
42722 something starting with __ and the normal name is an alias. */
42723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42726 char (*f) () = $ac_func;
42735 return f != $ac_func;
42740 rm -f conftest.
$ac_objext conftest
$ac_exeext
42741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42742 (eval $ac_link) 2>conftest.er1
42744 grep -v '^ *+' conftest.er1
>conftest.err
42746 cat conftest.err
>&5
42747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42748 (exit $ac_status); } &&
42749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42751 (eval $ac_try) 2>&5
42753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42754 (exit $ac_status); }; } &&
42755 { ac_try
='test -s conftest$ac_exeext'
42756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42757 (eval $ac_try) 2>&5
42759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42760 (exit $ac_status); }; }; then
42761 eval "$as_ac_var=yes"
42763 echo "$as_me: failed program was:" >&5
42764 sed 's/^/| /' conftest.
$ac_ext >&5
42766 eval "$as_ac_var=no"
42768 rm -f conftest.err conftest.
$ac_objext \
42769 conftest
$ac_exeext conftest.
$ac_ext
42771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42773 if test `eval echo '${'$as_ac_var'}'` = yes; then
42774 cat >>confdefs.h
<<_ACEOF
42775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42781 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
42782 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
42783 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
42784 echo "$as_me:$LINENO: result: yes" >&5
42785 echo "${ECHO_T}yes" >&6
42787 echo "$as_me:$LINENO: result: no" >&5
42788 echo "${ECHO_T}no" >&6
42789 # not sure we should warn the user, crash, etc.
42793 if test "$wxUSE_GUI" = "yes"; then
42796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
42797 dynamic erase event exec font image minimal mobile \
42798 mobile/wxedit mobile/styles propsize render \
42799 richedit rotate shaped vscroll widgets"
42801 if test "$wxUSE_MONOLITHIC" != "yes"; then
42802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
42804 if test "$TOOLKIT" = "MSW"; then
42805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
42806 if test "$wxUSE_UNIVERSAL" != "yes"; then
42807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
42810 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
42811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
42814 SAMPLES_SUBDIRS
="console"
42818 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
42819 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
42821 if test "x$INTELCC" = "xyes" ; then
42822 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
42823 elif test "$GCC" = yes ; then
42824 CWARNINGS
="-Wall -Wundef"
42827 if test "x$INTELCXX" = "xyes" ; then
42828 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
42829 elif test "$GXX" = yes ; then
42830 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
42833 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
42835 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
42836 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
42837 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
42839 if test "x$MWCC" = "xyes"; then
42841 CC
="$CC -cwd source -I-"
42842 CXX
="$CXX -cwd source -I-"
42847 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
42848 EXTRALIBS_XML
="$EXPAT_LINK"
42849 EXTRALIBS_HTML
="$MSPACK_LINK"
42850 EXTRALIBS_ODBC
="$ODBC_LINK"
42851 if test "$wxUSE_GUI" = "yes"; then
42852 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
42854 if test "$wxUSE_OPENGL" = "yes"; then
42855 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
42858 LDFLAGS
="$LDFLAGS $PROFILE"
42860 if test "$wxUSE_GTK" = 1; then
42863 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
42866 WXCONFIG_EXTRALIBS
="$LIBS"
42868 if test "$wxUSE_REGEX" = "builtin" ; then
42869 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
42871 if test "$wxUSE_EXPAT" = "builtin" ; then
42872 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
42874 if test "$wxUSE_ODBC" = "builtin" ; then
42875 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
42877 if test "$wxUSE_LIBTIFF" = "builtin" ; then
42878 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
42880 if test "$wxUSE_LIBJPEG" = "builtin" ; then
42881 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
42883 if test "$wxUSE_LIBPNG" = "builtin" ; then
42884 wxconfig_3rdparty
="png $wxconfig_3rdparty"
42886 if test "$wxUSE_ZLIB" = "builtin" ; then
42887 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
42890 for i
in $wxconfig_3rdparty ; do
42891 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
42895 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
42909 if test $wxUSE_MONOLITHIC = "yes" ; then
42915 if test $wxUSE_PLUGINS = "yes" ; then
42921 if test $wxUSE_ODBC != "no" ; then
42927 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42933 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
42961 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
42972 TOOLKIT_USER
="GTK+"
42973 if test "$WXGTK20" = 1; then
42974 TOOLKIT_USER
="$TOOLKIT_USER 2"
42979 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
42983 if test "$wxUSE_WINE" = "yes"; then
42984 BAKEFILE_FORCE_PLATFORM
=win32
42990 if test "x$BAKEFILE_HOST" = "x"; then
42991 BAKEFILE_HOST
="${host}"
42994 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
42996 if test -n "$ac_tool_prefix"; then
42997 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
42998 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
42999 echo "$as_me:$LINENO: checking for $ac_word" >&5
43000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43001 if test "${ac_cv_prog_RANLIB+set}" = set; then
43002 echo $ECHO_N "(cached) $ECHO_C" >&6
43004 if test -n "$RANLIB"; then
43005 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
43007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43008 for as_dir
in $PATH
43011 test -z "$as_dir" && as_dir
=.
43012 for ac_exec_ext
in '' $ac_executable_extensions; do
43013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43014 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
43015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43023 RANLIB
=$ac_cv_prog_RANLIB
43024 if test -n "$RANLIB"; then
43025 echo "$as_me:$LINENO: result: $RANLIB" >&5
43026 echo "${ECHO_T}$RANLIB" >&6
43028 echo "$as_me:$LINENO: result: no" >&5
43029 echo "${ECHO_T}no" >&6
43033 if test -z "$ac_cv_prog_RANLIB"; then
43034 ac_ct_RANLIB
=$RANLIB
43035 # Extract the first word of "ranlib", so it can be a program name with args.
43036 set dummy ranlib
; ac_word
=$2
43037 echo "$as_me:$LINENO: checking for $ac_word" >&5
43038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43039 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
43040 echo $ECHO_N "(cached) $ECHO_C" >&6
43042 if test -n "$ac_ct_RANLIB"; then
43043 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
43045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43046 for as_dir
in $PATH
43049 test -z "$as_dir" && as_dir
=.
43050 for ac_exec_ext
in '' $ac_executable_extensions; do
43051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43052 ac_cv_prog_ac_ct_RANLIB
="ranlib"
43053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43059 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
43062 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
43063 if test -n "$ac_ct_RANLIB"; then
43064 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
43065 echo "${ECHO_T}$ac_ct_RANLIB" >&6
43067 echo "$as_me:$LINENO: result: no" >&5
43068 echo "${ECHO_T}no" >&6
43071 RANLIB
=$ac_ct_RANLIB
43073 RANLIB
="$ac_cv_prog_RANLIB"
43076 # Find a good install program. We prefer a C program (faster),
43077 # so one script is as good as another. But avoid the broken or
43078 # incompatible versions:
43079 # SysV /etc/install, /usr/sbin/install
43080 # SunOS /usr/etc/install
43081 # IRIX /sbin/install
43083 # AmigaOS /C/install, which installs bootblocks on floppy discs
43084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
43085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
43086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
43087 # OS/2's system install, which has a completely different semantic
43088 # ./install, which can be erroneously created by make from ./install.sh.
43089 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
43090 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
43091 if test -z "$INSTALL"; then
43092 if test "${ac_cv_path_install+set}" = set; then
43093 echo $ECHO_N "(cached) $ECHO_C" >&6
43095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43096 for as_dir
in $PATH
43099 test -z "$as_dir" && as_dir
=.
43100 # Account for people who put trailing slashes in PATH elements.
43102 .
/ | .
// | /cC
/* | \
43103 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
43104 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
43107 # OSF1 and SCO ODT 3.0 have their own names for install.
43108 # Don't use installbsd from OSF since it installs stuff as root
43110 for ac_prog
in ginstall scoinst
install; do
43111 for ac_exec_ext
in '' $ac_executable_extensions; do
43112 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
43113 if test $ac_prog = install &&
43114 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43115 # AIX install. It has an incompatible calling convention.
43117 elif test $ac_prog = install &&
43118 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43119 # program-specific install script used by HP pwplus--don't use.
43122 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
43134 if test "${ac_cv_path_install+set}" = set; then
43135 INSTALL
=$ac_cv_path_install
43137 # As a last resort, use the slow shell script. We don't cache a
43138 # path for INSTALL within a source directory, because that will
43139 # break other packages using the cache if that directory is
43140 # removed, or if the path is relative.
43141 INSTALL
=$ac_install_sh
43144 echo "$as_me:$LINENO: result: $INSTALL" >&5
43145 echo "${ECHO_T}$INSTALL" >&6
43147 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
43148 # It thinks the first close brace ends the variable substitution.
43149 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
43151 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
43153 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
43155 echo "$as_me:$LINENO: checking whether ln -s works" >&5
43156 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
43158 if test "$LN_S" = "ln -s"; then
43159 echo "$as_me:$LINENO: result: yes" >&5
43160 echo "${ECHO_T}yes" >&6
43162 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
43163 echo "${ECHO_T}no, using $LN_S" >&6
43167 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43168 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43169 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43170 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43171 echo $ECHO_N "(cached) $ECHO_C" >&6
43173 cat >conftest.
make <<\_ACEOF
43175 @
echo 'ac_maketemp="$(MAKE)"'
43177 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43178 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43179 if test -n "$ac_maketemp"; then
43180 eval ac_cv_prog_make_
${ac_make}_set
=yes
43182 eval ac_cv_prog_make_
${ac_make}_set
=no
43184 rm -f conftest.
make
43186 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43187 echo "$as_me:$LINENO: result: yes" >&5
43188 echo "${ECHO_T}yes" >&6
43191 echo "$as_me:$LINENO: result: no" >&5
43192 echo "${ECHO_T}no" >&6
43193 SET_MAKE
="MAKE=${MAKE-make}"
43198 if test -n "$ac_tool_prefix"; then
43199 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
43200 set dummy
${ac_tool_prefix}ar; ac_word
=$2
43201 echo "$as_me:$LINENO: checking for $ac_word" >&5
43202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43203 if test "${ac_cv_prog_AR+set}" = set; then
43204 echo $ECHO_N "(cached) $ECHO_C" >&6
43206 if test -n "$AR"; then
43207 ac_cv_prog_AR
="$AR" # Let the user override the test.
43209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43210 for as_dir
in $PATH
43213 test -z "$as_dir" && as_dir
=.
43214 for ac_exec_ext
in '' $ac_executable_extensions; do
43215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43216 ac_cv_prog_AR
="${ac_tool_prefix}ar"
43217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43226 if test -n "$AR"; then
43227 echo "$as_me:$LINENO: result: $AR" >&5
43228 echo "${ECHO_T}$AR" >&6
43230 echo "$as_me:$LINENO: result: no" >&5
43231 echo "${ECHO_T}no" >&6
43235 if test -z "$ac_cv_prog_AR"; then
43237 # Extract the first word of "ar", so it can be a program name with args.
43238 set dummy
ar; ac_word
=$2
43239 echo "$as_me:$LINENO: checking for $ac_word" >&5
43240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43241 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
43242 echo $ECHO_N "(cached) $ECHO_C" >&6
43244 if test -n "$ac_ct_AR"; then
43245 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
43247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43248 for as_dir
in $PATH
43251 test -z "$as_dir" && as_dir
=.
43252 for ac_exec_ext
in '' $ac_executable_extensions; do
43253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43254 ac_cv_prog_ac_ct_AR
="ar"
43255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43261 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
43264 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
43265 if test -n "$ac_ct_AR"; then
43266 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
43267 echo "${ECHO_T}$ac_ct_AR" >&6
43269 echo "$as_me:$LINENO: result: no" >&5
43270 echo "${ECHO_T}no" >&6
43275 AR
="$ac_cv_prog_AR"
43278 if test -n "$ac_tool_prefix"; then
43279 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
43280 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
43281 echo "$as_me:$LINENO: checking for $ac_word" >&5
43282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43283 if test "${ac_cv_prog_STRIP+set}" = set; then
43284 echo $ECHO_N "(cached) $ECHO_C" >&6
43286 if test -n "$STRIP"; then
43287 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
43289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43290 for as_dir
in $PATH
43293 test -z "$as_dir" && as_dir
=.
43294 for ac_exec_ext
in '' $ac_executable_extensions; do
43295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43296 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
43297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43305 STRIP
=$ac_cv_prog_STRIP
43306 if test -n "$STRIP"; then
43307 echo "$as_me:$LINENO: result: $STRIP" >&5
43308 echo "${ECHO_T}$STRIP" >&6
43310 echo "$as_me:$LINENO: result: no" >&5
43311 echo "${ECHO_T}no" >&6
43315 if test -z "$ac_cv_prog_STRIP"; then
43317 # Extract the first word of "strip", so it can be a program name with args.
43318 set dummy strip
; ac_word
=$2
43319 echo "$as_me:$LINENO: checking for $ac_word" >&5
43320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43321 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
43322 echo $ECHO_N "(cached) $ECHO_C" >&6
43324 if test -n "$ac_ct_STRIP"; then
43325 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
43327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43328 for as_dir
in $PATH
43331 test -z "$as_dir" && as_dir
=.
43332 for ac_exec_ext
in '' $ac_executable_extensions; do
43333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43334 ac_cv_prog_ac_ct_STRIP
="strip"
43335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43341 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
43344 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
43345 if test -n "$ac_ct_STRIP"; then
43346 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
43347 echo "${ECHO_T}$ac_ct_STRIP" >&6
43349 echo "$as_me:$LINENO: result: no" >&5
43350 echo "${ECHO_T}no" >&6
43355 STRIP
="$ac_cv_prog_STRIP"
43358 if test -n "$ac_tool_prefix"; then
43359 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
43360 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
43361 echo "$as_me:$LINENO: checking for $ac_word" >&5
43362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43363 if test "${ac_cv_prog_NM+set}" = set; then
43364 echo $ECHO_N "(cached) $ECHO_C" >&6
43366 if test -n "$NM"; then
43367 ac_cv_prog_NM
="$NM" # Let the user override the test.
43369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43370 for as_dir
in $PATH
43373 test -z "$as_dir" && as_dir
=.
43374 for ac_exec_ext
in '' $ac_executable_extensions; do
43375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43376 ac_cv_prog_NM
="${ac_tool_prefix}nm"
43377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43386 if test -n "$NM"; then
43387 echo "$as_me:$LINENO: result: $NM" >&5
43388 echo "${ECHO_T}$NM" >&6
43390 echo "$as_me:$LINENO: result: no" >&5
43391 echo "${ECHO_T}no" >&6
43395 if test -z "$ac_cv_prog_NM"; then
43397 # Extract the first word of "nm", so it can be a program name with args.
43398 set dummy nm
; ac_word
=$2
43399 echo "$as_me:$LINENO: checking for $ac_word" >&5
43400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43401 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
43402 echo $ECHO_N "(cached) $ECHO_C" >&6
43404 if test -n "$ac_ct_NM"; then
43405 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
43407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43408 for as_dir
in $PATH
43411 test -z "$as_dir" && as_dir
=.
43412 for ac_exec_ext
in '' $ac_executable_extensions; do
43413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43414 ac_cv_prog_ac_ct_NM
="nm"
43415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43421 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
43424 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
43425 if test -n "$ac_ct_NM"; then
43426 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
43427 echo "${ECHO_T}$ac_ct_NM" >&6
43429 echo "$as_me:$LINENO: result: no" >&5
43430 echo "${ECHO_T}no" >&6
43435 NM
="$ac_cv_prog_NM"
43439 case ${BAKEFILE_HOST} in
43441 INSTALL_DIR
="mkdir -p"
43443 *) INSTALL_DIR
="$INSTALL -d"
43449 case ${BAKEFILE_HOST} in
43450 *-*-cygwin* | *-*-mingw32* )
43451 LDFLAGS_GUI
="-mwindows"
43457 echo "$as_me:$LINENO: checking if make is GNU make" >&5
43458 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
43459 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
43460 echo $ECHO_N "(cached) $ECHO_C" >&6
43463 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
43464 egrep -s GNU
> /dev
/null
); then
43465 bakefile_cv_prog_makeisgnu
="yes"
43467 bakefile_cv_prog_makeisgnu
="no"
43471 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
43472 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
43474 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
43491 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
43492 case "${BAKEFILE_HOST}" in
43499 *-pc-os2_emx | *-pc-os2-emx )
43509 powerpc
-apple-macos* )
43518 case "$BAKEFILE_FORCE_PLATFORM" in
43539 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
43540 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
43541 { (exit 1); exit 1; }; }
43556 # Check whether --enable-omf or --disable-omf was given.
43557 if test "${enable_omf+set}" = set; then
43558 enableval
="$enable_omf"
43559 bk_os2_use_omf
="$enableval"
43562 case "${BAKEFILE_HOST}" in
43564 if test "x$GCC" = "xyes"; then
43565 CFLAGS
="$CFLAGS -fno-common"
43566 CXXFLAGS
="$CXXFLAGS -fno-common"
43568 if test "x$XLCC" = "xyes"; then
43569 CFLAGS
="$CFLAGS -qnocommon"
43570 CXXFLAGS
="$CXXFLAGS -qnocommon"
43574 *-pc-os2_emx | *-pc-os2-emx )
43575 if test "x$bk_os2_use_omf" = "xyes" ; then
43578 LDFLAGS
="-Zomf $LDFLAGS"
43579 CFLAGS
="-Zomf $CFLAGS"
43580 CXXFLAGS
="-Zomf $CXXFLAGS"
43588 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
43594 SO_SUFFIX_MODULE
="so"
43599 DLLPREFIX_MODULE
=""
43603 case "${BAKEFILE_HOST}" in
43606 SO_SUFFIX_MODULE
="sl"
43610 SO_SUFFIX_MODULE
="a"
43614 SO_SUFFIX_MODULE
="dll"
43615 DLLIMP_SUFFIX
="dll.a"
43622 SO_SUFFIX_MODULE
="dll"
43623 DLLIMP_SUFFIX
="dll.a"
43633 *-pc-os2_emx | *-pc-os2-emx )
43635 SO_SUFFIX_MODULE
="dll"
43636 DLLIMP_SUFFIX
=$OS2_LIBEXT
43640 LIBEXT
=".$OS2_LIBEXT"
43645 SO_SUFFIX_MODULE
="bundle"
43649 if test "x$DLLIMP_SUFFIX" = "x" ; then
43650 DLLIMP_SUFFIX
="$SO_SUFFIX"
43665 if test "x$GCC" = "xyes"; then
43669 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
43670 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
43673 case "${BAKEFILE_HOST}" in
43675 if test "x$GCC" != "xyes"; then
43676 LDFLAGS
="$LDFLAGS -L/usr/lib"
43678 SHARED_LD_CC
="${CC} -b -o"
43679 SHARED_LD_CXX
="${CXX} -b -o"
43685 if test "x$GCC" != "xyes"; then
43686 echo "$as_me:$LINENO: checking for Intel compiler" >&5
43687 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
43688 if test "${bakefile_cv_prog_icc+set}" = set; then
43689 echo $ECHO_N "(cached) $ECHO_C" >&6
43692 cat >conftest.
$ac_ext <<_ACEOF
43695 cat confdefs.h
>>conftest.
$ac_ext
43696 cat >>conftest.
$ac_ext <<_ACEOF
43697 /* end confdefs.h. */
43703 #ifndef __INTEL_COMPILER
43711 rm -f conftest.
$ac_objext
43712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43713 (eval $ac_compile) 2>conftest.er1
43715 grep -v '^ *+' conftest.er1
>conftest.err
43717 cat conftest.err
>&5
43718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43719 (exit $ac_status); } &&
43720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43722 (eval $ac_try) 2>&5
43724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43725 (exit $ac_status); }; } &&
43726 { ac_try
='test -s conftest.$ac_objext'
43727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43728 (eval $ac_try) 2>&5
43730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731 (exit $ac_status); }; }; then
43732 bakefile_cv_prog_icc
=yes
43734 echo "$as_me: failed program was:" >&5
43735 sed 's/^/| /' conftest.
$ac_ext >&5
43737 bakefile_cv_prog_icc
=no
43740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43743 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
43744 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
43745 if test "$bakefile_cv_prog_icc" = "yes"; then
43752 if test "x$GCC" != xyes
; then
43753 SHARED_LD_CC
="${CC} -G -o"
43754 SHARED_LD_CXX
="${CXX} -G -o"
43761 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
43762 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
43763 if test "${wx_cv_gcc31+set}" = set; then
43764 echo $ECHO_N "(cached) $ECHO_C" >&6
43767 cat >conftest.
$ac_ext <<_ACEOF
43770 cat confdefs.h
>>conftest.
$ac_ext
43771 cat >>conftest.
$ac_ext <<_ACEOF
43772 /* end confdefs.h. */
43778 #if (__GNUC__ < 3) || \
43779 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
43787 rm -f conftest.
$ac_objext
43788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43789 (eval $ac_compile) 2>conftest.er1
43791 grep -v '^ *+' conftest.er1
>conftest.err
43793 cat conftest.err
>&5
43794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43795 (exit $ac_status); } &&
43796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43798 (eval $ac_try) 2>&5
43800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43801 (exit $ac_status); }; } &&
43802 { ac_try
='test -s conftest.$ac_objext'
43803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43804 (eval $ac_try) 2>&5
43806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43807 (exit $ac_status); }; }; then
43812 echo "$as_me: failed program was:" >&5
43813 sed 's/^/| /' conftest.
$ac_ext >&5
43820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43823 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
43824 echo "${ECHO_T}$wx_cv_gcc31" >&6
43825 if test "$wx_cv_gcc31" = "no"; then
43828 cat <<EOF >shared-ld-sh
43830 #-----------------------------------------------------------------------------
43831 #-- Name: distrib/mac/shared-ld-sh
43832 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
43833 #-- Author: Gilles Depeyrot
43834 #-- Copyright: (c) 2002 Gilles Depeyrot
43835 #-- Licence: any use permitted
43836 #-----------------------------------------------------------------------------
43841 linking_flag="-dynamiclib"
43842 ldargs="-r -keep_private_externs -nostdlib"
43844 while test ${D}# -gt 0; do
43851 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
43852 # collect these options and values
43853 args="${D}{args} ${D}1 ${D}2"
43858 # collect these load args
43859 ldargs="${D}{ldargs} ${D}1"
43862 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
43863 # collect these options
43864 args="${D}{args} ${D}1"
43867 -dynamiclib|-bundle)
43868 linking_flag="${D}1"
43872 echo "shared-ld: unhandled option '${D}1'"
43876 *.o | *.a | *.dylib)
43877 # collect object files
43878 objects="${D}{objects} ${D}1"
43882 echo "shared-ld: unhandled argument '${D}1'"
43893 # Link one module containing all the others
43895 if test ${D}{verbose} = 1; then
43896 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
43898 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
43902 # Link the shared library from the single module created, but only if the
43903 # previous command didn't fail:
43905 if test ${D}{status} = 0; then
43906 if test ${D}{verbose} = 1; then
43907 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
43909 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
43914 # Remove intermediate module
43916 rm -f master.${D}${D}.o
43921 chmod +x shared
-ld-sh
43923 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
43924 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
43925 SHARED_LD_CXX
="$SHARED_LD_CC"
43926 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
43928 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
43929 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
43930 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
43931 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
43934 if test "x$GCC" == "xyes"; then
43935 PIC_FLAG
="-dynamic -fPIC"
43937 if test "x$XLCC" = "xyes"; then
43938 PIC_FLAG
="-dynamic -DPIC"
43943 if test "x$GCC" = "xyes"; then
43946 case "${BAKEFILE_HOST}" in
43948 LD_EXPFULL
="-Wl,-bexpfull"
43952 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
43953 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
43955 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
43956 set dummy makeC
++SharedLib
; ac_word
=$2
43957 echo "$as_me:$LINENO: checking for $ac_word" >&5
43958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43959 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
43960 echo $ECHO_N "(cached) $ECHO_C" >&6
43962 if test -n "$AIX_CXX_LD"; then
43963 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
43965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43966 for as_dir
in $PATH
43969 test -z "$as_dir" && as_dir
=.
43970 for ac_exec_ext
in '' $ac_executable_extensions; do
43971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43972 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
43973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43979 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
43982 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
43983 if test -n "$AIX_CXX_LD"; then
43984 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
43985 echo "${ECHO_T}$AIX_CXX_LD" >&6
43987 echo "$as_me:$LINENO: result: no" >&5
43988 echo "${ECHO_T}no" >&6
43991 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
43992 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
43997 SHARED_LD_CC
="${LD} -nostart -o"
43998 SHARED_LD_CXX
="${LD} -nostart -o"
44002 if test "x$GCC" != "xyes"; then
44007 *-*-cygwin* | *-*-mingw32* )
44009 SHARED_LD_CC
="\$(CC) -shared -o"
44010 SHARED_LD_CXX
="\$(CXX) -shared -o"
44014 *-pc-os2_emx | *-pc-os2-emx )
44015 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44016 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44020 cat <<EOF >dllar.sh
44023 # dllar - a tool to build both a .dll and an .a file
44024 # from a set of object (.o) files for EMX/OS2.
44026 # Written by Andrew Zabolotny, bit@freya.etu.ru
44027 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
44029 # This script will accept a set of files on the command line.
44030 # All the public symbols from the .o files will be exported into
44031 # a .DEF file, then linker will be run (through gcc) against them to
44032 # build a shared library consisting of all given .o files. All libraries
44033 # (.a) will be first decompressed into component .o files then act as
44034 # described above. You can optionally give a description (-d "description")
44035 # which will be put into .DLL. To see the list of accepted options (as well
44036 # as command-line format) simply run this program without options. The .DLL
44037 # is built to be imported by name (there is no guarantee that new versions
44038 # of the library you build will have same ordinals for same symbols).
44040 # dllar is free software; you can redistribute it and/or modify
44041 # it under the terms of the GNU General Public License as published by
44042 # the Free Software Foundation; either version 2, or (at your option)
44043 # any later version.
44045 # dllar is distributed in the hope that it will be useful,
44046 # but WITHOUT ANY WARRANTY; without even the implied warranty of
44047 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44048 # GNU General Public License for more details.
44050 # You should have received a copy of the GNU General Public License
44051 # along with dllar; see the file COPYING. If not, write to the Free
44052 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
44055 # To successfuly run this program you will need:
44056 # - Current drive should have LFN support (HPFS, ext2, network, etc)
44057 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
44059 # (used to build the .dll)
44061 # (used to create .def file from .o files)
44063 # (used to create .a file from .def file)
44064 # - GNU text utilites (cat, sort, uniq)
44065 # used to process emxexp output
44066 # - GNU file utilities (mv, rm)
44068 # - lxlite (optional, see flag below)
44069 # (used for general .dll cleanup)
44076 # basnam, variant of basename, which does _not_ remove the path, _iff_
44077 # second argument (suffix to remove) is given
44081 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
44084 echo ${D}1 | sed 's/'${D}2'${D}//'
44087 echo "error in basnam ${D}*"
44093 # Cleanup temporary files and output
44096 for i in ${D}inputFiles ; do
44099 rm -rf \`basnam ${D}i !\`
44106 # Kill result in case of failure as there is just to many stupid make/nmake
44107 # things out there which doesn't do this.
44108 if [ ${D}# -eq 0 ]; then
44109 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
44113 # Print usage and exit script with rc=1.
44115 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
44116 echo ' [-name-mangler-script script.sh]'
44117 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
44118 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
44119 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
44120 echo ' [*.o] [*.a]'
44121 echo '*> "output_file" should have no extension.'
44122 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
44123 echo ' The import library name is derived from this and is set to "name".a,'
44124 echo ' unless overridden by -import'
44125 echo '*> "importlib_name" should have no extension.'
44126 echo ' If it has the .o, or .a extension, it is automatically removed.'
44127 echo ' This name is used as the import library name and may be longer and'
44128 echo ' more descriptive than the DLL name which has to follow the old '
44129 echo ' 8.3 convention of FAT.'
44130 echo '*> "script.sh may be given to override the output_file name by a'
44131 echo ' different name. It is mainly useful if the regular make process'
44132 echo ' of some package does not take into account OS/2 restriction of'
44133 echo ' DLL name lengths. It takes the importlib name as input and is'
44134 echo ' supposed to procude a shorter name as output. The script should'
44135 echo ' expect to get importlib_name without extension and should produce'
44136 echo ' a (max.) 8 letter name without extension.'
44137 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
44138 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
44139 echo ' These flags will be put at the start of GCC command line.'
44140 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
44141 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
44142 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
44143 echo ' If the last character of a symbol is "*", all symbols beginning'
44144 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
44145 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
44146 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
44147 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
44148 echo ' C runtime DLLs.'
44149 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
44150 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
44151 echo ' unchanged to GCC at the end of command line.'
44152 echo '*> If you create a DLL from a library and you do not specify -o,'
44153 echo ' the basename for DLL and import library will be set to library name,'
44154 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
44155 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
44156 echo ' library will be renamed into gcc_s.a.'
44159 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
44160 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
44165 # Execute a command.
44166 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
44167 # @Uses Whatever CleanUp() uses.
44173 if [ ${D}rcCmd -ne 0 ]; then
44174 echo "command failed, exit code="${D}rcCmd
44189 CFLAGS="-s -Zcrtdll"
44191 EXPORT_BY_ORDINALS=0
44196 case ${D}curDirS in
44200 curDirS=${D}{curDirS}"/"
44203 # Parse commandline
44206 while [ ${D}1 ]; do
44209 EXPORT_BY_ORDINALS=1;
44219 -name-mangler-script)
44240 exclude_symbols=${D}{exclude_symbols}${D}1" "
44244 library_flags=${D}{library_flags}${D}1" "
44263 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44266 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
44267 if [ ${D}omfLinking -eq 1 ]; then
44268 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
44270 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
44275 if [ ${D}libsToLink -ne 0 ]; then
44276 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44278 for file in ${D}1 ; do
44279 if [ -f ${D}file ]; then
44280 inputFiles="${D}{inputFiles} ${D}file"
44284 if [ ${D}found -eq 0 ]; then
44285 echo "ERROR: No file(s) found: "${D}1
44292 done # iterate cmdline words
44295 if [ -z "${D}inputFiles" ]; then
44296 echo "dllar: no input files"
44300 # Now extract all .o files from .a files
44302 for file in ${D}inputFiles ; do
44313 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
44318 dirname=\`basnam ${D}file ${D}suffix\`"_%"
44320 if [ ${D}? -ne 0 ]; then
44321 echo "Failed to create subdirectory ./${D}dirname"
44325 # Append '!' to indicate archive
44326 newInputFiles="${D}newInputFiles ${D}{dirname}!"
44327 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
44330 for subfile in ${D}dirname/*.o* ; do
44331 if [ -f ${D}subfile ]; then
44333 if [ -s ${D}subfile ]; then
44334 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
44335 newInputFiles="${D}newInputFiles ${D}subfile"
44339 if [ ${D}found -eq 0 ]; then
44340 echo "WARNING: there are no files in archive \\'${D}file\\'"
44344 newInputFiles="${D}{newInputFiles} ${D}file"
44348 inputFiles="${D}newInputFiles"
44350 # Output filename(s).
44352 if [ -z ${D}outFile ]; then
44354 set outFile ${D}inputFiles; outFile=${D}2
44357 # If it is an archive, remove the '!' and the '_%' suffixes
44358 case ${D}outFile in
44360 outFile=\`basnam ${D}outFile _%!\`
44365 case ${D}outFile in
44367 outFile=\`basnam ${D}outFile .dll\`
44370 outFile=\`basnam ${D}outFile .DLL\`
44373 outFile=\`basnam ${D}outFile .o\`
44376 outFile=\`basnam ${D}outFile .obj\`
44379 outFile=\`basnam ${D}outFile .a\`
44382 outFile=\`basnam ${D}outFile .lib\`
44387 case ${D}outimpFile in
44389 outimpFile=\`basnam ${D}outimpFile .a\`
44392 outimpFile=\`basnam ${D}outimpFile .lib\`
44397 if [ -z ${D}outimpFile ]; then
44398 outimpFile=${D}outFile
44400 defFile="${D}{outFile}.def"
44401 arcFile="${D}{outimpFile}.a"
44402 arcFile2="${D}{outimpFile}.lib"
44404 #create ${D}dllFile as something matching 8.3 restrictions,
44405 if [ -z ${D}renameScript ] ; then
44406 dllFile="${D}outFile"
44408 dllFile=\`${D}renameScript ${D}outimpFile\`
44411 if [ ${D}do_backup -ne 0 ] ; then
44412 if [ -f ${D}arcFile ] ; then
44413 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
44415 if [ -f ${D}arcFile2 ] ; then
44416 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
44420 # Extract public symbols from all the object files.
44421 tmpdefFile=${D}{defFile}_%
44422 rm -f ${D}tmpdefFile
44423 for file in ${D}inputFiles ; do
44428 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
44433 # Create the def file.
44435 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
44436 dllFile="${D}{dllFile}.dll"
44437 if [ ! -z ${D}description ]; then
44438 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
44440 echo "EXPORTS" >> ${D}defFile
44442 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
44443 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
44445 # Checks if the export is ok or not.
44446 for word in ${D}exclude_symbols; do
44447 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
44448 mv ${D}{tmpdefFile}% ${D}tmpdefFile
44452 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44453 sed "=" < ${D}tmpdefFile | \\
44457 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
44459 ' > ${D}{tmpdefFile}%
44460 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
44462 rm -f ${D}{tmpdefFile}%
44464 cat ${D}tmpdefFile >> ${D}defFile
44465 rm -f ${D}tmpdefFile
44467 # Do linking, create implib, and apply lxlite.
44469 for file in ${D}inputFiles ; do
44474 gccCmdl="${D}gccCmdl ${D}file"
44478 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
44479 touch "${D}{outFile}.dll"
44481 doCommand "emximp -o ${D}arcFile ${D}defFile"
44482 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
44484 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44487 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
44489 doCommand "emxomf -s -l ${D}arcFile"
44499 powerpc
-apple-macos* | \
44500 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
44509 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
44510 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
44511 { (exit 1); exit 1; }; }
44514 if test "x$PIC_FLAG" != "x" ; then
44515 PIC_FLAG
="$PIC_FLAG -DPIC"
44518 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
44519 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
44521 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
44522 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
44541 case "${BAKEFILE_HOST}" in
44542 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
44543 SONAME_FLAG
="-Wl,-soname,"
44577 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
44578 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
44581 if test "x$GCC" = "xyes"; then
44583 case "${BAKEFILE_HOST}" in
44585 DEPSFLAG
="-no-cpp-precomp -MMD"
44591 echo "$as_me:$LINENO: result: gcc" >&5
44592 echo "${ECHO_T}gcc" >&6
44593 elif test "x$MWCC" = "xyes"; then
44596 echo "$as_me:$LINENO: result: mwcc" >&5
44597 echo "${ECHO_T}mwcc" >&6
44598 elif test "x$SUNCC" = "xyes"; then
44601 echo "$as_me:$LINENO: result: Sun cc" >&5
44602 echo "${ECHO_T}Sun cc" >&6
44603 elif test "x$SGICC" = "xyes"; then
44606 echo "$as_me:$LINENO: result: SGI cc" >&5
44607 echo "${ECHO_T}SGI cc" >&6
44610 echo "$as_me:$LINENO: result: none" >&5
44611 echo "${ECHO_T}none" >&6
44614 if test $DEPS_TRACKING = 1 ; then
44620 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
44621 # script. It is used to track C/C++ files dependencies in portable way.
44623 # Permission is given to use this file in any way.
44625 DEPSMODE=${DEPSMODE}
44627 DEPSFLAG="${DEPSFLAG}"
44629 mkdir -p ${D}DEPSDIR
44631 if test ${D}DEPSMODE = gcc ; then
44632 ${D}* ${D}{DEPSFLAG}
44634 if test ${D}{status} != 0 ; then
44637 # move created file to the location we want it in:
44638 while test ${D}# -gt 0; do
44652 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
44653 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
44654 if test -f ${D}depfile ; then
44655 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
44658 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
44659 if test -f ${D}depfile ; then
44660 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
44665 elif test ${D}DEPSMODE = mwcc ; then
44666 ${D}* || exit ${D}?
44667 # Run mwcc again with -MM and redirect into the dep file we want
44668 # NOTE: We can't use shift here because we need ${D}* to be valid
44670 for arg in ${D}* ; do
44671 if test "${D}prevarg" = "-o"; then
44684 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
44686 elif test ${D}DEPSMODE = unixcc; then
44687 ${D}* || exit ${D}?
44688 # Run compiler again with deps flag and redirect into the dep file.
44689 # It doesn't work if the '-o FILE' option is used, but without it the
44690 # dependency file will contain the wrong name for the object. So it is
44691 # removed from the command line, and the dep file is fixed with sed.
44693 while test ${D}# -gt 0; do
44700 eval arg${D}#=\\${D}1
44701 cmd="${D}cmd \\${D}arg${D}#"
44706 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
44723 case ${BAKEFILE_HOST} in
44724 *-*-cygwin* | *-*-mingw32* )
44725 if test "$build" != "$host" ; then
44726 RESCOMP
=$host_alias-windres
44728 # Extract the first word of "windres", so it can be a program name with args.
44729 set dummy windres
; ac_word
=$2
44730 echo "$as_me:$LINENO: checking for $ac_word" >&5
44731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44732 if test "${ac_cv_prog_RESCOMP+set}" = set; then
44733 echo $ECHO_N "(cached) $ECHO_C" >&6
44735 if test -n "$RESCOMP"; then
44736 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
44738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44739 for as_dir
in $PATH
44742 test -z "$as_dir" && as_dir
=.
44743 for ac_exec_ext
in '' $ac_executable_extensions; do
44744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44745 ac_cv_prog_RESCOMP
="windres"
44746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44752 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
44755 RESCOMP
=$ac_cv_prog_RESCOMP
44756 if test -n "$RESCOMP"; then
44757 echo "$as_me:$LINENO: result: $RESCOMP" >&5
44758 echo "${ECHO_T}$RESCOMP" >&6
44760 echo "$as_me:$LINENO: result: no" >&5
44761 echo "${ECHO_T}no" >&6
44767 *-*-darwin* | powerpc
-apple-macos* )
44768 # Extract the first word of "Rez", so it can be a program name with args.
44769 set dummy Rez
; ac_word
=$2
44770 echo "$as_me:$LINENO: checking for $ac_word" >&5
44771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44772 if test "${ac_cv_prog_RESCOMP+set}" = set; then
44773 echo $ECHO_N "(cached) $ECHO_C" >&6
44775 if test -n "$RESCOMP"; then
44776 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
44778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44779 for as_dir
in $PATH
44782 test -z "$as_dir" && as_dir
=.
44783 for ac_exec_ext
in '' $ac_executable_extensions; do
44784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44785 ac_cv_prog_RESCOMP
="Rez"
44786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44792 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
44795 RESCOMP
=$ac_cv_prog_RESCOMP
44796 if test -n "$RESCOMP"; then
44797 echo "$as_me:$LINENO: result: $RESCOMP" >&5
44798 echo "${ECHO_T}$RESCOMP" >&6
44800 echo "$as_me:$LINENO: result: no" >&5
44801 echo "${ECHO_T}no" >&6
44804 # Extract the first word of "SetFile", so it can be a program name with args.
44805 set dummy SetFile
; ac_word
=$2
44806 echo "$as_me:$LINENO: checking for $ac_word" >&5
44807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44808 if test "${ac_cv_prog_SETFILE+set}" = set; then
44809 echo $ECHO_N "(cached) $ECHO_C" >&6
44811 if test -n "$SETFILE"; then
44812 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
44814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44815 for as_dir
in $PATH
44818 test -z "$as_dir" && as_dir
=.
44819 for ac_exec_ext
in '' $ac_executable_extensions; do
44820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44821 ac_cv_prog_SETFILE
="SetFile"
44822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44828 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
44831 SETFILE
=$ac_cv_prog_SETFILE
44832 if test -n "$SETFILE"; then
44833 echo "$as_me:$LINENO: result: $SETFILE" >&5
44834 echo "${ECHO_T}$SETFILE" >&6
44836 echo "$as_me:$LINENO: result: no" >&5
44837 echo "${ECHO_T}no" >&6
44847 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
44850 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
44854 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
44855 if test "${enable_precomp_headers+set}" = set; then
44856 enableval
="$enable_precomp_headers"
44857 bk_use_pch
="$enableval"
44862 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
44863 if test "x$GCC" = "xyes"; then
44864 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
44865 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
44866 cat >conftest.
$ac_ext <<_ACEOF
44869 cat confdefs.h
>>conftest.
$ac_ext
44870 cat >>conftest.
$ac_ext <<_ACEOF
44871 /* end confdefs.h. */
44877 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
44878 #error "no pch support"
44881 #error "no pch support"
44883 #if (__GNUC__ == 3) && \
44884 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
44885 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
44886 #error "no pch support"
44893 rm -f conftest.
$ac_objext
44894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44895 (eval $ac_compile) 2>conftest.er1
44897 grep -v '^ *+' conftest.er1
>conftest.err
44899 cat conftest.err
>&5
44900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44901 (exit $ac_status); } &&
44902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44904 (eval $ac_try) 2>&5
44906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44907 (exit $ac_status); }; } &&
44908 { ac_try
='test -s conftest.$ac_objext'
44909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44910 (eval $ac_try) 2>&5
44912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44913 (exit $ac_status); }; }; then
44915 echo "$as_me:$LINENO: result: yes" >&5
44916 echo "${ECHO_T}yes" >&6
44920 echo "$as_me: failed program was:" >&5
44921 sed 's/^/| /' conftest.
$ac_ext >&5
44924 echo "$as_me:$LINENO: result: no" >&5
44925 echo "${ECHO_T}no" >&6
44928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44929 if test $GCC_PCH = 1 ; then
44932 cat <<EOF >bk-make-pch
44935 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
44936 # script. It is used to generated precompiled headers.
44938 # Permission is given to use this file in any way.
44947 while test ${D}{#} -gt 0; do
44950 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
44951 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
44952 headerfile="${D}{incdir}/${D}{header}"
44956 compiler="${D}{compiler} ${D}{1}"
44960 if test "x${D}{headerfile}" = "x" ; then
44961 echo "error: can't find header ${D}{header} in include paths" >2
44963 if test -f ${D}{outfile} ; then
44964 rm -f ${D}{outfile}
44966 mkdir -p \`dirname ${D}{outfile}\`
44968 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
44970 # can do this because gcc is >= 3.4:
44971 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
44976 chmod +x bk
-make-pch
44983 COND_BUILD_DEBUG
="#"
44984 if test "x$BUILD" = "xdebug" ; then
44985 COND_BUILD_DEBUG
=""
44988 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
44989 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
44990 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
44993 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
44994 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
44995 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
44998 COND_BUILD_DEBUG_UNICODE_0
="#"
44999 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
45000 COND_BUILD_DEBUG_UNICODE_0
=""
45003 COND_BUILD_DEBUG_UNICODE_1
="#"
45004 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
45005 COND_BUILD_DEBUG_UNICODE_1
=""
45008 COND_BUILD_RELEASE
="#"
45009 if test "x$BUILD" = "xrelease" ; then
45010 COND_BUILD_RELEASE
=""
45013 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
45014 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
45015 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
45018 COND_BUILD_RELEASE_UNICODE_0
="#"
45019 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
45020 COND_BUILD_RELEASE_UNICODE_0
=""
45023 COND_BUILD_RELEASE_UNICODE_1
="#"
45024 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
45025 COND_BUILD_RELEASE_UNICODE_1
=""
45028 COND_DEBUG_FLAG_1
="#"
45029 if test "x$DEBUG_FLAG" = "x1" ; then
45030 COND_DEBUG_FLAG_1
=""
45033 COND_DEBUG_INFO_0
="#"
45034 if test "x$DEBUG_INFO" = "x0" ; then
45035 COND_DEBUG_INFO_0
=""
45038 COND_DEBUG_INFO_1
="#"
45039 if test "x$DEBUG_INFO" = "x1" ; then
45040 COND_DEBUG_INFO_1
=""
45043 COND_DEPS_TRACKING_0
="#"
45044 if test "x$DEPS_TRACKING" = "x0" ; then
45045 COND_DEPS_TRACKING_0
=""
45048 COND_DEPS_TRACKING_1
="#"
45049 if test "x$DEPS_TRACKING" = "x1" ; then
45050 COND_DEPS_TRACKING_1
=""
45054 if test "x$GCC_PCH" = "x1" ; then
45058 COND_MONOLITHIC_0
="#"
45059 if test "x$MONOLITHIC" = "x0" ; then
45060 COND_MONOLITHIC_0
=""
45063 COND_MONOLITHIC_0_SHARED_0
="#"
45064 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
45065 COND_MONOLITHIC_0_SHARED_0
=""
45068 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
45069 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
45070 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
45073 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
45074 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45075 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
45078 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
45079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45080 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
45083 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
45084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45085 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
45088 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
45089 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
45090 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
45093 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
45094 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45095 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
45098 COND_MONOLITHIC_0_SHARED_1
="#"
45099 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
45100 COND_MONOLITHIC_0_SHARED_1
=""
45103 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
45104 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
45105 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
45108 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
45109 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45110 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
45113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
45114 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45115 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
45118 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
45119 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45120 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
45123 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
45124 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
45125 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
45128 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
45129 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45130 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
45133 COND_MONOLITHIC_0_USE_ODBC_1
="#"
45134 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
45135 COND_MONOLITHIC_0_USE_ODBC_1
=""
45138 COND_MONOLITHIC_1
="#"
45139 if test "x$MONOLITHIC" = "x1" ; then
45140 COND_MONOLITHIC_1
=""
45143 COND_MONOLITHIC_1_SHARED_0
="#"
45144 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
45145 COND_MONOLITHIC_1_SHARED_0
=""
45148 COND_MONOLITHIC_1_SHARED_1
="#"
45149 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
45150 COND_MONOLITHIC_1_SHARED_1
=""
45153 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
45154 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
45155 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
45158 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
45159 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
45160 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
45163 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
45164 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45165 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
45168 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
45169 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45170 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
45173 COND_PLATFORM_MACOSX_1
="#"
45174 if test "x$PLATFORM_MACOSX" = "x1" ; then
45175 COND_PLATFORM_MACOSX_1
=""
45178 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
45179 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
45180 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
45183 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
45184 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
45185 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
45188 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
45189 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
45190 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
45193 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
45194 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
45195 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
45198 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
45199 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45200 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
45203 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
45204 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45205 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
45208 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
45209 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
45210 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
45213 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
45214 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
45215 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
45218 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
45219 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
45220 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
45223 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
45224 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45225 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
45228 COND_PLATFORM_MACOS_1
="#"
45229 if test "x$PLATFORM_MACOS" = "x1" ; then
45230 COND_PLATFORM_MACOS_1
=""
45233 COND_PLATFORM_MAC_1
="#"
45234 if test "x$PLATFORM_MAC" = "x1" ; then
45235 COND_PLATFORM_MAC_1
=""
45238 COND_PLATFORM_MSDOS_1
="#"
45239 if test "x$PLATFORM_MSDOS" = "x1" ; then
45240 COND_PLATFORM_MSDOS_1
=""
45243 COND_PLATFORM_OS2_1
="#"
45244 if test "x$PLATFORM_OS2" = "x1" ; then
45245 COND_PLATFORM_OS2_1
=""
45248 COND_PLATFORM_UNIX_0
="#"
45249 if test "x$PLATFORM_UNIX" = "x0" ; then
45250 COND_PLATFORM_UNIX_0
=""
45253 COND_PLATFORM_UNIX_1
="#"
45254 if test "x$PLATFORM_UNIX" = "x1" ; then
45255 COND_PLATFORM_UNIX_1
=""
45258 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
45259 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
45260 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
45263 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
45264 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
45265 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
45268 COND_PLATFORM_WIN32_0
="#"
45269 if test "x$PLATFORM_WIN32" = "x0" ; then
45270 COND_PLATFORM_WIN32_0
=""
45273 COND_PLATFORM_WIN32_1
="#"
45274 if test "x$PLATFORM_WIN32" = "x1" ; then
45275 COND_PLATFORM_WIN32_1
=""
45279 if test "x$SHARED" = "x0" ; then
45283 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
45284 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
45285 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
45288 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
45289 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45290 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
45293 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
45294 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
45295 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
45298 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
45299 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45300 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
45303 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
45304 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45305 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
45308 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
45309 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45310 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
45313 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
45314 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45315 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
45318 COND_SHARED_0_USE_XRC_1
="#"
45319 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45320 COND_SHARED_0_USE_XRC_1
=""
45323 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
45324 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
45325 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
45328 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
45329 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
45330 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
45333 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
45334 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
45335 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
45338 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
45339 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
45340 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
45344 if test "x$SHARED" = "x1" ; then
45348 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
45349 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45350 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
45353 COND_SHARED_1_USE_XRC_1
="#"
45354 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45355 COND_SHARED_1_USE_XRC_1
=""
45359 if test "x$TOOLKIT" = "x" ; then
45363 COND_TOOLKIT_COCOA
="#"
45364 if test "x$TOOLKIT" = "xCOCOA" ; then
45365 COND_TOOLKIT_COCOA
=""
45368 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
45369 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
45370 COND_TOOLKIT_COCOA_USE_GUI_1
=""
45373 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
45374 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45375 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
45378 COND_TOOLKIT_GTK
="#"
45379 if test "x$TOOLKIT" = "xGTK" ; then
45380 COND_TOOLKIT_GTK
=""
45383 COND_TOOLKIT_GTK_USE_GUI_1
="#"
45384 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
45385 COND_TOOLKIT_GTK_USE_GUI_1
=""
45388 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
45389 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45390 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
45393 COND_TOOLKIT_MAC
="#"
45394 if test "x$TOOLKIT" = "xMAC" ; then
45395 COND_TOOLKIT_MAC
=""
45398 COND_TOOLKIT_MAC_USE_GUI_1
="#"
45399 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45400 COND_TOOLKIT_MAC_USE_GUI_1
=""
45403 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
45404 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45405 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
45408 COND_TOOLKIT_MGL
="#"
45409 if test "x$TOOLKIT" = "xMGL" ; then
45410 COND_TOOLKIT_MGL
=""
45413 COND_TOOLKIT_MGL_USE_GUI_1
="#"
45414 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
45415 COND_TOOLKIT_MGL_USE_GUI_1
=""
45418 COND_TOOLKIT_MOTIF
="#"
45419 if test "x$TOOLKIT" = "xMOTIF" ; then
45420 COND_TOOLKIT_MOTIF
=""
45423 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
45424 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
45425 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
45428 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
45429 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45430 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
45433 COND_TOOLKIT_MSW
="#"
45434 if test "x$TOOLKIT" = "xMSW" ; then
45435 COND_TOOLKIT_MSW
=""
45438 COND_TOOLKIT_MSW_USE_GUI_1
="#"
45439 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
45440 COND_TOOLKIT_MSW_USE_GUI_1
=""
45443 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
45444 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45445 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
45448 COND_TOOLKIT_MSW_WXUNIV_0
="#"
45449 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45450 COND_TOOLKIT_MSW_WXUNIV_0
=""
45453 COND_TOOLKIT_PM
="#"
45454 if test "x$TOOLKIT" = "xPM" ; then
45458 COND_TOOLKIT_PM_USE_GUI_1
="#"
45459 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
45460 COND_TOOLKIT_PM_USE_GUI_1
=""
45463 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
45464 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45465 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
45468 COND_TOOLKIT_WINCE
="#"
45469 if test "x$TOOLKIT" = "xWINCE" ; then
45470 COND_TOOLKIT_WINCE
=""
45473 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
45474 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
45475 COND_TOOLKIT_WINCE_USE_GUI_1
=""
45478 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
45479 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45480 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
45483 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
45484 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
45485 COND_TOOLKIT_WINCE_WXUNIV_0
=""
45488 COND_TOOLKIT_X11
="#"
45489 if test "x$TOOLKIT" = "xX11" ; then
45490 COND_TOOLKIT_X11
=""
45493 COND_TOOLKIT_X11_USE_GUI_1
="#"
45494 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
45495 COND_TOOLKIT_X11_USE_GUI_1
=""
45499 if test "x$UNICODE" = "x1" ; then
45503 COND_USE_EXCEPTIONS_0
="#"
45504 if test "x$USE_EXCEPTIONS" = "x0" ; then
45505 COND_USE_EXCEPTIONS_0
=""
45508 COND_USE_EXCEPTIONS_1
="#"
45509 if test "x$USE_EXCEPTIONS" = "x1" ; then
45510 COND_USE_EXCEPTIONS_1
=""
45514 if test "x$USE_GUI" = "x0" ; then
45519 if test "x$USE_GUI" = "x1" ; then
45523 COND_USE_GUI_1_WXUNIV_0
="#"
45524 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45525 COND_USE_GUI_1_WXUNIV_0
=""
45528 COND_USE_GUI_1_WXUNIV_1
="#"
45529 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
45530 COND_USE_GUI_1_WXUNIV_1
=""
45533 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
45534 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45535 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
45538 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
45539 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45540 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
45543 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
45544 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45545 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
45548 COND_USE_ODBC_1
="#"
45549 if test "x$USE_ODBC" = "x1" ; then
45553 COND_USE_OPENGL_1
="#"
45554 if test "x$USE_OPENGL" = "x1" ; then
45555 COND_USE_OPENGL_1
=""
45558 COND_USE_PLUGINS_0
="#"
45559 if test "x$USE_PLUGINS" = "x0" ; then
45560 COND_USE_PLUGINS_0
=""
45563 COND_USE_RTTI_0
="#"
45564 if test "x$USE_RTTI" = "x0" ; then
45568 COND_USE_RTTI_1
="#"
45569 if test "x$USE_RTTI" = "x1" ; then
45573 COND_USE_SOSYMLINKS_1
="#"
45574 if test "x$USE_SOSYMLINKS" = "x1" ; then
45575 COND_USE_SOSYMLINKS_1
=""
45578 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
45579 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45580 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
45583 COND_USE_SOVERLINUX_1
="#"
45584 if test "x$USE_SOVERLINUX" = "x1" ; then
45585 COND_USE_SOVERLINUX_1
=""
45588 COND_USE_SOVERSION_0
="#"
45589 if test "x$USE_SOVERSION" = "x0" ; then
45590 COND_USE_SOVERSION_0
=""
45593 COND_USE_SOVERSOLARIS_1
="#"
45594 if test "x$USE_SOVERSOLARIS" = "x1" ; then
45595 COND_USE_SOVERSOLARIS_1
=""
45598 COND_USE_THREADS_0
="#"
45599 if test "x$USE_THREADS" = "x0" ; then
45600 COND_USE_THREADS_0
=""
45603 COND_USE_THREADS_1
="#"
45604 if test "x$USE_THREADS" = "x1" ; then
45605 COND_USE_THREADS_1
=""
45609 if test "x$USE_XRC" = "x1" ; then
45613 COND_WINDOWS_IMPLIB_1
="#"
45614 if test "x$WINDOWS_IMPLIB" = "x1" ; then
45615 COND_WINDOWS_IMPLIB_1
=""
45618 COND_WITH_PLUGIN_SDL_1
="#"
45619 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
45620 COND_WITH_PLUGIN_SDL_1
=""
45624 if test "x$WXUNIV" = "x0" ; then
45629 if test "x$WXUNIV" = "x1" ; then
45633 COND_WXUSE_EXPAT_BUILTIN
="#"
45634 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
45635 COND_WXUSE_EXPAT_BUILTIN
=""
45638 COND_WXUSE_LIBJPEG_BUILTIN
="#"
45639 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45640 COND_WXUSE_LIBJPEG_BUILTIN
=""
45643 COND_WXUSE_LIBPNG_BUILTIN
="#"
45644 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45645 COND_WXUSE_LIBPNG_BUILTIN
=""
45648 COND_WXUSE_LIBTIFF_BUILTIN
="#"
45649 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45650 COND_WXUSE_LIBTIFF_BUILTIN
=""
45653 COND_WXUSE_ODBC_BUILTIN
="#"
45654 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
45655 COND_WXUSE_ODBC_BUILTIN
=""
45658 COND_WXUSE_REGEX_BUILTIN
="#"
45659 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
45660 COND_WXUSE_REGEX_BUILTIN
=""
45663 COND_WXUSE_ZLIB_BUILTIN
="#"
45664 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
45665 COND_WXUSE_ZLIB_BUILTIN
=""
45670 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
45671 { { 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
45672 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;}
45673 { (exit 1); exit 1; }; }
45676 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
45677 { { 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
45678 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;}
45679 { (exit 1); exit 1; }; }
45683 if test "$wxUSE_SHARED" = "yes"; then
45685 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
45686 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
45689 *-pc-os2_emx | *-pc-os2-emx )
45690 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45691 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45692 cp -p ${srcdir}/src
/os
2/dllnames.sh .
45693 cp -p ${srcdir}/src
/os
2/dllar.sh .
45698 EXE_LINKER
="$CXX -o"
45701 if test "$wxUSE_OMF" = "yes"; then
45703 *-pc-os2_emx | *-pc-os2-emx )
45704 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
45705 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
45706 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
45711 if test $GCC_PCH = 1 ; then
45712 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
45716 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
45780 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45781 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45782 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45783 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45784 echo $ECHO_N "(cached) $ECHO_C" >&6
45786 cat >conftest.
make <<\_ACEOF
45788 @
echo 'ac_maketemp="$(MAKE)"'
45790 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45791 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45792 if test -n "$ac_maketemp"; then
45793 eval ac_cv_prog_make_
${ac_make}_set
=yes
45795 eval ac_cv_prog_make_
${ac_make}_set
=no
45797 rm -f conftest.
make
45799 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45800 echo "$as_me:$LINENO: result: yes" >&5
45801 echo "${ECHO_T}yes" >&6
45804 echo "$as_me:$LINENO: result: no" >&5
45805 echo "${ECHO_T}no" >&6
45806 SET_MAKE
="MAKE=${MAKE-make}"
45811 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
45814 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
45817 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
45820 ac_config_files
="$ac_config_files version-script Makefile"
45823 ac_config_commands
="$ac_config_commands wx-config
45828 if test "$wxWITH_SUBDIRS" != "no"; then
45829 if test "$wxUSE_GUI" = "yes"; then
45830 SUBDIRS
="samples demos utils contrib"
45831 else SUBDIRS
="samples utils"
45836 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
45837 if test "${with_cppunit_prefix+set}" = set; then
45838 withval
="$with_cppunit_prefix"
45839 cppunit_config_prefix
="$withval"
45841 cppunit_config_prefix
=""
45844 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
45845 if test "${with_cppunit_exec_prefix+set}" = set; then
45846 withval
="$with_cppunit_exec_prefix"
45847 cppunit_config_exec_prefix
="$withval"
45849 cppunit_config_exec_prefix
=""
45852 if test x
$cppunit_config_exec_prefix != x
; then
45853 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
45854 if test x
${CPPUNIT_CONFIG+set} != xset
; then
45855 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
45858 if test x
$cppunit_config_prefix != x
; then
45859 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
45860 if test x
${CPPUNIT_CONFIG+set} != xset
; then
45861 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
45865 # Extract the first word of "cppunit-config", so it can be a program name with args.
45866 set dummy cppunit
-config; ac_word
=$2
45867 echo "$as_me:$LINENO: checking for $ac_word" >&5
45868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45869 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
45870 echo $ECHO_N "(cached) $ECHO_C" >&6
45872 case $CPPUNIT_CONFIG in
45874 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
45877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45878 for as_dir
in $PATH
45881 test -z "$as_dir" && as_dir
=.
45882 for ac_exec_ext
in '' $ac_executable_extensions; do
45883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45884 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45891 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
45895 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
45897 if test -n "$CPPUNIT_CONFIG"; then
45898 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
45899 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
45901 echo "$as_me:$LINENO: result: no" >&5
45902 echo "${ECHO_T}no" >&6
45905 cppunit_version_min
=1.8.0
45907 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
45908 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
45910 if test "$CPPUNIT_CONFIG" = "no" ; then
45913 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
45914 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
45915 cppunit_version
=`$CPPUNIT_CONFIG --version`
45917 cppunit_major_version
=`echo $cppunit_version | \
45918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45919 cppunit_minor_version
=`echo $cppunit_version | \
45920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45921 cppunit_micro_version
=`echo $cppunit_version | \
45922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45924 cppunit_major_min
=`echo $cppunit_version_min | \
45925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45926 cppunit_minor_min
=`echo $cppunit_version_min | \
45927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45928 cppunit_micro_min
=`echo $cppunit_version_min | \
45929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45931 cppunit_version_proper
=`expr \
45932 $cppunit_major_version \> $cppunit_major_min \| \
45933 $cppunit_major_version \= $cppunit_major_min \& \
45934 $cppunit_minor_version \> $cppunit_minor_min \| \
45935 $cppunit_major_version \= $cppunit_major_min \& \
45936 $cppunit_minor_version \= $cppunit_minor_min \& \
45937 $cppunit_micro_version \>= $cppunit_micro_min `
45939 if test "$cppunit_version_proper" = "1" ; then
45940 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
45941 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
45943 echo "$as_me:$LINENO: result: no" >&5
45944 echo "${ECHO_T}no" >&6
45949 if test "x$no_cppunit" = x
; then
45950 SUBDIRS
="$SUBDIRS tests"
45961 for subdir
in `echo $SUBDIRS`; do
45962 if test -d ${srcdir}/${subdir} ; then
45963 if test "$wxUSE_GUI" = "yes"; then
45964 if test ${subdir} = "samples"; then
45965 makefiles
="samples/Makefile.in $makefiles"
45966 for sample
in `echo $SAMPLES_SUBDIRS`; do
45967 if test -d $srcdir/samples
/$sample; then
45968 makefiles
="samples/$sample/Makefile.in $makefiles"
45972 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
45973 eval "disabled=\$$disabled_var"
45974 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
45975 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
45977 else if test ${subdir} = "samples"; then
45978 makefiles
="samples/Makefile.in samples/console/Makefile.in"
45979 elif test ${subdir} = "utils"; then
45981 for util
in HelpGen tex2rtf
; do
45982 if test -d $srcdir/utils
/$util ; then
45983 makefiles
="utils/$util/Makefile.in \
45984 utils/$util/src/Makefile.in \
45988 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
45992 for mkin
in $makefiles ; do
45993 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
45994 ac_config_files
="$ac_config_files $mk"
46000 cat >confcache
<<\_ACEOF
46001 # This file is a shell script that caches the results of configure
46002 # tests run on this system so they can be shared between configure
46003 # scripts and configure runs, see configure's option --config-cache.
46004 # It is not useful on other systems. If it contains results you don't
46005 # want to keep, you may remove or edit it.
46007 # config.status only pays attention to the cache file if you give it
46008 # the --recheck option to rerun configure.
46010 # `ac_cv_env_foo' variables (set or unset) will be overridden when
46011 # loading this file, other *unset* `ac_cv_foo' will be assigned the
46012 # following values.
46016 # The following way of writing the cache mishandles newlines in values,
46017 # but we know of no workaround that is simple, portable, and efficient.
46018 # So, don't put newlines in cache variables' values.
46019 # Ultrix sh set writes to stderr and can't be redirected directly,
46020 # and sets the high bit in the cache file unless we assign to the vars.
46023 case `(ac_space=' '; set | grep ac_space) 2>&1` in
46025 # `set' does not quote correctly, so add quotes (double-quote
46026 # substitution turns \\\\ into \\, and sed turns \\ into \).
46029 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46032 # `set' quotes correctly as required by POSIX, so do not add quotes.
46034 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
46041 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46043 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46045 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
46046 if test -w $cache_file; then
46047 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
46048 cat confcache
>$cache_file
46050 echo "not updating unwritable cache $cache_file"
46055 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
46056 # Let make expand exec_prefix.
46057 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
46059 # VPATH may cause trouble with some makes, so we remove $(srcdir),
46060 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
46061 # trailing colons and then remove the whole line if VPATH becomes empty
46062 # (actually we leave an empty line to preserve line numbers).
46063 if test "x$srcdir" = x.
; then
46064 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
46065 s/:*\$(srcdir):*/:/;
46066 s/:*\${srcdir}:*/:/;
46068 s/^\([^=]*=[ ]*\):*/\1/;
46074 DEFS
=-DHAVE_CONFIG_H
46078 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
46079 # 1. Remove the extension, and $U if already installed.
46080 ac_i
=`echo "$ac_i" |
46081 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
46083 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
46084 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
46086 LIBOBJS
=$ac_libobjs
46088 LTLIBOBJS
=$ac_ltlibobjs
46092 : ${CONFIG_STATUS=./config.status}
46093 ac_clean_files_save
=$ac_clean_files
46094 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
46095 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
46096 echo "$as_me: creating $CONFIG_STATUS" >&6;}
46097 cat >$CONFIG_STATUS <<_ACEOF
46099 # Generated by $as_me.
46100 # Run this file to recreate the current configuration.
46101 # Compiler output produced by configure, useful for debugging
46102 # configure, is in config.log if it exists.
46105 ac_cs_recheck=false
46107 SHELL=\${CONFIG_SHELL-$SHELL}
46110 cat >>$CONFIG_STATUS <<\_ACEOF
46111 ## --------------------- ##
46112 ## M4sh Initialization. ##
46113 ## --------------------- ##
46115 # Be Bourne compatible
46116 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
46119 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
46120 # is contrary to our usage. Disable this feature.
46121 alias -g '${1+"$@"}'='"$@"'
46122 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
46125 DUALCASE
=1; export DUALCASE
# for MKS sh
46127 # Support unset when possible.
46128 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
46135 # Work around bugs in pre-3.0 UWIN ksh.
46136 $as_unset ENV MAIL MAILPATH
46143 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
46144 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46145 LC_TELEPHONE LC_TIME
46147 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46148 eval $as_var=C
; export $as_var
46154 # Required to use basename.
46155 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46161 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
46162 as_basename
=basename
46168 # Name of the executable.
46169 as_me
=`$as_basename "$0" ||
46170 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46171 X"$0" : 'X\(//\)$' \| \
46172 X"$0" : 'X\(/\)$' \| \
46173 . : '\(.\)' 2>/dev/null ||
46175 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
46176 /^X\/\(\/\/\)$/{ s//\1/; q; }
46177 /^X\/\(\/\).*/{ s//\1/; q; }
46181 # PATH needs CR, and LINENO needs CR and PATH.
46182 # Avoid depending upon Character Ranges.
46183 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
46184 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46185 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
46186 as_cr_digits
='0123456789'
46187 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46189 # The user is always right.
46190 if test "${PATH_SEPARATOR+set}" != set; then
46191 echo "#! /bin/sh" >conf$$.sh
46192 echo "exit 0" >>conf$$.sh
46194 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
46203 as_lineno_1
=$LINENO
46204 as_lineno_2
=$LINENO
46205 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
46206 test "x$as_lineno_1" != "x$as_lineno_2" &&
46207 test "x$as_lineno_3" = "x$as_lineno_2" || {
46208 # Find who we are. Look in the path if we contain no path at all
46211 *[\\/]* ) as_myself
=$0 ;;
46212 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46213 for as_dir
in $PATH
46216 test -z "$as_dir" && as_dir
=.
46217 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
46222 # We did not find ourselves, most probably we were run as `sh COMMAND'
46223 # in which case we are not to be found in the path.
46224 if test "x$as_myself" = x
; then
46227 if test ! -f "$as_myself"; then
46228 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
46229 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
46230 { (exit 1); exit 1; }; }
46232 case $CONFIG_SHELL in
46234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46235 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
46238 test -z "$as_dir" && as_dir
=.
46239 for as_base
in sh bash ksh sh5
; do
46242 if ("$as_dir/$as_base" -c '
46243 as_lineno_1=$LINENO
46244 as_lineno_2=$LINENO
46245 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46246 test "x$as_lineno_1" != "x$as_lineno_2" &&
46247 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
46248 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
46249 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
46250 CONFIG_SHELL
=$as_dir/$as_base
46251 export CONFIG_SHELL
46252 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
46260 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
46261 # uniformly replaced by the line number. The first 'sed' inserts a
46262 # line-number line before each line; the second 'sed' does the real
46263 # work. The second script uses 'N' to pair each line-number line
46264 # with the numbered line, and appends trailing '-' during
46265 # substitution so that $LINENO is not a special case at line end.
46266 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
46267 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
46268 sed '=' <$as_myself |
46273 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
46276 s,^['$as_cr_digits']*\n,,
46277 ' >$as_me.lineno
&&
46278 chmod +x
$as_me.lineno
||
46279 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
46280 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
46281 { (exit 1); exit 1; }; }
46283 # Don't try to exec as it changes $[0], causing all sort of problems
46284 # (the dirname of $[0] is not the place where we might find the
46285 # original and so on. Autoconf is especially sensible to this).
46287 # Exit status is that of the last command.
46292 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
46293 *c
*,-n*) ECHO_N
= ECHO_C
='
46295 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
46296 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
46299 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46305 rm -f conf$$ conf$$.exe conf$$.
file
46307 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
46308 # We could just check for DJGPP; but this test a) works b) is more generic
46309 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
46310 if test -f conf$$.exe
; then
46311 # Don't use ln at all; we don't have any links
46316 elif ln conf$$.
file conf$$
2>/dev
/null
; then
46321 rm -f conf$$ conf$$.exe conf$$.
file
46323 if mkdir -p .
2>/dev
/null
; then
46326 test -d .
/-p && rmdir .
/-p
46330 as_executable_p
="test -f"
46332 # Sed expression to map a string onto a valid CPP name.
46333 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
46335 # Sed expression to map a string onto a valid variable name.
46336 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
46340 # We need space, tab and new line, in precisely that order.
46350 # Open the log real soon, to keep \$[0] and so on meaningful, and to
46351 # report actual input values of CONFIG_FILES etc. instead of their
46352 # values after options handling. Logging --version etc. is OK.
46356 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
46357 ## Running $as_me. ##
46362 This file was extended by wxWidgets $as_me 2.7.0, which was
46363 generated by GNU Autoconf 2.59. Invocation command line was
46365 CONFIG_FILES = $CONFIG_FILES
46366 CONFIG_HEADERS = $CONFIG_HEADERS
46367 CONFIG_LINKS = $CONFIG_LINKS
46368 CONFIG_COMMANDS = $CONFIG_COMMANDS
46372 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
46376 # Files that config.status was made for.
46377 if test -n "$ac_config_files"; then
46378 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
46381 if test -n "$ac_config_headers"; then
46382 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
46385 if test -n "$ac_config_links"; then
46386 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
46389 if test -n "$ac_config_commands"; then
46390 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
46393 cat >>$CONFIG_STATUS <<\_ACEOF
46396 \`$as_me' instantiates files from templates according to the
46397 current configuration.
46399 Usage: $0 [OPTIONS] [FILE]...
46401 -h, --help print this help, then exit
46402 -V, --version print version number, then exit
46403 -q, --quiet do not print progress messages
46404 -d, --debug don't remove temporary files
46405 --recheck update $as_me by reconfiguring in the same conditions
46406 --file=FILE[:TEMPLATE]
46407 instantiate the configuration file FILE
46408 --header=FILE[:TEMPLATE]
46409 instantiate the configuration header FILE
46411 Configuration files:
46414 Configuration headers:
46417 Configuration commands:
46420 Report bugs to <bug-autoconf@gnu.org>."
46423 cat >>$CONFIG_STATUS <<_ACEOF
46425 wxWidgets config.status 2.7.0
46426 configured by $0, generated by GNU Autoconf 2.59,
46427 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
46429 Copyright (C) 2003 Free Software Foundation, Inc.
46430 This config.status script is free software; the Free Software Foundation
46431 gives unlimited permission to copy, distribute and modify it."
46436 cat >>$CONFIG_STATUS <<\_ACEOF
46437 # If no file are specified by the user, then we need to provide default
46438 # value. By we need to know if files were specified by the user.
46444 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
46445 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
46453 *) # This is not an option, so the user has probably given explicit
46456 ac_need_defaults
=false
;;
46460 # Handling of the options.
46462 cat >>$CONFIG_STATUS <<\_ACEOF
46463 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
46465 --version | --vers* | -V )
46466 echo "$ac_cs_version"; exit 0 ;;
46468 # Conflict between --help and --header
46469 { { echo "$as_me:$LINENO: error: ambiguous option: $1
46470 Try \`$0 --help' for more information." >&5
46471 echo "$as_me: error: ambiguous option: $1
46472 Try \`$0 --help' for more information." >&2;}
46473 { (exit 1); exit 1; }; };;
46474 --help | --hel | -h )
46475 echo "$ac_cs_usage"; exit 0 ;;
46476 --debug | --d* | -d )
46478 --file | --fil | --fi | --f )
46480 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
46481 ac_need_defaults
=false
;;
46482 --header | --heade | --head | --hea )
46484 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
46485 ac_need_defaults
=false
;;
46486 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
46487 | -silent | --silent | --silen | --sile | --sil | --si | --s)
46490 # This is an error.
46491 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
46492 Try \`$0 --help' for more information." >&5
46493 echo "$as_me: error: unrecognized option: $1
46494 Try \`$0 --help' for more information." >&2;}
46495 { (exit 1); exit 1; }; } ;;
46497 *) ac_config_targets
="$ac_config_targets $1" ;;
46503 ac_configure_extra_args
=
46505 if $ac_cs_silent; then
46507 ac_configure_extra_args
="$ac_configure_extra_args --silent"
46511 cat >>$CONFIG_STATUS <<_ACEOF
46512 if \$ac_cs_recheck; then
46513 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
46514 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
46519 cat >>$CONFIG_STATUS <<_ACEOF
46521 # INIT-COMMANDS section.
46524 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46525 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46526 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46534 cat >>$CONFIG_STATUS <<\_ACEOF
46535 for ac_config_target
in $ac_config_targets
46537 case "$ac_config_target" in
46538 # Handling of arguments.
46539 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
46540 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
46541 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
46542 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
46543 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
46544 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
46545 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
46546 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
46547 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
46548 { (exit 1); exit 1; }; };;
46552 # If the user did not use the arguments to specify the items to instantiate,
46553 # then the envvar interface is used. Set only those that are not.
46554 # We use the long form for the default assignment because of an extremely
46555 # bizarre bug on SunOS 4.1.3.
46556 if $ac_need_defaults; then
46557 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
46558 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
46559 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
46562 # Have a temporary directory for convenience. Make it in the build tree
46563 # simply because there is no reason to put it here, and in addition,
46564 # creating and moving files from /tmp can sometimes cause problems.
46565 # Create a temporary directory, and hook for its removal unless debugging.
46568 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
46569 trap '{ (exit 1); exit 1; }' 1 2 13 15
46572 # Create a (secure) tmp directory for tmp files.
46575 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
46576 test -n "$tmp" && test -d "$tmp"
46579 tmp
=.
/confstat$$
-$RANDOM
46580 (umask 077 && mkdir $tmp)
46583 echo "$me: cannot create a temporary directory in ." >&2
46584 { (exit 1); exit 1; }
46589 cat >>$CONFIG_STATUS <<_ACEOF
46592 # CONFIG_FILES section.
46595 # No need to generate the scripts if there are no CONFIG_FILES.
46596 # This happens for instance when ./config.status config.h
46597 if test -n "\$CONFIG_FILES"; then
46598 # Protect against being on the right side of a sed subst in config.status.
46599 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
46600 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
46601 s,@SHELL@,$SHELL,;t t
46602 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
46603 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
46604 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
46605 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
46606 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
46607 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
46608 s,@exec_prefix@,$exec_prefix,;t t
46609 s,@prefix@,$prefix,;t t
46610 s,@program_transform_name@,$program_transform_name,;t t
46611 s,@bindir@,$bindir,;t t
46612 s,@sbindir@,$sbindir,;t t
46613 s,@libexecdir@,$libexecdir,;t t
46614 s,@datadir@,$datadir,;t t
46615 s,@sysconfdir@,$sysconfdir,;t t
46616 s,@sharedstatedir@,$sharedstatedir,;t t
46617 s,@localstatedir@,$localstatedir,;t t
46618 s,@libdir@,$libdir,;t t
46619 s,@includedir@,$includedir,;t t
46620 s,@oldincludedir@,$oldincludedir,;t t
46621 s,@infodir@,$infodir,;t t
46622 s,@mandir@,$mandir,;t t
46623 s,@build_alias@,$build_alias,;t t
46624 s,@host_alias@,$host_alias,;t t
46625 s,@target_alias@,$target_alias,;t t
46626 s,@DEFS@,$DEFS,;t t
46627 s,@ECHO_C@,$ECHO_C,;t t
46628 s,@ECHO_N@,$ECHO_N,;t t
46629 s,@ECHO_T@,$ECHO_T,;t t
46630 s,@LIBS@,$LIBS,;t t
46631 s,@build@,$build,;t t
46632 s,@build_cpu@,$build_cpu,;t t
46633 s,@build_vendor@,$build_vendor,;t t
46634 s,@build_os@,$build_os,;t t
46635 s,@host@,$host,;t t
46636 s,@host_cpu@,$host_cpu,;t t
46637 s,@host_vendor@,$host_vendor,;t t
46638 s,@host_os@,$host_os,;t t
46639 s,@target@,$target,;t t
46640 s,@target_cpu@,$target_cpu,;t t
46641 s,@target_vendor@,$target_vendor,;t t
46642 s,@target_os@,$target_os,;t t
46644 s,@CFLAGS@,$CFLAGS,;t t
46645 s,@LDFLAGS@,$LDFLAGS,;t t
46646 s,@CPPFLAGS@,$CPPFLAGS,;t t
46647 s,@ac_ct_CC@,$ac_ct_CC,;t t
46648 s,@EXEEXT@,$EXEEXT,;t t
46649 s,@OBJEXT@,$OBJEXT,;t t
46651 s,@EGREP@,$EGREP,;t t
46653 s,@CXXFLAGS@,$CXXFLAGS,;t t
46654 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
46655 s,@RANLIB@,$RANLIB,;t t
46656 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
46658 s,@ac_ct_AR@,$ac_ct_AR,;t t
46659 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
46660 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
46661 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
46662 s,@STRIP@,$STRIP,;t t
46663 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
46664 s,@RESCOMP@,$RESCOMP,;t t
46665 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
46666 s,@DLLTOOL@,$DLLTOOL,;t t
46667 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
46668 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
46669 s,@LN_S@,$LN_S,;t t
46670 s,@CXXCPP@,$CXXCPP,;t t
46671 s,@subdirs@,$subdirs,;t t
46672 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
46673 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
46674 s,@GTK_LIBS@,$GTK_LIBS,;t t
46675 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
46676 s,@X_CFLAGS@,$X_CFLAGS,;t t
46677 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
46678 s,@X_LIBS@,$X_LIBS,;t t
46679 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
46680 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
46681 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
46682 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
46683 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
46684 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
46685 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
46686 s,@DEREZ@,$DEREZ,;t t
46687 s,@SETFILE@,$SETFILE,;t t
46688 s,@LIBICONV@,$LIBICONV,;t t
46689 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
46690 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
46691 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
46692 s,@SDL_LIBS@,$SDL_LIBS,;t t
46693 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
46694 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
46695 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
46696 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
46697 s,@GST_INSPECT@,$GST_INSPECT,;t t
46698 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
46699 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
46700 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
46701 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
46702 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
46703 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
46704 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
46705 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
46706 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
46707 s,@VENDOR@,$VENDOR,;t t
46708 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
46709 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
46710 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
46711 s,@WXUNIV@,$WXUNIV,;t t
46712 s,@MONOLITHIC@,$MONOLITHIC,;t t
46713 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
46714 s,@EXTRALIBS@,$EXTRALIBS,;t t
46715 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
46716 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
46717 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
46718 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
46719 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
46720 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
46721 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
46722 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
46723 s,@UNICODE@,$UNICODE,;t t
46724 s,@BUILD@,$BUILD,;t t
46725 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
46726 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
46727 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
46728 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
46729 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
46730 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
46731 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
46732 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
46733 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
46734 s,@SET_MAKE@,$SET_MAKE,;t t
46735 s,@MAKE_SET@,$MAKE_SET,;t t
46737 s,@ac_ct_NM@,$ac_ct_NM,;t t
46738 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
46739 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
46740 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
46741 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
46742 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
46743 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
46744 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
46745 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
46746 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
46747 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
46748 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
46749 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
46750 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
46751 s,@LIBPREFIX@,$LIBPREFIX,;t t
46752 s,@LIBEXT@,$LIBEXT,;t t
46753 s,@DLLPREFIX@,$DLLPREFIX,;t t
46754 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
46755 s,@dlldir@,$dlldir,;t t
46756 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
46757 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
46758 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
46759 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
46760 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
46761 s,@PIC_FLAG@,$PIC_FLAG,;t t
46762 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
46763 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
46764 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
46765 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
46766 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
46767 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
46768 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
46769 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
46770 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
46771 s,@GCC_PCH@,$GCC_PCH,;t t
46772 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
46773 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
46774 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
46775 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
46776 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
46777 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
46778 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
46779 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
46780 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
46781 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
46782 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
46783 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
46784 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
46785 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
46786 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
46787 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
46788 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
46789 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
46790 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
46791 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
46792 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
46793 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
46794 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
46795 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
46796 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
46797 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
46798 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
46799 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
46800 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
46801 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
46802 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
46803 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
46804 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
46805 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
46806 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
46807 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
46808 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
46809 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
46810 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
46811 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
46812 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
46813 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
46814 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
46815 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
46816 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
46817 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
46818 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
46819 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
46820 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
46821 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
46822 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
46823 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
46824 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
46825 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
46826 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
46827 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
46828 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
46829 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
46830 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
46831 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
46832 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
46833 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
46834 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
46835 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
46836 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
46837 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
46838 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
46839 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
46840 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
46841 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
46842 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
46843 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
46844 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
46845 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
46846 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
46847 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
46848 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
46849 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
46850 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
46851 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
46852 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
46853 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
46854 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
46855 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
46856 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
46857 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
46858 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
46859 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
46860 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
46861 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
46862 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
46863 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
46864 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
46865 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
46866 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
46867 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
46868 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
46869 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
46870 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
46871 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
46872 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
46873 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
46874 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
46875 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
46876 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
46877 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
46878 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
46879 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
46880 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
46881 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
46882 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
46883 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
46884 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
46885 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
46886 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
46887 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
46888 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
46889 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
46890 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
46891 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
46892 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
46893 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
46894 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
46895 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
46896 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
46897 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
46898 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
46899 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
46900 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
46901 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
46902 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
46903 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
46904 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
46905 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
46906 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
46907 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
46908 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
46909 s,@SHARED@,$SHARED,;t t
46910 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
46911 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
46912 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
46913 s,@USE_GUI@,$USE_GUI,;t t
46914 s,@AFMINSTALL@,$AFMINSTALL,;t t
46915 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
46916 s,@TOOLKIT@,$TOOLKIT,;t t
46917 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
46918 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
46919 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
46920 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
46921 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
46922 s,@cross_compiling@,$cross_compiling,;t t
46923 s,@WIDGET_SET@,$WIDGET_SET,;t t
46924 s,@WX_RELEASE@,$WX_RELEASE,;t t
46925 s,@WX_VERSION@,$WX_VERSION,;t t
46926 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
46927 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
46928 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
46929 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
46930 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
46931 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
46932 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
46933 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
46934 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
46935 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
46936 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
46937 s,@EXE_LINKER@,$EXE_LINKER,;t t
46938 s,@GUIDIST@,$GUIDIST,;t t
46939 s,@DISTDIR@,$DISTDIR,;t t
46940 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
46941 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
46942 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
46943 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
46944 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
46945 s,@RESFLAGS@,$RESFLAGS,;t t
46946 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
46947 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
46948 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
46949 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
46950 s,@MACRESCOMP@,$MACRESCOMP,;t t
46951 s,@MACSETFILE@,$MACSETFILE,;t t
46952 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
46954 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
46955 s,@LIBOBJS@,$LIBOBJS,;t t
46956 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
46961 cat >>$CONFIG_STATUS <<\_ACEOF
46962 # Split the substitutions into bite-sized pieces for seds with
46963 # small command number limits, like on Digital OSF/1 and HP-UX.
46964 ac_max_sed_lines
=48
46965 ac_sed_frag
=1 # Number of current file.
46966 ac_beg
=1 # First line for current file.
46967 ac_end
=$ac_max_sed_lines # Line after last line for current file.
46970 while $ac_more_lines; do
46971 if test $ac_beg -gt 1; then
46972 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
46974 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
46976 if test ! -s $tmp/subs.frag
; then
46977 ac_more_lines
=false
46979 # The purpose of the label and of the branching condition is to
46980 # speed up the sed processing (if there are no `@' at all, there
46981 # is no need to browse any of the substitutions).
46982 # These are the two extra sed commands mentioned above.
46984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
46985 if test -z "$ac_sed_cmds"; then
46986 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
46988 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
46990 ac_sed_frag
=`expr $ac_sed_frag + 1`
46992 ac_end
=`expr $ac_end + $ac_max_sed_lines`
46995 if test -z "$ac_sed_cmds"; then
46998 fi # test -n "$CONFIG_FILES"
47001 cat >>$CONFIG_STATUS <<\_ACEOF
47002 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
47003 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47005 - | *:- | *:-:* ) # input from stdin
47007 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47008 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47009 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47010 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47011 * ) ac_file_in
=$ac_file.
in ;;
47014 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
47015 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
47016 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47017 X"$ac_file" : 'X\(//\)[^/]' \| \
47018 X"$ac_file" : 'X\(//\)$' \| \
47019 X"$ac_file" : 'X\(/\)' \| \
47020 . : '\(.\)' 2>/dev/null ||
47022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47023 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47024 /^X\(\/\/\)$/{ s//\1/; q; }
47025 /^X\(\/\).*/{ s//\1/; q; }
47027 { if $as_mkdir_p; then
47032 while test ! -d "$as_dir"; do
47033 as_dirs
="$as_dir $as_dirs"
47034 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47035 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47036 X"$as_dir" : 'X\(//\)[^/]' \| \
47037 X"$as_dir" : 'X\(//\)$' \| \
47038 X"$as_dir" : 'X\(/\)' \| \
47039 . : '\(.\)' 2>/dev/null ||
47041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47042 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47043 /^X\(\/\/\)$/{ s//\1/; q; }
47044 /^X\(\/\).*/{ s//\1/; q; }
47047 test ! -n "$as_dirs" || mkdir $as_dirs
47048 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47049 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47050 { (exit 1); exit 1; }; }; }
47054 if test "$ac_dir" != .
; then
47055 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47056 # A "../" for each directory in $ac_dir_suffix.
47057 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47059 ac_dir_suffix
= ac_top_builddir
=
47063 .
) # No --srcdir option. We are building in place.
47065 if test -z "$ac_top_builddir"; then
47068 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47070 [\\/]* | ?
:[\\/]* ) # Absolute path.
47071 ac_srcdir
=$srcdir$ac_dir_suffix;
47072 ac_top_srcdir
=$srcdir ;;
47073 *) # Relative path.
47074 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47075 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47078 # Do not use `cd foo && pwd` to compute absolute paths, because
47079 # the directories may not exist.
47081 .
) ac_abs_builddir
="$ac_dir";;
47084 .
) ac_abs_builddir
=`pwd`;;
47085 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47086 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47089 case $ac_abs_builddir in
47090 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47092 case ${ac_top_builddir}.
in
47093 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47094 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47095 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47098 case $ac_abs_builddir in
47099 .
) ac_abs_srcdir
=$ac_srcdir;;
47102 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47103 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47104 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47107 case $ac_abs_builddir in
47108 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47110 case $ac_top_srcdir in
47111 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47112 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47113 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47119 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
47120 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
47123 # Let's still pretend it is `configure' which instantiates (i.e., don't
47124 # use $as_me), people would be surprised to read:
47125 # /* config.h. Generated by config.status. */
47126 if test x
"$ac_file" = x
-; then
47129 configure_input
="$ac_file. "
47131 configure_input
=$configure_input"Generated from `echo $ac_file_in |
47132 sed 's,.*/,,'` by configure."
47134 # First look for the input files in the build tree, otherwise in the
47136 ac_file_inputs
=`IFS=:
47137 for f in $ac_file_in; do
47139 -) echo $tmp/stdin ;;
47141 # Absolute (can't be DOS-style, as IFS=:)
47142 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47143 echo "$as_me: error: cannot find input file: $f" >&2;}
47144 { (exit 1); exit 1; }; }
47147 if test -f "$f"; then
47150 elif test -f "$srcdir/$f"; then
47155 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47156 echo "$as_me: error: cannot find input file: $f" >&2;}
47157 { (exit 1); exit 1; }; }
47160 done` || { (exit 1); exit 1; }
47162 if test x
"$ac_file" != x
-; then
47163 { echo "$as_me:$LINENO: creating $ac_file" >&5
47164 echo "$as_me: creating $ac_file" >&6;}
47168 cat >>$CONFIG_STATUS <<_ACEOF
47172 cat >>$CONFIG_STATUS <<\_ACEOF
47174 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
47175 s
,@configure_input@
,$configure_input,;t t
47176 s
,@srcdir@
,$ac_srcdir,;t t
47177 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
47178 s
,@top_srcdir@
,$ac_top_srcdir,;t t
47179 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
47180 s
,@builddir@
,$ac_builddir,;t t
47181 s
,@abs_builddir@
,$ac_abs_builddir,;t t
47182 s
,@top_builddir@
,$ac_top_builddir,;t t
47183 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
47184 s
,@INSTALL@
,$ac_INSTALL,;t t
47185 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
47187 if test x"$ac_file" != x-; then
47188 mv $tmp/out $ac_file
47194 # Run the commands associated with the file.
47196 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
47197 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
47201 cat >>$CONFIG_STATUS <<\_ACEOF
47204 # CONFIG_HEADER section.
47207 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
47208 # NAME is the cpp macro being defined and VALUE is the value it is being given.
47210 # ac_d sets the value in "#define NAME VALUE" lines.
47211 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
47212 ac_dB
='[ ].*$,\1#\2'
47215 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
47216 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
47217 ac_uB
='$,\1#\2define\3'
47221 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
47222 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47224 - | *:- | *:-:* ) # input from stdin
47226 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47227 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47228 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47229 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47230 * ) ac_file_in
=$ac_file.
in ;;
47233 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
47234 echo "$as_me: creating $ac_file" >&6;}
47236 # First look for the input files in the build tree, otherwise in the
47238 ac_file_inputs
=`IFS=:
47239 for f in $ac_file_in; do
47241 -) echo $tmp/stdin ;;
47243 # Absolute (can't be DOS-style, as IFS=:)
47244 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47245 echo "$as_me: error: cannot find input file: $f" >&2;}
47246 { (exit 1); exit 1; }; }
47247 # Do quote $f, to prevent DOS paths from being IFS'd.
47250 if test -f "$f"; then
47253 elif test -f "$srcdir/$f"; then
47258 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47259 echo "$as_me: error: cannot find input file: $f" >&2;}
47260 { (exit 1); exit 1; }; }
47263 done` || { (exit 1); exit 1; }
47264 # Remove the trailing spaces.
47265 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
47269 # Transform confdefs.h into two sed scripts, `conftest.defines' and
47270 # `conftest.undefs', that substitutes the proper values into
47271 # config.h.in to produce config.h. The first handles `#define'
47272 # templates, and the second `#undef' templates.
47273 # And first: Protect against being on the right side of a sed subst in
47274 # config.status. Protect against being in an unquoted here document
47275 # in config.status.
47276 rm -f conftest.defines conftest.undefs
47277 # Using a here document instead of a string reduces the quoting nightmare.
47278 # Putting comments in sed scripts is not portable.
47280 # `end' is used to avoid that the second main sed command (meant for
47281 # 0-ary CPP macros) applies to n-ary macro definitions.
47282 # See the Autoconf documentation for `clear'.
47283 cat >confdef2sed.
sed <<\_ACEOF
47288 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
47290 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
47293 # If some macros were called several times there might be several times
47294 # the same #defines, which is useless. Nevertheless, we may not want to
47295 # sort them, since we want the *last* AC-DEFINE to be honored.
47296 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
47297 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
47298 rm -f confdef2sed.sed
47300 # This sed command replaces #undef with comments. This is necessary, for
47301 # example, in the case of _POSIX_SOURCE, which is predefined and required
47302 # on some systems where configure will not decide to define it.
47303 cat >>conftest.undefs <<\_ACEOF
47304 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
47307 # Break up conftest.defines because some shells have a limit on the size
47308 # of here documents, and old seds have small limits too (100 cmds).
47309 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
47310 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
47311 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
47312 echo ' :' >>$CONFIG_STATUS
47313 rm -f conftest.tail
47314 while grep . conftest.defines >/dev/null
47316 # Write a limited-size here document to $tmp/defines.sed.
47317 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
47318 # Speed up: don't consider the non `#define' lines.
47319 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
47320 # Work around the forget-to-reset-the-flag bug.
47321 echo 't clr' >>$CONFIG_STATUS
47322 echo ': clr' >>$CONFIG_STATUS
47323 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
47325 sed -f $tmp/defines.sed $tmp/in >$tmp/out
47327 mv $tmp/out $tmp/in
47329 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
47330 rm -f conftest.defines
47331 mv conftest.
tail conftest.defines
47333 rm -f conftest.defines
47334 echo ' fi # grep' >>$CONFIG_STATUS
47335 echo >>$CONFIG_STATUS
47337 # Break up conftest.undefs because some shells have a limit on the size
47338 # of here documents, and old seds have small limits too (100 cmds).
47339 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
47340 rm -f conftest.
tail
47341 while grep . conftest.undefs
>/dev
/null
47343 # Write a limited-size here document to $tmp/undefs.sed.
47344 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
47345 # Speed up: don't consider the non
`#undef'
47346 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
47347 # Work around the forget-to-reset-the-flag bug.
47348 echo 't clr' >>$CONFIG_STATUS
47349 echo ': clr' >>$CONFIG_STATUS
47350 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
47352 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
47354 mv $tmp/out $tmp/in
47356 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
47357 rm -f conftest.undefs
47358 mv conftest.tail conftest.undefs
47360 rm -f conftest.undefs
47362 cat >>$CONFIG_STATUS <<\_ACEOF
47363 # Let's still pretend it is `configure
' which instantiates (i.e., don't
47364 # use $as_me), people would be surprised to read:
47365 # /* config.h. Generated by config.status. */
47366 if test x
"$ac_file" = x
-; then
47367 echo "/* Generated by configure. */" >$tmp/config.h
47369 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
47371 cat $tmp/in >>$tmp/config.h
47373 if test x
"$ac_file" != x
-; then
47374 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
47375 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
47376 echo "$as_me: $ac_file is unchanged" >&6;}
47378 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
47379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47380 X"$ac_file" : 'X\(//\)[^/]' \| \
47381 X"$ac_file" : 'X\(//\)$' \| \
47382 X"$ac_file" : 'X\(/\)' \| \
47383 . : '\(.\)' 2>/dev/null ||
47385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47386 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47387 /^X\(\/\/\)$/{ s//\1/; q; }
47388 /^X\(\/\).*/{ s//\1/; q; }
47390 { if $as_mkdir_p; then
47395 while test ! -d "$as_dir"; do
47396 as_dirs
="$as_dir $as_dirs"
47397 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47398 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47399 X"$as_dir" : 'X\(//\)[^/]' \| \
47400 X"$as_dir" : 'X\(//\)$' \| \
47401 X"$as_dir" : 'X\(/\)' \| \
47402 . : '\(.\)' 2>/dev/null ||
47404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47405 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47406 /^X\(\/\/\)$/{ s//\1/; q; }
47407 /^X\(\/\).*/{ s//\1/; q; }
47410 test ! -n "$as_dirs" || mkdir $as_dirs
47411 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47412 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47413 { (exit 1); exit 1; }; }; }
47416 mv $tmp/config.h
$ac_file
47420 rm -f $tmp/config.h
47424 cat >>$CONFIG_STATUS <<\_ACEOF
47427 # CONFIG_COMMANDS section.
47429 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
47430 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
47431 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47432 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
47433 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47434 X"$ac_dest" : 'X\(//\)[^/]' \| \
47435 X"$ac_dest" : 'X\(//\)$' \| \
47436 X"$ac_dest" : 'X\(/\)' \| \
47437 . : '\(.\)' 2>/dev/null ||
47439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47441 /^X\(\/\/\)$/{ s//\1/; q; }
47442 /^X\(\/\).*/{ s//\1/; q; }
47444 { if $as_mkdir_p; then
47449 while test ! -d "$as_dir"; do
47450 as_dirs
="$as_dir $as_dirs"
47451 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47452 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47453 X"$as_dir" : 'X\(//\)[^/]' \| \
47454 X"$as_dir" : 'X\(//\)$' \| \
47455 X"$as_dir" : 'X\(/\)' \| \
47456 . : '\(.\)' 2>/dev/null ||
47458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47459 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47460 /^X\(\/\/\)$/{ s//\1/; q; }
47461 /^X\(\/\).*/{ s//\1/; q; }
47464 test ! -n "$as_dirs" || mkdir $as_dirs
47465 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47466 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47467 { (exit 1); exit 1; }; }; }
47471 if test "$ac_dir" != .
; then
47472 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47473 # A "../" for each directory in $ac_dir_suffix.
47474 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47476 ac_dir_suffix
= ac_top_builddir
=
47480 .
) # No --srcdir option. We are building in place.
47482 if test -z "$ac_top_builddir"; then
47485 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47487 [\\/]* | ?
:[\\/]* ) # Absolute path.
47488 ac_srcdir
=$srcdir$ac_dir_suffix;
47489 ac_top_srcdir
=$srcdir ;;
47490 *) # Relative path.
47491 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47492 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47495 # Do not use `cd foo && pwd` to compute absolute paths, because
47496 # the directories may not exist.
47498 .
) ac_abs_builddir
="$ac_dir";;
47501 .
) ac_abs_builddir
=`pwd`;;
47502 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47503 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47506 case $ac_abs_builddir in
47507 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47509 case ${ac_top_builddir}.
in
47510 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47511 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47512 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47515 case $ac_abs_builddir in
47516 .
) ac_abs_srcdir
=$ac_srcdir;;
47519 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47520 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47521 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47524 case $ac_abs_builddir in
47525 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47527 case $ac_top_srcdir in
47528 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47529 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47530 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47535 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
47536 echo "$as_me: executing $ac_dest commands" >&6;}
47538 wx
-config ) rm -f wx
-config
47539 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
47545 cat >>$CONFIG_STATUS <<\_ACEOF
47547 { (exit 0); exit 0; }
47549 chmod +x
$CONFIG_STATUS
47550 ac_clean_files
=$ac_clean_files_save
47553 # configure is writing to config.log, and then calls config.status.
47554 # config.status does its own redirection, appending to config.log.
47555 # Unfortunately, on DOS this fails, as config.log is still kept open
47556 # by configure, so config.status won't be able to write to it; its
47557 # output is simply discarded. So we exec the FD to /dev/null,
47558 # effectively closing config.log, so it can be properly (re)opened and
47559 # appended to by config.status. When coming back to configure, we
47560 # need to make the FD available again.
47561 if test "$no_create" != yes; then
47563 ac_config_status_args
=
47564 test "$silent" = yes &&
47565 ac_config_status_args
="$ac_config_status_args --quiet"
47567 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
47569 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
47570 # would make configure fail if this is the last instruction.
47571 $ac_cs_success || { (exit 1); exit 1; }
47575 # CONFIG_SUBDIRS section.
47577 if test "$no_recursion" != yes; then
47579 # Remove --cache-file and --srcdir arguments so they do not pile up.
47580 ac_sub_configure_args
=
47582 for ac_arg
in $ac_configure_args; do
47583 if test -n "$ac_prev"; then
47588 -cache-file | --cache-file | --cache-fil | --cache-fi \
47589 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
47590 ac_prev
=cache_file
;;
47591 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
47592 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
47595 --config-cache | -C)
47597 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
47599 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
47601 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
47603 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
47605 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
47609 # Always prepend --prefix to ensure using the same prefix
47610 # in subdir configurations.
47611 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
47614 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
47616 # Do not complain, so a configure script can configure whichever
47617 # parts of a large source tree are present.
47618 test -d $srcdir/$ac_dir || continue
47620 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
47621 echo "$as_me: configuring in $ac_dir" >&6;}
47622 { if $as_mkdir_p; then
47627 while test ! -d "$as_dir"; do
47628 as_dirs
="$as_dir $as_dirs"
47629 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47630 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47631 X"$as_dir" : 'X\(//\)[^/]' \| \
47632 X"$as_dir" : 'X\(//\)$' \| \
47633 X"$as_dir" : 'X\(/\)' \| \
47634 . : '\(.\)' 2>/dev/null ||
47636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47637 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47638 /^X\(\/\/\)$/{ s//\1/; q; }
47639 /^X\(\/\).*/{ s//\1/; q; }
47642 test ! -n "$as_dirs" || mkdir $as_dirs
47643 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47644 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47645 { (exit 1); exit 1; }; }; }
47649 if test "$ac_dir" != .
; then
47650 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47651 # A "../" for each directory in $ac_dir_suffix.
47652 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47654 ac_dir_suffix
= ac_top_builddir
=
47658 .
) # No --srcdir option. We are building in place.
47660 if test -z "$ac_top_builddir"; then
47663 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47665 [\\/]* | ?
:[\\/]* ) # Absolute path.
47666 ac_srcdir
=$srcdir$ac_dir_suffix;
47667 ac_top_srcdir
=$srcdir ;;
47668 *) # Relative path.
47669 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47670 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47673 # Do not use `cd foo && pwd` to compute absolute paths, because
47674 # the directories may not exist.
47676 .
) ac_abs_builddir
="$ac_dir";;
47679 .
) ac_abs_builddir
=`pwd`;;
47680 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47681 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47684 case $ac_abs_builddir in
47685 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47687 case ${ac_top_builddir}.
in
47688 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47689 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47690 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47693 case $ac_abs_builddir in
47694 .
) ac_abs_srcdir
=$ac_srcdir;;
47697 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47698 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47699 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47702 case $ac_abs_builddir in
47703 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47705 case $ac_top_srcdir in
47706 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47707 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47708 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47715 # Check for guested configure; otherwise get Cygnus style configure.
47716 if test -f $ac_srcdir/configure.gnu
; then
47717 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
47718 elif test -f $ac_srcdir/configure
; then
47719 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
47720 elif test -f $ac_srcdir/configure.
in; then
47721 ac_sub_configure
=$ac_configure
47723 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
47724 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
47728 # The recursion is here.
47729 if test -n "$ac_sub_configure"; then
47730 # Make the cache file name correct relative to the subdirectory.
47731 case $cache_file in
47732 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
47733 *) # Relative path.
47734 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
47737 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
47738 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
47739 # The eval makes quoting arguments work.
47740 eval $ac_sub_configure $ac_sub_configure_args \
47741 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
47742 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
47743 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
47744 { (exit 1); exit 1; }; }
47753 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
47755 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
47756 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
47758 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
47759 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
47760 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
47762 echo " What level of wxWidgets compatibility should be enabled?"
47763 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
47764 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
47766 echo " Which libraries should wxWidgets use?"
47767 echo " jpeg ${wxUSE_LIBJPEG-none}"
47768 echo " png ${wxUSE_LIBPNG-none}"
47769 echo " regex ${wxUSE_REGEX}"
47770 echo " tiff ${wxUSE_LIBTIFF-none}"
47771 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
47772 echo " xpm ${wxUSE_LIBXPM-none}"
47774 echo " zlib ${wxUSE_ZLIB}"
47775 echo " odbc ${wxUSE_ODBC}"
47776 echo " expat ${wxUSE_EXPAT}"
47777 echo " libmspack ${wxUSE_LIBMSPACK}"
47778 echo " sdl ${wxUSE_LIBSDL}"
47779 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"